@aws-sdk/client-ecs 3.300.0 → 3.303.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 +284 -342
- package/dist-es/models/models_0.js +284 -342
- package/dist-types/commands/CreateCapacityProviderCommand.d.ts +5 -5
- package/dist-types/commands/CreateClusterCommand.d.ts +12 -12
- package/dist-types/commands/CreateServiceCommand.d.ts +29 -29
- package/dist-types/commands/CreateTaskSetCommand.d.ts +13 -13
- package/dist-types/commands/DeleteAccountSettingCommand.d.ts +1 -1
- package/dist-types/commands/DeleteAttributesCommand.d.ts +3 -3
- package/dist-types/commands/DeleteCapacityProviderCommand.d.ts +1 -1
- package/dist-types/commands/DeleteClusterCommand.d.ts +1 -1
- package/dist-types/commands/DeleteServiceCommand.d.ts +1 -1
- package/dist-types/commands/DeleteTaskDefinitionsCommand.d.ts +2 -2
- package/dist-types/commands/DeleteTaskSetCommand.d.ts +1 -1
- package/dist-types/commands/DeregisterContainerInstanceCommand.d.ts +1 -1
- package/dist-types/commands/DeregisterTaskDefinitionCommand.d.ts +1 -1
- package/dist-types/commands/DescribeCapacityProvidersCommand.d.ts +3 -3
- package/dist-types/commands/DescribeClustersCommand.d.ts +3 -3
- package/dist-types/commands/DescribeContainerInstancesCommand.d.ts +3 -3
- package/dist-types/commands/DescribeServicesCommand.d.ts +3 -3
- package/dist-types/commands/DescribeTaskDefinitionCommand.d.ts +2 -2
- package/dist-types/commands/DescribeTaskSetsCommand.d.ts +3 -3
- package/dist-types/commands/DescribeTasksCommand.d.ts +3 -3
- package/dist-types/commands/DiscoverPollEndpointCommand.d.ts +1 -1
- package/dist-types/commands/ExecuteCommandCommand.d.ts +1 -1
- package/dist-types/commands/GetTaskProtectionCommand.d.ts +2 -2
- package/dist-types/commands/ListAccountSettingsCommand.d.ts +1 -1
- package/dist-types/commands/ListAttributesCommand.d.ts +1 -1
- package/dist-types/commands/ListClustersCommand.d.ts +1 -1
- package/dist-types/commands/ListContainerInstancesCommand.d.ts +1 -1
- package/dist-types/commands/ListServicesByNamespaceCommand.d.ts +1 -1
- package/dist-types/commands/ListServicesCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/ListTaskDefinitionFamiliesCommand.d.ts +1 -1
- package/dist-types/commands/ListTaskDefinitionsCommand.d.ts +1 -1
- package/dist-types/commands/ListTasksCommand.d.ts +1 -1
- package/dist-types/commands/PutAccountSettingCommand.d.ts +1 -1
- package/dist-types/commands/PutAccountSettingDefaultCommand.d.ts +1 -1
- package/dist-types/commands/PutAttributesCommand.d.ts +3 -3
- package/dist-types/commands/PutClusterCapacityProvidersCommand.d.ts +4 -4
- package/dist-types/commands/RegisterContainerInstanceCommand.d.ts +11 -11
- package/dist-types/commands/RegisterTaskDefinitionCommand.d.ts +65 -75
- package/dist-types/commands/RunTaskCommand.d.ts +24 -24
- package/dist-types/commands/StartTaskCommand.d.ts +19 -21
- package/dist-types/commands/StopTaskCommand.d.ts +1 -1
- package/dist-types/commands/SubmitAttachmentStateChangesCommand.d.ts +3 -3
- package/dist-types/commands/SubmitContainerStateChangeCommand.d.ts +3 -3
- package/dist-types/commands/SubmitTaskStateChangeCommand.d.ts +9 -9
- package/dist-types/commands/TagResourceCommand.d.ts +3 -3
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
- package/dist-types/commands/UpdateCapacityProviderCommand.d.ts +3 -3
- package/dist-types/commands/UpdateClusterCommand.d.ts +7 -7
- package/dist-types/commands/UpdateClusterSettingsCommand.d.ts +3 -3
- package/dist-types/commands/UpdateContainerAgentCommand.d.ts +1 -1
- package/dist-types/commands/UpdateContainerInstancesStateCommand.d.ts +2 -2
- package/dist-types/commands/UpdateServiceCommand.d.ts +26 -26
- package/dist-types/commands/UpdateServicePrimaryTaskSetCommand.d.ts +1 -1
- package/dist-types/commands/UpdateTaskProtectionCommand.d.ts +2 -2
- package/dist-types/commands/UpdateTaskSetCommand.d.ts +2 -2
- package/dist-types/models/models_0.d.ts +574 -284
- package/dist-types/ts3.4/models/models_0.d.ts +377 -284
- package/package.json +35 -35
|
@@ -32,11 +32,11 @@ export interface CreateCapacityProviderCommandOutput extends CreateCapacityProvi
|
|
|
32
32
|
* import { ECSClient, CreateCapacityProviderCommand } from "@aws-sdk/client-ecs"; // ES Modules import
|
|
33
33
|
* // const { ECSClient, CreateCapacityProviderCommand } = require("@aws-sdk/client-ecs"); // CommonJS import
|
|
34
34
|
* const client = new ECSClient(config);
|
|
35
|
-
* const input = {
|
|
35
|
+
* const input = { // CreateCapacityProviderRequest
|
|
36
36
|
* name: "STRING_VALUE", // required
|
|
37
|
-
* autoScalingGroupProvider: {
|
|
37
|
+
* autoScalingGroupProvider: { // AutoScalingGroupProvider
|
|
38
38
|
* autoScalingGroupArn: "STRING_VALUE", // required
|
|
39
|
-
* managedScaling: {
|
|
39
|
+
* managedScaling: { // ManagedScaling
|
|
40
40
|
* status: "ENABLED" || "DISABLED",
|
|
41
41
|
* targetCapacity: Number("int"),
|
|
42
42
|
* minimumScalingStepSize: Number("int"),
|
|
@@ -45,8 +45,8 @@ export interface CreateCapacityProviderCommandOutput extends CreateCapacityProvi
|
|
|
45
45
|
* },
|
|
46
46
|
* managedTerminationProtection: "ENABLED" || "DISABLED",
|
|
47
47
|
* },
|
|
48
|
-
* tags: [
|
|
49
|
-
* {
|
|
48
|
+
* tags: [ // Tags
|
|
49
|
+
* { // Tag
|
|
50
50
|
* key: "STRING_VALUE",
|
|
51
51
|
* value: "STRING_VALUE",
|
|
52
52
|
* },
|
|
@@ -36,25 +36,25 @@ export interface CreateClusterCommandOutput extends CreateClusterResponse, __Met
|
|
|
36
36
|
* import { ECSClient, CreateClusterCommand } from "@aws-sdk/client-ecs"; // ES Modules import
|
|
37
37
|
* // const { ECSClient, CreateClusterCommand } = require("@aws-sdk/client-ecs"); // CommonJS import
|
|
38
38
|
* const client = new ECSClient(config);
|
|
39
|
-
* const input = {
|
|
39
|
+
* const input = { // CreateClusterRequest
|
|
40
40
|
* clusterName: "STRING_VALUE",
|
|
41
|
-
* tags: [
|
|
42
|
-
* {
|
|
41
|
+
* tags: [ // Tags
|
|
42
|
+
* { // Tag
|
|
43
43
|
* key: "STRING_VALUE",
|
|
44
44
|
* value: "STRING_VALUE",
|
|
45
45
|
* },
|
|
46
46
|
* ],
|
|
47
|
-
* settings: [
|
|
48
|
-
* {
|
|
47
|
+
* settings: [ // ClusterSettings
|
|
48
|
+
* { // ClusterSetting
|
|
49
49
|
* name: "containerInsights",
|
|
50
50
|
* value: "STRING_VALUE",
|
|
51
51
|
* },
|
|
52
52
|
* ],
|
|
53
|
-
* configuration: {
|
|
54
|
-
* executeCommandConfiguration: {
|
|
53
|
+
* configuration: { // ClusterConfiguration
|
|
54
|
+
* executeCommandConfiguration: { // ExecuteCommandConfiguration
|
|
55
55
|
* kmsKeyId: "STRING_VALUE",
|
|
56
56
|
* logging: "NONE" || "DEFAULT" || "OVERRIDE",
|
|
57
|
-
* logConfiguration: {
|
|
57
|
+
* logConfiguration: { // ExecuteCommandLogConfiguration
|
|
58
58
|
* cloudWatchLogGroupName: "STRING_VALUE",
|
|
59
59
|
* cloudWatchEncryptionEnabled: true || false,
|
|
60
60
|
* s3BucketName: "STRING_VALUE",
|
|
@@ -63,17 +63,17 @@ export interface CreateClusterCommandOutput extends CreateClusterResponse, __Met
|
|
|
63
63
|
* },
|
|
64
64
|
* },
|
|
65
65
|
* },
|
|
66
|
-
* capacityProviders: [
|
|
66
|
+
* capacityProviders: [ // StringList
|
|
67
67
|
* "STRING_VALUE",
|
|
68
68
|
* ],
|
|
69
|
-
* defaultCapacityProviderStrategy: [
|
|
70
|
-
* {
|
|
69
|
+
* defaultCapacityProviderStrategy: [ // CapacityProviderStrategy
|
|
70
|
+
* { // CapacityProviderStrategyItem
|
|
71
71
|
* capacityProvider: "STRING_VALUE", // required
|
|
72
72
|
* weight: Number("int"),
|
|
73
73
|
* base: Number("int"),
|
|
74
74
|
* },
|
|
75
75
|
* ],
|
|
76
|
-
* serviceConnectDefaults: {
|
|
76
|
+
* serviceConnectDefaults: { // ClusterServiceConnectDefaultsRequest
|
|
77
77
|
* namespace: "STRING_VALUE", // required
|
|
78
78
|
* },
|
|
79
79
|
* };
|
|
@@ -102,20 +102,20 @@ export interface CreateServiceCommandOutput extends CreateServiceResponse, __Met
|
|
|
102
102
|
* import { ECSClient, CreateServiceCommand } from "@aws-sdk/client-ecs"; // ES Modules import
|
|
103
103
|
* // const { ECSClient, CreateServiceCommand } = require("@aws-sdk/client-ecs"); // CommonJS import
|
|
104
104
|
* const client = new ECSClient(config);
|
|
105
|
-
* const input = {
|
|
105
|
+
* const input = { // CreateServiceRequest
|
|
106
106
|
* cluster: "STRING_VALUE",
|
|
107
107
|
* serviceName: "STRING_VALUE", // required
|
|
108
108
|
* taskDefinition: "STRING_VALUE",
|
|
109
|
-
* loadBalancers: [
|
|
110
|
-
* {
|
|
109
|
+
* loadBalancers: [ // LoadBalancers
|
|
110
|
+
* { // LoadBalancer
|
|
111
111
|
* targetGroupArn: "STRING_VALUE",
|
|
112
112
|
* loadBalancerName: "STRING_VALUE",
|
|
113
113
|
* containerName: "STRING_VALUE",
|
|
114
114
|
* containerPort: Number("int"),
|
|
115
115
|
* },
|
|
116
116
|
* ],
|
|
117
|
-
* serviceRegistries: [
|
|
118
|
-
* {
|
|
117
|
+
* serviceRegistries: [ // ServiceRegistries
|
|
118
|
+
* { // ServiceRegistry
|
|
119
119
|
* registryArn: "STRING_VALUE",
|
|
120
120
|
* port: Number("int"),
|
|
121
121
|
* containerName: "STRING_VALUE",
|
|
@@ -125,8 +125,8 @@ export interface CreateServiceCommandOutput extends CreateServiceResponse, __Met
|
|
|
125
125
|
* desiredCount: Number("int"),
|
|
126
126
|
* clientToken: "STRING_VALUE",
|
|
127
127
|
* launchType: "EC2" || "FARGATE" || "EXTERNAL",
|
|
128
|
-
* capacityProviderStrategy: [
|
|
129
|
-
* {
|
|
128
|
+
* capacityProviderStrategy: [ // CapacityProviderStrategy
|
|
129
|
+
* { // CapacityProviderStrategyItem
|
|
130
130
|
* capacityProvider: "STRING_VALUE", // required
|
|
131
131
|
* weight: Number("int"),
|
|
132
132
|
* base: Number("int"),
|
|
@@ -134,35 +134,35 @@ export interface CreateServiceCommandOutput extends CreateServiceResponse, __Met
|
|
|
134
134
|
* ],
|
|
135
135
|
* platformVersion: "STRING_VALUE",
|
|
136
136
|
* role: "STRING_VALUE",
|
|
137
|
-
* deploymentConfiguration: {
|
|
138
|
-
* deploymentCircuitBreaker: {
|
|
137
|
+
* deploymentConfiguration: { // DeploymentConfiguration
|
|
138
|
+
* deploymentCircuitBreaker: { // DeploymentCircuitBreaker
|
|
139
139
|
* enable: true || false, // required
|
|
140
140
|
* rollback: true || false, // required
|
|
141
141
|
* },
|
|
142
142
|
* maximumPercent: Number("int"),
|
|
143
143
|
* minimumHealthyPercent: Number("int"),
|
|
144
|
-
* alarms: {
|
|
145
|
-
* alarmNames: [ // required
|
|
144
|
+
* alarms: { // DeploymentAlarms
|
|
145
|
+
* alarmNames: [ // StringList // required
|
|
146
146
|
* "STRING_VALUE",
|
|
147
147
|
* ],
|
|
148
148
|
* enable: true || false, // required
|
|
149
149
|
* rollback: true || false, // required
|
|
150
150
|
* },
|
|
151
151
|
* },
|
|
152
|
-
* placementConstraints: [
|
|
153
|
-
* {
|
|
152
|
+
* placementConstraints: [ // PlacementConstraints
|
|
153
|
+
* { // PlacementConstraint
|
|
154
154
|
* type: "distinctInstance" || "memberOf",
|
|
155
155
|
* expression: "STRING_VALUE",
|
|
156
156
|
* },
|
|
157
157
|
* ],
|
|
158
|
-
* placementStrategy: [
|
|
159
|
-
* {
|
|
158
|
+
* placementStrategy: [ // PlacementStrategies
|
|
159
|
+
* { // PlacementStrategy
|
|
160
160
|
* type: "random" || "spread" || "binpack",
|
|
161
161
|
* field: "STRING_VALUE",
|
|
162
162
|
* },
|
|
163
163
|
* ],
|
|
164
|
-
* networkConfiguration: {
|
|
165
|
-
* awsvpcConfiguration: {
|
|
164
|
+
* networkConfiguration: { // NetworkConfiguration
|
|
165
|
+
* awsvpcConfiguration: { // AwsVpcConfiguration
|
|
166
166
|
* subnets: [ // required
|
|
167
167
|
* "STRING_VALUE",
|
|
168
168
|
* ],
|
|
@@ -174,11 +174,11 @@ export interface CreateServiceCommandOutput extends CreateServiceResponse, __Met
|
|
|
174
174
|
* },
|
|
175
175
|
* healthCheckGracePeriodSeconds: Number("int"),
|
|
176
176
|
* schedulingStrategy: "REPLICA" || "DAEMON",
|
|
177
|
-
* deploymentController: {
|
|
177
|
+
* deploymentController: { // DeploymentController
|
|
178
178
|
* type: "ECS" || "CODE_DEPLOY" || "EXTERNAL", // required
|
|
179
179
|
* },
|
|
180
|
-
* tags: [
|
|
181
|
-
* {
|
|
180
|
+
* tags: [ // Tags
|
|
181
|
+
* { // Tag
|
|
182
182
|
* key: "STRING_VALUE",
|
|
183
183
|
* value: "STRING_VALUE",
|
|
184
184
|
* },
|
|
@@ -186,15 +186,15 @@ export interface CreateServiceCommandOutput extends CreateServiceResponse, __Met
|
|
|
186
186
|
* enableECSManagedTags: true || false,
|
|
187
187
|
* propagateTags: "TASK_DEFINITION" || "SERVICE" || "NONE",
|
|
188
188
|
* enableExecuteCommand: true || false,
|
|
189
|
-
* serviceConnectConfiguration: {
|
|
189
|
+
* serviceConnectConfiguration: { // ServiceConnectConfiguration
|
|
190
190
|
* enabled: true || false, // required
|
|
191
191
|
* namespace: "STRING_VALUE",
|
|
192
|
-
* services: [
|
|
193
|
-
* {
|
|
192
|
+
* services: [ // ServiceConnectServiceList
|
|
193
|
+
* { // ServiceConnectService
|
|
194
194
|
* portName: "STRING_VALUE", // required
|
|
195
195
|
* discoveryName: "STRING_VALUE",
|
|
196
|
-
* clientAliases: [
|
|
197
|
-
* {
|
|
196
|
+
* clientAliases: [ // ServiceConnectClientAliasList
|
|
197
|
+
* { // ServiceConnectClientAlias
|
|
198
198
|
* port: Number("int"), // required
|
|
199
199
|
* dnsName: "STRING_VALUE",
|
|
200
200
|
* },
|
|
@@ -202,13 +202,13 @@ export interface CreateServiceCommandOutput extends CreateServiceResponse, __Met
|
|
|
202
202
|
* ingressPortOverride: Number("int"),
|
|
203
203
|
* },
|
|
204
204
|
* ],
|
|
205
|
-
* logConfiguration: {
|
|
205
|
+
* logConfiguration: { // LogConfiguration
|
|
206
206
|
* logDriver: "json-file" || "syslog" || "journald" || "gelf" || "fluentd" || "awslogs" || "splunk" || "awsfirelens", // required
|
|
207
|
-
* options: {
|
|
207
|
+
* options: { // LogConfigurationOptionsMap
|
|
208
208
|
* "<keys>": "STRING_VALUE",
|
|
209
209
|
* },
|
|
210
|
-
* secretOptions: [
|
|
211
|
-
* {
|
|
210
|
+
* secretOptions: [ // SecretList
|
|
211
|
+
* { // Secret
|
|
212
212
|
* name: "STRING_VALUE", // required
|
|
213
213
|
* valueFrom: "STRING_VALUE", // required
|
|
214
214
|
* },
|
|
@@ -29,14 +29,14 @@ export interface CreateTaskSetCommandOutput extends CreateTaskSetResponse, __Met
|
|
|
29
29
|
* import { ECSClient, CreateTaskSetCommand } from "@aws-sdk/client-ecs"; // ES Modules import
|
|
30
30
|
* // const { ECSClient, CreateTaskSetCommand } = require("@aws-sdk/client-ecs"); // CommonJS import
|
|
31
31
|
* const client = new ECSClient(config);
|
|
32
|
-
* const input = {
|
|
32
|
+
* const input = { // CreateTaskSetRequest
|
|
33
33
|
* service: "STRING_VALUE", // required
|
|
34
34
|
* cluster: "STRING_VALUE", // required
|
|
35
35
|
* externalId: "STRING_VALUE",
|
|
36
36
|
* taskDefinition: "STRING_VALUE", // required
|
|
37
|
-
* networkConfiguration: {
|
|
38
|
-
* awsvpcConfiguration: {
|
|
39
|
-
* subnets: [ // required
|
|
37
|
+
* networkConfiguration: { // NetworkConfiguration
|
|
38
|
+
* awsvpcConfiguration: { // AwsVpcConfiguration
|
|
39
|
+
* subnets: [ // StringList // required
|
|
40
40
|
* "STRING_VALUE",
|
|
41
41
|
* ],
|
|
42
42
|
* securityGroups: [
|
|
@@ -45,16 +45,16 @@ export interface CreateTaskSetCommandOutput extends CreateTaskSetResponse, __Met
|
|
|
45
45
|
* assignPublicIp: "ENABLED" || "DISABLED",
|
|
46
46
|
* },
|
|
47
47
|
* },
|
|
48
|
-
* loadBalancers: [
|
|
49
|
-
* {
|
|
48
|
+
* loadBalancers: [ // LoadBalancers
|
|
49
|
+
* { // LoadBalancer
|
|
50
50
|
* targetGroupArn: "STRING_VALUE",
|
|
51
51
|
* loadBalancerName: "STRING_VALUE",
|
|
52
52
|
* containerName: "STRING_VALUE",
|
|
53
53
|
* containerPort: Number("int"),
|
|
54
54
|
* },
|
|
55
55
|
* ],
|
|
56
|
-
* serviceRegistries: [
|
|
57
|
-
* {
|
|
56
|
+
* serviceRegistries: [ // ServiceRegistries
|
|
57
|
+
* { // ServiceRegistry
|
|
58
58
|
* registryArn: "STRING_VALUE",
|
|
59
59
|
* port: Number("int"),
|
|
60
60
|
* containerName: "STRING_VALUE",
|
|
@@ -62,21 +62,21 @@ export interface CreateTaskSetCommandOutput extends CreateTaskSetResponse, __Met
|
|
|
62
62
|
* },
|
|
63
63
|
* ],
|
|
64
64
|
* launchType: "EC2" || "FARGATE" || "EXTERNAL",
|
|
65
|
-
* capacityProviderStrategy: [
|
|
66
|
-
* {
|
|
65
|
+
* capacityProviderStrategy: [ // CapacityProviderStrategy
|
|
66
|
+
* { // CapacityProviderStrategyItem
|
|
67
67
|
* capacityProvider: "STRING_VALUE", // required
|
|
68
68
|
* weight: Number("int"),
|
|
69
69
|
* base: Number("int"),
|
|
70
70
|
* },
|
|
71
71
|
* ],
|
|
72
72
|
* platformVersion: "STRING_VALUE",
|
|
73
|
-
* scale: {
|
|
73
|
+
* scale: { // Scale
|
|
74
74
|
* value: Number("double"),
|
|
75
75
|
* unit: "PERCENT",
|
|
76
76
|
* },
|
|
77
77
|
* clientToken: "STRING_VALUE",
|
|
78
|
-
* tags: [
|
|
79
|
-
* {
|
|
78
|
+
* tags: [ // Tags
|
|
79
|
+
* { // Tag
|
|
80
80
|
* key: "STRING_VALUE",
|
|
81
81
|
* value: "STRING_VALUE",
|
|
82
82
|
* },
|
|
@@ -27,7 +27,7 @@ export interface DeleteAccountSettingCommandOutput extends DeleteAccountSettingR
|
|
|
27
27
|
* import { ECSClient, DeleteAccountSettingCommand } from "@aws-sdk/client-ecs"; // ES Modules import
|
|
28
28
|
* // const { ECSClient, DeleteAccountSettingCommand } = require("@aws-sdk/client-ecs"); // CommonJS import
|
|
29
29
|
* const client = new ECSClient(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // DeleteAccountSettingRequest
|
|
31
31
|
* name: "serviceLongArnFormat" || "taskLongArnFormat" || "containerInstanceLongArnFormat" || "awsvpcTrunking" || "containerInsights", // required
|
|
32
32
|
* principalArn: "STRING_VALUE",
|
|
33
33
|
* };
|
|
@@ -26,10 +26,10 @@ export interface DeleteAttributesCommandOutput extends DeleteAttributesResponse,
|
|
|
26
26
|
* import { ECSClient, DeleteAttributesCommand } from "@aws-sdk/client-ecs"; // ES Modules import
|
|
27
27
|
* // const { ECSClient, DeleteAttributesCommand } = require("@aws-sdk/client-ecs"); // CommonJS import
|
|
28
28
|
* const client = new ECSClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // DeleteAttributesRequest
|
|
30
30
|
* cluster: "STRING_VALUE",
|
|
31
|
-
* attributes: [ // required
|
|
32
|
-
* {
|
|
31
|
+
* attributes: [ // Attributes // required
|
|
32
|
+
* { // Attribute
|
|
33
33
|
* name: "STRING_VALUE", // required
|
|
34
34
|
* value: "STRING_VALUE",
|
|
35
35
|
* targetType: "container-instance",
|
|
@@ -40,7 +40,7 @@ export interface DeleteCapacityProviderCommandOutput extends DeleteCapacityProvi
|
|
|
40
40
|
* import { ECSClient, DeleteCapacityProviderCommand } from "@aws-sdk/client-ecs"; // ES Modules import
|
|
41
41
|
* // const { ECSClient, DeleteCapacityProviderCommand } = require("@aws-sdk/client-ecs"); // CommonJS import
|
|
42
42
|
* const client = new ECSClient(config);
|
|
43
|
-
* const input = {
|
|
43
|
+
* const input = { // DeleteCapacityProviderRequest
|
|
44
44
|
* capacityProvider: "STRING_VALUE", // required
|
|
45
45
|
* };
|
|
46
46
|
* const command = new DeleteCapacityProviderCommand(input);
|
|
@@ -31,7 +31,7 @@ export interface DeleteClusterCommandOutput extends DeleteClusterResponse, __Met
|
|
|
31
31
|
* import { ECSClient, DeleteClusterCommand } from "@aws-sdk/client-ecs"; // ES Modules import
|
|
32
32
|
* // const { ECSClient, DeleteClusterCommand } = require("@aws-sdk/client-ecs"); // CommonJS import
|
|
33
33
|
* const client = new ECSClient(config);
|
|
34
|
-
* const input = {
|
|
34
|
+
* const input = { // DeleteClusterRequest
|
|
35
35
|
* cluster: "STRING_VALUE", // required
|
|
36
36
|
* };
|
|
37
37
|
* const command = new DeleteClusterCommand(input);
|
|
@@ -46,7 +46,7 @@ export interface DeleteServiceCommandOutput extends DeleteServiceResponse, __Met
|
|
|
46
46
|
* import { ECSClient, DeleteServiceCommand } from "@aws-sdk/client-ecs"; // ES Modules import
|
|
47
47
|
* // const { ECSClient, DeleteServiceCommand } = require("@aws-sdk/client-ecs"); // CommonJS import
|
|
48
48
|
* const client = new ECSClient(config);
|
|
49
|
-
* const input = {
|
|
49
|
+
* const input = { // DeleteServiceRequest
|
|
50
50
|
* cluster: "STRING_VALUE",
|
|
51
51
|
* service: "STRING_VALUE", // required
|
|
52
52
|
* force: true || false,
|
|
@@ -39,8 +39,8 @@ export interface DeleteTaskDefinitionsCommandOutput extends DeleteTaskDefinition
|
|
|
39
39
|
* import { ECSClient, DeleteTaskDefinitionsCommand } from "@aws-sdk/client-ecs"; // ES Modules import
|
|
40
40
|
* // const { ECSClient, DeleteTaskDefinitionsCommand } = require("@aws-sdk/client-ecs"); // CommonJS import
|
|
41
41
|
* const client = new ECSClient(config);
|
|
42
|
-
* const input = {
|
|
43
|
-
* taskDefinitions: [ // required
|
|
42
|
+
* const input = { // DeleteTaskDefinitionsRequest
|
|
43
|
+
* taskDefinitions: [ // StringList // required
|
|
44
44
|
* "STRING_VALUE",
|
|
45
45
|
* ],
|
|
46
46
|
* };
|
|
@@ -27,7 +27,7 @@ export interface DeleteTaskSetCommandOutput extends DeleteTaskSetResponse, __Met
|
|
|
27
27
|
* import { ECSClient, DeleteTaskSetCommand } from "@aws-sdk/client-ecs"; // ES Modules import
|
|
28
28
|
* // const { ECSClient, DeleteTaskSetCommand } = require("@aws-sdk/client-ecs"); // CommonJS import
|
|
29
29
|
* const client = new ECSClient(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // DeleteTaskSetRequest
|
|
31
31
|
* cluster: "STRING_VALUE", // required
|
|
32
32
|
* service: "STRING_VALUE", // required
|
|
33
33
|
* taskSet: "STRING_VALUE", // required
|
|
@@ -39,7 +39,7 @@ export interface DeregisterContainerInstanceCommandOutput extends DeregisterCont
|
|
|
39
39
|
* import { ECSClient, DeregisterContainerInstanceCommand } from "@aws-sdk/client-ecs"; // ES Modules import
|
|
40
40
|
* // const { ECSClient, DeregisterContainerInstanceCommand } = require("@aws-sdk/client-ecs"); // CommonJS import
|
|
41
41
|
* const client = new ECSClient(config);
|
|
42
|
-
* const input = {
|
|
42
|
+
* const input = { // DeregisterContainerInstanceRequest
|
|
43
43
|
* cluster: "STRING_VALUE",
|
|
44
44
|
* containerInstance: "STRING_VALUE", // required
|
|
45
45
|
* force: true || false,
|
|
@@ -43,7 +43,7 @@ export interface DeregisterTaskDefinitionCommandOutput extends DeregisterTaskDef
|
|
|
43
43
|
* import { ECSClient, DeregisterTaskDefinitionCommand } from "@aws-sdk/client-ecs"; // ES Modules import
|
|
44
44
|
* // const { ECSClient, DeregisterTaskDefinitionCommand } = require("@aws-sdk/client-ecs"); // CommonJS import
|
|
45
45
|
* const client = new ECSClient(config);
|
|
46
|
-
* const input = {
|
|
46
|
+
* const input = { // DeregisterTaskDefinitionRequest
|
|
47
47
|
* taskDefinition: "STRING_VALUE", // required
|
|
48
48
|
* };
|
|
49
49
|
* const command = new DeregisterTaskDefinitionCommand(input);
|
|
@@ -26,11 +26,11 @@ export interface DescribeCapacityProvidersCommandOutput extends DescribeCapacity
|
|
|
26
26
|
* import { ECSClient, DescribeCapacityProvidersCommand } from "@aws-sdk/client-ecs"; // ES Modules import
|
|
27
27
|
* // const { ECSClient, DescribeCapacityProvidersCommand } = require("@aws-sdk/client-ecs"); // CommonJS import
|
|
28
28
|
* const client = new ECSClient(config);
|
|
29
|
-
* const input = {
|
|
30
|
-
* capacityProviders: [
|
|
29
|
+
* const input = { // DescribeCapacityProvidersRequest
|
|
30
|
+
* capacityProviders: [ // StringList
|
|
31
31
|
* "STRING_VALUE",
|
|
32
32
|
* ],
|
|
33
|
-
* include: [
|
|
33
|
+
* include: [ // CapacityProviderFieldList
|
|
34
34
|
* "TAGS",
|
|
35
35
|
* ],
|
|
36
36
|
* maxResults: Number("int"),
|
|
@@ -26,11 +26,11 @@ export interface DescribeClustersCommandOutput extends DescribeClustersResponse,
|
|
|
26
26
|
* import { ECSClient, DescribeClustersCommand } from "@aws-sdk/client-ecs"; // ES Modules import
|
|
27
27
|
* // const { ECSClient, DescribeClustersCommand } = require("@aws-sdk/client-ecs"); // CommonJS import
|
|
28
28
|
* const client = new ECSClient(config);
|
|
29
|
-
* const input = {
|
|
30
|
-
* clusters: [
|
|
29
|
+
* const input = { // DescribeClustersRequest
|
|
30
|
+
* clusters: [ // StringList
|
|
31
31
|
* "STRING_VALUE",
|
|
32
32
|
* ],
|
|
33
|
-
* include: [
|
|
33
|
+
* include: [ // ClusterFieldList
|
|
34
34
|
* "ATTACHMENTS" || "CONFIGURATIONS" || "SETTINGS" || "STATISTICS" || "TAGS",
|
|
35
35
|
* ],
|
|
36
36
|
* };
|
|
@@ -27,12 +27,12 @@ export interface DescribeContainerInstancesCommandOutput extends DescribeContain
|
|
|
27
27
|
* import { ECSClient, DescribeContainerInstancesCommand } from "@aws-sdk/client-ecs"; // ES Modules import
|
|
28
28
|
* // const { ECSClient, DescribeContainerInstancesCommand } = require("@aws-sdk/client-ecs"); // CommonJS import
|
|
29
29
|
* const client = new ECSClient(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // DescribeContainerInstancesRequest
|
|
31
31
|
* cluster: "STRING_VALUE",
|
|
32
|
-
* containerInstances: [ // required
|
|
32
|
+
* containerInstances: [ // StringList // required
|
|
33
33
|
* "STRING_VALUE",
|
|
34
34
|
* ],
|
|
35
|
-
* include: [
|
|
35
|
+
* include: [ // ContainerInstanceFieldList
|
|
36
36
|
* "TAGS" || "CONTAINER_INSTANCE_HEALTH",
|
|
37
37
|
* ],
|
|
38
38
|
* };
|
|
@@ -26,12 +26,12 @@ export interface DescribeServicesCommandOutput extends DescribeServicesResponse,
|
|
|
26
26
|
* import { ECSClient, DescribeServicesCommand } from "@aws-sdk/client-ecs"; // ES Modules import
|
|
27
27
|
* // const { ECSClient, DescribeServicesCommand } = require("@aws-sdk/client-ecs"); // CommonJS import
|
|
28
28
|
* const client = new ECSClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // DescribeServicesRequest
|
|
30
30
|
* cluster: "STRING_VALUE",
|
|
31
|
-
* services: [ // required
|
|
31
|
+
* services: [ // StringList // required
|
|
32
32
|
* "STRING_VALUE",
|
|
33
33
|
* ],
|
|
34
|
-
* include: [
|
|
34
|
+
* include: [ // ServiceFieldList
|
|
35
35
|
* "TAGS",
|
|
36
36
|
* ],
|
|
37
37
|
* };
|
|
@@ -33,9 +33,9 @@ export interface DescribeTaskDefinitionCommandOutput extends DescribeTaskDefinit
|
|
|
33
33
|
* import { ECSClient, DescribeTaskDefinitionCommand } from "@aws-sdk/client-ecs"; // ES Modules import
|
|
34
34
|
* // const { ECSClient, DescribeTaskDefinitionCommand } = require("@aws-sdk/client-ecs"); // CommonJS import
|
|
35
35
|
* const client = new ECSClient(config);
|
|
36
|
-
* const input = {
|
|
36
|
+
* const input = { // DescribeTaskDefinitionRequest
|
|
37
37
|
* taskDefinition: "STRING_VALUE", // required
|
|
38
|
-
* include: [
|
|
38
|
+
* include: [ // TaskDefinitionFieldList
|
|
39
39
|
* "TAGS",
|
|
40
40
|
* ],
|
|
41
41
|
* };
|
|
@@ -29,13 +29,13 @@ export interface DescribeTaskSetsCommandOutput extends DescribeTaskSetsResponse,
|
|
|
29
29
|
* import { ECSClient, DescribeTaskSetsCommand } from "@aws-sdk/client-ecs"; // ES Modules import
|
|
30
30
|
* // const { ECSClient, DescribeTaskSetsCommand } = require("@aws-sdk/client-ecs"); // CommonJS import
|
|
31
31
|
* const client = new ECSClient(config);
|
|
32
|
-
* const input = {
|
|
32
|
+
* const input = { // DescribeTaskSetsRequest
|
|
33
33
|
* cluster: "STRING_VALUE", // required
|
|
34
34
|
* service: "STRING_VALUE", // required
|
|
35
|
-
* taskSets: [
|
|
35
|
+
* taskSets: [ // StringList
|
|
36
36
|
* "STRING_VALUE",
|
|
37
37
|
* ],
|
|
38
|
-
* include: [
|
|
38
|
+
* include: [ // TaskSetFieldList
|
|
39
39
|
* "TAGS",
|
|
40
40
|
* ],
|
|
41
41
|
* };
|
|
@@ -27,12 +27,12 @@ export interface DescribeTasksCommandOutput extends DescribeTasksResponse, __Met
|
|
|
27
27
|
* import { ECSClient, DescribeTasksCommand } from "@aws-sdk/client-ecs"; // ES Modules import
|
|
28
28
|
* // const { ECSClient, DescribeTasksCommand } = require("@aws-sdk/client-ecs"); // CommonJS import
|
|
29
29
|
* const client = new ECSClient(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // DescribeTasksRequest
|
|
31
31
|
* cluster: "STRING_VALUE",
|
|
32
|
-
* tasks: [ // required
|
|
32
|
+
* tasks: [ // StringList // required
|
|
33
33
|
* "STRING_VALUE",
|
|
34
34
|
* ],
|
|
35
|
-
* include: [
|
|
35
|
+
* include: [ // TaskFieldList
|
|
36
36
|
* "TAGS",
|
|
37
37
|
* ],
|
|
38
38
|
* };
|
|
@@ -29,7 +29,7 @@ export interface DiscoverPollEndpointCommandOutput extends DiscoverPollEndpointR
|
|
|
29
29
|
* import { ECSClient, DiscoverPollEndpointCommand } from "@aws-sdk/client-ecs"; // ES Modules import
|
|
30
30
|
* // const { ECSClient, DiscoverPollEndpointCommand } = require("@aws-sdk/client-ecs"); // CommonJS import
|
|
31
31
|
* const client = new ECSClient(config);
|
|
32
|
-
* const input = {
|
|
32
|
+
* const input = { // DiscoverPollEndpointRequest
|
|
33
33
|
* containerInstance: "STRING_VALUE",
|
|
34
34
|
* cluster: "STRING_VALUE",
|
|
35
35
|
* };
|
|
@@ -32,7 +32,7 @@ export interface ExecuteCommandCommandOutput extends ExecuteCommandResponse, __M
|
|
|
32
32
|
* import { ECSClient, ExecuteCommandCommand } from "@aws-sdk/client-ecs"; // ES Modules import
|
|
33
33
|
* // const { ECSClient, ExecuteCommandCommand } = require("@aws-sdk/client-ecs"); // CommonJS import
|
|
34
34
|
* const client = new ECSClient(config);
|
|
35
|
-
* const input = {
|
|
35
|
+
* const input = { // ExecuteCommandRequest
|
|
36
36
|
* cluster: "STRING_VALUE",
|
|
37
37
|
* container: "STRING_VALUE",
|
|
38
38
|
* command: "STRING_VALUE", // required
|
|
@@ -26,9 +26,9 @@ export interface GetTaskProtectionCommandOutput extends GetTaskProtectionRespons
|
|
|
26
26
|
* import { ECSClient, GetTaskProtectionCommand } from "@aws-sdk/client-ecs"; // ES Modules import
|
|
27
27
|
* // const { ECSClient, GetTaskProtectionCommand } = require("@aws-sdk/client-ecs"); // CommonJS import
|
|
28
28
|
* const client = new ECSClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // GetTaskProtectionRequest
|
|
30
30
|
* cluster: "STRING_VALUE", // required
|
|
31
|
-
* tasks: [
|
|
31
|
+
* tasks: [ // StringList
|
|
32
32
|
* "STRING_VALUE",
|
|
33
33
|
* ],
|
|
34
34
|
* };
|
|
@@ -26,7 +26,7 @@ export interface ListAccountSettingsCommandOutput extends ListAccountSettingsRes
|
|
|
26
26
|
* import { ECSClient, ListAccountSettingsCommand } from "@aws-sdk/client-ecs"; // ES Modules import
|
|
27
27
|
* // const { ECSClient, ListAccountSettingsCommand } = require("@aws-sdk/client-ecs"); // CommonJS import
|
|
28
28
|
* const client = new ECSClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // ListAccountSettingsRequest
|
|
30
30
|
* name: "serviceLongArnFormat" || "taskLongArnFormat" || "containerInstanceLongArnFormat" || "awsvpcTrunking" || "containerInsights",
|
|
31
31
|
* value: "STRING_VALUE",
|
|
32
32
|
* principalArn: "STRING_VALUE",
|
|
@@ -32,7 +32,7 @@ export interface ListAttributesCommandOutput extends ListAttributesResponse, __M
|
|
|
32
32
|
* import { ECSClient, ListAttributesCommand } from "@aws-sdk/client-ecs"; // ES Modules import
|
|
33
33
|
* // const { ECSClient, ListAttributesCommand } = require("@aws-sdk/client-ecs"); // CommonJS import
|
|
34
34
|
* const client = new ECSClient(config);
|
|
35
|
-
* const input = {
|
|
35
|
+
* const input = { // ListAttributesRequest
|
|
36
36
|
* cluster: "STRING_VALUE",
|
|
37
37
|
* targetType: "container-instance", // required
|
|
38
38
|
* attributeName: "STRING_VALUE",
|
|
@@ -26,7 +26,7 @@ export interface ListClustersCommandOutput extends ListClustersResponse, __Metad
|
|
|
26
26
|
* import { ECSClient, ListClustersCommand } from "@aws-sdk/client-ecs"; // ES Modules import
|
|
27
27
|
* // const { ECSClient, ListClustersCommand } = require("@aws-sdk/client-ecs"); // CommonJS import
|
|
28
28
|
* const client = new ECSClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // ListClustersRequest
|
|
30
30
|
* nextToken: "STRING_VALUE",
|
|
31
31
|
* maxResults: Number("int"),
|
|
32
32
|
* };
|
|
@@ -28,7 +28,7 @@ export interface ListContainerInstancesCommandOutput extends ListContainerInstan
|
|
|
28
28
|
* import { ECSClient, ListContainerInstancesCommand } from "@aws-sdk/client-ecs"; // ES Modules import
|
|
29
29
|
* // const { ECSClient, ListContainerInstancesCommand } = require("@aws-sdk/client-ecs"); // CommonJS import
|
|
30
30
|
* const client = new ECSClient(config);
|
|
31
|
-
* const input = {
|
|
31
|
+
* const input = { // ListContainerInstancesRequest
|
|
32
32
|
* cluster: "STRING_VALUE",
|
|
33
33
|
* filter: "STRING_VALUE",
|
|
34
34
|
* nextToken: "STRING_VALUE",
|
|
@@ -30,7 +30,7 @@ export interface ListServicesByNamespaceCommandOutput extends ListServicesByName
|
|
|
30
30
|
* import { ECSClient, ListServicesByNamespaceCommand } from "@aws-sdk/client-ecs"; // ES Modules import
|
|
31
31
|
* // const { ECSClient, ListServicesByNamespaceCommand } = require("@aws-sdk/client-ecs"); // CommonJS import
|
|
32
32
|
* const client = new ECSClient(config);
|
|
33
|
-
* const input = {
|
|
33
|
+
* const input = { // ListServicesByNamespaceRequest
|
|
34
34
|
* namespace: "STRING_VALUE", // required
|
|
35
35
|
* nextToken: "STRING_VALUE",
|
|
36
36
|
* maxResults: Number("int"),
|
|
@@ -27,7 +27,7 @@ export interface ListServicesCommandOutput extends ListServicesResponse, __Metad
|
|
|
27
27
|
* import { ECSClient, ListServicesCommand } from "@aws-sdk/client-ecs"; // ES Modules import
|
|
28
28
|
* // const { ECSClient, ListServicesCommand } = require("@aws-sdk/client-ecs"); // CommonJS import
|
|
29
29
|
* const client = new ECSClient(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // ListServicesRequest
|
|
31
31
|
* cluster: "STRING_VALUE",
|
|
32
32
|
* nextToken: "STRING_VALUE",
|
|
33
33
|
* maxResults: Number("int"),
|
|
@@ -26,7 +26,7 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
|
|
|
26
26
|
* import { ECSClient, ListTagsForResourceCommand } from "@aws-sdk/client-ecs"; // ES Modules import
|
|
27
27
|
* // const { ECSClient, ListTagsForResourceCommand } = require("@aws-sdk/client-ecs"); // CommonJS import
|
|
28
28
|
* const client = new ECSClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // ListTagsForResourceRequest
|
|
30
30
|
* resourceArn: "STRING_VALUE", // required
|
|
31
31
|
* };
|
|
32
32
|
* const command = new ListTagsForResourceCommand(input);
|
|
@@ -32,7 +32,7 @@ export interface ListTaskDefinitionFamiliesCommandOutput extends ListTaskDefinit
|
|
|
32
32
|
* import { ECSClient, ListTaskDefinitionFamiliesCommand } from "@aws-sdk/client-ecs"; // ES Modules import
|
|
33
33
|
* // const { ECSClient, ListTaskDefinitionFamiliesCommand } = require("@aws-sdk/client-ecs"); // CommonJS import
|
|
34
34
|
* const client = new ECSClient(config);
|
|
35
|
-
* const input = {
|
|
35
|
+
* const input = { // ListTaskDefinitionFamiliesRequest
|
|
36
36
|
* familyPrefix: "STRING_VALUE",
|
|
37
37
|
* status: "ACTIVE" || "INACTIVE" || "ALL",
|
|
38
38
|
* nextToken: "STRING_VALUE",
|
|
@@ -28,7 +28,7 @@ export interface ListTaskDefinitionsCommandOutput extends ListTaskDefinitionsRes
|
|
|
28
28
|
* import { ECSClient, ListTaskDefinitionsCommand } from "@aws-sdk/client-ecs"; // ES Modules import
|
|
29
29
|
* // const { ECSClient, ListTaskDefinitionsCommand } = require("@aws-sdk/client-ecs"); // CommonJS import
|
|
30
30
|
* const client = new ECSClient(config);
|
|
31
|
-
* const input = {
|
|
31
|
+
* const input = { // ListTaskDefinitionsRequest
|
|
32
32
|
* familyPrefix: "STRING_VALUE",
|
|
33
33
|
* status: "ACTIVE" || "INACTIVE" || "DELETE_IN_PROGRESS",
|
|
34
34
|
* sort: "ASC" || "DESC",
|