@aws-sdk/client-ecs 3.36.0 → 3.39.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 (156) hide show
  1. package/CHANGELOG.md +45 -0
  2. package/dist-cjs/ECS.js +0 -15
  3. package/dist-cjs/ECSClient.js +0 -20
  4. package/dist-cjs/commands/CreateCapacityProviderCommand.js +0 -30
  5. package/dist-cjs/commands/CreateClusterCommand.js +0 -35
  6. package/dist-cjs/commands/CreateServiceCommand.js +0 -129
  7. package/dist-cjs/commands/CreateTaskSetCommand.js +0 -27
  8. package/dist-cjs/commands/DeleteAccountSettingCommand.js +0 -25
  9. package/dist-cjs/commands/DeleteAttributesCommand.js +0 -24
  10. package/dist-cjs/commands/DeleteCapacityProviderCommand.js +0 -38
  11. package/dist-cjs/commands/DeleteClusterCommand.js +0 -30
  12. package/dist-cjs/commands/DeleteServiceCommand.js +0 -44
  13. package/dist-cjs/commands/DeleteTaskSetCommand.js +0 -25
  14. package/dist-cjs/commands/DeregisterContainerInstanceCommand.js +0 -36
  15. package/dist-cjs/commands/DeregisterTaskDefinitionCommand.js +0 -39
  16. package/dist-cjs/commands/DescribeCapacityProvidersCommand.js +0 -24
  17. package/dist-cjs/commands/DescribeClustersCommand.js +0 -24
  18. package/dist-cjs/commands/DescribeContainerInstancesCommand.js +0 -25
  19. package/dist-cjs/commands/DescribeServicesCommand.js +0 -24
  20. package/dist-cjs/commands/DescribeTaskDefinitionCommand.js +0 -31
  21. package/dist-cjs/commands/DescribeTaskSetsCommand.js +0 -27
  22. package/dist-cjs/commands/DescribeTasksCommand.js +0 -24
  23. package/dist-cjs/commands/DiscoverPollEndpointCommand.js +0 -28
  24. package/dist-cjs/commands/ExecuteCommandCommand.js +0 -24
  25. package/dist-cjs/commands/ListAccountSettingsCommand.js +0 -24
  26. package/dist-cjs/commands/ListAttributesCommand.js +0 -30
  27. package/dist-cjs/commands/ListClustersCommand.js +0 -24
  28. package/dist-cjs/commands/ListContainerInstancesCommand.js +0 -27
  29. package/dist-cjs/commands/ListServicesCommand.js +0 -25
  30. package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -24
  31. package/dist-cjs/commands/ListTaskDefinitionFamiliesCommand.js +0 -30
  32. package/dist-cjs/commands/ListTaskDefinitionsCommand.js +0 -26
  33. package/dist-cjs/commands/ListTasksCommand.js +0 -28
  34. package/dist-cjs/commands/PutAccountSettingCommand.js +0 -47
  35. package/dist-cjs/commands/PutAccountSettingDefaultCommand.js +0 -26
  36. package/dist-cjs/commands/PutAttributesCommand.js +0 -28
  37. package/dist-cjs/commands/PutClusterCapacityProvidersCommand.js +0 -37
  38. package/dist-cjs/commands/RegisterContainerInstanceCommand.js +0 -29
  39. package/dist-cjs/commands/RegisterTaskDefinitionCommand.js +0 -41
  40. package/dist-cjs/commands/RunTaskCommand.js +0 -52
  41. package/dist-cjs/commands/StartTaskCommand.js +0 -28
  42. package/dist-cjs/commands/StopTaskCommand.js +0 -36
  43. package/dist-cjs/commands/SubmitAttachmentStateChangesCommand.js +0 -28
  44. package/dist-cjs/commands/SubmitContainerStateChangeCommand.js +0 -28
  45. package/dist-cjs/commands/SubmitTaskStateChangeCommand.js +0 -28
  46. package/dist-cjs/commands/TagResourceCommand.js +0 -27
  47. package/dist-cjs/commands/UntagResourceCommand.js +0 -24
  48. package/dist-cjs/commands/UpdateCapacityProviderCommand.js +0 -24
  49. package/dist-cjs/commands/UpdateClusterCommand.js +0 -24
  50. package/dist-cjs/commands/UpdateClusterSettingsCommand.js +0 -24
  51. package/dist-cjs/commands/UpdateContainerAgentCommand.js +0 -39
  52. package/dist-cjs/commands/UpdateContainerInstancesStateCommand.js +0 -72
  53. package/dist-cjs/commands/UpdateServiceCommand.js +0 -132
  54. package/dist-cjs/commands/UpdateServicePrimaryTaskSetCommand.js +0 -28
  55. package/dist-cjs/commands/UpdateTaskSetCommand.js +0 -26
  56. package/dist-cjs/commands/index.js +55 -0
  57. package/dist-cjs/endpoints.js +6 -1
  58. package/dist-cjs/index.js +5 -66
  59. package/dist-cjs/models/models_0.js +26 -619
  60. package/dist-cjs/pagination/ListAccountSettingsPaginator.js +0 -10
  61. package/dist-cjs/pagination/ListAttributesPaginator.js +0 -10
  62. package/dist-cjs/pagination/ListClustersPaginator.js +0 -10
  63. package/dist-cjs/pagination/ListContainerInstancesPaginator.js +0 -10
  64. package/dist-cjs/pagination/ListServicesPaginator.js +0 -10
  65. package/dist-cjs/pagination/ListTaskDefinitionFamiliesPaginator.js +0 -10
  66. package/dist-cjs/pagination/ListTaskDefinitionsPaginator.js +0 -10
  67. package/dist-cjs/pagination/ListTasksPaginator.js +0 -10
  68. package/dist-cjs/pagination/index.js +12 -0
  69. package/dist-cjs/protocols/Aws_json1_1.js +25 -5
  70. package/dist-cjs/runtimeConfig.browser.js +1 -5
  71. package/dist-cjs/runtimeConfig.js +1 -5
  72. package/dist-cjs/runtimeConfig.native.js +0 -3
  73. package/dist-cjs/runtimeConfig.shared.js +0 -3
  74. package/dist-cjs/waiters/index.js +6 -0
  75. package/dist-cjs/waiters/waitForServicesInactive.js +0 -9
  76. package/dist-cjs/waiters/waitForTasksRunning.js +0 -9
  77. package/dist-cjs/waiters/waitForTasksStopped.js +0 -9
  78. package/dist-es/commands/index.js +52 -0
  79. package/dist-es/endpoints.js +6 -1
  80. package/dist-es/index.js +5 -66
  81. package/dist-es/models/models_0.js +20 -0
  82. package/dist-es/pagination/index.js +9 -0
  83. package/dist-es/protocols/Aws_json1_1.js +22 -1
  84. package/dist-es/waiters/index.js +3 -0
  85. package/dist-types/commands/index.d.ts +52 -0
  86. package/dist-types/index.d.ts +5 -66
  87. package/dist-types/models/models_0.d.ts +170 -25
  88. package/dist-types/pagination/index.d.ts +9 -0
  89. package/dist-types/ts3.4/ECS.d.ts +53 -702
  90. package/dist-types/ts3.4/ECSClient.d.ts +24 -101
  91. package/dist-types/ts3.4/commands/CreateCapacityProviderCommand.d.ts +2 -26
  92. package/dist-types/ts3.4/commands/CreateClusterCommand.d.ts +2 -31
  93. package/dist-types/ts3.4/commands/CreateServiceCommand.d.ts +2 -125
  94. package/dist-types/ts3.4/commands/CreateTaskSetCommand.d.ts +2 -23
  95. package/dist-types/ts3.4/commands/DeleteAccountSettingCommand.d.ts +2 -21
  96. package/dist-types/ts3.4/commands/DeleteAttributesCommand.d.ts +2 -20
  97. package/dist-types/ts3.4/commands/DeleteCapacityProviderCommand.d.ts +2 -34
  98. package/dist-types/ts3.4/commands/DeleteClusterCommand.d.ts +2 -26
  99. package/dist-types/ts3.4/commands/DeleteServiceCommand.d.ts +2 -40
  100. package/dist-types/ts3.4/commands/DeleteTaskSetCommand.d.ts +2 -21
  101. package/dist-types/ts3.4/commands/DeregisterContainerInstanceCommand.d.ts +2 -32
  102. package/dist-types/ts3.4/commands/DeregisterTaskDefinitionCommand.d.ts +2 -35
  103. package/dist-types/ts3.4/commands/DescribeCapacityProvidersCommand.d.ts +2 -20
  104. package/dist-types/ts3.4/commands/DescribeClustersCommand.d.ts +2 -20
  105. package/dist-types/ts3.4/commands/DescribeContainerInstancesCommand.d.ts +2 -21
  106. package/dist-types/ts3.4/commands/DescribeServicesCommand.d.ts +2 -20
  107. package/dist-types/ts3.4/commands/DescribeTaskDefinitionCommand.d.ts +2 -27
  108. package/dist-types/ts3.4/commands/DescribeTaskSetsCommand.d.ts +2 -23
  109. package/dist-types/ts3.4/commands/DescribeTasksCommand.d.ts +2 -20
  110. package/dist-types/ts3.4/commands/DiscoverPollEndpointCommand.d.ts +2 -24
  111. package/dist-types/ts3.4/commands/ExecuteCommandCommand.d.ts +2 -20
  112. package/dist-types/ts3.4/commands/ListAccountSettingsCommand.d.ts +2 -20
  113. package/dist-types/ts3.4/commands/ListAttributesCommand.d.ts +2 -26
  114. package/dist-types/ts3.4/commands/ListClustersCommand.d.ts +2 -20
  115. package/dist-types/ts3.4/commands/ListContainerInstancesCommand.d.ts +2 -23
  116. package/dist-types/ts3.4/commands/ListServicesCommand.d.ts +2 -21
  117. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -20
  118. package/dist-types/ts3.4/commands/ListTaskDefinitionFamiliesCommand.d.ts +2 -26
  119. package/dist-types/ts3.4/commands/ListTaskDefinitionsCommand.d.ts +2 -22
  120. package/dist-types/ts3.4/commands/ListTasksCommand.d.ts +2 -24
  121. package/dist-types/ts3.4/commands/PutAccountSettingCommand.d.ts +2 -43
  122. package/dist-types/ts3.4/commands/PutAccountSettingDefaultCommand.d.ts +2 -22
  123. package/dist-types/ts3.4/commands/PutAttributesCommand.d.ts +2 -24
  124. package/dist-types/ts3.4/commands/PutClusterCapacityProvidersCommand.d.ts +2 -33
  125. package/dist-types/ts3.4/commands/RegisterContainerInstanceCommand.d.ts +2 -25
  126. package/dist-types/ts3.4/commands/RegisterTaskDefinitionCommand.d.ts +2 -37
  127. package/dist-types/ts3.4/commands/RunTaskCommand.d.ts +2 -48
  128. package/dist-types/ts3.4/commands/StartTaskCommand.d.ts +2 -24
  129. package/dist-types/ts3.4/commands/StopTaskCommand.d.ts +2 -32
  130. package/dist-types/ts3.4/commands/SubmitAttachmentStateChangesCommand.d.ts +2 -24
  131. package/dist-types/ts3.4/commands/SubmitContainerStateChangeCommand.d.ts +2 -24
  132. package/dist-types/ts3.4/commands/SubmitTaskStateChangeCommand.d.ts +2 -24
  133. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -23
  134. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -20
  135. package/dist-types/ts3.4/commands/UpdateCapacityProviderCommand.d.ts +2 -20
  136. package/dist-types/ts3.4/commands/UpdateClusterCommand.d.ts +2 -20
  137. package/dist-types/ts3.4/commands/UpdateClusterSettingsCommand.d.ts +2 -20
  138. package/dist-types/ts3.4/commands/UpdateContainerAgentCommand.d.ts +2 -35
  139. package/dist-types/ts3.4/commands/UpdateContainerInstancesStateCommand.d.ts +2 -68
  140. package/dist-types/ts3.4/commands/UpdateServiceCommand.d.ts +2 -128
  141. package/dist-types/ts3.4/commands/UpdateServicePrimaryTaskSetCommand.d.ts +2 -24
  142. package/dist-types/ts3.4/commands/UpdateTaskSetCommand.d.ts +2 -22
  143. package/dist-types/ts3.4/commands/index.d.ts +52 -0
  144. package/dist-types/ts3.4/index.d.ts +5 -66
  145. package/dist-types/ts3.4/models/models_0.d.ts +1099 -6662
  146. package/dist-types/ts3.4/pagination/index.d.ts +9 -0
  147. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
  148. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
  149. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
  150. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
  151. package/dist-types/ts3.4/waiters/index.d.ts +3 -0
  152. package/dist-types/ts3.4/waiters/waitForServicesInactive.d.ts +2 -9
  153. package/dist-types/ts3.4/waiters/waitForTasksRunning.d.ts +2 -9
  154. package/dist-types/ts3.4/waiters/waitForTasksStopped.d.ts +2 -9
  155. package/dist-types/waiters/index.d.ts +3 -0
  156. package/package.json +33 -33
@@ -61,136 +61,59 @@ import { UpdateTaskSetCommandInput, UpdateTaskSetCommandOutput } from "./command
61
61
  export declare type ServiceInputTypes = CreateCapacityProviderCommandInput | CreateClusterCommandInput | CreateServiceCommandInput | CreateTaskSetCommandInput | DeleteAccountSettingCommandInput | DeleteAttributesCommandInput | DeleteCapacityProviderCommandInput | DeleteClusterCommandInput | DeleteServiceCommandInput | DeleteTaskSetCommandInput | DeregisterContainerInstanceCommandInput | DeregisterTaskDefinitionCommandInput | DescribeCapacityProvidersCommandInput | DescribeClustersCommandInput | DescribeContainerInstancesCommandInput | DescribeServicesCommandInput | DescribeTaskDefinitionCommandInput | DescribeTaskSetsCommandInput | DescribeTasksCommandInput | DiscoverPollEndpointCommandInput | ExecuteCommandCommandInput | ListAccountSettingsCommandInput | ListAttributesCommandInput | ListClustersCommandInput | ListContainerInstancesCommandInput | ListServicesCommandInput | ListTagsForResourceCommandInput | ListTaskDefinitionFamiliesCommandInput | ListTaskDefinitionsCommandInput | ListTasksCommandInput | PutAccountSettingCommandInput | PutAccountSettingDefaultCommandInput | PutAttributesCommandInput | PutClusterCapacityProvidersCommandInput | RegisterContainerInstanceCommandInput | RegisterTaskDefinitionCommandInput | RunTaskCommandInput | StartTaskCommandInput | StopTaskCommandInput | SubmitAttachmentStateChangesCommandInput | SubmitContainerStateChangeCommandInput | SubmitTaskStateChangeCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateCapacityProviderCommandInput | UpdateClusterCommandInput | UpdateClusterSettingsCommandInput | UpdateContainerAgentCommandInput | UpdateContainerInstancesStateCommandInput | UpdateServiceCommandInput | UpdateServicePrimaryTaskSetCommandInput | UpdateTaskSetCommandInput;
62
62
  export declare type ServiceOutputTypes = CreateCapacityProviderCommandOutput | CreateClusterCommandOutput | CreateServiceCommandOutput | CreateTaskSetCommandOutput | DeleteAccountSettingCommandOutput | DeleteAttributesCommandOutput | DeleteCapacityProviderCommandOutput | DeleteClusterCommandOutput | DeleteServiceCommandOutput | DeleteTaskSetCommandOutput | DeregisterContainerInstanceCommandOutput | DeregisterTaskDefinitionCommandOutput | DescribeCapacityProvidersCommandOutput | DescribeClustersCommandOutput | DescribeContainerInstancesCommandOutput | DescribeServicesCommandOutput | DescribeTaskDefinitionCommandOutput | DescribeTaskSetsCommandOutput | DescribeTasksCommandOutput | DiscoverPollEndpointCommandOutput | ExecuteCommandCommandOutput | ListAccountSettingsCommandOutput | ListAttributesCommandOutput | ListClustersCommandOutput | ListContainerInstancesCommandOutput | ListServicesCommandOutput | ListTagsForResourceCommandOutput | ListTaskDefinitionFamiliesCommandOutput | ListTaskDefinitionsCommandOutput | ListTasksCommandOutput | PutAccountSettingCommandOutput | PutAccountSettingDefaultCommandOutput | PutAttributesCommandOutput | PutClusterCapacityProvidersCommandOutput | RegisterContainerInstanceCommandOutput | RegisterTaskDefinitionCommandOutput | RunTaskCommandOutput | StartTaskCommandOutput | StopTaskCommandOutput | SubmitAttachmentStateChangesCommandOutput | SubmitContainerStateChangeCommandOutput | SubmitTaskStateChangeCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateCapacityProviderCommandOutput | UpdateClusterCommandOutput | UpdateClusterSettingsCommandOutput | UpdateContainerAgentCommandOutput | UpdateContainerInstancesStateCommandOutput | UpdateServiceCommandOutput | UpdateServicePrimaryTaskSetCommandOutput | UpdateTaskSetCommandOutput;
63
63
  export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
64
- /**
65
- * The HTTP handler to use. Fetch in browser and Https in Nodejs.
66
- */
64
+
67
65
  requestHandler?: __HttpHandler;
68
- /**
69
- * A constructor for a class implementing the {@link __Hash} interface
70
- * that computes the SHA-256 HMAC or checksum of a string or binary buffer.
71
- * @internal
72
- */
66
+
73
67
  sha256?: __HashConstructor;
74
- /**
75
- * The function that will be used to convert strings into HTTP endpoints.
76
- * @internal
77
- */
68
+
78
69
  urlParser?: __UrlParser;
79
- /**
80
- * A function that can calculate the length of a request body.
81
- * @internal
82
- */
70
+
83
71
  bodyLengthChecker?: (body: any) => number | undefined;
84
- /**
85
- * A function that converts a stream into an array of bytes.
86
- * @internal
87
- */
72
+
88
73
  streamCollector?: __StreamCollector;
89
- /**
90
- * The function that will be used to convert a base64-encoded string to a byte array.
91
- * @internal
92
- */
74
+
93
75
  base64Decoder?: __Decoder;
94
- /**
95
- * The function that will be used to convert binary data to a base64-encoded string.
96
- * @internal
97
- */
76
+
98
77
  base64Encoder?: __Encoder;
99
- /**
100
- * The function that will be used to convert a UTF8-encoded string to a byte array.
101
- * @internal
102
- */
78
+
103
79
  utf8Decoder?: __Decoder;
104
- /**
105
- * The function that will be used to convert binary data to a UTF-8 encoded string.
106
- * @internal
107
- */
80
+
108
81
  utf8Encoder?: __Encoder;
109
- /**
110
- * The runtime environment.
111
- * @internal
112
- */
82
+
113
83
  runtime?: string;
114
- /**
115
- * Disable dyanamically changing the endpoint of the client based on the hostPrefix
116
- * trait of an operation.
117
- */
84
+
118
85
  disableHostPrefix?: boolean;
119
- /**
120
- * Value for how many times a request will be made at most in case of retry.
121
- */
86
+
122
87
  maxAttempts?: number | __Provider<number>;
123
- /**
124
- * Specifies which retry algorithm to use.
125
- */
88
+
126
89
  retryMode?: string | __Provider<string>;
127
- /**
128
- * Optional logger for logging debug/info/warn/error.
129
- */
90
+
130
91
  logger?: __Logger;
131
- /**
132
- * Unique service identifier.
133
- * @internal
134
- */
92
+
135
93
  serviceId?: string;
136
- /**
137
- * The AWS region to which this client will send requests
138
- */
94
+
139
95
  region?: string | __Provider<string>;
140
- /**
141
- * Default credentials provider; Not available in browser runtime.
142
- * @internal
143
- */
96
+
144
97
  credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
145
- /**
146
- * Fetch related hostname, signing name or signing region with given region.
147
- * @internal
148
- */
98
+
149
99
  regionInfoProvider?: RegionInfoProvider;
150
- /**
151
- * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
152
- * @internal
153
- */
100
+
154
101
  defaultUserAgentProvider?: Provider<__UserAgent>;
155
102
  }
156
103
  declare type ECSClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
157
- /**
158
- * The configuration interface of ECSClient class constructor that set the region, credentials and other options.
159
- */
104
+
160
105
  export interface ECSClientConfig extends ECSClientConfigType {
161
106
  }
162
107
  declare type ECSClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointsResolvedConfig & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig;
163
- /**
164
- * The resolved configuration interface of ECSClient class. This is resolved and normalized from the {@link ECSClientConfig | constructor configuration interface}.
165
- */
108
+
166
109
  export interface ECSClientResolvedConfig extends ECSClientResolvedConfigType {
167
110
  }
168
- /**
169
- * <fullname>Amazon Elastic Container Service</fullname>
170
- * <p>Amazon Elastic Container Service (Amazon ECS) is a highly scalable, fast, container management service that makes
171
- * it easy to run, stop, and manage Docker containers on a cluster. You can host your
172
- * cluster on a serverless infrastructure that is managed by Amazon ECS by launching your
173
- * services or tasks on Fargate. For more control, you can host your tasks on a cluster
174
- * of Amazon Elastic Compute Cloud (Amazon EC2) instances that you manage.</p>
175
- * <p>Amazon ECS makes it easy to launch and stop container-based applications with simple API
176
- * calls, allows you to get the state of your cluster from a centralized service, and gives
177
- * you access to many familiar Amazon EC2 features.</p>
178
- * <p>You can use Amazon ECS to schedule the placement of containers across your cluster based on
179
- * your resource needs, isolation policies, and availability requirements. Amazon ECS eliminates
180
- * the need for you to operate your own cluster management and configuration management
181
- * systems or worry about scaling your management infrastructure.</p>
182
- */
111
+
183
112
  export declare class ECSClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, ECSClientResolvedConfig> {
184
- /**
185
- * The resolved configuration of ECSClient class. This is resolved and normalized from the {@link ECSClientConfig | constructor configuration interface}.
186
- */
113
+
187
114
  readonly config: ECSClientResolvedConfig;
188
115
  constructor(configuration: ECSClientConfig);
189
- /**
190
- * Destroy underlying resources, like sockets. It's usually not necessary to do this.
191
- * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
192
- * Otherwise, sockets might stay open for quite a long time before the server terminates them.
193
- */
116
+
194
117
  destroy(): void;
195
118
  }
196
119
  export {};
@@ -6,35 +6,11 @@ export interface CreateCapacityProviderCommandInput extends CreateCapacityProvid
6
6
  }
7
7
  export interface CreateCapacityProviderCommandOutput extends CreateCapacityProviderResponse, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Creates a new capacity provider. Capacity providers are associated with an Amazon ECS
11
- * cluster and are used in capacity provider strategies to facilitate cluster auto
12
- * scaling.</p>
13
- * <p>Only capacity providers using an Auto Scaling group can be created. Amazon ECS tasks on
14
- * Fargate use the <code>FARGATE</code> and <code>FARGATE_SPOT</code> capacity providers
15
- * which are already created and available to all accounts in Regions supported by
16
- * Fargate.</p>
17
- * @example
18
- * Use a bare-bones client and the command you need to make an API call.
19
- * ```javascript
20
- * import { ECSClient, CreateCapacityProviderCommand } from "@aws-sdk/client-ecs"; // ES Modules import
21
- * // const { ECSClient, CreateCapacityProviderCommand } = require("@aws-sdk/client-ecs"); // CommonJS import
22
- * const client = new ECSClient(config);
23
- * const command = new CreateCapacityProviderCommand(input);
24
- * const response = await client.send(command);
25
- * ```
26
- *
27
- * @see {@link CreateCapacityProviderCommandInput} for command's `input` shape.
28
- * @see {@link CreateCapacityProviderCommandOutput} for command's `response` shape.
29
- * @see {@link ECSClientResolvedConfig | config} for command's `input` shape.
30
- *
31
- */
9
+
32
10
  export declare class CreateCapacityProviderCommand extends $Command<CreateCapacityProviderCommandInput, CreateCapacityProviderCommandOutput, ECSClientResolvedConfig> {
33
11
  readonly input: CreateCapacityProviderCommandInput;
34
12
  constructor(input: CreateCapacityProviderCommandInput);
35
- /**
36
- * @internal
37
- */
13
+
38
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateCapacityProviderCommandInput, CreateCapacityProviderCommandOutput>;
39
15
  private serialize;
40
16
  private deserialize;
@@ -6,40 +6,11 @@ export interface CreateClusterCommandInput extends CreateClusterRequest {
6
6
  }
7
7
  export interface CreateClusterCommandOutput extends CreateClusterResponse, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Creates a new Amazon ECS cluster. By default, your account receives a <code>default</code>
11
- * cluster when you launch your first container instance. However, you can create your own
12
- * cluster with a unique name with the <code>CreateCluster</code> action.</p>
13
- * <note>
14
- * <p>When you call the <a>CreateCluster</a> API operation, Amazon ECS attempts to
15
- * create the Amazon ECS service-linked role for your account so that required resources in
16
- * other Amazon Web Services services can be managed on your behalf. However, if the IAM user that
17
- * makes the call does not have permissions to create the service-linked role, it is
18
- * not created. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using-service-linked-roles.html">Using
19
- * Service-Linked Roles for Amazon ECS</a> in the
20
- * <i>Amazon Elastic Container Service Developer Guide</i>.</p>
21
- * </note>
22
- * @example
23
- * Use a bare-bones client and the command you need to make an API call.
24
- * ```javascript
25
- * import { ECSClient, CreateClusterCommand } from "@aws-sdk/client-ecs"; // ES Modules import
26
- * // const { ECSClient, CreateClusterCommand } = require("@aws-sdk/client-ecs"); // CommonJS import
27
- * const client = new ECSClient(config);
28
- * const command = new CreateClusterCommand(input);
29
- * const response = await client.send(command);
30
- * ```
31
- *
32
- * @see {@link CreateClusterCommandInput} for command's `input` shape.
33
- * @see {@link CreateClusterCommandOutput} for command's `response` shape.
34
- * @see {@link ECSClientResolvedConfig | config} for command's `input` shape.
35
- *
36
- */
9
+
37
10
  export declare class CreateClusterCommand extends $Command<CreateClusterCommandInput, CreateClusterCommandOutput, ECSClientResolvedConfig> {
38
11
  readonly input: CreateClusterCommandInput;
39
12
  constructor(input: CreateClusterCommandInput);
40
- /**
41
- * @internal
42
- */
13
+
43
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateClusterCommandInput, CreateClusterCommandOutput>;
44
15
  private serialize;
45
16
  private deserialize;
@@ -6,134 +6,11 @@ export interface CreateServiceCommandInput extends CreateServiceRequest {
6
6
  }
7
7
  export interface CreateServiceCommandOutput extends CreateServiceResponse, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Runs and maintains a desired number of tasks from a specified task definition. If the
11
- * number of tasks running in a service drops below the <code>desiredCount</code>, Amazon ECS
12
- * runs another copy of the task in the specified cluster. To update an existing service,
13
- * see the UpdateService action.</p>
14
- * <p>In addition to maintaining the desired count of tasks in your service, you can
15
- * optionally run your service behind one or more load balancers. The load balancers
16
- * distribute traffic across the tasks that are associated with the service. For more
17
- * information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-load-balancing.html">Service Load Balancing</a> in the
18
- * <i>Amazon Elastic Container Service Developer Guide</i>.</p>
19
- * <p>Tasks for services that <i>do not</i> use a load balancer are considered
20
- * healthy if they're in the <code>RUNNING</code> state. Tasks for services that
21
- * <i>do</i> use a load balancer are considered healthy if they're in the
22
- * <code>RUNNING</code> state and the container instance that they're hosted on is
23
- * reported as healthy by the load balancer.</p>
24
- * <p>There are two service scheduler strategies available:</p>
25
- * <ul>
26
- * <li>
27
- * <p>
28
- * <code>REPLICA</code> - The replica scheduling strategy places and
29
- * maintains the desired number of tasks across your cluster. By default, the
30
- * service scheduler spreads tasks across Availability Zones. You can use task
31
- * placement strategies and constraints to customize task placement decisions. For
32
- * more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs_services.html">Service Scheduler Concepts</a> in the
33
- * <i>Amazon Elastic Container Service Developer Guide</i>.</p>
34
- * </li>
35
- * <li>
36
- * <p>
37
- * <code>DAEMON</code> - The daemon scheduling strategy deploys exactly one
38
- * task on each active container instance that meets all of the task placement
39
- * constraints that you specify in your cluster. The service scheduler also
40
- * evaluates the task placement constraints for running tasks and will stop tasks
41
- * that do not meet the placement constraints. When using this strategy, you don't
42
- * need to specify a desired number of tasks, a task placement strategy, or use
43
- * Service Auto Scaling policies. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs_services.html">Service Scheduler Concepts</a> in the
44
- * <i>Amazon Elastic Container Service Developer Guide</i>.</p>
45
- * </li>
46
- * </ul>
47
- * <p>You can optionally specify a deployment configuration for your service. The deployment
48
- * is triggered by changing properties, such as the task definition or the desired count of
49
- * a service, with an <a>UpdateService</a> operation. The default value for a
50
- * replica service for <code>minimumHealthyPercent</code> is 100%. The default value for a
51
- * daemon service for <code>minimumHealthyPercent</code> is 0%.</p>
52
- * <p>If a service is using the <code>ECS</code> deployment controller, the minimum healthy
53
- * percent represents a lower limit on the number of tasks in a service that must remain in
54
- * the <code>RUNNING</code> state during a deployment, as a percentage of the desired
55
- * number of tasks (rounded up to the nearest integer), and while any container instances
56
- * are in the <code>DRAINING</code> state if the service contains tasks using the
57
- * EC2 launch type. This parameter enables you to deploy without using
58
- * additional cluster capacity. For example, if your service has a desired number of four
59
- * tasks and a minimum healthy percent of 50%, the scheduler might stop two existing tasks
60
- * to free up cluster capacity before starting two new tasks. Tasks for services that
61
- * <i>do not</i> use a load balancer are considered healthy if they're in
62
- * the <code>RUNNING</code> state. Tasks for services that <i>do</i> use a
63
- * load balancer are considered healthy if they're in the <code>RUNNING</code> state and
64
- * they're reported as healthy by the load balancer. The default value for minimum healthy
65
- * percent is 100%.</p>
66
- * <p>If a service is using the <code>ECS</code> deployment controller, the <b>maximum percent</b> parameter represents an upper limit on the
67
- * number of tasks in a service that are allowed in the <code>RUNNING</code> or
68
- * <code>PENDING</code> state during a deployment, as a percentage of the desired
69
- * number of tasks (rounded down to the nearest integer), and while any container instances
70
- * are in the <code>DRAINING</code> state if the service contains tasks using the
71
- * EC2 launch type. This parameter enables you to define the deployment batch
72
- * size. For example, if your service has a desired number of four tasks and a maximum
73
- * percent value of 200%, the scheduler may start four new tasks before stopping the four
74
- * older tasks (provided that the cluster resources required to do this are available). The
75
- * default value for maximum percent is 200%.</p>
76
- * <p>If a service is using either the <code>CODE_DEPLOY</code> or <code>EXTERNAL</code>
77
- * deployment controller types and tasks that use the EC2 launch type, the
78
- * <b>minimum healthy percent</b> and <b>maximum percent</b> values are used only to define the lower and upper limit
79
- * on the number of the tasks in the service that remain in the <code>RUNNING</code> state
80
- * while the container instances are in the <code>DRAINING</code> state. If the tasks in
81
- * the service use the Fargate launch type, the minimum healthy percent and
82
- * maximum percent values aren't used, although they're currently visible when describing
83
- * your service.</p>
84
- * <p>When creating a service that uses the <code>EXTERNAL</code> deployment controller, you
85
- * can specify only parameters that aren't controlled at the task set level. The only
86
- * required parameter is the service name. You control your services using the <a>CreateTaskSet</a> operation. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html">Amazon ECS Deployment Types</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
87
- * <p>When the service scheduler launches new tasks, it determines task placement in your
88
- * cluster using the following logic:</p>
89
- * <ul>
90
- * <li>
91
- * <p>Determine which of the container instances in your cluster can support your
92
- * service's task definition (for example, they have the required CPU, memory,
93
- * ports, and container instance attributes).</p>
94
- * </li>
95
- * <li>
96
- * <p>By default, the service scheduler attempts to balance tasks across
97
- * Availability Zones in this manner (although you can choose a different placement
98
- * strategy) with the <code>placementStrategy</code> parameter):</p>
99
- * <ul>
100
- * <li>
101
- * <p>Sort the valid container instances, giving priority to instances that
102
- * have the fewest number of running tasks for this service in their
103
- * respective Availability Zone. For example, if zone A has one running
104
- * service task and zones B and C each have zero, valid container instances
105
- * in either zone B or C are considered optimal for placement.</p>
106
- * </li>
107
- * <li>
108
- * <p>Place the new service task on a valid container instance in an optimal
109
- * Availability Zone (based on the previous steps), favoring container
110
- * instances with the fewest number of running tasks for this
111
- * service.</p>
112
- * </li>
113
- * </ul>
114
- * </li>
115
- * </ul>
116
- * @example
117
- * Use a bare-bones client and the command you need to make an API call.
118
- * ```javascript
119
- * import { ECSClient, CreateServiceCommand } from "@aws-sdk/client-ecs"; // ES Modules import
120
- * // const { ECSClient, CreateServiceCommand } = require("@aws-sdk/client-ecs"); // CommonJS import
121
- * const client = new ECSClient(config);
122
- * const command = new CreateServiceCommand(input);
123
- * const response = await client.send(command);
124
- * ```
125
- *
126
- * @see {@link CreateServiceCommandInput} for command's `input` shape.
127
- * @see {@link CreateServiceCommandOutput} for command's `response` shape.
128
- * @see {@link ECSClientResolvedConfig | config} for command's `input` shape.
129
- *
130
- */
9
+
131
10
  export declare class CreateServiceCommand extends $Command<CreateServiceCommandInput, CreateServiceCommandOutput, ECSClientResolvedConfig> {
132
11
  readonly input: CreateServiceCommandInput;
133
12
  constructor(input: CreateServiceCommandInput);
134
- /**
135
- * @internal
136
- */
13
+
137
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateServiceCommandInput, CreateServiceCommandOutput>;
138
15
  private serialize;
139
16
  private deserialize;
@@ -6,32 +6,11 @@ export interface CreateTaskSetCommandInput extends CreateTaskSetRequest {
6
6
  }
7
7
  export interface CreateTaskSetCommandOutput extends CreateTaskSetResponse, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Create a task set in the specified cluster and service. This is used when a service
11
- * uses the <code>EXTERNAL</code> deployment controller type. For more information, see
12
- * <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html">Amazon ECS Deployment
13
- * Types</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
14
- * @example
15
- * Use a bare-bones client and the command you need to make an API call.
16
- * ```javascript
17
- * import { ECSClient, CreateTaskSetCommand } from "@aws-sdk/client-ecs"; // ES Modules import
18
- * // const { ECSClient, CreateTaskSetCommand } = require("@aws-sdk/client-ecs"); // CommonJS import
19
- * const client = new ECSClient(config);
20
- * const command = new CreateTaskSetCommand(input);
21
- * const response = await client.send(command);
22
- * ```
23
- *
24
- * @see {@link CreateTaskSetCommandInput} for command's `input` shape.
25
- * @see {@link CreateTaskSetCommandOutput} for command's `response` shape.
26
- * @see {@link ECSClientResolvedConfig | config} for command's `input` shape.
27
- *
28
- */
9
+
29
10
  export declare class CreateTaskSetCommand extends $Command<CreateTaskSetCommandInput, CreateTaskSetCommandOutput, ECSClientResolvedConfig> {
30
11
  readonly input: CreateTaskSetCommandInput;
31
12
  constructor(input: CreateTaskSetCommandInput);
32
- /**
33
- * @internal
34
- */
13
+
35
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateTaskSetCommandInput, CreateTaskSetCommandOutput>;
36
15
  private serialize;
37
16
  private deserialize;
@@ -6,30 +6,11 @@ export interface DeleteAccountSettingCommandInput extends DeleteAccountSettingRe
6
6
  }
7
7
  export interface DeleteAccountSettingCommandOutput extends DeleteAccountSettingResponse, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Disables an account setting for a specified IAM user, IAM role, or the root user for
11
- * an account.</p>
12
- * @example
13
- * Use a bare-bones client and the command you need to make an API call.
14
- * ```javascript
15
- * import { ECSClient, DeleteAccountSettingCommand } from "@aws-sdk/client-ecs"; // ES Modules import
16
- * // const { ECSClient, DeleteAccountSettingCommand } = require("@aws-sdk/client-ecs"); // CommonJS import
17
- * const client = new ECSClient(config);
18
- * const command = new DeleteAccountSettingCommand(input);
19
- * const response = await client.send(command);
20
- * ```
21
- *
22
- * @see {@link DeleteAccountSettingCommandInput} for command's `input` shape.
23
- * @see {@link DeleteAccountSettingCommandOutput} for command's `response` shape.
24
- * @see {@link ECSClientResolvedConfig | config} for command's `input` shape.
25
- *
26
- */
9
+
27
10
  export declare class DeleteAccountSettingCommand extends $Command<DeleteAccountSettingCommandInput, DeleteAccountSettingCommandOutput, ECSClientResolvedConfig> {
28
11
  readonly input: DeleteAccountSettingCommandInput;
29
12
  constructor(input: DeleteAccountSettingCommandInput);
30
- /**
31
- * @internal
32
- */
13
+
33
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteAccountSettingCommandInput, DeleteAccountSettingCommandOutput>;
34
15
  private serialize;
35
16
  private deserialize;
@@ -6,29 +6,11 @@ export interface DeleteAttributesCommandInput extends DeleteAttributesRequest {
6
6
  }
7
7
  export interface DeleteAttributesCommandOutput extends DeleteAttributesResponse, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Deletes one or more custom attributes from an Amazon ECS resource.</p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { ECSClient, DeleteAttributesCommand } from "@aws-sdk/client-ecs"; // ES Modules import
15
- * // const { ECSClient, DeleteAttributesCommand } = require("@aws-sdk/client-ecs"); // CommonJS import
16
- * const client = new ECSClient(config);
17
- * const command = new DeleteAttributesCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link DeleteAttributesCommandInput} for command's `input` shape.
22
- * @see {@link DeleteAttributesCommandOutput} for command's `response` shape.
23
- * @see {@link ECSClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
9
+
26
10
  export declare class DeleteAttributesCommand extends $Command<DeleteAttributesCommandInput, DeleteAttributesCommandOutput, ECSClientResolvedConfig> {
27
11
  readonly input: DeleteAttributesCommandInput;
28
12
  constructor(input: DeleteAttributesCommandInput);
29
- /**
30
- * @internal
31
- */
13
+
32
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteAttributesCommandInput, DeleteAttributesCommandOutput>;
33
15
  private serialize;
34
16
  private deserialize;
@@ -6,43 +6,11 @@ export interface DeleteCapacityProviderCommandInput extends DeleteCapacityProvid
6
6
  }
7
7
  export interface DeleteCapacityProviderCommandOutput extends DeleteCapacityProviderResponse, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Deletes the specified capacity provider.</p>
11
- * <note>
12
- * <p>The <code>FARGATE</code> and <code>FARGATE_SPOT</code> capacity providers are
13
- * reserved and cannot be deleted. You can disassociate them from a cluster using
14
- * either the <a>PutClusterCapacityProviders</a> API or by deleting the
15
- * cluster.</p>
16
- * </note>
17
- * <p>Prior to a capacity provider being deleted, the capacity provider must be removed from
18
- * the capacity provider strategy from all services. The <a>UpdateService</a>
19
- * API can be used to remove a capacity provider from a service's capacity provider
20
- * strategy. When updating a service, the <code>forceNewDeployment</code> option can be
21
- * used to ensure that any tasks using the Amazon EC2 instance capacity provided by the capacity
22
- * provider are transitioned to use the capacity from the remaining capacity providers.
23
- * Only capacity providers that are not associated with a cluster can be deleted. To remove
24
- * a capacity provider from a cluster, you can either use <a>PutClusterCapacityProviders</a> or delete the cluster.</p>
25
- * @example
26
- * Use a bare-bones client and the command you need to make an API call.
27
- * ```javascript
28
- * import { ECSClient, DeleteCapacityProviderCommand } from "@aws-sdk/client-ecs"; // ES Modules import
29
- * // const { ECSClient, DeleteCapacityProviderCommand } = require("@aws-sdk/client-ecs"); // CommonJS import
30
- * const client = new ECSClient(config);
31
- * const command = new DeleteCapacityProviderCommand(input);
32
- * const response = await client.send(command);
33
- * ```
34
- *
35
- * @see {@link DeleteCapacityProviderCommandInput} for command's `input` shape.
36
- * @see {@link DeleteCapacityProviderCommandOutput} for command's `response` shape.
37
- * @see {@link ECSClientResolvedConfig | config} for command's `input` shape.
38
- *
39
- */
9
+
40
10
  export declare class DeleteCapacityProviderCommand extends $Command<DeleteCapacityProviderCommandInput, DeleteCapacityProviderCommandOutput, ECSClientResolvedConfig> {
41
11
  readonly input: DeleteCapacityProviderCommandInput;
42
12
  constructor(input: DeleteCapacityProviderCommandInput);
43
- /**
44
- * @internal
45
- */
13
+
46
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteCapacityProviderCommandInput, DeleteCapacityProviderCommandOutput>;
47
15
  private serialize;
48
16
  private deserialize;
@@ -6,35 +6,11 @@ export interface DeleteClusterCommandInput extends DeleteClusterRequest {
6
6
  }
7
7
  export interface DeleteClusterCommandOutput extends DeleteClusterResponse, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Deletes the specified cluster. The cluster will transition to the
11
- * <code>INACTIVE</code> state. Clusters with an <code>INACTIVE</code> status may
12
- * remain discoverable in your account for a period of time. However, this behavior is
13
- * subject to change in the future, so you should not rely on <code>INACTIVE</code>
14
- * clusters persisting.</p>
15
- * <p>You must deregister all container instances from this cluster before you may delete
16
- * it. You can list the container instances in a cluster with <a>ListContainerInstances</a> and deregister them with <a>DeregisterContainerInstance</a>.</p>
17
- * @example
18
- * Use a bare-bones client and the command you need to make an API call.
19
- * ```javascript
20
- * import { ECSClient, DeleteClusterCommand } from "@aws-sdk/client-ecs"; // ES Modules import
21
- * // const { ECSClient, DeleteClusterCommand } = require("@aws-sdk/client-ecs"); // CommonJS import
22
- * const client = new ECSClient(config);
23
- * const command = new DeleteClusterCommand(input);
24
- * const response = await client.send(command);
25
- * ```
26
- *
27
- * @see {@link DeleteClusterCommandInput} for command's `input` shape.
28
- * @see {@link DeleteClusterCommandOutput} for command's `response` shape.
29
- * @see {@link ECSClientResolvedConfig | config} for command's `input` shape.
30
- *
31
- */
9
+
32
10
  export declare class DeleteClusterCommand extends $Command<DeleteClusterCommandInput, DeleteClusterCommandOutput, ECSClientResolvedConfig> {
33
11
  readonly input: DeleteClusterCommandInput;
34
12
  constructor(input: DeleteClusterCommandInput);
35
- /**
36
- * @internal
37
- */
13
+
38
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteClusterCommandInput, DeleteClusterCommandOutput>;
39
15
  private serialize;
40
16
  private deserialize;
@@ -6,49 +6,11 @@ export interface DeleteServiceCommandInput extends DeleteServiceRequest {
6
6
  }
7
7
  export interface DeleteServiceCommandOutput extends DeleteServiceResponse, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Deletes a specified service within a cluster. You can delete a service if you have no
11
- * running tasks in it and the desired task count is zero. If the service is actively
12
- * maintaining tasks, you cannot delete it, and you must update the service to a desired
13
- * task count of zero. For more information, see <a>UpdateService</a>.</p>
14
- * <note>
15
- * <p>When you delete a service, if there are still running tasks that require cleanup,
16
- * the service status moves from <code>ACTIVE</code> to <code>DRAINING</code>, and the
17
- * service is no longer visible in the console or in the <a>ListServices</a>
18
- * API operation. After all tasks have transitioned to either <code>STOPPING</code> or
19
- * <code>STOPPED</code> status, the service status moves from <code>DRAINING</code>
20
- * to <code>INACTIVE</code>. Services in the <code>DRAINING</code> or
21
- * <code>INACTIVE</code> status can still be viewed with the <a>DescribeServices</a> API operation. However, in the future,
22
- * <code>INACTIVE</code> services may be cleaned up and purged from Amazon ECS record
23
- * keeping, and <a>DescribeServices</a> calls on those services return a
24
- * <code>ServiceNotFoundException</code> error.</p>
25
- * </note>
26
- * <important>
27
- * <p>If you attempt to create a new service with the same name as an existing service
28
- * in either <code>ACTIVE</code> or <code>DRAINING</code> status, you receive an
29
- * error.</p>
30
- * </important>
31
- * @example
32
- * Use a bare-bones client and the command you need to make an API call.
33
- * ```javascript
34
- * import { ECSClient, DeleteServiceCommand } from "@aws-sdk/client-ecs"; // ES Modules import
35
- * // const { ECSClient, DeleteServiceCommand } = require("@aws-sdk/client-ecs"); // CommonJS import
36
- * const client = new ECSClient(config);
37
- * const command = new DeleteServiceCommand(input);
38
- * const response = await client.send(command);
39
- * ```
40
- *
41
- * @see {@link DeleteServiceCommandInput} for command's `input` shape.
42
- * @see {@link DeleteServiceCommandOutput} for command's `response` shape.
43
- * @see {@link ECSClientResolvedConfig | config} for command's `input` shape.
44
- *
45
- */
9
+
46
10
  export declare class DeleteServiceCommand extends $Command<DeleteServiceCommandInput, DeleteServiceCommandOutput, ECSClientResolvedConfig> {
47
11
  readonly input: DeleteServiceCommandInput;
48
12
  constructor(input: DeleteServiceCommandInput);
49
- /**
50
- * @internal
51
- */
13
+
52
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteServiceCommandInput, DeleteServiceCommandOutput>;
53
15
  private serialize;
54
16
  private deserialize;