@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
|
@@ -30,7 +30,7 @@ export interface ListTasksCommandOutput extends ListTasksResponse, __MetadataBea
|
|
|
30
30
|
* import { ECSClient, ListTasksCommand } from "@aws-sdk/client-ecs"; // ES Modules import
|
|
31
31
|
* // const { ECSClient, ListTasksCommand } = require("@aws-sdk/client-ecs"); // CommonJS import
|
|
32
32
|
* const client = new ECSClient(config);
|
|
33
|
-
* const input = {
|
|
33
|
+
* const input = { // ListTasksRequest
|
|
34
34
|
* cluster: "STRING_VALUE",
|
|
35
35
|
* containerInstance: "STRING_VALUE",
|
|
36
36
|
* family: "STRING_VALUE",
|
|
@@ -49,7 +49,7 @@ export interface PutAccountSettingCommandOutput extends PutAccountSettingRespons
|
|
|
49
49
|
* import { ECSClient, PutAccountSettingCommand } from "@aws-sdk/client-ecs"; // ES Modules import
|
|
50
50
|
* // const { ECSClient, PutAccountSettingCommand } = require("@aws-sdk/client-ecs"); // CommonJS import
|
|
51
51
|
* const client = new ECSClient(config);
|
|
52
|
-
* const input = {
|
|
52
|
+
* const input = { // PutAccountSettingRequest
|
|
53
53
|
* name: "serviceLongArnFormat" || "taskLongArnFormat" || "containerInstanceLongArnFormat" || "awsvpcTrunking" || "containerInsights", // required
|
|
54
54
|
* value: "STRING_VALUE", // required
|
|
55
55
|
* principalArn: "STRING_VALUE",
|
|
@@ -28,7 +28,7 @@ export interface PutAccountSettingDefaultCommandOutput extends PutAccountSetting
|
|
|
28
28
|
* import { ECSClient, PutAccountSettingDefaultCommand } from "@aws-sdk/client-ecs"; // ES Modules import
|
|
29
29
|
* // const { ECSClient, PutAccountSettingDefaultCommand } = require("@aws-sdk/client-ecs"); // CommonJS import
|
|
30
30
|
* const client = new ECSClient(config);
|
|
31
|
-
* const input = {
|
|
31
|
+
* const input = { // PutAccountSettingDefaultRequest
|
|
32
32
|
* name: "serviceLongArnFormat" || "taskLongArnFormat" || "containerInstanceLongArnFormat" || "awsvpcTrunking" || "containerInsights", // required
|
|
33
33
|
* value: "STRING_VALUE", // required
|
|
34
34
|
* };
|
|
@@ -29,10 +29,10 @@ export interface PutAttributesCommandOutput extends PutAttributesResponse, __Met
|
|
|
29
29
|
* import { ECSClient, PutAttributesCommand } from "@aws-sdk/client-ecs"; // ES Modules import
|
|
30
30
|
* // const { ECSClient, PutAttributesCommand } = require("@aws-sdk/client-ecs"); // CommonJS import
|
|
31
31
|
* const client = new ECSClient(config);
|
|
32
|
-
* const input = {
|
|
32
|
+
* const input = { // PutAttributesRequest
|
|
33
33
|
* cluster: "STRING_VALUE",
|
|
34
|
-
* attributes: [ // required
|
|
35
|
-
* {
|
|
34
|
+
* attributes: [ // Attributes // required
|
|
35
|
+
* { // Attribute
|
|
36
36
|
* name: "STRING_VALUE", // required
|
|
37
37
|
* value: "STRING_VALUE",
|
|
38
38
|
* targetType: "container-instance",
|
|
@@ -39,13 +39,13 @@ export interface PutClusterCapacityProvidersCommandOutput extends PutClusterCapa
|
|
|
39
39
|
* import { ECSClient, PutClusterCapacityProvidersCommand } from "@aws-sdk/client-ecs"; // ES Modules import
|
|
40
40
|
* // const { ECSClient, PutClusterCapacityProvidersCommand } = require("@aws-sdk/client-ecs"); // CommonJS import
|
|
41
41
|
* const client = new ECSClient(config);
|
|
42
|
-
* const input = {
|
|
42
|
+
* const input = { // PutClusterCapacityProvidersRequest
|
|
43
43
|
* cluster: "STRING_VALUE", // required
|
|
44
|
-
* capacityProviders: [ // required
|
|
44
|
+
* capacityProviders: [ // StringList // required
|
|
45
45
|
* "STRING_VALUE",
|
|
46
46
|
* ],
|
|
47
|
-
* defaultCapacityProviderStrategy: [ // required
|
|
48
|
-
* {
|
|
47
|
+
* defaultCapacityProviderStrategy: [ // CapacityProviderStrategy // required
|
|
48
|
+
* { // CapacityProviderStrategyItem
|
|
49
49
|
* capacityProvider: "STRING_VALUE", // required
|
|
50
50
|
* weight: Number("int"),
|
|
51
51
|
* base: Number("int"),
|
|
@@ -30,44 +30,44 @@ export interface RegisterContainerInstanceCommandOutput extends RegisterContaine
|
|
|
30
30
|
* import { ECSClient, RegisterContainerInstanceCommand } from "@aws-sdk/client-ecs"; // ES Modules import
|
|
31
31
|
* // const { ECSClient, RegisterContainerInstanceCommand } = require("@aws-sdk/client-ecs"); // CommonJS import
|
|
32
32
|
* const client = new ECSClient(config);
|
|
33
|
-
* const input = {
|
|
33
|
+
* const input = { // RegisterContainerInstanceRequest
|
|
34
34
|
* cluster: "STRING_VALUE",
|
|
35
35
|
* instanceIdentityDocument: "STRING_VALUE",
|
|
36
36
|
* instanceIdentityDocumentSignature: "STRING_VALUE",
|
|
37
|
-
* totalResources: [
|
|
38
|
-
* {
|
|
37
|
+
* totalResources: [ // Resources
|
|
38
|
+
* { // Resource
|
|
39
39
|
* name: "STRING_VALUE",
|
|
40
40
|
* type: "STRING_VALUE",
|
|
41
41
|
* doubleValue: Number("double"),
|
|
42
42
|
* longValue: Number("long"),
|
|
43
43
|
* integerValue: Number("int"),
|
|
44
|
-
* stringSetValue: [
|
|
44
|
+
* stringSetValue: [ // StringList
|
|
45
45
|
* "STRING_VALUE",
|
|
46
46
|
* ],
|
|
47
47
|
* },
|
|
48
48
|
* ],
|
|
49
|
-
* versionInfo: {
|
|
49
|
+
* versionInfo: { // VersionInfo
|
|
50
50
|
* agentVersion: "STRING_VALUE",
|
|
51
51
|
* agentHash: "STRING_VALUE",
|
|
52
52
|
* dockerVersion: "STRING_VALUE",
|
|
53
53
|
* },
|
|
54
54
|
* containerInstanceArn: "STRING_VALUE",
|
|
55
|
-
* attributes: [
|
|
56
|
-
* {
|
|
55
|
+
* attributes: [ // Attributes
|
|
56
|
+
* { // Attribute
|
|
57
57
|
* name: "STRING_VALUE", // required
|
|
58
58
|
* value: "STRING_VALUE",
|
|
59
59
|
* targetType: "container-instance",
|
|
60
60
|
* targetId: "STRING_VALUE",
|
|
61
61
|
* },
|
|
62
62
|
* ],
|
|
63
|
-
* platformDevices: [
|
|
64
|
-
* {
|
|
63
|
+
* platformDevices: [ // PlatformDevices
|
|
64
|
+
* { // PlatformDevice
|
|
65
65
|
* id: "STRING_VALUE", // required
|
|
66
66
|
* type: "GPU", // required
|
|
67
67
|
* },
|
|
68
68
|
* ],
|
|
69
|
-
* tags: [
|
|
70
|
-
* {
|
|
69
|
+
* tags: [ // Tags
|
|
70
|
+
* { // Tag
|
|
71
71
|
* key: "STRING_VALUE",
|
|
72
72
|
* value: "STRING_VALUE",
|
|
73
73
|
* },
|
|
@@ -43,26 +43,26 @@ export interface RegisterTaskDefinitionCommandOutput extends RegisterTaskDefinit
|
|
|
43
43
|
* import { ECSClient, RegisterTaskDefinitionCommand } from "@aws-sdk/client-ecs"; // ES Modules import
|
|
44
44
|
* // const { ECSClient, RegisterTaskDefinitionCommand } = require("@aws-sdk/client-ecs"); // CommonJS import
|
|
45
45
|
* const client = new ECSClient(config);
|
|
46
|
-
* const input = {
|
|
46
|
+
* const input = { // RegisterTaskDefinitionRequest
|
|
47
47
|
* family: "STRING_VALUE", // required
|
|
48
48
|
* taskRoleArn: "STRING_VALUE",
|
|
49
49
|
* executionRoleArn: "STRING_VALUE",
|
|
50
50
|
* networkMode: "bridge" || "host" || "awsvpc" || "none",
|
|
51
|
-
* containerDefinitions: [ // required
|
|
52
|
-
* {
|
|
51
|
+
* containerDefinitions: [ // ContainerDefinitions // required
|
|
52
|
+
* { // ContainerDefinition
|
|
53
53
|
* name: "STRING_VALUE",
|
|
54
54
|
* image: "STRING_VALUE",
|
|
55
|
-
* repositoryCredentials: {
|
|
55
|
+
* repositoryCredentials: { // RepositoryCredentials
|
|
56
56
|
* credentialsParameter: "STRING_VALUE", // required
|
|
57
57
|
* },
|
|
58
58
|
* cpu: Number("int"),
|
|
59
59
|
* memory: Number("int"),
|
|
60
60
|
* memoryReservation: Number("int"),
|
|
61
|
-
* links: [
|
|
61
|
+
* links: [ // StringList
|
|
62
62
|
* "STRING_VALUE",
|
|
63
63
|
* ],
|
|
64
|
-
* portMappings: [
|
|
65
|
-
* {
|
|
64
|
+
* portMappings: [ // PortMappingList
|
|
65
|
+
* { // PortMapping
|
|
66
66
|
* containerPort: Number("int"),
|
|
67
67
|
* hostPort: Number("int"),
|
|
68
68
|
* protocol: "tcp" || "udp",
|
|
@@ -78,33 +78,33 @@ export interface RegisterTaskDefinitionCommandOutput extends RegisterTaskDefinit
|
|
|
78
78
|
* command: [
|
|
79
79
|
* "STRING_VALUE",
|
|
80
80
|
* ],
|
|
81
|
-
* environment: [
|
|
82
|
-
* {
|
|
81
|
+
* environment: [ // EnvironmentVariables
|
|
82
|
+
* { // KeyValuePair
|
|
83
83
|
* name: "STRING_VALUE",
|
|
84
84
|
* value: "STRING_VALUE",
|
|
85
85
|
* },
|
|
86
86
|
* ],
|
|
87
|
-
* environmentFiles: [
|
|
88
|
-
* {
|
|
87
|
+
* environmentFiles: [ // EnvironmentFiles
|
|
88
|
+
* { // EnvironmentFile
|
|
89
89
|
* value: "STRING_VALUE", // required
|
|
90
90
|
* type: "s3", // required
|
|
91
91
|
* },
|
|
92
92
|
* ],
|
|
93
|
-
* mountPoints: [
|
|
94
|
-
* {
|
|
93
|
+
* mountPoints: [ // MountPointList
|
|
94
|
+
* { // MountPoint
|
|
95
95
|
* sourceVolume: "STRING_VALUE",
|
|
96
96
|
* containerPath: "STRING_VALUE",
|
|
97
97
|
* readOnly: true || false,
|
|
98
98
|
* },
|
|
99
99
|
* ],
|
|
100
|
-
* volumesFrom: [
|
|
101
|
-
* {
|
|
100
|
+
* volumesFrom: [ // VolumeFromList
|
|
101
|
+
* { // VolumeFrom
|
|
102
102
|
* sourceContainer: "STRING_VALUE",
|
|
103
103
|
* readOnly: true || false,
|
|
104
104
|
* },
|
|
105
105
|
* ],
|
|
106
|
-
* linuxParameters: {
|
|
107
|
-
* capabilities: {
|
|
106
|
+
* linuxParameters: { // LinuxParameters
|
|
107
|
+
* capabilities: { // KernelCapabilities
|
|
108
108
|
* add: [
|
|
109
109
|
* "STRING_VALUE",
|
|
110
110
|
* ],
|
|
@@ -112,37 +112,35 @@ export interface RegisterTaskDefinitionCommandOutput extends RegisterTaskDefinit
|
|
|
112
112
|
* "STRING_VALUE",
|
|
113
113
|
* ],
|
|
114
114
|
* },
|
|
115
|
-
* devices: [
|
|
116
|
-
* {
|
|
115
|
+
* devices: [ // DevicesList
|
|
116
|
+
* { // Device
|
|
117
117
|
* hostPath: "STRING_VALUE", // required
|
|
118
118
|
* containerPath: "STRING_VALUE",
|
|
119
|
-
* permissions: [
|
|
119
|
+
* permissions: [ // DeviceCgroupPermissions
|
|
120
120
|
* "read" || "write" || "mknod",
|
|
121
121
|
* ],
|
|
122
122
|
* },
|
|
123
123
|
* ],
|
|
124
124
|
* initProcessEnabled: true || false,
|
|
125
125
|
* sharedMemorySize: Number("int"),
|
|
126
|
-
* tmpfs: [
|
|
127
|
-
* {
|
|
126
|
+
* tmpfs: [ // TmpfsList
|
|
127
|
+
* { // Tmpfs
|
|
128
128
|
* containerPath: "STRING_VALUE", // required
|
|
129
129
|
* size: Number("int"), // required
|
|
130
|
-
* mountOptions:
|
|
131
|
-
* "<StringList>",
|
|
132
|
-
* ],
|
|
130
|
+
* mountOptions: "<StringList>",
|
|
133
131
|
* },
|
|
134
132
|
* ],
|
|
135
133
|
* maxSwap: Number("int"),
|
|
136
134
|
* swappiness: Number("int"),
|
|
137
135
|
* },
|
|
138
|
-
* secrets: [
|
|
139
|
-
* {
|
|
136
|
+
* secrets: [ // SecretList
|
|
137
|
+
* { // Secret
|
|
140
138
|
* name: "STRING_VALUE", // required
|
|
141
139
|
* valueFrom: "STRING_VALUE", // required
|
|
142
140
|
* },
|
|
143
141
|
* ],
|
|
144
|
-
* dependsOn: [
|
|
145
|
-
* {
|
|
142
|
+
* dependsOn: [ // ContainerDependencies
|
|
143
|
+
* { // ContainerDependency
|
|
146
144
|
* containerName: "STRING_VALUE", // required
|
|
147
145
|
* condition: "START" || "COMPLETE" || "SUCCESS" || "HEALTHY", // required
|
|
148
146
|
* },
|
|
@@ -155,36 +153,30 @@ export interface RegisterTaskDefinitionCommandOutput extends RegisterTaskDefinit
|
|
|
155
153
|
* disableNetworking: true || false,
|
|
156
154
|
* privileged: true || false,
|
|
157
155
|
* readonlyRootFilesystem: true || false,
|
|
158
|
-
* dnsServers:
|
|
159
|
-
*
|
|
160
|
-
*
|
|
161
|
-
*
|
|
162
|
-
* "<StringList>",
|
|
163
|
-
* ],
|
|
164
|
-
* extraHosts: [
|
|
165
|
-
* {
|
|
156
|
+
* dnsServers: "<StringList>",
|
|
157
|
+
* dnsSearchDomains: "<StringList>",
|
|
158
|
+
* extraHosts: [ // HostEntryList
|
|
159
|
+
* { // HostEntry
|
|
166
160
|
* hostname: "STRING_VALUE", // required
|
|
167
161
|
* ipAddress: "STRING_VALUE", // required
|
|
168
162
|
* },
|
|
169
163
|
* ],
|
|
170
|
-
* dockerSecurityOptions:
|
|
171
|
-
* "<StringList>",
|
|
172
|
-
* ],
|
|
164
|
+
* dockerSecurityOptions: "<StringList>",
|
|
173
165
|
* interactive: true || false,
|
|
174
166
|
* pseudoTerminal: true || false,
|
|
175
|
-
* dockerLabels: {
|
|
167
|
+
* dockerLabels: { // DockerLabelsMap
|
|
176
168
|
* "<keys>": "STRING_VALUE",
|
|
177
169
|
* },
|
|
178
|
-
* ulimits: [
|
|
179
|
-
* {
|
|
170
|
+
* ulimits: [ // UlimitList
|
|
171
|
+
* { // Ulimit
|
|
180
172
|
* name: "core" || "cpu" || "data" || "fsize" || "locks" || "memlock" || "msgqueue" || "nice" || "nofile" || "nproc" || "rss" || "rtprio" || "rttime" || "sigpending" || "stack", // required
|
|
181
173
|
* softLimit: Number("int"), // required
|
|
182
174
|
* hardLimit: Number("int"), // required
|
|
183
175
|
* },
|
|
184
176
|
* ],
|
|
185
|
-
* logConfiguration: {
|
|
177
|
+
* logConfiguration: { // LogConfiguration
|
|
186
178
|
* logDriver: "json-file" || "syslog" || "journald" || "gelf" || "fluentd" || "awslogs" || "splunk" || "awsfirelens", // required
|
|
187
|
-
* options: {
|
|
179
|
+
* options: { // LogConfigurationOptionsMap
|
|
188
180
|
* "<keys>": "STRING_VALUE",
|
|
189
181
|
* },
|
|
190
182
|
* secretOptions: [
|
|
@@ -194,111 +186,109 @@ export interface RegisterTaskDefinitionCommandOutput extends RegisterTaskDefinit
|
|
|
194
186
|
* },
|
|
195
187
|
* ],
|
|
196
188
|
* },
|
|
197
|
-
* healthCheck: {
|
|
198
|
-
* command:
|
|
199
|
-
* "<StringList>",
|
|
200
|
-
* ],
|
|
189
|
+
* healthCheck: { // HealthCheck
|
|
190
|
+
* command: "<StringList>", // required
|
|
201
191
|
* interval: Number("int"),
|
|
202
192
|
* timeout: Number("int"),
|
|
203
193
|
* retries: Number("int"),
|
|
204
194
|
* startPeriod: Number("int"),
|
|
205
195
|
* },
|
|
206
|
-
* systemControls: [
|
|
207
|
-
* {
|
|
196
|
+
* systemControls: [ // SystemControls
|
|
197
|
+
* { // SystemControl
|
|
208
198
|
* namespace: "STRING_VALUE",
|
|
209
199
|
* value: "STRING_VALUE",
|
|
210
200
|
* },
|
|
211
201
|
* ],
|
|
212
|
-
* resourceRequirements: [
|
|
213
|
-
* {
|
|
202
|
+
* resourceRequirements: [ // ResourceRequirements
|
|
203
|
+
* { // ResourceRequirement
|
|
214
204
|
* value: "STRING_VALUE", // required
|
|
215
205
|
* type: "GPU" || "InferenceAccelerator", // required
|
|
216
206
|
* },
|
|
217
207
|
* ],
|
|
218
|
-
* firelensConfiguration: {
|
|
208
|
+
* firelensConfiguration: { // FirelensConfiguration
|
|
219
209
|
* type: "fluentd" || "fluentbit", // required
|
|
220
|
-
* options: {
|
|
210
|
+
* options: { // FirelensConfigurationOptionsMap
|
|
221
211
|
* "<keys>": "STRING_VALUE",
|
|
222
212
|
* },
|
|
223
213
|
* },
|
|
224
214
|
* },
|
|
225
215
|
* ],
|
|
226
|
-
* volumes: [
|
|
227
|
-
* {
|
|
216
|
+
* volumes: [ // VolumeList
|
|
217
|
+
* { // Volume
|
|
228
218
|
* name: "STRING_VALUE",
|
|
229
|
-
* host: {
|
|
219
|
+
* host: { // HostVolumeProperties
|
|
230
220
|
* sourcePath: "STRING_VALUE",
|
|
231
221
|
* },
|
|
232
|
-
* dockerVolumeConfiguration: {
|
|
222
|
+
* dockerVolumeConfiguration: { // DockerVolumeConfiguration
|
|
233
223
|
* scope: "task" || "shared",
|
|
234
224
|
* autoprovision: true || false,
|
|
235
225
|
* driver: "STRING_VALUE",
|
|
236
|
-
* driverOpts: {
|
|
226
|
+
* driverOpts: { // StringMap
|
|
237
227
|
* "<keys>": "STRING_VALUE",
|
|
238
228
|
* },
|
|
239
229
|
* labels: {
|
|
240
230
|
* "<keys>": "STRING_VALUE",
|
|
241
231
|
* },
|
|
242
232
|
* },
|
|
243
|
-
* efsVolumeConfiguration: {
|
|
233
|
+
* efsVolumeConfiguration: { // EFSVolumeConfiguration
|
|
244
234
|
* fileSystemId: "STRING_VALUE", // required
|
|
245
235
|
* rootDirectory: "STRING_VALUE",
|
|
246
236
|
* transitEncryption: "ENABLED" || "DISABLED",
|
|
247
237
|
* transitEncryptionPort: Number("int"),
|
|
248
|
-
* authorizationConfig: {
|
|
238
|
+
* authorizationConfig: { // EFSAuthorizationConfig
|
|
249
239
|
* accessPointId: "STRING_VALUE",
|
|
250
240
|
* iam: "ENABLED" || "DISABLED",
|
|
251
241
|
* },
|
|
252
242
|
* },
|
|
253
|
-
* fsxWindowsFileServerVolumeConfiguration: {
|
|
243
|
+
* fsxWindowsFileServerVolumeConfiguration: { // FSxWindowsFileServerVolumeConfiguration
|
|
254
244
|
* fileSystemId: "STRING_VALUE", // required
|
|
255
245
|
* rootDirectory: "STRING_VALUE", // required
|
|
256
|
-
* authorizationConfig: {
|
|
246
|
+
* authorizationConfig: { // FSxWindowsFileServerAuthorizationConfig
|
|
257
247
|
* credentialsParameter: "STRING_VALUE", // required
|
|
258
248
|
* domain: "STRING_VALUE", // required
|
|
259
249
|
* },
|
|
260
250
|
* },
|
|
261
251
|
* },
|
|
262
252
|
* ],
|
|
263
|
-
* placementConstraints: [
|
|
264
|
-
* {
|
|
253
|
+
* placementConstraints: [ // TaskDefinitionPlacementConstraints
|
|
254
|
+
* { // TaskDefinitionPlacementConstraint
|
|
265
255
|
* type: "memberOf",
|
|
266
256
|
* expression: "STRING_VALUE",
|
|
267
257
|
* },
|
|
268
258
|
* ],
|
|
269
|
-
* requiresCompatibilities: [
|
|
259
|
+
* requiresCompatibilities: [ // CompatibilityList
|
|
270
260
|
* "EC2" || "FARGATE" || "EXTERNAL",
|
|
271
261
|
* ],
|
|
272
262
|
* cpu: "STRING_VALUE",
|
|
273
263
|
* memory: "STRING_VALUE",
|
|
274
|
-
* tags: [
|
|
275
|
-
* {
|
|
264
|
+
* tags: [ // Tags
|
|
265
|
+
* { // Tag
|
|
276
266
|
* key: "STRING_VALUE",
|
|
277
267
|
* value: "STRING_VALUE",
|
|
278
268
|
* },
|
|
279
269
|
* ],
|
|
280
270
|
* pidMode: "host" || "task",
|
|
281
271
|
* ipcMode: "host" || "task" || "none",
|
|
282
|
-
* proxyConfiguration: {
|
|
272
|
+
* proxyConfiguration: { // ProxyConfiguration
|
|
283
273
|
* type: "APPMESH",
|
|
284
274
|
* containerName: "STRING_VALUE", // required
|
|
285
|
-
* properties: [
|
|
275
|
+
* properties: [ // ProxyConfigurationProperties
|
|
286
276
|
* {
|
|
287
277
|
* name: "STRING_VALUE",
|
|
288
278
|
* value: "STRING_VALUE",
|
|
289
279
|
* },
|
|
290
280
|
* ],
|
|
291
281
|
* },
|
|
292
|
-
* inferenceAccelerators: [
|
|
293
|
-
* {
|
|
282
|
+
* inferenceAccelerators: [ // InferenceAccelerators
|
|
283
|
+
* { // InferenceAccelerator
|
|
294
284
|
* deviceName: "STRING_VALUE", // required
|
|
295
285
|
* deviceType: "STRING_VALUE", // required
|
|
296
286
|
* },
|
|
297
287
|
* ],
|
|
298
|
-
* ephemeralStorage: {
|
|
288
|
+
* ephemeralStorage: { // EphemeralStorage
|
|
299
289
|
* sizeInGiB: Number("int"), // required
|
|
300
290
|
* },
|
|
301
|
-
* runtimePlatform: {
|
|
291
|
+
* runtimePlatform: { // RuntimePlatform
|
|
302
292
|
* cpuArchitecture: "X86_64" || "ARM64",
|
|
303
293
|
* operatingSystemFamily: "WINDOWS_SERVER_2019_FULL" || "WINDOWS_SERVER_2019_CORE" || "WINDOWS_SERVER_2016_FULL" || "WINDOWS_SERVER_2004_CORE" || "WINDOWS_SERVER_2022_CORE" || "WINDOWS_SERVER_2022_FULL" || "WINDOWS_SERVER_20H2_CORE" || "LINUX",
|
|
304
294
|
* },
|
|
@@ -53,9 +53,9 @@ export interface RunTaskCommandOutput extends RunTaskResponse, __MetadataBearer
|
|
|
53
53
|
* import { ECSClient, RunTaskCommand } from "@aws-sdk/client-ecs"; // ES Modules import
|
|
54
54
|
* // const { ECSClient, RunTaskCommand } = require("@aws-sdk/client-ecs"); // CommonJS import
|
|
55
55
|
* const client = new ECSClient(config);
|
|
56
|
-
* const input = {
|
|
57
|
-
* capacityProviderStrategy: [
|
|
58
|
-
* {
|
|
56
|
+
* const input = { // RunTaskRequest
|
|
57
|
+
* capacityProviderStrategy: [ // CapacityProviderStrategy
|
|
58
|
+
* { // CapacityProviderStrategyItem
|
|
59
59
|
* capacityProvider: "STRING_VALUE", // required
|
|
60
60
|
* weight: Number("int"),
|
|
61
61
|
* base: Number("int"),
|
|
@@ -67,9 +67,9 @@ export interface RunTaskCommandOutput extends RunTaskResponse, __MetadataBearer
|
|
|
67
67
|
* enableExecuteCommand: true || false,
|
|
68
68
|
* group: "STRING_VALUE",
|
|
69
69
|
* launchType: "EC2" || "FARGATE" || "EXTERNAL",
|
|
70
|
-
* networkConfiguration: {
|
|
71
|
-
* awsvpcConfiguration: {
|
|
72
|
-
* subnets: [ // required
|
|
70
|
+
* networkConfiguration: { // NetworkConfiguration
|
|
71
|
+
* awsvpcConfiguration: { // AwsVpcConfiguration
|
|
72
|
+
* subnets: [ // StringList // required
|
|
73
73
|
* "STRING_VALUE",
|
|
74
74
|
* ],
|
|
75
75
|
* securityGroups: [
|
|
@@ -78,21 +78,21 @@ export interface RunTaskCommandOutput extends RunTaskResponse, __MetadataBearer
|
|
|
78
78
|
* assignPublicIp: "ENABLED" || "DISABLED",
|
|
79
79
|
* },
|
|
80
80
|
* },
|
|
81
|
-
* overrides: {
|
|
82
|
-
* containerOverrides: [
|
|
83
|
-
* {
|
|
81
|
+
* overrides: { // TaskOverride
|
|
82
|
+
* containerOverrides: [ // ContainerOverrides
|
|
83
|
+
* { // ContainerOverride
|
|
84
84
|
* name: "STRING_VALUE",
|
|
85
85
|
* command: [
|
|
86
86
|
* "STRING_VALUE",
|
|
87
87
|
* ],
|
|
88
|
-
* environment: [
|
|
89
|
-
* {
|
|
88
|
+
* environment: [ // EnvironmentVariables
|
|
89
|
+
* { // KeyValuePair
|
|
90
90
|
* name: "STRING_VALUE",
|
|
91
91
|
* value: "STRING_VALUE",
|
|
92
92
|
* },
|
|
93
93
|
* ],
|
|
94
|
-
* environmentFiles: [
|
|
95
|
-
* {
|
|
94
|
+
* environmentFiles: [ // EnvironmentFiles
|
|
95
|
+
* { // EnvironmentFile
|
|
96
96
|
* value: "STRING_VALUE", // required
|
|
97
97
|
* type: "s3", // required
|
|
98
98
|
* },
|
|
@@ -100,8 +100,8 @@ export interface RunTaskCommandOutput extends RunTaskResponse, __MetadataBearer
|
|
|
100
100
|
* cpu: Number("int"),
|
|
101
101
|
* memory: Number("int"),
|
|
102
102
|
* memoryReservation: Number("int"),
|
|
103
|
-
* resourceRequirements: [
|
|
104
|
-
* {
|
|
103
|
+
* resourceRequirements: [ // ResourceRequirements
|
|
104
|
+
* { // ResourceRequirement
|
|
105
105
|
* value: "STRING_VALUE", // required
|
|
106
106
|
* type: "GPU" || "InferenceAccelerator", // required
|
|
107
107
|
* },
|
|
@@ -109,8 +109,8 @@ export interface RunTaskCommandOutput extends RunTaskResponse, __MetadataBearer
|
|
|
109
109
|
* },
|
|
110
110
|
* ],
|
|
111
111
|
* cpu: "STRING_VALUE",
|
|
112
|
-
* inferenceAcceleratorOverrides: [
|
|
113
|
-
* {
|
|
112
|
+
* inferenceAcceleratorOverrides: [ // InferenceAcceleratorOverrides
|
|
113
|
+
* { // InferenceAcceleratorOverride
|
|
114
114
|
* deviceName: "STRING_VALUE",
|
|
115
115
|
* deviceType: "STRING_VALUE",
|
|
116
116
|
* },
|
|
@@ -118,18 +118,18 @@ export interface RunTaskCommandOutput extends RunTaskResponse, __MetadataBearer
|
|
|
118
118
|
* executionRoleArn: "STRING_VALUE",
|
|
119
119
|
* memory: "STRING_VALUE",
|
|
120
120
|
* taskRoleArn: "STRING_VALUE",
|
|
121
|
-
* ephemeralStorage: {
|
|
121
|
+
* ephemeralStorage: { // EphemeralStorage
|
|
122
122
|
* sizeInGiB: Number("int"), // required
|
|
123
123
|
* },
|
|
124
124
|
* },
|
|
125
|
-
* placementConstraints: [
|
|
126
|
-
* {
|
|
125
|
+
* placementConstraints: [ // PlacementConstraints
|
|
126
|
+
* { // PlacementConstraint
|
|
127
127
|
* type: "distinctInstance" || "memberOf",
|
|
128
128
|
* expression: "STRING_VALUE",
|
|
129
129
|
* },
|
|
130
130
|
* ],
|
|
131
|
-
* placementStrategy: [
|
|
132
|
-
* {
|
|
131
|
+
* placementStrategy: [ // PlacementStrategies
|
|
132
|
+
* { // PlacementStrategy
|
|
133
133
|
* type: "random" || "spread" || "binpack",
|
|
134
134
|
* field: "STRING_VALUE",
|
|
135
135
|
* },
|
|
@@ -138,8 +138,8 @@ export interface RunTaskCommandOutput extends RunTaskResponse, __MetadataBearer
|
|
|
138
138
|
* propagateTags: "TASK_DEFINITION" || "SERVICE" || "NONE",
|
|
139
139
|
* referenceId: "STRING_VALUE",
|
|
140
140
|
* startedBy: "STRING_VALUE",
|
|
141
|
-
* tags: [
|
|
142
|
-
* {
|
|
141
|
+
* tags: [ // Tags
|
|
142
|
+
* { // Tag
|
|
143
143
|
* key: "STRING_VALUE",
|
|
144
144
|
* value: "STRING_VALUE",
|
|
145
145
|
* },
|
|
@@ -29,16 +29,16 @@ export interface StartTaskCommandOutput extends StartTaskResponse, __MetadataBea
|
|
|
29
29
|
* import { ECSClient, StartTaskCommand } from "@aws-sdk/client-ecs"; // ES Modules import
|
|
30
30
|
* // const { ECSClient, StartTaskCommand } = require("@aws-sdk/client-ecs"); // CommonJS import
|
|
31
31
|
* const client = new ECSClient(config);
|
|
32
|
-
* const input = {
|
|
32
|
+
* const input = { // StartTaskRequest
|
|
33
33
|
* cluster: "STRING_VALUE",
|
|
34
|
-
* containerInstances: [ // required
|
|
34
|
+
* containerInstances: [ // StringList // required
|
|
35
35
|
* "STRING_VALUE",
|
|
36
36
|
* ],
|
|
37
37
|
* enableECSManagedTags: true || false,
|
|
38
38
|
* enableExecuteCommand: true || false,
|
|
39
39
|
* group: "STRING_VALUE",
|
|
40
|
-
* networkConfiguration: {
|
|
41
|
-
* awsvpcConfiguration: {
|
|
40
|
+
* networkConfiguration: { // NetworkConfiguration
|
|
41
|
+
* awsvpcConfiguration: { // AwsVpcConfiguration
|
|
42
42
|
* subnets: [ // required
|
|
43
43
|
* "STRING_VALUE",
|
|
44
44
|
* ],
|
|
@@ -48,21 +48,19 @@ export interface StartTaskCommandOutput extends StartTaskResponse, __MetadataBea
|
|
|
48
48
|
* assignPublicIp: "ENABLED" || "DISABLED",
|
|
49
49
|
* },
|
|
50
50
|
* },
|
|
51
|
-
* overrides: {
|
|
52
|
-
* containerOverrides: [
|
|
53
|
-
* {
|
|
51
|
+
* overrides: { // TaskOverride
|
|
52
|
+
* containerOverrides: [ // ContainerOverrides
|
|
53
|
+
* { // ContainerOverride
|
|
54
54
|
* name: "STRING_VALUE",
|
|
55
|
-
* command:
|
|
56
|
-
*
|
|
57
|
-
*
|
|
58
|
-
* environment: [
|
|
59
|
-
* {
|
|
55
|
+
* command: "<StringList>",
|
|
56
|
+
* environment: [ // EnvironmentVariables
|
|
57
|
+
* { // KeyValuePair
|
|
60
58
|
* name: "STRING_VALUE",
|
|
61
59
|
* value: "STRING_VALUE",
|
|
62
60
|
* },
|
|
63
61
|
* ],
|
|
64
|
-
* environmentFiles: [
|
|
65
|
-
* {
|
|
62
|
+
* environmentFiles: [ // EnvironmentFiles
|
|
63
|
+
* { // EnvironmentFile
|
|
66
64
|
* value: "STRING_VALUE", // required
|
|
67
65
|
* type: "s3", // required
|
|
68
66
|
* },
|
|
@@ -70,8 +68,8 @@ export interface StartTaskCommandOutput extends StartTaskResponse, __MetadataBea
|
|
|
70
68
|
* cpu: Number("int"),
|
|
71
69
|
* memory: Number("int"),
|
|
72
70
|
* memoryReservation: Number("int"),
|
|
73
|
-
* resourceRequirements: [
|
|
74
|
-
* {
|
|
71
|
+
* resourceRequirements: [ // ResourceRequirements
|
|
72
|
+
* { // ResourceRequirement
|
|
75
73
|
* value: "STRING_VALUE", // required
|
|
76
74
|
* type: "GPU" || "InferenceAccelerator", // required
|
|
77
75
|
* },
|
|
@@ -79,8 +77,8 @@ export interface StartTaskCommandOutput extends StartTaskResponse, __MetadataBea
|
|
|
79
77
|
* },
|
|
80
78
|
* ],
|
|
81
79
|
* cpu: "STRING_VALUE",
|
|
82
|
-
* inferenceAcceleratorOverrides: [
|
|
83
|
-
* {
|
|
80
|
+
* inferenceAcceleratorOverrides: [ // InferenceAcceleratorOverrides
|
|
81
|
+
* { // InferenceAcceleratorOverride
|
|
84
82
|
* deviceName: "STRING_VALUE",
|
|
85
83
|
* deviceType: "STRING_VALUE",
|
|
86
84
|
* },
|
|
@@ -88,15 +86,15 @@ export interface StartTaskCommandOutput extends StartTaskResponse, __MetadataBea
|
|
|
88
86
|
* executionRoleArn: "STRING_VALUE",
|
|
89
87
|
* memory: "STRING_VALUE",
|
|
90
88
|
* taskRoleArn: "STRING_VALUE",
|
|
91
|
-
* ephemeralStorage: {
|
|
89
|
+
* ephemeralStorage: { // EphemeralStorage
|
|
92
90
|
* sizeInGiB: Number("int"), // required
|
|
93
91
|
* },
|
|
94
92
|
* },
|
|
95
93
|
* propagateTags: "TASK_DEFINITION" || "SERVICE" || "NONE",
|
|
96
94
|
* referenceId: "STRING_VALUE",
|
|
97
95
|
* startedBy: "STRING_VALUE",
|
|
98
|
-
* tags: [
|
|
99
|
-
* {
|
|
96
|
+
* tags: [ // Tags
|
|
97
|
+
* { // Tag
|
|
100
98
|
* key: "STRING_VALUE",
|
|
101
99
|
* value: "STRING_VALUE",
|
|
102
100
|
* },
|
|
@@ -38,7 +38,7 @@ export interface StopTaskCommandOutput extends StopTaskResponse, __MetadataBeare
|
|
|
38
38
|
* import { ECSClient, StopTaskCommand } from "@aws-sdk/client-ecs"; // ES Modules import
|
|
39
39
|
* // const { ECSClient, StopTaskCommand } = require("@aws-sdk/client-ecs"); // CommonJS import
|
|
40
40
|
* const client = new ECSClient(config);
|
|
41
|
-
* const input = {
|
|
41
|
+
* const input = { // StopTaskRequest
|
|
42
42
|
* cluster: "STRING_VALUE",
|
|
43
43
|
* task: "STRING_VALUE", // required
|
|
44
44
|
* reason: "STRING_VALUE",
|
|
@@ -29,10 +29,10 @@ export interface SubmitAttachmentStateChangesCommandOutput extends SubmitAttachm
|
|
|
29
29
|
* import { ECSClient, SubmitAttachmentStateChangesCommand } from "@aws-sdk/client-ecs"; // ES Modules import
|
|
30
30
|
* // const { ECSClient, SubmitAttachmentStateChangesCommand } = require("@aws-sdk/client-ecs"); // CommonJS import
|
|
31
31
|
* const client = new ECSClient(config);
|
|
32
|
-
* const input = {
|
|
32
|
+
* const input = { // SubmitAttachmentStateChangesRequest
|
|
33
33
|
* cluster: "STRING_VALUE",
|
|
34
|
-
* attachments: [ // required
|
|
35
|
-
* {
|
|
34
|
+
* attachments: [ // AttachmentStateChanges // required
|
|
35
|
+
* { // AttachmentStateChange
|
|
36
36
|
* attachmentArn: "STRING_VALUE", // required
|
|
37
37
|
* status: "STRING_VALUE", // required
|
|
38
38
|
* },
|