@aws-sdk/client-ecs 3.216.0 → 3.218.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/ECS.js +15 -0
- package/dist-cjs/commands/ListServicesByNamespaceCommand.js +46 -0
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/models/models_0.js +79 -25
- package/dist-cjs/pagination/ListServicesByNamespacePaginator.js +36 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_json1_1.js +233 -3
- package/dist-es/ECS.js +15 -0
- package/dist-es/commands/ListServicesByNamespaceCommand.js +42 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_0.js +62 -17
- package/dist-es/pagination/ListServicesByNamespacePaginator.js +32 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_json1_1.js +229 -1
- package/dist-types/ECS.d.ts +25 -9
- package/dist-types/ECSClient.d.ts +3 -2
- package/dist-types/commands/CreateServiceCommand.d.ts +2 -3
- package/dist-types/commands/ExecuteCommandCommand.d.ts +1 -1
- package/dist-types/commands/ListServicesByNamespaceCommand.d.ts +41 -0
- package/dist-types/commands/UpdateContainerAgentCommand.d.ts +5 -0
- package/dist-types/commands/UpdateTaskProtectionCommand.d.ts +6 -5
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +610 -147
- package/dist-types/pagination/ListServicesByNamespacePaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +3 -0
- package/dist-types/ts3.4/ECS.d.ts +17 -0
- package/dist-types/ts3.4/ECSClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/ListServicesByNamespaceCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +107 -23
- package/dist-types/ts3.4/pagination/ListServicesByNamespacePaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +12 -0
- package/package.json +3 -3
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
2
|
+
import { ListServicesByNamespaceCommandInput, ListServicesByNamespaceCommandOutput } from "../commands/ListServicesByNamespaceCommand";
|
|
3
|
+
import { ECSPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
export declare function paginateListServicesByNamespace(config: ECSPaginationConfiguration, input: ListServicesByNamespaceCommandInput, ...additionalArguments: any): Paginator<ListServicesByNamespaceCommandOutput>;
|
|
@@ -3,6 +3,7 @@ export * from "./ListAccountSettingsPaginator";
|
|
|
3
3
|
export * from "./ListAttributesPaginator";
|
|
4
4
|
export * from "./ListClustersPaginator";
|
|
5
5
|
export * from "./ListContainerInstancesPaginator";
|
|
6
|
+
export * from "./ListServicesByNamespacePaginator";
|
|
6
7
|
export * from "./ListServicesPaginator";
|
|
7
8
|
export * from "./ListTaskDefinitionFamiliesPaginator";
|
|
8
9
|
export * from "./ListTaskDefinitionsPaginator";
|
|
@@ -26,6 +26,7 @@ import { ListAccountSettingsCommandInput, ListAccountSettingsCommandOutput } fro
|
|
|
26
26
|
import { ListAttributesCommandInput, ListAttributesCommandOutput } from "../commands/ListAttributesCommand";
|
|
27
27
|
import { ListClustersCommandInput, ListClustersCommandOutput } from "../commands/ListClustersCommand";
|
|
28
28
|
import { ListContainerInstancesCommandInput, ListContainerInstancesCommandOutput } from "../commands/ListContainerInstancesCommand";
|
|
29
|
+
import { ListServicesByNamespaceCommandInput, ListServicesByNamespaceCommandOutput } from "../commands/ListServicesByNamespaceCommand";
|
|
29
30
|
import { ListServicesCommandInput, ListServicesCommandOutput } from "../commands/ListServicesCommand";
|
|
30
31
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "../commands/ListTagsForResourceCommand";
|
|
31
32
|
import { ListTaskDefinitionFamiliesCommandInput, ListTaskDefinitionFamiliesCommandOutput } from "../commands/ListTaskDefinitionFamiliesCommand";
|
|
@@ -81,6 +82,7 @@ export declare const serializeAws_json1_1ListAttributesCommand: (input: ListAttr
|
|
|
81
82
|
export declare const serializeAws_json1_1ListClustersCommand: (input: ListClustersCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
82
83
|
export declare const serializeAws_json1_1ListContainerInstancesCommand: (input: ListContainerInstancesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
83
84
|
export declare const serializeAws_json1_1ListServicesCommand: (input: ListServicesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
85
|
+
export declare const serializeAws_json1_1ListServicesByNamespaceCommand: (input: ListServicesByNamespaceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
84
86
|
export declare const serializeAws_json1_1ListTagsForResourceCommand: (input: ListTagsForResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
85
87
|
export declare const serializeAws_json1_1ListTaskDefinitionFamiliesCommand: (input: ListTaskDefinitionFamiliesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
86
88
|
export declare const serializeAws_json1_1ListTaskDefinitionsCommand: (input: ListTaskDefinitionsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
@@ -135,6 +137,7 @@ export declare const deserializeAws_json1_1ListAttributesCommand: (output: __Htt
|
|
|
135
137
|
export declare const deserializeAws_json1_1ListClustersCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListClustersCommandOutput>;
|
|
136
138
|
export declare const deserializeAws_json1_1ListContainerInstancesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListContainerInstancesCommandOutput>;
|
|
137
139
|
export declare const deserializeAws_json1_1ListServicesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListServicesCommandOutput>;
|
|
140
|
+
export declare const deserializeAws_json1_1ListServicesByNamespaceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListServicesByNamespaceCommandOutput>;
|
|
138
141
|
export declare const deserializeAws_json1_1ListTagsForResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListTagsForResourceCommandOutput>;
|
|
139
142
|
export declare const deserializeAws_json1_1ListTaskDefinitionFamiliesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListTaskDefinitionFamiliesCommandOutput>;
|
|
140
143
|
export declare const deserializeAws_json1_1ListTaskDefinitionsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListTaskDefinitionsCommandOutput>;
|
|
@@ -103,6 +103,10 @@ import {
|
|
|
103
103
|
ListContainerInstancesCommandInput,
|
|
104
104
|
ListContainerInstancesCommandOutput,
|
|
105
105
|
} from "./commands/ListContainerInstancesCommand";
|
|
106
|
+
import {
|
|
107
|
+
ListServicesByNamespaceCommandInput,
|
|
108
|
+
ListServicesByNamespaceCommandOutput,
|
|
109
|
+
} from "./commands/ListServicesByNamespaceCommand";
|
|
106
110
|
import {
|
|
107
111
|
ListServicesCommandInput,
|
|
108
112
|
ListServicesCommandOutput,
|
|
@@ -568,6 +572,19 @@ export declare class ECS extends ECSClient {
|
|
|
568
572
|
options: __HttpHandlerOptions,
|
|
569
573
|
cb: (err: any, data?: ListServicesCommandOutput) => void
|
|
570
574
|
): void;
|
|
575
|
+
listServicesByNamespace(
|
|
576
|
+
args: ListServicesByNamespaceCommandInput,
|
|
577
|
+
options?: __HttpHandlerOptions
|
|
578
|
+
): Promise<ListServicesByNamespaceCommandOutput>;
|
|
579
|
+
listServicesByNamespace(
|
|
580
|
+
args: ListServicesByNamespaceCommandInput,
|
|
581
|
+
cb: (err: any, data?: ListServicesByNamespaceCommandOutput) => void
|
|
582
|
+
): void;
|
|
583
|
+
listServicesByNamespace(
|
|
584
|
+
args: ListServicesByNamespaceCommandInput,
|
|
585
|
+
options: __HttpHandlerOptions,
|
|
586
|
+
cb: (err: any, data?: ListServicesByNamespaceCommandOutput) => void
|
|
587
|
+
): void;
|
|
571
588
|
listTagsForResource(
|
|
572
589
|
args: ListTagsForResourceCommandInput,
|
|
573
590
|
options?: __HttpHandlerOptions
|
|
@@ -147,6 +147,10 @@ import {
|
|
|
147
147
|
ListContainerInstancesCommandInput,
|
|
148
148
|
ListContainerInstancesCommandOutput,
|
|
149
149
|
} from "./commands/ListContainerInstancesCommand";
|
|
150
|
+
import {
|
|
151
|
+
ListServicesByNamespaceCommandInput,
|
|
152
|
+
ListServicesByNamespaceCommandOutput,
|
|
153
|
+
} from "./commands/ListServicesByNamespaceCommand";
|
|
150
154
|
import {
|
|
151
155
|
ListServicesCommandInput,
|
|
152
156
|
ListServicesCommandOutput,
|
|
@@ -291,6 +295,7 @@ export declare type ServiceInputTypes =
|
|
|
291
295
|
| ListAttributesCommandInput
|
|
292
296
|
| ListClustersCommandInput
|
|
293
297
|
| ListContainerInstancesCommandInput
|
|
298
|
+
| ListServicesByNamespaceCommandInput
|
|
294
299
|
| ListServicesCommandInput
|
|
295
300
|
| ListTagsForResourceCommandInput
|
|
296
301
|
| ListTaskDefinitionFamiliesCommandInput
|
|
@@ -346,6 +351,7 @@ export declare type ServiceOutputTypes =
|
|
|
346
351
|
| ListAttributesCommandOutput
|
|
347
352
|
| ListClustersCommandOutput
|
|
348
353
|
| ListContainerInstancesCommandOutput
|
|
354
|
+
| ListServicesByNamespaceCommandOutput
|
|
349
355
|
| ListServicesCommandOutput
|
|
350
356
|
| ListTagsForResourceCommandOutput
|
|
351
357
|
| ListTaskDefinitionFamiliesCommandOutput
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@aws-sdk/types";
|
|
9
|
+
import {
|
|
10
|
+
ECSClientResolvedConfig,
|
|
11
|
+
ServiceInputTypes,
|
|
12
|
+
ServiceOutputTypes,
|
|
13
|
+
} from "../ECSClient";
|
|
14
|
+
import {
|
|
15
|
+
ListServicesByNamespaceRequest,
|
|
16
|
+
ListServicesByNamespaceResponse,
|
|
17
|
+
} from "../models/models_0";
|
|
18
|
+
export interface ListServicesByNamespaceCommandInput
|
|
19
|
+
extends ListServicesByNamespaceRequest {}
|
|
20
|
+
export interface ListServicesByNamespaceCommandOutput
|
|
21
|
+
extends ListServicesByNamespaceResponse,
|
|
22
|
+
__MetadataBearer {}
|
|
23
|
+
export declare class ListServicesByNamespaceCommand extends $Command<
|
|
24
|
+
ListServicesByNamespaceCommandInput,
|
|
25
|
+
ListServicesByNamespaceCommandOutput,
|
|
26
|
+
ECSClientResolvedConfig
|
|
27
|
+
> {
|
|
28
|
+
readonly input: ListServicesByNamespaceCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(input: ListServicesByNamespaceCommandInput);
|
|
31
|
+
resolveMiddleware(
|
|
32
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
33
|
+
configuration: ECSClientResolvedConfig,
|
|
34
|
+
options?: __HttpHandlerOptions
|
|
35
|
+
): Handler<
|
|
36
|
+
ListServicesByNamespaceCommandInput,
|
|
37
|
+
ListServicesByNamespaceCommandOutput
|
|
38
|
+
>;
|
|
39
|
+
private serialize;
|
|
40
|
+
private deserialize;
|
|
41
|
+
}
|
|
@@ -24,6 +24,7 @@ export * from "./ListAccountSettingsCommand";
|
|
|
24
24
|
export * from "./ListAttributesCommand";
|
|
25
25
|
export * from "./ListClustersCommand";
|
|
26
26
|
export * from "./ListContainerInstancesCommand";
|
|
27
|
+
export * from "./ListServicesByNamespaceCommand";
|
|
27
28
|
export * from "./ListServicesCommand";
|
|
28
29
|
export * from "./ListTagsForResourceCommand";
|
|
29
30
|
export * from "./ListTaskDefinitionFamiliesCommand";
|
|
@@ -124,6 +124,9 @@ export interface CapacityProviderStrategyItem {
|
|
|
124
124
|
weight?: number;
|
|
125
125
|
base?: number;
|
|
126
126
|
}
|
|
127
|
+
export interface ClusterServiceConnectDefaultsRequest {
|
|
128
|
+
namespace: string | undefined;
|
|
129
|
+
}
|
|
127
130
|
export declare enum ClusterSettingName {
|
|
128
131
|
CONTAINER_INSIGHTS = "containerInsights",
|
|
129
132
|
}
|
|
@@ -138,6 +141,7 @@ export interface CreateClusterRequest {
|
|
|
138
141
|
configuration?: ClusterConfiguration;
|
|
139
142
|
capacityProviders?: string[];
|
|
140
143
|
defaultCapacityProviderStrategy?: CapacityProviderStrategyItem[];
|
|
144
|
+
serviceConnectDefaults?: ClusterServiceConnectDefaultsRequest;
|
|
141
145
|
}
|
|
142
146
|
export interface KeyValuePair {
|
|
143
147
|
name?: string;
|
|
@@ -149,6 +153,9 @@ export interface Attachment {
|
|
|
149
153
|
status?: string;
|
|
150
154
|
details?: KeyValuePair[];
|
|
151
155
|
}
|
|
156
|
+
export interface ClusterServiceConnectDefaults {
|
|
157
|
+
namespace?: string;
|
|
158
|
+
}
|
|
152
159
|
export interface Cluster {
|
|
153
160
|
clusterArn?: string;
|
|
154
161
|
clusterName?: string;
|
|
@@ -165,6 +172,7 @@ export interface Cluster {
|
|
|
165
172
|
defaultCapacityProviderStrategy?: CapacityProviderStrategyItem[];
|
|
166
173
|
attachments?: Attachment[];
|
|
167
174
|
attachmentsStatus?: string;
|
|
175
|
+
serviceConnectDefaults?: ClusterServiceConnectDefaults;
|
|
168
176
|
}
|
|
169
177
|
export interface CreateClusterResponse {
|
|
170
178
|
cluster?: Cluster;
|
|
@@ -242,6 +250,41 @@ export declare enum SchedulingStrategy {
|
|
|
242
250
|
DAEMON = "DAEMON",
|
|
243
251
|
REPLICA = "REPLICA",
|
|
244
252
|
}
|
|
253
|
+
export declare enum LogDriver {
|
|
254
|
+
AWSFIRELENS = "awsfirelens",
|
|
255
|
+
AWSLOGS = "awslogs",
|
|
256
|
+
FLUENTD = "fluentd",
|
|
257
|
+
GELF = "gelf",
|
|
258
|
+
JOURNALD = "journald",
|
|
259
|
+
JSON_FILE = "json-file",
|
|
260
|
+
SPLUNK = "splunk",
|
|
261
|
+
SYSLOG = "syslog",
|
|
262
|
+
}
|
|
263
|
+
export interface Secret {
|
|
264
|
+
name: string | undefined;
|
|
265
|
+
valueFrom: string | undefined;
|
|
266
|
+
}
|
|
267
|
+
export interface LogConfiguration {
|
|
268
|
+
logDriver: LogDriver | string | undefined;
|
|
269
|
+
options?: Record<string, string>;
|
|
270
|
+
secretOptions?: Secret[];
|
|
271
|
+
}
|
|
272
|
+
export interface ServiceConnectClientAlias {
|
|
273
|
+
port: number | undefined;
|
|
274
|
+
dnsName?: string;
|
|
275
|
+
}
|
|
276
|
+
export interface ServiceConnectService {
|
|
277
|
+
portName: string | undefined;
|
|
278
|
+
discoveryName?: string;
|
|
279
|
+
clientAliases?: ServiceConnectClientAlias[];
|
|
280
|
+
ingressPortOverride?: number;
|
|
281
|
+
}
|
|
282
|
+
export interface ServiceConnectConfiguration {
|
|
283
|
+
enabled: boolean | undefined;
|
|
284
|
+
namespace?: string;
|
|
285
|
+
services?: ServiceConnectService[];
|
|
286
|
+
logConfiguration?: LogConfiguration;
|
|
287
|
+
}
|
|
245
288
|
export interface ServiceRegistry {
|
|
246
289
|
registryArn?: string;
|
|
247
290
|
port?: number;
|
|
@@ -271,12 +314,17 @@ export interface CreateServiceRequest {
|
|
|
271
314
|
enableECSManagedTags?: boolean;
|
|
272
315
|
propagateTags?: PropagateTags | string;
|
|
273
316
|
enableExecuteCommand?: boolean;
|
|
317
|
+
serviceConnectConfiguration?: ServiceConnectConfiguration;
|
|
274
318
|
}
|
|
275
319
|
export declare enum DeploymentRolloutState {
|
|
276
320
|
COMPLETED = "COMPLETED",
|
|
277
321
|
FAILED = "FAILED",
|
|
278
322
|
IN_PROGRESS = "IN_PROGRESS",
|
|
279
323
|
}
|
|
324
|
+
export interface ServiceConnectServiceResource {
|
|
325
|
+
discoveryName?: string;
|
|
326
|
+
discoveryArn?: string;
|
|
327
|
+
}
|
|
280
328
|
export interface Deployment {
|
|
281
329
|
id?: string;
|
|
282
330
|
status?: string;
|
|
@@ -294,6 +342,8 @@ export interface Deployment {
|
|
|
294
342
|
networkConfiguration?: NetworkConfiguration;
|
|
295
343
|
rolloutState?: DeploymentRolloutState | string;
|
|
296
344
|
rolloutStateReason?: string;
|
|
345
|
+
serviceConnectConfiguration?: ServiceConnectConfiguration;
|
|
346
|
+
serviceConnectResources?: ServiceConnectServiceResource[];
|
|
297
347
|
}
|
|
298
348
|
export interface ServiceEvent {
|
|
299
349
|
id?: string;
|
|
@@ -373,6 +423,13 @@ export interface Service {
|
|
|
373
423
|
export interface CreateServiceResponse {
|
|
374
424
|
service?: Service;
|
|
375
425
|
}
|
|
426
|
+
export declare class NamespaceNotFoundException extends __BaseException {
|
|
427
|
+
readonly name: "NamespaceNotFoundException";
|
|
428
|
+
readonly $fault: "client";
|
|
429
|
+
constructor(
|
|
430
|
+
opts: __ExceptionOptionType<NamespaceNotFoundException, __BaseException>
|
|
431
|
+
);
|
|
432
|
+
}
|
|
376
433
|
export declare class PlatformTaskDefinitionIncompatibilityException extends __BaseException {
|
|
377
434
|
readonly name: "PlatformTaskDefinitionIncompatibilityException";
|
|
378
435
|
readonly $fault: "client";
|
|
@@ -666,30 +723,16 @@ export interface LinuxParameters {
|
|
|
666
723
|
maxSwap?: number;
|
|
667
724
|
swappiness?: number;
|
|
668
725
|
}
|
|
669
|
-
export declare enum LogDriver {
|
|
670
|
-
AWSFIRELENS = "awsfirelens",
|
|
671
|
-
AWSLOGS = "awslogs",
|
|
672
|
-
FLUENTD = "fluentd",
|
|
673
|
-
GELF = "gelf",
|
|
674
|
-
JOURNALD = "journald",
|
|
675
|
-
JSON_FILE = "json-file",
|
|
676
|
-
SPLUNK = "splunk",
|
|
677
|
-
SYSLOG = "syslog",
|
|
678
|
-
}
|
|
679
|
-
export interface Secret {
|
|
680
|
-
name: string | undefined;
|
|
681
|
-
valueFrom: string | undefined;
|
|
682
|
-
}
|
|
683
|
-
export interface LogConfiguration {
|
|
684
|
-
logDriver: LogDriver | string | undefined;
|
|
685
|
-
options?: Record<string, string>;
|
|
686
|
-
secretOptions?: Secret[];
|
|
687
|
-
}
|
|
688
726
|
export interface MountPoint {
|
|
689
727
|
sourceVolume?: string;
|
|
690
728
|
containerPath?: string;
|
|
691
729
|
readOnly?: boolean;
|
|
692
730
|
}
|
|
731
|
+
export declare enum ApplicationProtocol {
|
|
732
|
+
GRPC = "grpc",
|
|
733
|
+
HTTP = "http",
|
|
734
|
+
HTTP2 = "http2",
|
|
735
|
+
}
|
|
693
736
|
export declare enum TransportProtocol {
|
|
694
737
|
TCP = "tcp",
|
|
695
738
|
UDP = "udp",
|
|
@@ -698,6 +741,8 @@ export interface PortMapping {
|
|
|
698
741
|
containerPort?: number;
|
|
699
742
|
hostPort?: number;
|
|
700
743
|
protocol?: TransportProtocol | string;
|
|
744
|
+
name?: string;
|
|
745
|
+
appProtocol?: ApplicationProtocol | string;
|
|
701
746
|
}
|
|
702
747
|
export interface RepositoryCredentials {
|
|
703
748
|
credentialsParameter: string | undefined;
|
|
@@ -1069,7 +1114,10 @@ export interface TaskOverride {
|
|
|
1069
1114
|
}
|
|
1070
1115
|
export declare enum TaskStopCode {
|
|
1071
1116
|
ESSENTIAL_CONTAINER_EXITED = "EssentialContainerExited",
|
|
1117
|
+
SERVICE_SCHEDULER_INITIATED = "ServiceSchedulerInitiated",
|
|
1118
|
+
SPOT_INTERRUPTION = "SpotInterruption",
|
|
1072
1119
|
TASK_FAILED_TO_START = "TaskFailedToStart",
|
|
1120
|
+
TERMINATION_NOTICE = "TerminationNotice",
|
|
1073
1121
|
USER_INITIATED = "UserInitiated",
|
|
1074
1122
|
}
|
|
1075
1123
|
export interface Task {
|
|
@@ -1134,6 +1182,7 @@ export interface DiscoverPollEndpointRequest {
|
|
|
1134
1182
|
export interface DiscoverPollEndpointResponse {
|
|
1135
1183
|
endpoint?: string;
|
|
1136
1184
|
telemetryEndpoint?: string;
|
|
1185
|
+
serviceConnectEndpoint?: string;
|
|
1137
1186
|
}
|
|
1138
1187
|
export interface ExecuteCommandRequest {
|
|
1139
1188
|
cluster?: string;
|
|
@@ -1243,6 +1292,15 @@ export interface ListServicesResponse {
|
|
|
1243
1292
|
serviceArns?: string[];
|
|
1244
1293
|
nextToken?: string;
|
|
1245
1294
|
}
|
|
1295
|
+
export interface ListServicesByNamespaceRequest {
|
|
1296
|
+
namespace: string | undefined;
|
|
1297
|
+
nextToken?: string;
|
|
1298
|
+
maxResults?: number;
|
|
1299
|
+
}
|
|
1300
|
+
export interface ListServicesByNamespaceResponse {
|
|
1301
|
+
serviceArns?: string[];
|
|
1302
|
+
nextToken?: string;
|
|
1303
|
+
}
|
|
1246
1304
|
export interface ListTagsForResourceRequest {
|
|
1247
1305
|
resourceArn: string | undefined;
|
|
1248
1306
|
}
|
|
@@ -1523,6 +1581,7 @@ export interface UpdateClusterRequest {
|
|
|
1523
1581
|
cluster: string | undefined;
|
|
1524
1582
|
settings?: ClusterSetting[];
|
|
1525
1583
|
configuration?: ClusterConfiguration;
|
|
1584
|
+
serviceConnectDefaults?: ClusterServiceConnectDefaultsRequest;
|
|
1526
1585
|
}
|
|
1527
1586
|
export interface UpdateClusterResponse {
|
|
1528
1587
|
cluster?: Cluster;
|
|
@@ -1582,6 +1641,7 @@ export interface UpdateServiceRequest {
|
|
|
1582
1641
|
loadBalancers?: LoadBalancer[];
|
|
1583
1642
|
propagateTags?: PropagateTags | string;
|
|
1584
1643
|
serviceRegistries?: ServiceRegistry[];
|
|
1644
|
+
serviceConnectConfiguration?: ServiceConnectConfiguration;
|
|
1585
1645
|
}
|
|
1586
1646
|
export interface UpdateServiceResponse {
|
|
1587
1647
|
service?: Service;
|
|
@@ -1641,6 +1701,9 @@ export declare const ClusterConfigurationFilterSensitiveLog: (
|
|
|
1641
1701
|
export declare const CapacityProviderStrategyItemFilterSensitiveLog: (
|
|
1642
1702
|
obj: CapacityProviderStrategyItem
|
|
1643
1703
|
) => any;
|
|
1704
|
+
export declare const ClusterServiceConnectDefaultsRequestFilterSensitiveLog: (
|
|
1705
|
+
obj: ClusterServiceConnectDefaultsRequest
|
|
1706
|
+
) => any;
|
|
1644
1707
|
export declare const ClusterSettingFilterSensitiveLog: (
|
|
1645
1708
|
obj: ClusterSetting
|
|
1646
1709
|
) => any;
|
|
@@ -1649,6 +1712,9 @@ export declare const CreateClusterRequestFilterSensitiveLog: (
|
|
|
1649
1712
|
) => any;
|
|
1650
1713
|
export declare const KeyValuePairFilterSensitiveLog: (obj: KeyValuePair) => any;
|
|
1651
1714
|
export declare const AttachmentFilterSensitiveLog: (obj: Attachment) => any;
|
|
1715
|
+
export declare const ClusterServiceConnectDefaultsFilterSensitiveLog: (
|
|
1716
|
+
obj: ClusterServiceConnectDefaults
|
|
1717
|
+
) => any;
|
|
1652
1718
|
export declare const ClusterFilterSensitiveLog: (obj: Cluster) => any;
|
|
1653
1719
|
export declare const CreateClusterResponseFilterSensitiveLog: (
|
|
1654
1720
|
obj: CreateClusterResponse
|
|
@@ -1675,12 +1741,28 @@ export declare const PlacementConstraintFilterSensitiveLog: (
|
|
|
1675
1741
|
export declare const PlacementStrategyFilterSensitiveLog: (
|
|
1676
1742
|
obj: PlacementStrategy
|
|
1677
1743
|
) => any;
|
|
1744
|
+
export declare const SecretFilterSensitiveLog: (obj: Secret) => any;
|
|
1745
|
+
export declare const LogConfigurationFilterSensitiveLog: (
|
|
1746
|
+
obj: LogConfiguration
|
|
1747
|
+
) => any;
|
|
1748
|
+
export declare const ServiceConnectClientAliasFilterSensitiveLog: (
|
|
1749
|
+
obj: ServiceConnectClientAlias
|
|
1750
|
+
) => any;
|
|
1751
|
+
export declare const ServiceConnectServiceFilterSensitiveLog: (
|
|
1752
|
+
obj: ServiceConnectService
|
|
1753
|
+
) => any;
|
|
1754
|
+
export declare const ServiceConnectConfigurationFilterSensitiveLog: (
|
|
1755
|
+
obj: ServiceConnectConfiguration
|
|
1756
|
+
) => any;
|
|
1678
1757
|
export declare const ServiceRegistryFilterSensitiveLog: (
|
|
1679
1758
|
obj: ServiceRegistry
|
|
1680
1759
|
) => any;
|
|
1681
1760
|
export declare const CreateServiceRequestFilterSensitiveLog: (
|
|
1682
1761
|
obj: CreateServiceRequest
|
|
1683
1762
|
) => any;
|
|
1763
|
+
export declare const ServiceConnectServiceResourceFilterSensitiveLog: (
|
|
1764
|
+
obj: ServiceConnectServiceResource
|
|
1765
|
+
) => any;
|
|
1684
1766
|
export declare const DeploymentFilterSensitiveLog: (obj: Deployment) => any;
|
|
1685
1767
|
export declare const ServiceEventFilterSensitiveLog: (obj: ServiceEvent) => any;
|
|
1686
1768
|
export declare const ScaleFilterSensitiveLog: (obj: Scale) => any;
|
|
@@ -1772,10 +1854,6 @@ export declare const TmpfsFilterSensitiveLog: (obj: Tmpfs) => any;
|
|
|
1772
1854
|
export declare const LinuxParametersFilterSensitiveLog: (
|
|
1773
1855
|
obj: LinuxParameters
|
|
1774
1856
|
) => any;
|
|
1775
|
-
export declare const SecretFilterSensitiveLog: (obj: Secret) => any;
|
|
1776
|
-
export declare const LogConfigurationFilterSensitiveLog: (
|
|
1777
|
-
obj: LogConfiguration
|
|
1778
|
-
) => any;
|
|
1779
1857
|
export declare const MountPointFilterSensitiveLog: (obj: MountPoint) => any;
|
|
1780
1858
|
export declare const PortMappingFilterSensitiveLog: (obj: PortMapping) => any;
|
|
1781
1859
|
export declare const RepositoryCredentialsFilterSensitiveLog: (
|
|
@@ -1943,6 +2021,12 @@ export declare const ListServicesRequestFilterSensitiveLog: (
|
|
|
1943
2021
|
export declare const ListServicesResponseFilterSensitiveLog: (
|
|
1944
2022
|
obj: ListServicesResponse
|
|
1945
2023
|
) => any;
|
|
2024
|
+
export declare const ListServicesByNamespaceRequestFilterSensitiveLog: (
|
|
2025
|
+
obj: ListServicesByNamespaceRequest
|
|
2026
|
+
) => any;
|
|
2027
|
+
export declare const ListServicesByNamespaceResponseFilterSensitiveLog: (
|
|
2028
|
+
obj: ListServicesByNamespaceResponse
|
|
2029
|
+
) => any;
|
|
1946
2030
|
export declare const ListTagsForResourceRequestFilterSensitiveLog: (
|
|
1947
2031
|
obj: ListTagsForResourceRequest
|
|
1948
2032
|
) => any;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
2
|
+
import {
|
|
3
|
+
ListServicesByNamespaceCommandInput,
|
|
4
|
+
ListServicesByNamespaceCommandOutput,
|
|
5
|
+
} from "../commands/ListServicesByNamespaceCommand";
|
|
6
|
+
import { ECSPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare function paginateListServicesByNamespace(
|
|
8
|
+
config: ECSPaginationConfiguration,
|
|
9
|
+
input: ListServicesByNamespaceCommandInput,
|
|
10
|
+
...additionalArguments: any
|
|
11
|
+
): Paginator<ListServicesByNamespaceCommandOutput>;
|
|
@@ -3,6 +3,7 @@ export * from "./ListAccountSettingsPaginator";
|
|
|
3
3
|
export * from "./ListAttributesPaginator";
|
|
4
4
|
export * from "./ListClustersPaginator";
|
|
5
5
|
export * from "./ListContainerInstancesPaginator";
|
|
6
|
+
export * from "./ListServicesByNamespacePaginator";
|
|
6
7
|
export * from "./ListServicesPaginator";
|
|
7
8
|
export * from "./ListTaskDefinitionFamiliesPaginator";
|
|
8
9
|
export * from "./ListTaskDefinitionsPaginator";
|
|
@@ -107,6 +107,10 @@ import {
|
|
|
107
107
|
ListContainerInstancesCommandInput,
|
|
108
108
|
ListContainerInstancesCommandOutput,
|
|
109
109
|
} from "../commands/ListContainerInstancesCommand";
|
|
110
|
+
import {
|
|
111
|
+
ListServicesByNamespaceCommandInput,
|
|
112
|
+
ListServicesByNamespaceCommandOutput,
|
|
113
|
+
} from "../commands/ListServicesByNamespaceCommand";
|
|
110
114
|
import {
|
|
111
115
|
ListServicesCommandInput,
|
|
112
116
|
ListServicesCommandOutput,
|
|
@@ -327,6 +331,10 @@ export declare const serializeAws_json1_1ListServicesCommand: (
|
|
|
327
331
|
input: ListServicesCommandInput,
|
|
328
332
|
context: __SerdeContext
|
|
329
333
|
) => Promise<__HttpRequest>;
|
|
334
|
+
export declare const serializeAws_json1_1ListServicesByNamespaceCommand: (
|
|
335
|
+
input: ListServicesByNamespaceCommandInput,
|
|
336
|
+
context: __SerdeContext
|
|
337
|
+
) => Promise<__HttpRequest>;
|
|
330
338
|
export declare const serializeAws_json1_1ListTagsForResourceCommand: (
|
|
331
339
|
input: ListTagsForResourceCommandInput,
|
|
332
340
|
context: __SerdeContext
|
|
@@ -543,6 +551,10 @@ export declare const deserializeAws_json1_1ListServicesCommand: (
|
|
|
543
551
|
output: __HttpResponse,
|
|
544
552
|
context: __SerdeContext
|
|
545
553
|
) => Promise<ListServicesCommandOutput>;
|
|
554
|
+
export declare const deserializeAws_json1_1ListServicesByNamespaceCommand: (
|
|
555
|
+
output: __HttpResponse,
|
|
556
|
+
context: __SerdeContext
|
|
557
|
+
) => Promise<ListServicesByNamespaceCommandOutput>;
|
|
546
558
|
export declare const deserializeAws_json1_1ListTagsForResourceCommand: (
|
|
547
559
|
output: __HttpResponse,
|
|
548
560
|
context: __SerdeContext
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-ecs",
|
|
3
3
|
"description": "AWS SDK for JavaScript Ecs Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.218.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -19,9 +19,9 @@
|
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
21
21
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
22
|
-
"@aws-sdk/client-sts": "3.
|
|
22
|
+
"@aws-sdk/client-sts": "3.218.0",
|
|
23
23
|
"@aws-sdk/config-resolver": "3.215.0",
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.218.0",
|
|
25
25
|
"@aws-sdk/fetch-http-handler": "3.215.0",
|
|
26
26
|
"@aws-sdk/hash-node": "3.215.0",
|
|
27
27
|
"@aws-sdk/invalid-dependency": "3.215.0",
|