@aws-sdk/client-ecs 3.295.0 → 3.297.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-types/ECS.d.ts +57 -0
- package/dist-types/ECSClient.d.ts +24 -4
- package/dist-types/commands/CreateCapacityProviderCommand.d.ts +16 -0
- package/dist-types/commands/CreateClusterCommand.d.ts +16 -0
- package/dist-types/commands/CreateServiceCommand.d.ts +16 -0
- package/dist-types/commands/CreateTaskSetCommand.d.ts +16 -0
- package/dist-types/commands/DeleteAccountSettingCommand.d.ts +16 -0
- package/dist-types/commands/DeleteAttributesCommand.d.ts +16 -0
- package/dist-types/commands/DeleteCapacityProviderCommand.d.ts +16 -0
- package/dist-types/commands/DeleteClusterCommand.d.ts +16 -0
- package/dist-types/commands/DeleteServiceCommand.d.ts +16 -0
- package/dist-types/commands/DeleteTaskDefinitionsCommand.d.ts +16 -0
- package/dist-types/commands/DeleteTaskSetCommand.d.ts +16 -0
- package/dist-types/commands/DeregisterContainerInstanceCommand.d.ts +16 -0
- package/dist-types/commands/DeregisterTaskDefinitionCommand.d.ts +16 -0
- package/dist-types/commands/DescribeCapacityProvidersCommand.d.ts +16 -0
- package/dist-types/commands/DescribeClustersCommand.d.ts +16 -0
- package/dist-types/commands/DescribeContainerInstancesCommand.d.ts +16 -0
- package/dist-types/commands/DescribeServicesCommand.d.ts +16 -0
- package/dist-types/commands/DescribeTaskDefinitionCommand.d.ts +16 -0
- package/dist-types/commands/DescribeTaskSetsCommand.d.ts +16 -0
- package/dist-types/commands/DescribeTasksCommand.d.ts +16 -0
- package/dist-types/commands/DiscoverPollEndpointCommand.d.ts +16 -0
- package/dist-types/commands/ExecuteCommandCommand.d.ts +16 -0
- package/dist-types/commands/GetTaskProtectionCommand.d.ts +16 -0
- package/dist-types/commands/ListAccountSettingsCommand.d.ts +16 -0
- package/dist-types/commands/ListAttributesCommand.d.ts +16 -0
- package/dist-types/commands/ListClustersCommand.d.ts +16 -0
- package/dist-types/commands/ListContainerInstancesCommand.d.ts +16 -0
- package/dist-types/commands/ListServicesByNamespaceCommand.d.ts +16 -0
- package/dist-types/commands/ListServicesCommand.d.ts +16 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +16 -0
- package/dist-types/commands/ListTaskDefinitionFamiliesCommand.d.ts +16 -0
- package/dist-types/commands/ListTaskDefinitionsCommand.d.ts +16 -0
- package/dist-types/commands/ListTasksCommand.d.ts +16 -0
- package/dist-types/commands/PutAccountSettingCommand.d.ts +16 -0
- package/dist-types/commands/PutAccountSettingDefaultCommand.d.ts +16 -0
- package/dist-types/commands/PutAttributesCommand.d.ts +16 -0
- package/dist-types/commands/PutClusterCapacityProvidersCommand.d.ts +16 -0
- package/dist-types/commands/RegisterContainerInstanceCommand.d.ts +16 -0
- package/dist-types/commands/RegisterTaskDefinitionCommand.d.ts +16 -0
- package/dist-types/commands/RunTaskCommand.d.ts +16 -0
- package/dist-types/commands/StartTaskCommand.d.ts +16 -0
- package/dist-types/commands/StopTaskCommand.d.ts +16 -0
- package/dist-types/commands/SubmitAttachmentStateChangesCommand.d.ts +16 -0
- package/dist-types/commands/SubmitContainerStateChangeCommand.d.ts +16 -0
- package/dist-types/commands/SubmitTaskStateChangeCommand.d.ts +16 -0
- package/dist-types/commands/TagResourceCommand.d.ts +16 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +16 -0
- package/dist-types/commands/UpdateCapacityProviderCommand.d.ts +16 -0
- package/dist-types/commands/UpdateClusterCommand.d.ts +16 -0
- package/dist-types/commands/UpdateClusterSettingsCommand.d.ts +16 -0
- package/dist-types/commands/UpdateContainerAgentCommand.d.ts +16 -0
- package/dist-types/commands/UpdateContainerInstancesStateCommand.d.ts +16 -0
- package/dist-types/commands/UpdateServiceCommand.d.ts +16 -0
- package/dist-types/commands/UpdateServicePrimaryTaskSetCommand.d.ts +16 -0
- package/dist-types/commands/UpdateTaskProtectionCommand.d.ts +16 -0
- package/dist-types/commands/UpdateTaskSetCommand.d.ts +16 -0
- package/dist-types/models/ECSServiceException.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +631 -8
- package/dist-types/pagination/Interfaces.d.ts +3 -0
- package/dist-types/pagination/ListAccountSettingsPaginator.d.ts +3 -0
- package/dist-types/pagination/ListAttributesPaginator.d.ts +3 -0
- package/dist-types/pagination/ListClustersPaginator.d.ts +3 -0
- package/dist-types/pagination/ListContainerInstancesPaginator.d.ts +3 -0
- package/dist-types/pagination/ListServicesByNamespacePaginator.d.ts +3 -0
- package/dist-types/pagination/ListServicesPaginator.d.ts +3 -0
- package/dist-types/pagination/ListTaskDefinitionFamiliesPaginator.d.ts +3 -0
- package/dist-types/pagination/ListTaskDefinitionsPaginator.d.ts +3 -0
- package/dist-types/pagination/ListTasksPaginator.d.ts +3 -0
- package/package.json +30 -30
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECSClient";
|
|
5
5
|
import { UpdateTaskProtectionRequest, UpdateTaskProtectionResponse } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link UpdateTaskProtectionCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface UpdateTaskProtectionCommandInput extends UpdateTaskProtectionRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link UpdateTaskProtectionCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface UpdateTaskProtectionCommandOutput extends UpdateTaskProtectionResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Updates the protection status of a task. You can set <code>protectionEnabled</code> to
|
|
18
23
|
* <code>true</code> to protect your task from termination during scale-in events from
|
|
19
24
|
* <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-auto-scaling.html">Service
|
|
@@ -51,6 +56,8 @@ export interface UpdateTaskProtectionCommandOutput extends UpdateTaskProtectionR
|
|
|
51
56
|
* const response = await client.send(command);
|
|
52
57
|
* ```
|
|
53
58
|
*
|
|
59
|
+
* @param UpdateTaskProtectionCommandInput - {@link UpdateTaskProtectionCommandInput}
|
|
60
|
+
* @returns {@link UpdateTaskProtectionCommandOutput}
|
|
54
61
|
* @see {@link UpdateTaskProtectionCommandInput} for command's `input` shape.
|
|
55
62
|
* @see {@link UpdateTaskProtectionCommandOutput} for command's `response` shape.
|
|
56
63
|
* @see {@link ECSClientResolvedConfig | config} for ECSClient's `config` shape.
|
|
@@ -165,11 +172,20 @@ export interface UpdateTaskProtectionCommandOutput extends UpdateTaskProtectionR
|
|
|
165
172
|
export declare class UpdateTaskProtectionCommand extends $Command<UpdateTaskProtectionCommandInput, UpdateTaskProtectionCommandOutput, ECSClientResolvedConfig> {
|
|
166
173
|
readonly input: UpdateTaskProtectionCommandInput;
|
|
167
174
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
175
|
+
/**
|
|
176
|
+
* @public
|
|
177
|
+
*/
|
|
168
178
|
constructor(input: UpdateTaskProtectionCommandInput);
|
|
169
179
|
/**
|
|
170
180
|
* @internal
|
|
171
181
|
*/
|
|
172
182
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateTaskProtectionCommandInput, UpdateTaskProtectionCommandOutput>;
|
|
183
|
+
/**
|
|
184
|
+
* @internal
|
|
185
|
+
*/
|
|
173
186
|
private serialize;
|
|
187
|
+
/**
|
|
188
|
+
* @internal
|
|
189
|
+
*/
|
|
174
190
|
private deserialize;
|
|
175
191
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECSClient";
|
|
5
5
|
import { UpdateTaskSetRequest, UpdateTaskSetResponse } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link UpdateTaskSetCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface UpdateTaskSetCommandInput extends UpdateTaskSetRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link UpdateTaskSetCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface UpdateTaskSetCommandOutput extends UpdateTaskSetResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Modifies a task set. This is used when a service uses the <code>EXTERNAL</code>
|
|
18
23
|
* deployment controller type. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html">Amazon ECS Deployment
|
|
19
24
|
* Types</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
|
|
@@ -27,6 +32,8 @@ export interface UpdateTaskSetCommandOutput extends UpdateTaskSetResponse, __Met
|
|
|
27
32
|
* const response = await client.send(command);
|
|
28
33
|
* ```
|
|
29
34
|
*
|
|
35
|
+
* @param UpdateTaskSetCommandInput - {@link UpdateTaskSetCommandInput}
|
|
36
|
+
* @returns {@link UpdateTaskSetCommandOutput}
|
|
30
37
|
* @see {@link UpdateTaskSetCommandInput} for command's `input` shape.
|
|
31
38
|
* @see {@link UpdateTaskSetCommandOutput} for command's `response` shape.
|
|
32
39
|
* @see {@link ECSClientResolvedConfig | config} for ECSClient's `config` shape.
|
|
@@ -69,11 +76,20 @@ export interface UpdateTaskSetCommandOutput extends UpdateTaskSetResponse, __Met
|
|
|
69
76
|
export declare class UpdateTaskSetCommand extends $Command<UpdateTaskSetCommandInput, UpdateTaskSetCommandOutput, ECSClientResolvedConfig> {
|
|
70
77
|
readonly input: UpdateTaskSetCommandInput;
|
|
71
78
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
79
|
+
/**
|
|
80
|
+
* @public
|
|
81
|
+
*/
|
|
72
82
|
constructor(input: UpdateTaskSetCommandInput);
|
|
73
83
|
/**
|
|
74
84
|
* @internal
|
|
75
85
|
*/
|
|
76
86
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateTaskSetCommandInput, UpdateTaskSetCommandOutput>;
|
|
87
|
+
/**
|
|
88
|
+
* @internal
|
|
89
|
+
*/
|
|
77
90
|
private serialize;
|
|
91
|
+
/**
|
|
92
|
+
* @internal
|
|
93
|
+
*/
|
|
78
94
|
private deserialize;
|
|
79
95
|
}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
2
|
/**
|
|
3
|
+
* @public
|
|
4
|
+
*
|
|
3
5
|
* Base exception class for all service exceptions from ECS service.
|
|
4
6
|
*/
|
|
5
7
|
export declare class ECSServiceException extends __ServiceException {
|