From 0897137f76caba2d0733c709dddcdc803d314d72 Mon Sep 17 00:00:00 2001 From: AWS SDK for Go v2 automation user Date: Fri, 2 Aug 2024 18:09:36 +0000 Subject: [PATCH] Update API model --- .../sdk-codegen/aws-models/cloudwatch.json | 19 +- codegen/sdk-codegen/aws-models/ecs.json | 163 +-- codegen/sdk-codegen/aws-models/glue.json | 15 +- .../sdk-codegen/aws-models/ivs-realtime.json | 2 +- codegen/sdk-codegen/aws-models/ivs.json | 2 +- codegen/sdk-codegen/aws-models/ivschat.json | 2 +- codegen/sdk-codegen/aws-models/kinesis.json | 30 +- .../sdk-codegen/aws-models/resiliencehub.json | 964 ++++++++++++++++-- codegen/sdk-codegen/aws-models/route-53.json | 422 ++++---- codegen/sdk-codegen/aws-models/ssm.json | 15 +- .../sdk-codegen/aws-models/waf-regional.json | 15 + 11 files changed, 1308 insertions(+), 341 deletions(-) diff --git a/codegen/sdk-codegen/aws-models/cloudwatch.json b/codegen/sdk-codegen/aws-models/cloudwatch.json index 55af8455504..5d98c3b992e 100644 --- a/codegen/sdk-codegen/aws-models/cloudwatch.json +++ b/codegen/sdk-codegen/aws-models/cloudwatch.json @@ -2594,7 +2594,7 @@ "sdkId": "CloudWatch", "arnNamespace": "monitoring", "cloudFormationName": "CloudWatch", - "cloudTrailEventSource": "cloudwatch.amazonaws.com", + "cloudTrailEventSource": "monitoring.amazonaws.com", "docId": "monitoring-2010-08-01", "endpointPrefix": "monitoring" }, @@ -4360,7 +4360,22 @@ "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken" - } + }, + "smithy.test#smokeTests": [ + { + "id": "ListMetricsSuccess", + "params": { + "Namespace": "AWS/EC2" + }, + "vendorParams": { + "region": "us-west-2" + }, + "vendorParamsShape": "aws.test#AwsVendorParams", + "expect": { + "success": {} + } + } + ] } }, "com.amazonaws.cloudwatch#ListMetricsInput": { diff --git a/codegen/sdk-codegen/aws-models/ecs.json b/codegen/sdk-codegen/aws-models/ecs.json index c9ef466b671..2937111eea2 100644 --- a/codegen/sdk-codegen/aws-models/ecs.json +++ b/codegen/sdk-codegen/aws-models/ecs.json @@ -3555,29 +3555,29 @@ "smithy.api#documentation": "

Disables an account setting for a specified user, role, or the root user for an\n\t\t\taccount.

", "smithy.api#examples": [ { - "title": "To delete your account setting", - "documentation": "This example deletes the account setting for your user for the specified resource type.", + "title": "To delete the account settings for a specific IAM user or IAM role", + "documentation": "This example deletes the account setting for a specific IAM user or IAM role for the specified resource type. Only the root user can view or modify the account settings for another user.", "input": { - "name": "serviceLongArnFormat" + "name": "containerInstanceLongArnFormat", + "principalArn": "arn:aws:iam:::user/principalName" }, "output": { "setting": { - "name": "serviceLongArnFormat", + "name": "containerInstanceLongArnFormat", "value": "enabled", "principalArn": "arn:aws:iam:::user/principalName" } } }, { - "title": "To delete the account settings for a specific IAM user or IAM role", - "documentation": "This example deletes the account setting for a specific IAM user or IAM role for the specified resource type. Only the root user can view or modify the account settings for another user.", + "title": "To delete your account setting", + "documentation": "This example deletes the account setting for your user for the specified resource type.", "input": { - "name": "containerInstanceLongArnFormat", - "principalArn": "arn:aws:iam:::user/principalName" + "name": "serviceLongArnFormat" }, "output": { "setting": { - "name": "containerInstanceLongArnFormat", + "name": "serviceLongArnFormat", "value": "enabled", "principalArn": "arn:aws:iam:::user/principalName" } @@ -6679,10 +6679,11 @@ "smithy.api#documentation": "

Lists the account settings for a specified principal.

", "smithy.api#examples": [ { - "title": "To view your effective account settings", - "documentation": "This example displays the effective account settings for your account.", + "title": "To view the effective account settings for a specific IAM user or IAM role", + "documentation": "This example displays the effective account settings for the specified user or role.", "input": { - "effectiveSettings": true + "effectiveSettings": true, + "principalArn": "arn:aws:iam:::user/principalName" }, "output": { "settings": [ @@ -6705,11 +6706,10 @@ } }, { - "title": "To view the effective account settings for a specific IAM user or IAM role", - "documentation": "This example displays the effective account settings for the specified user or role.", + "title": "To view your effective account settings", + "documentation": "This example displays the effective account settings for your account.", "input": { - "effectiveSettings": true, - "principalArn": "arn:aws:iam:::user/principalName" + "effectiveSettings": true }, "output": { "settings": [ @@ -6935,7 +6935,20 @@ "outputToken": "nextToken", "items": "clusterArns", "pageSize": "maxResults" - } + }, + "smithy.test#smokeTests": [ + { + "id": "ListClustersSuccess", + "params": {}, + "vendorParams": { + "region": "us-west-2" + }, + "vendorParamsShape": "aws.test#AwsVendorParams", + "expect": { + "success": {} + } + } + ] } }, "com.amazonaws.ecs#ListClustersRequest": { @@ -7358,25 +7371,25 @@ "smithy.api#documentation": "

Returns a list of task definition families that are registered to your account. This\n\t\t\tlist includes task definition families that no longer have any ACTIVE task\n\t\t\tdefinition revisions.

\n

You can filter out task definition families that don't contain any ACTIVE\n\t\t\ttask definition revisions by setting the status parameter to\n\t\t\t\tACTIVE. You can also filter the results with the\n\t\t\t\tfamilyPrefix parameter.

", "smithy.api#examples": [ { - "title": "To list your registered task definition families", - "documentation": "This example lists all of your registered task definition families.", + "title": "To filter your registered task definition families", + "documentation": "This example lists the task definition revisions that start with \"hpcc\".", + "input": { + "familyPrefix": "hpcc" + }, "output": { "families": [ - "node-js-app", - "web-timer", "hpcc", "hpcc-c4-8xlarge" ] } }, { - "title": "To filter your registered task definition families", - "documentation": "This example lists the task definition revisions that start with \"hpcc\".", - "input": { - "familyPrefix": "hpcc" - }, + "title": "To list your registered task definition families", + "documentation": "This example lists all of your registered task definition families.", "output": { "families": [ + "node-js-app", + "web-timer", "hpcc", "hpcc-c4-8xlarge" ] @@ -7466,12 +7479,13 @@ "smithy.api#documentation": "

Returns a list of task definitions that are registered to your account. You can filter\n\t\t\tthe results by family name with the familyPrefix parameter or by status\n\t\t\twith the status parameter.

", "smithy.api#examples": [ { - "title": "To list your registered task definitions", - "documentation": "This example lists all of your registered task definitions.", + "title": "To list the registered task definitions in a family", + "documentation": "This example lists the task definition revisions of a specified family.", + "input": { + "familyPrefix": "wordpress" + }, "output": { "taskDefinitionArns": [ - "arn:aws:ecs:us-east-1::task-definition/sleep300:2", - "arn:aws:ecs:us-east-1::task-definition/sleep360:1", "arn:aws:ecs:us-east-1::task-definition/wordpress:3", "arn:aws:ecs:us-east-1::task-definition/wordpress:4", "arn:aws:ecs:us-east-1::task-definition/wordpress:5", @@ -7480,13 +7494,12 @@ } }, { - "title": "To list the registered task definitions in a family", - "documentation": "This example lists the task definition revisions of a specified family.", - "input": { - "familyPrefix": "wordpress" - }, + "title": "To list your registered task definitions", + "documentation": "This example lists all of your registered task definitions.", "output": { "taskDefinitionArns": [ + "arn:aws:ecs:us-east-1::task-definition/sleep300:2", + "arn:aws:ecs:us-east-1::task-definition/sleep360:1", "arn:aws:ecs:us-east-1::task-definition/wordpress:3", "arn:aws:ecs:us-east-1::task-definition/wordpress:4", "arn:aws:ecs:us-east-1::task-definition/wordpress:5", @@ -7590,28 +7603,28 @@ "smithy.api#documentation": "

Returns a list of tasks. You can filter the results by cluster, task definition\n\t\t\tfamily, container instance, launch type, what IAM principal started the task, or by\n\t\t\tthe desired status of the task.

\n

Recently stopped tasks might appear in the returned results.

", "smithy.api#examples": [ { - "title": "To list the tasks in a cluster", - "documentation": "This example lists all of the tasks in a cluster.", + "title": "To list the tasks on a particular container instance", + "documentation": "This example lists the tasks of a specified container instance. Specifying a ``containerInstance`` value limits the results to tasks that belong to that container instance.", "input": { - "cluster": "default" + "cluster": "default", + "containerInstance": "f6bbb147-5370-4ace-8c73-c7181ded911f" }, "output": { "taskArns": [ - "arn:aws:ecs:us-east-1:012345678910:task/default/0cc43cdb-3bee-4407-9c26-c0e6ea5bee84", - "arn:aws:ecs:us-east-1:012345678910:task/default/6b809ef6-c67e-4467-921f-ee261c15a0a1" + "arn:aws:ecs:us-east-1:012345678910:task/default/0cc43cdb-3bee-4407-9c26-c0e6ea5bee84" ] } }, { - "title": "To list the tasks on a particular container instance", - "documentation": "This example lists the tasks of a specified container instance. Specifying a ``containerInstance`` value limits the results to tasks that belong to that container instance.", + "title": "To list the tasks in a cluster", + "documentation": "This example lists all of the tasks in a cluster.", "input": { - "cluster": "default", - "containerInstance": "f6bbb147-5370-4ace-8c73-c7181ded911f" + "cluster": "default" }, "output": { "taskArns": [ - "arn:aws:ecs:us-east-1:012345678910:task/default/0cc43cdb-3bee-4407-9c26-c0e6ea5bee84" + "arn:aws:ecs:us-east-1:012345678910:task/default/0cc43cdb-3bee-4407-9c26-c0e6ea5bee84", + "arn:aws:ecs:us-east-1:012345678910:task/default/6b809ef6-c67e-4467-921f-ee261c15a0a1" ] } } @@ -8680,31 +8693,31 @@ "smithy.api#documentation": "

Modifies an account setting. Account settings are set on a per-Region basis.

\n

If you change the root user account setting, the default settings are reset for users and\n\t\t\troles that do not have specified individual account settings. For more information, see\n\t\t\t\tAccount\n\t\t\t\tSettings in the Amazon Elastic Container Service Developer Guide.

", "smithy.api#examples": [ { - "title": "To modify your account settings", - "documentation": "This example modifies your account settings to opt in to the new ARN and resource ID format for Amazon ECS services. If you’re using this command as the root user, then changes apply to the entire AWS account, unless an IAM user or role explicitly overrides these settings for themselves.", + "title": "To modify the account settings for a specific IAM user or IAM role", + "documentation": "This example modifies the account setting for a specific IAM user or IAM role to opt in to the new ARN and resource ID format for Amazon ECS container instances. If you’re using this command as the root user, then changes apply to the entire AWS account, unless an IAM user or role explicitly overrides these settings for themselves.", "input": { - "name": "serviceLongArnFormat", - "value": "enabled" + "name": "containerInstanceLongArnFormat", + "value": "enabled", + "principalArn": "arn:aws:iam:::user/principalName" }, "output": { "setting": { - "name": "serviceLongArnFormat", + "name": "containerInstanceLongArnFormat", "value": "enabled", "principalArn": "arn:aws:iam:::user/principalName" } } }, { - "title": "To modify the account settings for a specific IAM user or IAM role", - "documentation": "This example modifies the account setting for a specific IAM user or IAM role to opt in to the new ARN and resource ID format for Amazon ECS container instances. If you’re using this command as the root user, then changes apply to the entire AWS account, unless an IAM user or role explicitly overrides these settings for themselves.", + "title": "To modify your account settings", + "documentation": "This example modifies your account settings to opt in to the new ARN and resource ID format for Amazon ECS services. If you’re using this command as the root user, then changes apply to the entire AWS account, unless an IAM user or role explicitly overrides these settings for themselves.", "input": { - "name": "containerInstanceLongArnFormat", - "value": "enabled", - "principalArn": "arn:aws:iam:::user/principalName" + "name": "serviceLongArnFormat", + "value": "enabled" }, "output": { "setting": { - "name": "containerInstanceLongArnFormat", + "name": "serviceLongArnFormat", "value": "enabled", "principalArn": "arn:aws:iam:::user/principalName" } @@ -12906,20 +12919,20 @@ "smithy.api#documentation": "

Modifies the parameters of a service.

\n \n

On March 21, 2024, a change was made to resolve the task definition revision before authorization. When a task definition revision is not specified, authorization will occur using the latest revision of a task definition.

\n
\n

For services using the rolling update (ECS) you can update the desired\n\t\t\tcount, deployment configuration, network configuration, load balancers, service\n\t\t\tregistries, enable ECS managed tags option, propagate tags option, task placement\n\t\t\tconstraints and strategies, and task definition. When you update any of these\n\t\t\tparameters, Amazon ECS starts new tasks with the new configuration.

\n

You can attach Amazon EBS volumes to Amazon ECS tasks by configuring the volume when starting or\n\t\t\trunning a task, or when creating or updating a service. For more infomation, see Amazon EBS volumes in the Amazon Elastic Container Service Developer Guide. You can update\n\t\t\tyour volume configurations and trigger a new deployment.\n\t\t\t\tvolumeConfigurations is only supported for REPLICA service and not\n\t\t\tDAEMON service. If you leave volumeConfigurations\n null, it doesn't trigger a new deployment. For more infomation on volumes,\n\t\t\tsee Amazon EBS volumes in the Amazon Elastic Container Service Developer Guide.

\n

For services using the blue/green (CODE_DEPLOY) deployment controller,\n\t\t\tonly the desired count, deployment configuration, health check grace period, task\n\t\t\tplacement constraints and strategies, enable ECS managed tags option, and propagate tags\n\t\t\tcan be updated using this API. If the network configuration, platform version, task\n\t\t\tdefinition, or load balancer need to be updated, create a new CodeDeploy deployment. For more\n\t\t\tinformation, see CreateDeployment in the CodeDeploy API Reference.

\n

For services using an external deployment controller, you can update only the desired\n\t\t\tcount, task placement constraints and strategies, health check grace period, enable ECS\n\t\t\tmanaged tags option, and propagate tags option, using this API. If the launch type, load\n\t\t\tbalancer, network configuration, platform version, or task definition need to be\n\t\t\tupdated, create a new task set For more information, see CreateTaskSet.

\n

You can add to or subtract from the number of instantiations of a task definition in a\n\t\t\tservice by specifying the cluster that the service is running in and a new\n\t\t\t\tdesiredCount parameter.

\n

You can attach Amazon EBS volumes to Amazon ECS tasks by configuring the volume when starting or\n\t\t\trunning a task, or when creating or updating a service. For more infomation, see Amazon EBS volumes in the Amazon Elastic Container Service Developer Guide.

\n

If you have updated the container image of your application, you can create a new task\n\t\t\tdefinition with that image and deploy it to your service. The service scheduler uses the\n\t\t\tminimum healthy percent and maximum percent parameters (in the service's deployment\n\t\t\tconfiguration) to determine the deployment strategy.

\n \n

If your updated Docker image uses the same tag as what is in the existing task\n\t\t\t\tdefinition for your service (for example, my_image:latest), you don't\n\t\t\t\tneed to create a new revision of your task definition. You can update the service\n\t\t\t\tusing the forceNewDeployment option. The new tasks launched by the\n\t\t\t\tdeployment pull the current image/tag combination from your repository when they\n\t\t\t\tstart.

\n
\n

You can also update the deployment configuration of a service. When a deployment is\n\t\t\ttriggered by updating the task definition of a service, the service scheduler uses the\n\t\t\tdeployment configuration parameters, minimumHealthyPercent and\n\t\t\t\tmaximumPercent, to determine the deployment strategy.

\n
    \n
  • \n

    If minimumHealthyPercent is below 100%, the scheduler can ignore\n\t\t\t\t\t\tdesiredCount temporarily during a deployment. For example, if\n\t\t\t\t\t\tdesiredCount is four tasks, a minimum of 50% allows the\n\t\t\t\t\tscheduler to stop two existing tasks before starting two new tasks. Tasks for\n\t\t\t\t\tservices that don't use a load balancer are considered healthy if they're in the\n\t\t\t\t\t\tRUNNING state. Tasks for services that use a load balancer are\n\t\t\t\t\tconsidered healthy if they're in the RUNNING state and are reported\n\t\t\t\t\tas healthy by the load balancer.

    \n
  • \n
  • \n

    The maximumPercent parameter represents an upper limit on the\n\t\t\t\t\tnumber of running tasks during a deployment. You can use it to define the\n\t\t\t\t\tdeployment batch size. For example, if desiredCount is four tasks,\n\t\t\t\t\ta maximum of 200% starts four new tasks before stopping the four older tasks\n\t\t\t\t\t(provided that the cluster resources required to do this are available).

    \n
  • \n
\n

When UpdateService stops a task during a deployment, the equivalent\n\t\t\tof docker stop is issued to the containers running in the task. This\n\t\t\tresults in a SIGTERM and a 30-second timeout. After this,\n\t\t\t\tSIGKILL is sent and the containers are forcibly stopped. If the\n\t\t\tcontainer handles the SIGTERM gracefully and exits within 30 seconds from\n\t\t\treceiving it, no SIGKILL is sent.

\n

When the service scheduler launches new tasks, it determines task placement in your\n\t\t\tcluster with the following logic.

\n
    \n
  • \n

    Determine which of the container instances in your cluster can support your\n\t\t\t\t\tservice's task definition. For example, they have the required CPU, memory,\n\t\t\t\t\tports, and container instance attributes.

    \n
  • \n
  • \n

    By default, the service scheduler attempts to balance tasks across\n\t\t\t\t\tAvailability Zones in this manner even though you can choose a different\n\t\t\t\t\tplacement strategy.

    \n
      \n
    • \n

      Sort the valid container instances by the fewest number of running\n\t\t\t\t\t\t\ttasks for this service in the same Availability Zone as the instance.\n\t\t\t\t\t\t\tFor example, if zone A has one running service task and zones B and C\n\t\t\t\t\t\t\teach have zero, valid container instances in either zone B or C are\n\t\t\t\t\t\t\tconsidered optimal for placement.

      \n
    • \n
    • \n

      Place the new service task on a valid container instance in an optimal\n\t\t\t\t\t\t\tAvailability Zone (based on the previous steps), favoring container\n\t\t\t\t\t\t\tinstances with the fewest number of running tasks for this\n\t\t\t\t\t\t\tservice.

      \n
    • \n
    \n
  • \n
\n

When the service scheduler stops running tasks, it attempts to maintain balance across\n\t\t\tthe Availability Zones in your cluster using the following logic:

\n
    \n
  • \n

    Sort the container instances by the largest number of running tasks for this\n\t\t\t\t\tservice in the same Availability Zone as the instance. For example, if zone A\n\t\t\t\t\thas one running service task and zones B and C each have two, container\n\t\t\t\t\tinstances in either zone B or C are considered optimal for termination.

    \n
  • \n
  • \n

    Stop the task on a container instance in an optimal Availability Zone (based\n\t\t\t\t\ton the previous steps), favoring container instances with the largest number of\n\t\t\t\t\trunning tasks for this service.

    \n
  • \n
\n \n

You must have a service-linked role when you update any of the following service\n\t\t\t\tproperties:

\n
    \n
  • \n

    \n loadBalancers,

    \n
  • \n
  • \n

    \n serviceRegistries\n

    \n
  • \n
\n

For more information about the role see the CreateService request\n\t\t\t\tparameter \n role\n .

\n
", "smithy.api#examples": [ { - "title": "To change the task definition used in a service", - "documentation": "This example updates the my-http-service service to use the amazon-ecs-sample task definition.", + "title": "To change the number of tasks in a service", + "documentation": "This example updates the desired count of the my-http-service service to 10.", "input": { "service": "my-http-service", - "taskDefinition": "amazon-ecs-sample" + "desiredCount": 10 }, "output": {} }, { - "title": "To change the number of tasks in a service", - "documentation": "This example updates the desired count of the my-http-service service to 10.", + "title": "To change the task definition used in a service", + "documentation": "This example updates the my-http-service service to use the amazon-ecs-sample task definition.", "input": { "service": "my-http-service", - "desiredCount": 10 + "taskDefinition": "amazon-ecs-sample" }, "output": {} } @@ -13183,36 +13196,35 @@ "smithy.api#documentation": "

Updates the protection status of a task. You can set protectionEnabled to\n\t\t\t\ttrue to protect your task from termination during scale-in events from\n\t\t\t\tService\n\t\t\t\tAutoscaling or deployments.

\n

Task-protection, by default, expires after 2 hours at which point Amazon ECS clears the\n\t\t\t\tprotectionEnabled property making the task eligible for termination by\n\t\t\ta subsequent scale-in event.

\n

You can specify a custom expiration period for task protection from 1 minute to up to\n\t\t\t2,880 minutes (48 hours). To specify the custom expiration period, set the\n\t\t\t\texpiresInMinutes property. The expiresInMinutes property\n\t\t\tis always reset when you invoke this operation for a task that already has\n\t\t\t\tprotectionEnabled set to true. You can keep extending the\n\t\t\tprotection expiration period of a task by invoking this operation repeatedly.

\n

To learn more about Amazon ECS task protection, see Task scale-in\n\t\t\t\tprotection in the \n Amazon Elastic Container Service Developer Guide\n .

\n \n

This operation is only supported for tasks belonging to an Amazon ECS service. Invoking\n\t\t\t\tthis operation for a standalone task will result in an TASK_NOT_VALID\n\t\t\t\tfailure. For more information, see API failure\n\t\t\t\t\treasons.

\n
\n \n

If you prefer to set task protection from within the container, we recommend using\n\t\t\t\tthe Task scale-in protection endpoint.

\n
", "smithy.api#examples": [ { - "title": "To set task scale-in protection for a task for 60 minutes", - "documentation": "This example enables scale-in protection for a task for 60 minutes.", + "title": "To remove task scale-in protection", + "documentation": "This example removes scale-in protection for a task.", "input": { "cluster": "test-task-protection", "tasks": [ "b8b1cf532d0e46ba8d44a40d1de16772" ], - "protectionEnabled": true, - "expiresInMinutes": 60 + "protectionEnabled": false }, "output": { "protectedTasks": [ { "taskArn": "arn:aws:ecs:us-west-2:012345678910:task/default/b8b1cf532d0e46ba8d44a40d1de16772", - "protectionEnabled": true, - "expirationDate": "2022-11-02T06:56:32.553Z" + "protectionEnabled": false } ], "failures": [] } }, { - "title": "To set task scale-in protection for the default time period in minutes", - "documentation": "This example enables task scale-in protection for a task, without specifying the expiresInMinutes parameter, for the default protection period of 120 minutes.", + "title": "To set task scale-in protection for a task for 60 minutes", + "documentation": "This example enables scale-in protection for a task for 60 minutes.", "input": { "cluster": "test-task-protection", "tasks": [ "b8b1cf532d0e46ba8d44a40d1de16772" ], - "protectionEnabled": true + "protectionEnabled": true, + "expiresInMinutes": 60 }, "output": { "protectedTasks": [ @@ -13226,20 +13238,21 @@ } }, { - "title": "To remove task scale-in protection", - "documentation": "This example removes scale-in protection for a task.", + "title": "To set task scale-in protection for the default time period in minutes", + "documentation": "This example enables task scale-in protection for a task, without specifying the expiresInMinutes parameter, for the default protection period of 120 minutes.", "input": { "cluster": "test-task-protection", "tasks": [ "b8b1cf532d0e46ba8d44a40d1de16772" ], - "protectionEnabled": false + "protectionEnabled": true }, "output": { "protectedTasks": [ { "taskArn": "arn:aws:ecs:us-west-2:012345678910:task/default/b8b1cf532d0e46ba8d44a40d1de16772", - "protectionEnabled": false + "protectionEnabled": true, + "expirationDate": "2022-11-02T06:56:32.553Z" } ], "failures": [] diff --git a/codegen/sdk-codegen/aws-models/glue.json b/codegen/sdk-codegen/aws-models/glue.json index 1f7dff017eb..8fdf9d6ed56 100644 --- a/codegen/sdk-codegen/aws-models/glue.json +++ b/codegen/sdk-codegen/aws-models/glue.json @@ -15670,7 +15670,20 @@ } ], "traits": { - "smithy.api#documentation": "

Retrieves the status of a migration operation.

" + "smithy.api#documentation": "

Retrieves the status of a migration operation.

", + "smithy.test#smokeTests": [ + { + "id": "GetCatalogImportStatusSuccess", + "params": {}, + "vendorParams": { + "region": "us-west-2" + }, + "vendorParamsShape": "aws.test#AwsVendorParams", + "expect": { + "success": {} + } + } + ] } }, "com.amazonaws.glue#GetCatalogImportStatusRequest": { diff --git a/codegen/sdk-codegen/aws-models/ivs-realtime.json b/codegen/sdk-codegen/aws-models/ivs-realtime.json index 234a738b0e9..f451a1b0893 100644 --- a/codegen/sdk-codegen/aws-models/ivs-realtime.json +++ b/codegen/sdk-codegen/aws-models/ivs-realtime.json @@ -120,7 +120,7 @@ "sdkId": "IVS RealTime", "arnNamespace": "ivs", "cloudFormationName": "IVS", - "cloudTrailEventSource": "REPLACE_WITH_EVENT_SOURCE", + "cloudTrailEventSource": "ivs.amazonaws.com", "endpointPrefix": "ivsrealtime" }, "aws.auth#sigv4": { diff --git a/codegen/sdk-codegen/aws-models/ivs.json b/codegen/sdk-codegen/aws-models/ivs.json index d0097de9874..944a77b51af 100644 --- a/codegen/sdk-codegen/aws-models/ivs.json +++ b/codegen/sdk-codegen/aws-models/ivs.json @@ -132,7 +132,7 @@ "sdkId": "ivs", "arnNamespace": "ivs", "cloudFormationName": "IVS", - "cloudTrailEventSource": "REPLACE_WITH_EVENT_SOURCE" + "cloudTrailEventSource": "ivs.amazonaws.com" }, "aws.auth#sigv4": { "name": "ivs" diff --git a/codegen/sdk-codegen/aws-models/ivschat.json b/codegen/sdk-codegen/aws-models/ivschat.json index 38a532a2f3a..584fd209f7a 100644 --- a/codegen/sdk-codegen/aws-models/ivschat.json +++ b/codegen/sdk-codegen/aws-models/ivschat.json @@ -78,7 +78,7 @@ "sdkId": "ivschat", "arnNamespace": "ivschat", "cloudFormationName": "IVSChat", - "cloudTrailEventSource": "REPLACE_WITH_EVENT_SOURCE" + "cloudTrailEventSource": "ivschat.amazonaws.com" }, "aws.auth#sigv4": { "name": "ivschat" diff --git a/codegen/sdk-codegen/aws-models/kinesis.json b/codegen/sdk-codegen/aws-models/kinesis.json index f03db12797f..4176b38755d 100644 --- a/codegen/sdk-codegen/aws-models/kinesis.json +++ b/codegen/sdk-codegen/aws-models/kinesis.json @@ -670,6 +670,21 @@ "value": "control" } }, + "smithy.test#smokeTests": [ + { + "id": "DescribeStreamFailure", + "params": { + "StreamName": "bogus-stream-name" + }, + "vendorParams": { + "region": "us-west-2" + }, + "vendorParamsShape": "aws.test#AwsVendorParams", + "expect": { + "failure": {} + } + } + ], "smithy.waiters#waitable": { "StreamExists": { "acceptors": [ @@ -6069,7 +6084,20 @@ "inputToken": "NextToken", "outputToken": "NextToken", "pageSize": "Limit" - } + }, + "smithy.test#smokeTests": [ + { + "id": "ListStreamsSuccess", + "params": {}, + "vendorParams": { + "region": "us-west-2" + }, + "vendorParamsShape": "aws.test#AwsVendorParams", + "expect": { + "success": {} + } + } + ] } }, "com.amazonaws.kinesis#ListStreamsInput": { diff --git a/codegen/sdk-codegen/aws-models/resiliencehub.json b/codegen/sdk-codegen/aws-models/resiliencehub.json index f02d0058b0b..fd69f005fae 100644 --- a/codegen/sdk-codegen/aws-models/resiliencehub.json +++ b/codegen/sdk-codegen/aws-models/resiliencehub.json @@ -1,6 +1,111 @@ { "smithy": "2.0", "shapes": { + "com.amazonaws.resiliencehub#AcceptGroupingRecommendationEntries": { + "type": "list", + "member": { + "target": "com.amazonaws.resiliencehub#AcceptGroupingRecommendationEntry" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 30 + } + } + }, + "com.amazonaws.resiliencehub#AcceptGroupingRecommendationEntry": { + "type": "structure", + "members": { + "groupingRecommendationId": { + "target": "com.amazonaws.resiliencehub#String255", + "traits": { + "smithy.api#documentation": "

Indicates the identifier of the grouping recommendation.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

Indicates the grouping recommendation you have accepted to include in your application.

" + } + }, + "com.amazonaws.resiliencehub#AcceptResourceGroupingRecommendations": { + "type": "operation", + "input": { + "target": "com.amazonaws.resiliencehub#AcceptResourceGroupingRecommendationsRequest" + }, + "output": { + "target": "com.amazonaws.resiliencehub#AcceptResourceGroupingRecommendationsResponse" + }, + "errors": [ + { + "target": "com.amazonaws.resiliencehub#AccessDeniedException" + }, + { + "target": "com.amazonaws.resiliencehub#InternalServerException" + }, + { + "target": "com.amazonaws.resiliencehub#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.resiliencehub#ThrottlingException" + }, + { + "target": "com.amazonaws.resiliencehub#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Accepts the resource grouping recommendations suggested by Resilience Hub for your application.

", + "smithy.api#http": { + "method": "POST", + "uri": "/accept-resource-grouping-recommendations", + "code": 200 + } + } + }, + "com.amazonaws.resiliencehub#AcceptResourceGroupingRecommendationsRequest": { + "type": "structure", + "members": { + "appArn": { + "target": "com.amazonaws.resiliencehub#Arn", + "traits": { + "smithy.api#documentation": "

Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: \narn:partition:resiliencehub:region:account:app/app-id. For more information about ARNs, \nsee \n Amazon Resource Names (ARNs) in the \n Amazon Web Services General Reference guide.

", + "smithy.api#required": {} + } + }, + "entries": { + "target": "com.amazonaws.resiliencehub#AcceptGroupingRecommendationEntries", + "traits": { + "smithy.api#documentation": "

Indicates the list of resource grouping recommendations you want to include in your application.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.resiliencehub#AcceptResourceGroupingRecommendationsResponse": { + "type": "structure", + "members": { + "appArn": { + "target": "com.amazonaws.resiliencehub#Arn", + "traits": { + "smithy.api#documentation": "

Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: \narn:partition:resiliencehub:region:account:app/app-id. For more information about ARNs, \nsee \n Amazon Resource Names (ARNs) in the \n Amazon Web Services General Reference guide.

", + "smithy.api#required": {} + } + }, + "failedEntries": { + "target": "com.amazonaws.resiliencehub#FailedGroupingRecommendationEntries", + "traits": { + "smithy.api#documentation": "

Indicates the list of resource grouping recommendations that could not be included in your application.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.resiliencehub#AccessDeniedException": { "type": "structure", "members": { @@ -35,6 +140,9 @@ { "target": "com.amazonaws.resiliencehub#ResourceNotFoundException" }, + { + "target": "com.amazonaws.resiliencehub#ServiceQuotaExceededException" + }, { "target": "com.amazonaws.resiliencehub#ThrottlingException" }, @@ -43,7 +151,7 @@ } ], "traits": { - "smithy.api#documentation": "

Adds the source of resource-maps to the draft version of an application. During assessment, Resilience Hub will use these resource-maps to resolve the latest physical ID for each resource in the application template. For more information about different types of resources suported by Resilience Hub and how to add them in your application, see Step 2: How is your application managed? in the Resilience Hub User Guide.

", + "smithy.api#documentation": "

Adds the source of resource-maps to the draft version of an application. During\n assessment, Resilience Hub will use these resource-maps to resolve the latest physical\n ID for each resource in the application template. For more information about different types\n of resources supported by Resilience Hub and how to add them in your application, see\n Step\n 2: How is your application managed? in the Resilience Hub User Guide.

", "smithy.api#http": { "method": "POST", "uri": "/add-draft-app-version-resource-mappings", @@ -470,6 +578,12 @@ "traits": { "smithy.api#documentation": "

Indicates if compliance drifts (deviations) were detected while running an assessment for\n your application.

" } + }, + "summary": { + "target": "com.amazonaws.resiliencehub#AssessmentSummary", + "traits": { + "smithy.api#documentation": "

Indicates a concise summary that provides an overview of the Resilience Hub assessment.

" + } } }, "traits": { @@ -553,7 +667,7 @@ "complianceStatus": { "target": "com.amazonaws.resiliencehub#ComplianceStatus", "traits": { - "smithy.api#documentation": "

TCurrent status of compliance for the resiliency policy.

" + "smithy.api#documentation": "

Current\n status of compliance for the resiliency policy.

" } }, "cost": { @@ -611,6 +725,14 @@ { "value": "ChangesDetected", "name": "CHANGES_DETECTED" + }, + { + "value": "NotApplicable", + "name": "NOT_APPLICABLE" + }, + { + "value": "MissingPolicy", + "name": "MISSING_POLICY" } ] } @@ -619,7 +741,7 @@ "type": "structure", "members": { "name": { - "target": "com.amazonaws.resiliencehub#String255", + "target": "com.amazonaws.resiliencehub#EntityName255", "traits": { "smithy.api#documentation": "

Name of the Application Component.

", "smithy.api#required": {} @@ -633,7 +755,7 @@ } }, "id": { - "target": "com.amazonaws.resiliencehub#String255", + "target": "com.amazonaws.resiliencehub#EntityName255", "traits": { "smithy.api#documentation": "

Identifier of the Application Component.

" } @@ -966,6 +1088,38 @@ ] } }, + "com.amazonaws.resiliencehub#AssessmentRiskRecommendation": { + "type": "structure", + "members": { + "risk": { + "target": "com.amazonaws.resiliencehub#String255", + "traits": { + "smithy.api#documentation": "

Indicates the description of the potential risk identified in the application as part of the Resilience Hub assessment.

\n \n

This property is available only in the US East (N. Virginia) Region.

\n
" + } + }, + "recommendation": { + "target": "com.amazonaws.resiliencehub#String255", + "traits": { + "smithy.api#documentation": "

Indicates the recommendation provided by the Resilience Hub to address the identified\n risks in the application.

\n \n

This property is available only in the US East (N. Virginia) Region.

\n
" + } + }, + "appComponents": { + "target": "com.amazonaws.resiliencehub#AppComponentNameList", + "traits": { + "smithy.api#documentation": "

Indicates the Application Components (AppComponents) that were assessed as part of the\n assessnent and are associated with the identified risk and recommendation.

\n \n

This property is available only in the US East (N. Virginia) Region.

\n
" + } + } + }, + "traits": { + "smithy.api#documentation": "

Indicates a specific risk identified in the Resilience Hub assessment and the corresponding recommendation provided to address that risk.

\n \n

The assessment summary generated by large language models (LLMs) on Amazon Bedrock are only suggestions. \n The current level of generative AI technology is not perfect and LLMs are not infallible. \n Bias and incorrect answers, although rare, should be expected. Review each recommendation in the assessment summary before you use the output from an LLM.\n

\n
\n \n

This property is available only in the US East (N. Virginia) Region.

\n
" + } + }, + "com.amazonaws.resiliencehub#AssessmentRiskRecommendationList": { + "type": "list", + "member": { + "target": "com.amazonaws.resiliencehub#AssessmentRiskRecommendation" + } + }, "com.amazonaws.resiliencehub#AssessmentStatus": { "type": "string", "traits": { @@ -1001,6 +1155,26 @@ } } }, + "com.amazonaws.resiliencehub#AssessmentSummary": { + "type": "structure", + "members": { + "summary": { + "target": "com.amazonaws.resiliencehub#String500", + "traits": { + "smithy.api#documentation": "

Indicates a concise summary that provides an overview of the Resilience Hub assessment.

\n \n

This property is available only in the US East (N. Virginia) Region.

\n
" + } + }, + "riskRecommendations": { + "target": "com.amazonaws.resiliencehub#AssessmentRiskRecommendationList", + "traits": { + "smithy.api#documentation": "

Indicates the top risks and recommendations identified by the Resilience Hub assessment, \n each representing a specific risk and the corresponding recommendation to address it.

\n \n

This property is available only in the US East (N. Virginia) Region.

\n
" + } + } + }, + "traits": { + "smithy.api#documentation": "

Indicates the AI-generated summary for the Resilience Hub assessment, providing a concise overview that highlights the top risks and recommendations.

\n \n

This property is available only in the US East (N. Virginia) Region.

\n
" + } + }, "com.amazonaws.resiliencehub#AwsRegion": { "type": "string", "traits": { @@ -1011,6 +1185,9 @@ "type": "service", "version": "2020-04-30", "operations": [ + { + "target": "com.amazonaws.resiliencehub#AcceptResourceGroupingRecommendations" + }, { "target": "com.amazonaws.resiliencehub#AddDraftAppVersionResourceMappings" }, @@ -1080,6 +1257,9 @@ { "target": "com.amazonaws.resiliencehub#DescribeResiliencyPolicy" }, + { + "target": "com.amazonaws.resiliencehub#DescribeResourceGroupingRecommendationTask" + }, { "target": "com.amazonaws.resiliencehub#ImportResourcesToDraftAppVersion" }, @@ -1125,6 +1305,9 @@ { "target": "com.amazonaws.resiliencehub#ListResiliencyPolicies" }, + { + "target": "com.amazonaws.resiliencehub#ListResourceGroupingRecommendations" + }, { "target": "com.amazonaws.resiliencehub#ListSopRecommendations" }, @@ -1146,6 +1329,9 @@ { "target": "com.amazonaws.resiliencehub#PutDraftAppVersionTemplate" }, + { + "target": "com.amazonaws.resiliencehub#RejectResourceGroupingRecommendations" + }, { "target": "com.amazonaws.resiliencehub#RemoveDraftAppVersionResourceMappings" }, @@ -1155,6 +1341,9 @@ { "target": "com.amazonaws.resiliencehub#StartAppAssessment" }, + { + "target": "com.amazonaws.resiliencehub#StartResourceGroupingRecommendationTask" + }, { "target": "com.amazonaws.resiliencehub#TagResource" }, @@ -2147,7 +2336,7 @@ "requestEntries": { "target": "com.amazonaws.resiliencehub#UpdateRecommendationStatusRequestEntries", "traits": { - "smithy.api#documentation": "

Defines the list of operational recommendations that need to be included or excluded.

", + "smithy.api#documentation": "

Defines the list of operational recommendations that need to be included or\n excluded.

", "smithy.api#required": {} } } @@ -2176,7 +2365,7 @@ "failedEntries": { "target": "com.amazonaws.resiliencehub#BatchUpdateRecommendationStatusFailedEntries", "traits": { - "smithy.api#documentation": "

A list of items with error details about each item, which could not be included or excluded.

", + "smithy.api#documentation": "

A list of items with error details about each item, which could not be included or\n excluded.

", "smithy.api#required": {} } } @@ -2306,7 +2495,7 @@ "diffType": { "target": "com.amazonaws.resiliencehub#DifferenceType", "traits": { - "smithy.api#documentation": "

Difference type between actual and expected recovery point objective (RPO) and recovery\n time objective (RTO) values. Currently, Resilience Hub supports only NotEqual difference type.

" + "smithy.api#documentation": "

Difference type between actual and expected recovery point objective (RPO) and recovery\n time objective (RTO) values. Currently, Resilience Hub supports only\n NotEqual difference type.

" } } }, @@ -2331,6 +2520,14 @@ { "value": "PolicyMet", "name": "POLICY_MET" + }, + { + "value": "NotApplicable", + "name": "NOT_APPLICABLE" + }, + { + "value": "MissingPolicy", + "name": "MISSING_POLICY" } ] } @@ -2594,7 +2791,7 @@ } ], "traits": { - "smithy.api#documentation": "

Creates an Resilience Hub application. An Resilience Hub application is a\n collection of Amazon Web Services resources structured to prevent and recover Amazon Web Services application disruptions. To describe a Resilience Hub application,\n you provide an application name, resources from one or more CloudFormation stacks, Resource Groups, Terraform state files, AppRegistry applications, and an appropriate\n resiliency policy. In addition, you can also add resources that are located on Amazon Elastic Kubernetes Service (Amazon EKS) clusters as optional resources. For more information about the number of resources supported per application, see Service\n quotas.

\n

After you create an Resilience Hub application, you publish it so that you can run a resiliency\n assessment on it. You can then use recommendations from the assessment to improve resiliency\n by running another assessment, comparing results, and then iterating the process until you\n achieve your goals for recovery time objective (RTO) and recovery point objective\n (RPO).

", + "smithy.api#documentation": "

Creates an Resilience Hub application. An Resilience Hub application is a\n collection of Amazon Web Services resources structured to prevent and recover Amazon Web Services application disruptions. To describe a Resilience Hub application, you provide an\n application name, resources from one or more CloudFormation stacks, Resource Groups, Terraform state files, AppRegistry applications, and an appropriate\n resiliency policy. In addition, you can also add resources that are located on Amazon Elastic Kubernetes Service (Amazon EKS) clusters as optional resources. For more information\n about the number of resources supported per application, see Service\n quotas.

\n

After you create an Resilience Hub application, you publish it so that you can run\n a resiliency assessment on it. You can then use recommendations from the assessment to improve\n resiliency by running another assessment, comparing results, and then iterating the process\n until you achieve your goals for recovery time objective (RTO) and recovery point objective\n (RPO).

", "smithy.api#http": { "method": "POST", "uri": "/create-app", @@ -2640,7 +2837,7 @@ "assessmentSchedule": { "target": "com.amazonaws.resiliencehub#AppAssessmentScheduleType", "traits": { - "smithy.api#documentation": "

\n Assessment execution schedule with 'Daily' or 'Disabled' values.\n

" + "smithy.api#documentation": "

Assessment execution schedule with 'Daily' or 'Disabled' values.

" } }, "permissionModel": { @@ -2652,7 +2849,7 @@ "eventSubscriptions": { "target": "com.amazonaws.resiliencehub#EventSubscriptionList", "traits": { - "smithy.api#documentation": "

The list of events you would like to subscribe and get notification for. Currently, Resilience Hub supports only Drift detected and Scheduled assessment failure events notification.

" + "smithy.api#documentation": "

The list of events you would like to subscribe and get notification for. Currently,\n Resilience Hub supports only Drift detected and\n Scheduled assessment failure events notification.

" } } } @@ -2701,7 +2898,7 @@ } ], "traits": { - "smithy.api#documentation": "

Creates a new Application Component in the Resilience Hub application.

\n \n

This API updates the Resilience Hub application draft version. To use this Application Component for running assessments, you must publish the Resilience Hub application using the PublishAppVersion API.

\n
", + "smithy.api#documentation": "

Creates a new Application Component in the Resilience Hub application.

\n \n

This API updates the Resilience Hub application draft version. To use this\n Application Component for running assessments, you must publish the Resilience Hub\n application using the PublishAppVersion API.

\n
", "smithy.api#http": { "method": "POST", "uri": "/create-app-version-app-component", @@ -2811,7 +3008,7 @@ } ], "traits": { - "smithy.api#documentation": "

Adds a resource to the Resilience Hub application and assigns it to the specified\n Application Components. If you specify a new Application Component, Resilience Hub will automatically\n create the Application Component.

\n \n
    \n
  • \n

    This action has no effect outside Resilience Hub.

    \n
  • \n
  • \n

    This API updates the Resilience Hub application draft version. To use this resource\n for running resiliency assessments, you must publish the Resilience Hub application using\n the PublishAppVersion API.

    \n
  • \n
  • \n

    To update application version with new physicalResourceID, you must\n call ResolveAppVersionResources API.

    \n
  • \n
\n
", + "smithy.api#documentation": "

Adds a resource to the Resilience Hub application and assigns it to the specified\n Application Components. If you specify a new Application Component, Resilience Hub will\n automatically create the Application Component.

\n \n
    \n
  • \n

    This action has no effect outside Resilience Hub.

    \n
  • \n
  • \n

    This API updates the Resilience Hub application draft version. To use this\n resource for running resiliency assessments, you must publish the Resilience Hub\n application using the PublishAppVersion API.

    \n
  • \n
  • \n

    To update application version with new physicalResourceID, you must\n call ResolveAppVersionResources API.

    \n
  • \n
\n
", "smithy.api#http": { "method": "POST", "uri": "/create-app-version-resource", @@ -3051,7 +3248,7 @@ } ], "traits": { - "smithy.api#documentation": "

Creates a resiliency policy for an application.

\n \n

Resilience Hub allows you to provide a value of zero for rtoInSecs and\n rpoInSecs of your resiliency policy. But, while assessing your application, the lowest possible assessment result is near zero. Hence, if you provide value\n zero for rtoInSecs and rpoInSecs, the estimated workload RTO and estimated workload RPO result will be near zero and the Compliance\n status for your application will be set to Policy\n breached.

\n
", + "smithy.api#documentation": "

Creates a resiliency policy for an application.

\n \n

Resilience Hub allows you to provide a value of zero for rtoInSecs\n and rpoInSecs of your resiliency policy. But, while assessing your application,\n the lowest possible assessment result is near zero. Hence, if you provide value zero for\n rtoInSecs and rpoInSecs, the estimated workload RTO and\n estimated workload RPO result will be near zero and the Compliance\n status for your application will be set to Policy\n breached.

\n
", "smithy.api#http": { "method": "POST", "uri": "/create-resiliency-policy", @@ -3219,7 +3416,7 @@ } ], "traits": { - "smithy.api#documentation": "

Deletes an Resilience Hub application assessment. This is a destructive action that can't\n be undone.

", + "smithy.api#documentation": "

Deletes an Resilience Hub application assessment. This is a destructive action\n that can't be undone.

", "smithy.api#http": { "method": "POST", "uri": "/delete-app-assessment", @@ -3294,7 +3491,7 @@ } ], "traits": { - "smithy.api#documentation": "

Deletes the input source and all of its imported resources from the Resilience Hub application.

", + "smithy.api#documentation": "

Deletes the input source and all of its imported resources from the Resilience Hub\n application.

", "smithy.api#http": { "method": "POST", "uri": "/delete-app-input-source", @@ -3315,13 +3512,13 @@ "sourceArn": { "target": "com.amazonaws.resiliencehub#Arn", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the imported resource you want to remove from the\n Resilience Hub application. For more information about ARNs, \nsee \n Amazon Resource Names (ARNs) in the \n Amazon Web Services General Reference guide.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the imported resource you want to remove from the\n Resilience Hub application. For more information about ARNs, \nsee \n Amazon Resource Names (ARNs) in the \n Amazon Web Services General Reference guide.

" } }, "terraformSource": { "target": "com.amazonaws.resiliencehub#TerraformSource", "traits": { - "smithy.api#documentation": "

The imported Terraform s3 state file you want to remove from the Resilience Hub application.

" + "smithy.api#documentation": "

The imported Terraform s3 state file you want to remove from the Resilience Hub\n application.

" } }, "clientToken": { @@ -3334,7 +3531,7 @@ "eksSourceClusterNamespace": { "target": "com.amazonaws.resiliencehub#EksSourceClusterNamespace", "traits": { - "smithy.api#documentation": "

The namespace on your Amazon Elastic Kubernetes Service cluster that you want to delete from the Resilience Hub application.

" + "smithy.api#documentation": "

The namespace on your Amazon Elastic Kubernetes Service cluster that you want to delete from the\n Resilience Hub application.

" } } } @@ -3422,7 +3619,7 @@ } ], "traits": { - "smithy.api#documentation": "

Deletes an Application Component from the Resilience Hub application.

\n \n
    \n
  • \n

    This API updates the Resilience Hub application draft version. To use this Application Component for running assessments, you must publish the Resilience Hub application using the PublishAppVersion API.

    \n
  • \n
  • \n

    You will not be able to delete an Application Component if it has resources associated with it.

    \n
  • \n
\n
", + "smithy.api#documentation": "

Deletes an Application Component from the Resilience Hub application.

\n \n
    \n
  • \n

    This API updates the Resilience Hub application draft version. To use this\n Application Component for running assessments, you must publish the Resilience Hub\n application using the PublishAppVersion API.

    \n
  • \n
  • \n

    You will not be able to delete an Application Component if it has resources associated\n with it.

    \n
  • \n
\n
", "smithy.api#http": { "method": "POST", "uri": "/delete-app-version-app-component", @@ -3510,7 +3707,7 @@ } ], "traits": { - "smithy.api#documentation": "

Deletes a resource from the Resilience Hub application.

\n \n
    \n
  • \n

    You can only delete a manually added resource. To exclude non-manually added resources, use the UpdateAppVersionResource API.

    \n
  • \n
  • \n

    This action has no effect outside Resilience Hub.

    \n
  • \n
  • \n

    This API updates the Resilience Hub application draft version. To use this resource for running resiliency assessments, you must publish the Resilience Hub application using the PublishAppVersion API.

    \n
  • \n
\n
", + "smithy.api#documentation": "

Deletes a resource from the Resilience Hub application.

\n \n
    \n
  • \n

    You can only delete a manually added resource. To exclude non-manually added\n resources, use the UpdateAppVersionResource API.

    \n
  • \n
  • \n

    This action has no effect outside Resilience Hub.

    \n
  • \n
  • \n

    This API updates the Resilience Hub application draft version. To use this\n resource for running resiliency assessments, you must publish the Resilience Hub\n application using the PublishAppVersion API.

    \n
  • \n
\n
", "smithy.api#http": { "method": "POST", "uri": "/delete-app-version-resource", @@ -3818,7 +4015,7 @@ "assessment": { "target": "com.amazonaws.resiliencehub#AppAssessment", "traits": { - "smithy.api#documentation": "

The assessment for an Resilience Hub application, returned as an object. This object\n includes Amazon Resource Names (ARNs), compliance information, compliance status, cost,\n messages, resiliency scores, and more.

", + "smithy.api#documentation": "

The assessment for an Resilience Hub application, returned as an object. This\n object includes Amazon Resource Names (ARNs), compliance information, compliance status, cost,\n messages, resiliency scores, and more.

", "smithy.api#required": {} } } @@ -4018,7 +4215,7 @@ } ], "traits": { - "smithy.api#documentation": "

Describes a resource of the Resilience Hub application.

\n \n

This API accepts only one of the following parameters to descibe the resource:

\n
    \n
  • \n

    \n resourceName\n

    \n
  • \n
  • \n

    \n logicalResourceId\n

    \n
  • \n
  • \n

    \n physicalResourceId (Along with physicalResourceId, you can also\n provide awsAccountId, and awsRegion)

    \n
  • \n
\n
", + "smithy.api#documentation": "

Describes a resource of the Resilience Hub application.

\n \n

This API accepts only one of the following parameters to describe the resource:

\n
    \n
  • \n

    \n resourceName\n

    \n
  • \n
  • \n

    \n logicalResourceId\n

    \n
  • \n
  • \n

    \n physicalResourceId (Along with physicalResourceId, you can\n also provide awsAccountId, and awsRegion)

    \n
  • \n
\n
", "smithy.api#http": { "method": "POST", "uri": "/describe-app-version-resource", @@ -4296,7 +4493,7 @@ "appTemplateBody": { "target": "com.amazonaws.resiliencehub#AppTemplateBody", "traits": { - "smithy.api#documentation": "

A JSON string that provides information about your application structure. To learn more\n about the appTemplateBody template, see the sample template provided in the\n Examples section.

\n

The appTemplateBody JSON string has the following structure:

\n
    \n
  • \n

    \n \n resources\n \n

    \n

    The list of logical resources that must be included in the Resilience Hub\n application.

    \n

    Type: Array

    \n \n

    Don't add the resources that you want to exclude.

    \n
    \n

    Each resources array item includes the following fields:

    \n
      \n
    • \n

      \n \n logicalResourceId\n \n

      \n

      Logical identifier of the resource.

      \n

      Type: Object

      \n

      Each logicalResourceId object includes the following fields:

      \n
        \n
      • \n

        \n identifier\n

        \n

        Identifier of the resource.

        \n

        Type: String

        \n
      • \n
      • \n

        \n logicalStackName\n

        \n

        The name of the CloudFormation stack this resource belongs to.

        \n

        Type: String

        \n
      • \n
      • \n

        \n resourceGroupName\n

        \n

        The name of the resource group this resource belongs to.

        \n

        Type: String

        \n
      • \n
      • \n

        \n terraformSourceName\n

        \n

        The name of the Terraform S3 state file this resource belongs to.

        \n

        Type: String

        \n
      • \n
      • \n

        \n eksSourceName\n

        \n

        Name of the Amazon Elastic Kubernetes Service cluster and namespace this resource belongs to.

        \n \n

        This parameter accepts values in \"eks-cluster/namespace\" format.

        \n
        \n

        Type: String

        \n
      • \n
      \n
    • \n
    • \n

      \n \n type\n \n

      \n

      The type of resource.

      \n

      Type: string

      \n
    • \n
    • \n

      \n \n name\n \n

      \n

      The name of the resource.

      \n

      Type: String

      \n
    • \n
    • \n

      \n additionalInfo\n

      \n

      Additional configuration parameters for an Resilience Hub application. If you want to implement additionalInfo through the Resilience Hub console rather than using an API call, see Configure the application configuration parameters.

      \n \n

      Currently, this parameter accepts a key-value mapping (in a string format) of only one failover region and one associated account.

      \n

      Key: \"failover-regions\"\n

      \n

      Value: \"[{\"region\":\"<REGION>\", \"accounts\":[{\"id\":\"<ACCOUNT_ID>\"}]}]\"\n

      \n
      \n
    • \n
    \n
  • \n
  • \n

    \n \n appComponents\n \n

    \n

    List of Application Components that this resource belongs to. If an Application Component is not part of the Resilience Hub application, it will be added.

    \n

    Type: Array

    \n

    Each appComponents array item includes the following fields:

    \n
      \n
    • \n

      \n name\n

      \n

      Name of the Application Component.

      \n

      Type: String

      \n
    • \n
    • \n

      \n type\n

      \n

      Type of Application Component. For more information about the types of Application Component, see Grouping resources in an AppComponent.

      \n

      Type: String

      \n
    • \n
    • \n

      \n resourceNames\n

      \n

      The list of included resources that are assigned to the Application Component.

      \n

      Type: Array of strings

      \n
    • \n
    • \n

      \n additionalInfo\n

      \n

      Additional configuration parameters for an Resilience Hub application. If you want to implement additionalInfo through the Resilience Hub console rather than using an API call, see Configure the application configuration parameters.

      \n \n

      Currently, this parameter accepts a key-value mapping (in a string format) of only one failover region and one associated account.

      \n

      Key: \"failover-regions\"\n

      \n

      Value: \"[{\"region\":\"<REGION>\", \"accounts\":[{\"id\":\"<ACCOUNT_ID>\"}]}]\"\n

      \n
      \n
    • \n
    \n
  • \n
  • \n

    \n \n excludedResources\n \n

    \n

    The list of logical resource identifiers to be excluded from the application.

    \n

    Type: Array

    \n \n

    Don't add the resources that you want to include.

    \n
    \n

    Each excludedResources array item includes the following fields:

    \n
      \n
    • \n

      \n \n logicalResourceIds\n \n

      \n

      Logical identifier of the resource.

      \n

      Type: Object

      \n \n

      You can configure only one of the following fields:

      \n
        \n
      • \n

        \n logicalStackName\n

        \n
      • \n
      • \n

        \n resourceGroupName\n

        \n
      • \n
      • \n

        \n terraformSourceName\n

        \n
      • \n
      • \n

        \n eksSourceName\n

        \n
      • \n
      \n
      \n

      Each logicalResourceIds object includes the following fields:

      \n
        \n
      • \n

        \n identifier\n

        \n

        Identifier of the resource.

        \n

        Type: String

        \n
      • \n
      • \n

        \n logicalStackName\n

        \n

        The name of the CloudFormation stack this resource belongs to.

        \n

        Type: String

        \n
      • \n
      • \n

        \n resourceGroupName\n

        \n

        The name of the resource group this resource belongs to.

        \n

        Type: String

        \n
      • \n
      • \n

        \n terraformSourceName\n

        \n

        The name of the Terraform S3 state file this resource belongs to.

        \n

        Type: String

        \n
      • \n
      • \n

        \n eksSourceName\n

        \n

        Name of the Amazon Elastic Kubernetes Service cluster and namespace this resource belongs to.

        \n \n

        This parameter accepts values in \"eks-cluster/namespace\" format.

        \n
        \n

        Type: String

        \n
      • \n
      \n
    • \n
    \n
  • \n
  • \n

    \n \n version\n \n

    \n

    Resilience Hub application version.

    \n
  • \n
  • \n

    \n additionalInfo\n

    \n

    Additional configuration parameters for an Resilience Hub application. If you want to implement additionalInfo through the Resilience Hub console rather than using an API call, see Configure the application configuration parameters.

    \n \n

    Currently, this parameter accepts a key-value mapping (in a string format) of only one failover region and one associated account.

    \n

    Key: \"failover-regions\"\n

    \n

    Value: \"[{\"region\":\"<REGION>\", \"accounts\":[{\"id\":\"<ACCOUNT_ID>\"}]}]\"\n

    \n
    \n
  • \n
", + "smithy.api#documentation": "

A JSON string that provides information about your application structure. To learn more\n about the appTemplateBody template, see the sample template provided in the\n Examples section.

\n

The appTemplateBody JSON string has the following structure:

\n
    \n
  • \n

    \n \n resources\n \n

    \n

    The list of logical resources that must be included in the Resilience Hub\n application.

    \n

    Type: Array

    \n \n

    Don't add the resources that you want to exclude.

    \n
    \n

    Each resources array item includes the following fields:

    \n
      \n
    • \n

      \n \n logicalResourceId\n \n

      \n

      Logical identifier of the resource.

      \n

      Type: Object

      \n

      Each logicalResourceId object includes the following fields:

      \n
        \n
      • \n

        \n identifier\n

        \n

        Identifier of the resource.

        \n

        Type: String

        \n
      • \n
      • \n

        \n logicalStackName\n

        \n

        The name of the CloudFormation stack this resource belongs to.

        \n

        Type: String

        \n
      • \n
      • \n

        \n resourceGroupName\n

        \n

        The name of the resource group this resource belongs to.

        \n

        Type: String

        \n
      • \n
      • \n

        \n terraformSourceName\n

        \n

        The name of the Terraform S3 state file this resource belongs to.

        \n

        Type: String

        \n
      • \n
      • \n

        \n eksSourceName\n

        \n

        Name of the Amazon Elastic Kubernetes Service cluster and namespace this resource belongs to.

        \n \n

        This parameter accepts values in \"eks-cluster/namespace\" format.

        \n
        \n

        Type: String

        \n
      • \n
      \n
    • \n
    • \n

      \n \n type\n \n

      \n

      The type of resource.

      \n

      Type: string

      \n
    • \n
    • \n

      \n \n name\n \n

      \n

      The name of the resource.

      \n

      Type: String

      \n
    • \n
    • \n

      \n additionalInfo\n

      \n

      Additional configuration parameters for an Resilience Hub application. If you want to implement additionalInfo through the Resilience Hub console rather than using an API call, see Configure the application configuration parameters.

      \n \n

      Currently, this parameter accepts a key-value mapping (in a string format) of only one failover region and one associated account.

      \n

      Key: \"failover-regions\"\n

      \n

      Value: \"[{\"region\":\"<REGION>\", \"accounts\":[{\"id\":\"<ACCOUNT_ID>\"}]}]\"\n

      \n
      \n
    • \n
    \n
  • \n
  • \n

    \n \n appComponents\n \n

    \n

    List of Application Components that this resource belongs to. If an Application Component is not part of the Resilience Hub application, it will be added.

    \n

    Type: Array

    \n

    Each appComponents array item includes the following fields:

    \n
      \n
    • \n

      \n name\n

      \n

      Name of the Application Component.

      \n

      Type: String

      \n
    • \n
    • \n

      \n type\n

      \n

      Type of Application Component. For more information about the types of Application Component, see Grouping resources in an AppComponent.

      \n

      Type: String

      \n
    • \n
    • \n

      \n resourceNames\n

      \n

      The list of included resources that are assigned to the Application Component.

      \n

      Type: Array of strings

      \n
    • \n
    • \n

      \n additionalInfo\n

      \n

      Additional configuration parameters for an Resilience Hub application. If you want to implement additionalInfo through the Resilience Hub console rather than using an API call, see Configure the application configuration parameters.

      \n \n

      Currently, this parameter accepts a key-value mapping (in a string format) of only one failover region and one associated account.

      \n

      Key: \"failover-regions\"\n

      \n

      Value: \"[{\"region\":\"<REGION>\", \"accounts\":[{\"id\":\"<ACCOUNT_ID>\"}]}]\"\n

      \n
      \n
    • \n
    \n
  • \n
  • \n

    \n \n excludedResources\n \n

    \n

    The list of logical resource identifiers to be excluded from the application.

    \n

    Type: Array

    \n \n

    Don't add the resources that you want to include.

    \n
    \n

    Each excludedResources array item includes the following fields:

    \n
      \n
    • \n

      \n \n logicalResourceIds\n \n

      \n

      Logical identifier of the resource.

      \n

      Type: Object

      \n \n

      You can configure only one of the following fields:

      \n
        \n
      • \n

        \n logicalStackName\n

        \n
      • \n
      • \n

        \n resourceGroupName\n

        \n
      • \n
      • \n

        \n terraformSourceName\n

        \n
      • \n
      • \n

        \n eksSourceName\n

        \n
      • \n
      \n
      \n

      Each logicalResourceIds object includes the following fields:

      \n
        \n
      • \n

        \n identifier\n

        \n

        Identifier of the resource.

        \n

        Type: String

        \n
      • \n
      • \n

        \n logicalStackName\n

        \n

        The name of the CloudFormation stack this resource belongs to.

        \n

        Type: String

        \n
      • \n
      • \n

        \n resourceGroupName\n

        \n

        The name of the resource group this resource belongs to.

        \n

        Type: String

        \n
      • \n
      • \n

        \n terraformSourceName\n

        \n

        The name of the Terraform S3 state file this resource belongs to.

        \n

        Type: String

        \n
      • \n
      • \n

        \n eksSourceName\n

        \n

        Name of the Amazon Elastic Kubernetes Service cluster and namespace this resource belongs to.

        \n \n

        This parameter accepts values in \"eks-cluster/namespace\" format.

        \n
        \n

        Type: String

        \n
      • \n
      \n
    • \n
    \n
  • \n
  • \n

    \n \n version\n \n

    \n

    Resilience Hub application version.

    \n
  • \n
  • \n

    \n additionalInfo\n

    \n

    Additional configuration parameters for an Resilience Hub application. If you want to implement additionalInfo through the Resilience Hub console rather than using an API call, see Configure the application configuration parameters.

    \n \n

    Currently, this parameter accepts a key-value mapping (in a string format) of only one failover region and one associated account.

    \n

    Key: \"failover-regions\"\n

    \n

    Value: \"[{\"region\":\"<REGION>\", \"accounts\":[{\"id\":\"<ACCOUNT_ID>\"}]}]\"\n

    \n
    \n
  • \n
", "smithy.api#required": {} } } @@ -4328,7 +4525,7 @@ } ], "traits": { - "smithy.api#documentation": "

Describes the status of importing resources to an application version.

\n \n

If you get a 404 error with\n ResourceImportStatusNotFoundAppMetadataException, you must call\n importResourcesToDraftAppVersion after creating the application and before\n calling describeDraftAppVersionResourcesImportStatus to obtain the\n status.

\n
", + "smithy.api#documentation": "

Describes the status of importing resources to an application version.

\n \n

If you get a 404 error with\n ResourceImportStatusNotFoundAppMetadataException, you must call\n importResourcesToDraftAppVersion after creating the application and before\n calling describeDraftAppVersionResourcesImportStatus to obtain the\n status.

\n
", "smithy.api#http": { "method": "POST", "uri": "/describe-draft-app-version-resources-import-status", @@ -4445,6 +4642,89 @@ } } }, + "com.amazonaws.resiliencehub#DescribeResourceGroupingRecommendationTask": { + "type": "operation", + "input": { + "target": "com.amazonaws.resiliencehub#DescribeResourceGroupingRecommendationTaskRequest" + }, + "output": { + "target": "com.amazonaws.resiliencehub#DescribeResourceGroupingRecommendationTaskResponse" + }, + "errors": [ + { + "target": "com.amazonaws.resiliencehub#AccessDeniedException" + }, + { + "target": "com.amazonaws.resiliencehub#InternalServerException" + }, + { + "target": "com.amazonaws.resiliencehub#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.resiliencehub#ThrottlingException" + }, + { + "target": "com.amazonaws.resiliencehub#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Describes the resource grouping recommendation tasks run by Resilience Hub for your application.

", + "smithy.api#http": { + "method": "POST", + "uri": "/describe-resource-grouping-recommendation-task", + "code": 200 + } + } + }, + "com.amazonaws.resiliencehub#DescribeResourceGroupingRecommendationTaskRequest": { + "type": "structure", + "members": { + "appArn": { + "target": "com.amazonaws.resiliencehub#Arn", + "traits": { + "smithy.api#documentation": "

Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: \narn:partition:resiliencehub:region:account:app/app-id. For more information about ARNs, \nsee \n Amazon Resource Names (ARNs) in the \n Amazon Web Services General Reference guide.

", + "smithy.api#required": {} + } + }, + "groupingId": { + "target": "com.amazonaws.resiliencehub#String255", + "traits": { + "smithy.api#documentation": "

Indicates the identifier of the grouping recommendation task.

" + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.resiliencehub#DescribeResourceGroupingRecommendationTaskResponse": { + "type": "structure", + "members": { + "groupingId": { + "target": "com.amazonaws.resiliencehub#String255", + "traits": { + "smithy.api#documentation": "

Indicates the identifier of the grouping recommendation task.

", + "smithy.api#required": {} + } + }, + "status": { + "target": "com.amazonaws.resiliencehub#ResourcesGroupingRecGenStatusType", + "traits": { + "smithy.api#documentation": "

Status of the action.

", + "smithy.api#required": {} + } + }, + "errorMessage": { + "target": "com.amazonaws.resiliencehub#String500", + "traits": { + "smithy.api#documentation": "

Indicates the error that occurred while generating a grouping recommendation.

" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.resiliencehub#DifferenceType": { "type": "string", "traits": { @@ -4714,6 +4994,12 @@ "smithy.api#pattern": "^[A-Za-z0-9][A-Za-z0-9_\\-]{1,59}$" } }, + "com.amazonaws.resiliencehub#EntityName255": { + "type": "string", + "traits": { + "smithy.api#pattern": "^[A-Za-z0-9][A-Za-z0-9_\\-]{0,254}$" + } + }, "com.amazonaws.resiliencehub#EntityNameList": { "type": "list", "member": { @@ -4832,6 +5118,34 @@ ] } }, + "com.amazonaws.resiliencehub#FailedGroupingRecommendationEntries": { + "type": "list", + "member": { + "target": "com.amazonaws.resiliencehub#FailedGroupingRecommendationEntry" + } + }, + "com.amazonaws.resiliencehub#FailedGroupingRecommendationEntry": { + "type": "structure", + "members": { + "groupingRecommendationId": { + "target": "com.amazonaws.resiliencehub#String255", + "traits": { + "smithy.api#documentation": "

Indicates the identifier of the grouping recommendation.

", + "smithy.api#required": {} + } + }, + "errorMessage": { + "target": "com.amazonaws.resiliencehub#ErrorMessage", + "traits": { + "smithy.api#documentation": "

Indicates the error that occurred while implementing a grouping recommendation.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

Indicates the accepted grouping recommendation whose implementation failed.

" + } + }, "com.amazonaws.resiliencehub#FailurePolicy": { "type": "structure", "members": { @@ -4856,12 +5170,224 @@ "smithy.api#documentation": "

Defines a failure policy.

" } }, - "com.amazonaws.resiliencehub#HaArchitecture": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "MultiSite", + "com.amazonaws.resiliencehub#GroupingAppComponent": { + "type": "structure", + "members": { + "appComponentId": { + "target": "com.amazonaws.resiliencehub#EntityName255", + "traits": { + "smithy.api#documentation": "

Indicates the identifier of an AppComponent.

", + "smithy.api#required": {} + } + }, + "appComponentType": { + "target": "com.amazonaws.resiliencehub#String255", + "traits": { + "smithy.api#documentation": "

Indicates the type of an AppComponent.

", + "smithy.api#required": {} + } + }, + "appComponentName": { + "target": "com.amazonaws.resiliencehub#EntityName255", + "traits": { + "smithy.api#documentation": "

Indicates the name of an AppComponent.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

Creates a new recommended Application Component (AppComponent).

" + } + }, + "com.amazonaws.resiliencehub#GroupingRecommendation": { + "type": "structure", + "members": { + "groupingRecommendationId": { + "target": "com.amazonaws.resiliencehub#String255", + "traits": { + "smithy.api#documentation": "

Indicates all the reasons available for rejecting a grouping recommendation.

", + "smithy.api#required": {} + } + }, + "groupingAppComponent": { + "target": "com.amazonaws.resiliencehub#GroupingAppComponent", + "traits": { + "smithy.api#documentation": "

Indicates the name of the recommended Application Component (AppComponent).

", + "smithy.api#required": {} + } + }, + "resources": { + "target": "com.amazonaws.resiliencehub#GroupingResourceList", + "traits": { + "smithy.api#documentation": "

Indicates the resources that are grouped in a recommended AppComponent.

", + "smithy.api#required": {} + } + }, + "score": { + "target": "com.amazonaws.resiliencehub#Double", + "traits": { + "smithy.api#default": 0, + "smithy.api#documentation": "

Indicates the confidence level of the grouping recommendation.

", + "smithy.api#required": {} + } + }, + "recommendationReasons": { + "target": "com.amazonaws.resiliencehub#String255List", + "traits": { + "smithy.api#documentation": "

Indicates all the reasons available for rejecting a grouping recommendation.

", + "smithy.api#required": {} + } + }, + "status": { + "target": "com.amazonaws.resiliencehub#GroupingRecommendationStatusType", + "traits": { + "smithy.api#documentation": "

Indicates the status of grouping resources into AppComponents.

", + "smithy.api#required": {} + } + }, + "confidenceLevel": { + "target": "com.amazonaws.resiliencehub#GroupingRecommendationConfidenceLevel", + "traits": { + "smithy.api#documentation": "

Indicates the confidence level of Resilience Hub on the grouping recommendation.

", + "smithy.api#required": {} + } + }, + "creationTime": { + "target": "com.amazonaws.resiliencehub#TimeStamp", + "traits": { + "smithy.api#documentation": "

Indicates the creation time of the grouping recommendation.

", + "smithy.api#required": {} + } + }, + "rejectionReason": { + "target": "com.amazonaws.resiliencehub#GroupingRecommendationRejectionReason", + "traits": { + "smithy.api#documentation": "

Indicates the reason you had selected while rejecting a grouping recommendation.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Creates a new grouping recommendation.

" + } + }, + "com.amazonaws.resiliencehub#GroupingRecommendationConfidenceLevel": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "name": "HIGH", + "value": "High" + }, + { + "name": "MEDIUM", + "value": "Medium" + } + ] + } + }, + "com.amazonaws.resiliencehub#GroupingRecommendationList": { + "type": "list", + "member": { + "target": "com.amazonaws.resiliencehub#GroupingRecommendation" + } + }, + "com.amazonaws.resiliencehub#GroupingRecommendationRejectionReason": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "name": "DISTINCT_BUSINESS_PURPOSE", + "value": "DistinctBusinessPurpose" + }, + { + "name": "SEPARATE_DATA_CONCERN", + "value": "SeparateDataConcern" + }, + { + "name": "DISTINCT_USER_GROUP_HANDLING", + "value": "DistinctUserGroupHandling" + }, + { + "name": "OTHER", + "value": "Other" + } + ] + } + }, + "com.amazonaws.resiliencehub#GroupingRecommendationStatusType": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "name": "ACCEPTED", + "value": "Accepted" + }, + { + "name": "REJECTED", + "value": "Rejected" + }, + { + "name": "PENDING_DECISION", + "value": "PendingDecision" + } + ] + } + }, + "com.amazonaws.resiliencehub#GroupingResource": { + "type": "structure", + "members": { + "resourceName": { + "target": "com.amazonaws.resiliencehub#String255", + "traits": { + "smithy.api#documentation": "

Indicates the resource name.

", + "smithy.api#required": {} + } + }, + "resourceType": { + "target": "com.amazonaws.resiliencehub#String255", + "traits": { + "smithy.api#documentation": "

Indicates the resource type.

", + "smithy.api#required": {} + } + }, + "physicalResourceId": { + "target": "com.amazonaws.resiliencehub#PhysicalResourceId", + "traits": { + "smithy.api#documentation": "

Indicates the physical identifier of the resource.

", + "smithy.api#required": {} + } + }, + "logicalResourceId": { + "target": "com.amazonaws.resiliencehub#LogicalResourceId", + "traits": { + "smithy.api#documentation": "

Indicates the logical identifier of the resource.

", + "smithy.api#required": {} + } + }, + "sourceAppComponentIds": { + "target": "com.amazonaws.resiliencehub#String255List", + "traits": { + "smithy.api#documentation": "

Indicates the identifier of the source AppComponents in which the resources were previously grouped into.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

Indicates the resource that will be grouped in the recommended Application Component (AppComponent).

" + } + }, + "com.amazonaws.resiliencehub#GroupingResourceList": { + "type": "list", + "member": { + "target": "com.amazonaws.resiliencehub#GroupingResource" + } + }, + "com.amazonaws.resiliencehub#HaArchitecture": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "MultiSite", "name": "MULTI_SITE" }, { @@ -4939,7 +5465,7 @@ } ], "traits": { - "smithy.api#documentation": "

Imports resources to Resilience Hub application draft version from different input sources. For more information about the input sources supported by Resilience Hub, see Discover\n the structure and describe your Resilience Hub application.

", + "smithy.api#documentation": "

Imports resources to Resilience Hub application draft version from different input\n sources. For more information about the input sources supported by Resilience Hub, see\n Discover the structure and describe your Resilience Hub application.

", "smithy.api#http": { "method": "POST", "uri": "/import-resources-to-draft-app-version", @@ -5016,7 +5542,7 @@ "terraformSources": { "target": "com.amazonaws.resiliencehub#TerraformSourceList", "traits": { - "smithy.api#documentation": "

\n A list of terraform file s3 URLs you have imported.\n

" + "smithy.api#documentation": "

A list of terraform file s3 URLs you have imported.

" } }, "eksSources": { @@ -5118,7 +5644,7 @@ "alarmRecommendations": { "target": "com.amazonaws.resiliencehub#AlarmRecommendationList", "traits": { - "smithy.api#documentation": "

The alarm recommendations for an Resilience Hub application, returned as an object. This\n object includes Application Component names, descriptions, information about whether a\n recommendation has already been implemented or not, prerequisites, and more.

", + "smithy.api#documentation": "

The alarm recommendations for an Resilience Hub application, returned as an\n object. This object includes Application Component names, descriptions, information about whether a\n recommendation has already been implemented or not, prerequisites, and more.

", "smithy.api#required": {} } }, @@ -5179,13 +5705,13 @@ "nextToken": { "target": "com.amazonaws.resiliencehub#NextToken", "traits": { - "smithy.api#documentation": "

Indicates the unique token number of the next application to be checked for compliance and regulatory requirements from the list of applications.

" + "smithy.api#documentation": "

Null, or the token from a previous call to get the next set of results.

" } }, "maxResults": { "target": "com.amazonaws.resiliencehub#MaxResults", "traits": { - "smithy.api#documentation": "

Indicates the maximum number of applications requested.

" + "smithy.api#documentation": "

Indicates the maximum number of compliance drifts requested.

" } } }, @@ -5199,14 +5725,14 @@ "complianceDrifts": { "target": "com.amazonaws.resiliencehub#ComplianceDriftList", "traits": { - "smithy.api#documentation": "

Indicates compliance drifts (recovery time objective (RTO) and recovery point objective (RPO)) detected for an assessed entity.

", + "smithy.api#documentation": "

Indicates compliance drifts (recovery time objective (RTO) and recovery point objective\n (RPO)) detected for an assessed entity.

", "smithy.api#required": {} } }, "nextToken": { "target": "com.amazonaws.resiliencehub#NextToken", "traits": { - "smithy.api#documentation": "

Token number of the next application to be checked for compliance and regulatory requirements from the list of applications.

" + "smithy.api#documentation": "

Null, or the token from a previous call to get the next set of results.

" } } }, @@ -5237,7 +5763,7 @@ } ], "traits": { - "smithy.api#documentation": "

Indicates the list of resource drifts that were detected while running an assessment.

", + "smithy.api#documentation": "

Indicates the list of resource drifts that were detected while running an\n assessment.

", "smithy.api#http": { "method": "POST", "uri": "/list-app-assessment-resource-drifts", @@ -5270,7 +5796,7 @@ "maxResults": { "target": "com.amazonaws.resiliencehub#MaxResults", "traits": { - "smithy.api#documentation": "

Indicates the maximum number of drift results to include in the response. If more results exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved.

" + "smithy.api#documentation": "

Indicates the maximum number of drift results to include in the response. If more results\n exist than the specified MaxResults value, a token is included in the response so\n that the remaining results can be retrieved.

" } } }, @@ -5325,7 +5851,7 @@ } ], "traits": { - "smithy.api#documentation": "

Lists the assessments for an Resilience Hub application. You can use request parameters to\n refine the results for the response object.

", + "smithy.api#documentation": "

Lists the assessments for an Resilience Hub application. You can use request\n parameters to refine the results for the response object.

", "smithy.api#http": { "method": "GET", "uri": "/list-app-assessments", @@ -5487,7 +6013,7 @@ "componentCompliances": { "target": "com.amazonaws.resiliencehub#ComponentCompliancesList", "traits": { - "smithy.api#documentation": "

The compliances for an Resilience Hub Application Component, returned as an object. This\n object contains the names of the Application Components, compliances, costs, resiliency scores, outage scores, and\n more.

", + "smithy.api#documentation": "

The compliances for an Resilience Hub Application Component, returned as an object. This\n object contains the names of the Application Components, compliances, costs, resiliency scores,\n outage scores, and more.

", "smithy.api#required": {} } }, @@ -5568,7 +6094,7 @@ "componentRecommendations": { "target": "com.amazonaws.resiliencehub#ComponentRecommendationList", "traits": { - "smithy.api#documentation": "

The recommendations for an Resilience Hub Application Component, returned as an object. This\n object contains the names of the Application Components, configuration recommendations, and recommendation\n statuses.

", + "smithy.api#documentation": "

The recommendations for an Resilience Hub Application Component, returned as an object.\n This object contains the names of the Application Components, configuration recommendations, and\n recommendation statuses.

", "smithy.api#required": {} } }, @@ -5606,7 +6132,7 @@ } ], "traits": { - "smithy.api#documentation": "

Lists all the input sources of the Resilience Hub application. For more information about the\n input sources supported by Resilience Hub, see Discover\n the structure and describe your Resilience Hub application.

", + "smithy.api#documentation": "

Lists all the input sources of the Resilience Hub application. For more\n information about the input sources supported by Resilience Hub, see Discover\n the structure and describe your Resilience Hub application.

", "smithy.api#http": { "method": "POST", "uri": "/list-app-input-sources", @@ -5645,7 +6171,7 @@ "maxResults": { "target": "com.amazonaws.resiliencehub#MaxResults", "traits": { - "smithy.api#documentation": "

Maximum number of input sources to be displayed per Resilience Hub application.

" + "smithy.api#documentation": "

Maximum number of input sources to be displayed per Resilience Hub\n application.

" } } } @@ -6125,21 +6651,21 @@ "fromLastAssessmentTime": { "target": "com.amazonaws.resiliencehub#TimeStamp", "traits": { - "smithy.api#documentation": "

Indicates the lower limit of the range that is used to filter applications based on their last assessment times.

", + "smithy.api#documentation": "

Indicates the lower limit of the range that is used to filter applications based on their\n last assessment times.

", "smithy.api#httpQuery": "fromLastAssessmentTime" } }, "toLastAssessmentTime": { "target": "com.amazonaws.resiliencehub#TimeStamp", "traits": { - "smithy.api#documentation": "

Indicates the upper limit of the range that is used to filter the applications based on their last assessment times.

", + "smithy.api#documentation": "

Indicates the upper limit of the range that is used to filter the applications based on\n their last assessment times.

", "smithy.api#httpQuery": "toLastAssessmentTime" } }, "reverseOrder": { "target": "com.amazonaws.resiliencehub#BooleanOptional", "traits": { - "smithy.api#documentation": "

The application list is sorted based on the values of lastAppComplianceEvaluationTime field. By default, application list is sorted in ascending order. To sort the appliation list in descending order, set this field to True.

", + "smithy.api#documentation": "

The application list is sorted based on the values of\n lastAppComplianceEvaluationTime field. By default, application list is sorted\n in ascending order. To sort the application list in descending order, set this field to\n True.

", "smithy.api#httpQuery": "reverseOrder" } } @@ -6355,6 +6881,97 @@ } } }, + "com.amazonaws.resiliencehub#ListResourceGroupingRecommendations": { + "type": "operation", + "input": { + "target": "com.amazonaws.resiliencehub#ListResourceGroupingRecommendationsRequest" + }, + "output": { + "target": "com.amazonaws.resiliencehub#ListResourceGroupingRecommendationsResponse" + }, + "errors": [ + { + "target": "com.amazonaws.resiliencehub#AccessDeniedException" + }, + { + "target": "com.amazonaws.resiliencehub#InternalServerException" + }, + { + "target": "com.amazonaws.resiliencehub#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.resiliencehub#ThrottlingException" + }, + { + "target": "com.amazonaws.resiliencehub#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Lists the resource grouping recommendations suggested by Resilience Hub for your application.

", + "smithy.api#http": { + "method": "GET", + "uri": "/list-resource-grouping-recommendations", + "code": 200 + }, + "smithy.api#paginated": { + "inputToken": "nextToken", + "outputToken": "nextToken", + "pageSize": "maxResults", + "items": "groupingRecommendations" + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.resiliencehub#ListResourceGroupingRecommendationsRequest": { + "type": "structure", + "members": { + "appArn": { + "target": "com.amazonaws.resiliencehub#Arn", + "traits": { + "smithy.api#documentation": "

Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: \narn:partition:resiliencehub:region:account:app/app-id. For more information about ARNs, \nsee \n Amazon Resource Names (ARNs) in the \n Amazon Web Services General Reference guide.

", + "smithy.api#httpQuery": "appArn" + } + }, + "nextToken": { + "target": "com.amazonaws.resiliencehub#NextToken", + "traits": { + "smithy.api#documentation": "

Null, or the token from a previous call to get the next set of results.

", + "smithy.api#httpQuery": "nextToken" + } + }, + "maxResults": { + "target": "com.amazonaws.resiliencehub#MaxResults", + "traits": { + "smithy.api#documentation": "

Maximum number of grouping recommendations to be displayed per Resilience Hub application.

", + "smithy.api#httpQuery": "maxResults" + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.resiliencehub#ListResourceGroupingRecommendationsResponse": { + "type": "structure", + "members": { + "groupingRecommendations": { + "target": "com.amazonaws.resiliencehub#GroupingRecommendationList", + "traits": { + "smithy.api#documentation": "

List of resource grouping recommendations generated by Resilience Hub.

", + "smithy.api#required": {} + } + }, + "nextToken": { + "target": "com.amazonaws.resiliencehub#NextToken", + "traits": { + "smithy.api#documentation": "

Null, or the token from a previous call to get the next set of results.

" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.resiliencehub#ListSopRecommendations": { "type": "operation", "input": { @@ -6384,7 +7001,7 @@ } ], "traits": { - "smithy.api#documentation": "

Lists the standard operating procedure (SOP) recommendations for the Resilience Hub\n applications.

", + "smithy.api#documentation": "

Lists the standard operating procedure (SOP) recommendations for the Resilience Hub applications.

", "smithy.api#http": { "method": "POST", "uri": "/list-sop-recommendations", @@ -6465,7 +7082,7 @@ } ], "traits": { - "smithy.api#documentation": "

Lists the suggested resiliency policies for the Resilience Hub applications.

", + "smithy.api#documentation": "

Lists the suggested resiliency policies for the Resilience Hub\n applications.

", "smithy.api#http": { "method": "GET", "uri": "/list-suggested-resiliency-policies", @@ -6688,7 +7305,7 @@ } ], "traits": { - "smithy.api#documentation": "

Lists the resources that are not currently supported in Resilience Hub. An unsupported\n resource is a resource that exists in the object that was used to create an app, but is not\n supported by Resilience Hub.

", + "smithy.api#documentation": "

Lists the resources that are not currently supported in Resilience Hub. An\n unsupported resource is a resource that exists in the object that was used to create an app,\n but is not supported by Resilience Hub.

", "smithy.api#http": { "method": "POST", "uri": "/list-unsupported-app-version-resources", @@ -7102,7 +7719,7 @@ } ], "traits": { - "smithy.api#documentation": "

Adds or updates the app template for an Resilience Hub application draft version.

", + "smithy.api#documentation": "

Adds or updates the app template for an Resilience Hub application draft\n version.

", "smithy.api#http": { "method": "POST", "uri": "/put-draft-app-version-template", @@ -7170,6 +7787,10 @@ { "value": "MetCanImprove", "name": "MET_CAN_IMPROVE" + }, + { + "value": "MissingPolicy", + "name": "MISSING_POLICY" } ] } @@ -7439,6 +8060,117 @@ } } }, + "com.amazonaws.resiliencehub#RejectGroupingRecommendationEntries": { + "type": "list", + "member": { + "target": "com.amazonaws.resiliencehub#RejectGroupingRecommendationEntry" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 30 + } + } + }, + "com.amazonaws.resiliencehub#RejectGroupingRecommendationEntry": { + "type": "structure", + "members": { + "groupingRecommendationId": { + "target": "com.amazonaws.resiliencehub#String255", + "traits": { + "smithy.api#documentation": "

Indicates the identifier of the grouping recommendation.

", + "smithy.api#required": {} + } + }, + "rejectionReason": { + "target": "com.amazonaws.resiliencehub#GroupingRecommendationRejectionReason", + "traits": { + "smithy.api#documentation": "

Indicates the reason you had selected while rejecting a grouping recommendation.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Indicates the rejected grouping recommendation.

" + } + }, + "com.amazonaws.resiliencehub#RejectResourceGroupingRecommendations": { + "type": "operation", + "input": { + "target": "com.amazonaws.resiliencehub#RejectResourceGroupingRecommendationsRequest" + }, + "output": { + "target": "com.amazonaws.resiliencehub#RejectResourceGroupingRecommendationsResponse" + }, + "errors": [ + { + "target": "com.amazonaws.resiliencehub#AccessDeniedException" + }, + { + "target": "com.amazonaws.resiliencehub#InternalServerException" + }, + { + "target": "com.amazonaws.resiliencehub#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.resiliencehub#ThrottlingException" + }, + { + "target": "com.amazonaws.resiliencehub#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Rejects resource grouping recommendations.

", + "smithy.api#http": { + "method": "POST", + "uri": "/reject-resource-grouping-recommendations", + "code": 200 + } + } + }, + "com.amazonaws.resiliencehub#RejectResourceGroupingRecommendationsRequest": { + "type": "structure", + "members": { + "appArn": { + "target": "com.amazonaws.resiliencehub#Arn", + "traits": { + "smithy.api#documentation": "

Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: \narn:partition:resiliencehub:region:account:app/app-id. For more information about ARNs, \nsee \n Amazon Resource Names (ARNs) in the \n Amazon Web Services General Reference guide.

", + "smithy.api#required": {} + } + }, + "entries": { + "target": "com.amazonaws.resiliencehub#RejectGroupingRecommendationEntries", + "traits": { + "smithy.api#documentation": "

Indicates the list of resource grouping recommendations you have selected to exclude from your application.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.resiliencehub#RejectResourceGroupingRecommendationsResponse": { + "type": "structure", + "members": { + "appArn": { + "target": "com.amazonaws.resiliencehub#Arn", + "traits": { + "smithy.api#documentation": "

Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: \narn:partition:resiliencehub:region:account:app/app-id. For more information about ARNs, \nsee \n Amazon Resource Names (ARNs) in the \n Amazon Web Services General Reference guide.

", + "smithy.api#required": {} + } + }, + "failedEntries": { + "target": "com.amazonaws.resiliencehub#FailedGroupingRecommendationEntries", + "traits": { + "smithy.api#documentation": "

Indicates the list of resource grouping recommendations that failed to get excluded in your application.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.resiliencehub#RemoveDraftAppVersionResourceMappings": { "type": "operation", "input": { @@ -7501,7 +8233,7 @@ "appRegistryAppNames": { "target": "com.amazonaws.resiliencehub#EntityNameList", "traits": { - "smithy.api#documentation": "

The names of the registered applications you want to remove from the resource mappings.

" + "smithy.api#documentation": "

The names of the registered applications you want to remove from the resource\n mappings.

" } }, "resourceGroupNames": { @@ -7519,7 +8251,7 @@ "eksSourceNames": { "target": "com.amazonaws.resiliencehub#String255List", "traits": { - "smithy.api#documentation": "

The names of the Amazon Elastic Kubernetes Service clusters and namespaces you want to remove from the resource mappings.

\n \n

This parameter accepts values in \"eks-cluster/namespace\" format.

\n
" + "smithy.api#documentation": "

The names of the Amazon Elastic Kubernetes Service clusters and namespaces you want to remove from\n the resource mappings.

\n \n

This parameter accepts values in \"eks-cluster/namespace\" format.

\n
" } } } @@ -7900,7 +8632,7 @@ "hasMoreErrors": { "target": "com.amazonaws.resiliencehub#BooleanOptional", "traits": { - "smithy.api#documentation": "

This indicates if there are more errors not listed in the resourceErrors list.

" + "smithy.api#documentation": "

This indicates if there are more errors not listed in the\n resourceErrors\n list.

" } } }, @@ -8136,6 +8868,29 @@ "smithy.api#pattern": ".*" } }, + "com.amazonaws.resiliencehub#ResourcesGroupingRecGenStatusType": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "name": "PENDING", + "value": "Pending" + }, + { + "name": "IN_PROGRESS", + "value": "InProgress" + }, + { + "name": "FAILED", + "value": "Failed" + }, + { + "name": "SUCCESS", + "value": "Success" + } + ] + } + }, "com.amazonaws.resiliencehub#RetryAfterSeconds": { "type": "integer" }, @@ -8417,6 +9172,93 @@ } } }, + "com.amazonaws.resiliencehub#StartResourceGroupingRecommendationTask": { + "type": "operation", + "input": { + "target": "com.amazonaws.resiliencehub#StartResourceGroupingRecommendationTaskRequest" + }, + "output": { + "target": "com.amazonaws.resiliencehub#StartResourceGroupingRecommendationTaskResponse" + }, + "errors": [ + { + "target": "com.amazonaws.resiliencehub#AccessDeniedException" + }, + { + "target": "com.amazonaws.resiliencehub#ConflictException" + }, + { + "target": "com.amazonaws.resiliencehub#InternalServerException" + }, + { + "target": "com.amazonaws.resiliencehub#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.resiliencehub#ThrottlingException" + }, + { + "target": "com.amazonaws.resiliencehub#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Starts grouping recommendation task.

", + "smithy.api#http": { + "method": "POST", + "uri": "/start-resource-grouping-recommendation-task", + "code": 200 + } + } + }, + "com.amazonaws.resiliencehub#StartResourceGroupingRecommendationTaskRequest": { + "type": "structure", + "members": { + "appArn": { + "target": "com.amazonaws.resiliencehub#Arn", + "traits": { + "smithy.api#documentation": "

Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: \narn:partition:resiliencehub:region:account:app/app-id. For more information about ARNs, \nsee \n Amazon Resource Names (ARNs) in the \n Amazon Web Services General Reference guide.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.resiliencehub#StartResourceGroupingRecommendationTaskResponse": { + "type": "structure", + "members": { + "appArn": { + "target": "com.amazonaws.resiliencehub#Arn", + "traits": { + "smithy.api#documentation": "

Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: \narn:partition:resiliencehub:region:account:app/app-id. For more information about ARNs, \nsee \n Amazon Resource Names (ARNs) in the \n Amazon Web Services General Reference guide.

", + "smithy.api#required": {} + } + }, + "groupingId": { + "target": "com.amazonaws.resiliencehub#String255", + "traits": { + "smithy.api#documentation": "

Indicates the identifier of the grouping recommendation task.

", + "smithy.api#required": {} + } + }, + "status": { + "target": "com.amazonaws.resiliencehub#ResourcesGroupingRecGenStatusType", + "traits": { + "smithy.api#documentation": "

Status of the action.

", + "smithy.api#required": {} + } + }, + "errorMessage": { + "target": "com.amazonaws.resiliencehub#String500", + "traits": { + "smithy.api#documentation": "

Indicates the error that occurred while executing a grouping recommendation task.

" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.resiliencehub#String1024": { "type": "string", "traits": { @@ -8933,7 +9775,7 @@ "assessmentSchedule": { "target": "com.amazonaws.resiliencehub#AppAssessmentScheduleType", "traits": { - "smithy.api#documentation": "

\n Assessment execution schedule with 'Daily' or 'Disabled' values.\n

" + "smithy.api#documentation": "

Assessment execution schedule with 'Daily' or 'Disabled' values.

" } }, "permissionModel": { @@ -8945,7 +9787,7 @@ "eventSubscriptions": { "target": "com.amazonaws.resiliencehub#EventSubscriptionList", "traits": { - "smithy.api#documentation": "

The list of events you would like to subscribe and get notification for.\n Currently, Resilience Hub supports notifications only for Drift\n detected and Scheduled assessment failure\n events.

" + "smithy.api#documentation": "

The list of events you would like to subscribe and get notification for. Currently,\n Resilience Hub supports notifications only for Drift\n detected and Scheduled assessment failure\n events.

" } } } @@ -8991,7 +9833,7 @@ } ], "traits": { - "smithy.api#documentation": "

Updates the Resilience Hub application version.

\n \n

This API updates the Resilience Hub application draft version. To use this information\n for running resiliency assessments, you must publish the Resilience Hub application using the\n PublishAppVersion API.

\n
", + "smithy.api#documentation": "

Updates the Resilience Hub application version.

\n \n

This API updates the Resilience Hub application draft version. To use this\n information for running resiliency assessments, you must publish the Resilience Hub\n application using the PublishAppVersion API.

\n
", "smithy.api#http": { "method": "POST", "uri": "/update-app-version", @@ -9028,7 +9870,7 @@ } ], "traits": { - "smithy.api#documentation": "

Updates an existing Application Component in the Resilience Hub application.

\n \n

This API updates the Resilience Hub application draft version. To use this Application Component for running assessments, you must publish the Resilience Hub application using the PublishAppVersion API.

\n
", + "smithy.api#documentation": "

Updates an existing Application Component in the Resilience Hub application.

\n \n

This API updates the Resilience Hub application draft version. To use this\n Application Component for running assessments, you must publish the Resilience Hub\n application using the PublishAppVersion API.

\n
", "smithy.api#http": { "method": "POST", "uri": "/update-app-version-app-component", @@ -9148,7 +9990,7 @@ } ], "traits": { - "smithy.api#documentation": "

Updates the resource details in the Resilience Hub application.

\n \n
    \n
  • \n

    This action has no effect outside Resilience Hub.

    \n
  • \n
  • \n

    This API updates the Resilience Hub application draft version. To use this resource for running resiliency assessments, you must publish the Resilience Hub application using the PublishAppVersion API.

    \n
  • \n
  • \n

    To update application version with new physicalResourceID, you must call\n ResolveAppVersionResources API.

    \n
  • \n
\n
", + "smithy.api#documentation": "

Updates the resource details in the Resilience Hub application.

\n \n
    \n
  • \n

    This action has no effect outside Resilience Hub.

    \n
  • \n
  • \n

    This API updates the Resilience Hub application draft version. To use this\n resource for running resiliency assessments, you must publish the Resilience Hub\n application using the PublishAppVersion API.

    \n
  • \n
  • \n

    To update application version with new physicalResourceID, you must\n call ResolveAppVersionResources API.

    \n
  • \n
\n
", "smithy.api#http": { "method": "POST", "uri": "/update-app-version-resource", @@ -9217,7 +10059,7 @@ "excluded": { "target": "com.amazonaws.resiliencehub#BooleanOptional", "traits": { - "smithy.api#documentation": "

Indicates if a resource is excluded from an Resilience Hub application.

\n \n

You can exclude only imported resources from an Resilience Hub application.

\n
" + "smithy.api#documentation": "

Indicates if a resource is excluded from an Resilience Hub application.

\n \n

You can exclude only imported resources from an Resilience Hub\n application.

\n
" } } } @@ -9381,7 +10223,7 @@ } ], "traits": { - "smithy.api#documentation": "

Updates a resiliency policy.

\n \n

Resilience Hub allows you to provide a value of zero for rtoInSecs and\n rpoInSecs of your resiliency policy. But, while assessing your application,\n the lowest possible assessment result is near zero. Hence, if you provide value\n zero for rtoInSecs and rpoInSecs, the estimated workload RTO and\n estimated workload RPO result will be near zero and the Compliance\n status for your application will be set to Policy\n breached.

\n
", + "smithy.api#documentation": "

Updates a resiliency policy.

\n \n

Resilience Hub allows you to provide a value of zero for rtoInSecs\n and rpoInSecs of your resiliency policy. But, while assessing your application,\n the lowest possible assessment result is near zero. Hence, if you provide value zero for\n rtoInSecs and rpoInSecs, the estimated workload RTO and\n estimated workload RPO result will be near zero and the Compliance\n status for your application will be set to Policy\n breached.

\n
", "smithy.api#http": { "method": "POST", "uri": "/update-resiliency-policy", diff --git a/codegen/sdk-codegen/aws-models/route-53.json b/codegen/sdk-codegen/aws-models/route-53.json index 85c14d670f1..ef1d914499a 100644 --- a/codegen/sdk-codegen/aws-models/route-53.json +++ b/codegen/sdk-codegen/aws-models/route-53.json @@ -2175,91 +2175,6 @@ "traits": { "smithy.api#documentation": "

Creates, changes, or deletes a resource record set, which contains authoritative DNS\n\t\t\tinformation for a specified domain name or subdomain name. For example, you can use\n\t\t\t\tChangeResourceRecordSets to create a resource record set that routes\n\t\t\ttraffic for test.example.com to a web server that has an IP address of\n\t\t\t192.0.2.44.

\n

\n Deleting Resource Record Sets\n

\n

To delete a resource record set, you must specify all the same values that you\n\t\t\tspecified when you created it.

\n

\n Change Batches and Transactional Changes\n

\n

The request body must include a document with a\n\t\t\t\tChangeResourceRecordSetsRequest element. The request body contains a\n\t\t\tlist of change items, known as a change batch. Change batches are considered\n\t\t\ttransactional changes. Route 53 validates the changes in the request and then either\n\t\t\tmakes all or none of the changes in the change batch request. This ensures that DNS\n\t\t\trouting isn't adversely affected by partial changes to the resource record sets in a\n\t\t\thosted zone.

\n

For example, suppose a change batch request contains two changes: it deletes the\n\t\t\t\tCNAME resource record set for www.example.com and creates an alias\n\t\t\tresource record set for www.example.com. If validation for both records succeeds, Route\n\t\t\t53 deletes the first resource record set and creates the second resource record set in a\n\t\t\tsingle operation. If validation for either the DELETE or the\n\t\t\t\tCREATE action fails, then the request is canceled, and the original\n\t\t\t\tCNAME record continues to exist.

\n \n

If you try to delete the same resource record set more than once in a single\n\t\t\t\tchange batch, Route 53 returns an InvalidChangeBatch error.

\n
\n

\n Traffic Flow\n

\n

To create resource record sets for complex routing configurations, use either the\n\t\t\ttraffic flow visual editor in the Route 53 console or the API actions for traffic\n\t\t\tpolicies and traffic policy instances. Save the configuration as a traffic policy, then\n\t\t\tassociate the traffic policy with one or more domain names (such as example.com) or\n\t\t\tsubdomain names (such as www.example.com), in the same hosted zone or in multiple hosted\n\t\t\tzones. You can roll back the updates if the new configuration isn't performing as\n\t\t\texpected. For more information, see Using Traffic Flow to Route\n\t\t\t\tDNS Traffic in the Amazon Route 53 Developer\n\t\t\tGuide.

\n

\n Create, Delete, and Upsert\n

\n

Use ChangeResourceRecordsSetsRequest to perform the following\n\t\t\tactions:

\n
    \n
  • \n

    \n CREATE: Creates a resource record set that has the specified\n\t\t\t\t\tvalues.

    \n
  • \n
  • \n

    \n DELETE: Deletes an existing resource record set that has the\n\t\t\t\t\tspecified values.

    \n
  • \n
  • \n

    \n UPSERT: If a resource set doesn't exist, Route 53 creates it. If a resource\n\t\t\t\t\tset exists Route 53 updates it with the values in the request.

    \n
  • \n
\n

\n Syntaxes for Creating, Updating, and Deleting Resource Record\n\t\t\t\tSets\n

\n

The syntax for a request depends on the type of resource record set that you want to\n\t\t\tcreate, delete, or update, such as weighted, alias, or failover. The XML elements in\n\t\t\tyour request must appear in the order listed in the syntax.

\n

For an example for each type of resource record set, see \"Examples.\"

\n

Don't refer to the syntax in the \"Parameter Syntax\" section, which includes\n\t\t\tall of the elements for every kind of resource record set that you can create, delete,\n\t\t\tor update by using ChangeResourceRecordSets.

\n

\n Change Propagation to Route 53 DNS Servers\n

\n

When you submit a ChangeResourceRecordSets request, Route 53 propagates your\n\t\t\tchanges to all of the Route 53 authoritative DNS servers managing the hosted zone. While\n\t\t\tyour changes are propagating, GetChange returns a status of\n\t\t\t\tPENDING. When propagation is complete, GetChange returns a\n\t\t\tstatus of INSYNC. Changes generally propagate to all Route 53 name servers\n\t\t\tmanaging the hosted zone within 60 seconds. For more information, see GetChange.

\n

\n Limits on ChangeResourceRecordSets Requests\n

\n

For information about the limits on a ChangeResourceRecordSets request,\n\t\t\tsee Limits in the Amazon Route 53 Developer Guide.

", "smithy.api#examples": [ - { - "title": "To create a basic resource record set", - "documentation": "The following example creates a resource record set that routes Internet traffic to a resource with an IP address of 192.0.2.44.", - "input": { - "HostedZoneId": "Z3M3LMPEXAMPLE", - "ChangeBatch": { - "Comment": "Web server for example.com", - "Changes": [ - { - "Action": "CREATE", - "ResourceRecordSet": { - "Name": "example.com", - "Type": "A", - "TTL": 60, - "ResourceRecords": [ - { - "Value": "192.0.2.44" - } - ] - } - } - ] - } - }, - "output": { - "ChangeInfo": { - "Comment": "Web server for example.com", - "Id": "/change/C2682N5HXP0BZ4", - "Status": "PENDING", - "SubmittedAt": "2017-02-10T01:36:41.958Z" - } - } - }, - { - "title": "To create weighted resource record sets", - "documentation": "The following example creates two weighted resource record sets. The resource with a Weight of 100 will get 1/3rd of traffic (100/100+200), and the other resource will get the rest of the traffic for example.com.", - "input": { - "HostedZoneId": "Z3M3LMPEXAMPLE", - "ChangeBatch": { - "Comment": "Web servers for example.com", - "Changes": [ - { - "Action": "CREATE", - "ResourceRecordSet": { - "Name": "example.com", - "Type": "A", - "SetIdentifier": "Seattle data center", - "Weight": 100, - "TTL": 60, - "ResourceRecords": [ - { - "Value": "192.0.2.44" - } - ], - "HealthCheckId": "abcdef11-2222-3333-4444-555555fedcba" - } - }, - { - "Action": "CREATE", - "ResourceRecordSet": { - "Name": "example.com", - "Type": "A", - "SetIdentifier": "Portland data center", - "Weight": 200, - "TTL": 60, - "ResourceRecords": [ - { - "Value": "192.0.2.45" - } - ], - "HealthCheckId": "abcdef66-7777-8888-9999-000000fedcba" - } - } - ] - } - }, - "output": { - "ChangeInfo": { - "Comment": "Web servers for example.com", - "Id": "/change/C2682N5HXP0BZ4", - "Status": "PENDING", - "SubmittedAt": "2017-02-10T01:36:41.958Z" - } - } - }, { "title": "To create an alias resource record set", "documentation": "The following example creates an alias resource record set that routes traffic to a CloudFront distribution.", @@ -2293,12 +2208,12 @@ } }, { - "title": "To create weighted alias resource record sets", - "documentation": "The following example creates two weighted alias resource record sets that route traffic to ELB load balancers. The resource with a Weight of 100 will get 1/3rd of traffic (100/100+200), and the other resource will get the rest of the traffic for example.com.", + "title": "To create failover alias resource record sets", + "documentation": "The following example creates primary and secondary failover alias resource record sets that route traffic to ELB load balancers. Traffic is generally routed to the primary resource, in the Ohio region. If that resource is unavailable, traffic is routed to the secondary resource, in the Oregon region.", "input": { "HostedZoneId": "Z3M3LMPEXAMPLE", "ChangeBatch": { - "Comment": "ELB load balancers for example.com", + "Comment": "Failover alias configuration for example.com", "Changes": [ { "Action": "CREATE", @@ -2306,7 +2221,7 @@ "Name": "example.com", "Type": "A", "SetIdentifier": "Ohio region", - "Weight": 100, + "Failover": "PRIMARY", "AliasTarget": { "HostedZoneId": "Z3AADJGX6KTTL2", "DNSName": "example-com-123456789.us-east-2.elb.amazonaws.com ", @@ -2320,7 +2235,7 @@ "Name": "example.com", "Type": "A", "SetIdentifier": "Oregon region", - "Weight": 200, + "Failover": "SECONDARY", "AliasTarget": { "HostedZoneId": "Z1H1FL5HABSF5", "DNSName": "example-com-987654321.us-west-2.elb.amazonaws.com ", @@ -2333,7 +2248,7 @@ }, "output": { "ChangeInfo": { - "Comment": "ELB load balancers for example.com", + "Comment": "Failover alias configuration for example.com", "Id": "/change/C2682N5HXP0BZ4", "Status": "PENDING", "SubmittedAt": "2017-02-10T01:36:41.958Z" @@ -2341,12 +2256,12 @@ } }, { - "title": "To create latency resource record sets", - "documentation": "The following example creates two latency resource record sets that route traffic to EC2 instances. Traffic for example.com is routed either to the Ohio region or the Oregon region, depending on the latency between the user and those regions.", + "title": "To create failover resource record sets", + "documentation": "The following example creates primary and secondary failover resource record sets that route traffic to EC2 instances. Traffic is generally routed to the primary resource, in the Ohio region. If that resource is unavailable, traffic is routed to the secondary resource, in the Oregon region.", "input": { "HostedZoneId": "Z3M3LMPEXAMPLE", "ChangeBatch": { - "Comment": "EC2 instances for example.com", + "Comment": "Failover configuration for example.com", "Changes": [ { "Action": "CREATE", @@ -2354,7 +2269,7 @@ "Name": "example.com", "Type": "A", "SetIdentifier": "Ohio region", - "Region": "us-east-2", + "Failover": "PRIMARY", "TTL": 60, "ResourceRecords": [ { @@ -2370,7 +2285,7 @@ "Name": "example.com", "Type": "A", "SetIdentifier": "Oregon region", - "Region": "us-west-2", + "Failover": "SECONDARY", "TTL": 60, "ResourceRecords": [ { @@ -2385,7 +2300,7 @@ }, "output": { "ChangeInfo": { - "Comment": "EC2 instances for example.com", + "Comment": "Failover configuration for example.com", "Id": "/change/C2682N5HXP0BZ4", "Status": "PENDING", "SubmittedAt": "2017-02-10T01:36:41.958Z" @@ -2393,20 +2308,22 @@ } }, { - "title": "To create latency alias resource record sets", - "documentation": "The following example creates two latency alias resource record sets that route traffic for example.com to ELB load balancers. Requests are routed either to the Ohio region or the Oregon region, depending on the latency between the user and those regions.", + "title": "To create geolocation alias resource record sets", + "documentation": "The following example creates four geolocation alias resource record sets that route traffic to ELB load balancers. Traffic is routed to one of four IP addresses, for North America (NA), for South America (SA), for Europe (EU), and for all other locations (*).", "input": { "HostedZoneId": "Z3M3LMPEXAMPLE", "ChangeBatch": { - "Comment": "ELB load balancers for example.com", + "Comment": "Geolocation alias configuration for example.com", "Changes": [ { "Action": "CREATE", "ResourceRecordSet": { "Name": "example.com", "Type": "A", - "SetIdentifier": "Ohio region", - "Region": "us-east-2", + "SetIdentifier": "North America", + "GeoLocation": { + "ContinentCode": "NA" + }, "AliasTarget": { "HostedZoneId": "Z3AADJGX6KTTL2", "DNSName": "example-com-123456789.us-east-2.elb.amazonaws.com ", @@ -2419,11 +2336,45 @@ "ResourceRecordSet": { "Name": "example.com", "Type": "A", - "SetIdentifier": "Oregon region", - "Region": "us-west-2", + "SetIdentifier": "South America", + "GeoLocation": { + "ContinentCode": "SA" + }, "AliasTarget": { - "HostedZoneId": "Z1H1FL5HABSF5", - "DNSName": "example-com-987654321.us-west-2.elb.amazonaws.com ", + "HostedZoneId": "Z2P70J7HTTTPLU", + "DNSName": "example-com-234567890.sa-east-1.elb.amazonaws.com ", + "EvaluateTargetHealth": true + } + } + }, + { + "Action": "CREATE", + "ResourceRecordSet": { + "Name": "example.com", + "Type": "A", + "SetIdentifier": "Europe", + "GeoLocation": { + "ContinentCode": "EU" + }, + "AliasTarget": { + "HostedZoneId": "Z215JYRZR1TBD5", + "DNSName": "example-com-234567890.eu-central-1.elb.amazonaws.com ", + "EvaluateTargetHealth": true + } + } + }, + { + "Action": "CREATE", + "ResourceRecordSet": { + "Name": "example.com", + "Type": "A", + "SetIdentifier": "Other locations", + "GeoLocation": { + "CountryCode": "*" + }, + "AliasTarget": { + "HostedZoneId": "Z1LMS91P8CMLE5", + "DNSName": "example-com-234567890.ap-southeast-1.elb.amazonaws.com ", "EvaluateTargetHealth": true } } @@ -2433,7 +2384,7 @@ }, "output": { "ChangeInfo": { - "Comment": "ELB load balancers for example.com", + "Comment": "Geolocation alias configuration for example.com", "Id": "/change/C2682N5HXP0BZ4", "Status": "PENDING", "SubmittedAt": "2017-02-10T01:36:41.958Z" @@ -2441,27 +2392,28 @@ } }, { - "title": "To create failover resource record sets", - "documentation": "The following example creates primary and secondary failover resource record sets that route traffic to EC2 instances. Traffic is generally routed to the primary resource, in the Ohio region. If that resource is unavailable, traffic is routed to the secondary resource, in the Oregon region.", + "title": "To create geolocation resource record sets", + "documentation": "The following example creates four geolocation resource record sets that use IPv4 addresses to route traffic to resources such as web servers running on EC2 instances. Traffic is routed to one of four IP addresses, for North America (NA), for South America (SA), for Europe (EU), and for all other locations (*).", "input": { "HostedZoneId": "Z3M3LMPEXAMPLE", "ChangeBatch": { - "Comment": "Failover configuration for example.com", + "Comment": "Geolocation configuration for example.com", "Changes": [ { "Action": "CREATE", "ResourceRecordSet": { "Name": "example.com", "Type": "A", - "SetIdentifier": "Ohio region", - "Failover": "PRIMARY", + "SetIdentifier": "North America", + "GeoLocation": { + "ContinentCode": "NA" + }, "TTL": 60, "ResourceRecords": [ { "Value": "192.0.2.44" } - ], - "HealthCheckId": "abcdef11-2222-3333-4444-555555fedcba" + ] } }, { @@ -2469,15 +2421,50 @@ "ResourceRecordSet": { "Name": "example.com", "Type": "A", - "SetIdentifier": "Oregon region", - "Failover": "SECONDARY", + "SetIdentifier": "South America", + "GeoLocation": { + "ContinentCode": "SA" + }, "TTL": 60, "ResourceRecords": [ { "Value": "192.0.2.45" } - ], - "HealthCheckId": "abcdef66-7777-8888-9999-000000fedcba" + ] + } + }, + { + "Action": "CREATE", + "ResourceRecordSet": { + "Name": "example.com", + "Type": "A", + "SetIdentifier": "Europe", + "GeoLocation": { + "ContinentCode": "EU" + }, + "TTL": 60, + "ResourceRecords": [ + { + "Value": "192.0.2.46" + } + ] + } + }, + { + "Action": "CREATE", + "ResourceRecordSet": { + "Name": "example.com", + "Type": "A", + "SetIdentifier": "Other locations", + "GeoLocation": { + "CountryCode": "*" + }, + "TTL": 60, + "ResourceRecords": [ + { + "Value": "192.0.2.47" + } + ] } } ] @@ -2485,7 +2472,7 @@ }, "output": { "ChangeInfo": { - "Comment": "Failover configuration for example.com", + "Comment": "Geolocation configuration for example.com", "Id": "/change/C2682N5HXP0BZ4", "Status": "PENDING", "SubmittedAt": "2017-02-10T01:36:41.958Z" @@ -2493,12 +2480,12 @@ } }, { - "title": "To create failover alias resource record sets", - "documentation": "The following example creates primary and secondary failover alias resource record sets that route traffic to ELB load balancers. Traffic is generally routed to the primary resource, in the Ohio region. If that resource is unavailable, traffic is routed to the secondary resource, in the Oregon region.", + "title": "To create latency alias resource record sets", + "documentation": "The following example creates two latency alias resource record sets that route traffic for example.com to ELB load balancers. Requests are routed either to the Ohio region or the Oregon region, depending on the latency between the user and those regions.", "input": { "HostedZoneId": "Z3M3LMPEXAMPLE", "ChangeBatch": { - "Comment": "Failover alias configuration for example.com", + "Comment": "ELB load balancers for example.com", "Changes": [ { "Action": "CREATE", @@ -2506,7 +2493,7 @@ "Name": "example.com", "Type": "A", "SetIdentifier": "Ohio region", - "Failover": "PRIMARY", + "Region": "us-east-2", "AliasTarget": { "HostedZoneId": "Z3AADJGX6KTTL2", "DNSName": "example-com-123456789.us-east-2.elb.amazonaws.com ", @@ -2520,7 +2507,7 @@ "Name": "example.com", "Type": "A", "SetIdentifier": "Oregon region", - "Failover": "SECONDARY", + "Region": "us-west-2", "AliasTarget": { "HostedZoneId": "Z1H1FL5HABSF5", "DNSName": "example-com-987654321.us-west-2.elb.amazonaws.com ", @@ -2533,7 +2520,7 @@ }, "output": { "ChangeInfo": { - "Comment": "Failover alias configuration for example.com", + "Comment": "ELB load balancers for example.com", "Id": "/change/C2682N5HXP0BZ4", "Status": "PENDING", "SubmittedAt": "2017-02-10T01:36:41.958Z" @@ -2541,28 +2528,27 @@ } }, { - "title": "To create geolocation resource record sets", - "documentation": "The following example creates four geolocation resource record sets that use IPv4 addresses to route traffic to resources such as web servers running on EC2 instances. Traffic is routed to one of four IP addresses, for North America (NA), for South America (SA), for Europe (EU), and for all other locations (*).", + "title": "To create latency resource record sets", + "documentation": "The following example creates two latency resource record sets that route traffic to EC2 instances. Traffic for example.com is routed either to the Ohio region or the Oregon region, depending on the latency between the user and those regions.", "input": { "HostedZoneId": "Z3M3LMPEXAMPLE", "ChangeBatch": { - "Comment": "Geolocation configuration for example.com", + "Comment": "EC2 instances for example.com", "Changes": [ { "Action": "CREATE", "ResourceRecordSet": { "Name": "example.com", "Type": "A", - "SetIdentifier": "North America", - "GeoLocation": { - "ContinentCode": "NA" - }, + "SetIdentifier": "Ohio region", + "Region": "us-east-2", "TTL": 60, "ResourceRecords": [ { "Value": "192.0.2.44" } - ] + ], + "HealthCheckId": "abcdef11-2222-3333-4444-555555fedcba" } }, { @@ -2570,48 +2556,46 @@ "ResourceRecordSet": { "Name": "example.com", "Type": "A", - "SetIdentifier": "South America", - "GeoLocation": { - "ContinentCode": "SA" - }, + "SetIdentifier": "Oregon region", + "Region": "us-west-2", "TTL": 60, "ResourceRecords": [ { "Value": "192.0.2.45" } - ] + ], + "HealthCheckId": "abcdef66-7777-8888-9999-000000fedcba" } - }, + } + ] + } + }, + "output": { + "ChangeInfo": { + "Comment": "EC2 instances for example.com", + "Id": "/change/C2682N5HXP0BZ4", + "Status": "PENDING", + "SubmittedAt": "2017-02-10T01:36:41.958Z" + } + } + }, + { + "title": "To create a basic resource record set", + "documentation": "The following example creates a resource record set that routes Internet traffic to a resource with an IP address of 192.0.2.44.", + "input": { + "HostedZoneId": "Z3M3LMPEXAMPLE", + "ChangeBatch": { + "Comment": "Web server for example.com", + "Changes": [ { "Action": "CREATE", "ResourceRecordSet": { "Name": "example.com", "Type": "A", - "SetIdentifier": "Europe", - "GeoLocation": { - "ContinentCode": "EU" - }, "TTL": 60, "ResourceRecords": [ { - "Value": "192.0.2.46" - } - ] - } - }, - { - "Action": "CREATE", - "ResourceRecordSet": { - "Name": "example.com", - "Type": "A", - "SetIdentifier": "Other locations", - "GeoLocation": { - "CountryCode": "*" - }, - "TTL": 60, - "ResourceRecords": [ - { - "Value": "192.0.2.47" + "Value": "192.0.2.44" } ] } @@ -2621,7 +2605,7 @@ }, "output": { "ChangeInfo": { - "Comment": "Geolocation configuration for example.com", + "Comment": "Web server for example.com", "Id": "/change/C2682N5HXP0BZ4", "Status": "PENDING", "SubmittedAt": "2017-02-10T01:36:41.958Z" @@ -2629,22 +2613,20 @@ } }, { - "title": "To create geolocation alias resource record sets", - "documentation": "The following example creates four geolocation alias resource record sets that route traffic to ELB load balancers. Traffic is routed to one of four IP addresses, for North America (NA), for South America (SA), for Europe (EU), and for all other locations (*).", + "title": "To create weighted alias resource record sets", + "documentation": "The following example creates two weighted alias resource record sets that route traffic to ELB load balancers. The resource with a Weight of 100 will get 1/3rd of traffic (100/100+200), and the other resource will get the rest of the traffic for example.com.", "input": { "HostedZoneId": "Z3M3LMPEXAMPLE", "ChangeBatch": { - "Comment": "Geolocation alias configuration for example.com", + "Comment": "ELB load balancers for example.com", "Changes": [ { "Action": "CREATE", "ResourceRecordSet": { "Name": "example.com", "Type": "A", - "SetIdentifier": "North America", - "GeoLocation": { - "ContinentCode": "NA" - }, + "SetIdentifier": "Ohio region", + "Weight": 100, "AliasTarget": { "HostedZoneId": "Z3AADJGX6KTTL2", "DNSName": "example-com-123456789.us-east-2.elb.amazonaws.com ", @@ -2657,31 +2639,49 @@ "ResourceRecordSet": { "Name": "example.com", "Type": "A", - "SetIdentifier": "South America", - "GeoLocation": { - "ContinentCode": "SA" - }, + "SetIdentifier": "Oregon region", + "Weight": 200, "AliasTarget": { - "HostedZoneId": "Z2P70J7HTTTPLU", - "DNSName": "example-com-234567890.sa-east-1.elb.amazonaws.com ", + "HostedZoneId": "Z1H1FL5HABSF5", + "DNSName": "example-com-987654321.us-west-2.elb.amazonaws.com ", "EvaluateTargetHealth": true } } - }, + } + ] + } + }, + "output": { + "ChangeInfo": { + "Comment": "ELB load balancers for example.com", + "Id": "/change/C2682N5HXP0BZ4", + "Status": "PENDING", + "SubmittedAt": "2017-02-10T01:36:41.958Z" + } + } + }, + { + "title": "To create weighted resource record sets", + "documentation": "The following example creates two weighted resource record sets. The resource with a Weight of 100 will get 1/3rd of traffic (100/100+200), and the other resource will get the rest of the traffic for example.com.", + "input": { + "HostedZoneId": "Z3M3LMPEXAMPLE", + "ChangeBatch": { + "Comment": "Web servers for example.com", + "Changes": [ { "Action": "CREATE", "ResourceRecordSet": { "Name": "example.com", "Type": "A", - "SetIdentifier": "Europe", - "GeoLocation": { - "ContinentCode": "EU" - }, - "AliasTarget": { - "HostedZoneId": "Z215JYRZR1TBD5", - "DNSName": "example-com-234567890.eu-central-1.elb.amazonaws.com ", - "EvaluateTargetHealth": true - } + "SetIdentifier": "Seattle data center", + "Weight": 100, + "TTL": 60, + "ResourceRecords": [ + { + "Value": "192.0.2.44" + } + ], + "HealthCheckId": "abcdef11-2222-3333-4444-555555fedcba" } }, { @@ -2689,15 +2689,15 @@ "ResourceRecordSet": { "Name": "example.com", "Type": "A", - "SetIdentifier": "Other locations", - "GeoLocation": { - "CountryCode": "*" - }, - "AliasTarget": { - "HostedZoneId": "Z1LMS91P8CMLE5", - "DNSName": "example-com-234567890.ap-southeast-1.elb.amazonaws.com ", - "EvaluateTargetHealth": true - } + "SetIdentifier": "Portland data center", + "Weight": 200, + "TTL": 60, + "ResourceRecords": [ + { + "Value": "192.0.2.45" + } + ], + "HealthCheckId": "abcdef66-7777-8888-9999-000000fedcba" } } ] @@ -2705,7 +2705,7 @@ }, "output": { "ChangeInfo": { - "Comment": "Geolocation alias configuration for example.com", + "Comment": "Web servers for example.com", "Id": "/change/C2682N5HXP0BZ4", "Status": "PENDING", "SubmittedAt": "2017-02-10T01:36:41.958Z" @@ -6383,7 +6383,22 @@ "method": "GET", "uri": "/2013-04-01/hostedzone/{Id}", "code": 200 - } + }, + "smithy.test#smokeTests": [ + { + "id": "GetHostedZoneFailure", + "params": { + "Id": "fake-zone" + }, + "vendorParams": { + "region": "us-east-1" + }, + "vendorParamsShape": "aws.test#AwsVendorParams", + "expect": { + "failure": {} + } + } + ] } }, "com.amazonaws.route53#GetHostedZoneCount": { @@ -8547,7 +8562,20 @@ "outputToken": "NextMarker", "items": "HostedZones", "pageSize": "MaxItems" - } + }, + "smithy.test#smokeTests": [ + { + "id": "ListHostedZonesSuccess", + "params": {}, + "vendorParams": { + "region": "us-east-1" + }, + "vendorParamsShape": "aws.test#AwsVendorParams", + "expect": { + "success": {} + } + } + ] } }, "com.amazonaws.route53#ListHostedZonesByName": { diff --git a/codegen/sdk-codegen/aws-models/ssm.json b/codegen/sdk-codegen/aws-models/ssm.json index 20551d6f775..aa2c5101a31 100644 --- a/codegen/sdk-codegen/aws-models/ssm.json +++ b/codegen/sdk-codegen/aws-models/ssm.json @@ -18147,7 +18147,20 @@ "outputToken": "NextToken", "items": "DocumentIdentifiers", "pageSize": "MaxResults" - } + }, + "smithy.test#smokeTests": [ + { + "id": "ListDocumentsSuccess", + "params": {}, + "vendorParams": { + "region": "us-west-2" + }, + "vendorParamsShape": "aws.test#AwsVendorParams", + "expect": { + "success": {} + } + } + ] } }, "com.amazonaws.ssm#ListDocumentsRequest": { diff --git a/codegen/sdk-codegen/aws-models/waf-regional.json b/codegen/sdk-codegen/aws-models/waf-regional.json index 7e1900e0273..dc6128bc426 100644 --- a/codegen/sdk-codegen/aws-models/waf-regional.json +++ b/codegen/sdk-codegen/aws-models/waf-regional.json @@ -7937,6 +7937,21 @@ ] } } + ], + "smithy.test#smokeTests": [ + { + "id": "ListRulesSuccess", + "params": { + "Limit": 20 + }, + "vendorParams": { + "region": "us-east-1" + }, + "vendorParamsShape": "aws.test#AwsVendorParams", + "expect": { + "success": {} + } + } ] } },