@aws-sdk/client-servicediscovery 3.31.0 → 3.32.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/CHANGELOG.md +8 -0
- package/dist/cjs/ServiceDiscoveryClient.js +13 -13
- package/dist/cjs/ServiceDiscoveryClient.js.map +1 -1
- package/dist/cjs/commands/CreateHttpNamespaceCommand.js +3 -3
- package/dist/cjs/commands/CreateHttpNamespaceCommand.js.map +1 -1
- package/dist/cjs/commands/CreatePrivateDnsNamespaceCommand.js +3 -3
- package/dist/cjs/commands/CreatePrivateDnsNamespaceCommand.js.map +1 -1
- package/dist/cjs/commands/CreatePublicDnsNamespaceCommand.js +3 -3
- package/dist/cjs/commands/CreatePublicDnsNamespaceCommand.js.map +1 -1
- package/dist/cjs/commands/CreateServiceCommand.js +3 -3
- package/dist/cjs/commands/CreateServiceCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteNamespaceCommand.js +3 -3
- package/dist/cjs/commands/DeleteNamespaceCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteServiceCommand.js +3 -3
- package/dist/cjs/commands/DeleteServiceCommand.js.map +1 -1
- package/dist/cjs/commands/DeregisterInstanceCommand.js +3 -3
- package/dist/cjs/commands/DeregisterInstanceCommand.js.map +1 -1
- package/dist/cjs/commands/DiscoverInstancesCommand.js +3 -3
- package/dist/cjs/commands/DiscoverInstancesCommand.js.map +1 -1
- package/dist/cjs/commands/GetInstanceCommand.js +3 -3
- package/dist/cjs/commands/GetInstanceCommand.js.map +1 -1
- package/dist/cjs/commands/GetInstancesHealthStatusCommand.js +3 -3
- package/dist/cjs/commands/GetInstancesHealthStatusCommand.js.map +1 -1
- package/dist/cjs/commands/GetNamespaceCommand.js +3 -3
- package/dist/cjs/commands/GetNamespaceCommand.js.map +1 -1
- package/dist/cjs/commands/GetOperationCommand.js +3 -3
- package/dist/cjs/commands/GetOperationCommand.js.map +1 -1
- package/dist/cjs/commands/GetServiceCommand.js +3 -3
- package/dist/cjs/commands/GetServiceCommand.js.map +1 -1
- package/dist/cjs/commands/ListInstancesCommand.js +3 -3
- package/dist/cjs/commands/ListInstancesCommand.js.map +1 -1
- package/dist/cjs/commands/ListNamespacesCommand.js +3 -3
- package/dist/cjs/commands/ListNamespacesCommand.js.map +1 -1
- package/dist/cjs/commands/ListOperationsCommand.js +3 -3
- package/dist/cjs/commands/ListOperationsCommand.js.map +1 -1
- package/dist/cjs/commands/ListServicesCommand.js +3 -3
- package/dist/cjs/commands/ListServicesCommand.js.map +1 -1
- package/dist/cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist/cjs/commands/ListTagsForResourceCommand.js.map +1 -1
- package/dist/cjs/commands/RegisterInstanceCommand.js +3 -3
- package/dist/cjs/commands/RegisterInstanceCommand.js.map +1 -1
- package/dist/cjs/commands/TagResourceCommand.js +3 -3
- package/dist/cjs/commands/TagResourceCommand.js.map +1 -1
- package/dist/cjs/commands/UntagResourceCommand.js +3 -3
- package/dist/cjs/commands/UntagResourceCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateHttpNamespaceCommand.js +3 -3
- package/dist/cjs/commands/UpdateHttpNamespaceCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateInstanceCustomHealthStatusCommand.js +3 -3
- package/dist/cjs/commands/UpdateInstanceCustomHealthStatusCommand.js.map +1 -1
- package/dist/cjs/commands/UpdatePrivateDnsNamespaceCommand.js +3 -3
- package/dist/cjs/commands/UpdatePrivateDnsNamespaceCommand.js.map +1 -1
- package/dist/cjs/commands/UpdatePublicDnsNamespaceCommand.js +3 -3
- package/dist/cjs/commands/UpdatePublicDnsNamespaceCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateServiceCommand.js +3 -3
- package/dist/cjs/commands/UpdateServiceCommand.js.map +1 -1
- package/dist/cjs/endpoints.js +1 -1
- package/dist/cjs/endpoints.js.map +1 -1
- package/dist/cjs/index.js +35 -35
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/models/index.js +1 -1
- package/dist/cjs/models/index.js.map +1 -1
- package/dist/cjs/package.json +31 -31
- package/dist/cjs/protocols/Aws_json1_1.js +107 -107
- package/dist/cjs/protocols/Aws_json1_1.js.map +1 -1
- package/dist/cjs/runtimeConfig.browser.js +4 -4
- package/dist/cjs/runtimeConfig.browser.js.map +1 -1
- package/dist/cjs/runtimeConfig.js +8 -8
- package/dist/cjs/runtimeConfig.js.map +1 -1
- package/dist/cjs/runtimeConfig.native.js +1 -1
- package/dist/cjs/runtimeConfig.native.js.map +1 -1
- package/dist/es/package.json +31 -31
- package/dist/es/pagination/GetInstancesHealthStatusPaginator.js +4 -4
- package/dist/es/pagination/GetInstancesHealthStatusPaginator.js.map +1 -1
- package/dist/es/pagination/ListInstancesPaginator.js +4 -4
- package/dist/es/pagination/ListInstancesPaginator.js.map +1 -1
- package/dist/es/pagination/ListNamespacesPaginator.js +4 -4
- package/dist/es/pagination/ListNamespacesPaginator.js.map +1 -1
- package/dist/es/pagination/ListOperationsPaginator.js +4 -4
- package/dist/es/pagination/ListOperationsPaginator.js.map +1 -1
- package/dist/es/pagination/ListServicesPaginator.js +4 -4
- package/dist/es/pagination/ListServicesPaginator.js.map +1 -1
- package/package.json +31 -31
- package/tsconfig.json +1 -2
|
@@ -85,7 +85,7 @@ const serializeAws_json1_1DiscoverInstancesCommand = async (input, context) => {
|
|
|
85
85
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
86
86
|
if (context.disableHostPrefix !== true) {
|
|
87
87
|
resolvedHostname = "data-" + resolvedHostname;
|
|
88
|
-
if (!
|
|
88
|
+
if (!protocol_http_1.isValidHostname(resolvedHostname)) {
|
|
89
89
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
90
90
|
}
|
|
91
91
|
}
|
|
@@ -2123,7 +2123,7 @@ const serializeAws_json1_1Attributes = (input, context) => {
|
|
|
2123
2123
|
const serializeAws_json1_1CreateHttpNamespaceRequest = (input, context) => {
|
|
2124
2124
|
var _a;
|
|
2125
2125
|
return {
|
|
2126
|
-
CreatorRequestId: (_a = input.CreatorRequestId) !== null && _a !== void 0 ? _a :
|
|
2126
|
+
CreatorRequestId: (_a = input.CreatorRequestId) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
2127
2127
|
...(input.Description !== undefined && input.Description !== null && { Description: input.Description }),
|
|
2128
2128
|
...(input.Name !== undefined && input.Name !== null && { Name: input.Name }),
|
|
2129
2129
|
...(input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }),
|
|
@@ -2132,7 +2132,7 @@ const serializeAws_json1_1CreateHttpNamespaceRequest = (input, context) => {
|
|
|
2132
2132
|
const serializeAws_json1_1CreatePrivateDnsNamespaceRequest = (input, context) => {
|
|
2133
2133
|
var _a;
|
|
2134
2134
|
return {
|
|
2135
|
-
CreatorRequestId: (_a = input.CreatorRequestId) !== null && _a !== void 0 ? _a :
|
|
2135
|
+
CreatorRequestId: (_a = input.CreatorRequestId) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
2136
2136
|
...(input.Description !== undefined && input.Description !== null && { Description: input.Description }),
|
|
2137
2137
|
...(input.Name !== undefined && input.Name !== null && { Name: input.Name }),
|
|
2138
2138
|
...(input.Properties !== undefined &&
|
|
@@ -2146,7 +2146,7 @@ const serializeAws_json1_1CreatePrivateDnsNamespaceRequest = (input, context) =>
|
|
|
2146
2146
|
const serializeAws_json1_1CreatePublicDnsNamespaceRequest = (input, context) => {
|
|
2147
2147
|
var _a;
|
|
2148
2148
|
return {
|
|
2149
|
-
CreatorRequestId: (_a = input.CreatorRequestId) !== null && _a !== void 0 ? _a :
|
|
2149
|
+
CreatorRequestId: (_a = input.CreatorRequestId) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
2150
2150
|
...(input.Description !== undefined && input.Description !== null && { Description: input.Description }),
|
|
2151
2151
|
...(input.Name !== undefined && input.Name !== null && { Name: input.Name }),
|
|
2152
2152
|
...(input.Properties !== undefined &&
|
|
@@ -2159,7 +2159,7 @@ const serializeAws_json1_1CreatePublicDnsNamespaceRequest = (input, context) =>
|
|
|
2159
2159
|
const serializeAws_json1_1CreateServiceRequest = (input, context) => {
|
|
2160
2160
|
var _a;
|
|
2161
2161
|
return {
|
|
2162
|
-
CreatorRequestId: (_a = input.CreatorRequestId) !== null && _a !== void 0 ? _a :
|
|
2162
|
+
CreatorRequestId: (_a = input.CreatorRequestId) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
2163
2163
|
...(input.Description !== undefined && input.Description !== null && { Description: input.Description }),
|
|
2164
2164
|
...(input.DnsConfig !== undefined &&
|
|
2165
2165
|
input.DnsConfig !== null && { DnsConfig: serializeAws_json1_1DnsConfig(input.DnsConfig, context) }),
|
|
@@ -2455,7 +2455,7 @@ const serializeAws_json1_1RegisterInstanceRequest = (input, context) => {
|
|
|
2455
2455
|
return {
|
|
2456
2456
|
...(input.Attributes !== undefined &&
|
|
2457
2457
|
input.Attributes !== null && { Attributes: serializeAws_json1_1Attributes(input.Attributes, context) }),
|
|
2458
|
-
CreatorRequestId: (_a = input.CreatorRequestId) !== null && _a !== void 0 ? _a :
|
|
2458
|
+
CreatorRequestId: (_a = input.CreatorRequestId) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
2459
2459
|
...(input.InstanceId !== undefined && input.InstanceId !== null && { InstanceId: input.InstanceId }),
|
|
2460
2460
|
...(input.ServiceId !== undefined && input.ServiceId !== null && { ServiceId: input.ServiceId }),
|
|
2461
2461
|
};
|
|
@@ -2544,7 +2544,7 @@ const serializeAws_json1_1UpdateHttpNamespaceRequest = (input, context) => {
|
|
|
2544
2544
|
...(input.Id !== undefined && input.Id !== null && { Id: input.Id }),
|
|
2545
2545
|
...(input.Namespace !== undefined &&
|
|
2546
2546
|
input.Namespace !== null && { Namespace: serializeAws_json1_1HttpNamespaceChange(input.Namespace, context) }),
|
|
2547
|
-
UpdaterRequestId: (_a = input.UpdaterRequestId) !== null && _a !== void 0 ? _a :
|
|
2547
|
+
UpdaterRequestId: (_a = input.UpdaterRequestId) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
2548
2548
|
};
|
|
2549
2549
|
};
|
|
2550
2550
|
const serializeAws_json1_1UpdateInstanceCustomHealthStatusRequest = (input, context) => {
|
|
@@ -2562,7 +2562,7 @@ const serializeAws_json1_1UpdatePrivateDnsNamespaceRequest = (input, context) =>
|
|
|
2562
2562
|
input.Namespace !== null && {
|
|
2563
2563
|
Namespace: serializeAws_json1_1PrivateDnsNamespaceChange(input.Namespace, context),
|
|
2564
2564
|
}),
|
|
2565
|
-
UpdaterRequestId: (_a = input.UpdaterRequestId) !== null && _a !== void 0 ? _a :
|
|
2565
|
+
UpdaterRequestId: (_a = input.UpdaterRequestId) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
2566
2566
|
};
|
|
2567
2567
|
};
|
|
2568
2568
|
const serializeAws_json1_1UpdatePublicDnsNamespaceRequest = (input, context) => {
|
|
@@ -2573,7 +2573,7 @@ const serializeAws_json1_1UpdatePublicDnsNamespaceRequest = (input, context) =>
|
|
|
2573
2573
|
input.Namespace !== null && {
|
|
2574
2574
|
Namespace: serializeAws_json1_1PublicDnsNamespaceChange(input.Namespace, context),
|
|
2575
2575
|
}),
|
|
2576
|
-
UpdaterRequestId: (_a = input.UpdaterRequestId) !== null && _a !== void 0 ? _a :
|
|
2576
|
+
UpdaterRequestId: (_a = input.UpdaterRequestId) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
2577
2577
|
};
|
|
2578
2578
|
};
|
|
2579
2579
|
const serializeAws_json1_1UpdateServiceRequest = (input, context) => {
|
|
@@ -2590,23 +2590,23 @@ const deserializeAws_json1_1Attributes = (output, context) => {
|
|
|
2590
2590
|
}
|
|
2591
2591
|
return {
|
|
2592
2592
|
...acc,
|
|
2593
|
-
[key]:
|
|
2593
|
+
[key]: smithy_client_1.expectString(value),
|
|
2594
2594
|
};
|
|
2595
2595
|
}, {});
|
|
2596
2596
|
};
|
|
2597
2597
|
const deserializeAws_json1_1CreateHttpNamespaceResponse = (output, context) => {
|
|
2598
2598
|
return {
|
|
2599
|
-
OperationId:
|
|
2599
|
+
OperationId: smithy_client_1.expectString(output.OperationId),
|
|
2600
2600
|
};
|
|
2601
2601
|
};
|
|
2602
2602
|
const deserializeAws_json1_1CreatePrivateDnsNamespaceResponse = (output, context) => {
|
|
2603
2603
|
return {
|
|
2604
|
-
OperationId:
|
|
2604
|
+
OperationId: smithy_client_1.expectString(output.OperationId),
|
|
2605
2605
|
};
|
|
2606
2606
|
};
|
|
2607
2607
|
const deserializeAws_json1_1CreatePublicDnsNamespaceResponse = (output, context) => {
|
|
2608
2608
|
return {
|
|
2609
|
-
OperationId:
|
|
2609
|
+
OperationId: smithy_client_1.expectString(output.OperationId),
|
|
2610
2610
|
};
|
|
2611
2611
|
};
|
|
2612
2612
|
const deserializeAws_json1_1CreateServiceResponse = (output, context) => {
|
|
@@ -2618,12 +2618,12 @@ const deserializeAws_json1_1CreateServiceResponse = (output, context) => {
|
|
|
2618
2618
|
};
|
|
2619
2619
|
const deserializeAws_json1_1CustomHealthNotFound = (output, context) => {
|
|
2620
2620
|
return {
|
|
2621
|
-
Message:
|
|
2621
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
2622
2622
|
};
|
|
2623
2623
|
};
|
|
2624
2624
|
const deserializeAws_json1_1DeleteNamespaceResponse = (output, context) => {
|
|
2625
2625
|
return {
|
|
2626
|
-
OperationId:
|
|
2626
|
+
OperationId: smithy_client_1.expectString(output.OperationId),
|
|
2627
2627
|
};
|
|
2628
2628
|
};
|
|
2629
2629
|
const deserializeAws_json1_1DeleteServiceResponse = (output, context) => {
|
|
@@ -2631,7 +2631,7 @@ const deserializeAws_json1_1DeleteServiceResponse = (output, context) => {
|
|
|
2631
2631
|
};
|
|
2632
2632
|
const deserializeAws_json1_1DeregisterInstanceResponse = (output, context) => {
|
|
2633
2633
|
return {
|
|
2634
|
-
OperationId:
|
|
2634
|
+
OperationId: smithy_client_1.expectString(output.OperationId),
|
|
2635
2635
|
};
|
|
2636
2636
|
};
|
|
2637
2637
|
const deserializeAws_json1_1DiscoverInstancesResponse = (output, context) => {
|
|
@@ -2646,20 +2646,20 @@ const deserializeAws_json1_1DnsConfig = (output, context) => {
|
|
|
2646
2646
|
DnsRecords: output.DnsRecords !== undefined && output.DnsRecords !== null
|
|
2647
2647
|
? deserializeAws_json1_1DnsRecordList(output.DnsRecords, context)
|
|
2648
2648
|
: undefined,
|
|
2649
|
-
NamespaceId:
|
|
2650
|
-
RoutingPolicy:
|
|
2649
|
+
NamespaceId: smithy_client_1.expectString(output.NamespaceId),
|
|
2650
|
+
RoutingPolicy: smithy_client_1.expectString(output.RoutingPolicy),
|
|
2651
2651
|
};
|
|
2652
2652
|
};
|
|
2653
2653
|
const deserializeAws_json1_1DnsProperties = (output, context) => {
|
|
2654
2654
|
return {
|
|
2655
|
-
HostedZoneId:
|
|
2655
|
+
HostedZoneId: smithy_client_1.expectString(output.HostedZoneId),
|
|
2656
2656
|
SOA: output.SOA !== undefined && output.SOA !== null ? deserializeAws_json1_1SOA(output.SOA, context) : undefined,
|
|
2657
2657
|
};
|
|
2658
2658
|
};
|
|
2659
2659
|
const deserializeAws_json1_1DnsRecord = (output, context) => {
|
|
2660
2660
|
return {
|
|
2661
|
-
TTL:
|
|
2662
|
-
Type:
|
|
2661
|
+
TTL: smithy_client_1.expectLong(output.TTL),
|
|
2662
|
+
Type: smithy_client_1.expectString(output.Type),
|
|
2663
2663
|
};
|
|
2664
2664
|
};
|
|
2665
2665
|
const deserializeAws_json1_1DnsRecordList = (output, context) => {
|
|
@@ -2674,8 +2674,8 @@ const deserializeAws_json1_1DnsRecordList = (output, context) => {
|
|
|
2674
2674
|
};
|
|
2675
2675
|
const deserializeAws_json1_1DuplicateRequest = (output, context) => {
|
|
2676
2676
|
return {
|
|
2677
|
-
DuplicateOperationId:
|
|
2678
|
-
Message:
|
|
2677
|
+
DuplicateOperationId: smithy_client_1.expectString(output.DuplicateOperationId),
|
|
2678
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
2679
2679
|
};
|
|
2680
2680
|
};
|
|
2681
2681
|
const deserializeAws_json1_1GetInstanceResponse = (output, context) => {
|
|
@@ -2687,7 +2687,7 @@ const deserializeAws_json1_1GetInstanceResponse = (output, context) => {
|
|
|
2687
2687
|
};
|
|
2688
2688
|
const deserializeAws_json1_1GetInstancesHealthStatusResponse = (output, context) => {
|
|
2689
2689
|
return {
|
|
2690
|
-
NextToken:
|
|
2690
|
+
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
2691
2691
|
Status: output.Status !== undefined && output.Status !== null
|
|
2692
2692
|
? deserializeAws_json1_1InstanceHealthStatusMap(output.Status, context)
|
|
2693
2693
|
: undefined,
|
|
@@ -2716,14 +2716,14 @@ const deserializeAws_json1_1GetServiceResponse = (output, context) => {
|
|
|
2716
2716
|
};
|
|
2717
2717
|
const deserializeAws_json1_1HealthCheckConfig = (output, context) => {
|
|
2718
2718
|
return {
|
|
2719
|
-
FailureThreshold:
|
|
2720
|
-
ResourcePath:
|
|
2721
|
-
Type:
|
|
2719
|
+
FailureThreshold: smithy_client_1.expectInt32(output.FailureThreshold),
|
|
2720
|
+
ResourcePath: smithy_client_1.expectString(output.ResourcePath),
|
|
2721
|
+
Type: smithy_client_1.expectString(output.Type),
|
|
2722
2722
|
};
|
|
2723
2723
|
};
|
|
2724
2724
|
const deserializeAws_json1_1HealthCheckCustomConfig = (output, context) => {
|
|
2725
2725
|
return {
|
|
2726
|
-
FailureThreshold:
|
|
2726
|
+
FailureThreshold: smithy_client_1.expectInt32(output.FailureThreshold),
|
|
2727
2727
|
};
|
|
2728
2728
|
};
|
|
2729
2729
|
const deserializeAws_json1_1HttpInstanceSummary = (output, context) => {
|
|
@@ -2731,10 +2731,10 @@ const deserializeAws_json1_1HttpInstanceSummary = (output, context) => {
|
|
|
2731
2731
|
Attributes: output.Attributes !== undefined && output.Attributes !== null
|
|
2732
2732
|
? deserializeAws_json1_1Attributes(output.Attributes, context)
|
|
2733
2733
|
: undefined,
|
|
2734
|
-
HealthStatus:
|
|
2735
|
-
InstanceId:
|
|
2736
|
-
NamespaceName:
|
|
2737
|
-
ServiceName:
|
|
2734
|
+
HealthStatus: smithy_client_1.expectString(output.HealthStatus),
|
|
2735
|
+
InstanceId: smithy_client_1.expectString(output.InstanceId),
|
|
2736
|
+
NamespaceName: smithy_client_1.expectString(output.NamespaceName),
|
|
2737
|
+
ServiceName: smithy_client_1.expectString(output.ServiceName),
|
|
2738
2738
|
};
|
|
2739
2739
|
};
|
|
2740
2740
|
const deserializeAws_json1_1HttpInstanceSummaryList = (output, context) => {
|
|
@@ -2749,7 +2749,7 @@ const deserializeAws_json1_1HttpInstanceSummaryList = (output, context) => {
|
|
|
2749
2749
|
};
|
|
2750
2750
|
const deserializeAws_json1_1HttpProperties = (output, context) => {
|
|
2751
2751
|
return {
|
|
2752
|
-
HttpName:
|
|
2752
|
+
HttpName: smithy_client_1.expectString(output.HttpName),
|
|
2753
2753
|
};
|
|
2754
2754
|
};
|
|
2755
2755
|
const deserializeAws_json1_1Instance = (output, context) => {
|
|
@@ -2757,8 +2757,8 @@ const deserializeAws_json1_1Instance = (output, context) => {
|
|
|
2757
2757
|
Attributes: output.Attributes !== undefined && output.Attributes !== null
|
|
2758
2758
|
? deserializeAws_json1_1Attributes(output.Attributes, context)
|
|
2759
2759
|
: undefined,
|
|
2760
|
-
CreatorRequestId:
|
|
2761
|
-
Id:
|
|
2760
|
+
CreatorRequestId: smithy_client_1.expectString(output.CreatorRequestId),
|
|
2761
|
+
Id: smithy_client_1.expectString(output.Id),
|
|
2762
2762
|
};
|
|
2763
2763
|
};
|
|
2764
2764
|
const deserializeAws_json1_1InstanceHealthStatusMap = (output, context) => {
|
|
@@ -2768,13 +2768,13 @@ const deserializeAws_json1_1InstanceHealthStatusMap = (output, context) => {
|
|
|
2768
2768
|
}
|
|
2769
2769
|
return {
|
|
2770
2770
|
...acc,
|
|
2771
|
-
[key]:
|
|
2771
|
+
[key]: smithy_client_1.expectString(value),
|
|
2772
2772
|
};
|
|
2773
2773
|
}, {});
|
|
2774
2774
|
};
|
|
2775
2775
|
const deserializeAws_json1_1InstanceNotFound = (output, context) => {
|
|
2776
2776
|
return {
|
|
2777
|
-
Message:
|
|
2777
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
2778
2778
|
};
|
|
2779
2779
|
};
|
|
2780
2780
|
const deserializeAws_json1_1InstanceSummary = (output, context) => {
|
|
@@ -2782,7 +2782,7 @@ const deserializeAws_json1_1InstanceSummary = (output, context) => {
|
|
|
2782
2782
|
Attributes: output.Attributes !== undefined && output.Attributes !== null
|
|
2783
2783
|
? deserializeAws_json1_1Attributes(output.Attributes, context)
|
|
2784
2784
|
: undefined,
|
|
2785
|
-
Id:
|
|
2785
|
+
Id: smithy_client_1.expectString(output.Id),
|
|
2786
2786
|
};
|
|
2787
2787
|
};
|
|
2788
2788
|
const deserializeAws_json1_1InstanceSummaryList = (output, context) => {
|
|
@@ -2797,7 +2797,7 @@ const deserializeAws_json1_1InstanceSummaryList = (output, context) => {
|
|
|
2797
2797
|
};
|
|
2798
2798
|
const deserializeAws_json1_1InvalidInput = (output, context) => {
|
|
2799
2799
|
return {
|
|
2800
|
-
Message:
|
|
2800
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
2801
2801
|
};
|
|
2802
2802
|
};
|
|
2803
2803
|
const deserializeAws_json1_1ListInstancesResponse = (output, context) => {
|
|
@@ -2805,7 +2805,7 @@ const deserializeAws_json1_1ListInstancesResponse = (output, context) => {
|
|
|
2805
2805
|
Instances: output.Instances !== undefined && output.Instances !== null
|
|
2806
2806
|
? deserializeAws_json1_1InstanceSummaryList(output.Instances, context)
|
|
2807
2807
|
: undefined,
|
|
2808
|
-
NextToken:
|
|
2808
|
+
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
2809
2809
|
};
|
|
2810
2810
|
};
|
|
2811
2811
|
const deserializeAws_json1_1ListNamespacesResponse = (output, context) => {
|
|
@@ -2813,12 +2813,12 @@ const deserializeAws_json1_1ListNamespacesResponse = (output, context) => {
|
|
|
2813
2813
|
Namespaces: output.Namespaces !== undefined && output.Namespaces !== null
|
|
2814
2814
|
? deserializeAws_json1_1NamespaceSummariesList(output.Namespaces, context)
|
|
2815
2815
|
: undefined,
|
|
2816
|
-
NextToken:
|
|
2816
|
+
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
2817
2817
|
};
|
|
2818
2818
|
};
|
|
2819
2819
|
const deserializeAws_json1_1ListOperationsResponse = (output, context) => {
|
|
2820
2820
|
return {
|
|
2821
|
-
NextToken:
|
|
2821
|
+
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
2822
2822
|
Operations: output.Operations !== undefined && output.Operations !== null
|
|
2823
2823
|
? deserializeAws_json1_1OperationSummaryList(output.Operations, context)
|
|
2824
2824
|
: undefined,
|
|
@@ -2826,7 +2826,7 @@ const deserializeAws_json1_1ListOperationsResponse = (output, context) => {
|
|
|
2826
2826
|
};
|
|
2827
2827
|
const deserializeAws_json1_1ListServicesResponse = (output, context) => {
|
|
2828
2828
|
return {
|
|
2829
|
-
NextToken:
|
|
2829
|
+
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
2830
2830
|
Services: output.Services !== undefined && output.Services !== null
|
|
2831
2831
|
? deserializeAws_json1_1ServiceSummariesList(output.Services, context)
|
|
2832
2832
|
: undefined,
|
|
@@ -2841,31 +2841,31 @@ const deserializeAws_json1_1ListTagsForResourceResponse = (output, context) => {
|
|
|
2841
2841
|
};
|
|
2842
2842
|
const deserializeAws_json1_1Namespace = (output, context) => {
|
|
2843
2843
|
return {
|
|
2844
|
-
Arn:
|
|
2844
|
+
Arn: smithy_client_1.expectString(output.Arn),
|
|
2845
2845
|
CreateDate: output.CreateDate !== undefined && output.CreateDate !== null
|
|
2846
|
-
?
|
|
2846
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreateDate)))
|
|
2847
2847
|
: undefined,
|
|
2848
|
-
CreatorRequestId:
|
|
2849
|
-
Description:
|
|
2850
|
-
Id:
|
|
2851
|
-
Name:
|
|
2848
|
+
CreatorRequestId: smithy_client_1.expectString(output.CreatorRequestId),
|
|
2849
|
+
Description: smithy_client_1.expectString(output.Description),
|
|
2850
|
+
Id: smithy_client_1.expectString(output.Id),
|
|
2851
|
+
Name: smithy_client_1.expectString(output.Name),
|
|
2852
2852
|
Properties: output.Properties !== undefined && output.Properties !== null
|
|
2853
2853
|
? deserializeAws_json1_1NamespaceProperties(output.Properties, context)
|
|
2854
2854
|
: undefined,
|
|
2855
|
-
ServiceCount:
|
|
2856
|
-
Type:
|
|
2855
|
+
ServiceCount: smithy_client_1.expectInt32(output.ServiceCount),
|
|
2856
|
+
Type: smithy_client_1.expectString(output.Type),
|
|
2857
2857
|
};
|
|
2858
2858
|
};
|
|
2859
2859
|
const deserializeAws_json1_1NamespaceAlreadyExists = (output, context) => {
|
|
2860
2860
|
return {
|
|
2861
|
-
CreatorRequestId:
|
|
2862
|
-
Message:
|
|
2863
|
-
NamespaceId:
|
|
2861
|
+
CreatorRequestId: smithy_client_1.expectString(output.CreatorRequestId),
|
|
2862
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
2863
|
+
NamespaceId: smithy_client_1.expectString(output.NamespaceId),
|
|
2864
2864
|
};
|
|
2865
2865
|
};
|
|
2866
2866
|
const deserializeAws_json1_1NamespaceNotFound = (output, context) => {
|
|
2867
2867
|
return {
|
|
2868
|
-
Message:
|
|
2868
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
2869
2869
|
};
|
|
2870
2870
|
};
|
|
2871
2871
|
const deserializeAws_json1_1NamespaceProperties = (output, context) => {
|
|
@@ -2890,47 +2890,47 @@ const deserializeAws_json1_1NamespaceSummariesList = (output, context) => {
|
|
|
2890
2890
|
};
|
|
2891
2891
|
const deserializeAws_json1_1NamespaceSummary = (output, context) => {
|
|
2892
2892
|
return {
|
|
2893
|
-
Arn:
|
|
2893
|
+
Arn: smithy_client_1.expectString(output.Arn),
|
|
2894
2894
|
CreateDate: output.CreateDate !== undefined && output.CreateDate !== null
|
|
2895
|
-
?
|
|
2895
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreateDate)))
|
|
2896
2896
|
: undefined,
|
|
2897
|
-
Description:
|
|
2898
|
-
Id:
|
|
2899
|
-
Name:
|
|
2897
|
+
Description: smithy_client_1.expectString(output.Description),
|
|
2898
|
+
Id: smithy_client_1.expectString(output.Id),
|
|
2899
|
+
Name: smithy_client_1.expectString(output.Name),
|
|
2900
2900
|
Properties: output.Properties !== undefined && output.Properties !== null
|
|
2901
2901
|
? deserializeAws_json1_1NamespaceProperties(output.Properties, context)
|
|
2902
2902
|
: undefined,
|
|
2903
|
-
ServiceCount:
|
|
2904
|
-
Type:
|
|
2903
|
+
ServiceCount: smithy_client_1.expectInt32(output.ServiceCount),
|
|
2904
|
+
Type: smithy_client_1.expectString(output.Type),
|
|
2905
2905
|
};
|
|
2906
2906
|
};
|
|
2907
2907
|
const deserializeAws_json1_1Operation = (output, context) => {
|
|
2908
2908
|
return {
|
|
2909
2909
|
CreateDate: output.CreateDate !== undefined && output.CreateDate !== null
|
|
2910
|
-
?
|
|
2910
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreateDate)))
|
|
2911
2911
|
: undefined,
|
|
2912
|
-
ErrorCode:
|
|
2913
|
-
ErrorMessage:
|
|
2914
|
-
Id:
|
|
2915
|
-
Status:
|
|
2912
|
+
ErrorCode: smithy_client_1.expectString(output.ErrorCode),
|
|
2913
|
+
ErrorMessage: smithy_client_1.expectString(output.ErrorMessage),
|
|
2914
|
+
Id: smithy_client_1.expectString(output.Id),
|
|
2915
|
+
Status: smithy_client_1.expectString(output.Status),
|
|
2916
2916
|
Targets: output.Targets !== undefined && output.Targets !== null
|
|
2917
2917
|
? deserializeAws_json1_1OperationTargetsMap(output.Targets, context)
|
|
2918
2918
|
: undefined,
|
|
2919
|
-
Type:
|
|
2919
|
+
Type: smithy_client_1.expectString(output.Type),
|
|
2920
2920
|
UpdateDate: output.UpdateDate !== undefined && output.UpdateDate !== null
|
|
2921
|
-
?
|
|
2921
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.UpdateDate)))
|
|
2922
2922
|
: undefined,
|
|
2923
2923
|
};
|
|
2924
2924
|
};
|
|
2925
2925
|
const deserializeAws_json1_1OperationNotFound = (output, context) => {
|
|
2926
2926
|
return {
|
|
2927
|
-
Message:
|
|
2927
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
2928
2928
|
};
|
|
2929
2929
|
};
|
|
2930
2930
|
const deserializeAws_json1_1OperationSummary = (output, context) => {
|
|
2931
2931
|
return {
|
|
2932
|
-
Id:
|
|
2933
|
-
Status:
|
|
2932
|
+
Id: smithy_client_1.expectString(output.Id),
|
|
2933
|
+
Status: smithy_client_1.expectString(output.Status),
|
|
2934
2934
|
};
|
|
2935
2935
|
};
|
|
2936
2936
|
const deserializeAws_json1_1OperationSummaryList = (output, context) => {
|
|
@@ -2950,43 +2950,43 @@ const deserializeAws_json1_1OperationTargetsMap = (output, context) => {
|
|
|
2950
2950
|
}
|
|
2951
2951
|
return {
|
|
2952
2952
|
...acc,
|
|
2953
|
-
[key]:
|
|
2953
|
+
[key]: smithy_client_1.expectString(value),
|
|
2954
2954
|
};
|
|
2955
2955
|
}, {});
|
|
2956
2956
|
};
|
|
2957
2957
|
const deserializeAws_json1_1RegisterInstanceResponse = (output, context) => {
|
|
2958
2958
|
return {
|
|
2959
|
-
OperationId:
|
|
2959
|
+
OperationId: smithy_client_1.expectString(output.OperationId),
|
|
2960
2960
|
};
|
|
2961
2961
|
};
|
|
2962
2962
|
const deserializeAws_json1_1RequestLimitExceeded = (output, context) => {
|
|
2963
2963
|
return {
|
|
2964
|
-
Message:
|
|
2964
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
2965
2965
|
};
|
|
2966
2966
|
};
|
|
2967
2967
|
const deserializeAws_json1_1ResourceInUse = (output, context) => {
|
|
2968
2968
|
return {
|
|
2969
|
-
Message:
|
|
2969
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
2970
2970
|
};
|
|
2971
2971
|
};
|
|
2972
2972
|
const deserializeAws_json1_1ResourceLimitExceeded = (output, context) => {
|
|
2973
2973
|
return {
|
|
2974
|
-
Message:
|
|
2974
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
2975
2975
|
};
|
|
2976
2976
|
};
|
|
2977
2977
|
const deserializeAws_json1_1ResourceNotFoundException = (output, context) => {
|
|
2978
2978
|
return {
|
|
2979
|
-
Message:
|
|
2979
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
2980
2980
|
};
|
|
2981
2981
|
};
|
|
2982
2982
|
const deserializeAws_json1_1Service = (output, context) => {
|
|
2983
2983
|
return {
|
|
2984
|
-
Arn:
|
|
2984
|
+
Arn: smithy_client_1.expectString(output.Arn),
|
|
2985
2985
|
CreateDate: output.CreateDate !== undefined && output.CreateDate !== null
|
|
2986
|
-
?
|
|
2986
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreateDate)))
|
|
2987
2987
|
: undefined,
|
|
2988
|
-
CreatorRequestId:
|
|
2989
|
-
Description:
|
|
2988
|
+
CreatorRequestId: smithy_client_1.expectString(output.CreatorRequestId),
|
|
2989
|
+
Description: smithy_client_1.expectString(output.Description),
|
|
2990
2990
|
DnsConfig: output.DnsConfig !== undefined && output.DnsConfig !== null
|
|
2991
2991
|
? deserializeAws_json1_1DnsConfig(output.DnsConfig, context)
|
|
2992
2992
|
: undefined,
|
|
@@ -2996,23 +2996,23 @@ const deserializeAws_json1_1Service = (output, context) => {
|
|
|
2996
2996
|
HealthCheckCustomConfig: output.HealthCheckCustomConfig !== undefined && output.HealthCheckCustomConfig !== null
|
|
2997
2997
|
? deserializeAws_json1_1HealthCheckCustomConfig(output.HealthCheckCustomConfig, context)
|
|
2998
2998
|
: undefined,
|
|
2999
|
-
Id:
|
|
3000
|
-
InstanceCount:
|
|
3001
|
-
Name:
|
|
3002
|
-
NamespaceId:
|
|
3003
|
-
Type:
|
|
2999
|
+
Id: smithy_client_1.expectString(output.Id),
|
|
3000
|
+
InstanceCount: smithy_client_1.expectInt32(output.InstanceCount),
|
|
3001
|
+
Name: smithy_client_1.expectString(output.Name),
|
|
3002
|
+
NamespaceId: smithy_client_1.expectString(output.NamespaceId),
|
|
3003
|
+
Type: smithy_client_1.expectString(output.Type),
|
|
3004
3004
|
};
|
|
3005
3005
|
};
|
|
3006
3006
|
const deserializeAws_json1_1ServiceAlreadyExists = (output, context) => {
|
|
3007
3007
|
return {
|
|
3008
|
-
CreatorRequestId:
|
|
3009
|
-
Message:
|
|
3010
|
-
ServiceId:
|
|
3008
|
+
CreatorRequestId: smithy_client_1.expectString(output.CreatorRequestId),
|
|
3009
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
3010
|
+
ServiceId: smithy_client_1.expectString(output.ServiceId),
|
|
3011
3011
|
};
|
|
3012
3012
|
};
|
|
3013
3013
|
const deserializeAws_json1_1ServiceNotFound = (output, context) => {
|
|
3014
3014
|
return {
|
|
3015
|
-
Message:
|
|
3015
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
3016
3016
|
};
|
|
3017
3017
|
};
|
|
3018
3018
|
const deserializeAws_json1_1ServiceSummariesList = (output, context) => {
|
|
@@ -3027,11 +3027,11 @@ const deserializeAws_json1_1ServiceSummariesList = (output, context) => {
|
|
|
3027
3027
|
};
|
|
3028
3028
|
const deserializeAws_json1_1ServiceSummary = (output, context) => {
|
|
3029
3029
|
return {
|
|
3030
|
-
Arn:
|
|
3030
|
+
Arn: smithy_client_1.expectString(output.Arn),
|
|
3031
3031
|
CreateDate: output.CreateDate !== undefined && output.CreateDate !== null
|
|
3032
|
-
?
|
|
3032
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreateDate)))
|
|
3033
3033
|
: undefined,
|
|
3034
|
-
Description:
|
|
3034
|
+
Description: smithy_client_1.expectString(output.Description),
|
|
3035
3035
|
DnsConfig: output.DnsConfig !== undefined && output.DnsConfig !== null
|
|
3036
3036
|
? deserializeAws_json1_1DnsConfig(output.DnsConfig, context)
|
|
3037
3037
|
: undefined,
|
|
@@ -3041,21 +3041,21 @@ const deserializeAws_json1_1ServiceSummary = (output, context) => {
|
|
|
3041
3041
|
HealthCheckCustomConfig: output.HealthCheckCustomConfig !== undefined && output.HealthCheckCustomConfig !== null
|
|
3042
3042
|
? deserializeAws_json1_1HealthCheckCustomConfig(output.HealthCheckCustomConfig, context)
|
|
3043
3043
|
: undefined,
|
|
3044
|
-
Id:
|
|
3045
|
-
InstanceCount:
|
|
3046
|
-
Name:
|
|
3047
|
-
Type:
|
|
3044
|
+
Id: smithy_client_1.expectString(output.Id),
|
|
3045
|
+
InstanceCount: smithy_client_1.expectInt32(output.InstanceCount),
|
|
3046
|
+
Name: smithy_client_1.expectString(output.Name),
|
|
3047
|
+
Type: smithy_client_1.expectString(output.Type),
|
|
3048
3048
|
};
|
|
3049
3049
|
};
|
|
3050
3050
|
const deserializeAws_json1_1SOA = (output, context) => {
|
|
3051
3051
|
return {
|
|
3052
|
-
TTL:
|
|
3052
|
+
TTL: smithy_client_1.expectLong(output.TTL),
|
|
3053
3053
|
};
|
|
3054
3054
|
};
|
|
3055
3055
|
const deserializeAws_json1_1Tag = (output, context) => {
|
|
3056
3056
|
return {
|
|
3057
|
-
Key:
|
|
3058
|
-
Value:
|
|
3057
|
+
Key: smithy_client_1.expectString(output.Key),
|
|
3058
|
+
Value: smithy_client_1.expectString(output.Value),
|
|
3059
3059
|
};
|
|
3060
3060
|
};
|
|
3061
3061
|
const deserializeAws_json1_1TagList = (output, context) => {
|
|
@@ -3073,8 +3073,8 @@ const deserializeAws_json1_1TagResourceResponse = (output, context) => {
|
|
|
3073
3073
|
};
|
|
3074
3074
|
const deserializeAws_json1_1TooManyTagsException = (output, context) => {
|
|
3075
3075
|
return {
|
|
3076
|
-
Message:
|
|
3077
|
-
ResourceName:
|
|
3076
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
3077
|
+
ResourceName: smithy_client_1.expectString(output.ResourceName),
|
|
3078
3078
|
};
|
|
3079
3079
|
};
|
|
3080
3080
|
const deserializeAws_json1_1UntagResourceResponse = (output, context) => {
|
|
@@ -3082,22 +3082,22 @@ const deserializeAws_json1_1UntagResourceResponse = (output, context) => {
|
|
|
3082
3082
|
};
|
|
3083
3083
|
const deserializeAws_json1_1UpdateHttpNamespaceResponse = (output, context) => {
|
|
3084
3084
|
return {
|
|
3085
|
-
OperationId:
|
|
3085
|
+
OperationId: smithy_client_1.expectString(output.OperationId),
|
|
3086
3086
|
};
|
|
3087
3087
|
};
|
|
3088
3088
|
const deserializeAws_json1_1UpdatePrivateDnsNamespaceResponse = (output, context) => {
|
|
3089
3089
|
return {
|
|
3090
|
-
OperationId:
|
|
3090
|
+
OperationId: smithy_client_1.expectString(output.OperationId),
|
|
3091
3091
|
};
|
|
3092
3092
|
};
|
|
3093
3093
|
const deserializeAws_json1_1UpdatePublicDnsNamespaceResponse = (output, context) => {
|
|
3094
3094
|
return {
|
|
3095
|
-
OperationId:
|
|
3095
|
+
OperationId: smithy_client_1.expectString(output.OperationId),
|
|
3096
3096
|
};
|
|
3097
3097
|
};
|
|
3098
3098
|
const deserializeAws_json1_1UpdateServiceResponse = (output, context) => {
|
|
3099
3099
|
return {
|
|
3100
|
-
OperationId:
|
|
3100
|
+
OperationId: smithy_client_1.expectString(output.OperationId),
|
|
3101
3101
|
};
|
|
3102
3102
|
};
|
|
3103
3103
|
const deserializeMetadata = (output) => {
|