@aws-sdk/client-ecs 3.679.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 +6 -6
@@ -0,0 +1,177 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECSClient";
4
+ import { DescribeServiceDeploymentsRequest, DescribeServiceDeploymentsResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DescribeServiceDeploymentsCommand}.
14
+ */
15
+ export interface DescribeServiceDeploymentsCommandInput extends DescribeServiceDeploymentsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DescribeServiceDeploymentsCommand}.
21
+ */
22
+ export interface DescribeServiceDeploymentsCommandOutput extends DescribeServiceDeploymentsResponse, __MetadataBearer {
23
+ }
24
+ declare const DescribeServiceDeploymentsCommand_base: {
25
+ new (input: DescribeServiceDeploymentsCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeServiceDeploymentsCommandInput, DescribeServiceDeploymentsCommandOutput, ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: DescribeServiceDeploymentsCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeServiceDeploymentsCommandInput, DescribeServiceDeploymentsCommandOutput, ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Describes one or more of your service deployments.</p>
31
+ * <p>A service deployment happens when you release a software update for the service. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-deployments.html">Amazon ECS service deployments</a>.</p>
32
+ * @example
33
+ * Use a bare-bones client and the command you need to make an API call.
34
+ * ```javascript
35
+ * import { ECSClient, DescribeServiceDeploymentsCommand } from "@aws-sdk/client-ecs"; // ES Modules import
36
+ * // const { ECSClient, DescribeServiceDeploymentsCommand } = require("@aws-sdk/client-ecs"); // CommonJS import
37
+ * const client = new ECSClient(config);
38
+ * const input = { // DescribeServiceDeploymentsRequest
39
+ * serviceDeploymentArns: [ // StringList // required
40
+ * "STRING_VALUE",
41
+ * ],
42
+ * };
43
+ * const command = new DescribeServiceDeploymentsCommand(input);
44
+ * const response = await client.send(command);
45
+ * // { // DescribeServiceDeploymentsResponse
46
+ * // serviceDeployments: [ // ServiceDeployments
47
+ * // { // ServiceDeployment
48
+ * // serviceDeploymentArn: "STRING_VALUE",
49
+ * // serviceArn: "STRING_VALUE",
50
+ * // clusterArn: "STRING_VALUE",
51
+ * // createdAt: new Date("TIMESTAMP"),
52
+ * // startedAt: new Date("TIMESTAMP"),
53
+ * // finishedAt: new Date("TIMESTAMP"),
54
+ * // stoppedAt: new Date("TIMESTAMP"),
55
+ * // updatedAt: new Date("TIMESTAMP"),
56
+ * // sourceServiceRevisions: [ // ServiceRevisionsSummaryList
57
+ * // { // ServiceRevisionSummary
58
+ * // arn: "STRING_VALUE",
59
+ * // requestedTaskCount: Number("int"),
60
+ * // runningTaskCount: Number("int"),
61
+ * // pendingTaskCount: Number("int"),
62
+ * // },
63
+ * // ],
64
+ * // targetServiceRevision: {
65
+ * // arn: "STRING_VALUE",
66
+ * // requestedTaskCount: Number("int"),
67
+ * // runningTaskCount: Number("int"),
68
+ * // pendingTaskCount: Number("int"),
69
+ * // },
70
+ * // status: "PENDING" || "SUCCESSFUL" || "STOPPED" || "STOP_REQUESTED" || "IN_PROGRESS" || "ROLLBACK_IN_PROGRESS" || "ROLLBACK_SUCCESSFUL" || "ROLLBACK_FAILED",
71
+ * // statusReason: "STRING_VALUE",
72
+ * // deploymentConfiguration: { // DeploymentConfiguration
73
+ * // deploymentCircuitBreaker: { // DeploymentCircuitBreaker
74
+ * // enable: true || false, // required
75
+ * // rollback: true || false, // required
76
+ * // },
77
+ * // maximumPercent: Number("int"),
78
+ * // minimumHealthyPercent: Number("int"),
79
+ * // alarms: { // DeploymentAlarms
80
+ * // alarmNames: [ // StringList // required
81
+ * // "STRING_VALUE",
82
+ * // ],
83
+ * // rollback: true || false, // required
84
+ * // enable: true || false, // required
85
+ * // },
86
+ * // },
87
+ * // rollback: { // Rollback
88
+ * // reason: "STRING_VALUE",
89
+ * // startedAt: new Date("TIMESTAMP"),
90
+ * // serviceRevisionArn: "STRING_VALUE",
91
+ * // },
92
+ * // deploymentCircuitBreaker: { // ServiceDeploymentCircuitBreaker
93
+ * // status: "TRIGGERED" || "MONITORING" || "MONITORING_COMPLETE" || "DISABLED",
94
+ * // failureCount: Number("int"),
95
+ * // threshold: Number("int"),
96
+ * // },
97
+ * // alarms: { // ServiceDeploymentAlarms
98
+ * // status: "TRIGGERED" || "MONITORING" || "MONITORING_COMPLETE" || "DISABLED",
99
+ * // alarmNames: [
100
+ * // "STRING_VALUE",
101
+ * // ],
102
+ * // triggeredAlarmNames: [
103
+ * // "STRING_VALUE",
104
+ * // ],
105
+ * // },
106
+ * // },
107
+ * // ],
108
+ * // failures: [ // Failures
109
+ * // { // Failure
110
+ * // arn: "STRING_VALUE",
111
+ * // reason: "STRING_VALUE",
112
+ * // detail: "STRING_VALUE",
113
+ * // },
114
+ * // ],
115
+ * // };
116
+ *
117
+ * ```
118
+ *
119
+ * @param DescribeServiceDeploymentsCommandInput - {@link DescribeServiceDeploymentsCommandInput}
120
+ * @returns {@link DescribeServiceDeploymentsCommandOutput}
121
+ * @see {@link DescribeServiceDeploymentsCommandInput} for command's `input` shape.
122
+ * @see {@link DescribeServiceDeploymentsCommandOutput} for command's `response` shape.
123
+ * @see {@link ECSClientResolvedConfig | config} for ECSClient's `config` shape.
124
+ *
125
+ * @throws {@link AccessDeniedException} (client fault)
126
+ * <p>You don't have authorization to perform the requested action.</p>
127
+ *
128
+ * @throws {@link ClientException} (client fault)
129
+ * <p>These errors are usually caused by a client action. This client action might be using
130
+ * an action or resource on behalf of a user that doesn't have permissions to use the
131
+ * action or resource. Or, it might be specifying an identifier that isn't valid.</p>
132
+ * <p>The following list includes additional causes for the error:</p>
133
+ * <ul>
134
+ * <li>
135
+ * <p>The <code>RunTask</code> could not be processed because you use managed
136
+ * scaling and there is a capacity error because the quota of tasks in the
137
+ * <code>PROVISIONING</code> per cluster has been reached. For information
138
+ * about the service quotas, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-quotas.html">Amazon ECS
139
+ * service quotas</a>.</p>
140
+ * </li>
141
+ * </ul>
142
+ *
143
+ * @throws {@link ClusterNotFoundException} (client fault)
144
+ * <p>The specified cluster wasn't found. You can view your available clusters with <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ListClusters.html">ListClusters</a>. Amazon ECS clusters are Region specific.</p>
145
+ *
146
+ * @throws {@link InvalidParameterException} (client fault)
147
+ * <p>The specified parameter isn't valid. Review the available parameters for the API
148
+ * request.</p>
149
+ *
150
+ * @throws {@link ServerException} (server fault)
151
+ * <p>These errors are usually caused by a server issue.</p>
152
+ *
153
+ * @throws {@link ServiceNotFoundException} (client fault)
154
+ * <p>The specified service wasn't found. You can view your available services with <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ListServices.html">ListServices</a>. Amazon ECS services are cluster specific and Region
155
+ * specific.</p>
156
+ *
157
+ * @throws {@link UnsupportedFeatureException} (client fault)
158
+ * <p>The specified task isn't supported in this Region.</p>
159
+ *
160
+ * @throws {@link ECSServiceException}
161
+ * <p>Base exception class for all service exceptions from ECS service.</p>
162
+ *
163
+ * @public
164
+ */
165
+ export declare class DescribeServiceDeploymentsCommand extends DescribeServiceDeploymentsCommand_base {
166
+ /** @internal type navigation helper, not in runtime. */
167
+ protected static __types: {
168
+ api: {
169
+ input: DescribeServiceDeploymentsRequest;
170
+ output: DescribeServiceDeploymentsResponse;
171
+ };
172
+ sdk: {
173
+ input: DescribeServiceDeploymentsCommandInput;
174
+ output: DescribeServiceDeploymentsCommandOutput;
175
+ };
176
+ };
177
+ }
@@ -0,0 +1,243 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECSClient";
4
+ import { DescribeServiceRevisionsRequest, DescribeServiceRevisionsResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DescribeServiceRevisionsCommand}.
14
+ */
15
+ export interface DescribeServiceRevisionsCommandInput extends DescribeServiceRevisionsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DescribeServiceRevisionsCommand}.
21
+ */
22
+ export interface DescribeServiceRevisionsCommandOutput extends DescribeServiceRevisionsResponse, __MetadataBearer {
23
+ }
24
+ declare const DescribeServiceRevisionsCommand_base: {
25
+ new (input: DescribeServiceRevisionsCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeServiceRevisionsCommandInput, DescribeServiceRevisionsCommandOutput, ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: DescribeServiceRevisionsCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeServiceRevisionsCommandInput, DescribeServiceRevisionsCommandOutput, ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Describes one or more service revisions.</p>
31
+ * <p>A service revision is a version of the service that includes the values for the Amazon ECS
32
+ * resources (for example, task definition) and the environment resources (for example,
33
+ * load balancers, subnets, and security groups). For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-revision.html">Amazon ECS service revisions</a>.</p>
34
+ * <p>You can't describe a service revision that was created before October 25, 2024.</p>
35
+ * @example
36
+ * Use a bare-bones client and the command you need to make an API call.
37
+ * ```javascript
38
+ * import { ECSClient, DescribeServiceRevisionsCommand } from "@aws-sdk/client-ecs"; // ES Modules import
39
+ * // const { ECSClient, DescribeServiceRevisionsCommand } = require("@aws-sdk/client-ecs"); // CommonJS import
40
+ * const client = new ECSClient(config);
41
+ * const input = { // DescribeServiceRevisionsRequest
42
+ * serviceRevisionArns: [ // StringList // required
43
+ * "STRING_VALUE",
44
+ * ],
45
+ * };
46
+ * const command = new DescribeServiceRevisionsCommand(input);
47
+ * const response = await client.send(command);
48
+ * // { // DescribeServiceRevisionsResponse
49
+ * // serviceRevisions: [ // ServiceRevisions
50
+ * // { // ServiceRevision
51
+ * // serviceRevisionArn: "STRING_VALUE",
52
+ * // serviceArn: "STRING_VALUE",
53
+ * // clusterArn: "STRING_VALUE",
54
+ * // taskDefinition: "STRING_VALUE",
55
+ * // capacityProviderStrategy: [ // CapacityProviderStrategy
56
+ * // { // CapacityProviderStrategyItem
57
+ * // capacityProvider: "STRING_VALUE", // required
58
+ * // weight: Number("int"),
59
+ * // base: Number("int"),
60
+ * // },
61
+ * // ],
62
+ * // launchType: "EC2" || "FARGATE" || "EXTERNAL",
63
+ * // platformVersion: "STRING_VALUE",
64
+ * // platformFamily: "STRING_VALUE",
65
+ * // loadBalancers: [ // LoadBalancers
66
+ * // { // LoadBalancer
67
+ * // targetGroupArn: "STRING_VALUE",
68
+ * // loadBalancerName: "STRING_VALUE",
69
+ * // containerName: "STRING_VALUE",
70
+ * // containerPort: Number("int"),
71
+ * // },
72
+ * // ],
73
+ * // serviceRegistries: [ // ServiceRegistries
74
+ * // { // ServiceRegistry
75
+ * // registryArn: "STRING_VALUE",
76
+ * // port: Number("int"),
77
+ * // containerName: "STRING_VALUE",
78
+ * // containerPort: Number("int"),
79
+ * // },
80
+ * // ],
81
+ * // networkConfiguration: { // NetworkConfiguration
82
+ * // awsvpcConfiguration: { // AwsVpcConfiguration
83
+ * // subnets: [ // StringList // required
84
+ * // "STRING_VALUE",
85
+ * // ],
86
+ * // securityGroups: [
87
+ * // "STRING_VALUE",
88
+ * // ],
89
+ * // assignPublicIp: "ENABLED" || "DISABLED",
90
+ * // },
91
+ * // },
92
+ * // containerImages: [ // ContainerImages
93
+ * // { // ContainerImage
94
+ * // containerName: "STRING_VALUE",
95
+ * // imageDigest: "STRING_VALUE",
96
+ * // image: "STRING_VALUE",
97
+ * // },
98
+ * // ],
99
+ * // guardDutyEnabled: true || false,
100
+ * // serviceConnectConfiguration: { // ServiceConnectConfiguration
101
+ * // enabled: true || false, // required
102
+ * // namespace: "STRING_VALUE",
103
+ * // services: [ // ServiceConnectServiceList
104
+ * // { // ServiceConnectService
105
+ * // portName: "STRING_VALUE", // required
106
+ * // discoveryName: "STRING_VALUE",
107
+ * // clientAliases: [ // ServiceConnectClientAliasList
108
+ * // { // ServiceConnectClientAlias
109
+ * // port: Number("int"), // required
110
+ * // dnsName: "STRING_VALUE",
111
+ * // },
112
+ * // ],
113
+ * // ingressPortOverride: Number("int"),
114
+ * // timeout: { // TimeoutConfiguration
115
+ * // idleTimeoutSeconds: Number("int"),
116
+ * // perRequestTimeoutSeconds: Number("int"),
117
+ * // },
118
+ * // tls: { // ServiceConnectTlsConfiguration
119
+ * // issuerCertificateAuthority: { // ServiceConnectTlsCertificateAuthority
120
+ * // awsPcaAuthorityArn: "STRING_VALUE",
121
+ * // },
122
+ * // kmsKey: "STRING_VALUE",
123
+ * // roleArn: "STRING_VALUE",
124
+ * // },
125
+ * // },
126
+ * // ],
127
+ * // logConfiguration: { // LogConfiguration
128
+ * // logDriver: "json-file" || "syslog" || "journald" || "gelf" || "fluentd" || "awslogs" || "splunk" || "awsfirelens", // required
129
+ * // options: { // LogConfigurationOptionsMap
130
+ * // "<keys>": "STRING_VALUE",
131
+ * // },
132
+ * // secretOptions: [ // SecretList
133
+ * // { // Secret
134
+ * // name: "STRING_VALUE", // required
135
+ * // valueFrom: "STRING_VALUE", // required
136
+ * // },
137
+ * // ],
138
+ * // },
139
+ * // },
140
+ * // volumeConfigurations: [ // ServiceVolumeConfigurations
141
+ * // { // ServiceVolumeConfiguration
142
+ * // name: "STRING_VALUE", // required
143
+ * // managedEBSVolume: { // ServiceManagedEBSVolumeConfiguration
144
+ * // encrypted: true || false,
145
+ * // kmsKeyId: "STRING_VALUE",
146
+ * // volumeType: "STRING_VALUE",
147
+ * // sizeInGiB: Number("int"),
148
+ * // snapshotId: "STRING_VALUE",
149
+ * // iops: Number("int"),
150
+ * // throughput: Number("int"),
151
+ * // tagSpecifications: [ // EBSTagSpecifications
152
+ * // { // EBSTagSpecification
153
+ * // resourceType: "volume", // required
154
+ * // tags: [ // Tags
155
+ * // { // Tag
156
+ * // key: "STRING_VALUE",
157
+ * // value: "STRING_VALUE",
158
+ * // },
159
+ * // ],
160
+ * // propagateTags: "TASK_DEFINITION" || "SERVICE" || "NONE",
161
+ * // },
162
+ * // ],
163
+ * // roleArn: "STRING_VALUE", // required
164
+ * // filesystemType: "ext3" || "ext4" || "xfs" || "ntfs",
165
+ * // },
166
+ * // },
167
+ * // ],
168
+ * // fargateEphemeralStorage: { // DeploymentEphemeralStorage
169
+ * // kmsKeyId: "STRING_VALUE",
170
+ * // },
171
+ * // createdAt: new Date("TIMESTAMP"),
172
+ * // },
173
+ * // ],
174
+ * // failures: [ // Failures
175
+ * // { // Failure
176
+ * // arn: "STRING_VALUE",
177
+ * // reason: "STRING_VALUE",
178
+ * // detail: "STRING_VALUE",
179
+ * // },
180
+ * // ],
181
+ * // };
182
+ *
183
+ * ```
184
+ *
185
+ * @param DescribeServiceRevisionsCommandInput - {@link DescribeServiceRevisionsCommandInput}
186
+ * @returns {@link DescribeServiceRevisionsCommandOutput}
187
+ * @see {@link DescribeServiceRevisionsCommandInput} for command's `input` shape.
188
+ * @see {@link DescribeServiceRevisionsCommandOutput} for command's `response` shape.
189
+ * @see {@link ECSClientResolvedConfig | config} for ECSClient's `config` shape.
190
+ *
191
+ * @throws {@link AccessDeniedException} (client fault)
192
+ * <p>You don't have authorization to perform the requested action.</p>
193
+ *
194
+ * @throws {@link ClientException} (client fault)
195
+ * <p>These errors are usually caused by a client action. This client action might be using
196
+ * an action or resource on behalf of a user that doesn't have permissions to use the
197
+ * action or resource. Or, it might be specifying an identifier that isn't valid.</p>
198
+ * <p>The following list includes additional causes for the error:</p>
199
+ * <ul>
200
+ * <li>
201
+ * <p>The <code>RunTask</code> could not be processed because you use managed
202
+ * scaling and there is a capacity error because the quota of tasks in the
203
+ * <code>PROVISIONING</code> per cluster has been reached. For information
204
+ * about the service quotas, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-quotas.html">Amazon ECS
205
+ * service quotas</a>.</p>
206
+ * </li>
207
+ * </ul>
208
+ *
209
+ * @throws {@link ClusterNotFoundException} (client fault)
210
+ * <p>The specified cluster wasn't found. You can view your available clusters with <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ListClusters.html">ListClusters</a>. Amazon ECS clusters are Region specific.</p>
211
+ *
212
+ * @throws {@link InvalidParameterException} (client fault)
213
+ * <p>The specified parameter isn't valid. Review the available parameters for the API
214
+ * request.</p>
215
+ *
216
+ * @throws {@link ServerException} (server fault)
217
+ * <p>These errors are usually caused by a server issue.</p>
218
+ *
219
+ * @throws {@link ServiceNotFoundException} (client fault)
220
+ * <p>The specified service wasn't found. You can view your available services with <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ListServices.html">ListServices</a>. Amazon ECS services are cluster specific and Region
221
+ * specific.</p>
222
+ *
223
+ * @throws {@link UnsupportedFeatureException} (client fault)
224
+ * <p>The specified task isn't supported in this Region.</p>
225
+ *
226
+ * @throws {@link ECSServiceException}
227
+ * <p>Base exception class for all service exceptions from ECS service.</p>
228
+ *
229
+ * @public
230
+ */
231
+ export declare class DescribeServiceRevisionsCommand extends DescribeServiceRevisionsCommand_base {
232
+ /** @internal type navigation helper, not in runtime. */
233
+ protected static __types: {
234
+ api: {
235
+ input: DescribeServiceRevisionsRequest;
236
+ output: DescribeServiceRevisionsResponse;
237
+ };
238
+ sdk: {
239
+ input: DescribeServiceRevisionsCommandInput;
240
+ output: DescribeServiceRevisionsCommandOutput;
241
+ };
242
+ };
243
+ }
@@ -93,8 +93,8 @@ declare const DescribeServicesCommand_base: {
93
93
  * // alarmNames: [ // StringList // required
94
94
  * // "STRING_VALUE",
95
95
  * // ],
96
- * // enable: true || false, // required
97
96
  * // rollback: true || false, // required
97
+ * // enable: true || false, // required
98
98
  * // },
99
99
  * // },
100
100
  * // taskSets: [ // TaskSets
@@ -345,7 +345,7 @@ declare const DescribeServicesCommand_base: {
345
345
  * <li>
346
346
  * <p>The <code>RunTask</code> could not be processed because you use managed
347
347
  * scaling and there is a capacity error because the quota of tasks in the
348
- * <code>PROVISIONING</code> per cluster has been reached. For information
348
+ * <code>PROVISIONING</code> per cluster has been reached. For information
349
349
  * about the service quotas, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-quotas.html">Amazon ECS
350
350
  * service quotas</a>.</p>
351
351
  * </li>
@@ -345,7 +345,7 @@ declare const DescribeTaskDefinitionCommand_base: {
345
345
  * <li>
346
346
  * <p>The <code>RunTask</code> could not be processed because you use managed
347
347
  * scaling and there is a capacity error because the quota of tasks in the
348
- * <code>PROVISIONING</code> per cluster has been reached. For information
348
+ * <code>PROVISIONING</code> per cluster has been reached. For information
349
349
  * about the service quotas, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-quotas.html">Amazon ECS
350
350
  * service quotas</a>.</p>
351
351
  * </li>
@@ -148,7 +148,7 @@ declare const DescribeTaskSetsCommand_base: {
148
148
  * <li>
149
149
  * <p>The <code>RunTask</code> could not be processed because you use managed
150
150
  * scaling and there is a capacity error because the quota of tasks in the
151
- * <code>PROVISIONING</code> per cluster has been reached. For information
151
+ * <code>PROVISIONING</code> per cluster has been reached. For information
152
152
  * about the service quotas, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-quotas.html">Amazon ECS
153
153
  * service quotas</a>.</p>
154
154
  * </li>
@@ -238,7 +238,7 @@ declare const DescribeTasksCommand_base: {
238
238
  * <li>
239
239
  * <p>The <code>RunTask</code> could not be processed because you use managed
240
240
  * scaling and there is a capacity error because the quota of tasks in the
241
- * <code>PROVISIONING</code> per cluster has been reached. For information
241
+ * <code>PROVISIONING</code> per cluster has been reached. For information
242
242
  * about the service quotas, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-quotas.html">Amazon ECS
243
243
  * service quotas</a>.</p>
244
244
  * </li>
@@ -66,7 +66,7 @@ declare const DiscoverPollEndpointCommand_base: {
66
66
  * <li>
67
67
  * <p>The <code>RunTask</code> could not be processed because you use managed
68
68
  * scaling and there is a capacity error because the quota of tasks in the
69
- * <code>PROVISIONING</code> per cluster has been reached. For information
69
+ * <code>PROVISIONING</code> per cluster has been reached. For information
70
70
  * about the service quotas, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-quotas.html">Amazon ECS
71
71
  * service quotas</a>.</p>
72
72
  * </li>
@@ -83,7 +83,7 @@ declare const ExecuteCommandCommand_base: {
83
83
  * <li>
84
84
  * <p>The <code>RunTask</code> could not be processed because you use managed
85
85
  * scaling and there is a capacity error because the quota of tasks in the
86
- * <code>PROVISIONING</code> per cluster has been reached. For information
86
+ * <code>PROVISIONING</code> per cluster has been reached. For information
87
87
  * about the service quotas, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-quotas.html">Amazon ECS
88
88
  * service quotas</a>.</p>
89
89
  * </li>
@@ -79,7 +79,7 @@ declare const GetTaskProtectionCommand_base: {
79
79
  * <li>
80
80
  * <p>The <code>RunTask</code> could not be processed because you use managed
81
81
  * scaling and there is a capacity error because the quota of tasks in the
82
- * <code>PROVISIONING</code> per cluster has been reached. For information
82
+ * <code>PROVISIONING</code> per cluster has been reached. For information
83
83
  * about the service quotas, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-quotas.html">Amazon ECS
84
84
  * service quotas</a>.</p>
85
85
  * </li>
@@ -73,7 +73,7 @@ declare const ListAccountSettingsCommand_base: {
73
73
  * <li>
74
74
  * <p>The <code>RunTask</code> could not be processed because you use managed
75
75
  * scaling and there is a capacity error because the quota of tasks in the
76
- * <code>PROVISIONING</code> per cluster has been reached. For information
76
+ * <code>PROVISIONING</code> per cluster has been reached. For information
77
77
  * about the service quotas, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-quotas.html">Amazon ECS
78
78
  * service quotas</a>.</p>
79
79
  * </li>
@@ -64,7 +64,7 @@ declare const ListClustersCommand_base: {
64
64
  * <li>
65
65
  * <p>The <code>RunTask</code> could not be processed because you use managed
66
66
  * scaling and there is a capacity error because the quota of tasks in the
67
- * <code>PROVISIONING</code> per cluster has been reached. For information
67
+ * <code>PROVISIONING</code> per cluster has been reached. For information
68
68
  * about the service quotas, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-quotas.html">Amazon ECS
69
69
  * service quotas</a>.</p>
70
70
  * </li>
@@ -69,7 +69,7 @@ declare const ListContainerInstancesCommand_base: {
69
69
  * <li>
70
70
  * <p>The <code>RunTask</code> could not be processed because you use managed
71
71
  * scaling and there is a capacity error because the quota of tasks in the
72
- * <code>PROVISIONING</code> per cluster has been reached. For information
72
+ * <code>PROVISIONING</code> per cluster has been reached. For information
73
73
  * about the service quotas, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-quotas.html">Amazon ECS
74
74
  * service quotas</a>.</p>
75
75
  * </li>