@aws-sdk/client-ecs 3.36.0 → 3.39.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (156) hide show
  1. package/CHANGELOG.md +45 -0
  2. package/dist-cjs/ECS.js +0 -15
  3. package/dist-cjs/ECSClient.js +0 -20
  4. package/dist-cjs/commands/CreateCapacityProviderCommand.js +0 -30
  5. package/dist-cjs/commands/CreateClusterCommand.js +0 -35
  6. package/dist-cjs/commands/CreateServiceCommand.js +0 -129
  7. package/dist-cjs/commands/CreateTaskSetCommand.js +0 -27
  8. package/dist-cjs/commands/DeleteAccountSettingCommand.js +0 -25
  9. package/dist-cjs/commands/DeleteAttributesCommand.js +0 -24
  10. package/dist-cjs/commands/DeleteCapacityProviderCommand.js +0 -38
  11. package/dist-cjs/commands/DeleteClusterCommand.js +0 -30
  12. package/dist-cjs/commands/DeleteServiceCommand.js +0 -44
  13. package/dist-cjs/commands/DeleteTaskSetCommand.js +0 -25
  14. package/dist-cjs/commands/DeregisterContainerInstanceCommand.js +0 -36
  15. package/dist-cjs/commands/DeregisterTaskDefinitionCommand.js +0 -39
  16. package/dist-cjs/commands/DescribeCapacityProvidersCommand.js +0 -24
  17. package/dist-cjs/commands/DescribeClustersCommand.js +0 -24
  18. package/dist-cjs/commands/DescribeContainerInstancesCommand.js +0 -25
  19. package/dist-cjs/commands/DescribeServicesCommand.js +0 -24
  20. package/dist-cjs/commands/DescribeTaskDefinitionCommand.js +0 -31
  21. package/dist-cjs/commands/DescribeTaskSetsCommand.js +0 -27
  22. package/dist-cjs/commands/DescribeTasksCommand.js +0 -24
  23. package/dist-cjs/commands/DiscoverPollEndpointCommand.js +0 -28
  24. package/dist-cjs/commands/ExecuteCommandCommand.js +0 -24
  25. package/dist-cjs/commands/ListAccountSettingsCommand.js +0 -24
  26. package/dist-cjs/commands/ListAttributesCommand.js +0 -30
  27. package/dist-cjs/commands/ListClustersCommand.js +0 -24
  28. package/dist-cjs/commands/ListContainerInstancesCommand.js +0 -27
  29. package/dist-cjs/commands/ListServicesCommand.js +0 -25
  30. package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -24
  31. package/dist-cjs/commands/ListTaskDefinitionFamiliesCommand.js +0 -30
  32. package/dist-cjs/commands/ListTaskDefinitionsCommand.js +0 -26
  33. package/dist-cjs/commands/ListTasksCommand.js +0 -28
  34. package/dist-cjs/commands/PutAccountSettingCommand.js +0 -47
  35. package/dist-cjs/commands/PutAccountSettingDefaultCommand.js +0 -26
  36. package/dist-cjs/commands/PutAttributesCommand.js +0 -28
  37. package/dist-cjs/commands/PutClusterCapacityProvidersCommand.js +0 -37
  38. package/dist-cjs/commands/RegisterContainerInstanceCommand.js +0 -29
  39. package/dist-cjs/commands/RegisterTaskDefinitionCommand.js +0 -41
  40. package/dist-cjs/commands/RunTaskCommand.js +0 -52
  41. package/dist-cjs/commands/StartTaskCommand.js +0 -28
  42. package/dist-cjs/commands/StopTaskCommand.js +0 -36
  43. package/dist-cjs/commands/SubmitAttachmentStateChangesCommand.js +0 -28
  44. package/dist-cjs/commands/SubmitContainerStateChangeCommand.js +0 -28
  45. package/dist-cjs/commands/SubmitTaskStateChangeCommand.js +0 -28
  46. package/dist-cjs/commands/TagResourceCommand.js +0 -27
  47. package/dist-cjs/commands/UntagResourceCommand.js +0 -24
  48. package/dist-cjs/commands/UpdateCapacityProviderCommand.js +0 -24
  49. package/dist-cjs/commands/UpdateClusterCommand.js +0 -24
  50. package/dist-cjs/commands/UpdateClusterSettingsCommand.js +0 -24
  51. package/dist-cjs/commands/UpdateContainerAgentCommand.js +0 -39
  52. package/dist-cjs/commands/UpdateContainerInstancesStateCommand.js +0 -72
  53. package/dist-cjs/commands/UpdateServiceCommand.js +0 -132
  54. package/dist-cjs/commands/UpdateServicePrimaryTaskSetCommand.js +0 -28
  55. package/dist-cjs/commands/UpdateTaskSetCommand.js +0 -26
  56. package/dist-cjs/commands/index.js +55 -0
  57. package/dist-cjs/endpoints.js +6 -1
  58. package/dist-cjs/index.js +5 -66
  59. package/dist-cjs/models/models_0.js +26 -619
  60. package/dist-cjs/pagination/ListAccountSettingsPaginator.js +0 -10
  61. package/dist-cjs/pagination/ListAttributesPaginator.js +0 -10
  62. package/dist-cjs/pagination/ListClustersPaginator.js +0 -10
  63. package/dist-cjs/pagination/ListContainerInstancesPaginator.js +0 -10
  64. package/dist-cjs/pagination/ListServicesPaginator.js +0 -10
  65. package/dist-cjs/pagination/ListTaskDefinitionFamiliesPaginator.js +0 -10
  66. package/dist-cjs/pagination/ListTaskDefinitionsPaginator.js +0 -10
  67. package/dist-cjs/pagination/ListTasksPaginator.js +0 -10
  68. package/dist-cjs/pagination/index.js +12 -0
  69. package/dist-cjs/protocols/Aws_json1_1.js +25 -5
  70. package/dist-cjs/runtimeConfig.browser.js +1 -5
  71. package/dist-cjs/runtimeConfig.js +1 -5
  72. package/dist-cjs/runtimeConfig.native.js +0 -3
  73. package/dist-cjs/runtimeConfig.shared.js +0 -3
  74. package/dist-cjs/waiters/index.js +6 -0
  75. package/dist-cjs/waiters/waitForServicesInactive.js +0 -9
  76. package/dist-cjs/waiters/waitForTasksRunning.js +0 -9
  77. package/dist-cjs/waiters/waitForTasksStopped.js +0 -9
  78. package/dist-es/commands/index.js +52 -0
  79. package/dist-es/endpoints.js +6 -1
  80. package/dist-es/index.js +5 -66
  81. package/dist-es/models/models_0.js +20 -0
  82. package/dist-es/pagination/index.js +9 -0
  83. package/dist-es/protocols/Aws_json1_1.js +22 -1
  84. package/dist-es/waiters/index.js +3 -0
  85. package/dist-types/commands/index.d.ts +52 -0
  86. package/dist-types/index.d.ts +5 -66
  87. package/dist-types/models/models_0.d.ts +170 -25
  88. package/dist-types/pagination/index.d.ts +9 -0
  89. package/dist-types/ts3.4/ECS.d.ts +53 -702
  90. package/dist-types/ts3.4/ECSClient.d.ts +24 -101
  91. package/dist-types/ts3.4/commands/CreateCapacityProviderCommand.d.ts +2 -26
  92. package/dist-types/ts3.4/commands/CreateClusterCommand.d.ts +2 -31
  93. package/dist-types/ts3.4/commands/CreateServiceCommand.d.ts +2 -125
  94. package/dist-types/ts3.4/commands/CreateTaskSetCommand.d.ts +2 -23
  95. package/dist-types/ts3.4/commands/DeleteAccountSettingCommand.d.ts +2 -21
  96. package/dist-types/ts3.4/commands/DeleteAttributesCommand.d.ts +2 -20
  97. package/dist-types/ts3.4/commands/DeleteCapacityProviderCommand.d.ts +2 -34
  98. package/dist-types/ts3.4/commands/DeleteClusterCommand.d.ts +2 -26
  99. package/dist-types/ts3.4/commands/DeleteServiceCommand.d.ts +2 -40
  100. package/dist-types/ts3.4/commands/DeleteTaskSetCommand.d.ts +2 -21
  101. package/dist-types/ts3.4/commands/DeregisterContainerInstanceCommand.d.ts +2 -32
  102. package/dist-types/ts3.4/commands/DeregisterTaskDefinitionCommand.d.ts +2 -35
  103. package/dist-types/ts3.4/commands/DescribeCapacityProvidersCommand.d.ts +2 -20
  104. package/dist-types/ts3.4/commands/DescribeClustersCommand.d.ts +2 -20
  105. package/dist-types/ts3.4/commands/DescribeContainerInstancesCommand.d.ts +2 -21
  106. package/dist-types/ts3.4/commands/DescribeServicesCommand.d.ts +2 -20
  107. package/dist-types/ts3.4/commands/DescribeTaskDefinitionCommand.d.ts +2 -27
  108. package/dist-types/ts3.4/commands/DescribeTaskSetsCommand.d.ts +2 -23
  109. package/dist-types/ts3.4/commands/DescribeTasksCommand.d.ts +2 -20
  110. package/dist-types/ts3.4/commands/DiscoverPollEndpointCommand.d.ts +2 -24
  111. package/dist-types/ts3.4/commands/ExecuteCommandCommand.d.ts +2 -20
  112. package/dist-types/ts3.4/commands/ListAccountSettingsCommand.d.ts +2 -20
  113. package/dist-types/ts3.4/commands/ListAttributesCommand.d.ts +2 -26
  114. package/dist-types/ts3.4/commands/ListClustersCommand.d.ts +2 -20
  115. package/dist-types/ts3.4/commands/ListContainerInstancesCommand.d.ts +2 -23
  116. package/dist-types/ts3.4/commands/ListServicesCommand.d.ts +2 -21
  117. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -20
  118. package/dist-types/ts3.4/commands/ListTaskDefinitionFamiliesCommand.d.ts +2 -26
  119. package/dist-types/ts3.4/commands/ListTaskDefinitionsCommand.d.ts +2 -22
  120. package/dist-types/ts3.4/commands/ListTasksCommand.d.ts +2 -24
  121. package/dist-types/ts3.4/commands/PutAccountSettingCommand.d.ts +2 -43
  122. package/dist-types/ts3.4/commands/PutAccountSettingDefaultCommand.d.ts +2 -22
  123. package/dist-types/ts3.4/commands/PutAttributesCommand.d.ts +2 -24
  124. package/dist-types/ts3.4/commands/PutClusterCapacityProvidersCommand.d.ts +2 -33
  125. package/dist-types/ts3.4/commands/RegisterContainerInstanceCommand.d.ts +2 -25
  126. package/dist-types/ts3.4/commands/RegisterTaskDefinitionCommand.d.ts +2 -37
  127. package/dist-types/ts3.4/commands/RunTaskCommand.d.ts +2 -48
  128. package/dist-types/ts3.4/commands/StartTaskCommand.d.ts +2 -24
  129. package/dist-types/ts3.4/commands/StopTaskCommand.d.ts +2 -32
  130. package/dist-types/ts3.4/commands/SubmitAttachmentStateChangesCommand.d.ts +2 -24
  131. package/dist-types/ts3.4/commands/SubmitContainerStateChangeCommand.d.ts +2 -24
  132. package/dist-types/ts3.4/commands/SubmitTaskStateChangeCommand.d.ts +2 -24
  133. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -23
  134. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -20
  135. package/dist-types/ts3.4/commands/UpdateCapacityProviderCommand.d.ts +2 -20
  136. package/dist-types/ts3.4/commands/UpdateClusterCommand.d.ts +2 -20
  137. package/dist-types/ts3.4/commands/UpdateClusterSettingsCommand.d.ts +2 -20
  138. package/dist-types/ts3.4/commands/UpdateContainerAgentCommand.d.ts +2 -35
  139. package/dist-types/ts3.4/commands/UpdateContainerInstancesStateCommand.d.ts +2 -68
  140. package/dist-types/ts3.4/commands/UpdateServiceCommand.d.ts +2 -128
  141. package/dist-types/ts3.4/commands/UpdateServicePrimaryTaskSetCommand.d.ts +2 -24
  142. package/dist-types/ts3.4/commands/UpdateTaskSetCommand.d.ts +2 -22
  143. package/dist-types/ts3.4/commands/index.d.ts +52 -0
  144. package/dist-types/ts3.4/index.d.ts +5 -66
  145. package/dist-types/ts3.4/models/models_0.d.ts +1099 -6662
  146. package/dist-types/ts3.4/pagination/index.d.ts +9 -0
  147. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
  148. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
  149. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
  150. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
  151. package/dist-types/ts3.4/waiters/index.d.ts +3 -0
  152. package/dist-types/ts3.4/waiters/waitForServicesInactive.d.ts +2 -9
  153. package/dist-types/ts3.4/waiters/waitForTasksRunning.d.ts +2 -9
  154. package/dist-types/ts3.4/waiters/waitForTasksStopped.d.ts +2 -9
  155. package/dist-types/waiters/index.d.ts +3 -0
  156. package/package.json +33 -33
@@ -435,8 +435,8 @@ export interface ExecuteCommandLogConfiguration {
435
435
  */
436
436
  s3BucketName?: string;
437
437
  /**
438
- * <p>Whether or not to enable encryption on the CloudWatch logs. If not specified,
439
- * encryption will be disabled.</p>
438
+ * <p>Whether or not to use encryption on the S3 logs. If not specified,
439
+ * encryption is not used.</p>
440
440
  */
441
441
  s3EncryptionEnabled?: boolean;
442
442
  /**
@@ -1600,7 +1600,7 @@ export interface CreateServiceRequest {
1600
1600
  * <p>Specifies whether to propagate the tags from the task definition or the service to the
1601
1601
  * tasks in the service. If no value is specified, the tags are not propagated. Tags can
1602
1602
  * only be propagated to the tasks within the service during service creation. To add tags
1603
- * to a task after service creation, use the <a>TagResource</a> API
1603
+ * to a task after service creation or task creation, use the <a>TagResource</a> API
1604
1604
  * action.</p>
1605
1605
  */
1606
1606
  propagateTags?: PropagateTags | string;
@@ -1706,6 +1706,11 @@ export interface Deployment {
1706
1706
  * Versions</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
1707
1707
  */
1708
1708
  platformVersion?: string;
1709
+ /**
1710
+ * <p>The operating system that your tasks in the service, or tasks are running on. A platform family is specified only for tasks using the Fargate launch type. </p>
1711
+ * <p> All tasks that run as part of this service must use the same <code>platformFamily</code> value as the service, for example, <code> LINUX.</code>.</p>
1712
+ */
1713
+ platformFamily?: string;
1709
1714
  /**
1710
1715
  * <p>The VPC subnet and security group configuration for tasks that receive their own
1711
1716
  * elastic network interface by using the <code>awsvpc</code> networking mode.</p>
@@ -1893,6 +1898,11 @@ export interface TaskSet {
1893
1898
  * versions</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
1894
1899
  */
1895
1900
  platformVersion?: string;
1901
+ /**
1902
+ * <p>The operating system that your tasks in the set are running on. A platform family is specified only for tasks using the Fargate launch type. </p>
1903
+ * <p> All tasks in the set must have the same value.</p>
1904
+ */
1905
+ platformFamily?: string;
1896
1906
  /**
1897
1907
  * <p>The network configuration for the task set.</p>
1898
1908
  */
@@ -2050,6 +2060,11 @@ export interface Service {
2050
2060
  * Versions</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
2051
2061
  */
2052
2062
  platformVersion?: string;
2063
+ /**
2064
+ * <p>The operating system that your tasks in the service are running on. A platform family is specified only for tasks using the Fargate launch type. </p>
2065
+ * <p> All tasks that run as part of this service must use the same <code>platformFamily</code> value as the service, for example, <code>LINUX</code>.</p>
2066
+ */
2067
+ platformFamily?: string;
2053
2068
  /**
2054
2069
  * <p>The task definition to use for tasks in the service. This value is specified when the
2055
2070
  * service is created with <a>CreateService</a>, and it can be modified with
@@ -3081,8 +3096,17 @@ export declare enum ContainerCondition {
3081
3096
  * <code>20190301</code> or later, then they contain the required versions of the
3082
3097
  * container agent and <code>ecs-init</code>. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html">Amazon ECS-optimized Linux AMI</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
3083
3098
  * <note>
3084
- * <p>For tasks using the Fargate launch type, this parameter requires
3085
- * that the task or service uses platform version 1.3.0 or later.</p>
3099
+ * <p>For tasks using the Fargate launch type, the task or service requires the followiwng platforms:</p>
3100
+ * <ul>
3101
+ * <li>
3102
+ * <p>Linux platform
3103
+ * version <code>1.3.0</code> or later.</p>
3104
+ * </li>
3105
+ * <li>
3106
+ * <p>Windows platform
3107
+ * version <code>1.0.0</code> or later.</p>
3108
+ * </li>
3109
+ * </ul>
3086
3110
  * </note>
3087
3111
  */
3088
3112
  export interface ContainerDependency {
@@ -3148,8 +3172,17 @@ export declare enum EnvironmentFileType {
3148
3172
  * same variable, they are processed from the top down. It is recommended to use unique
3149
3173
  * variable names. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/taskdef-envfiles.html">Specifying environment
3150
3174
  * variables</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
3151
- * <p>This field is only valid for containers in Fargate tasks that use
3152
- * platform version <code>1.4.0</code> or later.</p>
3175
+ * <p>This parameter is only supported for tasks hosted on Fargate using the following platform versions:</p>
3176
+ * <ul>
3177
+ * <li>
3178
+ * <p>Linux platform
3179
+ * version <code>1.4.0</code> or later.</p>
3180
+ * </li>
3181
+ * <li>
3182
+ * <p>Windows platform
3183
+ * version <code>1.0.0</code> or later.</p>
3184
+ * </li>
3185
+ * </ul>
3153
3186
  */
3154
3187
  export interface EnvironmentFile {
3155
3188
  /**
@@ -3810,7 +3843,7 @@ export declare enum ResourceType {
3810
3843
  /**
3811
3844
  * <p>The type and amount of a resource to assign to a container. The supported resource
3812
3845
  * types are GPUs and Elastic Inference accelerators. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-gpu.html">Working with
3813
- * GPUs on Amazon ECS</a> or <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-eia.html">Working with Amazon Elastic Inference on Amazon ECS</a> in the
3846
+ * GPUs on Amazon ECS</a> or <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-inference.html">Working with Amazon Elastic Inference on Amazon ECS</a> in the
3814
3847
  * <i>Amazon Elastic Container Service Developer Guide</i>
3815
3848
  * </p>
3816
3849
  */
@@ -4251,8 +4284,17 @@ export interface ContainerDefinition {
4251
4284
  * <code>ecs-init</code> package. If your container instances are launched from version
4252
4285
  * <code>20190301</code> or later, then they contain the required versions of the
4253
4286
  * container agent and <code>ecs-init</code>. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html">Amazon ECS-optimized Linux AMI</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
4254
- * <p>For tasks using the Fargate launch type, the task or service requires
4255
- * platform version <code>1.3.0</code> or later.</p>
4287
+ * <p>For tasks using the Fargate launch type, the task or service requires the followiwng platforms:</p>
4288
+ * <ul>
4289
+ * <li>
4290
+ * <p>Linux platform
4291
+ * version <code>1.3.0</code> or later.</p>
4292
+ * </li>
4293
+ * <li>
4294
+ * <p>Windows platform
4295
+ * version <code>1.0.0</code> or later.</p>
4296
+ * </li>
4297
+ * </ul>
4256
4298
  */
4257
4299
  dependsOn?: ContainerDependency[];
4258
4300
  /**
@@ -4267,8 +4309,17 @@ export interface ContainerDefinition {
4267
4309
  * <p>When the <code>ECS_CONTAINER_START_TIMEOUT</code> container agent configuration
4268
4310
  * variable is used, it is enforced indendently from this start timeout value.</p>
4269
4311
  * </note>
4270
- * <p>For tasks using the Fargate launch type, this parameter requires that
4271
- * the task or service uses platform version 1.3.0 or later.</p>
4312
+ * <p>For tasks using the Fargate launch type, the task or service requires the followiwng platforms:</p>
4313
+ * <ul>
4314
+ * <li>
4315
+ * <p>Linux platform
4316
+ * version <code>1.3.0</code> or later.</p>
4317
+ * </li>
4318
+ * <li>
4319
+ * <p>Windows platform
4320
+ * version <code>1.0.0</code> or later.</p>
4321
+ * </li>
4322
+ * </ul>
4272
4323
  * <p>For tasks using the EC2 launch type, your container instances require at
4273
4324
  * least version <code>1.26.0</code> of the container agent to enable a container start
4274
4325
  * timeout value. However, we recommend using the latest container agent version. For
@@ -4284,8 +4335,18 @@ export interface ContainerDefinition {
4284
4335
  /**
4285
4336
  * <p>Time duration (in seconds) to wait before the container is forcefully killed if it
4286
4337
  * doesn't exit normally on its own.</p>
4287
- * <p>For tasks using the Fargate launch type, the task or service requires
4288
- * platform version 1.3.0 or later. The max stop timeout value is 120 seconds and if the
4338
+ * <p>For tasks using the Fargate launch type, the task or service requires the followiwng platforms:</p>
4339
+ * <ul>
4340
+ * <li>
4341
+ * <p>Linux platform
4342
+ * version <code>1.3.0</code> or later.</p>
4343
+ * </li>
4344
+ * <li>
4345
+ * <p>Windows platform
4346
+ * version <code>1.0.0</code> or later.</p>
4347
+ * </li>
4348
+ * </ul>
4349
+ * <p>The max stop timeout value is 120 seconds and if the
4289
4350
  * parameter is not specified, the default value of 30 seconds is used.</p>
4290
4351
  * <p>For tasks using the EC2 launch type, if the <code>stopTimeout</code>
4291
4352
  * parameter is not specified, the value set for the Amazon ECS container agent configuration
@@ -4574,8 +4635,17 @@ export declare namespace ContainerDefinition {
4574
4635
  * tasks hosted on Fargate. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/userguide/using_data_volumes.html">Fargate task
4575
4636
  * storage</a> in the <i>Amazon ECS User Guide for Fargate</i>.</p>
4576
4637
  * <note>
4577
- * <p>This parameter is only supported for tasks hosted on Fargate using platform
4578
- * version <code>1.4.0</code> or later.</p>
4638
+ * <p>This parameter is only supported for tasks hosted on Fargate using the following platform versions:</p>
4639
+ * <ul>
4640
+ * <li>
4641
+ * <p>Linux platform
4642
+ * version <code>1.4.0</code> or later.</p>
4643
+ * </li>
4644
+ * <li>
4645
+ * <p>Windows platform
4646
+ * version <code>1.0.0</code> or later.</p>
4647
+ * </li>
4648
+ * </ul>
4579
4649
  * </note>
4580
4650
  */
4581
4651
  export interface EphemeralStorage {
@@ -4593,7 +4663,7 @@ export declare namespace EphemeralStorage {
4593
4663
  const filterSensitiveLog: (obj: EphemeralStorage) => any;
4594
4664
  }
4595
4665
  /**
4596
- * <p>Details on a Elastic Inference accelerator. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-eia.html">Working with
4666
+ * <p>Details on a Elastic Inference accelerator. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-inference.html">Working with
4597
4667
  * Amazon Elastic Inference on Amazon ECS</a> in the
4598
4668
  * <i>Amazon Elastic Container Service Developer Guide</i>.</p>
4599
4669
  */
@@ -4737,6 +4807,39 @@ export declare namespace ProxyConfiguration {
4737
4807
  */
4738
4808
  const filterSensitiveLog: (obj: ProxyConfiguration) => any;
4739
4809
  }
4810
+ export declare enum CPUArchitecture {
4811
+ ARM64 = "ARM64",
4812
+ X86_64 = "X86_64"
4813
+ }
4814
+ export declare enum OSFamily {
4815
+ LINUX = "LINUX",
4816
+ WINDOWS_SERVER_2004_CORE = "WINDOWS_SERVER_2004_CORE",
4817
+ WINDOWS_SERVER_2016_FULL = "WINDOWS_SERVER_2016_FULL",
4818
+ WINDOWS_SERVER_2019_CORE = "WINDOWS_SERVER_2019_CORE",
4819
+ WINDOWS_SERVER_2019_FULL = "WINDOWS_SERVER_2019_FULL",
4820
+ WINDOWS_SERVER_2022_CORE = "WINDOWS_SERVER_2022_CORE",
4821
+ WINDOWS_SERVER_2022_FULL = "WINDOWS_SERVER_2022_FULL",
4822
+ WINDOWS_SERVER_20H2_CORE = "WINDOWS_SERVER_20H2_CORE"
4823
+ }
4824
+ /**
4825
+ * <p>Information about the platform for the Amazon ECS service or task.</p>
4826
+ */
4827
+ export interface RuntimePlatform {
4828
+ /**
4829
+ * <p>The CPU architecture.</p>
4830
+ */
4831
+ cpuArchitecture?: CPUArchitecture | string;
4832
+ /**
4833
+ * <p>The operating system.</p>
4834
+ */
4835
+ operatingSystemFamily?: OSFamily | string;
4836
+ }
4837
+ export declare namespace RuntimePlatform {
4838
+ /**
4839
+ * @internal
4840
+ */
4841
+ const filterSensitiveLog: (obj: RuntimePlatform) => any;
4842
+ }
4740
4843
  export declare enum TaskDefinitionStatus {
4741
4844
  ACTIVE = "ACTIVE",
4742
4845
  INACTIVE = "INACTIVE"
@@ -5141,6 +5244,11 @@ export interface TaskDefinition {
5141
5244
  * in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
5142
5245
  */
5143
5246
  compatibilities?: (Compatibility | string)[];
5247
+ /**
5248
+ * <p>The operating system that your task definitions are running on. A platform family is specified only for tasks using the Fargate launch type. </p>
5249
+ * <p>When you specify a task in a service, this value must match the <code>runtimePlatform</code> value of the service.</p>
5250
+ */
5251
+ runtimePlatform?: RuntimePlatform;
5144
5252
  /**
5145
5253
  * <p>The task launch types the task definition was validated against. To determine which
5146
5254
  * task launch types the task definition is validated for, see the <a>TaskDefinition$compatibilities</a> parameter.</p>
@@ -5877,7 +5985,7 @@ export declare namespace ContainerOverride {
5877
5985
  /**
5878
5986
  * <p>Details on an Elastic Inference accelerator task override. This parameter is used to
5879
5987
  * override the Elastic Inference accelerator specified in the task definition. For more
5880
- * information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-eia.html">Working with Amazon Elastic Inference on Amazon ECS</a> in the
5988
+ * information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-inference.html">Working with Amazon Elastic Inference on Amazon ECS</a> in the
5881
5989
  * <i>Amazon Elastic Container Service Developer Guide</i>.</p>
5882
5990
  */
5883
5991
  export interface InferenceAcceleratorOverride {
@@ -5914,7 +6022,9 @@ export interface TaskOverride {
5914
6022
  */
5915
6023
  inferenceAcceleratorOverrides?: InferenceAcceleratorOverride[];
5916
6024
  /**
5917
- * <p>The Amazon Resource Name (ARN) of the task execution IAM role override for the task.</p>
6025
+ * <p>The Amazon Resource Name (ARN) of the task execution IAM role override for the task. For more information,
6026
+ * see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_execution_IAM_role.html">Amazon ECS task
6027
+ * execution IAM role</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
5918
6028
  */
5919
6029
  executionRoleArn?: string;
5920
6030
  /**
@@ -5922,15 +6032,26 @@ export interface TaskOverride {
5922
6032
  */
5923
6033
  memory?: string;
5924
6034
  /**
5925
- * <p>The Amazon Resource Name (ARN) of the IAM role that containers in this task can assume. All containers
5926
- * in this task are granted the permissions that are specified in this role.</p>
6035
+ * <p>The Amazon Resource Name (ARN) of the IAM role that containers in this task can assume. All containers in
6036
+ * this task are granted the permissions that are specified in this role. For more
6037
+ * information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-iam-roles.html">IAM Role for Tasks</a>
6038
+ * in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
5927
6039
  */
5928
6040
  taskRoleArn?: string;
5929
6041
  /**
5930
6042
  * <p>The ephemeral storage setting override for the task.</p>
5931
6043
  * <note>
5932
- * <p>This parameter is only supported for tasks hosted on Fargate using platform
5933
- * version <code>1.4.0</code> or later.</p>
6044
+ * <p>This parameter is only supported for tasks hosted on Fargate using the following platform versions:</p>
6045
+ * <ul>
6046
+ * <li>
6047
+ * <p>Linux platform
6048
+ * version <code>1.4.0</code> or later.</p>
6049
+ * </li>
6050
+ * <li>
6051
+ * <p>Windows platform
6052
+ * version <code>1.0.0</code> or later.</p>
6053
+ * </li>
6054
+ * </ul>
5934
6055
  * </note>
5935
6056
  */
5936
6057
  ephemeralStorage?: EphemeralStorage;
@@ -6114,6 +6235,11 @@ export interface Task {
6114
6235
  * Versions</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
6115
6236
  */
6116
6237
  platformVersion?: string;
6238
+ /**
6239
+ * <p>The operating system that your tasks are running on. A platform family is specified only for tasks using the Fargate launch type. </p>
6240
+ * <p> All tasks that run as part of this service must use the same <code>platformFamily</code> value as the service, for example, <code>LINUX.</code>.</p>
6241
+ */
6242
+ platformFamily?: string;
6117
6243
  /**
6118
6244
  * <p>The Unix timestamp for when the container image pull began.</p>
6119
6245
  */
@@ -7624,11 +7750,25 @@ export interface RegisterTaskDefinitionRequest {
7624
7750
  * tasks hosted on Fargate. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/userguide/using_data_volumes.html">Fargate task
7625
7751
  * storage</a> in the <i>Amazon ECS User Guide for Fargate</i>.</p>
7626
7752
  * <note>
7627
- * <p>This parameter is only supported for tasks hosted on Fargate using platform
7628
- * version <code>1.4.0</code> or later.</p>
7753
+ * <p>This parameter is only supported for tasks hosted on Fargate using the following platform versions:</p>
7754
+ * <ul>
7755
+ * <li>
7756
+ * <p>Linux platform
7757
+ * version <code>1.4.0</code> or later.</p>
7758
+ * </li>
7759
+ * <li>
7760
+ * <p>Windows platform
7761
+ * version <code>1.0.0</code> or later.</p>
7762
+ * </li>
7763
+ * </ul>
7629
7764
  * </note>
7630
7765
  */
7631
7766
  ephemeralStorage?: EphemeralStorage;
7767
+ /**
7768
+ * <p>The operating system that your tasks definitions run on. A platform family is specified only for tasks using the Fargate launch type. </p>
7769
+ * <p>When you specify a task definition in a service, this value must match the <code>runtimePlatform</code> value of the service.</p>
7770
+ */
7771
+ runtimePlatform?: RuntimePlatform;
7632
7772
  }
7633
7773
  export declare namespace RegisterTaskDefinitionRequest {
7634
7774
  /**
@@ -7828,6 +7968,11 @@ export interface RunTaskRequest {
7828
7968
  * <p>The <code>family</code> and <code>revision</code> (<code>family:revision</code>) or
7829
7969
  * full ARN of the task definition to run. If a <code>revision</code> is not specified,
7830
7970
  * the latest <code>ACTIVE</code> revision is used.</p>
7971
+ * <p>The full ARN value must match the value that you specified ias the <code>Resource</code>
7972
+ * of the IAM principal's permissions policy. For example, if the <code>Resource</code> is
7973
+ * arn:aws:ecs:us-east-1:111122223333:task-definition/TaskFamilyName:*, the
7974
+ * <code>taskDefinition</code> ARN value must be
7975
+ * <code>arn:aws:ecs:us-east-1:111122223333:task-definition/TaskFamilyName</code>.</p>
7831
7976
  */
7832
7977
  taskDefinition: string | undefined;
7833
7978
  }
@@ -0,0 +1,9 @@
1
+ export * from "./Interfaces";
2
+ export * from "./ListAccountSettingsPaginator";
3
+ export * from "./ListAttributesPaginator";
4
+ export * from "./ListClustersPaginator";
5
+ export * from "./ListContainerInstancesPaginator";
6
+ export * from "./ListServicesPaginator";
7
+ export * from "./ListTaskDefinitionFamiliesPaginator";
8
+ export * from "./ListTaskDefinitionsPaginator";
9
+ export * from "./ListTasksPaginator";