From da5bc417100791b25a18451ae1d35bf3120a7d61 Mon Sep 17 00:00:00 2001 From: awssdkgo Date: Fri, 16 Sep 2022 18:20:51 +0000 Subject: [PATCH] Release v1.44.100 (2022-09-16) === ### Service Client Updates * `service/codestar-notifications`: Updates service API and documentation * `service/ecs`: Updates service documentation * This release supports new task definition sizes. --- CHANGELOG.md | 8 + aws/version.go | 2 +- .../2019-10-15/api-2.json | 32 +++- .../2019-10-15/docs-2.json | 64 ++++---- models/apis/ecs/2014-11-13/docs-2.json | 22 +-- service/codestarnotifications/api.go | 140 +++++++++++------- service/codestarnotifications/doc.go | 8 +- service/codestarnotifications/errors.go | 2 +- service/ecs/api.go | 102 ++++++++----- 9 files changed, 236 insertions(+), 144 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4ce8fe8b40..5505114f43 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,11 @@ +Release v1.44.100 (2022-09-16) +=== + +### Service Client Updates +* `service/codestar-notifications`: Updates service API and documentation +* `service/ecs`: Updates service documentation + * This release supports new task definition sizes. + Release v1.44.99 (2022-09-15) === diff --git a/aws/version.go b/aws/version.go index 517eae5d9e..7922995d07 100644 --- a/aws/version.go +++ b/aws/version.go @@ -5,4 +5,4 @@ package aws const SDKName = "aws-sdk-go" // SDKVersion is the version of this SDK -const SDKVersion = "1.44.99" +const SDKVersion = "1.44.100" diff --git a/models/apis/codestar-notifications/2019-10-15/api-2.json b/models/apis/codestar-notifications/2019-10-15/api-2.json index 49f2bb5365..2de8a566b8 100644 --- a/models/apis/codestar-notifications/2019-10-15/api-2.json +++ b/models/apis/codestar-notifications/2019-10-15/api-2.json @@ -130,7 +130,8 @@ "output":{"shape":"SubscribeResult"}, "errors":[ {"shape":"ValidationException"}, - {"shape":"ResourceNotFoundException"} + {"shape":"ResourceNotFoundException"}, + {"shape":"ConfigurationException"} ] }, "TagResource":{ @@ -143,6 +144,7 @@ "output":{"shape":"TagResourceResult"}, "errors":[ {"shape":"ResourceNotFoundException"}, + {"shape":"LimitExceededException"}, {"shape":"ValidationException"}, {"shape":"ConcurrentModificationException"} ] @@ -163,12 +165,13 @@ "name":"UntagResource", "http":{ "method":"POST", - "requestUri":"/untagResource" + "requestUri":"/untagResource/{resourceArn}" }, "input":{"shape":"UntagResourceRequest"}, "output":{"shape":"UntagResourceResult"}, "errors":[ {"shape":"ResourceNotFoundException"}, + {"shape":"LimitExceededException"}, {"shape":"ValidationException"}, {"shape":"ConcurrentModificationException"} ] @@ -183,7 +186,8 @@ "output":{"shape":"UpdateNotificationRuleResult"}, "errors":[ {"shape":"ValidationException"}, - {"shape":"ResourceNotFoundException"} + {"shape":"ResourceNotFoundException"}, + {"shape":"ConfigurationException"} ] } }, @@ -407,7 +411,10 @@ "TARGET_ADDRESS" ] }, - "ListNotificationRulesFilterValue":{"type":"string"}, + "ListNotificationRulesFilterValue":{ + "type":"string", + "max":2048 + }, "ListNotificationRulesFilters":{ "type":"list", "member":{"shape":"ListNotificationRulesFilter"} @@ -462,7 +469,10 @@ "TARGET_STATUS" ] }, - "ListTargetsFilterValue":{"type":"string"}, + "ListTargetsFilterValue":{ + "type":"string", + "max":2048 + }, "ListTargetsFilters":{ "type":"list", "member":{"shape":"ListTargetsFilter"} @@ -686,8 +696,16 @@ "TagKeys" ], "members":{ - "Arn":{"shape":"NotificationRuleArn"}, - "TagKeys":{"shape":"TagKeys"} + "Arn":{ + "shape":"NotificationRuleArn", + "location":"uri", + "locationName":"resourceArn" + }, + "TagKeys":{ + "shape":"TagKeys", + "location":"querystring", + "locationName":"tagKeys" + } } }, "UntagResourceResult":{ diff --git a/models/apis/codestar-notifications/2019-10-15/docs-2.json b/models/apis/codestar-notifications/2019-10-15/docs-2.json index 9bc1ee285a..2108df0854 100644 --- a/models/apis/codestar-notifications/2019-10-15/docs-2.json +++ b/models/apis/codestar-notifications/2019-10-15/docs-2.json @@ -1,18 +1,18 @@ { "version": "2.0", - "service": "

This AWS CodeStar Notifications API Reference provides descriptions and usage examples of the operations and data types for the AWS CodeStar Notifications API. You can use the AWS CodeStar Notifications API to work with the following objects:

Notification rules, by calling the following:

Targets, by calling the following:

Events, by calling the following:

Tags, by calling the following:

For information about how to use AWS CodeStar Notifications, see link in the CodeStarNotifications User Guide.

", + "service": "

This AWS CodeStar Notifications API Reference provides descriptions and usage examples of the operations and data types for the AWS CodeStar Notifications API. You can use the AWS CodeStar Notifications API to work with the following objects:

Notification rules, by calling the following:

Targets, by calling the following:

Events, by calling the following:

Tags, by calling the following:

For information about how to use AWS CodeStar Notifications, see the Amazon Web Services Developer Tools Console User Guide.

", "operations": { - "CreateNotificationRule": "

Creates a notification rule for a resource. The rule specifies the events you want notifications about and the targets (such as SNS topics) where you want to receive them.

", + "CreateNotificationRule": "

Creates a notification rule for a resource. The rule specifies the events you want notifications about and the targets (such as Chatbot topics or Chatbot clients configured for Slack) where you want to receive them.

", "DeleteNotificationRule": "

Deletes a notification rule for a resource.

", "DeleteTarget": "

Deletes a specified target for notifications.

", "DescribeNotificationRule": "

Returns information about a specified notification rule.

", "ListEventTypes": "

Returns information about the event types available for configuring notifications.

", - "ListNotificationRules": "

Returns a list of the notification rules for an AWS account.

", + "ListNotificationRules": "

Returns a list of the notification rules for an Amazon Web Services account.

", "ListTagsForResource": "

Returns a list of the tags associated with a notification rule.

", - "ListTargets": "

Returns a list of the notification rule targets for an AWS account.

", - "Subscribe": "

Creates an association between a notification rule and an SNS topic so that the associated target can receive notifications when the events described in the rule are triggered.

", + "ListTargets": "

Returns a list of the notification rule targets for an Amazon Web Services account.

", + "Subscribe": "

Creates an association between a notification rule and an Chatbot topic or Chatbot client so that the associated target can receive notifications when the events described in the rule are triggered.

", "TagResource": "

Associates a set of provided tags with a notification rule.

", - "Unsubscribe": "

Removes an association between a notification rule and an Amazon SNS topic so that subscribers to that topic stop receiving notifications when the events described in the rule are triggered.

", + "Unsubscribe": "

Removes an association between a notification rule and an Chatbot topic so that subscribers to that topic stop receiving notifications when the events described in the rule are triggered.

", "UntagResource": "

Removes the association between one or more provided tags and a notification rule.

", "UpdateNotificationRule": "

Updates a notification rule for a resource. You can change the events that trigger the notification rule, the status of the rule, and the targets that receive the notifications.

To add or remove tags for a notification rule, you must use TagResource and UntagResource.

" }, @@ -25,7 +25,7 @@ "ClientRequestToken": { "base": null, "refs": { - "CreateNotificationRuleRequest$ClientRequestToken": "

A unique, client-generated idempotency token that, when provided in a request, ensures the request cannot be repeated with a changed parameter. If a request with the same parameters is received and a token is included, the request returns information about the initial request that used that token.

The AWS SDKs prepopulate client request tokens. If you are using an AWS SDK, an idempotency token is created for you.

", + "CreateNotificationRuleRequest$ClientRequestToken": "

A unique, client-generated idempotency token that, when provided in a request, ensures the request cannot be repeated with a changed parameter. If a request with the same parameters is received and a token is included, the request returns information about the initial request that used that token.

The Amazon Web Services SDKs prepopulate client request tokens. If you are using an Amazon Web Services SDK, an idempotency token is created for you.

", "SubscribeRequest$ClientRequestToken": "

An enumeration token that, when provided in a request, returns the next batch of the results.

" } }, @@ -88,9 +88,9 @@ "DetailType": { "base": null, "refs": { - "CreateNotificationRuleRequest$DetailType": "

The level of detail to include in the notifications for this resource. BASIC will include only the contents of the event as it would appear in AWS CloudWatch. FULL will include any supplemental information provided by AWS CodeStar Notifications and/or the service for the resource for which the notification is created.

", - "DescribeNotificationRuleResult$DetailType": "

The level of detail included in the notifications for this resource. BASIC will include only the contents of the event as it would appear in AWS CloudWatch. FULL will include any supplemental information provided by AWS CodeStar Notifications and/or the service for the resource for which the notification is created.

", - "UpdateNotificationRuleRequest$DetailType": "

The level of detail to include in the notifications for this resource. BASIC will include only the contents of the event as it would appear in AWS CloudWatch. FULL will include any supplemental information provided by AWS CodeStar Notifications and/or the service for the resource for which the notification is created.

" + "CreateNotificationRuleRequest$DetailType": "

The level of detail to include in the notifications for this resource. BASIC will include only the contents of the event as it would appear in Amazon CloudWatch. FULL will include any supplemental information provided by AWS CodeStar Notifications and/or the service for the resource for which the notification is created.

", + "DescribeNotificationRuleResult$DetailType": "

The level of detail included in the notifications for this resource. BASIC will include only the contents of the event as it would appear in Amazon CloudWatch. FULL will include any supplemental information provided by AWS CodeStar Notifications and/or the service for the resource for which the notification is created.

", + "UpdateNotificationRuleRequest$DetailType": "

The level of detail to include in the notifications for this resource. BASIC will include only the contents of the event as it would appear in Amazon CloudWatch. FULL will include any supplemental information provided by AWS CodeStar Notifications and/or the service for the resource for which the notification is created.

" } }, "EventTypeBatch": { @@ -104,14 +104,14 @@ "base": null, "refs": { "EventTypeIds$member": null, - "EventTypeSummary$EventTypeId": "

The system-generated ID of the event.

" + "EventTypeSummary$EventTypeId": "

The system-generated ID of the event. For a complete list of event types and IDs, see Notification concepts in the Developer Tools Console User Guide.

" } }, "EventTypeIds": { "base": null, "refs": { "CreateNotificationRuleRequest$EventTypeIds": "

A list of event types associated with this notification rule. For a list of allowed events, see EventTypeSummary.

", - "UpdateNotificationRuleRequest$EventTypeIds": "

A list of event types associated with this notification rule.

" + "UpdateNotificationRuleRequest$EventTypeIds": "

A list of event types associated with this notification rule. For a complete list of event types and IDs, see Notification concepts in the Developer Tools Console User Guide.

" } }, "EventTypeName": { @@ -129,7 +129,7 @@ "ForceUnsubscribeAll": { "base": null, "refs": { - "DeleteTargetRequest$ForceUnsubscribeAll": "

A Boolean value that can be used to delete all associations with this SNS topic. The default value is FALSE. If set to TRUE, all associations between that target and every notification rule in your AWS account are deleted.

" + "DeleteTargetRequest$ForceUnsubscribeAll": "

A Boolean value that can be used to delete all associations with this Chatbot topic. The default value is FALSE. If set to TRUE, all associations between that target and every notification rule in your Amazon Web Services account are deleted.

" } }, "InvalidNextTokenException": { @@ -197,7 +197,7 @@ "ListNotificationRulesFilterValue": { "base": null, "refs": { - "ListNotificationRulesFilter$Value": "

The value of the attribute you want to use to filter the returned notification rules. For example, if you specify filtering by RESOURCE in Name, you might specify the ARN of a pipeline in AWS CodePipeline for the value.

" + "ListNotificationRulesFilter$Value": "

The value of the attribute you want to use to filter the returned notification rules. For example, if you specify filtering by RESOURCE in Name, you might specify the ARN of a pipeline in CodePipeline for the value.

" } }, "ListNotificationRulesFilters": { @@ -227,7 +227,7 @@ } }, "ListTargetsFilter": { - "base": "

Information about a filter to apply to the list of returned targets. You can filter by target type, address, or status. For example, to filter results to notification rules that have active Amazon SNS topics as targets, you could specify a ListTargetsFilter Name as TargetType and a Value of SNS, and a Name of TARGET_STATUS and a Value of ACTIVE.

", + "base": "

Information about a filter to apply to the list of returned targets. You can filter by target type, address, or status. For example, to filter results to notification rules that have active Chatbot topics as targets, you could specify a ListTargetsFilter Name as TargetType and a Value of SNS, and a Name of TARGET_STATUS and a Value of ACTIVE.

", "refs": { "ListTargetsFilters$member": null } @@ -241,7 +241,7 @@ "ListTargetsFilterValue": { "base": null, "refs": { - "ListTargetsFilter$Value": "

The value of the attribute you want to use to filter the returned targets. For example, if you specify SNS for the Target type, you could specify an Amazon Resource Name (ARN) for a topic as the value.

" + "ListTargetsFilter$Value": "

The value of the attribute you want to use to filter the returned targets. For example, if you specify SNS for the Target type, you could specify an Amazon Resource Name (ARN) for a topic as the value.

" } }, "ListTargetsFilters": { @@ -314,7 +314,7 @@ "NotificationRuleBatch": { "base": null, "refs": { - "ListNotificationRulesResult$NotificationRules": "

The list of notification rules for the AWS account, by Amazon Resource Name (ARN) and ID.

" + "ListNotificationRulesResult$NotificationRules": "

The list of notification rules for the Amazon Web Services account, by Amazon Resource Name (ARN) and ID.

" } }, "NotificationRuleCreatedBy": { @@ -332,7 +332,7 @@ "NotificationRuleName": { "base": null, "refs": { - "CreateNotificationRuleRequest$Name": "

The name for the notification rule. Notifictaion rule names must be unique in your AWS account.

", + "CreateNotificationRuleRequest$Name": "

The name for the notification rule. Notification rule names must be unique in your Amazon Web Services account.

", "DescribeNotificationRuleResult$Name": "

The name of the notification rule.

", "UpdateNotificationRuleRequest$Name": "

The name of the notification rule.

" } @@ -340,14 +340,14 @@ "NotificationRuleResource": { "base": null, "refs": { - "CreateNotificationRuleRequest$Resource": "

The Amazon Resource Name (ARN) of the resource to associate with the notification rule. Supported resources include pipelines in AWS CodePipeline, repositories in AWS CodeCommit, and build projects in AWS CodeBuild.

", + "CreateNotificationRuleRequest$Resource": "

The Amazon Resource Name (ARN) of the resource to associate with the notification rule. Supported resources include pipelines in CodePipeline, repositories in CodeCommit, and build projects in CodeBuild.

", "DescribeNotificationRuleResult$Resource": "

The Amazon Resource Name (ARN) of the resource associated with the notification rule.

" } }, "NotificationRuleStatus": { "base": null, "refs": { - "CreateNotificationRuleRequest$Status": "

The status of the notification rule. The default value is ENABLED. If the status is set to DISABLED, notifications aren't sent for the notification rule.

", + "CreateNotificationRuleRequest$Status": "

The status of the notification rule. The default value is ENABLED. If the status is set to DISABLED, notifications aren't sent for the notification rule.

", "DescribeNotificationRuleResult$Status": "

The status of the notification rule. Valid statuses are on (sending notifications) or off (not sending notifications).

", "UpdateNotificationRuleRequest$Status": "

The status of the notification rule. Valid statuses include enabled (sending notifications) or disabled (not sending notifications).

" } @@ -359,7 +359,7 @@ } }, "ResourceAlreadyExistsException": { - "base": "

A resource with the same name or ID already exists. Notification rule names must be unique in your AWS account.

", + "base": "

A resource with the same name or ID already exists. Notification rule names must be unique in your Amazon Web Services account.

", "refs": { } }, @@ -422,15 +422,15 @@ "Tags": { "base": null, "refs": { - "CreateNotificationRuleRequest$Tags": "

A list of tags to apply to this notification rule. Key names cannot start with \"aws\".

", + "CreateNotificationRuleRequest$Tags": "

A list of tags to apply to this notification rule. Key names cannot start with \"aws\".

", "DescribeNotificationRuleResult$Tags": "

The tags associated with the notification rule.

", "ListTagsForResourceResult$Tags": "

The tags associated with the notification rule.

", - "TagResourceRequest$Tags": "

The list of tags to associate with the resource. Tag key names cannot start with \"aws\".

", + "TagResourceRequest$Tags": "

The list of tags to associate with the resource. Tag key names cannot start with \"aws\".

", "TagResourceResult$Tags": "

The list of tags associated with the resource.

" } }, "Target": { - "base": "

Information about the SNS topics associated with a notification rule.

", + "base": "

Information about the Chatbot topics or Chatbot clients associated with a notification rule.

", "refs": { "SubscribeRequest$Target": null, "Targets$member": null @@ -439,10 +439,10 @@ "TargetAddress": { "base": null, "refs": { - "DeleteTargetRequest$TargetAddress": "

The Amazon Resource Name (ARN) of the SNS topic to delete.

", - "Target$TargetAddress": "

The Amazon Resource Name (ARN) of the SNS topic.

", - "TargetSummary$TargetAddress": "

The Amazon Resource Name (ARN) of the SNS topic.

", - "UnsubscribeRequest$TargetAddress": "

The ARN of the SNS topic to unsubscribe from the notification rule.

" + "DeleteTargetRequest$TargetAddress": "

The Amazon Resource Name (ARN) of the Chatbot topic or Chatbot client to delete.

", + "Target$TargetAddress": "

The Amazon Resource Name (ARN) of the Chatbot topic or Chatbot client.

", + "TargetSummary$TargetAddress": "

The Amazon Resource Name (ARN) of the Chatbot topic or Chatbot client.

", + "UnsubscribeRequest$TargetAddress": "

The ARN of the Chatbot topic to unsubscribe from the notification rule.

" } }, "TargetStatus": { @@ -460,21 +460,21 @@ "TargetType": { "base": null, "refs": { - "Target$TargetType": "

The target type. Can be an Amazon SNS topic.

", - "TargetSummary$TargetType": "

The type of the target (for example, SNS).

" + "Target$TargetType": "

The target type. Can be an Chatbot topic or Chatbot client.

", + "TargetSummary$TargetType": "

The type of the target (for example, SNS).

" } }, "Targets": { "base": null, "refs": { - "CreateNotificationRuleRequest$Targets": "

A list of Amazon Resource Names (ARNs) of SNS topics to associate with the notification rule.

", + "CreateNotificationRuleRequest$Targets": "

A list of Amazon Resource Names (ARNs) of Amazon Simple Notification Service topics and Chatbot clients to associate with the notification rule.

", "UpdateNotificationRuleRequest$Targets": "

The address and type of the targets to receive notifications from this notification rule.

" } }, "TargetsBatch": { "base": null, "refs": { - "DescribeNotificationRuleResult$Targets": "

A list of the SNS topics associated with the notification rule.

", + "DescribeNotificationRuleResult$Targets": "

A list of the Chatbot topics and Chatbot clients associated with the notification rule.

", "ListTargetsResult$Targets": "

The list of notification rule targets.

" } }, diff --git a/models/apis/ecs/2014-11-13/docs-2.json b/models/apis/ecs/2014-11-13/docs-2.json index 300002dfdd..2ad485d55d 100644 --- a/models/apis/ecs/2014-11-13/docs-2.json +++ b/models/apis/ecs/2014-11-13/docs-2.json @@ -4,7 +4,7 @@ "operations": { "CreateCapacityProvider": "

Creates a new capacity provider. Capacity providers are associated with an Amazon ECS cluster and are used in capacity provider strategies to facilitate cluster auto scaling.

Only capacity providers that use an Auto Scaling group can be created. Amazon ECS tasks on Fargate use the FARGATE and FARGATE_SPOT capacity providers. These providers are available to all accounts in the Amazon Web Services Regions that Fargate supports.

", "CreateCluster": "

Creates a new Amazon ECS cluster. By default, your account receives a default cluster when you launch your first container instance. However, you can create your own cluster with a unique name with the CreateCluster action.

When you call the CreateCluster API operation, Amazon ECS attempts to create the Amazon ECS service-linked role for your account. This is so that it can manage required resources in other Amazon Web Services services on your behalf. However, if the IAM user that makes the call doesn't have permissions to create the service-linked role, it isn't created. For more information, see Using service-linked roles for Amazon ECS in the Amazon Elastic Container Service Developer Guide.

", - "CreateService": "

Runs and maintains your desired number of tasks from a specified task definition. If the number of tasks running in a service drops below the desiredCount, Amazon ECS runs another copy of the task in the specified cluster. To update an existing service, see the UpdateService action.

In addition to maintaining the desired count of tasks in your service, you can optionally run your service behind one or more load balancers. The load balancers distribute traffic across the tasks that are associated with the service. For more information, see Service load balancing in the Amazon Elastic Container Service Developer Guide.

Tasks for services that don't use a load balancer are considered healthy if they're in the RUNNING state. Tasks for services that use a load balancer are considered healthy if they're in the RUNNING state and are reported as healthy by the load balancer.

There are two service scheduler strategies available:

You can optionally specify a deployment configuration for your service. The deployment is initiated by changing properties. For example, the deployment might be initiated by the task definition or by your desired count of a service. This is done with an UpdateService operation. The default value for a replica service for minimumHealthyPercent is 100%. The default value for a daemon service for minimumHealthyPercent is 0%.

If a service uses the ECS deployment controller, the minimum healthy percent represents a lower limit on the number of tasks in a service that must remain in the RUNNING state during a deployment. Specifically, it represents it as a percentage of your desired number of tasks (rounded up to the nearest integer). This happens when any of your container instances are in the DRAINING state if the service contains tasks using the EC2 launch type. Using this parameter, you can deploy without using additional cluster capacity. For example, if you set your service to have desired number of four tasks and a minimum healthy percent of 50%, the scheduler might stop two existing tasks to free up cluster capacity before starting two new tasks. If they're in the RUNNING state, tasks for services that don't use a load balancer are considered healthy . If they're in the RUNNING state and reported as healthy by the load balancer, tasks for services that do use a load balancer are considered healthy . The default value for minimum healthy percent is 100%.

If a service uses the ECS deployment controller, the maximum percent parameter represents an upper limit on the number of tasks in a service that are allowed in the RUNNING or PENDING state during a deployment. Specifically, it represents it as a percentage of the desired number of tasks (rounded down to the nearest integer). This happens when any of your container instances are in the DRAINING state if the service contains tasks using the EC2 launch type. Using this parameter, you can define the deployment batch size. For example, if your service has a desired number of four tasks and a maximum percent value of 200%, the scheduler may start four new tasks before stopping the four older tasks (provided that the cluster resources required to do this are available). The default value for maximum percent is 200%.

If a service uses either the CODE_DEPLOY or EXTERNAL deployment controller types and tasks that use the EC2 launch type, the minimum healthy percent and maximum percent values are used only to define the lower and upper limit on the number of the tasks in the service that remain in the RUNNING state. This is while the container instances are in the DRAINING state. If the tasks in the service use the Fargate launch type, the minimum healthy percent and maximum percent values aren't used. This is the case even if they're currently visible when describing your service.

When creating a service that uses the EXTERNAL deployment controller, you can specify only parameters that aren't controlled at the task set level. The only required parameter is the service name. You control your services using the CreateTaskSet operation. For more information, see Amazon ECS deployment types in the Amazon Elastic Container Service Developer Guide.

When the service scheduler launches new tasks, it determines task placement in your cluster using the following logic:

", + "CreateService": "

Runs and maintains your desired number of tasks from a specified task definition. If the number of tasks running in a service drops below the desiredCount, Amazon ECS runs another copy of the task in the specified cluster. To update an existing service, see the UpdateService action.

In addition to maintaining the desired count of tasks in your service, you can optionally run your service behind one or more load balancers. The load balancers distribute traffic across the tasks that are associated with the service. For more information, see Service load balancing in the Amazon Elastic Container Service Developer Guide.

Tasks for services that don't use a load balancer are considered healthy if they're in the RUNNING state. Tasks for services that use a load balancer are considered healthy if they're in the RUNNING state and are reported as healthy by the load balancer.

There are two service scheduler strategies available:

You can optionally specify a deployment configuration for your service. The deployment is initiated by changing properties. For example, the deployment might be initiated by the task definition or by your desired count of a service. This is done with an UpdateService operation. The default value for a replica service for minimumHealthyPercent is 100%. The default value for a daemon service for minimumHealthyPercent is 0%.

If a service uses the ECS deployment controller, the minimum healthy percent represents a lower limit on the number of tasks in a service that must remain in the RUNNING state during a deployment. Specifically, it represents it as a percentage of your desired number of tasks (rounded up to the nearest integer). This happens when any of your container instances are in the DRAINING state if the service contains tasks using the EC2 launch type. Using this parameter, you can deploy without using additional cluster capacity. For example, if you set your service to have desired number of four tasks and a minimum healthy percent of 50%, the scheduler might stop two existing tasks to free up cluster capacity before starting two new tasks. If they're in the RUNNING state, tasks for services that don't use a load balancer are considered healthy . If they're in the RUNNING state and reported as healthy by the load balancer, tasks for services that do use a load balancer are considered healthy . The default value for minimum healthy percent is 100%.

If a service uses the ECS deployment controller, the maximum percent parameter represents an upper limit on the number of tasks in a service that are allowed in the RUNNING or PENDING state during a deployment. Specifically, it represents it as a percentage of the desired number of tasks (rounded down to the nearest integer). This happens when any of your container instances are in the DRAINING state if the service contains tasks using the EC2 launch type. Using this parameter, you can define the deployment batch size. For example, if your service has a desired number of four tasks and a maximum percent value of 200%, the scheduler may start four new tasks before stopping the four older tasks (provided that the cluster resources required to do this are available). The default value for maximum percent is 200%.

If a service uses either the CODE_DEPLOY or EXTERNAL deployment controller types and tasks that use the EC2 launch type, the minimum healthy percent and maximum percent values are used only to define the lower and upper limit on the number of the tasks in the service that remain in the RUNNING state. This is while the container instances are in the DRAINING state. If the tasks in the service use the Fargate launch type, the minimum healthy percent and maximum percent values aren't used. This is the case even if they're currently visible when describing your service.

When creating a service that uses the EXTERNAL deployment controller, you can specify only parameters that aren't controlled at the task set level. The only required parameter is the service name. You control your services using the CreateTaskSet operation. For more information, see Amazon ECS deployment types in the Amazon Elastic Container Service Developer Guide.

When the service scheduler launches new tasks, it determines task placement. For information about task placement and task placement strategies, see Amazon ECS task placement in the Amazon Elastic Container Service Developer Guide.

", "CreateTaskSet": "

Create a task set in the specified cluster and service. This is used when a service uses the EXTERNAL deployment controller type. For more information, see Amazon ECS deployment types in the Amazon Elastic Container Service Developer Guide.

", "DeleteAccountSetting": "

Disables an account setting for a specified IAM user, IAM role, or the root user for an account.

", "DeleteAttributes": "

Deletes one or more custom attributes from an Amazon ECS resource.

", @@ -203,7 +203,7 @@ "refs": { "Container$exitCode": "

The exit code returned from the container.

", "ContainerDefinition$memory": "

The amount (in MiB) of memory to present to the container. If your container attempts to exceed the memory specified here, the container is killed. The total amount of memory reserved for all containers within a task must be lower than the task memory value, if one is specified. This parameter maps to Memory in the Create a container section of the Docker Remote API and the --memory option to docker run.

If using the Fargate launch type, this parameter is optional.

If using the EC2 launch type, you must specify either a task-level memory value or a container-level memory value. If you specify both a container-level memory and memoryReservation value, memory must be greater than memoryReservation. If you specify memoryReservation, then that value is subtracted from the available memory resources for the container instance where the container is placed. Otherwise, the value of memory is used.

The Docker 20.10.0 or later daemon reserves a minimum of 6 MiB of memory for a container. So, don't specify less than 6 MiB of memory for your containers.

The Docker 19.03.13-ce or earlier daemon reserves a minimum of 4 MiB of memory for a container. So, don't specify less than 4 MiB of memory for your containers.

", - "ContainerDefinition$memoryReservation": "

The soft limit (in MiB) of memory to reserve for the container. When system memory is under heavy contention, Docker attempts to keep the container memory to this soft limit. However, your container can consume more memory when it needs to, up to either the hard limit specified with the memory parameter (if applicable), or all of the available memory on the container instance, whichever comes first. This parameter maps to MemoryReservation in the Create a container section of the Docker Remote API and the --memory-reservation option to docker run.

If a task-level memory value is not specified, you must specify a non-zero integer for one or both of memory or memoryReservation in a container definition. If you specify both, memory must be greater than memoryReservation. If you specify memoryReservation, then that value is subtracted from the available memory resources for the container instance where the container is placed. Otherwise, the value of memory is used.

For example, if your container normally uses 128 MiB of memory, but occasionally bursts to 256 MiB of memory for short periods of time, you can set a memoryReservation of 128 MiB, and a memory hard limit of 300 MiB. This configuration would allow the container to only reserve 128 MiB of memory from the remaining resources on the container instance, but also allow the container to consume more memory resources when needed.

The Docker daemon reserves a minimum of 4 MiB of memory for a container. Therefore, we recommend that you specify fewer than 4 MiB of memory for your containers.

", + "ContainerDefinition$memoryReservation": "

The soft limit (in MiB) of memory to reserve for the container. When system memory is under heavy contention, Docker attempts to keep the container memory to this soft limit. However, your container can consume more memory when it needs to, up to either the hard limit specified with the memory parameter (if applicable), or all of the available memory on the container instance, whichever comes first. This parameter maps to MemoryReservation in the Create a container section of the Docker Remote API and the --memory-reservation option to docker run.

If a task-level memory value is not specified, you must specify a non-zero integer for one or both of memory or memoryReservation in a container definition. If you specify both, memory must be greater than memoryReservation. If you specify memoryReservation, then that value is subtracted from the available memory resources for the container instance where the container is placed. Otherwise, the value of memory is used.

For example, if your container normally uses 128 MiB of memory, but occasionally bursts to 256 MiB of memory for short periods of time, you can set a memoryReservation of 128 MiB, and a memory hard limit of 300 MiB. This configuration would allow the container to only reserve 128 MiB of memory from the remaining resources on the container instance, but also allow the container to consume more memory resources when needed.

The Docker 20.10.0 or later daemon reserves a minimum of 6 MiB of memory for a container. So, don't specify less than 6 MiB of memory for your containers.

The Docker 19.03.13-ce or earlier daemon reserves a minimum of 4 MiB of memory for a container. So, don't specify less than 4 MiB of memory for your containers.

", "ContainerDefinition$startTimeout": "

Time duration (in seconds) to wait before giving up on resolving dependencies for a container. For example, you specify two containers in a task definition with containerA having a dependency on containerB reaching a COMPLETE, SUCCESS, or HEALTHY status. If a startTimeout value is specified for containerB and it doesn't reach the desired status within that time then containerA gives up and not start. This results in the task transitioning to a STOPPED state.

When the ECS_CONTAINER_START_TIMEOUT container agent configuration variable is used, it's enforced independently from this start timeout value.

For tasks using the Fargate launch type, the task or service requires the following platforms:

For tasks using the EC2 launch type, your container instances require at least version 1.26.0 of the container agent to use a container start timeout value. However, we recommend using the latest container agent version. For information about checking your agent version and updating to the latest version, see Updating the Amazon ECS Container Agent in the Amazon Elastic Container Service Developer Guide. If you're using an Amazon ECS-optimized Linux AMI, your instance needs at least version 1.26.0-1 of the ecs-init package. If your container instances are launched from version 20190301 or later, then they contain the required versions of the container agent and ecs-init. For more information, see Amazon ECS-optimized Linux AMI in the Amazon Elastic Container Service Developer Guide.

", "ContainerDefinition$stopTimeout": "

Time duration (in seconds) to wait before the container is forcefully killed if it doesn't exit normally on its own.

For tasks using the Fargate launch type, the task or service requires the following platforms:

The max stop timeout value is 120 seconds and if the parameter is not specified, the default value of 30 seconds is used.

For tasks that use the EC2 launch type, if the stopTimeout parameter isn't specified, the value set for the Amazon ECS container agent configuration variable ECS_CONTAINER_STOP_TIMEOUT is used. If neither the stopTimeout parameter or the ECS_CONTAINER_STOP_TIMEOUT agent configuration variable are set, then the default values of 30 seconds for Linux containers and 30 seconds on Windows containers are used. Your container instances require at least version 1.26.0 of the container agent to use a container stop timeout value. However, we recommend using the latest container agent version. For information about checking your agent version and updating to the latest version, see Updating the Amazon ECS Container Agent in the Amazon Elastic Container Service Developer Guide. If you're using an Amazon ECS-optimized Linux AMI, your instance needs at least version 1.26.0-1 of the ecs-init package. If your container instances are launched from version 20190301 or later, then they contain the required versions of the container agent and ecs-init. For more information, see Amazon ECS-optimized Linux AMI in the Amazon Elastic Container Service Developer Guide.

", "ContainerOverride$cpu": "

The number of cpu units reserved for the container, instead of the default value from the task definition. You must also specify a container name.

", @@ -453,7 +453,7 @@ "ContainerDependencies": { "base": null, "refs": { - "ContainerDefinition$dependsOn": "

The dependencies defined for container startup and shutdown. A container can contain multiple dependencies. When a dependency is defined for container startup, for container shutdown it is reversed.

For tasks using the EC2 launch type, the container instances require at least version 1.26.0 of the container agent to turn on container dependencies. However, we recommend using the latest container agent version. For information about checking your agent version and updating to the latest version, see Updating the Amazon ECS Container Agent in the Amazon Elastic Container Service Developer Guide. If you're using an Amazon ECS-optimized Linux AMI, your instance needs at least version 1.26.0-1 of the ecs-init package. If your container instances are launched from version 20190301 or later, then they contain the required versions of the container agent and ecs-init. For more information, see Amazon ECS-optimized Linux AMI in the Amazon Elastic Container Service Developer Guide.

For tasks using the Fargate launch type, the task or service requires the following platforms:

" + "ContainerDefinition$dependsOn": "

The dependencies defined for container startup and shutdown. A container can contain multiple dependencies on other containers in a task definition. When a dependency is defined for container startup, for container shutdown it is reversed.

For tasks using the EC2 launch type, the container instances require at least version 1.26.0 of the container agent to turn on container dependencies. However, we recommend using the latest container agent version. For information about checking your agent version and updating to the latest version, see Updating the Amazon ECS Container Agent in the Amazon Elastic Container Service Developer Guide. If you're using an Amazon ECS-optimized Linux AMI, your instance needs at least version 1.26.0-1 of the ecs-init package. If your container instances are launched from version 20190301 or later, then they contain the required versions of the container agent and ecs-init. For more information, see Amazon ECS-optimized Linux AMI in the Amazon Elastic Container Service Developer Guide.

For tasks using the Fargate launch type, the task or service requires the following platforms:

" } }, "ContainerDependency": { @@ -1653,7 +1653,7 @@ } }, "RuntimePlatform": { - "base": "

Information about the platform for the Amazon ECS service or task.

For more informataion about RuntimePlatform, see RuntimePlatform in the Amazon Elastic Container Service Developer Guide.

", + "base": "

Information about the platform for the Amazon ECS service or task.

For more information about RuntimePlatform, see RuntimePlatform in the Amazon Elastic Container Service Developer Guide.

", "refs": { "RegisterTaskDefinitionRequest$runtimePlatform": "

The operating system that your tasks definitions run on. A platform family is specified only for tasks using the Fargate launch type.

When you specify a task definition in a service, this value must match the runtimePlatform value of the service.

", "TaskDefinition$runtimePlatform": "

The operating system that your task definitions are running on. A platform family is specified only for tasks using the Fargate launch type.

When you specify a task in a service, this value must match the runtimePlatform value of the service.

" @@ -2043,8 +2043,8 @@ "RegisterTaskDefinitionRequest$family": "

You must specify a family for a task definition. You can use it track multiple versions of the same task definition. The family is used as a name for your task definition. Up to 255 letters (uppercase and lowercase), numbers, underscores, and hyphens are allowed.

", "RegisterTaskDefinitionRequest$taskRoleArn": "

The short name or full Amazon Resource Name (ARN) of the IAM role that containers in this task can assume. All containers in this task are granted the permissions that are specified in this role. For more information, see IAM Roles for Tasks in the Amazon Elastic Container Service Developer Guide.

", "RegisterTaskDefinitionRequest$executionRoleArn": "

The Amazon Resource Name (ARN) of the task execution role that grants the Amazon ECS container agent permission to make Amazon Web Services API calls on your behalf. The task execution IAM role is required depending on the requirements of your task. For more information, see Amazon ECS task execution IAM role in the Amazon Elastic Container Service Developer Guide.

", - "RegisterTaskDefinitionRequest$cpu": "

The number of CPU units used by the task. It can be expressed as an integer using CPU units (for example, 1024) or as a string using vCPUs (for example, 1 vCPU or 1 vcpu) in a task definition. String values are converted to an integer indicating the CPU units when the task definition is registered.

Task-level CPU and memory parameters are ignored for Windows containers. We recommend specifying container-level resources for Windows containers.

If you're using the EC2 launch type, this field is optional. Supported values are between 128 CPU units (0.125 vCPUs) and 10240 CPU units (10 vCPUs).

If you're using the Fargate launch type, this field is required and you must use one of the following values, which determines your range of supported values for the memory parameter:

The CPU units cannot be less than 1 vCPU when you use Windows containers on Fargate.

", - "RegisterTaskDefinitionRequest$memory": "

The amount of memory (in MiB) used by the task. It can be expressed as an integer using MiB (for example ,1024) or as a string using GB (for example, 1GB or 1 GB) in a task definition. String values are converted to an integer indicating the MiB when the task definition is registered.

Task-level CPU and memory parameters are ignored for Windows containers. We recommend specifying container-level resources for Windows containers.

If using the EC2 launch type, this field is optional.

If using the Fargate launch type, this field is required and you must use one of the following values. This determines your range of supported values for the cpu parameter.

The CPU units cannot be less than 1 vCPU when you use Windows containers on Fargate.

", + "RegisterTaskDefinitionRequest$cpu": "

The number of CPU units used by the task. It can be expressed as an integer using CPU units (for example, 1024) or as a string using vCPUs (for example, 1 vCPU or 1 vcpu) in a task definition. String values are converted to an integer indicating the CPU units when the task definition is registered.

Task-level CPU and memory parameters are ignored for Windows containers. We recommend specifying container-level resources for Windows containers.

If you're using the EC2 launch type, this field is optional. Supported values are between 128 CPU units (0.125 vCPUs) and 10240 CPU units (10 vCPUs). If you do not specify a value, the parameter is ignored.

If you're using the Fargate launch type, this field is required and you must use one of the following values, which determines your range of supported values for the memory parameter:

The CPU units cannot be less than 1 vCPU when you use Windows containers on Fargate.

", + "RegisterTaskDefinitionRequest$memory": "

The amount of memory (in MiB) used by the task. It can be expressed as an integer using MiB (for example ,1024) or as a string using GB (for example, 1GB or 1 GB) in a task definition. String values are converted to an integer indicating the MiB when the task definition is registered.

Task-level CPU and memory parameters are ignored for Windows containers. We recommend specifying container-level resources for Windows containers.

If using the EC2 launch type, this field is optional.

If using the Fargate launch type, this field is required and you must use one of the following values. This determines your range of supported values for the cpu parameter.

The CPU units cannot be less than 1 vCPU when you use Windows containers on Fargate.

", "RepositoryCredentials$credentialsParameter": "

The Amazon Resource Name (ARN) of the secret containing the private repository credentials.

When you use the Amazon ECS API, CLI, or Amazon Web Services SDK, if the secret exists in the same Region as the task that you're launching then you can use either the full ARN or the name of the secret. When you use the Amazon Web Services Management Console, you must specify the full ARN of the secret.

", "Resource$name": "

The name of the resource, such as CPU, MEMORY, PORTS, PORTS_UDP, or a user-defined resource.

", "Resource$type": "

The type of the resource. Valid values: INTEGER, DOUBLE, LONG, or STRINGSET.

", @@ -2107,11 +2107,11 @@ "Task$capacityProviderName": "

The capacity provider that's associated with the task.

", "Task$clusterArn": "

The ARN of the cluster that hosts the task.

", "Task$containerInstanceArn": "

The ARN of the container instances that host the task.

", - "Task$cpu": "

The number of CPU units used by the task as expressed in a task definition. It can be expressed as an integer using CPU units (for example, 1024). It can also be expressed as a string using vCPUs (for example, 1 vCPU or 1 vcpu). String values are converted to an integer that indicates the CPU units when the task definition is registered.

If you use the EC2 launch type, this field is optional. Supported values are between 128 CPU units (0.125 vCPUs) and 10240 CPU units (10 vCPUs).

If you use the Fargate launch type, this field is required. You must use one of the following values. These values determine the range of supported values for the memory parameter:

The CPU units cannot be less than 1 vCPU when you use Windows containers on Fargate.

", + "Task$cpu": "

The number of CPU units used by the task as expressed in a task definition. It can be expressed as an integer using CPU units (for example, 1024). It can also be expressed as a string using vCPUs (for example, 1 vCPU or 1 vcpu). String values are converted to an integer that indicates the CPU units when the task definition is registered.

If you use the EC2 launch type, this field is optional. Supported values are between 128 CPU units (0.125 vCPUs) and 10240 CPU units (10 vCPUs).

If you use the Fargate launch type, this field is required. You must use one of the following values. These values determine the range of supported values for the memory parameter:

The CPU units cannot be less than 1 vCPU when you use Windows containers on Fargate.

", "Task$desiredStatus": "

The desired status of the task. For more information, see Task Lifecycle.

", "Task$group": "

The name of the task group that's associated with the task.

", "Task$lastStatus": "

The last known status for the task. For more information, see Task Lifecycle.

", - "Task$memory": "

The amount of memory (in MiB) that the task uses as expressed in a task definition. It can be expressed as an integer using MiB (for example, 1024). If it's expressed as a string using GB (for example, 1GB or 1 GB), it's converted to an integer indicating the MiB when the task definition is registered.

If you use the EC2 launch type, this field is optional.

If you use the Fargate launch type, this field is required. You must use one of the following values. The value that you choose determines the range of supported values for the cpu parameter.

", + "Task$memory": "

The amount of memory (in MiB) that the task uses as expressed in a task definition. It can be expressed as an integer using MiB (for example, 1024). If it's expressed as a string using GB (for example, 1GB or 1 GB), it's converted to an integer indicating the MiB when the task definition is registered.

If you use the EC2 launch type, this field is optional.

If you use the Fargate launch type, this field is required. You must use one of the following values. The value that you choose determines the range of supported values for the cpu parameter.

", "Task$platformVersion": "

The platform version where your task runs on. A platform version is only specified for tasks that use the Fargate launch type. If you didn't specify one, the LATEST platform version is used. For more information, see Fargate Platform Versions in the Amazon Elastic Container Service Developer Guide.

", "Task$platformFamily": "

The operating system that your tasks are running on. A platform family is specified only for tasks that use the Fargate launch type.

All tasks that run as part of this service must use the same platformFamily value as the service (for example, LINUX.).

", "Task$startedBy": "

The tag specified when a task is started. If an Amazon ECS service started the task, the startedBy parameter contains the deployment ID of that service.

", @@ -2122,8 +2122,8 @@ "TaskDefinition$family": "

The name of a family that this task definition is registered to. Up to 255 characters are allowed. Letters (both uppercase and lowercase letters), numbers, hyphens (-), and underscores (_) are allowed.

A family groups multiple versions of a task definition. Amazon ECS gives the first task definition that you registered to a family a revision number of 1. Amazon ECS gives sequential revision numbers to each task definition that you add.

", "TaskDefinition$taskRoleArn": "

The short name or full Amazon Resource Name (ARN) of the Identity and Access Management role that grants containers in the task permission to call Amazon Web Services APIs on your behalf. For more information, see Amazon ECS Task Role in the Amazon Elastic Container Service Developer Guide.

IAM roles for tasks on Windows require that the -EnableTaskIAMRole option is set when you launch the Amazon ECS-optimized Windows AMI. Your containers must also run some configuration code to use the feature. For more information, see Windows IAM roles for tasks in the Amazon Elastic Container Service Developer Guide.

", "TaskDefinition$executionRoleArn": "

The Amazon Resource Name (ARN) of the task execution role that grants the Amazon ECS container agent permission to make Amazon Web Services API calls on your behalf. The task execution IAM role is required depending on the requirements of your task. For more information, see Amazon ECS task execution IAM role in the Amazon Elastic Container Service Developer Guide.

", - "TaskDefinition$cpu": "

The number of cpu units used by the task. If you use the EC2 launch type, this field is optional. Any value can be used. If you use the Fargate launch type, this field is required. You must use one of the following values. The value that you choose determines your range of valid values for the memory parameter.

The CPU units cannot be less than 1 vCPU when you use Windows containers on Fargate.

", - "TaskDefinition$memory": "

The amount (in MiB) of memory used by the task.

If your tasks runs on Amazon EC2 instances, you must specify either a task-level memory value or a container-level memory value. This field is optional and any value can be used. If a task-level memory value is specified, the container-level memory value is optional. For more information regarding container-level memory and memory reservation, see ContainerDefinition.

If your tasks runs on Fargate, this field is required. You must use one of the following values. The value you choose determines your range of valid values for the cpu parameter.

", + "TaskDefinition$cpu": "

The number of cpu units used by the task. If you use the EC2 launch type, this field is optional. Any value can be used. If you use the Fargate launch type, this field is required. You must use one of the following values. The value that you choose determines your range of valid values for the memory parameter.

The CPU units cannot be less than 1 vCPU when you use Windows containers on Fargate.

", + "TaskDefinition$memory": "

The amount (in MiB) of memory used by the task.

If your tasks runs on Amazon EC2 instances, you must specify either a task-level memory value or a container-level memory value. This field is optional and any value can be used. If a task-level memory value is specified, the container-level memory value is optional. For more information regarding container-level memory and memory reservation, see ContainerDefinition.

If your tasks runs on Fargate, this field is required. You must use one of the following values. The value you choose determines your range of valid values for the cpu parameter.

", "TaskDefinition$registeredBy": "

The principal that registered the task definition.

", "TaskDefinitionPlacementConstraint$expression": "

A cluster query language expression to apply to the constraint. For more information, see Cluster query language in the Amazon Elastic Container Service Developer Guide.

", "TaskOverride$cpu": "

The cpu override for the task.

", @@ -2185,7 +2185,7 @@ "DescribeServicesRequest$services": "

A list of services to describe. You may specify up to 10 services to describe in a single operation.

", "DescribeTaskSetsRequest$taskSets": "

The ID or full Amazon Resource Name (ARN) of task sets to describe.

", "DescribeTasksRequest$tasks": "

A list of up to 100 task IDs or full ARN entries.

", - "HealthCheck$command": "

A string array representing the command that the container runs to determine if it is healthy. The string array must start with CMD to execute the command arguments directly, or CMD-SHELL to run the command with the container's default shell.

When you use the Amazon Web Services Management Console JSON panel, the Command Line Interface, or the APIs, enclose the list of commands in brackets.

[ \"CMD-SHELL\", \"curl -f http://localhost/ || exit 1\" ]

You don't need to include the brackets when you use the Amazon Web Services Management Console.

\"CMD-SHELL\", \"curl -f http://localhost/ || exit 1\"

An exit code of 0 indicates success, and non-zero exit code indicates failure. For more information, see HealthCheck in the Create a container section of the Docker Remote API.

", + "HealthCheck$command": "

A string array representing the command that the container runs to determine if it is healthy. The string array must start with CMD to run the command arguments directly, or CMD-SHELL to run the command with the container's default shell.

When you use the Amazon Web Services Management Console JSON panel, the Command Line Interface, or the APIs, enclose the list of commands in brackets.

[ \"CMD-SHELL\", \"curl -f http://localhost/ || exit 1\" ]

You don't need to include the brackets when you use the Amazon Web Services Management Console.

\"CMD-SHELL\", \"curl -f http://localhost/ || exit 1\"

An exit code of 0 indicates success, and non-zero exit code indicates failure. For more information, see HealthCheck in the Create a container section of the Docker Remote API.

", "KernelCapabilities$add": "

The Linux capabilities for the container that have been added to the default configuration provided by Docker. This parameter maps to CapAdd in the Create a container section of the Docker Remote API and the --cap-add option to docker run.

Tasks launched on Fargate only support adding the SYS_PTRACE kernel capability.

Valid values: \"ALL\" | \"AUDIT_CONTROL\" | \"AUDIT_WRITE\" | \"BLOCK_SUSPEND\" | \"CHOWN\" | \"DAC_OVERRIDE\" | \"DAC_READ_SEARCH\" | \"FOWNER\" | \"FSETID\" | \"IPC_LOCK\" | \"IPC_OWNER\" | \"KILL\" | \"LEASE\" | \"LINUX_IMMUTABLE\" | \"MAC_ADMIN\" | \"MAC_OVERRIDE\" | \"MKNOD\" | \"NET_ADMIN\" | \"NET_BIND_SERVICE\" | \"NET_BROADCAST\" | \"NET_RAW\" | \"SETFCAP\" | \"SETGID\" | \"SETPCAP\" | \"SETUID\" | \"SYS_ADMIN\" | \"SYS_BOOT\" | \"SYS_CHROOT\" | \"SYS_MODULE\" | \"SYS_NICE\" | \"SYS_PACCT\" | \"SYS_PTRACE\" | \"SYS_RAWIO\" | \"SYS_RESOURCE\" | \"SYS_TIME\" | \"SYS_TTY_CONFIG\" | \"SYSLOG\" | \"WAKE_ALARM\"

", "KernelCapabilities$drop": "

The Linux capabilities for the container that have been removed from the default configuration provided by Docker. This parameter maps to CapDrop in the Create a container section of the Docker Remote API and the --cap-drop option to docker run.

Valid values: \"ALL\" | \"AUDIT_CONTROL\" | \"AUDIT_WRITE\" | \"BLOCK_SUSPEND\" | \"CHOWN\" | \"DAC_OVERRIDE\" | \"DAC_READ_SEARCH\" | \"FOWNER\" | \"FSETID\" | \"IPC_LOCK\" | \"IPC_OWNER\" | \"KILL\" | \"LEASE\" | \"LINUX_IMMUTABLE\" | \"MAC_ADMIN\" | \"MAC_OVERRIDE\" | \"MKNOD\" | \"NET_ADMIN\" | \"NET_BIND_SERVICE\" | \"NET_BROADCAST\" | \"NET_RAW\" | \"SETFCAP\" | \"SETGID\" | \"SETPCAP\" | \"SETUID\" | \"SYS_ADMIN\" | \"SYS_BOOT\" | \"SYS_CHROOT\" | \"SYS_MODULE\" | \"SYS_NICE\" | \"SYS_PACCT\" | \"SYS_PTRACE\" | \"SYS_RAWIO\" | \"SYS_RESOURCE\" | \"SYS_TIME\" | \"SYS_TTY_CONFIG\" | \"SYSLOG\" | \"WAKE_ALARM\"

", "ListClustersResponse$clusterArns": "

The list of full Amazon Resource Name (ARN) entries for each cluster that's associated with your account.

", diff --git a/service/codestarnotifications/api.go b/service/codestarnotifications/api.go index 04ae03fb59..ac78b1919f 100644 --- a/service/codestarnotifications/api.go +++ b/service/codestarnotifications/api.go @@ -57,8 +57,8 @@ func (c *CodeStarNotifications) CreateNotificationRuleRequest(input *CreateNotif // CreateNotificationRule API operation for AWS CodeStar Notifications. // // Creates a notification rule for a resource. The rule specifies the events -// you want notifications about and the targets (such as SNS topics) where you -// want to receive them. +// you want notifications about and the targets (such as Chatbot topics or Chatbot +// clients configured for Slack) where you want to receive them. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -71,7 +71,7 @@ func (c *CodeStarNotifications) CreateNotificationRuleRequest(input *CreateNotif // // - ResourceAlreadyExistsException // A resource with the same name or ID already exists. Notification rule names -// must be unique in your AWS account. +// must be unique in your Amazon Web Services account. // // - ValidationException // One or more parameter values are not valid. @@ -553,7 +553,7 @@ func (c *CodeStarNotifications) ListNotificationRulesRequest(input *ListNotifica // ListNotificationRules API operation for AWS CodeStar Notifications. // -// Returns a list of the notification rules for an AWS account. +// Returns a list of the notification rules for an Amazon Web Services account. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -776,7 +776,8 @@ func (c *CodeStarNotifications) ListTargetsRequest(input *ListTargetsInput) (req // ListTargets API operation for AWS CodeStar Notifications. // -// Returns a list of the notification rule targets for an AWS account. +// Returns a list of the notification rule targets for an Amazon Web Services +// account. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -910,9 +911,9 @@ func (c *CodeStarNotifications) SubscribeRequest(input *SubscribeInput) (req *re // Subscribe API operation for AWS CodeStar Notifications. // -// Creates an association between a notification rule and an SNS topic so that -// the associated target can receive notifications when the events described -// in the rule are triggered. +// Creates an association between a notification rule and an Chatbot topic or +// Chatbot client so that the associated target can receive notifications when +// the events described in the rule are triggered. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -930,6 +931,9 @@ func (c *CodeStarNotifications) SubscribeRequest(input *SubscribeInput) (req *re // AWS CodeStar Notifications can't find a resource that matches the provided // ARN. // +// - ConfigurationException +// Some or all of the configuration is incomplete, missing, or not valid. +// // See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-notifications-2019-10-15/Subscribe func (c *CodeStarNotifications) Subscribe(input *SubscribeInput) (*SubscribeOutput, error) { req, out := c.SubscribeRequest(input) @@ -1010,6 +1014,11 @@ func (c *CodeStarNotifications) TagResourceRequest(input *TagResourceInput) (req // AWS CodeStar Notifications can't find a resource that matches the provided // ARN. // +// - LimitExceededException +// One of the AWS CodeStar Notifications limits has been exceeded. Limits apply +// to accounts, notification rules, notifications, resources, and targets. For +// more information, see Limits. +// // - ValidationException // One or more parameter values are not valid. // @@ -1082,8 +1091,8 @@ func (c *CodeStarNotifications) UnsubscribeRequest(input *UnsubscribeInput) (req // Unsubscribe API operation for AWS CodeStar Notifications. // -// Removes an association between a notification rule and an Amazon SNS topic -// so that subscribers to that topic stop receiving notifications when the events +// Removes an association between a notification rule and an Chatbot topic so +// that subscribers to that topic stop receiving notifications when the events // described in the rule are triggered. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions @@ -1148,7 +1157,7 @@ func (c *CodeStarNotifications) UntagResourceRequest(input *UntagResourceInput) op := &request.Operation{ Name: opUntagResource, HTTPMethod: "POST", - HTTPPath: "/untagResource", + HTTPPath: "/untagResource/{resourceArn}", } if input == nil { @@ -1179,6 +1188,11 @@ func (c *CodeStarNotifications) UntagResourceRequest(input *UntagResourceInput) // AWS CodeStar Notifications can't find a resource that matches the provided // ARN. // +// - LimitExceededException +// One of the AWS CodeStar Notifications limits has been exceeded. Limits apply +// to accounts, notification rules, notifications, resources, and targets. For +// more information, see Limits. +// // - ValidationException // One or more parameter values are not valid. // @@ -1275,6 +1289,9 @@ func (c *CodeStarNotifications) UpdateNotificationRuleRequest(input *UpdateNotif // AWS CodeStar Notifications can't find a resource that matches the provided // ARN. // +// - ConfigurationException +// Some or all of the configuration is incomplete, missing, or not valid. +// // See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-notifications-2019-10-15/UpdateNotificationRule func (c *CodeStarNotifications) UpdateNotificationRule(input *UpdateNotificationRuleInput) (*UpdateNotificationRuleOutput, error) { req, out := c.UpdateNotificationRuleRequest(input) @@ -1499,14 +1516,15 @@ type CreateNotificationRuleInput struct { // with the same parameters is received and a token is included, the request // returns information about the initial request that used that token. // - // The AWS SDKs prepopulate client request tokens. If you are using an AWS SDK, - // an idempotency token is created for you. + // The Amazon Web Services SDKs prepopulate client request tokens. If you are + // using an Amazon Web Services SDK, an idempotency token is created for you. ClientRequestToken *string `min:"1" type:"string" idempotencyToken:"true"` // The level of detail to include in the notifications for this resource. BASIC - // will include only the contents of the event as it would appear in AWS CloudWatch. - // FULL will include any supplemental information provided by AWS CodeStar Notifications - // and/or the service for the resource for which the notification is created. + // will include only the contents of the event as it would appear in Amazon + // CloudWatch. FULL will include any supplemental information provided by AWS + // CodeStar Notifications and/or the service for the resource for which the + // notification is created. // // DetailType is a required field DetailType *string `type:"string" required:"true" enum:"DetailType"` @@ -1517,8 +1535,8 @@ type CreateNotificationRuleInput struct { // EventTypeIds is a required field EventTypeIds []*string `type:"list" required:"true"` - // The name for the notification rule. Notifictaion rule names must be unique - // in your AWS account. + // The name for the notification rule. Notification rule names must be unique + // in your Amazon Web Services account. // // Name is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by CreateNotificationRuleInput's @@ -1528,8 +1546,8 @@ type CreateNotificationRuleInput struct { Name *string `min:"1" type:"string" required:"true" sensitive:"true"` // The Amazon Resource Name (ARN) of the resource to associate with the notification - // rule. Supported resources include pipelines in AWS CodePipeline, repositories - // in AWS CodeCommit, and build projects in AWS CodeBuild. + // rule. Supported resources include pipelines in CodePipeline, repositories + // in CodeCommit, and build projects in CodeBuild. // // Resource is a required field Resource *string `type:"string" required:"true"` @@ -1543,8 +1561,8 @@ type CreateNotificationRuleInput struct { // with "aws". Tags map[string]*string `type:"map"` - // A list of Amazon Resource Names (ARNs) of SNS topics to associate with the - // notification rule. + // A list of Amazon Resource Names (ARNs) of Amazon Simple Notification Service + // topics and Chatbot clients to associate with the notification rule. // // Targets is a required field Targets []*Target `type:"list" required:"true"` @@ -1768,12 +1786,14 @@ func (s *DeleteNotificationRuleOutput) SetArn(v string) *DeleteNotificationRuleO type DeleteTargetInput struct { _ struct{} `type:"structure"` - // A Boolean value that can be used to delete all associations with this SNS + // A Boolean value that can be used to delete all associations with this Chatbot // topic. The default value is FALSE. If set to TRUE, all associations between - // that target and every notification rule in your AWS account are deleted. + // that target and every notification rule in your Amazon Web Services account + // are deleted. ForceUnsubscribeAll *bool `type:"boolean"` - // The Amazon Resource Name (ARN) of the SNS topic to delete. + // The Amazon Resource Name (ARN) of the Chatbot topic or Chatbot client to + // delete. // // TargetAddress is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by DeleteTargetInput's @@ -1912,9 +1932,10 @@ type DescribeNotificationRuleOutput struct { CreatedTimestamp *time.Time `type:"timestamp"` // The level of detail included in the notifications for this resource. BASIC - // will include only the contents of the event as it would appear in AWS CloudWatch. - // FULL will include any supplemental information provided by AWS CodeStar Notifications - // and/or the service for the resource for which the notification is created. + // will include only the contents of the event as it would appear in Amazon + // CloudWatch. FULL will include any supplemental information provided by AWS + // CodeStar Notifications and/or the service for the resource for which the + // notification is created. DetailType *string `type:"string" enum:"DetailType"` // A list of the event types associated with the notification rule. @@ -1942,7 +1963,8 @@ type DescribeNotificationRuleOutput struct { // The tags associated with the notification rule. Tags map[string]*string `type:"map"` - // A list of the SNS topics associated with the notification rule. + // A list of the Chatbot topics and Chatbot clients associated with the notification + // rule. Targets []*TargetSummary `type:"list"` } @@ -2034,7 +2056,9 @@ func (s *DescribeNotificationRuleOutput) SetTargets(v []*TargetSummary) *Describ type EventTypeSummary struct { _ struct{} `type:"structure"` - // The system-generated ID of the event. + // The system-generated ID of the event. For a complete list of event types + // and IDs, see Notification concepts (https://docs.aws.amazon.com/codestar-notifications/latest/userguide/concepts.html#concepts-api) + // in the Developer Tools Console User Guide. EventTypeId *string `min:"1" type:"string"` // The name of the event. @@ -2413,7 +2437,7 @@ type ListNotificationRulesFilter struct { // The value of the attribute you want to use to filter the returned notification // rules. For example, if you specify filtering by RESOURCE in Name, you might - // specify the ARN of a pipeline in AWS CodePipeline for the value. + // specify the ARN of a pipeline in CodePipeline for the value. // // Value is a required field Value *string `type:"string" required:"true"` @@ -2550,8 +2574,8 @@ type ListNotificationRulesOutput struct { // of the results. NextToken *string `type:"string"` - // The list of notification rules for the AWS account, by Amazon Resource Name - // (ARN) and ID. + // The list of notification rules for the Amazon Web Services account, by Amazon + // Resource Name (ARN) and ID. NotificationRules []*NotificationRuleSummary `type:"list"` } @@ -2664,9 +2688,9 @@ func (s *ListTagsForResourceOutput) SetTags(v map[string]*string) *ListTagsForRe // Information about a filter to apply to the list of returned targets. You // can filter by target type, address, or status. For example, to filter results -// to notification rules that have active Amazon SNS topics as targets, you -// could specify a ListTargetsFilter Name as TargetType and a Value of SNS, -// and a Name of TARGET_STATUS and a Value of ACTIVE. +// to notification rules that have active Chatbot topics as targets, you could +// specify a ListTargetsFilter Name as TargetType and a Value of SNS, and a +// Name of TARGET_STATUS and a Value of ACTIVE. type ListTargetsFilter struct { _ struct{} `type:"structure"` @@ -2890,7 +2914,7 @@ func (s *NotificationRuleSummary) SetId(v string) *NotificationRuleSummary { } // A resource with the same name or ID already exists. Notification rule names -// must be unique in your AWS account. +// must be unique in your Amazon Web Services account. type ResourceAlreadyExistsException struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` @@ -3032,7 +3056,8 @@ type SubscribeInput struct { // of the results. ClientRequestToken *string `min:"1" type:"string"` - // Information about the SNS topics associated with a notification rule. + // Information about the Chatbot topics or Chatbot clients associated with a + // notification rule. // // Target is a required field Target *Target `type:"structure" required:"true"` @@ -3222,18 +3247,23 @@ func (s *TagResourceOutput) SetTags(v map[string]*string) *TagResourceOutput { return s } -// Information about the SNS topics associated with a notification rule. +// Information about the Chatbot topics or Chatbot clients associated with a +// notification rule. type Target struct { _ struct{} `type:"structure"` - // The Amazon Resource Name (ARN) of the SNS topic. + // The Amazon Resource Name (ARN) of the Chatbot topic or Chatbot client. // // TargetAddress is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by Target's // String and GoString methods. TargetAddress *string `min:"1" type:"string" sensitive:"true"` - // The target type. Can be an Amazon SNS topic. + // The target type. Can be an Chatbot topic or Chatbot client. + // + // * Chatbot topics are specified as SNS. + // + // * Chatbot clients are specified as AWSChatbotSlack. TargetType *string `type:"string"` } @@ -3284,7 +3314,7 @@ func (s *Target) SetTargetType(v string) *Target { type TargetSummary struct { _ struct{} `type:"structure"` - // The Amazon Resource Name (ARN) of the SNS topic. + // The Amazon Resource Name (ARN) of the Chatbot topic or Chatbot client. // // TargetAddress is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by TargetSummary's @@ -3295,6 +3325,10 @@ type TargetSummary struct { TargetStatus *string `type:"string" enum:"TargetStatus"` // The type of the target (for example, SNS). + // + // * Chatbot topics are specified as SNS. + // + // * Chatbot clients are specified as AWSChatbotSlack. TargetType *string `type:"string"` } @@ -3342,7 +3376,7 @@ type UnsubscribeInput struct { // Arn is a required field Arn *string `type:"string" required:"true"` - // The ARN of the SNS topic to unsubscribe from the notification rule. + // The ARN of the Chatbot topic to unsubscribe from the notification rule. // // TargetAddress is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by UnsubscribeInput's @@ -3436,18 +3470,18 @@ func (s *UnsubscribeOutput) SetArn(v string) *UnsubscribeOutput { } type UntagResourceInput struct { - _ struct{} `type:"structure"` + _ struct{} `type:"structure" nopayload:"true"` // The Amazon Resource Name (ARN) of the notification rule from which to remove // the tags. // // Arn is a required field - Arn *string `type:"string" required:"true"` + Arn *string `location:"uri" locationName:"resourceArn" type:"string" required:"true"` // The key names of the tags to remove. // // TagKeys is a required field - TagKeys []*string `type:"list" required:"true"` + TagKeys []*string `location:"querystring" locationName:"tagKeys" type:"list" required:"true"` } // String returns the string representation. @@ -3474,6 +3508,9 @@ func (s *UntagResourceInput) Validate() error { if s.Arn == nil { invalidParams.Add(request.NewErrParamRequired("Arn")) } + if s.Arn != nil && len(*s.Arn) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Arn", 1)) + } if s.TagKeys == nil { invalidParams.Add(request.NewErrParamRequired("TagKeys")) } @@ -3527,12 +3564,15 @@ type UpdateNotificationRuleInput struct { Arn *string `type:"string" required:"true"` // The level of detail to include in the notifications for this resource. BASIC - // will include only the contents of the event as it would appear in AWS CloudWatch. - // FULL will include any supplemental information provided by AWS CodeStar Notifications - // and/or the service for the resource for which the notification is created. + // will include only the contents of the event as it would appear in Amazon + // CloudWatch. FULL will include any supplemental information provided by AWS + // CodeStar Notifications and/or the service for the resource for which the + // notification is created. DetailType *string `type:"string" enum:"DetailType"` - // A list of event types associated with this notification rule. + // A list of event types associated with this notification rule. For a complete + // list of event types and IDs, see Notification concepts (https://docs.aws.amazon.com/codestar-notifications/latest/userguide/concepts.html#concepts-api) + // in the Developer Tools Console User Guide. EventTypeIds []*string `type:"list"` // The name of the notification rule. diff --git a/service/codestarnotifications/doc.go b/service/codestarnotifications/doc.go index 321512c0d6..2b5a09c93b 100644 --- a/service/codestarnotifications/doc.go +++ b/service/codestarnotifications/doc.go @@ -30,8 +30,8 @@ // // Targets, by calling the following: // -// - DeleteTarget, which removes a notification rule target (SNS topic) from -// a notification rule. +// - DeleteTarget, which removes a notification rule target from a notification +// rule. // // - ListTargets, which lists the targets associated with a notification // rule. @@ -52,8 +52,8 @@ // - UntagResource, which removes a tag from a notification rule in your // account. // -// For information about how to use AWS CodeStar Notifications, see link in -// the CodeStarNotifications User Guide. +// For information about how to use AWS CodeStar Notifications, see the Amazon +// Web Services Developer Tools Console User Guide (https://docs.aws.amazon.com/dtconsole/latest/userguide/what-is-dtconsole.html). // // See https://docs.aws.amazon.com/goto/WebAPI/codestar-notifications-2019-10-15 for more information on this service. // diff --git a/service/codestarnotifications/errors.go b/service/codestarnotifications/errors.go index 7f2e0520c6..954621ce60 100644 --- a/service/codestarnotifications/errors.go +++ b/service/codestarnotifications/errors.go @@ -47,7 +47,7 @@ const ( // "ResourceAlreadyExistsException". // // A resource with the same name or ID already exists. Notification rule names - // must be unique in your AWS account. + // must be unique in your Amazon Web Services account. ErrCodeResourceAlreadyExistsException = "ResourceAlreadyExistsException" // ErrCodeResourceNotFoundException for service response error code diff --git a/service/ecs/api.go b/service/ecs/api.go index 6af81fe905..7b4dd2a1fb 100644 --- a/service/ecs/api.go +++ b/service/ecs/api.go @@ -346,24 +346,10 @@ func (c *ECS) CreateServiceRequest(input *CreateServiceInput) (req *request.Requ // types (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html) // in the Amazon Elastic Container Service Developer Guide. // -// When the service scheduler launches new tasks, it determines task placement -// in your cluster using the following logic: -// -// - Determine which of the container instances in your cluster can support -// the task definition of your service. For example, they have the required -// CPU, memory, ports, and container instance attributes. -// -// - By default, the service scheduler attempts to balance tasks across Availability -// Zones in this manner. This is the case even if you can choose a different -// placement strategy with the placementStrategy parameter. Sort the valid -// container instances, giving priority to instances that have the fewest -// number of running tasks for this service in their respective Availability -// Zone. For example, if zone A has one running service task and zones B -// and C each have zero, valid container instances in either zone B or C -// are considered optimal for placement. Place the new service task on a -// valid container instance in an optimal Availability Zone based on the -// previous steps, favoring container instances with the fewest number of -// running tasks for this service. +// When the service scheduler launches new tasks, it determines task placement. +// For information about task placement and task placement strategies, see Amazon +// ECS task placement (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-placement.html) +// in the Amazon Elastic Container Service Developer Guide. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -7748,8 +7734,9 @@ type ContainerDefinition struct { Cpu *int64 `locationName:"cpu" type:"integer"` // The dependencies defined for container startup and shutdown. A container - // can contain multiple dependencies. When a dependency is defined for container - // startup, for container shutdown it is reversed. + // can contain multiple dependencies on other containers in a task definition. + // When a dependency is defined for container startup, for container shutdown + // it is reversed. // // For tasks using the EC2 launch type, the container instances require at least // version 1.26.0 of the container agent to turn on container dependencies. @@ -8059,9 +8046,11 @@ type ContainerDefinition struct { // resources on the container instance, but also allow the container to consume // more memory resources when needed. // - // The Docker daemon reserves a minimum of 4 MiB of memory for a container. - // Therefore, we recommend that you specify fewer than 4 MiB of memory for your - // containers. + // The Docker 20.10.0 or later daemon reserves a minimum of 6 MiB of memory + // for a container. So, don't specify less than 6 MiB of memory for your containers. + // + // The Docker 19.03.13-ce or earlier daemon reserves a minimum of 4 MiB of memory + // for a container. So, don't specify less than 4 MiB of memory for your containers. MemoryReservation *int64 `locationName:"memoryReservation" type:"integer"` // The mount points for data volumes in your container. @@ -13595,7 +13584,7 @@ type HealthCheck struct { _ struct{} `type:"structure"` // A string array representing the command that the container runs to determine - // if it is healthy. The string array must start with CMD to execute the command + // if it is healthy. The string array must start with CMD to run the command // arguments directly, or CMD-SHELL to run the command with the container's // default shell. // @@ -17553,7 +17542,8 @@ type RegisterTaskDefinitionInput struct { // We recommend specifying container-level resources for Windows containers. // // If you're using the EC2 launch type, this field is optional. Supported values - // are between 128 CPU units (0.125 vCPUs) and 10240 CPU units (10 vCPUs). + // are between 128 CPU units (0.125 vCPUs) and 10240 CPU units (10 vCPUs). If + // you do not specify a value, the parameter is ignored. // // If you're using the Fargate launch type, this field is required and you must // use one of the following values, which determines your range of supported @@ -17571,11 +17561,17 @@ type RegisterTaskDefinitionInput struct { // * 1024 (1 vCPU) - Available memory values: 2048 (2 GB), 3072 (3 GB), 4096 // (4 GB), 5120 (5 GB), 6144 (6 GB), 7168 (7 GB), 8192 (8 GB) // - // * 2048 (2 vCPU) - Available memory values: Between 4096 (4 GB) and 16384 - // (16 GB) in increments of 1024 (1 GB) + // * 2048 (2 vCPU) - Available memory values: 4096 (4 GB) and 16384 (16 GB) + // in increments of 1024 (1 GB) // - // * 4096 (4 vCPU) - Available memory values: Between 8192 (8 GB) and 30720 - // (30 GB) in increments of 1024 (1 GB) + // * 4096 (4 vCPU) - Available memory values: 8192 (8 GB) and 30720 (30 GB) + // in increments of 1024 (1 GB) + // + // * 8192 (8 vCPU) - Available memory values: 16 GB and 60 GB in 4 GB increments + // This option requires Linux platform 1.4.0 or later. + // + // * 16384 (16vCPU) - Available memory values: 32GB and 120 GB in 8 GB increments + // This option requires Linux platform 1.4.0 or later. Cpu *string `locationName:"cpu" type:"string"` // The amount of ephemeral storage to allocate for the task. This parameter @@ -17672,6 +17668,12 @@ type RegisterTaskDefinitionInput struct { // // * Between 8192 (8 GB) and 30720 (30 GB) in increments of 1024 (1 GB) - // Available cpu values: 4096 (4 vCPU) + // + // * Between 16 GB and 60 GB in 4 GB increments - Available cpu values: 8192 + // (8 vCPU) This option requires Linux platform 1.4.0 or later. + // + // * Between 32GB and 120 GB in 8 GB increments - Available cpu values: 16384 + // (16 vCPU) This option requires Linux platform 1.4.0 or later. Memory *string `locationName:"memory" type:"string"` // The Docker networking mode to use for the containers in the task. The valid @@ -18736,7 +18738,7 @@ func (s *RunTaskOutput) SetTasks(v []*Task) *RunTaskOutput { // Information about the platform for the Amazon ECS service or task. // -// For more informataion about RuntimePlatform, see RuntimePlatform (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html#runtime-platform) +// For more information about RuntimePlatform, see RuntimePlatform (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html#runtime-platform) // in the Amazon Elastic Container Service Developer Guide. type RuntimePlatform struct { _ struct{} `type:"structure"` @@ -20941,11 +20943,17 @@ type Task struct { // * 1024 (1 vCPU) - Available memory values: 2048 (2 GB), 3072 (3 GB), 4096 // (4 GB), 5120 (5 GB), 6144 (6 GB), 7168 (7 GB), 8192 (8 GB) // - // * 2048 (2 vCPU) - Available memory values: Between 4096 (4 GB) and 16384 - // (16 GB) in increments of 1024 (1 GB) + // * 2048 (2 vCPU) - Available memory values: 4096 (4 GB) and 16384 (16 GB) + // in increments of 1024 (1 GB) + // + // * 4096 (4 vCPU) - Available memory values: 8192 (8 GB) and 30720 (30 GB) + // in increments of 1024 (1 GB) + // + // * 8192 (8 vCPU) - Available memory values: 16 GB and 60 GB in 4 GB increments + // This option requires Linux platform 1.4.0 or later. // - // * 4096 (4 vCPU) - Available memory values: Between 8192 (8 GB) and 30720 - // (30 GB) in increments of 1024 (1 GB) + // * 16384 (16vCPU) - Available memory values: 32GB and 120 GB in 8 GB increments + // This option requires Linux platform 1.4.0 or later. Cpu *string `locationName:"cpu" type:"string"` // The Unix timestamp for the time when the task was created. More specifically, @@ -21021,6 +21029,12 @@ type Task struct { // // * Between 8192 (8 GB) and 30720 (30 GB) in increments of 1024 (1 GB) - // Available cpu values: 4096 (4 vCPU) + // + // * Between 16 GB and 60 GB in 4 GB increments - Available cpu values: 8192 + // (8 vCPU) This option requires Linux platform 1.4.0 or later. + // + // * Between 32GB and 120 GB in 8 GB increments - Available cpu values: 16384 + // (16 vCPU) This option requires Linux platform 1.4.0 or later. Memory *string `locationName:"memory" type:"string"` // One or more container overrides. @@ -21399,11 +21413,17 @@ type TaskDefinition struct { // * 1024 (1 vCPU) - Available memory values: 2048 (2 GB), 3072 (3 GB), 4096 // (4 GB), 5120 (5 GB), 6144 (6 GB), 7168 (7 GB), 8192 (8 GB) // - // * 2048 (2 vCPU) - Available memory values: Between 4096 (4 GB) and 16384 - // (16 GB) in increments of 1024 (1 GB) + // * 2048 (2 vCPU) - Available memory values: 4096 (4 GB) and 16384 (16 GB) + // in increments of 1024 (1 GB) + // + // * 4096 (4 vCPU) - Available memory values: 8192 (8 GB) and 30720 (30 GB) + // in increments of 1024 (1 GB) // - // * 4096 (4 vCPU) - Available memory values: Between 8192 (8 GB) and 30720 - // (30 GB) in increments of 1024 (1 GB) + // * 8192 (8 vCPU) - Available memory values: 16 GB and 60 GB in 4 GB increments + // This option requires Linux platform 1.4.0 or later. + // + // * 16384 (16vCPU) - Available memory values: 32GB and 120 GB in 8 GB increments + // This option requires Linux platform 1.4.0 or later. Cpu *string `locationName:"cpu" type:"string"` // The Unix timestamp for the time when the task definition was deregistered. @@ -21489,6 +21509,12 @@ type TaskDefinition struct { // // * Between 8192 (8 GB) and 30720 (30 GB) in increments of 1024 (1 GB) - // Available cpu values: 4096 (4 vCPU) + // + // * Between 16 GB and 60 GB in 4 GB increments - Available cpu values: 8192 + // (8 vCPU) This option requires Linux platform 1.4.0 or later. + // + // * Between 32GB and 120 GB in 8 GB increments - Available cpu values: 16384 + // (16 vCPU) This option requires Linux platform 1.4.0 or later. Memory *string `locationName:"memory" type:"string"` // The Docker networking mode to use for the containers in the task. The valid