@aws-sdk/client-ecs 3.169.0 → 3.171.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 (82) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist-types/ts3.4/ECS.d.ts +888 -265
  3. package/dist-types/ts3.4/ECSClient.d.ts +415 -125
  4. package/dist-types/ts3.4/commands/CreateCapacityProviderCommand.d.ts +39 -17
  5. package/dist-types/ts3.4/commands/CreateClusterCommand.d.ts +35 -17
  6. package/dist-types/ts3.4/commands/CreateServiceCommand.d.ts +35 -17
  7. package/dist-types/ts3.4/commands/CreateTaskSetCommand.d.ts +35 -17
  8. package/dist-types/ts3.4/commands/DeleteAccountSettingCommand.d.ts +39 -17
  9. package/dist-types/ts3.4/commands/DeleteAttributesCommand.d.ts +35 -17
  10. package/dist-types/ts3.4/commands/DeleteCapacityProviderCommand.d.ts +39 -17
  11. package/dist-types/ts3.4/commands/DeleteClusterCommand.d.ts +35 -17
  12. package/dist-types/ts3.4/commands/DeleteServiceCommand.d.ts +35 -17
  13. package/dist-types/ts3.4/commands/DeleteTaskSetCommand.d.ts +35 -17
  14. package/dist-types/ts3.4/commands/DeregisterContainerInstanceCommand.d.ts +39 -17
  15. package/dist-types/ts3.4/commands/DeregisterTaskDefinitionCommand.d.ts +39 -17
  16. package/dist-types/ts3.4/commands/DescribeCapacityProvidersCommand.d.ts +39 -17
  17. package/dist-types/ts3.4/commands/DescribeClustersCommand.d.ts +35 -17
  18. package/dist-types/ts3.4/commands/DescribeContainerInstancesCommand.d.ts +39 -17
  19. package/dist-types/ts3.4/commands/DescribeServicesCommand.d.ts +35 -17
  20. package/dist-types/ts3.4/commands/DescribeTaskDefinitionCommand.d.ts +39 -17
  21. package/dist-types/ts3.4/commands/DescribeTaskSetsCommand.d.ts +35 -17
  22. package/dist-types/ts3.4/commands/DescribeTasksCommand.d.ts +35 -17
  23. package/dist-types/ts3.4/commands/DiscoverPollEndpointCommand.d.ts +39 -17
  24. package/dist-types/ts3.4/commands/ExecuteCommandCommand.d.ts +35 -17
  25. package/dist-types/ts3.4/commands/ListAccountSettingsCommand.d.ts +36 -17
  26. package/dist-types/ts3.4/commands/ListAttributesCommand.d.ts +35 -17
  27. package/dist-types/ts3.4/commands/ListClustersCommand.d.ts +32 -17
  28. package/dist-types/ts3.4/commands/ListContainerInstancesCommand.d.ts +39 -17
  29. package/dist-types/ts3.4/commands/ListServicesCommand.d.ts +32 -17
  30. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +36 -17
  31. package/dist-types/ts3.4/commands/ListTaskDefinitionFamiliesCommand.d.ts +39 -17
  32. package/dist-types/ts3.4/commands/ListTaskDefinitionsCommand.d.ts +36 -17
  33. package/dist-types/ts3.4/commands/ListTasksCommand.d.ts +32 -17
  34. package/dist-types/ts3.4/commands/PutAccountSettingCommand.d.ts +36 -17
  35. package/dist-types/ts3.4/commands/PutAccountSettingDefaultCommand.d.ts +39 -17
  36. package/dist-types/ts3.4/commands/PutAttributesCommand.d.ts +35 -17
  37. package/dist-types/ts3.4/commands/PutClusterCapacityProvidersCommand.d.ts +39 -17
  38. package/dist-types/ts3.4/commands/RegisterContainerInstanceCommand.d.ts +39 -17
  39. package/dist-types/ts3.4/commands/RegisterTaskDefinitionCommand.d.ts +39 -17
  40. package/dist-types/ts3.4/commands/RunTaskCommand.d.ts +32 -17
  41. package/dist-types/ts3.4/commands/StartTaskCommand.d.ts +32 -17
  42. package/dist-types/ts3.4/commands/StopTaskCommand.d.ts +32 -17
  43. package/dist-types/ts3.4/commands/SubmitAttachmentStateChangesCommand.d.ts +39 -17
  44. package/dist-types/ts3.4/commands/SubmitContainerStateChangeCommand.d.ts +39 -17
  45. package/dist-types/ts3.4/commands/SubmitTaskStateChangeCommand.d.ts +39 -17
  46. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +32 -17
  47. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +35 -17
  48. package/dist-types/ts3.4/commands/UpdateCapacityProviderCommand.d.ts +39 -17
  49. package/dist-types/ts3.4/commands/UpdateClusterCommand.d.ts +35 -17
  50. package/dist-types/ts3.4/commands/UpdateClusterSettingsCommand.d.ts +39 -17
  51. package/dist-types/ts3.4/commands/UpdateContainerAgentCommand.d.ts +39 -17
  52. package/dist-types/ts3.4/commands/UpdateContainerInstancesStateCommand.d.ts +39 -17
  53. package/dist-types/ts3.4/commands/UpdateServiceCommand.d.ts +35 -17
  54. package/dist-types/ts3.4/commands/UpdateServicePrimaryTaskSetCommand.d.ts +39 -17
  55. package/dist-types/ts3.4/commands/UpdateTaskSetCommand.d.ts +35 -17
  56. package/dist-types/ts3.4/commands/index.d.ts +52 -52
  57. package/dist-types/ts3.4/endpoints.d.ts +2 -2
  58. package/dist-types/ts3.4/index.d.ts +7 -7
  59. package/dist-types/ts3.4/models/ECSServiceException.d.ts +7 -6
  60. package/dist-types/ts3.4/models/index.d.ts +1 -1
  61. package/dist-types/ts3.4/models/models_0.d.ts +2084 -2811
  62. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -6
  63. package/dist-types/ts3.4/pagination/ListAccountSettingsPaginator.d.ts +11 -4
  64. package/dist-types/ts3.4/pagination/ListAttributesPaginator.d.ts +11 -4
  65. package/dist-types/ts3.4/pagination/ListClustersPaginator.d.ts +11 -4
  66. package/dist-types/ts3.4/pagination/ListContainerInstancesPaginator.d.ts +11 -4
  67. package/dist-types/ts3.4/pagination/ListServicesPaginator.d.ts +11 -4
  68. package/dist-types/ts3.4/pagination/ListTaskDefinitionFamiliesPaginator.d.ts +11 -4
  69. package/dist-types/ts3.4/pagination/ListTaskDefinitionsPaginator.d.ts +11 -4
  70. package/dist-types/ts3.4/pagination/ListTasksPaginator.d.ts +11 -4
  71. package/dist-types/ts3.4/pagination/index.d.ts +9 -9
  72. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +629 -158
  73. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +65 -38
  74. package/dist-types/ts3.4/runtimeConfig.d.ts +65 -38
  75. package/dist-types/ts3.4/runtimeConfig.native.d.ts +66 -37
  76. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +10 -11
  77. package/dist-types/ts3.4/waiters/index.d.ts +4 -4
  78. package/dist-types/ts3.4/waiters/waitForServicesInactive.d.ts +11 -7
  79. package/dist-types/ts3.4/waiters/waitForServicesStable.d.ts +11 -7
  80. package/dist-types/ts3.4/waiters/waitForTasksRunning.d.ts +11 -7
  81. package/dist-types/ts3.4/waiters/waitForTasksStopped.d.ts +11 -7
  82. package/package.json +35 -35
@@ -1,125 +1,415 @@
1
- import { EndpointsInputConfig, EndpointsResolvedConfig, RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
2
- import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
3
- import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
4
- import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
5
- import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
- import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
- import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
- import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
- import { CreateCapacityProviderCommandInput, CreateCapacityProviderCommandOutput } from "./commands/CreateCapacityProviderCommand";
10
- import { CreateClusterCommandInput, CreateClusterCommandOutput } from "./commands/CreateClusterCommand";
11
- import { CreateServiceCommandInput, CreateServiceCommandOutput } from "./commands/CreateServiceCommand";
12
- import { CreateTaskSetCommandInput, CreateTaskSetCommandOutput } from "./commands/CreateTaskSetCommand";
13
- import { DeleteAccountSettingCommandInput, DeleteAccountSettingCommandOutput } from "./commands/DeleteAccountSettingCommand";
14
- import { DeleteAttributesCommandInput, DeleteAttributesCommandOutput } from "./commands/DeleteAttributesCommand";
15
- import { DeleteCapacityProviderCommandInput, DeleteCapacityProviderCommandOutput } from "./commands/DeleteCapacityProviderCommand";
16
- import { DeleteClusterCommandInput, DeleteClusterCommandOutput } from "./commands/DeleteClusterCommand";
17
- import { DeleteServiceCommandInput, DeleteServiceCommandOutput } from "./commands/DeleteServiceCommand";
18
- import { DeleteTaskSetCommandInput, DeleteTaskSetCommandOutput } from "./commands/DeleteTaskSetCommand";
19
- import { DeregisterContainerInstanceCommandInput, DeregisterContainerInstanceCommandOutput } from "./commands/DeregisterContainerInstanceCommand";
20
- import { DeregisterTaskDefinitionCommandInput, DeregisterTaskDefinitionCommandOutput } from "./commands/DeregisterTaskDefinitionCommand";
21
- import { DescribeCapacityProvidersCommandInput, DescribeCapacityProvidersCommandOutput } from "./commands/DescribeCapacityProvidersCommand";
22
- import { DescribeClustersCommandInput, DescribeClustersCommandOutput } from "./commands/DescribeClustersCommand";
23
- import { DescribeContainerInstancesCommandInput, DescribeContainerInstancesCommandOutput } from "./commands/DescribeContainerInstancesCommand";
24
- import { DescribeServicesCommandInput, DescribeServicesCommandOutput } from "./commands/DescribeServicesCommand";
25
- import { DescribeTaskDefinitionCommandInput, DescribeTaskDefinitionCommandOutput } from "./commands/DescribeTaskDefinitionCommand";
26
- import { DescribeTasksCommandInput, DescribeTasksCommandOutput } from "./commands/DescribeTasksCommand";
27
- import { DescribeTaskSetsCommandInput, DescribeTaskSetsCommandOutput } from "./commands/DescribeTaskSetsCommand";
28
- import { DiscoverPollEndpointCommandInput, DiscoverPollEndpointCommandOutput } from "./commands/DiscoverPollEndpointCommand";
29
- import { ExecuteCommandCommandInput, ExecuteCommandCommandOutput } from "./commands/ExecuteCommandCommand";
30
- import { ListAccountSettingsCommandInput, ListAccountSettingsCommandOutput } from "./commands/ListAccountSettingsCommand";
31
- import { ListAttributesCommandInput, ListAttributesCommandOutput } from "./commands/ListAttributesCommand";
32
- import { ListClustersCommandInput, ListClustersCommandOutput } from "./commands/ListClustersCommand";
33
- import { ListContainerInstancesCommandInput, ListContainerInstancesCommandOutput } from "./commands/ListContainerInstancesCommand";
34
- import { ListServicesCommandInput, ListServicesCommandOutput } from "./commands/ListServicesCommand";
35
- import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
36
- import { ListTaskDefinitionFamiliesCommandInput, ListTaskDefinitionFamiliesCommandOutput } from "./commands/ListTaskDefinitionFamiliesCommand";
37
- import { ListTaskDefinitionsCommandInput, ListTaskDefinitionsCommandOutput } from "./commands/ListTaskDefinitionsCommand";
38
- import { ListTasksCommandInput, ListTasksCommandOutput } from "./commands/ListTasksCommand";
39
- import { PutAccountSettingCommandInput, PutAccountSettingCommandOutput } from "./commands/PutAccountSettingCommand";
40
- import { PutAccountSettingDefaultCommandInput, PutAccountSettingDefaultCommandOutput } from "./commands/PutAccountSettingDefaultCommand";
41
- import { PutAttributesCommandInput, PutAttributesCommandOutput } from "./commands/PutAttributesCommand";
42
- import { PutClusterCapacityProvidersCommandInput, PutClusterCapacityProvidersCommandOutput } from "./commands/PutClusterCapacityProvidersCommand";
43
- import { RegisterContainerInstanceCommandInput, RegisterContainerInstanceCommandOutput } from "./commands/RegisterContainerInstanceCommand";
44
- import { RegisterTaskDefinitionCommandInput, RegisterTaskDefinitionCommandOutput } from "./commands/RegisterTaskDefinitionCommand";
45
- import { RunTaskCommandInput, RunTaskCommandOutput } from "./commands/RunTaskCommand";
46
- import { StartTaskCommandInput, StartTaskCommandOutput } from "./commands/StartTaskCommand";
47
- import { StopTaskCommandInput, StopTaskCommandOutput } from "./commands/StopTaskCommand";
48
- import { SubmitAttachmentStateChangesCommandInput, SubmitAttachmentStateChangesCommandOutput } from "./commands/SubmitAttachmentStateChangesCommand";
49
- import { SubmitContainerStateChangeCommandInput, SubmitContainerStateChangeCommandOutput } from "./commands/SubmitContainerStateChangeCommand";
50
- import { SubmitTaskStateChangeCommandInput, SubmitTaskStateChangeCommandOutput } from "./commands/SubmitTaskStateChangeCommand";
51
- import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
52
- import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
53
- import { UpdateCapacityProviderCommandInput, UpdateCapacityProviderCommandOutput } from "./commands/UpdateCapacityProviderCommand";
54
- import { UpdateClusterCommandInput, UpdateClusterCommandOutput } from "./commands/UpdateClusterCommand";
55
- import { UpdateClusterSettingsCommandInput, UpdateClusterSettingsCommandOutput } from "./commands/UpdateClusterSettingsCommand";
56
- import { UpdateContainerAgentCommandInput, UpdateContainerAgentCommandOutput } from "./commands/UpdateContainerAgentCommand";
57
- import { UpdateContainerInstancesStateCommandInput, UpdateContainerInstancesStateCommandOutput } from "./commands/UpdateContainerInstancesStateCommand";
58
- import { UpdateServiceCommandInput, UpdateServiceCommandOutput } from "./commands/UpdateServiceCommand";
59
- import { UpdateServicePrimaryTaskSetCommandInput, UpdateServicePrimaryTaskSetCommandOutput } from "./commands/UpdateServicePrimaryTaskSetCommand";
60
- import { UpdateTaskSetCommandInput, UpdateTaskSetCommandOutput } from "./commands/UpdateTaskSetCommand";
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
- 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
- export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
64
-
65
- requestHandler?: __HttpHandler;
66
-
67
- sha256?: __HashConstructor;
68
-
69
- urlParser?: __UrlParser;
70
-
71
- bodyLengthChecker?: __BodyLengthCalculator;
72
-
73
- streamCollector?: __StreamCollector;
74
-
75
- base64Decoder?: __Decoder;
76
-
77
- base64Encoder?: __Encoder;
78
-
79
- utf8Decoder?: __Decoder;
80
-
81
- utf8Encoder?: __Encoder;
82
-
83
- runtime?: string;
84
-
85
- disableHostPrefix?: boolean;
86
-
87
- maxAttempts?: number | __Provider<number>;
88
-
89
- retryMode?: string | __Provider<string>;
90
-
91
- logger?: __Logger;
92
-
93
- useDualstackEndpoint?: boolean | __Provider<boolean>;
94
-
95
- useFipsEndpoint?: boolean | __Provider<boolean>;
96
-
97
- serviceId?: string;
98
-
99
- region?: string | __Provider<string>;
100
-
101
- credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
102
-
103
- regionInfoProvider?: RegionInfoProvider;
104
-
105
- defaultUserAgentProvider?: Provider<__UserAgent>;
106
-
107
- defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
108
- }
109
- declare type ECSClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
110
-
111
- export interface ECSClientConfig extends ECSClientConfigType {
112
- }
113
- declare type ECSClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointsResolvedConfig & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig;
114
-
115
- export interface ECSClientResolvedConfig extends ECSClientResolvedConfigType {
116
- }
117
-
118
- export declare class ECSClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, ECSClientResolvedConfig> {
119
-
120
- readonly config: ECSClientResolvedConfig;
121
- constructor(configuration: ECSClientConfig);
122
-
123
- destroy(): void;
124
- }
125
- export {};
1
+ import {
2
+ EndpointsInputConfig,
3
+ EndpointsResolvedConfig,
4
+ RegionInputConfig,
5
+ RegionResolvedConfig,
6
+ } from "@aws-sdk/config-resolver";
7
+ import {
8
+ HostHeaderInputConfig,
9
+ HostHeaderResolvedConfig,
10
+ } from "@aws-sdk/middleware-host-header";
11
+ import {
12
+ RetryInputConfig,
13
+ RetryResolvedConfig,
14
+ } from "@aws-sdk/middleware-retry";
15
+ import {
16
+ AwsAuthInputConfig,
17
+ AwsAuthResolvedConfig,
18
+ } from "@aws-sdk/middleware-signing";
19
+ import {
20
+ UserAgentInputConfig,
21
+ UserAgentResolvedConfig,
22
+ } from "@aws-sdk/middleware-user-agent";
23
+ import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
24
+ import {
25
+ Client as __Client,
26
+ DefaultsMode,
27
+ SmithyConfiguration as __SmithyConfiguration,
28
+ SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
29
+ } from "@aws-sdk/smithy-client";
30
+ import {
31
+ BodyLengthCalculator as __BodyLengthCalculator,
32
+ Credentials as __Credentials,
33
+ Decoder as __Decoder,
34
+ Encoder as __Encoder,
35
+ HashConstructor as __HashConstructor,
36
+ HttpHandlerOptions as __HttpHandlerOptions,
37
+ Logger as __Logger,
38
+ Provider as __Provider,
39
+ Provider,
40
+ RegionInfoProvider,
41
+ StreamCollector as __StreamCollector,
42
+ UrlParser as __UrlParser,
43
+ UserAgent as __UserAgent,
44
+ } from "@aws-sdk/types";
45
+ import {
46
+ CreateCapacityProviderCommandInput,
47
+ CreateCapacityProviderCommandOutput,
48
+ } from "./commands/CreateCapacityProviderCommand";
49
+ import {
50
+ CreateClusterCommandInput,
51
+ CreateClusterCommandOutput,
52
+ } from "./commands/CreateClusterCommand";
53
+ import {
54
+ CreateServiceCommandInput,
55
+ CreateServiceCommandOutput,
56
+ } from "./commands/CreateServiceCommand";
57
+ import {
58
+ CreateTaskSetCommandInput,
59
+ CreateTaskSetCommandOutput,
60
+ } from "./commands/CreateTaskSetCommand";
61
+ import {
62
+ DeleteAccountSettingCommandInput,
63
+ DeleteAccountSettingCommandOutput,
64
+ } from "./commands/DeleteAccountSettingCommand";
65
+ import {
66
+ DeleteAttributesCommandInput,
67
+ DeleteAttributesCommandOutput,
68
+ } from "./commands/DeleteAttributesCommand";
69
+ import {
70
+ DeleteCapacityProviderCommandInput,
71
+ DeleteCapacityProviderCommandOutput,
72
+ } from "./commands/DeleteCapacityProviderCommand";
73
+ import {
74
+ DeleteClusterCommandInput,
75
+ DeleteClusterCommandOutput,
76
+ } from "./commands/DeleteClusterCommand";
77
+ import {
78
+ DeleteServiceCommandInput,
79
+ DeleteServiceCommandOutput,
80
+ } from "./commands/DeleteServiceCommand";
81
+ import {
82
+ DeleteTaskSetCommandInput,
83
+ DeleteTaskSetCommandOutput,
84
+ } from "./commands/DeleteTaskSetCommand";
85
+ import {
86
+ DeregisterContainerInstanceCommandInput,
87
+ DeregisterContainerInstanceCommandOutput,
88
+ } from "./commands/DeregisterContainerInstanceCommand";
89
+ import {
90
+ DeregisterTaskDefinitionCommandInput,
91
+ DeregisterTaskDefinitionCommandOutput,
92
+ } from "./commands/DeregisterTaskDefinitionCommand";
93
+ import {
94
+ DescribeCapacityProvidersCommandInput,
95
+ DescribeCapacityProvidersCommandOutput,
96
+ } from "./commands/DescribeCapacityProvidersCommand";
97
+ import {
98
+ DescribeClustersCommandInput,
99
+ DescribeClustersCommandOutput,
100
+ } from "./commands/DescribeClustersCommand";
101
+ import {
102
+ DescribeContainerInstancesCommandInput,
103
+ DescribeContainerInstancesCommandOutput,
104
+ } from "./commands/DescribeContainerInstancesCommand";
105
+ import {
106
+ DescribeServicesCommandInput,
107
+ DescribeServicesCommandOutput,
108
+ } from "./commands/DescribeServicesCommand";
109
+ import {
110
+ DescribeTaskDefinitionCommandInput,
111
+ DescribeTaskDefinitionCommandOutput,
112
+ } from "./commands/DescribeTaskDefinitionCommand";
113
+ import {
114
+ DescribeTasksCommandInput,
115
+ DescribeTasksCommandOutput,
116
+ } from "./commands/DescribeTasksCommand";
117
+ import {
118
+ DescribeTaskSetsCommandInput,
119
+ DescribeTaskSetsCommandOutput,
120
+ } from "./commands/DescribeTaskSetsCommand";
121
+ import {
122
+ DiscoverPollEndpointCommandInput,
123
+ DiscoverPollEndpointCommandOutput,
124
+ } from "./commands/DiscoverPollEndpointCommand";
125
+ import {
126
+ ExecuteCommandCommandInput,
127
+ ExecuteCommandCommandOutput,
128
+ } from "./commands/ExecuteCommandCommand";
129
+ import {
130
+ ListAccountSettingsCommandInput,
131
+ ListAccountSettingsCommandOutput,
132
+ } from "./commands/ListAccountSettingsCommand";
133
+ import {
134
+ ListAttributesCommandInput,
135
+ ListAttributesCommandOutput,
136
+ } from "./commands/ListAttributesCommand";
137
+ import {
138
+ ListClustersCommandInput,
139
+ ListClustersCommandOutput,
140
+ } from "./commands/ListClustersCommand";
141
+ import {
142
+ ListContainerInstancesCommandInput,
143
+ ListContainerInstancesCommandOutput,
144
+ } from "./commands/ListContainerInstancesCommand";
145
+ import {
146
+ ListServicesCommandInput,
147
+ ListServicesCommandOutput,
148
+ } from "./commands/ListServicesCommand";
149
+ import {
150
+ ListTagsForResourceCommandInput,
151
+ ListTagsForResourceCommandOutput,
152
+ } from "./commands/ListTagsForResourceCommand";
153
+ import {
154
+ ListTaskDefinitionFamiliesCommandInput,
155
+ ListTaskDefinitionFamiliesCommandOutput,
156
+ } from "./commands/ListTaskDefinitionFamiliesCommand";
157
+ import {
158
+ ListTaskDefinitionsCommandInput,
159
+ ListTaskDefinitionsCommandOutput,
160
+ } from "./commands/ListTaskDefinitionsCommand";
161
+ import {
162
+ ListTasksCommandInput,
163
+ ListTasksCommandOutput,
164
+ } from "./commands/ListTasksCommand";
165
+ import {
166
+ PutAccountSettingCommandInput,
167
+ PutAccountSettingCommandOutput,
168
+ } from "./commands/PutAccountSettingCommand";
169
+ import {
170
+ PutAccountSettingDefaultCommandInput,
171
+ PutAccountSettingDefaultCommandOutput,
172
+ } from "./commands/PutAccountSettingDefaultCommand";
173
+ import {
174
+ PutAttributesCommandInput,
175
+ PutAttributesCommandOutput,
176
+ } from "./commands/PutAttributesCommand";
177
+ import {
178
+ PutClusterCapacityProvidersCommandInput,
179
+ PutClusterCapacityProvidersCommandOutput,
180
+ } from "./commands/PutClusterCapacityProvidersCommand";
181
+ import {
182
+ RegisterContainerInstanceCommandInput,
183
+ RegisterContainerInstanceCommandOutput,
184
+ } from "./commands/RegisterContainerInstanceCommand";
185
+ import {
186
+ RegisterTaskDefinitionCommandInput,
187
+ RegisterTaskDefinitionCommandOutput,
188
+ } from "./commands/RegisterTaskDefinitionCommand";
189
+ import {
190
+ RunTaskCommandInput,
191
+ RunTaskCommandOutput,
192
+ } from "./commands/RunTaskCommand";
193
+ import {
194
+ StartTaskCommandInput,
195
+ StartTaskCommandOutput,
196
+ } from "./commands/StartTaskCommand";
197
+ import {
198
+ StopTaskCommandInput,
199
+ StopTaskCommandOutput,
200
+ } from "./commands/StopTaskCommand";
201
+ import {
202
+ SubmitAttachmentStateChangesCommandInput,
203
+ SubmitAttachmentStateChangesCommandOutput,
204
+ } from "./commands/SubmitAttachmentStateChangesCommand";
205
+ import {
206
+ SubmitContainerStateChangeCommandInput,
207
+ SubmitContainerStateChangeCommandOutput,
208
+ } from "./commands/SubmitContainerStateChangeCommand";
209
+ import {
210
+ SubmitTaskStateChangeCommandInput,
211
+ SubmitTaskStateChangeCommandOutput,
212
+ } from "./commands/SubmitTaskStateChangeCommand";
213
+ import {
214
+ TagResourceCommandInput,
215
+ TagResourceCommandOutput,
216
+ } from "./commands/TagResourceCommand";
217
+ import {
218
+ UntagResourceCommandInput,
219
+ UntagResourceCommandOutput,
220
+ } from "./commands/UntagResourceCommand";
221
+ import {
222
+ UpdateCapacityProviderCommandInput,
223
+ UpdateCapacityProviderCommandOutput,
224
+ } from "./commands/UpdateCapacityProviderCommand";
225
+ import {
226
+ UpdateClusterCommandInput,
227
+ UpdateClusterCommandOutput,
228
+ } from "./commands/UpdateClusterCommand";
229
+ import {
230
+ UpdateClusterSettingsCommandInput,
231
+ UpdateClusterSettingsCommandOutput,
232
+ } from "./commands/UpdateClusterSettingsCommand";
233
+ import {
234
+ UpdateContainerAgentCommandInput,
235
+ UpdateContainerAgentCommandOutput,
236
+ } from "./commands/UpdateContainerAgentCommand";
237
+ import {
238
+ UpdateContainerInstancesStateCommandInput,
239
+ UpdateContainerInstancesStateCommandOutput,
240
+ } from "./commands/UpdateContainerInstancesStateCommand";
241
+ import {
242
+ UpdateServiceCommandInput,
243
+ UpdateServiceCommandOutput,
244
+ } from "./commands/UpdateServiceCommand";
245
+ import {
246
+ UpdateServicePrimaryTaskSetCommandInput,
247
+ UpdateServicePrimaryTaskSetCommandOutput,
248
+ } from "./commands/UpdateServicePrimaryTaskSetCommand";
249
+ import {
250
+ UpdateTaskSetCommandInput,
251
+ UpdateTaskSetCommandOutput,
252
+ } from "./commands/UpdateTaskSetCommand";
253
+ export declare type ServiceInputTypes =
254
+ | CreateCapacityProviderCommandInput
255
+ | CreateClusterCommandInput
256
+ | CreateServiceCommandInput
257
+ | CreateTaskSetCommandInput
258
+ | DeleteAccountSettingCommandInput
259
+ | DeleteAttributesCommandInput
260
+ | DeleteCapacityProviderCommandInput
261
+ | DeleteClusterCommandInput
262
+ | DeleteServiceCommandInput
263
+ | DeleteTaskSetCommandInput
264
+ | DeregisterContainerInstanceCommandInput
265
+ | DeregisterTaskDefinitionCommandInput
266
+ | DescribeCapacityProvidersCommandInput
267
+ | DescribeClustersCommandInput
268
+ | DescribeContainerInstancesCommandInput
269
+ | DescribeServicesCommandInput
270
+ | DescribeTaskDefinitionCommandInput
271
+ | DescribeTaskSetsCommandInput
272
+ | DescribeTasksCommandInput
273
+ | DiscoverPollEndpointCommandInput
274
+ | ExecuteCommandCommandInput
275
+ | ListAccountSettingsCommandInput
276
+ | ListAttributesCommandInput
277
+ | ListClustersCommandInput
278
+ | ListContainerInstancesCommandInput
279
+ | ListServicesCommandInput
280
+ | ListTagsForResourceCommandInput
281
+ | ListTaskDefinitionFamiliesCommandInput
282
+ | ListTaskDefinitionsCommandInput
283
+ | ListTasksCommandInput
284
+ | PutAccountSettingCommandInput
285
+ | PutAccountSettingDefaultCommandInput
286
+ | PutAttributesCommandInput
287
+ | PutClusterCapacityProvidersCommandInput
288
+ | RegisterContainerInstanceCommandInput
289
+ | RegisterTaskDefinitionCommandInput
290
+ | RunTaskCommandInput
291
+ | StartTaskCommandInput
292
+ | StopTaskCommandInput
293
+ | SubmitAttachmentStateChangesCommandInput
294
+ | SubmitContainerStateChangeCommandInput
295
+ | SubmitTaskStateChangeCommandInput
296
+ | TagResourceCommandInput
297
+ | UntagResourceCommandInput
298
+ | UpdateCapacityProviderCommandInput
299
+ | UpdateClusterCommandInput
300
+ | UpdateClusterSettingsCommandInput
301
+ | UpdateContainerAgentCommandInput
302
+ | UpdateContainerInstancesStateCommandInput
303
+ | UpdateServiceCommandInput
304
+ | UpdateServicePrimaryTaskSetCommandInput
305
+ | UpdateTaskSetCommandInput;
306
+ export declare type ServiceOutputTypes =
307
+ | CreateCapacityProviderCommandOutput
308
+ | CreateClusterCommandOutput
309
+ | CreateServiceCommandOutput
310
+ | CreateTaskSetCommandOutput
311
+ | DeleteAccountSettingCommandOutput
312
+ | DeleteAttributesCommandOutput
313
+ | DeleteCapacityProviderCommandOutput
314
+ | DeleteClusterCommandOutput
315
+ | DeleteServiceCommandOutput
316
+ | DeleteTaskSetCommandOutput
317
+ | DeregisterContainerInstanceCommandOutput
318
+ | DeregisterTaskDefinitionCommandOutput
319
+ | DescribeCapacityProvidersCommandOutput
320
+ | DescribeClustersCommandOutput
321
+ | DescribeContainerInstancesCommandOutput
322
+ | DescribeServicesCommandOutput
323
+ | DescribeTaskDefinitionCommandOutput
324
+ | DescribeTaskSetsCommandOutput
325
+ | DescribeTasksCommandOutput
326
+ | DiscoverPollEndpointCommandOutput
327
+ | ExecuteCommandCommandOutput
328
+ | ListAccountSettingsCommandOutput
329
+ | ListAttributesCommandOutput
330
+ | ListClustersCommandOutput
331
+ | ListContainerInstancesCommandOutput
332
+ | ListServicesCommandOutput
333
+ | ListTagsForResourceCommandOutput
334
+ | ListTaskDefinitionFamiliesCommandOutput
335
+ | ListTaskDefinitionsCommandOutput
336
+ | ListTasksCommandOutput
337
+ | PutAccountSettingCommandOutput
338
+ | PutAccountSettingDefaultCommandOutput
339
+ | PutAttributesCommandOutput
340
+ | PutClusterCapacityProvidersCommandOutput
341
+ | RegisterContainerInstanceCommandOutput
342
+ | RegisterTaskDefinitionCommandOutput
343
+ | RunTaskCommandOutput
344
+ | StartTaskCommandOutput
345
+ | StopTaskCommandOutput
346
+ | SubmitAttachmentStateChangesCommandOutput
347
+ | SubmitContainerStateChangeCommandOutput
348
+ | SubmitTaskStateChangeCommandOutput
349
+ | TagResourceCommandOutput
350
+ | UntagResourceCommandOutput
351
+ | UpdateCapacityProviderCommandOutput
352
+ | UpdateClusterCommandOutput
353
+ | UpdateClusterSettingsCommandOutput
354
+ | UpdateContainerAgentCommandOutput
355
+ | UpdateContainerInstancesStateCommandOutput
356
+ | UpdateServiceCommandOutput
357
+ | UpdateServicePrimaryTaskSetCommandOutput
358
+ | UpdateTaskSetCommandOutput;
359
+ export interface ClientDefaults
360
+ extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
361
+ requestHandler?: __HttpHandler;
362
+ sha256?: __HashConstructor;
363
+ urlParser?: __UrlParser;
364
+ bodyLengthChecker?: __BodyLengthCalculator;
365
+ streamCollector?: __StreamCollector;
366
+ base64Decoder?: __Decoder;
367
+ base64Encoder?: __Encoder;
368
+ utf8Decoder?: __Decoder;
369
+ utf8Encoder?: __Encoder;
370
+ runtime?: string;
371
+ disableHostPrefix?: boolean;
372
+ maxAttempts?: number | __Provider<number>;
373
+ retryMode?: string | __Provider<string>;
374
+ logger?: __Logger;
375
+ useDualstackEndpoint?: boolean | __Provider<boolean>;
376
+ useFipsEndpoint?: boolean | __Provider<boolean>;
377
+ serviceId?: string;
378
+ region?: string | __Provider<string>;
379
+ credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
380
+ regionInfoProvider?: RegionInfoProvider;
381
+ defaultUserAgentProvider?: Provider<__UserAgent>;
382
+ defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
383
+ }
384
+ declare type ECSClientConfigType = Partial<
385
+ __SmithyConfiguration<__HttpHandlerOptions>
386
+ > &
387
+ ClientDefaults &
388
+ RegionInputConfig &
389
+ EndpointsInputConfig &
390
+ RetryInputConfig &
391
+ HostHeaderInputConfig &
392
+ AwsAuthInputConfig &
393
+ UserAgentInputConfig;
394
+ export interface ECSClientConfig extends ECSClientConfigType {}
395
+ declare type ECSClientResolvedConfigType =
396
+ __SmithyResolvedConfiguration<__HttpHandlerOptions> &
397
+ Required<ClientDefaults> &
398
+ RegionResolvedConfig &
399
+ EndpointsResolvedConfig &
400
+ RetryResolvedConfig &
401
+ HostHeaderResolvedConfig &
402
+ AwsAuthResolvedConfig &
403
+ UserAgentResolvedConfig;
404
+ export interface ECSClientResolvedConfig extends ECSClientResolvedConfigType {}
405
+ export declare class ECSClient extends __Client<
406
+ __HttpHandlerOptions,
407
+ ServiceInputTypes,
408
+ ServiceOutputTypes,
409
+ ECSClientResolvedConfig
410
+ > {
411
+ readonly config: ECSClientResolvedConfig;
412
+ constructor(configuration: ECSClientConfig);
413
+ destroy(): void;
414
+ }
415
+ export {};
@@ -1,17 +1,39 @@
1
- import { Command as $Command } from "@aws-sdk/smithy-client";
2
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
- import { ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECSClient";
4
- import { CreateCapacityProviderRequest, CreateCapacityProviderResponse } from "../models/models_0";
5
- export interface CreateCapacityProviderCommandInput extends CreateCapacityProviderRequest {
6
- }
7
- export interface CreateCapacityProviderCommandOutput extends CreateCapacityProviderResponse, __MetadataBearer {
8
- }
9
-
10
- export declare class CreateCapacityProviderCommand extends $Command<CreateCapacityProviderCommandInput, CreateCapacityProviderCommandOutput, ECSClientResolvedConfig> {
11
- readonly input: CreateCapacityProviderCommandInput;
12
- constructor(input: CreateCapacityProviderCommandInput);
13
-
14
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateCapacityProviderCommandInput, CreateCapacityProviderCommandOutput>;
15
- private serialize;
16
- private deserialize;
17
- }
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import {
3
+ Handler,
4
+ HttpHandlerOptions as __HttpHandlerOptions,
5
+ MetadataBearer as __MetadataBearer,
6
+ MiddlewareStack,
7
+ } from "@aws-sdk/types";
8
+ import {
9
+ ECSClientResolvedConfig,
10
+ ServiceInputTypes,
11
+ ServiceOutputTypes,
12
+ } from "../ECSClient";
13
+ import {
14
+ CreateCapacityProviderRequest,
15
+ CreateCapacityProviderResponse,
16
+ } from "../models/models_0";
17
+ export interface CreateCapacityProviderCommandInput
18
+ extends CreateCapacityProviderRequest {}
19
+ export interface CreateCapacityProviderCommandOutput
20
+ extends CreateCapacityProviderResponse,
21
+ __MetadataBearer {}
22
+ export declare class CreateCapacityProviderCommand extends $Command<
23
+ CreateCapacityProviderCommandInput,
24
+ CreateCapacityProviderCommandOutput,
25
+ ECSClientResolvedConfig
26
+ > {
27
+ readonly input: CreateCapacityProviderCommandInput;
28
+ constructor(input: CreateCapacityProviderCommandInput);
29
+ resolveMiddleware(
30
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
31
+ configuration: ECSClientResolvedConfig,
32
+ options?: __HttpHandlerOptions
33
+ ): Handler<
34
+ CreateCapacityProviderCommandInput,
35
+ CreateCapacityProviderCommandOutput
36
+ >;
37
+ private serialize;
38
+ private deserialize;
39
+ }
@@ -1,17 +1,35 @@
1
- import { Command as $Command } from "@aws-sdk/smithy-client";
2
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
- import { ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECSClient";
4
- import { CreateClusterRequest, CreateClusterResponse } from "../models/models_0";
5
- export interface CreateClusterCommandInput extends CreateClusterRequest {
6
- }
7
- export interface CreateClusterCommandOutput extends CreateClusterResponse, __MetadataBearer {
8
- }
9
-
10
- export declare class CreateClusterCommand extends $Command<CreateClusterCommandInput, CreateClusterCommandOutput, ECSClientResolvedConfig> {
11
- readonly input: CreateClusterCommandInput;
12
- constructor(input: CreateClusterCommandInput);
13
-
14
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateClusterCommandInput, CreateClusterCommandOutput>;
15
- private serialize;
16
- private deserialize;
17
- }
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import {
3
+ Handler,
4
+ HttpHandlerOptions as __HttpHandlerOptions,
5
+ MetadataBearer as __MetadataBearer,
6
+ MiddlewareStack,
7
+ } from "@aws-sdk/types";
8
+ import {
9
+ ECSClientResolvedConfig,
10
+ ServiceInputTypes,
11
+ ServiceOutputTypes,
12
+ } from "../ECSClient";
13
+ import {
14
+ CreateClusterRequest,
15
+ CreateClusterResponse,
16
+ } from "../models/models_0";
17
+ export interface CreateClusterCommandInput extends CreateClusterRequest {}
18
+ export interface CreateClusterCommandOutput
19
+ extends CreateClusterResponse,
20
+ __MetadataBearer {}
21
+ export declare class CreateClusterCommand extends $Command<
22
+ CreateClusterCommandInput,
23
+ CreateClusterCommandOutput,
24
+ ECSClientResolvedConfig
25
+ > {
26
+ readonly input: CreateClusterCommandInput;
27
+ constructor(input: CreateClusterCommandInput);
28
+ resolveMiddleware(
29
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
30
+ configuration: ECSClientResolvedConfig,
31
+ options?: __HttpHandlerOptions
32
+ ): Handler<CreateClusterCommandInput, CreateClusterCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }