@aws-sdk/client-ecs 3.682.0 → 3.683.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 (90) hide show
  1. package/README.md +24 -0
  2. package/dist-cjs/index.js +254 -11
  3. package/dist-es/ECS.js +6 -0
  4. package/dist-es/commands/DescribeServiceDeploymentsCommand.js +22 -0
  5. package/dist-es/commands/DescribeServiceRevisionsCommand.js +22 -0
  6. package/dist-es/commands/ListServiceDeploymentsCommand.js +22 -0
  7. package/dist-es/commands/index.js +3 -0
  8. package/dist-es/models/models_0.js +16 -24
  9. package/dist-es/models/models_1.js +25 -1
  10. package/dist-es/protocols/Aws_json1_1.js +178 -1
  11. package/dist-types/ECS.d.ts +21 -0
  12. package/dist-types/ECSClient.d.ts +5 -2
  13. package/dist-types/commands/CreateCapacityProviderCommand.d.ts +1 -1
  14. package/dist-types/commands/CreateClusterCommand.d.ts +2 -2
  15. package/dist-types/commands/CreateServiceCommand.d.ts +4 -4
  16. package/dist-types/commands/CreateTaskSetCommand.d.ts +1 -1
  17. package/dist-types/commands/DeleteAccountSettingCommand.d.ts +1 -1
  18. package/dist-types/commands/DeleteCapacityProviderCommand.d.ts +1 -1
  19. package/dist-types/commands/DeleteClusterCommand.d.ts +1 -1
  20. package/dist-types/commands/DeleteServiceCommand.d.ts +2 -2
  21. package/dist-types/commands/DeleteTaskDefinitionsCommand.d.ts +1 -1
  22. package/dist-types/commands/DeleteTaskSetCommand.d.ts +1 -1
  23. package/dist-types/commands/DeregisterContainerInstanceCommand.d.ts +1 -1
  24. package/dist-types/commands/DeregisterTaskDefinitionCommand.d.ts +1 -1
  25. package/dist-types/commands/DescribeCapacityProvidersCommand.d.ts +1 -1
  26. package/dist-types/commands/DescribeClustersCommand.d.ts +1 -1
  27. package/dist-types/commands/DescribeContainerInstancesCommand.d.ts +1 -1
  28. package/dist-types/commands/DescribeServiceDeploymentsCommand.d.ts +177 -0
  29. package/dist-types/commands/DescribeServiceRevisionsCommand.d.ts +243 -0
  30. package/dist-types/commands/DescribeServicesCommand.d.ts +2 -2
  31. package/dist-types/commands/DescribeTaskDefinitionCommand.d.ts +1 -1
  32. package/dist-types/commands/DescribeTaskSetsCommand.d.ts +1 -1
  33. package/dist-types/commands/DescribeTasksCommand.d.ts +1 -1
  34. package/dist-types/commands/DiscoverPollEndpointCommand.d.ts +1 -1
  35. package/dist-types/commands/ExecuteCommandCommand.d.ts +1 -1
  36. package/dist-types/commands/GetTaskProtectionCommand.d.ts +1 -1
  37. package/dist-types/commands/ListAccountSettingsCommand.d.ts +1 -1
  38. package/dist-types/commands/ListClustersCommand.d.ts +1 -1
  39. package/dist-types/commands/ListContainerInstancesCommand.d.ts +1 -1
  40. package/dist-types/commands/ListServiceDeploymentsCommand.d.ts +130 -0
  41. package/dist-types/commands/ListServicesByNamespaceCommand.d.ts +1 -1
  42. package/dist-types/commands/ListServicesCommand.d.ts +1 -1
  43. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  44. package/dist-types/commands/ListTaskDefinitionFamiliesCommand.d.ts +1 -1
  45. package/dist-types/commands/ListTaskDefinitionsCommand.d.ts +1 -1
  46. package/dist-types/commands/ListTasksCommand.d.ts +1 -1
  47. package/dist-types/commands/PutAccountSettingCommand.d.ts +1 -1
  48. package/dist-types/commands/PutAccountSettingDefaultCommand.d.ts +1 -1
  49. package/dist-types/commands/PutClusterCapacityProvidersCommand.d.ts +1 -1
  50. package/dist-types/commands/RegisterContainerInstanceCommand.d.ts +1 -1
  51. package/dist-types/commands/RegisterTaskDefinitionCommand.d.ts +1 -1
  52. package/dist-types/commands/RunTaskCommand.d.ts +1 -1
  53. package/dist-types/commands/StartTaskCommand.d.ts +1 -1
  54. package/dist-types/commands/StopTaskCommand.d.ts +1 -1
  55. package/dist-types/commands/SubmitAttachmentStateChangesCommand.d.ts +1 -1
  56. package/dist-types/commands/SubmitContainerStateChangeCommand.d.ts +1 -1
  57. package/dist-types/commands/SubmitTaskStateChangeCommand.d.ts +1 -1
  58. package/dist-types/commands/TagResourceCommand.d.ts +1 -1
  59. package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
  60. package/dist-types/commands/UpdateCapacityProviderCommand.d.ts +1 -1
  61. package/dist-types/commands/UpdateClusterCommand.d.ts +2 -2
  62. package/dist-types/commands/UpdateClusterSettingsCommand.d.ts +2 -2
  63. package/dist-types/commands/UpdateContainerAgentCommand.d.ts +2 -2
  64. package/dist-types/commands/UpdateContainerInstancesStateCommand.d.ts +2 -2
  65. package/dist-types/commands/UpdateServiceCommand.d.ts +4 -4
  66. package/dist-types/commands/UpdateServicePrimaryTaskSetCommand.d.ts +2 -2
  67. package/dist-types/commands/UpdateTaskProtectionCommand.d.ts +2 -2
  68. package/dist-types/commands/UpdateTaskSetCommand.d.ts +2 -3
  69. package/dist-types/commands/index.d.ts +3 -0
  70. package/dist-types/models/models_0.d.ts +3009 -2904
  71. package/dist-types/models/models_1.d.ts +517 -1
  72. package/dist-types/protocols/Aws_json1_1.d.ts +27 -0
  73. package/dist-types/ts3.4/ECS.d.ts +51 -0
  74. package/dist-types/ts3.4/ECSClient.d.ts +18 -0
  75. package/dist-types/ts3.4/commands/DescribeServiceDeploymentsCommand.d.ts +51 -0
  76. package/dist-types/ts3.4/commands/DescribeServiceRevisionsCommand.d.ts +51 -0
  77. package/dist-types/ts3.4/commands/ListServiceDeploymentsCommand.d.ts +51 -0
  78. package/dist-types/ts3.4/commands/UpdateClusterCommand.d.ts +1 -1
  79. package/dist-types/ts3.4/commands/UpdateClusterSettingsCommand.d.ts +1 -1
  80. package/dist-types/ts3.4/commands/UpdateContainerAgentCommand.d.ts +1 -1
  81. package/dist-types/ts3.4/commands/UpdateContainerInstancesStateCommand.d.ts +1 -1
  82. package/dist-types/ts3.4/commands/UpdateServiceCommand.d.ts +1 -1
  83. package/dist-types/ts3.4/commands/UpdateServicePrimaryTaskSetCommand.d.ts +1 -1
  84. package/dist-types/ts3.4/commands/UpdateTaskProtectionCommand.d.ts +1 -1
  85. package/dist-types/ts3.4/commands/UpdateTaskSetCommand.d.ts +4 -2
  86. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  87. package/dist-types/ts3.4/models/models_0.d.ts +125 -95
  88. package/dist-types/ts3.4/models/models_1.d.ts +119 -1
  89. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +36 -0
  90. package/package.json +1 -1
@@ -109,6 +109,14 @@ import {
109
109
  DescribeContainerInstancesCommandInput,
110
110
  DescribeContainerInstancesCommandOutput,
111
111
  } from "./commands/DescribeContainerInstancesCommand";
112
+ import {
113
+ DescribeServiceDeploymentsCommandInput,
114
+ DescribeServiceDeploymentsCommandOutput,
115
+ } from "./commands/DescribeServiceDeploymentsCommand";
116
+ import {
117
+ DescribeServiceRevisionsCommandInput,
118
+ DescribeServiceRevisionsCommandOutput,
119
+ } from "./commands/DescribeServiceRevisionsCommand";
112
120
  import {
113
121
  DescribeServicesCommandInput,
114
122
  DescribeServicesCommandOutput,
@@ -153,6 +161,10 @@ import {
153
161
  ListContainerInstancesCommandInput,
154
162
  ListContainerInstancesCommandOutput,
155
163
  } from "./commands/ListContainerInstancesCommand";
164
+ import {
165
+ ListServiceDeploymentsCommandInput,
166
+ ListServiceDeploymentsCommandOutput,
167
+ } from "./commands/ListServiceDeploymentsCommand";
156
168
  import {
157
169
  ListServicesByNamespaceCommandInput,
158
170
  ListServicesByNamespaceCommandOutput,
@@ -293,6 +305,8 @@ export type ServiceInputTypes =
293
305
  | DescribeCapacityProvidersCommandInput
294
306
  | DescribeClustersCommandInput
295
307
  | DescribeContainerInstancesCommandInput
308
+ | DescribeServiceDeploymentsCommandInput
309
+ | DescribeServiceRevisionsCommandInput
296
310
  | DescribeServicesCommandInput
297
311
  | DescribeTaskDefinitionCommandInput
298
312
  | DescribeTaskSetsCommandInput
@@ -304,6 +318,7 @@ export type ServiceInputTypes =
304
318
  | ListAttributesCommandInput
305
319
  | ListClustersCommandInput
306
320
  | ListContainerInstancesCommandInput
321
+ | ListServiceDeploymentsCommandInput
307
322
  | ListServicesByNamespaceCommandInput
308
323
  | ListServicesCommandInput
309
324
  | ListTagsForResourceCommandInput
@@ -350,6 +365,8 @@ export type ServiceOutputTypes =
350
365
  | DescribeCapacityProvidersCommandOutput
351
366
  | DescribeClustersCommandOutput
352
367
  | DescribeContainerInstancesCommandOutput
368
+ | DescribeServiceDeploymentsCommandOutput
369
+ | DescribeServiceRevisionsCommandOutput
353
370
  | DescribeServicesCommandOutput
354
371
  | DescribeTaskDefinitionCommandOutput
355
372
  | DescribeTaskSetsCommandOutput
@@ -361,6 +378,7 @@ export type ServiceOutputTypes =
361
378
  | ListAttributesCommandOutput
362
379
  | ListClustersCommandOutput
363
380
  | ListContainerInstancesCommandOutput
381
+ | ListServiceDeploymentsCommandOutput
364
382
  | ListServicesByNamespaceCommandOutput
365
383
  | ListServicesCommandOutput
366
384
  | ListTagsForResourceCommandOutput
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ ECSClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../ECSClient";
8
+ import {
9
+ DescribeServiceDeploymentsRequest,
10
+ DescribeServiceDeploymentsResponse,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface DescribeServiceDeploymentsCommandInput
15
+ extends DescribeServiceDeploymentsRequest {}
16
+ export interface DescribeServiceDeploymentsCommandOutput
17
+ extends DescribeServiceDeploymentsResponse,
18
+ __MetadataBearer {}
19
+ declare const DescribeServiceDeploymentsCommand_base: {
20
+ new (
21
+ input: DescribeServiceDeploymentsCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ DescribeServiceDeploymentsCommandInput,
24
+ DescribeServiceDeploymentsCommandOutput,
25
+ ECSClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ __0_0: DescribeServiceDeploymentsCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ DescribeServiceDeploymentsCommandInput,
33
+ DescribeServiceDeploymentsCommandOutput,
34
+ ECSClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class DescribeServiceDeploymentsCommand extends DescribeServiceDeploymentsCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: DescribeServiceDeploymentsRequest;
44
+ output: DescribeServiceDeploymentsResponse;
45
+ };
46
+ sdk: {
47
+ input: DescribeServiceDeploymentsCommandInput;
48
+ output: DescribeServiceDeploymentsCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ ECSClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../ECSClient";
8
+ import {
9
+ DescribeServiceRevisionsRequest,
10
+ DescribeServiceRevisionsResponse,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface DescribeServiceRevisionsCommandInput
15
+ extends DescribeServiceRevisionsRequest {}
16
+ export interface DescribeServiceRevisionsCommandOutput
17
+ extends DescribeServiceRevisionsResponse,
18
+ __MetadataBearer {}
19
+ declare const DescribeServiceRevisionsCommand_base: {
20
+ new (
21
+ input: DescribeServiceRevisionsCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ DescribeServiceRevisionsCommandInput,
24
+ DescribeServiceRevisionsCommandOutput,
25
+ ECSClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ __0_0: DescribeServiceRevisionsCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ DescribeServiceRevisionsCommandInput,
33
+ DescribeServiceRevisionsCommandOutput,
34
+ ECSClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class DescribeServiceRevisionsCommand extends DescribeServiceRevisionsCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: DescribeServiceRevisionsRequest;
44
+ output: DescribeServiceRevisionsResponse;
45
+ };
46
+ sdk: {
47
+ input: DescribeServiceRevisionsCommandInput;
48
+ output: DescribeServiceRevisionsCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ ECSClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../ECSClient";
8
+ import {
9
+ ListServiceDeploymentsRequest,
10
+ ListServiceDeploymentsResponse,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface ListServiceDeploymentsCommandInput
15
+ extends ListServiceDeploymentsRequest {}
16
+ export interface ListServiceDeploymentsCommandOutput
17
+ extends ListServiceDeploymentsResponse,
18
+ __MetadataBearer {}
19
+ declare const ListServiceDeploymentsCommand_base: {
20
+ new (
21
+ input: ListServiceDeploymentsCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ ListServiceDeploymentsCommandInput,
24
+ ListServiceDeploymentsCommandOutput,
25
+ ECSClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ __0_0: ListServiceDeploymentsCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ ListServiceDeploymentsCommandInput,
33
+ ListServiceDeploymentsCommandOutput,
34
+ ECSClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class ListServiceDeploymentsCommand extends ListServiceDeploymentsCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: ListServiceDeploymentsRequest;
44
+ output: ListServiceDeploymentsResponse;
45
+ };
46
+ sdk: {
47
+ input: ListServiceDeploymentsCommandInput;
48
+ output: ListServiceDeploymentsCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  UpdateClusterRequest,
10
10
  UpdateClusterResponse,
11
- } from "../models/models_0";
11
+ } from "../models/models_1";
12
12
  export { __MetadataBearer };
13
13
  export { $Command };
14
14
  export interface UpdateClusterCommandInput extends UpdateClusterRequest {}
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  UpdateClusterSettingsRequest,
10
10
  UpdateClusterSettingsResponse,
11
- } from "../models/models_0";
11
+ } from "../models/models_1";
12
12
  export { __MetadataBearer };
13
13
  export { $Command };
14
14
  export interface UpdateClusterSettingsCommandInput
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  UpdateContainerAgentRequest,
10
10
  UpdateContainerAgentResponse,
11
- } from "../models/models_0";
11
+ } from "../models/models_1";
12
12
  export { __MetadataBearer };
13
13
  export { $Command };
14
14
  export interface UpdateContainerAgentCommandInput
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  UpdateContainerInstancesStateRequest,
10
10
  UpdateContainerInstancesStateResponse,
11
- } from "../models/models_0";
11
+ } from "../models/models_1";
12
12
  export { __MetadataBearer };
13
13
  export { $Command };
14
14
  export interface UpdateContainerInstancesStateCommandInput
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  UpdateServiceRequest,
10
10
  UpdateServiceResponse,
11
- } from "../models/models_0";
11
+ } from "../models/models_1";
12
12
  export { __MetadataBearer };
13
13
  export { $Command };
14
14
  export interface UpdateServiceCommandInput extends UpdateServiceRequest {}
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  UpdateServicePrimaryTaskSetRequest,
10
10
  UpdateServicePrimaryTaskSetResponse,
11
- } from "../models/models_0";
11
+ } from "../models/models_1";
12
12
  export { __MetadataBearer };
13
13
  export { $Command };
14
14
  export interface UpdateServicePrimaryTaskSetCommandInput
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  UpdateTaskProtectionRequest,
10
10
  UpdateTaskProtectionResponse,
11
- } from "../models/models_0";
11
+ } from "../models/models_1";
12
12
  export { __MetadataBearer };
13
13
  export { $Command };
14
14
  export interface UpdateTaskProtectionCommandInput
@@ -5,8 +5,10 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../ECSClient";
8
- import { UpdateTaskSetRequest } from "../models/models_0";
9
- import { UpdateTaskSetResponse } from "../models/models_1";
8
+ import {
9
+ UpdateTaskSetRequest,
10
+ UpdateTaskSetResponse,
11
+ } from "../models/models_1";
10
12
  export { __MetadataBearer };
11
13
  export { $Command };
12
14
  export interface UpdateTaskSetCommandInput extends UpdateTaskSetRequest {}
@@ -14,6 +14,8 @@ export * from "./DeregisterTaskDefinitionCommand";
14
14
  export * from "./DescribeCapacityProvidersCommand";
15
15
  export * from "./DescribeClustersCommand";
16
16
  export * from "./DescribeContainerInstancesCommand";
17
+ export * from "./DescribeServiceDeploymentsCommand";
18
+ export * from "./DescribeServiceRevisionsCommand";
17
19
  export * from "./DescribeServicesCommand";
18
20
  export * from "./DescribeTaskDefinitionCommand";
19
21
  export * from "./DescribeTaskSetsCommand";
@@ -25,6 +27,7 @@ export * from "./ListAccountSettingsCommand";
25
27
  export * from "./ListAttributesCommand";
26
28
  export * from "./ListClustersCommand";
27
29
  export * from "./ListContainerInstancesCommand";
30
+ export * from "./ListServiceDeploymentsCommand";
28
31
  export * from "./ListServicesByNamespaceCommand";
29
32
  export * from "./ListServicesCommand";
30
33
  export * from "./ListTagsForResourceCommand";
@@ -219,8 +219,8 @@ export declare class ClusterNotFoundException extends __BaseException {
219
219
  }
220
220
  export interface DeploymentAlarms {
221
221
  alarmNames: string[] | undefined;
222
- enable: boolean | undefined;
223
222
  rollback: boolean | undefined;
223
+ enable: boolean | undefined;
224
224
  }
225
225
  export interface DeploymentCircuitBreaker {
226
226
  enable: boolean | undefined;
@@ -1185,6 +1185,103 @@ export interface DescribeContainerInstancesResponse {
1185
1185
  containerInstances?: ContainerInstance[];
1186
1186
  failures?: Failure[];
1187
1187
  }
1188
+ export interface DescribeServiceDeploymentsRequest {
1189
+ serviceDeploymentArns: string[] | undefined;
1190
+ }
1191
+ export declare const ServiceDeploymentRollbackMonitorsStatus: {
1192
+ readonly DISABLED: "DISABLED";
1193
+ readonly MONITORING: "MONITORING";
1194
+ readonly MONITORING_COMPLETE: "MONITORING_COMPLETE";
1195
+ readonly TRIGGERED: "TRIGGERED";
1196
+ };
1197
+ export type ServiceDeploymentRollbackMonitorsStatus =
1198
+ (typeof ServiceDeploymentRollbackMonitorsStatus)[keyof typeof ServiceDeploymentRollbackMonitorsStatus];
1199
+ export interface ServiceDeploymentAlarms {
1200
+ status?: ServiceDeploymentRollbackMonitorsStatus;
1201
+ alarmNames?: string[];
1202
+ triggeredAlarmNames?: string[];
1203
+ }
1204
+ export interface ServiceDeploymentCircuitBreaker {
1205
+ status?: ServiceDeploymentRollbackMonitorsStatus;
1206
+ failureCount?: number;
1207
+ threshold?: number;
1208
+ }
1209
+ export interface Rollback {
1210
+ reason?: string;
1211
+ startedAt?: Date;
1212
+ serviceRevisionArn?: string;
1213
+ }
1214
+ export interface ServiceRevisionSummary {
1215
+ arn?: string;
1216
+ requestedTaskCount?: number;
1217
+ runningTaskCount?: number;
1218
+ pendingTaskCount?: number;
1219
+ }
1220
+ export declare const ServiceDeploymentStatus: {
1221
+ readonly IN_PROGRESS: "IN_PROGRESS";
1222
+ readonly PENDING: "PENDING";
1223
+ readonly ROLLBACK_FAILED: "ROLLBACK_FAILED";
1224
+ readonly ROLLBACK_IN_PROGRESS: "ROLLBACK_IN_PROGRESS";
1225
+ readonly ROLLBACK_SUCCESSFUL: "ROLLBACK_SUCCESSFUL";
1226
+ readonly STOPPED: "STOPPED";
1227
+ readonly STOP_REQUESTED: "STOP_REQUESTED";
1228
+ readonly SUCCESSFUL: "SUCCESSFUL";
1229
+ };
1230
+ export type ServiceDeploymentStatus =
1231
+ (typeof ServiceDeploymentStatus)[keyof typeof ServiceDeploymentStatus];
1232
+ export interface ServiceDeployment {
1233
+ serviceDeploymentArn?: string;
1234
+ serviceArn?: string;
1235
+ clusterArn?: string;
1236
+ createdAt?: Date;
1237
+ startedAt?: Date;
1238
+ finishedAt?: Date;
1239
+ stoppedAt?: Date;
1240
+ updatedAt?: Date;
1241
+ sourceServiceRevisions?: ServiceRevisionSummary[];
1242
+ targetServiceRevision?: ServiceRevisionSummary;
1243
+ status?: ServiceDeploymentStatus;
1244
+ statusReason?: string;
1245
+ deploymentConfiguration?: DeploymentConfiguration;
1246
+ rollback?: Rollback;
1247
+ deploymentCircuitBreaker?: ServiceDeploymentCircuitBreaker;
1248
+ alarms?: ServiceDeploymentAlarms;
1249
+ }
1250
+ export interface DescribeServiceDeploymentsResponse {
1251
+ serviceDeployments?: ServiceDeployment[];
1252
+ failures?: Failure[];
1253
+ }
1254
+ export interface DescribeServiceRevisionsRequest {
1255
+ serviceRevisionArns: string[] | undefined;
1256
+ }
1257
+ export interface ContainerImage {
1258
+ containerName?: string;
1259
+ imageDigest?: string;
1260
+ image?: string;
1261
+ }
1262
+ export interface ServiceRevision {
1263
+ serviceRevisionArn?: string;
1264
+ serviceArn?: string;
1265
+ clusterArn?: string;
1266
+ taskDefinition?: string;
1267
+ capacityProviderStrategy?: CapacityProviderStrategyItem[];
1268
+ launchType?: LaunchType;
1269
+ platformVersion?: string;
1270
+ platformFamily?: string;
1271
+ loadBalancers?: LoadBalancer[];
1272
+ serviceRegistries?: ServiceRegistry[];
1273
+ networkConfiguration?: NetworkConfiguration;
1274
+ containerImages?: ContainerImage[];
1275
+ guardDutyEnabled?: boolean;
1276
+ serviceConnectConfiguration?: ServiceConnectConfiguration;
1277
+ volumeConfigurations?: ServiceVolumeConfiguration[];
1278
+ fargateEphemeralStorage?: DeploymentEphemeralStorage;
1279
+ createdAt?: Date;
1280
+ }
1281
+ export interface DescribeServiceRevisionsResponse {
1282
+ serviceRevisions?: ServiceRevision[];
1283
+ failures?: Failure[];
1284
+ }
1188
1285
  export declare const ServiceField: {
1189
1286
  readonly TAGS: "TAGS";
1190
1287
  };
@@ -1475,6 +1572,33 @@ export interface ListContainerInstancesResponse {
1475
1572
  containerInstanceArns?: string[];
1476
1573
  nextToken?: string;
1477
1574
  }
1575
+ export interface CreatedAt {
1576
+ before?: Date;
1577
+ after?: Date;
1578
+ }
1579
+ export interface ListServiceDeploymentsRequest {
1580
+ service: string | undefined;
1581
+ cluster?: string;
1582
+ status?: ServiceDeploymentStatus[];
1583
+ createdAt?: CreatedAt;
1584
+ nextToken?: string;
1585
+ maxResults?: number;
1586
+ }
1587
+ export interface ServiceDeploymentBrief {
1588
+ serviceDeploymentArn?: string;
1589
+ serviceArn?: string;
1590
+ clusterArn?: string;
1591
+ startedAt?: Date;
1592
+ createdAt?: Date;
1593
+ finishedAt?: Date;
1594
+ targetServiceRevisionArn?: string;
1595
+ status?: ServiceDeploymentStatus;
1596
+ statusReason?: string;
1597
+ }
1598
+ export interface ListServiceDeploymentsResponse {
1599
+ serviceDeployments?: ServiceDeploymentBrief[];
1600
+ nextToken?: string;
1601
+ }
1478
1602
  export interface ListServicesRequest {
1479
1603
  cluster?: string;
1480
1604
  nextToken?: string;
@@ -1807,100 +1931,6 @@ export interface UpdateCapacityProviderRequest {
1807
1931
  export interface UpdateCapacityProviderResponse {
1808
1932
  capacityProvider?: CapacityProvider;
1809
1933
  }
1810
- export interface UpdateClusterRequest {
1811
- cluster: string | undefined;
1812
- settings?: ClusterSetting[];
1813
- configuration?: ClusterConfiguration;
1814
- serviceConnectDefaults?: ClusterServiceConnectDefaultsRequest;
1815
- }
1816
- export interface UpdateClusterResponse {
1817
- cluster?: Cluster;
1818
- }
1819
- export interface UpdateClusterSettingsRequest {
1820
- cluster: string | undefined;
1821
- settings: ClusterSetting[] | undefined;
1822
- }
1823
- export interface UpdateClusterSettingsResponse {
1824
- cluster?: Cluster;
1825
- }
1826
- export declare class MissingVersionException extends __BaseException {
1827
- readonly name: "MissingVersionException";
1828
- readonly $fault: "client";
1829
- constructor(
1830
- opts: __ExceptionOptionType<MissingVersionException, __BaseException>
1831
- );
1832
- }
1833
- export declare class NoUpdateAvailableException extends __BaseException {
1834
- readonly name: "NoUpdateAvailableException";
1835
- readonly $fault: "client";
1836
- constructor(
1837
- opts: __ExceptionOptionType<NoUpdateAvailableException, __BaseException>
1838
- );
1839
- }
1840
- export interface UpdateContainerAgentRequest {
1841
- cluster?: string;
1842
- containerInstance: string | undefined;
1843
- }
1844
- export interface UpdateContainerAgentResponse {
1845
- containerInstance?: ContainerInstance;
1846
- }
1847
- export interface UpdateContainerInstancesStateRequest {
1848
- cluster?: string;
1849
- containerInstances: string[] | undefined;
1850
- status: ContainerInstanceStatus | undefined;
1851
- }
1852
- export interface UpdateContainerInstancesStateResponse {
1853
- containerInstances?: ContainerInstance[];
1854
- failures?: Failure[];
1855
- }
1856
- export interface UpdateServiceRequest {
1857
- cluster?: string;
1858
- service: string | undefined;
1859
- desiredCount?: number;
1860
- taskDefinition?: string;
1861
- capacityProviderStrategy?: CapacityProviderStrategyItem[];
1862
- deploymentConfiguration?: DeploymentConfiguration;
1863
- networkConfiguration?: NetworkConfiguration;
1864
- placementConstraints?: PlacementConstraint[];
1865
- placementStrategy?: PlacementStrategy[];
1866
- platformVersion?: string;
1867
- forceNewDeployment?: boolean;
1868
- healthCheckGracePeriodSeconds?: number;
1869
- enableExecuteCommand?: boolean;
1870
- enableECSManagedTags?: boolean;
1871
- loadBalancers?: LoadBalancer[];
1872
- propagateTags?: PropagateTags;
1873
- serviceRegistries?: ServiceRegistry[];
1874
- serviceConnectConfiguration?: ServiceConnectConfiguration;
1875
- volumeConfigurations?: ServiceVolumeConfiguration[];
1876
- }
1877
- export interface UpdateServiceResponse {
1878
- service?: Service;
1879
- }
1880
- export interface UpdateServicePrimaryTaskSetRequest {
1881
- cluster: string | undefined;
1882
- service: string | undefined;
1883
- primaryTaskSet: string | undefined;
1884
- }
1885
- export interface UpdateServicePrimaryTaskSetResponse {
1886
- taskSet?: TaskSet;
1887
- }
1888
- export interface UpdateTaskProtectionRequest {
1889
- cluster: string | undefined;
1890
- tasks: string[] | undefined;
1891
- protectionEnabled: boolean | undefined;
1892
- expiresInMinutes?: number;
1893
- }
1894
- export interface UpdateTaskProtectionResponse {
1895
- protectedTasks?: ProtectedTask[];
1896
- failures?: Failure[];
1897
- }
1898
- export interface UpdateTaskSetRequest {
1899
- cluster: string | undefined;
1900
- service: string | undefined;
1901
- taskSet: string | undefined;
1902
- scale: Scale | undefined;
1903
- }
1904
1934
  export declare const SessionFilterSensitiveLog: (obj: Session) => any;
1905
1935
  export declare const ExecuteCommandResponseFilterSensitiveLog: (
1906
1936
  obj: ExecuteCommandResponse
@@ -1,4 +1,122 @@
1
- import { TaskSet } from "./models_0";
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { ECSServiceException as __BaseException } from "./ECSServiceException";
3
+ import {
4
+ CapacityProviderStrategyItem,
5
+ Cluster,
6
+ ClusterConfiguration,
7
+ ClusterServiceConnectDefaultsRequest,
8
+ ClusterSetting,
9
+ ContainerInstance,
10
+ ContainerInstanceStatus,
11
+ DeploymentConfiguration,
12
+ Failure,
13
+ LoadBalancer,
14
+ NetworkConfiguration,
15
+ PlacementConstraint,
16
+ PlacementStrategy,
17
+ PropagateTags,
18
+ ProtectedTask,
19
+ Scale,
20
+ Service,
21
+ ServiceConnectConfiguration,
22
+ ServiceRegistry,
23
+ ServiceVolumeConfiguration,
24
+ TaskSet,
25
+ } from "./models_0";
26
+ export interface UpdateClusterRequest {
27
+ cluster: string | undefined;
28
+ settings?: ClusterSetting[];
29
+ configuration?: ClusterConfiguration;
30
+ serviceConnectDefaults?: ClusterServiceConnectDefaultsRequest;
31
+ }
32
+ export interface UpdateClusterResponse {
33
+ cluster?: Cluster;
34
+ }
35
+ export interface UpdateClusterSettingsRequest {
36
+ cluster: string | undefined;
37
+ settings: ClusterSetting[] | undefined;
38
+ }
39
+ export interface UpdateClusterSettingsResponse {
40
+ cluster?: Cluster;
41
+ }
42
+ export declare class MissingVersionException extends __BaseException {
43
+ readonly name: "MissingVersionException";
44
+ readonly $fault: "client";
45
+ constructor(
46
+ opts: __ExceptionOptionType<MissingVersionException, __BaseException>
47
+ );
48
+ }
49
+ export declare class NoUpdateAvailableException extends __BaseException {
50
+ readonly name: "NoUpdateAvailableException";
51
+ readonly $fault: "client";
52
+ constructor(
53
+ opts: __ExceptionOptionType<NoUpdateAvailableException, __BaseException>
54
+ );
55
+ }
56
+ export interface UpdateContainerAgentRequest {
57
+ cluster?: string;
58
+ containerInstance: string | undefined;
59
+ }
60
+ export interface UpdateContainerAgentResponse {
61
+ containerInstance?: ContainerInstance;
62
+ }
63
+ export interface UpdateContainerInstancesStateRequest {
64
+ cluster?: string;
65
+ containerInstances: string[] | undefined;
66
+ status: ContainerInstanceStatus | undefined;
67
+ }
68
+ export interface UpdateContainerInstancesStateResponse {
69
+ containerInstances?: ContainerInstance[];
70
+ failures?: Failure[];
71
+ }
72
+ export interface UpdateServiceRequest {
73
+ cluster?: string;
74
+ service: string | undefined;
75
+ desiredCount?: number;
76
+ taskDefinition?: string;
77
+ capacityProviderStrategy?: CapacityProviderStrategyItem[];
78
+ deploymentConfiguration?: DeploymentConfiguration;
79
+ networkConfiguration?: NetworkConfiguration;
80
+ placementConstraints?: PlacementConstraint[];
81
+ placementStrategy?: PlacementStrategy[];
82
+ platformVersion?: string;
83
+ forceNewDeployment?: boolean;
84
+ healthCheckGracePeriodSeconds?: number;
85
+ enableExecuteCommand?: boolean;
86
+ enableECSManagedTags?: boolean;
87
+ loadBalancers?: LoadBalancer[];
88
+ propagateTags?: PropagateTags;
89
+ serviceRegistries?: ServiceRegistry[];
90
+ serviceConnectConfiguration?: ServiceConnectConfiguration;
91
+ volumeConfigurations?: ServiceVolumeConfiguration[];
92
+ }
93
+ export interface UpdateServiceResponse {
94
+ service?: Service;
95
+ }
96
+ export interface UpdateServicePrimaryTaskSetRequest {
97
+ cluster: string | undefined;
98
+ service: string | undefined;
99
+ primaryTaskSet: string | undefined;
100
+ }
101
+ export interface UpdateServicePrimaryTaskSetResponse {
102
+ taskSet?: TaskSet;
103
+ }
104
+ export interface UpdateTaskProtectionRequest {
105
+ cluster: string | undefined;
106
+ tasks: string[] | undefined;
107
+ protectionEnabled: boolean | undefined;
108
+ expiresInMinutes?: number;
109
+ }
110
+ export interface UpdateTaskProtectionResponse {
111
+ protectedTasks?: ProtectedTask[];
112
+ failures?: Failure[];
113
+ }
114
+ export interface UpdateTaskSetRequest {
115
+ cluster: string | undefined;
116
+ service: string | undefined;
117
+ taskSet: string | undefined;
118
+ scale: Scale | undefined;
119
+ }
2
120
  export interface UpdateTaskSetResponse {
3
121
  taskSet?: TaskSet;
4
122
  }