@aws-sdk/client-ecs 3.325.0 → 3.327.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.
- package/dist-cjs/models/models_0.js +14 -14
- package/dist-cjs/protocols/Aws_json1_1.js +6 -0
- package/dist-es/models/models_0.js +12 -12
- package/dist-es/protocols/Aws_json1_1.js +6 -0
- package/dist-types/commands/CreateCapacityProviderCommand.d.ts +29 -0
- package/dist-types/commands/CreateClusterCommand.d.ts +75 -0
- package/dist-types/commands/CreateServiceCommand.d.ts +236 -0
- package/dist-types/commands/CreateTaskSetCommand.d.ts +69 -0
- package/dist-types/commands/DeleteAccountSettingCommand.d.ts +10 -0
- package/dist-types/commands/DeleteAttributesCommand.d.ts +13 -0
- package/dist-types/commands/DeleteCapacityProviderCommand.d.ts +29 -0
- package/dist-types/commands/DeleteClusterCommand.d.ts +72 -0
- package/dist-types/commands/DeleteServiceCommand.d.ts +236 -0
- package/dist-types/commands/DeleteTaskDefinitionsCommand.d.ts +275 -0
- package/dist-types/commands/DeleteTaskSetCommand.d.ts +69 -0
- package/dist-types/commands/DeregisterContainerInstanceCommand.d.ts +85 -0
- package/dist-types/commands/DeregisterTaskDefinitionCommand.d.ts +266 -0
- package/dist-types/commands/DescribeCapacityProvidersCommand.d.ts +39 -0
- package/dist-types/commands/DescribeClustersCommand.d.ts +81 -0
- package/dist-types/commands/DescribeContainerInstancesCommand.d.ts +94 -0
- package/dist-types/commands/DescribeServicesCommand.d.ts +245 -0
- package/dist-types/commands/DescribeTaskDefinitionCommand.d.ts +272 -0
- package/dist-types/commands/DescribeTaskSetsCommand.d.ts +78 -0
- package/dist-types/commands/DescribeTasksCommand.d.ts +170 -0
- package/dist-types/commands/DiscoverPollEndpointCommand.d.ts +8 -0
- package/dist-types/commands/ExecuteCommandCommand.d.ts +15 -0
- package/dist-types/commands/GetTaskProtectionCommand.d.ts +19 -0
- package/dist-types/commands/ListAccountSettingsCommand.d.ts +13 -0
- package/dist-types/commands/ListAttributesCommand.d.ts +14 -0
- package/dist-types/commands/ListClustersCommand.d.ts +9 -0
- package/dist-types/commands/ListContainerInstancesCommand.d.ts +9 -0
- package/dist-types/commands/ListServicesByNamespaceCommand.d.ts +9 -0
- package/dist-types/commands/ListServicesCommand.d.ts +9 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +11 -0
- package/dist-types/commands/ListTaskDefinitionFamiliesCommand.d.ts +9 -0
- package/dist-types/commands/ListTaskDefinitionsCommand.d.ts +9 -0
- package/dist-types/commands/ListTasksCommand.d.ts +9 -0
- package/dist-types/commands/PutAccountSettingCommand.d.ts +10 -0
- package/dist-types/commands/PutAccountSettingDefaultCommand.d.ts +10 -0
- package/dist-types/commands/PutAttributesCommand.d.ts +13 -0
- package/dist-types/commands/PutClusterCapacityProvidersCommand.d.ts +72 -0
- package/dist-types/commands/RegisterContainerInstanceCommand.d.ts +85 -0
- package/dist-types/commands/RegisterTaskDefinitionCommand.d.ts +272 -0
- package/dist-types/commands/RunTaskCommand.d.ts +170 -0
- package/dist-types/commands/StartTaskCommand.d.ts +170 -0
- package/dist-types/commands/StopTaskCommand.d.ts +161 -0
- package/dist-types/commands/SubmitAttachmentStateChangesCommand.d.ts +6 -0
- package/dist-types/commands/SubmitContainerStateChangeCommand.d.ts +6 -0
- package/dist-types/commands/SubmitTaskStateChangeCommand.d.ts +6 -0
- package/dist-types/commands/TagResourceCommand.d.ts +4 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +4 -0
- package/dist-types/commands/UpdateCapacityProviderCommand.d.ts +29 -0
- package/dist-types/commands/UpdateClusterCommand.d.ts +75 -0
- package/dist-types/commands/UpdateClusterSettingsCommand.d.ts +72 -0
- package/dist-types/commands/UpdateContainerAgentCommand.d.ts +85 -0
- package/dist-types/commands/UpdateContainerInstancesStateCommand.d.ts +94 -0
- package/dist-types/commands/UpdateServiceCommand.d.ts +236 -0
- package/dist-types/commands/UpdateServicePrimaryTaskSetCommand.d.ts +69 -0
- package/dist-types/commands/UpdateTaskProtectionCommand.d.ts +19 -0
- package/dist-types/commands/UpdateTaskSetCommand.d.ts +69 -0
- package/dist-types/models/models_0.d.ts +12 -12
- package/dist-types/ts3.4/models/models_0.d.ts +7 -7
- package/package.json +7 -7
|
@@ -41,6 +41,33 @@ export interface UpdateCapacityProviderCommandOutput extends UpdateCapacityProvi
|
|
|
41
41
|
* };
|
|
42
42
|
* const command = new UpdateCapacityProviderCommand(input);
|
|
43
43
|
* const response = await client.send(command);
|
|
44
|
+
* // { // UpdateCapacityProviderResponse
|
|
45
|
+
* // capacityProvider: { // CapacityProvider
|
|
46
|
+
* // capacityProviderArn: "STRING_VALUE",
|
|
47
|
+
* // name: "STRING_VALUE",
|
|
48
|
+
* // status: "ACTIVE" || "INACTIVE",
|
|
49
|
+
* // autoScalingGroupProvider: { // AutoScalingGroupProvider
|
|
50
|
+
* // autoScalingGroupArn: "STRING_VALUE", // required
|
|
51
|
+
* // managedScaling: { // ManagedScaling
|
|
52
|
+
* // status: "ENABLED" || "DISABLED",
|
|
53
|
+
* // targetCapacity: Number("int"),
|
|
54
|
+
* // minimumScalingStepSize: Number("int"),
|
|
55
|
+
* // maximumScalingStepSize: Number("int"),
|
|
56
|
+
* // instanceWarmupPeriod: Number("int"),
|
|
57
|
+
* // },
|
|
58
|
+
* // managedTerminationProtection: "ENABLED" || "DISABLED",
|
|
59
|
+
* // },
|
|
60
|
+
* // updateStatus: "DELETE_IN_PROGRESS" || "DELETE_COMPLETE" || "DELETE_FAILED" || "UPDATE_IN_PROGRESS" || "UPDATE_COMPLETE" || "UPDATE_FAILED",
|
|
61
|
+
* // updateStatusReason: "STRING_VALUE",
|
|
62
|
+
* // tags: [ // Tags
|
|
63
|
+
* // { // Tag
|
|
64
|
+
* // key: "STRING_VALUE",
|
|
65
|
+
* // value: "STRING_VALUE",
|
|
66
|
+
* // },
|
|
67
|
+
* // ],
|
|
68
|
+
* // },
|
|
69
|
+
* // };
|
|
70
|
+
*
|
|
44
71
|
* ```
|
|
45
72
|
*
|
|
46
73
|
* @param UpdateCapacityProviderCommandInput - {@link UpdateCapacityProviderCommandInput}
|
|
@@ -61,6 +88,8 @@ export interface UpdateCapacityProviderCommandOutput extends UpdateCapacityProvi
|
|
|
61
88
|
* @throws {@link ServerException} (server fault)
|
|
62
89
|
* <p>These errors are usually caused by a server issue.</p>
|
|
63
90
|
*
|
|
91
|
+
* @throws {@link ECSServiceException}
|
|
92
|
+
* <p>Base exception class for all service exceptions from ECS service.</p>
|
|
64
93
|
*
|
|
65
94
|
*/
|
|
66
95
|
export declare class UpdateCapacityProviderCommand extends $Command<UpdateCapacityProviderCommandInput, UpdateCapacityProviderCommandOutput, ECSClientResolvedConfig> {
|
|
@@ -53,6 +53,76 @@ export interface UpdateClusterCommandOutput extends UpdateClusterResponse, __Met
|
|
|
53
53
|
* };
|
|
54
54
|
* const command = new UpdateClusterCommand(input);
|
|
55
55
|
* const response = await client.send(command);
|
|
56
|
+
* // { // UpdateClusterResponse
|
|
57
|
+
* // cluster: { // Cluster
|
|
58
|
+
* // clusterArn: "STRING_VALUE",
|
|
59
|
+
* // clusterName: "STRING_VALUE",
|
|
60
|
+
* // configuration: { // ClusterConfiguration
|
|
61
|
+
* // executeCommandConfiguration: { // ExecuteCommandConfiguration
|
|
62
|
+
* // kmsKeyId: "STRING_VALUE",
|
|
63
|
+
* // logging: "NONE" || "DEFAULT" || "OVERRIDE",
|
|
64
|
+
* // logConfiguration: { // ExecuteCommandLogConfiguration
|
|
65
|
+
* // cloudWatchLogGroupName: "STRING_VALUE",
|
|
66
|
+
* // cloudWatchEncryptionEnabled: true || false,
|
|
67
|
+
* // s3BucketName: "STRING_VALUE",
|
|
68
|
+
* // s3EncryptionEnabled: true || false,
|
|
69
|
+
* // s3KeyPrefix: "STRING_VALUE",
|
|
70
|
+
* // },
|
|
71
|
+
* // },
|
|
72
|
+
* // },
|
|
73
|
+
* // status: "STRING_VALUE",
|
|
74
|
+
* // registeredContainerInstancesCount: Number("int"),
|
|
75
|
+
* // runningTasksCount: Number("int"),
|
|
76
|
+
* // pendingTasksCount: Number("int"),
|
|
77
|
+
* // activeServicesCount: Number("int"),
|
|
78
|
+
* // statistics: [ // Statistics
|
|
79
|
+
* // { // KeyValuePair
|
|
80
|
+
* // name: "STRING_VALUE",
|
|
81
|
+
* // value: "STRING_VALUE",
|
|
82
|
+
* // },
|
|
83
|
+
* // ],
|
|
84
|
+
* // tags: [ // Tags
|
|
85
|
+
* // { // Tag
|
|
86
|
+
* // key: "STRING_VALUE",
|
|
87
|
+
* // value: "STRING_VALUE",
|
|
88
|
+
* // },
|
|
89
|
+
* // ],
|
|
90
|
+
* // settings: [ // ClusterSettings
|
|
91
|
+
* // { // ClusterSetting
|
|
92
|
+
* // name: "containerInsights",
|
|
93
|
+
* // value: "STRING_VALUE",
|
|
94
|
+
* // },
|
|
95
|
+
* // ],
|
|
96
|
+
* // capacityProviders: [ // StringList
|
|
97
|
+
* // "STRING_VALUE",
|
|
98
|
+
* // ],
|
|
99
|
+
* // defaultCapacityProviderStrategy: [ // CapacityProviderStrategy
|
|
100
|
+
* // { // CapacityProviderStrategyItem
|
|
101
|
+
* // capacityProvider: "STRING_VALUE", // required
|
|
102
|
+
* // weight: Number("int"),
|
|
103
|
+
* // base: Number("int"),
|
|
104
|
+
* // },
|
|
105
|
+
* // ],
|
|
106
|
+
* // attachments: [ // Attachments
|
|
107
|
+
* // { // Attachment
|
|
108
|
+
* // id: "STRING_VALUE",
|
|
109
|
+
* // type: "STRING_VALUE",
|
|
110
|
+
* // status: "STRING_VALUE",
|
|
111
|
+
* // details: [ // AttachmentDetails
|
|
112
|
+
* // {
|
|
113
|
+
* // name: "STRING_VALUE",
|
|
114
|
+
* // value: "STRING_VALUE",
|
|
115
|
+
* // },
|
|
116
|
+
* // ],
|
|
117
|
+
* // },
|
|
118
|
+
* // ],
|
|
119
|
+
* // attachmentsStatus: "STRING_VALUE",
|
|
120
|
+
* // serviceConnectDefaults: { // ClusterServiceConnectDefaults
|
|
121
|
+
* // namespace: "STRING_VALUE",
|
|
122
|
+
* // },
|
|
123
|
+
* // },
|
|
124
|
+
* // };
|
|
125
|
+
*
|
|
56
126
|
* ```
|
|
57
127
|
*
|
|
58
128
|
* @param UpdateClusterCommandInput - {@link UpdateClusterCommandInput}
|
|
@@ -73,9 +143,14 @@ export interface UpdateClusterCommandOutput extends UpdateClusterResponse, __Met
|
|
|
73
143
|
* <p>The specified parameter isn't valid. Review the available parameters for the API
|
|
74
144
|
* request.</p>
|
|
75
145
|
*
|
|
146
|
+
* @throws {@link NamespaceNotFoundException} (client fault)
|
|
147
|
+
* <p>The specified namespace wasn't found.</p>
|
|
148
|
+
*
|
|
76
149
|
* @throws {@link ServerException} (server fault)
|
|
77
150
|
* <p>These errors are usually caused by a server issue.</p>
|
|
78
151
|
*
|
|
152
|
+
* @throws {@link ECSServiceException}
|
|
153
|
+
* <p>Base exception class for all service exceptions from ECS service.</p>
|
|
79
154
|
*
|
|
80
155
|
*/
|
|
81
156
|
export declare class UpdateClusterCommand extends $Command<UpdateClusterCommandInput, UpdateClusterCommandOutput, ECSClientResolvedConfig> {
|
|
@@ -37,6 +37,76 @@ export interface UpdateClusterSettingsCommandOutput extends UpdateClusterSetting
|
|
|
37
37
|
* };
|
|
38
38
|
* const command = new UpdateClusterSettingsCommand(input);
|
|
39
39
|
* const response = await client.send(command);
|
|
40
|
+
* // { // UpdateClusterSettingsResponse
|
|
41
|
+
* // cluster: { // Cluster
|
|
42
|
+
* // clusterArn: "STRING_VALUE",
|
|
43
|
+
* // clusterName: "STRING_VALUE",
|
|
44
|
+
* // configuration: { // ClusterConfiguration
|
|
45
|
+
* // executeCommandConfiguration: { // ExecuteCommandConfiguration
|
|
46
|
+
* // kmsKeyId: "STRING_VALUE",
|
|
47
|
+
* // logging: "NONE" || "DEFAULT" || "OVERRIDE",
|
|
48
|
+
* // logConfiguration: { // ExecuteCommandLogConfiguration
|
|
49
|
+
* // cloudWatchLogGroupName: "STRING_VALUE",
|
|
50
|
+
* // cloudWatchEncryptionEnabled: true || false,
|
|
51
|
+
* // s3BucketName: "STRING_VALUE",
|
|
52
|
+
* // s3EncryptionEnabled: true || false,
|
|
53
|
+
* // s3KeyPrefix: "STRING_VALUE",
|
|
54
|
+
* // },
|
|
55
|
+
* // },
|
|
56
|
+
* // },
|
|
57
|
+
* // status: "STRING_VALUE",
|
|
58
|
+
* // registeredContainerInstancesCount: Number("int"),
|
|
59
|
+
* // runningTasksCount: Number("int"),
|
|
60
|
+
* // pendingTasksCount: Number("int"),
|
|
61
|
+
* // activeServicesCount: Number("int"),
|
|
62
|
+
* // statistics: [ // Statistics
|
|
63
|
+
* // { // KeyValuePair
|
|
64
|
+
* // name: "STRING_VALUE",
|
|
65
|
+
* // value: "STRING_VALUE",
|
|
66
|
+
* // },
|
|
67
|
+
* // ],
|
|
68
|
+
* // tags: [ // Tags
|
|
69
|
+
* // { // Tag
|
|
70
|
+
* // key: "STRING_VALUE",
|
|
71
|
+
* // value: "STRING_VALUE",
|
|
72
|
+
* // },
|
|
73
|
+
* // ],
|
|
74
|
+
* // settings: [ // ClusterSettings
|
|
75
|
+
* // { // ClusterSetting
|
|
76
|
+
* // name: "containerInsights",
|
|
77
|
+
* // value: "STRING_VALUE",
|
|
78
|
+
* // },
|
|
79
|
+
* // ],
|
|
80
|
+
* // capacityProviders: [ // StringList
|
|
81
|
+
* // "STRING_VALUE",
|
|
82
|
+
* // ],
|
|
83
|
+
* // defaultCapacityProviderStrategy: [ // CapacityProviderStrategy
|
|
84
|
+
* // { // CapacityProviderStrategyItem
|
|
85
|
+
* // capacityProvider: "STRING_VALUE", // required
|
|
86
|
+
* // weight: Number("int"),
|
|
87
|
+
* // base: Number("int"),
|
|
88
|
+
* // },
|
|
89
|
+
* // ],
|
|
90
|
+
* // attachments: [ // Attachments
|
|
91
|
+
* // { // Attachment
|
|
92
|
+
* // id: "STRING_VALUE",
|
|
93
|
+
* // type: "STRING_VALUE",
|
|
94
|
+
* // status: "STRING_VALUE",
|
|
95
|
+
* // details: [ // AttachmentDetails
|
|
96
|
+
* // {
|
|
97
|
+
* // name: "STRING_VALUE",
|
|
98
|
+
* // value: "STRING_VALUE",
|
|
99
|
+
* // },
|
|
100
|
+
* // ],
|
|
101
|
+
* // },
|
|
102
|
+
* // ],
|
|
103
|
+
* // attachmentsStatus: "STRING_VALUE",
|
|
104
|
+
* // serviceConnectDefaults: { // ClusterServiceConnectDefaults
|
|
105
|
+
* // namespace: "STRING_VALUE",
|
|
106
|
+
* // },
|
|
107
|
+
* // },
|
|
108
|
+
* // };
|
|
109
|
+
*
|
|
40
110
|
* ```
|
|
41
111
|
*
|
|
42
112
|
* @param UpdateClusterSettingsCommandInput - {@link UpdateClusterSettingsCommandInput}
|
|
@@ -60,6 +130,8 @@ export interface UpdateClusterSettingsCommandOutput extends UpdateClusterSetting
|
|
|
60
130
|
* @throws {@link ServerException} (server fault)
|
|
61
131
|
* <p>These errors are usually caused by a server issue.</p>
|
|
62
132
|
*
|
|
133
|
+
* @throws {@link ECSServiceException}
|
|
134
|
+
* <p>Base exception class for all service exceptions from ECS service.</p>
|
|
63
135
|
*
|
|
64
136
|
*/
|
|
65
137
|
export declare class UpdateClusterSettingsCommand extends $Command<UpdateClusterSettingsCommandInput, UpdateClusterSettingsCommandOutput, ECSClientResolvedConfig> {
|
|
@@ -50,6 +50,89 @@ export interface UpdateContainerAgentCommandOutput extends UpdateContainerAgentR
|
|
|
50
50
|
* };
|
|
51
51
|
* const command = new UpdateContainerAgentCommand(input);
|
|
52
52
|
* const response = await client.send(command);
|
|
53
|
+
* // { // UpdateContainerAgentResponse
|
|
54
|
+
* // containerInstance: { // ContainerInstance
|
|
55
|
+
* // containerInstanceArn: "STRING_VALUE",
|
|
56
|
+
* // ec2InstanceId: "STRING_VALUE",
|
|
57
|
+
* // capacityProviderName: "STRING_VALUE",
|
|
58
|
+
* // version: Number("long"),
|
|
59
|
+
* // versionInfo: { // VersionInfo
|
|
60
|
+
* // agentVersion: "STRING_VALUE",
|
|
61
|
+
* // agentHash: "STRING_VALUE",
|
|
62
|
+
* // dockerVersion: "STRING_VALUE",
|
|
63
|
+
* // },
|
|
64
|
+
* // remainingResources: [ // Resources
|
|
65
|
+
* // { // Resource
|
|
66
|
+
* // name: "STRING_VALUE",
|
|
67
|
+
* // type: "STRING_VALUE",
|
|
68
|
+
* // doubleValue: Number("double"),
|
|
69
|
+
* // longValue: Number("long"),
|
|
70
|
+
* // integerValue: Number("int"),
|
|
71
|
+
* // stringSetValue: [ // StringList
|
|
72
|
+
* // "STRING_VALUE",
|
|
73
|
+
* // ],
|
|
74
|
+
* // },
|
|
75
|
+
* // ],
|
|
76
|
+
* // registeredResources: [
|
|
77
|
+
* // {
|
|
78
|
+
* // name: "STRING_VALUE",
|
|
79
|
+
* // type: "STRING_VALUE",
|
|
80
|
+
* // doubleValue: Number("double"),
|
|
81
|
+
* // longValue: Number("long"),
|
|
82
|
+
* // integerValue: Number("int"),
|
|
83
|
+
* // stringSetValue: [
|
|
84
|
+
* // "STRING_VALUE",
|
|
85
|
+
* // ],
|
|
86
|
+
* // },
|
|
87
|
+
* // ],
|
|
88
|
+
* // status: "STRING_VALUE",
|
|
89
|
+
* // statusReason: "STRING_VALUE",
|
|
90
|
+
* // agentConnected: true || false,
|
|
91
|
+
* // runningTasksCount: Number("int"),
|
|
92
|
+
* // pendingTasksCount: Number("int"),
|
|
93
|
+
* // agentUpdateStatus: "PENDING" || "STAGING" || "STAGED" || "UPDATING" || "UPDATED" || "FAILED",
|
|
94
|
+
* // attributes: [ // Attributes
|
|
95
|
+
* // { // Attribute
|
|
96
|
+
* // name: "STRING_VALUE", // required
|
|
97
|
+
* // value: "STRING_VALUE",
|
|
98
|
+
* // targetType: "container-instance",
|
|
99
|
+
* // targetId: "STRING_VALUE",
|
|
100
|
+
* // },
|
|
101
|
+
* // ],
|
|
102
|
+
* // registeredAt: new Date("TIMESTAMP"),
|
|
103
|
+
* // attachments: [ // Attachments
|
|
104
|
+
* // { // Attachment
|
|
105
|
+
* // id: "STRING_VALUE",
|
|
106
|
+
* // type: "STRING_VALUE",
|
|
107
|
+
* // status: "STRING_VALUE",
|
|
108
|
+
* // details: [ // AttachmentDetails
|
|
109
|
+
* // { // KeyValuePair
|
|
110
|
+
* // name: "STRING_VALUE",
|
|
111
|
+
* // value: "STRING_VALUE",
|
|
112
|
+
* // },
|
|
113
|
+
* // ],
|
|
114
|
+
* // },
|
|
115
|
+
* // ],
|
|
116
|
+
* // tags: [ // Tags
|
|
117
|
+
* // { // Tag
|
|
118
|
+
* // key: "STRING_VALUE",
|
|
119
|
+
* // value: "STRING_VALUE",
|
|
120
|
+
* // },
|
|
121
|
+
* // ],
|
|
122
|
+
* // healthStatus: { // ContainerInstanceHealthStatus
|
|
123
|
+
* // overallStatus: "OK" || "IMPAIRED" || "INSUFFICIENT_DATA" || "INITIALIZING",
|
|
124
|
+
* // details: [ // InstanceHealthCheckResultList
|
|
125
|
+
* // { // InstanceHealthCheckResult
|
|
126
|
+
* // type: "CONTAINER_RUNTIME",
|
|
127
|
+
* // status: "OK" || "IMPAIRED" || "INSUFFICIENT_DATA" || "INITIALIZING",
|
|
128
|
+
* // lastUpdated: new Date("TIMESTAMP"),
|
|
129
|
+
* // lastStatusChange: new Date("TIMESTAMP"),
|
|
130
|
+
* // },
|
|
131
|
+
* // ],
|
|
132
|
+
* // },
|
|
133
|
+
* // },
|
|
134
|
+
* // };
|
|
135
|
+
*
|
|
53
136
|
* ```
|
|
54
137
|
*
|
|
55
138
|
* @param UpdateContainerAgentCommandInput - {@link UpdateContainerAgentCommandInput}
|
|
@@ -91,6 +174,8 @@ export interface UpdateContainerAgentCommandOutput extends UpdateContainerAgentR
|
|
|
91
174
|
* process can get stuck in that state. However, when the agent reconnects, it resumes
|
|
92
175
|
* where it stopped previously.</p>
|
|
93
176
|
*
|
|
177
|
+
* @throws {@link ECSServiceException}
|
|
178
|
+
* <p>Base exception class for all service exceptions from ECS service.</p>
|
|
94
179
|
*
|
|
95
180
|
*/
|
|
96
181
|
export declare class UpdateContainerAgentCommand extends $Command<UpdateContainerAgentCommandInput, UpdateContainerAgentCommandOutput, ECSClientResolvedConfig> {
|
|
@@ -83,6 +83,98 @@ export interface UpdateContainerInstancesStateCommandOutput extends UpdateContai
|
|
|
83
83
|
* };
|
|
84
84
|
* const command = new UpdateContainerInstancesStateCommand(input);
|
|
85
85
|
* const response = await client.send(command);
|
|
86
|
+
* // { // UpdateContainerInstancesStateResponse
|
|
87
|
+
* // containerInstances: [ // ContainerInstances
|
|
88
|
+
* // { // ContainerInstance
|
|
89
|
+
* // containerInstanceArn: "STRING_VALUE",
|
|
90
|
+
* // ec2InstanceId: "STRING_VALUE",
|
|
91
|
+
* // capacityProviderName: "STRING_VALUE",
|
|
92
|
+
* // version: Number("long"),
|
|
93
|
+
* // versionInfo: { // VersionInfo
|
|
94
|
+
* // agentVersion: "STRING_VALUE",
|
|
95
|
+
* // agentHash: "STRING_VALUE",
|
|
96
|
+
* // dockerVersion: "STRING_VALUE",
|
|
97
|
+
* // },
|
|
98
|
+
* // remainingResources: [ // Resources
|
|
99
|
+
* // { // Resource
|
|
100
|
+
* // name: "STRING_VALUE",
|
|
101
|
+
* // type: "STRING_VALUE",
|
|
102
|
+
* // doubleValue: Number("double"),
|
|
103
|
+
* // longValue: Number("long"),
|
|
104
|
+
* // integerValue: Number("int"),
|
|
105
|
+
* // stringSetValue: [ // StringList
|
|
106
|
+
* // "STRING_VALUE",
|
|
107
|
+
* // ],
|
|
108
|
+
* // },
|
|
109
|
+
* // ],
|
|
110
|
+
* // registeredResources: [
|
|
111
|
+
* // {
|
|
112
|
+
* // name: "STRING_VALUE",
|
|
113
|
+
* // type: "STRING_VALUE",
|
|
114
|
+
* // doubleValue: Number("double"),
|
|
115
|
+
* // longValue: Number("long"),
|
|
116
|
+
* // integerValue: Number("int"),
|
|
117
|
+
* // stringSetValue: [
|
|
118
|
+
* // "STRING_VALUE",
|
|
119
|
+
* // ],
|
|
120
|
+
* // },
|
|
121
|
+
* // ],
|
|
122
|
+
* // status: "STRING_VALUE",
|
|
123
|
+
* // statusReason: "STRING_VALUE",
|
|
124
|
+
* // agentConnected: true || false,
|
|
125
|
+
* // runningTasksCount: Number("int"),
|
|
126
|
+
* // pendingTasksCount: Number("int"),
|
|
127
|
+
* // agentUpdateStatus: "PENDING" || "STAGING" || "STAGED" || "UPDATING" || "UPDATED" || "FAILED",
|
|
128
|
+
* // attributes: [ // Attributes
|
|
129
|
+
* // { // Attribute
|
|
130
|
+
* // name: "STRING_VALUE", // required
|
|
131
|
+
* // value: "STRING_VALUE",
|
|
132
|
+
* // targetType: "container-instance",
|
|
133
|
+
* // targetId: "STRING_VALUE",
|
|
134
|
+
* // },
|
|
135
|
+
* // ],
|
|
136
|
+
* // registeredAt: new Date("TIMESTAMP"),
|
|
137
|
+
* // attachments: [ // Attachments
|
|
138
|
+
* // { // Attachment
|
|
139
|
+
* // id: "STRING_VALUE",
|
|
140
|
+
* // type: "STRING_VALUE",
|
|
141
|
+
* // status: "STRING_VALUE",
|
|
142
|
+
* // details: [ // AttachmentDetails
|
|
143
|
+
* // { // KeyValuePair
|
|
144
|
+
* // name: "STRING_VALUE",
|
|
145
|
+
* // value: "STRING_VALUE",
|
|
146
|
+
* // },
|
|
147
|
+
* // ],
|
|
148
|
+
* // },
|
|
149
|
+
* // ],
|
|
150
|
+
* // tags: [ // Tags
|
|
151
|
+
* // { // Tag
|
|
152
|
+
* // key: "STRING_VALUE",
|
|
153
|
+
* // value: "STRING_VALUE",
|
|
154
|
+
* // },
|
|
155
|
+
* // ],
|
|
156
|
+
* // healthStatus: { // ContainerInstanceHealthStatus
|
|
157
|
+
* // overallStatus: "OK" || "IMPAIRED" || "INSUFFICIENT_DATA" || "INITIALIZING",
|
|
158
|
+
* // details: [ // InstanceHealthCheckResultList
|
|
159
|
+
* // { // InstanceHealthCheckResult
|
|
160
|
+
* // type: "CONTAINER_RUNTIME",
|
|
161
|
+
* // status: "OK" || "IMPAIRED" || "INSUFFICIENT_DATA" || "INITIALIZING",
|
|
162
|
+
* // lastUpdated: new Date("TIMESTAMP"),
|
|
163
|
+
* // lastStatusChange: new Date("TIMESTAMP"),
|
|
164
|
+
* // },
|
|
165
|
+
* // ],
|
|
166
|
+
* // },
|
|
167
|
+
* // },
|
|
168
|
+
* // ],
|
|
169
|
+
* // failures: [ // Failures
|
|
170
|
+
* // { // Failure
|
|
171
|
+
* // arn: "STRING_VALUE",
|
|
172
|
+
* // reason: "STRING_VALUE",
|
|
173
|
+
* // detail: "STRING_VALUE",
|
|
174
|
+
* // },
|
|
175
|
+
* // ],
|
|
176
|
+
* // };
|
|
177
|
+
*
|
|
86
178
|
* ```
|
|
87
179
|
*
|
|
88
180
|
* @param UpdateContainerInstancesStateCommandInput - {@link UpdateContainerInstancesStateCommandInput}
|
|
@@ -106,6 +198,8 @@ export interface UpdateContainerInstancesStateCommandOutput extends UpdateContai
|
|
|
106
198
|
* @throws {@link ServerException} (server fault)
|
|
107
199
|
* <p>These errors are usually caused by a server issue.</p>
|
|
108
200
|
*
|
|
201
|
+
* @throws {@link ECSServiceException}
|
|
202
|
+
* <p>Base exception class for all service exceptions from ECS service.</p>
|
|
109
203
|
*
|
|
110
204
|
*/
|
|
111
205
|
export declare class UpdateContainerInstancesStateCommand extends $Command<UpdateContainerInstancesStateCommandInput, UpdateContainerInstancesStateCommandOutput, ECSClientResolvedConfig> {
|