Skip to content

Commit 41044bb

Browse files
feat: update AWS API models
1 parent af9b3a0 commit 41044bb

File tree

13 files changed

+1659
-88
lines changed

13 files changed

+1659
-88
lines changed

codegen/sdk/aws-models/appstream.json

Lines changed: 21 additions & 9 deletions
Large diffs are not rendered by default.

codegen/sdk/aws-models/arc-region-switch.json

Lines changed: 168 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -368,6 +368,9 @@
368368
{
369369
"target": "com.amazonaws.arcregionswitch#ListRoute53HealthChecks"
370370
},
371+
{
372+
"target": "com.amazonaws.arcregionswitch#ListRoute53HealthChecksInRegion"
373+
},
371374
{
372375
"target": "com.amazonaws.arcregionswitch#StartPlanExecution"
373376
},
@@ -431,24 +434,24 @@
431434
"required": true,
432435
"default": false,
433436
"documentation": "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.",
434-
"type": "Boolean"
437+
"type": "boolean"
435438
},
436439
"Endpoint": {
437440
"builtIn": "SDK::Endpoint",
438441
"required": false,
439442
"documentation": "Override the endpoint used to send this request",
440-
"type": "String"
443+
"type": "string"
441444
},
442445
"Region": {
443446
"builtIn": "AWS::Region",
444447
"required": false,
445448
"documentation": "The AWS region used to dispatch the request.",
446-
"type": "String"
449+
"type": "string"
447450
},
448451
"UseControlPlaneEndpoint": {
449452
"required": false,
450453
"documentation": "Whether the operation is a control plane operation. Control plane operations are routed to a centralized endpoint in the partition leader.",
451-
"type": "Boolean"
454+
"type": "boolean"
452455
}
453456
},
454457
"rules": [
@@ -1289,7 +1292,7 @@
12891292
"com.amazonaws.arcregionswitch#AsgArn": {
12901293
"type": "string",
12911294
"traits": {
1292-
"smithy.api#pattern": "^arn:aws:autoscaling:[a-z0-9-]+:\\d{12}:autoScalingGroup:[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}:autoScalingGroupName/[\\S\\s]{1,255}$"
1295+
"smithy.api#pattern": "^arn:aws[a-zA-Z-]*:autoscaling:[a-z0-9-]+:\\d{12}:autoScalingGroup:[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}:autoScalingGroupName/[\\S\\s]{1,255}$"
12931296
}
12941297
},
12951298
"com.amazonaws.arcregionswitch#AsgList": {
@@ -1793,13 +1796,13 @@
17931796
"com.amazonaws.arcregionswitch#EcsClusterArn": {
17941797
"type": "string",
17951798
"traits": {
1796-
"smithy.api#pattern": "^arn:aws:ecs:[a-z0-9-]+:\\d{12}:cluster/[a-zA-Z0-9_-]{1,255}$"
1799+
"smithy.api#pattern": "^arn:aws[a-zA-Z-]*:ecs:[a-z0-9-]+:\\d{12}:cluster/[a-zA-Z0-9_-]{1,255}$"
17971800
}
17981801
},
17991802
"com.amazonaws.arcregionswitch#EcsServiceArn": {
18001803
"type": "string",
18011804
"traits": {
1802-
"smithy.api#pattern": "^arn:aws:ecs:[a-z0-9-]+:\\d{12}:service/[a-zA-Z0-9_-]+/[a-zA-Z0-9_-]{1,255}$"
1805+
"smithy.api#pattern": "^arn:aws[a-zA-Z-]*:ecs:[a-z0-9-]+:\\d{12}:service/[a-zA-Z0-9_-]+/[a-zA-Z0-9_-]{1,255}$"
18031806
}
18041807
},
18051808
"com.amazonaws.arcregionswitch#EcsUngraceful": {
@@ -3652,6 +3655,135 @@
36523655
}
36533656
}
36543657
},
3658+
"com.amazonaws.arcregionswitch#ListRoute53HealthChecksInRegion": {
3659+
"type": "operation",
3660+
"input": {
3661+
"target": "com.amazonaws.arcregionswitch#ListRoute53HealthChecksInRegionRequest"
3662+
},
3663+
"output": {
3664+
"target": "com.amazonaws.arcregionswitch#ListRoute53HealthChecksInRegionResponse"
3665+
},
3666+
"errors": [
3667+
{
3668+
"target": "com.amazonaws.arcregionswitch#AccessDeniedException"
3669+
},
3670+
{
3671+
"target": "com.amazonaws.arcregionswitch#IllegalArgumentException"
3672+
},
3673+
{
3674+
"target": "com.amazonaws.arcregionswitch#InternalServerException"
3675+
},
3676+
{
3677+
"target": "com.amazonaws.arcregionswitch#ResourceNotFoundException"
3678+
}
3679+
],
3680+
"traits": {
3681+
"aws.iam#iamAction": {
3682+
"documentation": "Grants permission to list Route 53 health checks created by ARC region switch for a plan in a specific AWS Region using the Region switch Regional data plane"
3683+
},
3684+
"smithy.api#documentation": "<p>List the Amazon Route 53 health checks in a specific Amazon Web Services Region.</p>",
3685+
"smithy.api#examples": [
3686+
{
3687+
"title": "Example ListRoute53HealthChecksInRegion",
3688+
"input": {
3689+
"arn": "arn:aws:arc-region-switch::123456789012:plan/example:000000",
3690+
"hostedZoneId": "Z0123456789ABCDEFGHI",
3691+
"recordName": "my.record.name",
3692+
"maxResults": 10,
3693+
"nextToken": "eyJNYXJrZXIiOiBudWxsLCAiYm90b190cnVuY2F0ZV9hbW91bnQiOiAxfQ"
3694+
},
3695+
"output": {
3696+
"healthChecks": [
3697+
{
3698+
"hostedZoneId": "Z0123456789ABCDEFGHI",
3699+
"recordName": "my.record.name",
3700+
"healthCheckId": "01234567-8901-abcd-efgh-ijklmnop0123",
3701+
"status": "healthy",
3702+
"region": "us-west-2"
3703+
},
3704+
{
3705+
"hostedZoneId": "Z0123456789ABCDEFGHI",
3706+
"recordName": "my.record.name",
3707+
"healthCheckId": "zyxwvuts-rqpo-9876-5432-10nmlkji0123",
3708+
"status": "healthy",
3709+
"region": "us-east-1"
3710+
}
3711+
]
3712+
}
3713+
}
3714+
],
3715+
"smithy.api#paginated": {
3716+
"inputToken": "nextToken",
3717+
"outputToken": "nextToken",
3718+
"pageSize": "maxResults",
3719+
"items": "healthChecks"
3720+
},
3721+
"smithy.api#readonly": {}
3722+
}
3723+
},
3724+
"com.amazonaws.arcregionswitch#ListRoute53HealthChecksInRegionRequest": {
3725+
"type": "structure",
3726+
"members": {
3727+
"arn": {
3728+
"target": "com.amazonaws.arcregionswitch#PlanArn",
3729+
"traits": {
3730+
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the Arc Region Switch Plan.</p>",
3731+
"smithy.api#required": {}
3732+
}
3733+
},
3734+
"hostedZoneId": {
3735+
"target": "com.amazonaws.arcregionswitch#Route53HostedZoneId",
3736+
"traits": {
3737+
"smithy.api#documentation": "<p>The hosted zone ID for the health checks.</p>"
3738+
}
3739+
},
3740+
"recordName": {
3741+
"target": "com.amazonaws.arcregionswitch#Route53RecordName",
3742+
"traits": {
3743+
"smithy.api#documentation": "<p>The record name for the health checks.</p>"
3744+
}
3745+
},
3746+
"maxResults": {
3747+
"target": "com.amazonaws.arcregionswitch#MaxResults",
3748+
"traits": {
3749+
"smithy.api#documentation": "<p>The number of objects that you want to return with this call.</p>",
3750+
"smithy.api#range": {
3751+
"min": 1,
3752+
"max": 100
3753+
}
3754+
}
3755+
},
3756+
"nextToken": {
3757+
"target": "com.amazonaws.arcregionswitch#NextToken",
3758+
"traits": {
3759+
"smithy.api#documentation": "<p>Specifies that you want to receive the next page of results. Valid only if you received a <code>nextToken</code> response in the previous request. If you did, it indicates that more output is available. Set this parameter to the value provided by the previous call's <code>nextToken</code> response to request the next page of results.</p>"
3760+
}
3761+
}
3762+
},
3763+
"traits": {
3764+
"smithy.api#input": {}
3765+
}
3766+
},
3767+
"com.amazonaws.arcregionswitch#ListRoute53HealthChecksInRegionResponse": {
3768+
"type": "structure",
3769+
"members": {
3770+
"healthChecks": {
3771+
"target": "com.amazonaws.arcregionswitch#Route53HealthCheckList",
3772+
"traits": {
3773+
"smithy.api#documentation": "<p>List of the health checks requested.</p>"
3774+
}
3775+
},
3776+
"nextToken": {
3777+
"target": "com.amazonaws.arcregionswitch#NextToken",
3778+
"traits": {
3779+
"smithy.api#documentation": "<p>Specifies that you want to receive the next page of results. Valid only if you received a <code>nextToken</code> response in the previous request. If you did, it indicates that more output is available. Set this parameter to the value provided by the previous call's <code>nextToken</code> response to request the next page of results.</p>"
3780+
}
3781+
}
3782+
},
3783+
"traits": {
3784+
"smithy.api#output": {}
3785+
}
3786+
},
36553787
"com.amazonaws.arcregionswitch#ListRoute53HealthChecksRequest": {
36563788
"type": "structure",
36573789
"members": {
@@ -4245,6 +4377,12 @@
42454377
"smithy.api#documentation": "<p>The Amazon Route 53 health check ID.</p>"
42464378
}
42474379
},
4380+
"status": {
4381+
"target": "com.amazonaws.arcregionswitch#Route53HealthCheckStatus",
4382+
"traits": {
4383+
"smithy.api#documentation": "<p>The Amazon Route 53 health check status.</p>"
4384+
}
4385+
},
42484386
"region": {
42494387
"target": "com.amazonaws.arcregionswitch#Region",
42504388
"traits": {
@@ -4322,6 +4460,29 @@
43224460
"target": "com.amazonaws.arcregionswitch#Route53HealthCheck"
43234461
}
43244462
},
4463+
"com.amazonaws.arcregionswitch#Route53HealthCheckStatus": {
4464+
"type": "enum",
4465+
"members": {
4466+
"HEALTHY": {
4467+
"target": "smithy.api#Unit",
4468+
"traits": {
4469+
"smithy.api#enumValue": "healthy"
4470+
}
4471+
},
4472+
"UNHEALTHY": {
4473+
"target": "smithy.api#Unit",
4474+
"traits": {
4475+
"smithy.api#enumValue": "unhealthy"
4476+
}
4477+
},
4478+
"UNKNOWN": {
4479+
"target": "smithy.api#Unit",
4480+
"traits": {
4481+
"smithy.api#enumValue": "unknown"
4482+
}
4483+
}
4484+
}
4485+
},
43254486
"com.amazonaws.arcregionswitch#Route53HostedZoneId": {
43264487
"type": "string",
43274488
"traits": {

0 commit comments

Comments
 (0)