Skip to content

Commit

Permalink
feat(client-ecs): This release introduces a new ContainerDefinition c…
Browse files Browse the repository at this point in the history
…onfiguration to support the customer-managed keys for ECS container restart feature.
  • Loading branch information
awstools committed Aug 15, 2024
1 parent 63cb133 commit e56be69
Show file tree
Hide file tree
Showing 60 changed files with 968 additions and 374 deletions.
10 changes: 10 additions & 0 deletions clients/client-ecs/src/commands/CreateCapacityProviderCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,16 @@ export interface CreateCapacityProviderCommandOutput extends CreateCapacityProvi
* <p>These errors are usually caused by a client action. This client action might be using
* an action or resource on behalf of a user that doesn't have permissions to use the
* action or resource. Or, it might be specifying an identifier that isn't valid.</p>
* <p>The following list includes additional causes for the error:</p>
* <ul>
* <li>
* <p>The <code>RunTask</code> could not be processed because you use managed
* scaling and there is a capacity error because the quota of tasks in the
* <code>PROVISIONING</code> per cluster has been reached. For information
* about the service quotas, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-quotas.html">Amazon ECS
* service quotas</a>.</p>
* </li>
* </ul>
*
* @throws {@link InvalidParameterException} (client fault)
* <p>The specified parameter isn't valid. Review the available parameters for the API
Expand Down
10 changes: 10 additions & 0 deletions clients/client-ecs/src/commands/CreateClusterCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,16 @@ export interface CreateClusterCommandOutput extends CreateClusterResponse, __Met
* <p>These errors are usually caused by a client action. This client action might be using
* an action or resource on behalf of a user that doesn't have permissions to use the
* action or resource. Or, it might be specifying an identifier that isn't valid.</p>
* <p>The following list includes additional causes for the error:</p>
* <ul>
* <li>
* <p>The <code>RunTask</code> could not be processed because you use managed
* scaling and there is a capacity error because the quota of tasks in the
* <code>PROVISIONING</code> per cluster has been reached. For information
* about the service quotas, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-quotas.html">Amazon ECS
* service quotas</a>.</p>
* </li>
* </ul>
*
* @throws {@link InvalidParameterException} (client fault)
* <p>The specified parameter isn't valid. Review the available parameters for the API
Expand Down
14 changes: 12 additions & 2 deletions clients/client-ecs/src/commands/CreateServiceCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,8 @@ export interface CreateServiceCommandOutput extends CreateServiceResponse, __Met
* <p>When creating a service that uses the <code>EXTERNAL</code> 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 <a>CreateTaskSet</a> operation. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html">Amazon ECS deployment types</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
* <p>When the service scheduler launches new tasks, it determines task placement. For information
* about task placement and task placement strategies, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-placement.html">Amazon ECS
* <p>When the service scheduler launches new tasks, it determines task placement. For
* information about task placement and task placement strategies, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-placement.html">Amazon ECS
* task placement</a> in the <i>Amazon Elastic Container Service Developer Guide</i>
* </p>
* <p>Starting April 15, 2023, Amazon Web Services will not onboard new customers to Amazon Elastic Inference (EI), and will help current customers migrate their workloads to options that offer better price and performance. After April 15, 2023, new customers will not be able to launch instances with Amazon EI accelerators in Amazon SageMaker, Amazon ECS, or Amazon EC2. However, customers who have used Amazon EI at least once during the past 30-day period are considered current customers and will be able to continue using the service. </p>
Expand Down Expand Up @@ -563,6 +563,16 @@ export interface CreateServiceCommandOutput extends CreateServiceResponse, __Met
* <p>These errors are usually caused by a client action. This client action might be using
* an action or resource on behalf of a user that doesn't have permissions to use the
* action or resource. Or, it might be specifying an identifier that isn't valid.</p>
* <p>The following list includes additional causes for the error:</p>
* <ul>
* <li>
* <p>The <code>RunTask</code> could not be processed because you use managed
* scaling and there is a capacity error because the quota of tasks in the
* <code>PROVISIONING</code> per cluster has been reached. For information
* about the service quotas, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-quotas.html">Amazon ECS
* service quotas</a>.</p>
* </li>
* </ul>
*
* @throws {@link ClusterNotFoundException} (client fault)
* <p>The specified cluster wasn't found. You can view your available clusters with <a>ListClusters</a>. Amazon ECS clusters are Region specific.</p>
Expand Down
12 changes: 11 additions & 1 deletion clients/client-ecs/src/commands/CreateTaskSetCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export interface CreateTaskSetCommandOutput extends CreateTaskSetResponse, __Met
* <note>
* <p>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.</p>
* </note>
* <p>For information about the maximum number of task sets and otther quotas, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-quotas.html">Amazon ECS
* <p>For information about the maximum number of task sets and other quotas, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-quotas.html">Amazon ECS
* service quotas</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
* @example
* Use a bare-bones client and the command you need to make an API call.
Expand Down Expand Up @@ -183,6 +183,16 @@ export interface CreateTaskSetCommandOutput extends CreateTaskSetResponse, __Met
* <p>These errors are usually caused by a client action. This client action might be using
* an action or resource on behalf of a user that doesn't have permissions to use the
* action or resource. Or, it might be specifying an identifier that isn't valid.</p>
* <p>The following list includes additional causes for the error:</p>
* <ul>
* <li>
* <p>The <code>RunTask</code> could not be processed because you use managed
* scaling and there is a capacity error because the quota of tasks in the
* <code>PROVISIONING</code> per cluster has been reached. For information
* about the service quotas, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-quotas.html">Amazon ECS
* service quotas</a>.</p>
* </li>
* </ul>
*
* @throws {@link ClusterNotFoundException} (client fault)
* <p>The specified cluster wasn't found. You can view your available clusters with <a>ListClusters</a>. Amazon ECS clusters are Region specific.</p>
Expand Down
10 changes: 10 additions & 0 deletions clients/client-ecs/src/commands/DeleteAccountSettingCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,16 @@ export interface DeleteAccountSettingCommandOutput extends DeleteAccountSettingR
* <p>These errors are usually caused by a client action. This client action might be using
* an action or resource on behalf of a user that doesn't have permissions to use the
* action or resource. Or, it might be specifying an identifier that isn't valid.</p>
* <p>The following list includes additional causes for the error:</p>
* <ul>
* <li>
* <p>The <code>RunTask</code> could not be processed because you use managed
* scaling and there is a capacity error because the quota of tasks in the
* <code>PROVISIONING</code> per cluster has been reached. For information
* about the service quotas, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-quotas.html">Amazon ECS
* service quotas</a>.</p>
* </li>
* </ul>
*
* @throws {@link InvalidParameterException} (client fault)
* <p>The specified parameter isn't valid. Review the available parameters for the API
Expand Down
4 changes: 2 additions & 2 deletions clients/client-ecs/src/commands/DeleteAttributesCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ export interface DeleteAttributesCommandOutput extends DeleteAttributesResponse,
*
* @throws {@link TargetNotFoundException} (client fault)
* <p>The specified target wasn't found. You can view your available container instances
* with <a>ListContainerInstances</a>. Amazon ECS container instances are
* cluster-specific and Region-specific.</p>
* with <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ListContainerInstances.html">ListContainerInstances</a>. Amazon ECS container instances are cluster-specific and
* Region-specific.</p>
*
* @throws {@link ECSServiceException}
* <p>Base exception class for all service exceptions from ECS service.</p>
Expand Down
10 changes: 10 additions & 0 deletions clients/client-ecs/src/commands/DeleteCapacityProviderCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,16 @@ export interface DeleteCapacityProviderCommandOutput extends DeleteCapacityProvi
* <p>These errors are usually caused by a client action. This client action might be using
* an action or resource on behalf of a user that doesn't have permissions to use the
* action or resource. Or, it might be specifying an identifier that isn't valid.</p>
* <p>The following list includes additional causes for the error:</p>
* <ul>
* <li>
* <p>The <code>RunTask</code> could not be processed because you use managed
* scaling and there is a capacity error because the quota of tasks in the
* <code>PROVISIONING</code> per cluster has been reached. For information
* about the service quotas, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-quotas.html">Amazon ECS
* service quotas</a>.</p>
* </li>
* </ul>
*
* @throws {@link InvalidParameterException} (client fault)
* <p>The specified parameter isn't valid. Review the available parameters for the API
Expand Down
10 changes: 10 additions & 0 deletions clients/client-ecs/src/commands/DeleteClusterCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,16 @@ export interface DeleteClusterCommandOutput extends DeleteClusterResponse, __Met
* <p>These errors are usually caused by a client action. This client action might be using
* an action or resource on behalf of a user that doesn't have permissions to use the
* action or resource. Or, it might be specifying an identifier that isn't valid.</p>
* <p>The following list includes additional causes for the error:</p>
* <ul>
* <li>
* <p>The <code>RunTask</code> could not be processed because you use managed
* scaling and there is a capacity error because the quota of tasks in the
* <code>PROVISIONING</code> per cluster has been reached. For information
* about the service quotas, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-quotas.html">Amazon ECS
* service quotas</a>.</p>
* </li>
* </ul>
*
* @throws {@link ClusterContainsContainerInstancesException} (client fault)
* <p>You can't delete a cluster that has registered container instances. First, deregister
Expand Down
10 changes: 10 additions & 0 deletions clients/client-ecs/src/commands/DeleteServiceCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -348,6 +348,16 @@ export interface DeleteServiceCommandOutput extends DeleteServiceResponse, __Met
* <p>These errors are usually caused by a client action. This client action might be using
* an action or resource on behalf of a user that doesn't have permissions to use the
* action or resource. Or, it might be specifying an identifier that isn't valid.</p>
* <p>The following list includes additional causes for the error:</p>
* <ul>
* <li>
* <p>The <code>RunTask</code> could not be processed because you use managed
* scaling and there is a capacity error because the quota of tasks in the
* <code>PROVISIONING</code> per cluster has been reached. For information
* about the service quotas, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-quotas.html">Amazon ECS
* service quotas</a>.</p>
* </li>
* </ul>
*
* @throws {@link ClusterNotFoundException} (client fault)
* <p>The specified cluster wasn't found. You can view your available clusters with <a>ListClusters</a>. Amazon ECS clusters are Region specific.</p>
Expand Down
17 changes: 17 additions & 0 deletions clients/client-ecs/src/commands/DeleteTaskDefinitionsCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,13 @@ export interface DeleteTaskDefinitionsCommandOutput extends DeleteTaskDefinition
* // },
* // ],
* // essential: true || false,
* // restartPolicy: { // ContainerRestartPolicy
* // enabled: true || false, // required
* // ignoredExitCodes: [ // IntegerList
* // Number("int"),
* // ],
* // restartAttemptPeriod: Number("int"),
* // },
* // entryPoint: [
* // "STRING_VALUE",
* // ],
Expand Down Expand Up @@ -351,6 +358,16 @@ export interface DeleteTaskDefinitionsCommandOutput extends DeleteTaskDefinition
* <p>These errors are usually caused by a client action. This client action might be using
* an action or resource on behalf of a user that doesn't have permissions to use the
* action or resource. Or, it might be specifying an identifier that isn't valid.</p>
* <p>The following list includes additional causes for the error:</p>
* <ul>
* <li>
* <p>The <code>RunTask</code> could not be processed because you use managed
* scaling and there is a capacity error because the quota of tasks in the
* <code>PROVISIONING</code> per cluster has been reached. For information
* about the service quotas, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-quotas.html">Amazon ECS
* service quotas</a>.</p>
* </li>
* </ul>
*
* @throws {@link InvalidParameterException} (client fault)
* <p>The specified parameter isn't valid. Review the available parameters for the API
Expand Down
10 changes: 10 additions & 0 deletions clients/client-ecs/src/commands/DeleteTaskSetCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,16 @@ export interface DeleteTaskSetCommandOutput extends DeleteTaskSetResponse, __Met
* <p>These errors are usually caused by a client action. This client action might be using
* an action or resource on behalf of a user that doesn't have permissions to use the
* action or resource. Or, it might be specifying an identifier that isn't valid.</p>
* <p>The following list includes additional causes for the error:</p>
* <ul>
* <li>
* <p>The <code>RunTask</code> could not be processed because you use managed
* scaling and there is a capacity error because the quota of tasks in the
* <code>PROVISIONING</code> per cluster has been reached. For information
* about the service quotas, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-quotas.html">Amazon ECS
* service quotas</a>.</p>
* </li>
* </ul>
*
* @throws {@link ClusterNotFoundException} (client fault)
* <p>The specified cluster wasn't found. You can view your available clusters with <a>ListClusters</a>. Amazon ECS clusters are Region specific.</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,16 @@ export interface DeregisterContainerInstanceCommandOutput
* <p>These errors are usually caused by a client action. This client action might be using
* an action or resource on behalf of a user that doesn't have permissions to use the
* action or resource. Or, it might be specifying an identifier that isn't valid.</p>
* <p>The following list includes additional causes for the error:</p>
* <ul>
* <li>
* <p>The <code>RunTask</code> could not be processed because you use managed
* scaling and there is a capacity error because the quota of tasks in the
* <code>PROVISIONING</code> per cluster has been reached. For information
* about the service quotas, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-quotas.html">Amazon ECS
* service quotas</a>.</p>
* </li>
* </ul>
*
* @throws {@link ClusterNotFoundException} (client fault)
* <p>The specified cluster wasn't found. You can view your available clusters with <a>ListClusters</a>. Amazon ECS clusters are Region specific.</p>
Expand Down
17 changes: 17 additions & 0 deletions clients/client-ecs/src/commands/DeregisterTaskDefinitionCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,13 @@ export interface DeregisterTaskDefinitionCommandOutput extends DeregisterTaskDef
* // },
* // ],
* // essential: true || false,
* // restartPolicy: { // ContainerRestartPolicy
* // enabled: true || false, // required
* // ignoredExitCodes: [ // IntegerList
* // Number("int"),
* // ],
* // restartAttemptPeriod: Number("int"),
* // },
* // entryPoint: [
* // "STRING_VALUE",
* // ],
Expand Down Expand Up @@ -335,6 +342,16 @@ export interface DeregisterTaskDefinitionCommandOutput extends DeregisterTaskDef
* <p>These errors are usually caused by a client action. This client action might be using
* an action or resource on behalf of a user that doesn't have permissions to use the
* action or resource. Or, it might be specifying an identifier that isn't valid.</p>
* <p>The following list includes additional causes for the error:</p>
* <ul>
* <li>
* <p>The <code>RunTask</code> could not be processed because you use managed
* scaling and there is a capacity error because the quota of tasks in the
* <code>PROVISIONING</code> per cluster has been reached. For information
* about the service quotas, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-quotas.html">Amazon ECS
* service quotas</a>.</p>
* </li>
* </ul>
*
* @throws {@link InvalidParameterException} (client fault)
* <p>The specified parameter isn't valid. Review the available parameters for the API
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,16 @@ export interface DescribeCapacityProvidersCommandOutput extends DescribeCapacity
* <p>These errors are usually caused by a client action. This client action might be using
* an action or resource on behalf of a user that doesn't have permissions to use the
* action or resource. Or, it might be specifying an identifier that isn't valid.</p>
* <p>The following list includes additional causes for the error:</p>
* <ul>
* <li>
* <p>The <code>RunTask</code> could not be processed because you use managed
* scaling and there is a capacity error because the quota of tasks in the
* <code>PROVISIONING</code> per cluster has been reached. For information
* about the service quotas, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-quotas.html">Amazon ECS
* service quotas</a>.</p>
* </li>
* </ul>
*
* @throws {@link InvalidParameterException} (client fault)
* <p>The specified parameter isn't valid. Review the available parameters for the API
Expand Down
Loading

0 comments on commit e56be69

Please sign in to comment.