@aws-sdk/client-ecs 3.321.1 → 3.326.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 (58) hide show
  1. package/dist-types/commands/CreateCapacityProviderCommand.d.ts +29 -0
  2. package/dist-types/commands/CreateClusterCommand.d.ts +72 -0
  3. package/dist-types/commands/CreateServiceCommand.d.ts +236 -0
  4. package/dist-types/commands/CreateTaskSetCommand.d.ts +69 -0
  5. package/dist-types/commands/DeleteAccountSettingCommand.d.ts +10 -0
  6. package/dist-types/commands/DeleteAttributesCommand.d.ts +13 -0
  7. package/dist-types/commands/DeleteCapacityProviderCommand.d.ts +29 -0
  8. package/dist-types/commands/DeleteClusterCommand.d.ts +72 -0
  9. package/dist-types/commands/DeleteServiceCommand.d.ts +236 -0
  10. package/dist-types/commands/DeleteTaskDefinitionsCommand.d.ts +275 -0
  11. package/dist-types/commands/DeleteTaskSetCommand.d.ts +69 -0
  12. package/dist-types/commands/DeregisterContainerInstanceCommand.d.ts +85 -0
  13. package/dist-types/commands/DeregisterTaskDefinitionCommand.d.ts +266 -0
  14. package/dist-types/commands/DescribeCapacityProvidersCommand.d.ts +39 -0
  15. package/dist-types/commands/DescribeClustersCommand.d.ts +81 -0
  16. package/dist-types/commands/DescribeContainerInstancesCommand.d.ts +94 -0
  17. package/dist-types/commands/DescribeServicesCommand.d.ts +245 -0
  18. package/dist-types/commands/DescribeTaskDefinitionCommand.d.ts +272 -0
  19. package/dist-types/commands/DescribeTaskSetsCommand.d.ts +78 -0
  20. package/dist-types/commands/DescribeTasksCommand.d.ts +170 -0
  21. package/dist-types/commands/DiscoverPollEndpointCommand.d.ts +8 -0
  22. package/dist-types/commands/ExecuteCommandCommand.d.ts +15 -0
  23. package/dist-types/commands/GetTaskProtectionCommand.d.ts +19 -0
  24. package/dist-types/commands/ListAccountSettingsCommand.d.ts +13 -0
  25. package/dist-types/commands/ListAttributesCommand.d.ts +14 -0
  26. package/dist-types/commands/ListClustersCommand.d.ts +9 -0
  27. package/dist-types/commands/ListContainerInstancesCommand.d.ts +9 -0
  28. package/dist-types/commands/ListServicesByNamespaceCommand.d.ts +9 -0
  29. package/dist-types/commands/ListServicesCommand.d.ts +9 -0
  30. package/dist-types/commands/ListTagsForResourceCommand.d.ts +11 -0
  31. package/dist-types/commands/ListTaskDefinitionFamiliesCommand.d.ts +9 -0
  32. package/dist-types/commands/ListTaskDefinitionsCommand.d.ts +9 -0
  33. package/dist-types/commands/ListTasksCommand.d.ts +9 -0
  34. package/dist-types/commands/PutAccountSettingCommand.d.ts +10 -0
  35. package/dist-types/commands/PutAccountSettingDefaultCommand.d.ts +10 -0
  36. package/dist-types/commands/PutAttributesCommand.d.ts +13 -0
  37. package/dist-types/commands/PutClusterCapacityProvidersCommand.d.ts +72 -0
  38. package/dist-types/commands/RegisterContainerInstanceCommand.d.ts +85 -0
  39. package/dist-types/commands/RegisterTaskDefinitionCommand.d.ts +272 -0
  40. package/dist-types/commands/RunTaskCommand.d.ts +170 -0
  41. package/dist-types/commands/StartTaskCommand.d.ts +170 -0
  42. package/dist-types/commands/StopTaskCommand.d.ts +161 -0
  43. package/dist-types/commands/SubmitAttachmentStateChangesCommand.d.ts +6 -0
  44. package/dist-types/commands/SubmitContainerStateChangeCommand.d.ts +6 -0
  45. package/dist-types/commands/SubmitTaskStateChangeCommand.d.ts +6 -0
  46. package/dist-types/commands/TagResourceCommand.d.ts +4 -0
  47. package/dist-types/commands/UntagResourceCommand.d.ts +4 -0
  48. package/dist-types/commands/UpdateCapacityProviderCommand.d.ts +29 -0
  49. package/dist-types/commands/UpdateClusterCommand.d.ts +72 -0
  50. package/dist-types/commands/UpdateClusterSettingsCommand.d.ts +72 -0
  51. package/dist-types/commands/UpdateContainerAgentCommand.d.ts +85 -0
  52. package/dist-types/commands/UpdateContainerInstancesStateCommand.d.ts +94 -0
  53. package/dist-types/commands/UpdateServiceCommand.d.ts +236 -0
  54. package/dist-types/commands/UpdateServicePrimaryTaskSetCommand.d.ts +69 -0
  55. package/dist-types/commands/UpdateTaskProtectionCommand.d.ts +19 -0
  56. package/dist-types/commands/UpdateTaskSetCommand.d.ts +69 -0
  57. package/dist-types/models/models_0.d.ts +4 -2
  58. package/package.json +16 -16
@@ -39,6 +39,73 @@ export interface UpdateTaskSetCommandOutput extends UpdateTaskSetResponse, __Met
39
39
  * };
40
40
  * const command = new UpdateTaskSetCommand(input);
41
41
  * const response = await client.send(command);
42
+ * // { // UpdateTaskSetResponse
43
+ * // taskSet: { // TaskSet
44
+ * // id: "STRING_VALUE",
45
+ * // taskSetArn: "STRING_VALUE",
46
+ * // serviceArn: "STRING_VALUE",
47
+ * // clusterArn: "STRING_VALUE",
48
+ * // startedBy: "STRING_VALUE",
49
+ * // externalId: "STRING_VALUE",
50
+ * // status: "STRING_VALUE",
51
+ * // taskDefinition: "STRING_VALUE",
52
+ * // computedDesiredCount: Number("int"),
53
+ * // pendingCount: Number("int"),
54
+ * // runningCount: Number("int"),
55
+ * // createdAt: new Date("TIMESTAMP"),
56
+ * // updatedAt: new Date("TIMESTAMP"),
57
+ * // launchType: "EC2" || "FARGATE" || "EXTERNAL",
58
+ * // capacityProviderStrategy: [ // CapacityProviderStrategy
59
+ * // { // CapacityProviderStrategyItem
60
+ * // capacityProvider: "STRING_VALUE", // required
61
+ * // weight: Number("int"),
62
+ * // base: Number("int"),
63
+ * // },
64
+ * // ],
65
+ * // platformVersion: "STRING_VALUE",
66
+ * // platformFamily: "STRING_VALUE",
67
+ * // networkConfiguration: { // NetworkConfiguration
68
+ * // awsvpcConfiguration: { // AwsVpcConfiguration
69
+ * // subnets: [ // StringList // required
70
+ * // "STRING_VALUE",
71
+ * // ],
72
+ * // securityGroups: [
73
+ * // "STRING_VALUE",
74
+ * // ],
75
+ * // assignPublicIp: "ENABLED" || "DISABLED",
76
+ * // },
77
+ * // },
78
+ * // loadBalancers: [ // LoadBalancers
79
+ * // { // LoadBalancer
80
+ * // targetGroupArn: "STRING_VALUE",
81
+ * // loadBalancerName: "STRING_VALUE",
82
+ * // containerName: "STRING_VALUE",
83
+ * // containerPort: Number("int"),
84
+ * // },
85
+ * // ],
86
+ * // serviceRegistries: [ // ServiceRegistries
87
+ * // { // ServiceRegistry
88
+ * // registryArn: "STRING_VALUE",
89
+ * // port: Number("int"),
90
+ * // containerName: "STRING_VALUE",
91
+ * // containerPort: Number("int"),
92
+ * // },
93
+ * // ],
94
+ * // scale: { // Scale
95
+ * // value: Number("double"),
96
+ * // unit: "PERCENT",
97
+ * // },
98
+ * // stabilityStatus: "STEADY_STATE" || "STABILIZING",
99
+ * // stabilityStatusAt: new Date("TIMESTAMP"),
100
+ * // tags: [ // Tags
101
+ * // { // Tag
102
+ * // key: "STRING_VALUE",
103
+ * // value: "STRING_VALUE",
104
+ * // },
105
+ * // ],
106
+ * // },
107
+ * // };
108
+ *
42
109
  * ```
43
110
  *
44
111
  * @param UpdateTaskSetCommandInput - {@link UpdateTaskSetCommandInput}
@@ -80,6 +147,8 @@ export interface UpdateTaskSetCommandOutput extends UpdateTaskSetResponse, __Met
80
147
  * @throws {@link UnsupportedFeatureException} (client fault)
81
148
  * <p>The specified task isn't supported in this Region.</p>
82
149
  *
150
+ * @throws {@link ECSServiceException}
151
+ * <p>Base exception class for all service exceptions from ECS service.</p>
83
152
  *
84
153
  */
85
154
  export declare class UpdateTaskSetCommand extends $Command<UpdateTaskSetCommandInput, UpdateTaskSetCommandOutput, ECSClientResolvedConfig> {
@@ -7981,7 +7981,8 @@ export interface PutAccountSettingRequest {
7981
7981
  name: SettingName | string | undefined;
7982
7982
  /**
7983
7983
  * <p>The account setting value for the specified principal ARN. Accepted values are
7984
- * <code>enabled</code> and <code>disabled</code>.</p>
7984
+ * <code>enabled</code>, <code>disabled</code>, <code>on</code>, and
7985
+ * <code>off</code>.</p>
7985
7986
  */
7986
7987
  value: string | undefined;
7987
7988
  /**
@@ -8031,7 +8032,8 @@ export interface PutAccountSettingDefaultRequest {
8031
8032
  name: SettingName | string | undefined;
8032
8033
  /**
8033
8034
  * <p>The account setting value for the specified principal ARN. Accepted values are
8034
- * <code>enabled</code> and <code>disabled</code>.</p>
8035
+ * <code>enabled</code>, <code>disabled</code>, <code>on</code>, and
8036
+ * <code>off</code>.</p>
8035
8037
  */
8036
8038
  value: string | undefined;
8037
8039
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-ecs",
3
3
  "description": "AWS SDK for JavaScript Ecs Client for Node.js, Browser and React Native",
4
- "version": "3.321.1",
4
+ "version": "3.326.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,33 +21,33 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.321.1",
24
+ "@aws-sdk/client-sts": "3.326.0",
25
25
  "@aws-sdk/config-resolver": "3.310.0",
26
- "@aws-sdk/credential-provider-node": "3.321.1",
26
+ "@aws-sdk/credential-provider-node": "3.326.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.310.0",
28
28
  "@aws-sdk/hash-node": "3.310.0",
29
29
  "@aws-sdk/invalid-dependency": "3.310.0",
30
- "@aws-sdk/middleware-content-length": "3.310.0",
31
- "@aws-sdk/middleware-endpoint": "3.310.0",
32
- "@aws-sdk/middleware-host-header": "3.310.0",
33
- "@aws-sdk/middleware-logger": "3.310.0",
34
- "@aws-sdk/middleware-recursion-detection": "3.310.0",
35
- "@aws-sdk/middleware-retry": "3.310.0",
36
- "@aws-sdk/middleware-serde": "3.310.0",
37
- "@aws-sdk/middleware-signing": "3.310.0",
38
- "@aws-sdk/middleware-stack": "3.310.0",
39
- "@aws-sdk/middleware-user-agent": "3.319.0",
30
+ "@aws-sdk/middleware-content-length": "3.325.0",
31
+ "@aws-sdk/middleware-endpoint": "3.325.0",
32
+ "@aws-sdk/middleware-host-header": "3.325.0",
33
+ "@aws-sdk/middleware-logger": "3.325.0",
34
+ "@aws-sdk/middleware-recursion-detection": "3.325.0",
35
+ "@aws-sdk/middleware-retry": "3.325.0",
36
+ "@aws-sdk/middleware-serde": "3.325.0",
37
+ "@aws-sdk/middleware-signing": "3.325.0",
38
+ "@aws-sdk/middleware-stack": "3.325.0",
39
+ "@aws-sdk/middleware-user-agent": "3.325.0",
40
40
  "@aws-sdk/node-config-provider": "3.310.0",
41
41
  "@aws-sdk/node-http-handler": "3.321.1",
42
42
  "@aws-sdk/protocol-http": "3.310.0",
43
- "@aws-sdk/smithy-client": "3.316.0",
43
+ "@aws-sdk/smithy-client": "3.325.0",
44
44
  "@aws-sdk/types": "3.310.0",
45
45
  "@aws-sdk/url-parser": "3.310.0",
46
46
  "@aws-sdk/util-base64": "3.310.0",
47
47
  "@aws-sdk/util-body-length-browser": "3.310.0",
48
48
  "@aws-sdk/util-body-length-node": "3.310.0",
49
- "@aws-sdk/util-defaults-mode-browser": "3.316.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.316.0",
49
+ "@aws-sdk/util-defaults-mode-browser": "3.325.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.325.0",
51
51
  "@aws-sdk/util-endpoints": "3.319.0",
52
52
  "@aws-sdk/util-retry": "3.310.0",
53
53
  "@aws-sdk/util-user-agent-browser": "3.310.0",