|
368 | 368 | { |
369 | 369 | "target": "com.amazonaws.arcregionswitch#ListRoute53HealthChecks" |
370 | 370 | }, |
| 371 | + { |
| 372 | + "target": "com.amazonaws.arcregionswitch#ListRoute53HealthChecksInRegion" |
| 373 | + }, |
371 | 374 | { |
372 | 375 | "target": "com.amazonaws.arcregionswitch#StartPlanExecution" |
373 | 376 | }, |
|
431 | 434 | "required": true, |
432 | 435 | "default": false, |
433 | 436 | "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" |
435 | 438 | }, |
436 | 439 | "Endpoint": { |
437 | 440 | "builtIn": "SDK::Endpoint", |
438 | 441 | "required": false, |
439 | 442 | "documentation": "Override the endpoint used to send this request", |
440 | | - "type": "String" |
| 443 | + "type": "string" |
441 | 444 | }, |
442 | 445 | "Region": { |
443 | 446 | "builtIn": "AWS::Region", |
444 | 447 | "required": false, |
445 | 448 | "documentation": "The AWS region used to dispatch the request.", |
446 | | - "type": "String" |
| 449 | + "type": "string" |
447 | 450 | }, |
448 | 451 | "UseControlPlaneEndpoint": { |
449 | 452 | "required": false, |
450 | 453 | "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" |
452 | 455 | } |
453 | 456 | }, |
454 | 457 | "rules": [ |
|
1289 | 1292 | "com.amazonaws.arcregionswitch#AsgArn": { |
1290 | 1293 | "type": "string", |
1291 | 1294 | "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}$" |
1293 | 1296 | } |
1294 | 1297 | }, |
1295 | 1298 | "com.amazonaws.arcregionswitch#AsgList": { |
|
1793 | 1796 | "com.amazonaws.arcregionswitch#EcsClusterArn": { |
1794 | 1797 | "type": "string", |
1795 | 1798 | "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}$" |
1797 | 1800 | } |
1798 | 1801 | }, |
1799 | 1802 | "com.amazonaws.arcregionswitch#EcsServiceArn": { |
1800 | 1803 | "type": "string", |
1801 | 1804 | "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}$" |
1803 | 1806 | } |
1804 | 1807 | }, |
1805 | 1808 | "com.amazonaws.arcregionswitch#EcsUngraceful": { |
|
3652 | 3655 | } |
3653 | 3656 | } |
3654 | 3657 | }, |
| 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 | + }, |
3655 | 3787 | "com.amazonaws.arcregionswitch#ListRoute53HealthChecksRequest": { |
3656 | 3788 | "type": "structure", |
3657 | 3789 | "members": { |
|
4245 | 4377 | "smithy.api#documentation": "<p>The Amazon Route 53 health check ID.</p>" |
4246 | 4378 | } |
4247 | 4379 | }, |
| 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 | + }, |
4248 | 4386 | "region": { |
4249 | 4387 | "target": "com.amazonaws.arcregionswitch#Region", |
4250 | 4388 | "traits": { |
|
4322 | 4460 | "target": "com.amazonaws.arcregionswitch#Route53HealthCheck" |
4323 | 4461 | } |
4324 | 4462 | }, |
| 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 | + }, |
4325 | 4486 | "com.amazonaws.arcregionswitch#Route53HostedZoneId": { |
4326 | 4487 | "type": "string", |
4327 | 4488 | "traits": { |
|
0 commit comments