@aws-sdk/client-ecs 3.216.0 → 3.222.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 +30 -29
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.deserializeAws_json1_1UpdateTaskSetCommand = exports.deserializeAws_json1_1UpdateTaskProtectionCommand = exports.deserializeAws_json1_1UpdateServicePrimaryTaskSetCommand = exports.deserializeAws_json1_1UpdateServiceCommand = exports.deserializeAws_json1_1UpdateContainerInstancesStateCommand = exports.deserializeAws_json1_1UpdateContainerAgentCommand = exports.deserializeAws_json1_1UpdateClusterSettingsCommand = exports.deserializeAws_json1_1UpdateClusterCommand = void 0;
|
|
3
|
+
exports.serializeAws_json1_1UpdateContainerAgentCommand = exports.serializeAws_json1_1UpdateClusterSettingsCommand = exports.serializeAws_json1_1UpdateClusterCommand = exports.serializeAws_json1_1UpdateCapacityProviderCommand = exports.serializeAws_json1_1UntagResourceCommand = exports.serializeAws_json1_1TagResourceCommand = exports.serializeAws_json1_1SubmitTaskStateChangeCommand = exports.serializeAws_json1_1SubmitContainerStateChangeCommand = exports.serializeAws_json1_1SubmitAttachmentStateChangesCommand = exports.serializeAws_json1_1StopTaskCommand = exports.serializeAws_json1_1StartTaskCommand = exports.serializeAws_json1_1RunTaskCommand = exports.serializeAws_json1_1RegisterTaskDefinitionCommand = exports.serializeAws_json1_1RegisterContainerInstanceCommand = exports.serializeAws_json1_1PutClusterCapacityProvidersCommand = exports.serializeAws_json1_1PutAttributesCommand = exports.serializeAws_json1_1PutAccountSettingDefaultCommand = exports.serializeAws_json1_1PutAccountSettingCommand = exports.serializeAws_json1_1ListTasksCommand = exports.serializeAws_json1_1ListTaskDefinitionsCommand = exports.serializeAws_json1_1ListTaskDefinitionFamiliesCommand = exports.serializeAws_json1_1ListTagsForResourceCommand = exports.serializeAws_json1_1ListServicesByNamespaceCommand = exports.serializeAws_json1_1ListServicesCommand = exports.serializeAws_json1_1ListContainerInstancesCommand = exports.serializeAws_json1_1ListClustersCommand = exports.serializeAws_json1_1ListAttributesCommand = exports.serializeAws_json1_1ListAccountSettingsCommand = exports.serializeAws_json1_1GetTaskProtectionCommand = exports.serializeAws_json1_1ExecuteCommandCommand = exports.serializeAws_json1_1DiscoverPollEndpointCommand = exports.serializeAws_json1_1DescribeTaskSetsCommand = exports.serializeAws_json1_1DescribeTasksCommand = exports.serializeAws_json1_1DescribeTaskDefinitionCommand = exports.serializeAws_json1_1DescribeServicesCommand = exports.serializeAws_json1_1DescribeContainerInstancesCommand = exports.serializeAws_json1_1DescribeClustersCommand = exports.serializeAws_json1_1DescribeCapacityProvidersCommand = exports.serializeAws_json1_1DeregisterTaskDefinitionCommand = exports.serializeAws_json1_1DeregisterContainerInstanceCommand = exports.serializeAws_json1_1DeleteTaskSetCommand = exports.serializeAws_json1_1DeleteServiceCommand = exports.serializeAws_json1_1DeleteClusterCommand = exports.serializeAws_json1_1DeleteCapacityProviderCommand = exports.serializeAws_json1_1DeleteAttributesCommand = exports.serializeAws_json1_1DeleteAccountSettingCommand = exports.serializeAws_json1_1CreateTaskSetCommand = exports.serializeAws_json1_1CreateServiceCommand = exports.serializeAws_json1_1CreateClusterCommand = exports.serializeAws_json1_1CreateCapacityProviderCommand = void 0;
|
|
4
|
+
exports.deserializeAws_json1_1TagResourceCommand = exports.deserializeAws_json1_1SubmitTaskStateChangeCommand = exports.deserializeAws_json1_1SubmitContainerStateChangeCommand = exports.deserializeAws_json1_1SubmitAttachmentStateChangesCommand = exports.deserializeAws_json1_1StopTaskCommand = exports.deserializeAws_json1_1StartTaskCommand = exports.deserializeAws_json1_1RunTaskCommand = exports.deserializeAws_json1_1RegisterTaskDefinitionCommand = exports.deserializeAws_json1_1RegisterContainerInstanceCommand = exports.deserializeAws_json1_1PutClusterCapacityProvidersCommand = exports.deserializeAws_json1_1PutAttributesCommand = exports.deserializeAws_json1_1PutAccountSettingDefaultCommand = exports.deserializeAws_json1_1PutAccountSettingCommand = exports.deserializeAws_json1_1ListTasksCommand = exports.deserializeAws_json1_1ListTaskDefinitionsCommand = exports.deserializeAws_json1_1ListTaskDefinitionFamiliesCommand = exports.deserializeAws_json1_1ListTagsForResourceCommand = exports.deserializeAws_json1_1ListServicesByNamespaceCommand = exports.deserializeAws_json1_1ListServicesCommand = exports.deserializeAws_json1_1ListContainerInstancesCommand = exports.deserializeAws_json1_1ListClustersCommand = exports.deserializeAws_json1_1ListAttributesCommand = exports.deserializeAws_json1_1ListAccountSettingsCommand = exports.deserializeAws_json1_1GetTaskProtectionCommand = exports.deserializeAws_json1_1ExecuteCommandCommand = exports.deserializeAws_json1_1DiscoverPollEndpointCommand = exports.deserializeAws_json1_1DescribeTaskSetsCommand = exports.deserializeAws_json1_1DescribeTasksCommand = exports.deserializeAws_json1_1DescribeTaskDefinitionCommand = exports.deserializeAws_json1_1DescribeServicesCommand = exports.deserializeAws_json1_1DescribeContainerInstancesCommand = exports.deserializeAws_json1_1DescribeClustersCommand = exports.deserializeAws_json1_1DescribeCapacityProvidersCommand = exports.deserializeAws_json1_1DeregisterTaskDefinitionCommand = exports.deserializeAws_json1_1DeregisterContainerInstanceCommand = exports.deserializeAws_json1_1DeleteTaskSetCommand = exports.deserializeAws_json1_1DeleteServiceCommand = exports.deserializeAws_json1_1DeleteClusterCommand = exports.deserializeAws_json1_1DeleteCapacityProviderCommand = exports.deserializeAws_json1_1DeleteAttributesCommand = exports.deserializeAws_json1_1DeleteAccountSettingCommand = exports.deserializeAws_json1_1CreateTaskSetCommand = exports.deserializeAws_json1_1CreateServiceCommand = exports.deserializeAws_json1_1CreateClusterCommand = exports.deserializeAws_json1_1CreateCapacityProviderCommand = exports.serializeAws_json1_1UpdateTaskSetCommand = exports.serializeAws_json1_1UpdateTaskProtectionCommand = exports.serializeAws_json1_1UpdateServicePrimaryTaskSetCommand = exports.serializeAws_json1_1UpdateServiceCommand = exports.serializeAws_json1_1UpdateContainerInstancesStateCommand = void 0;
|
|
5
|
+
exports.deserializeAws_json1_1UpdateTaskSetCommand = exports.deserializeAws_json1_1UpdateTaskProtectionCommand = exports.deserializeAws_json1_1UpdateServicePrimaryTaskSetCommand = exports.deserializeAws_json1_1UpdateServiceCommand = exports.deserializeAws_json1_1UpdateContainerInstancesStateCommand = exports.deserializeAws_json1_1UpdateContainerAgentCommand = exports.deserializeAws_json1_1UpdateClusterSettingsCommand = exports.deserializeAws_json1_1UpdateClusterCommand = exports.deserializeAws_json1_1UpdateCapacityProviderCommand = exports.deserializeAws_json1_1UntagResourceCommand = void 0;
|
|
6
6
|
const protocol_http_1 = require("@aws-sdk/protocol-http");
|
|
7
7
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
8
8
|
const ECSServiceException_1 = require("../models/ECSServiceException");
|
|
@@ -277,6 +277,16 @@ const serializeAws_json1_1ListServicesCommand = async (input, context) => {
|
|
|
277
277
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
278
278
|
};
|
|
279
279
|
exports.serializeAws_json1_1ListServicesCommand = serializeAws_json1_1ListServicesCommand;
|
|
280
|
+
const serializeAws_json1_1ListServicesByNamespaceCommand = async (input, context) => {
|
|
281
|
+
const headers = {
|
|
282
|
+
"content-type": "application/x-amz-json-1.1",
|
|
283
|
+
"x-amz-target": "AmazonEC2ContainerServiceV20141113.ListServicesByNamespace",
|
|
284
|
+
};
|
|
285
|
+
let body;
|
|
286
|
+
body = JSON.stringify(serializeAws_json1_1ListServicesByNamespaceRequest(input, context));
|
|
287
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
288
|
+
};
|
|
289
|
+
exports.serializeAws_json1_1ListServicesByNamespaceCommand = serializeAws_json1_1ListServicesByNamespaceCommand;
|
|
280
290
|
const serializeAws_json1_1ListTagsForResourceCommand = async (input, context) => {
|
|
281
291
|
const headers = {
|
|
282
292
|
"content-type": "application/x-amz-json-1.1",
|
|
@@ -666,6 +676,9 @@ const deserializeAws_json1_1CreateServiceCommandError = async (output, context)
|
|
|
666
676
|
case "InvalidParameterException":
|
|
667
677
|
case "com.amazonaws.ecs#InvalidParameterException":
|
|
668
678
|
throw await deserializeAws_json1_1InvalidParameterExceptionResponse(parsedOutput, context);
|
|
679
|
+
case "NamespaceNotFoundException":
|
|
680
|
+
case "com.amazonaws.ecs#NamespaceNotFoundException":
|
|
681
|
+
throw await deserializeAws_json1_1NamespaceNotFoundExceptionResponse(parsedOutput, context);
|
|
669
682
|
case "PlatformTaskDefinitionIncompatibilityException":
|
|
670
683
|
case "com.amazonaws.ecs#PlatformTaskDefinitionIncompatibilityException":
|
|
671
684
|
throw await deserializeAws_json1_1PlatformTaskDefinitionIncompatibilityExceptionResponse(parsedOutput, context);
|
|
@@ -721,6 +734,9 @@ const deserializeAws_json1_1CreateTaskSetCommandError = async (output, context)
|
|
|
721
734
|
case "InvalidParameterException":
|
|
722
735
|
case "com.amazonaws.ecs#InvalidParameterException":
|
|
723
736
|
throw await deserializeAws_json1_1InvalidParameterExceptionResponse(parsedOutput, context);
|
|
737
|
+
case "NamespaceNotFoundException":
|
|
738
|
+
case "com.amazonaws.ecs#NamespaceNotFoundException":
|
|
739
|
+
throw await deserializeAws_json1_1NamespaceNotFoundExceptionResponse(parsedOutput, context);
|
|
724
740
|
case "PlatformTaskDefinitionIncompatibilityException":
|
|
725
741
|
case "com.amazonaws.ecs#PlatformTaskDefinitionIncompatibilityException":
|
|
726
742
|
throw await deserializeAws_json1_1PlatformTaskDefinitionIncompatibilityExceptionResponse(parsedOutput, context);
|
|
@@ -1756,6 +1772,49 @@ const deserializeAws_json1_1ListServicesCommandError = async (output, context) =
|
|
|
1756
1772
|
});
|
|
1757
1773
|
}
|
|
1758
1774
|
};
|
|
1775
|
+
const deserializeAws_json1_1ListServicesByNamespaceCommand = async (output, context) => {
|
|
1776
|
+
if (output.statusCode >= 300) {
|
|
1777
|
+
return deserializeAws_json1_1ListServicesByNamespaceCommandError(output, context);
|
|
1778
|
+
}
|
|
1779
|
+
const data = await parseBody(output.body, context);
|
|
1780
|
+
let contents = {};
|
|
1781
|
+
contents = deserializeAws_json1_1ListServicesByNamespaceResponse(data, context);
|
|
1782
|
+
const response = {
|
|
1783
|
+
$metadata: deserializeMetadata(output),
|
|
1784
|
+
...contents,
|
|
1785
|
+
};
|
|
1786
|
+
return Promise.resolve(response);
|
|
1787
|
+
};
|
|
1788
|
+
exports.deserializeAws_json1_1ListServicesByNamespaceCommand = deserializeAws_json1_1ListServicesByNamespaceCommand;
|
|
1789
|
+
const deserializeAws_json1_1ListServicesByNamespaceCommandError = async (output, context) => {
|
|
1790
|
+
const parsedOutput = {
|
|
1791
|
+
...output,
|
|
1792
|
+
body: await parseErrorBody(output.body, context),
|
|
1793
|
+
};
|
|
1794
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1795
|
+
switch (errorCode) {
|
|
1796
|
+
case "ClientException":
|
|
1797
|
+
case "com.amazonaws.ecs#ClientException":
|
|
1798
|
+
throw await deserializeAws_json1_1ClientExceptionResponse(parsedOutput, context);
|
|
1799
|
+
case "InvalidParameterException":
|
|
1800
|
+
case "com.amazonaws.ecs#InvalidParameterException":
|
|
1801
|
+
throw await deserializeAws_json1_1InvalidParameterExceptionResponse(parsedOutput, context);
|
|
1802
|
+
case "NamespaceNotFoundException":
|
|
1803
|
+
case "com.amazonaws.ecs#NamespaceNotFoundException":
|
|
1804
|
+
throw await deserializeAws_json1_1NamespaceNotFoundExceptionResponse(parsedOutput, context);
|
|
1805
|
+
case "ServerException":
|
|
1806
|
+
case "com.amazonaws.ecs#ServerException":
|
|
1807
|
+
throw await deserializeAws_json1_1ServerExceptionResponse(parsedOutput, context);
|
|
1808
|
+
default:
|
|
1809
|
+
const parsedBody = parsedOutput.body;
|
|
1810
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1811
|
+
output,
|
|
1812
|
+
parsedBody,
|
|
1813
|
+
exceptionCtor: ECSServiceException_1.ECSServiceException,
|
|
1814
|
+
errorCode,
|
|
1815
|
+
});
|
|
1816
|
+
}
|
|
1817
|
+
};
|
|
1759
1818
|
const deserializeAws_json1_1ListTagsForResourceCommand = async (output, context) => {
|
|
1760
1819
|
if (output.statusCode >= 300) {
|
|
1761
1820
|
return deserializeAws_json1_1ListTagsForResourceCommandError(output, context);
|
|
@@ -2793,6 +2852,9 @@ const deserializeAws_json1_1UpdateServiceCommandError = async (output, context)
|
|
|
2793
2852
|
case "InvalidParameterException":
|
|
2794
2853
|
case "com.amazonaws.ecs#InvalidParameterException":
|
|
2795
2854
|
throw await deserializeAws_json1_1InvalidParameterExceptionResponse(parsedOutput, context);
|
|
2855
|
+
case "NamespaceNotFoundException":
|
|
2856
|
+
case "com.amazonaws.ecs#NamespaceNotFoundException":
|
|
2857
|
+
throw await deserializeAws_json1_1NamespaceNotFoundExceptionResponse(parsedOutput, context);
|
|
2796
2858
|
case "PlatformTaskDefinitionIncompatibilityException":
|
|
2797
2859
|
case "com.amazonaws.ecs#PlatformTaskDefinitionIncompatibilityException":
|
|
2798
2860
|
throw await deserializeAws_json1_1PlatformTaskDefinitionIncompatibilityExceptionResponse(parsedOutput, context);
|
|
@@ -3085,6 +3147,15 @@ const deserializeAws_json1_1MissingVersionExceptionResponse = async (parsedOutpu
|
|
|
3085
3147
|
});
|
|
3086
3148
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3087
3149
|
};
|
|
3150
|
+
const deserializeAws_json1_1NamespaceNotFoundExceptionResponse = async (parsedOutput, context) => {
|
|
3151
|
+
const body = parsedOutput.body;
|
|
3152
|
+
const deserialized = deserializeAws_json1_1NamespaceNotFoundException(body, context);
|
|
3153
|
+
const exception = new models_0_1.NamespaceNotFoundException({
|
|
3154
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
3155
|
+
...deserialized,
|
|
3156
|
+
});
|
|
3157
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3158
|
+
};
|
|
3088
3159
|
const deserializeAws_json1_1NoUpdateAvailableExceptionResponse = async (parsedOutput, context) => {
|
|
3089
3160
|
const body = parsedOutput.body;
|
|
3090
3161
|
const deserialized = deserializeAws_json1_1NoUpdateAvailableException(body, context);
|
|
@@ -3295,6 +3366,11 @@ const serializeAws_json1_1ClusterFieldList = (input, context) => {
|
|
|
3295
3366
|
return entry;
|
|
3296
3367
|
});
|
|
3297
3368
|
};
|
|
3369
|
+
const serializeAws_json1_1ClusterServiceConnectDefaultsRequest = (input, context) => {
|
|
3370
|
+
return {
|
|
3371
|
+
...(input.namespace != null && { namespace: input.namespace }),
|
|
3372
|
+
};
|
|
3373
|
+
};
|
|
3298
3374
|
const serializeAws_json1_1ClusterSetting = (input, context) => {
|
|
3299
3375
|
return {
|
|
3300
3376
|
...(input.name != null && { name: input.name }),
|
|
@@ -3475,6 +3551,9 @@ const serializeAws_json1_1CreateClusterRequest = (input, context) => {
|
|
|
3475
3551
|
...(input.defaultCapacityProviderStrategy != null && {
|
|
3476
3552
|
defaultCapacityProviderStrategy: serializeAws_json1_1CapacityProviderStrategy(input.defaultCapacityProviderStrategy, context),
|
|
3477
3553
|
}),
|
|
3554
|
+
...(input.serviceConnectDefaults != null && {
|
|
3555
|
+
serviceConnectDefaults: serializeAws_json1_1ClusterServiceConnectDefaultsRequest(input.serviceConnectDefaults, context),
|
|
3556
|
+
}),
|
|
3478
3557
|
...(input.settings != null && { settings: serializeAws_json1_1ClusterSettings(input.settings, context) }),
|
|
3479
3558
|
...(input.tags != null && { tags: serializeAws_json1_1Tags(input.tags, context) }),
|
|
3480
3559
|
};
|
|
@@ -3515,6 +3594,9 @@ const serializeAws_json1_1CreateServiceRequest = (input, context) => {
|
|
|
3515
3594
|
...(input.propagateTags != null && { propagateTags: input.propagateTags }),
|
|
3516
3595
|
...(input.role != null && { role: input.role }),
|
|
3517
3596
|
...(input.schedulingStrategy != null && { schedulingStrategy: input.schedulingStrategy }),
|
|
3597
|
+
...(input.serviceConnectConfiguration != null && {
|
|
3598
|
+
serviceConnectConfiguration: serializeAws_json1_1ServiceConnectConfiguration(input.serviceConnectConfiguration, context),
|
|
3599
|
+
}),
|
|
3518
3600
|
...(input.serviceName != null && { serviceName: input.serviceName }),
|
|
3519
3601
|
...(input.serviceRegistries != null && {
|
|
3520
3602
|
serviceRegistries: serializeAws_json1_1ServiceRegistries(input.serviceRegistries, context),
|
|
@@ -3939,6 +4021,13 @@ const serializeAws_json1_1ListContainerInstancesRequest = (input, context) => {
|
|
|
3939
4021
|
...(input.status != null && { status: input.status }),
|
|
3940
4022
|
};
|
|
3941
4023
|
};
|
|
4024
|
+
const serializeAws_json1_1ListServicesByNamespaceRequest = (input, context) => {
|
|
4025
|
+
return {
|
|
4026
|
+
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
4027
|
+
...(input.namespace != null && { namespace: input.namespace }),
|
|
4028
|
+
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
4029
|
+
};
|
|
4030
|
+
};
|
|
3942
4031
|
const serializeAws_json1_1ListServicesRequest = (input, context) => {
|
|
3943
4032
|
return {
|
|
3944
4033
|
...(input.cluster != null && { cluster: input.cluster }),
|
|
@@ -4115,8 +4204,10 @@ const serializeAws_json1_1PlatformDevices = (input, context) => {
|
|
|
4115
4204
|
};
|
|
4116
4205
|
const serializeAws_json1_1PortMapping = (input, context) => {
|
|
4117
4206
|
return {
|
|
4207
|
+
...(input.appProtocol != null && { appProtocol: input.appProtocol }),
|
|
4118
4208
|
...(input.containerPort != null && { containerPort: input.containerPort }),
|
|
4119
4209
|
...(input.hostPort != null && { hostPort: input.hostPort }),
|
|
4210
|
+
...(input.name != null && { name: input.name }),
|
|
4120
4211
|
...(input.protocol != null && { protocol: input.protocol }),
|
|
4121
4212
|
};
|
|
4122
4213
|
};
|
|
@@ -4318,6 +4409,46 @@ const serializeAws_json1_1SecretList = (input, context) => {
|
|
|
4318
4409
|
return serializeAws_json1_1Secret(entry, context);
|
|
4319
4410
|
});
|
|
4320
4411
|
};
|
|
4412
|
+
const serializeAws_json1_1ServiceConnectClientAlias = (input, context) => {
|
|
4413
|
+
return {
|
|
4414
|
+
...(input.dnsName != null && { dnsName: input.dnsName }),
|
|
4415
|
+
...(input.port != null && { port: input.port }),
|
|
4416
|
+
};
|
|
4417
|
+
};
|
|
4418
|
+
const serializeAws_json1_1ServiceConnectClientAliasList = (input, context) => {
|
|
4419
|
+
return input
|
|
4420
|
+
.filter((e) => e != null)
|
|
4421
|
+
.map((entry) => {
|
|
4422
|
+
return serializeAws_json1_1ServiceConnectClientAlias(entry, context);
|
|
4423
|
+
});
|
|
4424
|
+
};
|
|
4425
|
+
const serializeAws_json1_1ServiceConnectConfiguration = (input, context) => {
|
|
4426
|
+
return {
|
|
4427
|
+
...(input.enabled != null && { enabled: input.enabled }),
|
|
4428
|
+
...(input.logConfiguration != null && {
|
|
4429
|
+
logConfiguration: serializeAws_json1_1LogConfiguration(input.logConfiguration, context),
|
|
4430
|
+
}),
|
|
4431
|
+
...(input.namespace != null && { namespace: input.namespace }),
|
|
4432
|
+
...(input.services != null && { services: serializeAws_json1_1ServiceConnectServiceList(input.services, context) }),
|
|
4433
|
+
};
|
|
4434
|
+
};
|
|
4435
|
+
const serializeAws_json1_1ServiceConnectService = (input, context) => {
|
|
4436
|
+
return {
|
|
4437
|
+
...(input.clientAliases != null && {
|
|
4438
|
+
clientAliases: serializeAws_json1_1ServiceConnectClientAliasList(input.clientAliases, context),
|
|
4439
|
+
}),
|
|
4440
|
+
...(input.discoveryName != null && { discoveryName: input.discoveryName }),
|
|
4441
|
+
...(input.ingressPortOverride != null && { ingressPortOverride: input.ingressPortOverride }),
|
|
4442
|
+
...(input.portName != null && { portName: input.portName }),
|
|
4443
|
+
};
|
|
4444
|
+
};
|
|
4445
|
+
const serializeAws_json1_1ServiceConnectServiceList = (input, context) => {
|
|
4446
|
+
return input
|
|
4447
|
+
.filter((e) => e != null)
|
|
4448
|
+
.map((entry) => {
|
|
4449
|
+
return serializeAws_json1_1ServiceConnectService(entry, context);
|
|
4450
|
+
});
|
|
4451
|
+
};
|
|
4321
4452
|
const serializeAws_json1_1ServiceFieldList = (input, context) => {
|
|
4322
4453
|
return input
|
|
4323
4454
|
.filter((e) => e != null)
|
|
@@ -4565,6 +4696,9 @@ const serializeAws_json1_1UpdateClusterRequest = (input, context) => {
|
|
|
4565
4696
|
...(input.configuration != null && {
|
|
4566
4697
|
configuration: serializeAws_json1_1ClusterConfiguration(input.configuration, context),
|
|
4567
4698
|
}),
|
|
4699
|
+
...(input.serviceConnectDefaults != null && {
|
|
4700
|
+
serviceConnectDefaults: serializeAws_json1_1ClusterServiceConnectDefaultsRequest(input.serviceConnectDefaults, context),
|
|
4701
|
+
}),
|
|
4568
4702
|
...(input.settings != null && { settings: serializeAws_json1_1ClusterSettings(input.settings, context) }),
|
|
4569
4703
|
};
|
|
4570
4704
|
};
|
|
@@ -4627,6 +4761,9 @@ const serializeAws_json1_1UpdateServiceRequest = (input, context) => {
|
|
|
4627
4761
|
...(input.platformVersion != null && { platformVersion: input.platformVersion }),
|
|
4628
4762
|
...(input.propagateTags != null && { propagateTags: input.propagateTags }),
|
|
4629
4763
|
...(input.service != null && { service: input.service }),
|
|
4764
|
+
...(input.serviceConnectConfiguration != null && {
|
|
4765
|
+
serviceConnectConfiguration: serializeAws_json1_1ServiceConnectConfiguration(input.serviceConnectConfiguration, context),
|
|
4766
|
+
}),
|
|
4630
4767
|
...(input.serviceRegistries != null && {
|
|
4631
4768
|
serviceRegistries: serializeAws_json1_1ServiceRegistries(input.serviceRegistries, context),
|
|
4632
4769
|
}),
|
|
@@ -4835,6 +4972,9 @@ const deserializeAws_json1_1Cluster = (output, context) => {
|
|
|
4835
4972
|
pendingTasksCount: (0, smithy_client_1.expectInt32)(output.pendingTasksCount),
|
|
4836
4973
|
registeredContainerInstancesCount: (0, smithy_client_1.expectInt32)(output.registeredContainerInstancesCount),
|
|
4837
4974
|
runningTasksCount: (0, smithy_client_1.expectInt32)(output.runningTasksCount),
|
|
4975
|
+
serviceConnectDefaults: output.serviceConnectDefaults != null
|
|
4976
|
+
? deserializeAws_json1_1ClusterServiceConnectDefaults(output.serviceConnectDefaults, context)
|
|
4977
|
+
: undefined,
|
|
4838
4978
|
settings: output.settings != null ? deserializeAws_json1_1ClusterSettings(output.settings, context) : undefined,
|
|
4839
4979
|
statistics: output.statistics != null ? deserializeAws_json1_1Statistics(output.statistics, context) : undefined,
|
|
4840
4980
|
status: (0, smithy_client_1.expectString)(output.status),
|
|
@@ -4879,6 +5019,11 @@ const deserializeAws_json1_1Clusters = (output, context) => {
|
|
|
4879
5019
|
});
|
|
4880
5020
|
return retVal;
|
|
4881
5021
|
};
|
|
5022
|
+
const deserializeAws_json1_1ClusterServiceConnectDefaults = (output, context) => {
|
|
5023
|
+
return {
|
|
5024
|
+
namespace: (0, smithy_client_1.expectString)(output.namespace),
|
|
5025
|
+
};
|
|
5026
|
+
};
|
|
4882
5027
|
const deserializeAws_json1_1ClusterSetting = (output, context) => {
|
|
4883
5028
|
return {
|
|
4884
5029
|
name: (0, smithy_client_1.expectString)(output.name),
|
|
@@ -5175,6 +5320,12 @@ const deserializeAws_json1_1Deployment = (output, context) => {
|
|
|
5175
5320
|
rolloutState: (0, smithy_client_1.expectString)(output.rolloutState),
|
|
5176
5321
|
rolloutStateReason: (0, smithy_client_1.expectString)(output.rolloutStateReason),
|
|
5177
5322
|
runningCount: (0, smithy_client_1.expectInt32)(output.runningCount),
|
|
5323
|
+
serviceConnectConfiguration: output.serviceConnectConfiguration != null
|
|
5324
|
+
? deserializeAws_json1_1ServiceConnectConfiguration(output.serviceConnectConfiguration, context)
|
|
5325
|
+
: undefined,
|
|
5326
|
+
serviceConnectResources: output.serviceConnectResources != null
|
|
5327
|
+
? deserializeAws_json1_1ServiceConnectServiceResourceList(output.serviceConnectResources, context)
|
|
5328
|
+
: undefined,
|
|
5178
5329
|
status: (0, smithy_client_1.expectString)(output.status),
|
|
5179
5330
|
taskDefinition: (0, smithy_client_1.expectString)(output.taskDefinition),
|
|
5180
5331
|
updatedAt: output.updatedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.updatedAt))) : undefined,
|
|
@@ -5304,6 +5455,7 @@ const deserializeAws_json1_1DevicesList = (output, context) => {
|
|
|
5304
5455
|
const deserializeAws_json1_1DiscoverPollEndpointResponse = (output, context) => {
|
|
5305
5456
|
return {
|
|
5306
5457
|
endpoint: (0, smithy_client_1.expectString)(output.endpoint),
|
|
5458
|
+
serviceConnectEndpoint: (0, smithy_client_1.expectString)(output.serviceConnectEndpoint),
|
|
5307
5459
|
telemetryEndpoint: (0, smithy_client_1.expectString)(output.telemetryEndpoint),
|
|
5308
5460
|
};
|
|
5309
5461
|
};
|
|
@@ -5617,6 +5769,12 @@ const deserializeAws_json1_1ListContainerInstancesResponse = (output, context) =
|
|
|
5617
5769
|
nextToken: (0, smithy_client_1.expectString)(output.nextToken),
|
|
5618
5770
|
};
|
|
5619
5771
|
};
|
|
5772
|
+
const deserializeAws_json1_1ListServicesByNamespaceResponse = (output, context) => {
|
|
5773
|
+
return {
|
|
5774
|
+
nextToken: (0, smithy_client_1.expectString)(output.nextToken),
|
|
5775
|
+
serviceArns: output.serviceArns != null ? deserializeAws_json1_1StringList(output.serviceArns, context) : undefined,
|
|
5776
|
+
};
|
|
5777
|
+
};
|
|
5620
5778
|
const deserializeAws_json1_1ListServicesResponse = (output, context) => {
|
|
5621
5779
|
return {
|
|
5622
5780
|
nextToken: (0, smithy_client_1.expectString)(output.nextToken),
|
|
@@ -5736,6 +5894,11 @@ const deserializeAws_json1_1MountPointList = (output, context) => {
|
|
|
5736
5894
|
});
|
|
5737
5895
|
return retVal;
|
|
5738
5896
|
};
|
|
5897
|
+
const deserializeAws_json1_1NamespaceNotFoundException = (output, context) => {
|
|
5898
|
+
return {
|
|
5899
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
5900
|
+
};
|
|
5901
|
+
};
|
|
5739
5902
|
const deserializeAws_json1_1NetworkBinding = (output, context) => {
|
|
5740
5903
|
return {
|
|
5741
5904
|
bindIP: (0, smithy_client_1.expectString)(output.bindIP),
|
|
@@ -5831,8 +5994,10 @@ const deserializeAws_json1_1PlatformUnknownException = (output, context) => {
|
|
|
5831
5994
|
};
|
|
5832
5995
|
const deserializeAws_json1_1PortMapping = (output, context) => {
|
|
5833
5996
|
return {
|
|
5997
|
+
appProtocol: (0, smithy_client_1.expectString)(output.appProtocol),
|
|
5834
5998
|
containerPort: (0, smithy_client_1.expectInt32)(output.containerPort),
|
|
5835
5999
|
hostPort: (0, smithy_client_1.expectInt32)(output.hostPort),
|
|
6000
|
+
name: (0, smithy_client_1.expectString)(output.name),
|
|
5836
6001
|
protocol: (0, smithy_client_1.expectString)(output.protocol),
|
|
5837
6002
|
};
|
|
5838
6003
|
};
|
|
@@ -6073,6 +6238,71 @@ const deserializeAws_json1_1Service = (output, context) => {
|
|
|
6073
6238
|
taskSets: output.taskSets != null ? deserializeAws_json1_1TaskSets(output.taskSets, context) : undefined,
|
|
6074
6239
|
};
|
|
6075
6240
|
};
|
|
6241
|
+
const deserializeAws_json1_1ServiceConnectClientAlias = (output, context) => {
|
|
6242
|
+
return {
|
|
6243
|
+
dnsName: (0, smithy_client_1.expectString)(output.dnsName),
|
|
6244
|
+
port: (0, smithy_client_1.expectInt32)(output.port),
|
|
6245
|
+
};
|
|
6246
|
+
};
|
|
6247
|
+
const deserializeAws_json1_1ServiceConnectClientAliasList = (output, context) => {
|
|
6248
|
+
const retVal = (output || [])
|
|
6249
|
+
.filter((e) => e != null)
|
|
6250
|
+
.map((entry) => {
|
|
6251
|
+
if (entry === null) {
|
|
6252
|
+
return null;
|
|
6253
|
+
}
|
|
6254
|
+
return deserializeAws_json1_1ServiceConnectClientAlias(entry, context);
|
|
6255
|
+
});
|
|
6256
|
+
return retVal;
|
|
6257
|
+
};
|
|
6258
|
+
const deserializeAws_json1_1ServiceConnectConfiguration = (output, context) => {
|
|
6259
|
+
return {
|
|
6260
|
+
enabled: (0, smithy_client_1.expectBoolean)(output.enabled),
|
|
6261
|
+
logConfiguration: output.logConfiguration != null
|
|
6262
|
+
? deserializeAws_json1_1LogConfiguration(output.logConfiguration, context)
|
|
6263
|
+
: undefined,
|
|
6264
|
+
namespace: (0, smithy_client_1.expectString)(output.namespace),
|
|
6265
|
+
services: output.services != null ? deserializeAws_json1_1ServiceConnectServiceList(output.services, context) : undefined,
|
|
6266
|
+
};
|
|
6267
|
+
};
|
|
6268
|
+
const deserializeAws_json1_1ServiceConnectService = (output, context) => {
|
|
6269
|
+
return {
|
|
6270
|
+
clientAliases: output.clientAliases != null
|
|
6271
|
+
? deserializeAws_json1_1ServiceConnectClientAliasList(output.clientAliases, context)
|
|
6272
|
+
: undefined,
|
|
6273
|
+
discoveryName: (0, smithy_client_1.expectString)(output.discoveryName),
|
|
6274
|
+
ingressPortOverride: (0, smithy_client_1.expectInt32)(output.ingressPortOverride),
|
|
6275
|
+
portName: (0, smithy_client_1.expectString)(output.portName),
|
|
6276
|
+
};
|
|
6277
|
+
};
|
|
6278
|
+
const deserializeAws_json1_1ServiceConnectServiceList = (output, context) => {
|
|
6279
|
+
const retVal = (output || [])
|
|
6280
|
+
.filter((e) => e != null)
|
|
6281
|
+
.map((entry) => {
|
|
6282
|
+
if (entry === null) {
|
|
6283
|
+
return null;
|
|
6284
|
+
}
|
|
6285
|
+
return deserializeAws_json1_1ServiceConnectService(entry, context);
|
|
6286
|
+
});
|
|
6287
|
+
return retVal;
|
|
6288
|
+
};
|
|
6289
|
+
const deserializeAws_json1_1ServiceConnectServiceResource = (output, context) => {
|
|
6290
|
+
return {
|
|
6291
|
+
discoveryArn: (0, smithy_client_1.expectString)(output.discoveryArn),
|
|
6292
|
+
discoveryName: (0, smithy_client_1.expectString)(output.discoveryName),
|
|
6293
|
+
};
|
|
6294
|
+
};
|
|
6295
|
+
const deserializeAws_json1_1ServiceConnectServiceResourceList = (output, context) => {
|
|
6296
|
+
const retVal = (output || [])
|
|
6297
|
+
.filter((e) => e != null)
|
|
6298
|
+
.map((entry) => {
|
|
6299
|
+
if (entry === null) {
|
|
6300
|
+
return null;
|
|
6301
|
+
}
|
|
6302
|
+
return deserializeAws_json1_1ServiceConnectServiceResource(entry, context);
|
|
6303
|
+
});
|
|
6304
|
+
return retVal;
|
|
6305
|
+
};
|
|
6076
6306
|
const deserializeAws_json1_1ServiceEvent = (output, context) => {
|
|
6077
6307
|
return {
|
|
6078
6308
|
createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt))) : undefined,
|
package/dist-es/ECS.js
CHANGED
|
@@ -24,6 +24,7 @@ import { ListAccountSettingsCommand, } from "./commands/ListAccountSettingsComma
|
|
|
24
24
|
import { ListAttributesCommand, } from "./commands/ListAttributesCommand";
|
|
25
25
|
import { ListClustersCommand, } from "./commands/ListClustersCommand";
|
|
26
26
|
import { ListContainerInstancesCommand, } from "./commands/ListContainerInstancesCommand";
|
|
27
|
+
import { ListServicesByNamespaceCommand, } from "./commands/ListServicesByNamespaceCommand";
|
|
27
28
|
import { ListServicesCommand, } from "./commands/ListServicesCommand";
|
|
28
29
|
import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
|
|
29
30
|
import { ListTaskDefinitionFamiliesCommand, } from "./commands/ListTaskDefinitionFamiliesCommand";
|
|
@@ -432,6 +433,20 @@ export class ECS extends ECSClient {
|
|
|
432
433
|
return this.send(command, optionsOrCb);
|
|
433
434
|
}
|
|
434
435
|
}
|
|
436
|
+
listServicesByNamespace(args, optionsOrCb, cb) {
|
|
437
|
+
const command = new ListServicesByNamespaceCommand(args);
|
|
438
|
+
if (typeof optionsOrCb === "function") {
|
|
439
|
+
this.send(command, optionsOrCb);
|
|
440
|
+
}
|
|
441
|
+
else if (typeof cb === "function") {
|
|
442
|
+
if (typeof optionsOrCb !== "object")
|
|
443
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
444
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
445
|
+
}
|
|
446
|
+
else {
|
|
447
|
+
return this.send(command, optionsOrCb);
|
|
448
|
+
}
|
|
449
|
+
}
|
|
435
450
|
listTagsForResource(args, optionsOrCb, cb) {
|
|
436
451
|
const command = new ListTagsForResourceCommand(args);
|
|
437
452
|
if (typeof optionsOrCb === "function") {
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { ListServicesByNamespaceRequestFilterSensitiveLog, ListServicesByNamespaceResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_1ListServicesByNamespaceCommand, serializeAws_json1_1ListServicesByNamespaceCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
export class ListServicesByNamespaceCommand extends $Command {
|
|
7
|
+
constructor(input) {
|
|
8
|
+
super();
|
|
9
|
+
this.input = input;
|
|
10
|
+
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, ListServicesByNamespaceCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "ECSClient";
|
|
25
|
+
const commandName = "ListServicesByNamespaceCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: ListServicesByNamespaceRequestFilterSensitiveLog,
|
|
31
|
+
outputFilterSensitiveLog: ListServicesByNamespaceResponseFilterSensitiveLog,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return serializeAws_json1_1ListServicesByNamespaceCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return deserializeAws_json1_1ListServicesByNamespaceCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -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";
|
|
@@ -166,6 +166,17 @@ export var SchedulingStrategy;
|
|
|
166
166
|
SchedulingStrategy["DAEMON"] = "DAEMON";
|
|
167
167
|
SchedulingStrategy["REPLICA"] = "REPLICA";
|
|
168
168
|
})(SchedulingStrategy || (SchedulingStrategy = {}));
|
|
169
|
+
export var LogDriver;
|
|
170
|
+
(function (LogDriver) {
|
|
171
|
+
LogDriver["AWSFIRELENS"] = "awsfirelens";
|
|
172
|
+
LogDriver["AWSLOGS"] = "awslogs";
|
|
173
|
+
LogDriver["FLUENTD"] = "fluentd";
|
|
174
|
+
LogDriver["GELF"] = "gelf";
|
|
175
|
+
LogDriver["JOURNALD"] = "journald";
|
|
176
|
+
LogDriver["JSON_FILE"] = "json-file";
|
|
177
|
+
LogDriver["SPLUNK"] = "splunk";
|
|
178
|
+
LogDriver["SYSLOG"] = "syslog";
|
|
179
|
+
})(LogDriver || (LogDriver = {}));
|
|
169
180
|
export var DeploymentRolloutState;
|
|
170
181
|
(function (DeploymentRolloutState) {
|
|
171
182
|
DeploymentRolloutState["COMPLETED"] = "COMPLETED";
|
|
@@ -181,6 +192,18 @@ export var StabilityStatus;
|
|
|
181
192
|
StabilityStatus["STABILIZING"] = "STABILIZING";
|
|
182
193
|
StabilityStatus["STEADY_STATE"] = "STEADY_STATE";
|
|
183
194
|
})(StabilityStatus || (StabilityStatus = {}));
|
|
195
|
+
export class NamespaceNotFoundException extends __BaseException {
|
|
196
|
+
constructor(opts) {
|
|
197
|
+
super({
|
|
198
|
+
name: "NamespaceNotFoundException",
|
|
199
|
+
$fault: "client",
|
|
200
|
+
...opts,
|
|
201
|
+
});
|
|
202
|
+
this.name = "NamespaceNotFoundException";
|
|
203
|
+
this.$fault = "client";
|
|
204
|
+
Object.setPrototypeOf(this, NamespaceNotFoundException.prototype);
|
|
205
|
+
}
|
|
206
|
+
}
|
|
184
207
|
export class PlatformTaskDefinitionIncompatibilityException extends __BaseException {
|
|
185
208
|
constructor(opts) {
|
|
186
209
|
super({
|
|
@@ -352,17 +375,12 @@ export var DeviceCgroupPermission;
|
|
|
352
375
|
DeviceCgroupPermission["READ"] = "read";
|
|
353
376
|
DeviceCgroupPermission["WRITE"] = "write";
|
|
354
377
|
})(DeviceCgroupPermission || (DeviceCgroupPermission = {}));
|
|
355
|
-
export var
|
|
356
|
-
(function (
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
LogDriver["JOURNALD"] = "journald";
|
|
362
|
-
LogDriver["JSON_FILE"] = "json-file";
|
|
363
|
-
LogDriver["SPLUNK"] = "splunk";
|
|
364
|
-
LogDriver["SYSLOG"] = "syslog";
|
|
365
|
-
})(LogDriver || (LogDriver = {}));
|
|
378
|
+
export var ApplicationProtocol;
|
|
379
|
+
(function (ApplicationProtocol) {
|
|
380
|
+
ApplicationProtocol["GRPC"] = "grpc";
|
|
381
|
+
ApplicationProtocol["HTTP"] = "http";
|
|
382
|
+
ApplicationProtocol["HTTP2"] = "http2";
|
|
383
|
+
})(ApplicationProtocol || (ApplicationProtocol = {}));
|
|
366
384
|
export var TransportProtocol;
|
|
367
385
|
(function (TransportProtocol) {
|
|
368
386
|
TransportProtocol["TCP"] = "tcp";
|
|
@@ -500,7 +518,10 @@ export var ManagedAgentName;
|
|
|
500
518
|
export var TaskStopCode;
|
|
501
519
|
(function (TaskStopCode) {
|
|
502
520
|
TaskStopCode["ESSENTIAL_CONTAINER_EXITED"] = "EssentialContainerExited";
|
|
521
|
+
TaskStopCode["SERVICE_SCHEDULER_INITIATED"] = "ServiceSchedulerInitiated";
|
|
522
|
+
TaskStopCode["SPOT_INTERRUPTION"] = "SpotInterruption";
|
|
503
523
|
TaskStopCode["TASK_FAILED_TO_START"] = "TaskFailedToStart";
|
|
524
|
+
TaskStopCode["TERMINATION_NOTICE"] = "TerminationNotice";
|
|
504
525
|
TaskStopCode["USER_INITIATED"] = "UserInitiated";
|
|
505
526
|
})(TaskStopCode || (TaskStopCode = {}));
|
|
506
527
|
export var TaskSetField;
|
|
@@ -650,6 +671,9 @@ export const ClusterConfigurationFilterSensitiveLog = (obj) => ({
|
|
|
650
671
|
export const CapacityProviderStrategyItemFilterSensitiveLog = (obj) => ({
|
|
651
672
|
...obj,
|
|
652
673
|
});
|
|
674
|
+
export const ClusterServiceConnectDefaultsRequestFilterSensitiveLog = (obj) => ({
|
|
675
|
+
...obj,
|
|
676
|
+
});
|
|
653
677
|
export const ClusterSettingFilterSensitiveLog = (obj) => ({
|
|
654
678
|
...obj,
|
|
655
679
|
});
|
|
@@ -662,6 +686,9 @@ export const KeyValuePairFilterSensitiveLog = (obj) => ({
|
|
|
662
686
|
export const AttachmentFilterSensitiveLog = (obj) => ({
|
|
663
687
|
...obj,
|
|
664
688
|
});
|
|
689
|
+
export const ClusterServiceConnectDefaultsFilterSensitiveLog = (obj) => ({
|
|
690
|
+
...obj,
|
|
691
|
+
});
|
|
665
692
|
export const ClusterFilterSensitiveLog = (obj) => ({
|
|
666
693
|
...obj,
|
|
667
694
|
});
|
|
@@ -692,12 +719,30 @@ export const PlacementConstraintFilterSensitiveLog = (obj) => ({
|
|
|
692
719
|
export const PlacementStrategyFilterSensitiveLog = (obj) => ({
|
|
693
720
|
...obj,
|
|
694
721
|
});
|
|
722
|
+
export const SecretFilterSensitiveLog = (obj) => ({
|
|
723
|
+
...obj,
|
|
724
|
+
});
|
|
725
|
+
export const LogConfigurationFilterSensitiveLog = (obj) => ({
|
|
726
|
+
...obj,
|
|
727
|
+
});
|
|
728
|
+
export const ServiceConnectClientAliasFilterSensitiveLog = (obj) => ({
|
|
729
|
+
...obj,
|
|
730
|
+
});
|
|
731
|
+
export const ServiceConnectServiceFilterSensitiveLog = (obj) => ({
|
|
732
|
+
...obj,
|
|
733
|
+
});
|
|
734
|
+
export const ServiceConnectConfigurationFilterSensitiveLog = (obj) => ({
|
|
735
|
+
...obj,
|
|
736
|
+
});
|
|
695
737
|
export const ServiceRegistryFilterSensitiveLog = (obj) => ({
|
|
696
738
|
...obj,
|
|
697
739
|
});
|
|
698
740
|
export const CreateServiceRequestFilterSensitiveLog = (obj) => ({
|
|
699
741
|
...obj,
|
|
700
742
|
});
|
|
743
|
+
export const ServiceConnectServiceResourceFilterSensitiveLog = (obj) => ({
|
|
744
|
+
...obj,
|
|
745
|
+
});
|
|
701
746
|
export const DeploymentFilterSensitiveLog = (obj) => ({
|
|
702
747
|
...obj,
|
|
703
748
|
});
|
|
@@ -815,12 +860,6 @@ export const TmpfsFilterSensitiveLog = (obj) => ({
|
|
|
815
860
|
export const LinuxParametersFilterSensitiveLog = (obj) => ({
|
|
816
861
|
...obj,
|
|
817
862
|
});
|
|
818
|
-
export const SecretFilterSensitiveLog = (obj) => ({
|
|
819
|
-
...obj,
|
|
820
|
-
});
|
|
821
|
-
export const LogConfigurationFilterSensitiveLog = (obj) => ({
|
|
822
|
-
...obj,
|
|
823
|
-
});
|
|
824
863
|
export const MountPointFilterSensitiveLog = (obj) => ({
|
|
825
864
|
...obj,
|
|
826
865
|
});
|
|
@@ -1012,6 +1051,12 @@ export const ListServicesRequestFilterSensitiveLog = (obj) => ({
|
|
|
1012
1051
|
export const ListServicesResponseFilterSensitiveLog = (obj) => ({
|
|
1013
1052
|
...obj,
|
|
1014
1053
|
});
|
|
1054
|
+
export const ListServicesByNamespaceRequestFilterSensitiveLog = (obj) => ({
|
|
1055
|
+
...obj,
|
|
1056
|
+
});
|
|
1057
|
+
export const ListServicesByNamespaceResponseFilterSensitiveLog = (obj) => ({
|
|
1058
|
+
...obj,
|
|
1059
|
+
});
|
|
1015
1060
|
export const ListTagsForResourceRequestFilterSensitiveLog = (obj) => ({
|
|
1016
1061
|
...obj,
|
|
1017
1062
|
});
|