@aws-sdk/client-servicediscovery 3.28.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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-servicediscovery",
3
3
  "description": "AWS SDK for JavaScript Servicediscovery Client for Node.js, Browser and React Native",
4
- "version": "3.28.0",
4
+ "version": "3.32.0",
5
5
  "scripts": {
6
6
  "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation",
7
7
  "build-documentation": "yarn remove-documentation && typedoc ./",
@@ -27,39 +27,39 @@
27
27
  "dependencies": {
28
28
  "@aws-crypto/sha256-browser": "^1.0.0",
29
29
  "@aws-crypto/sha256-js": "^1.0.0",
30
- "@aws-sdk/client-sts": "3.28.0",
31
- "@aws-sdk/config-resolver": "3.28.0",
32
- "@aws-sdk/credential-provider-node": "3.28.0",
33
- "@aws-sdk/fetch-http-handler": "3.25.0",
34
- "@aws-sdk/hash-node": "3.25.0",
35
- "@aws-sdk/invalid-dependency": "3.25.0",
36
- "@aws-sdk/middleware-content-length": "3.25.0",
37
- "@aws-sdk/middleware-host-header": "3.25.0",
38
- "@aws-sdk/middleware-logger": "3.25.0",
39
- "@aws-sdk/middleware-retry": "3.28.0",
40
- "@aws-sdk/middleware-serde": "3.25.0",
41
- "@aws-sdk/middleware-signing": "3.28.0",
42
- "@aws-sdk/middleware-stack": "3.25.0",
43
- "@aws-sdk/middleware-user-agent": "3.25.0",
44
- "@aws-sdk/node-config-provider": "3.28.0",
45
- "@aws-sdk/node-http-handler": "3.25.0",
46
- "@aws-sdk/protocol-http": "3.25.0",
47
- "@aws-sdk/smithy-client": "3.28.0",
48
- "@aws-sdk/types": "3.25.0",
49
- "@aws-sdk/url-parser": "3.25.0",
50
- "@aws-sdk/util-base64-browser": "3.23.0",
51
- "@aws-sdk/util-base64-node": "3.23.0",
52
- "@aws-sdk/util-body-length-browser": "3.23.0",
53
- "@aws-sdk/util-body-length-node": "3.23.0",
54
- "@aws-sdk/util-user-agent-browser": "3.25.0",
55
- "@aws-sdk/util-user-agent-node": "3.28.0",
56
- "@aws-sdk/util-utf8-browser": "3.23.0",
57
- "@aws-sdk/util-utf8-node": "3.23.0",
30
+ "@aws-sdk/client-sts": "3.32.0",
31
+ "@aws-sdk/config-resolver": "3.32.0",
32
+ "@aws-sdk/credential-provider-node": "3.32.0",
33
+ "@aws-sdk/fetch-http-handler": "3.32.0",
34
+ "@aws-sdk/hash-node": "3.32.0",
35
+ "@aws-sdk/invalid-dependency": "3.32.0",
36
+ "@aws-sdk/middleware-content-length": "3.32.0",
37
+ "@aws-sdk/middleware-host-header": "3.32.0",
38
+ "@aws-sdk/middleware-logger": "3.32.0",
39
+ "@aws-sdk/middleware-retry": "3.32.0",
40
+ "@aws-sdk/middleware-serde": "3.32.0",
41
+ "@aws-sdk/middleware-signing": "3.32.0",
42
+ "@aws-sdk/middleware-stack": "3.32.0",
43
+ "@aws-sdk/middleware-user-agent": "3.32.0",
44
+ "@aws-sdk/node-config-provider": "3.32.0",
45
+ "@aws-sdk/node-http-handler": "3.32.0",
46
+ "@aws-sdk/protocol-http": "3.32.0",
47
+ "@aws-sdk/smithy-client": "3.32.0",
48
+ "@aws-sdk/types": "3.32.0",
49
+ "@aws-sdk/url-parser": "3.32.0",
50
+ "@aws-sdk/util-base64-browser": "3.32.0",
51
+ "@aws-sdk/util-base64-node": "3.32.0",
52
+ "@aws-sdk/util-body-length-browser": "3.32.0",
53
+ "@aws-sdk/util-body-length-node": "3.32.0",
54
+ "@aws-sdk/util-user-agent-browser": "3.32.0",
55
+ "@aws-sdk/util-user-agent-node": "3.32.0",
56
+ "@aws-sdk/util-utf8-browser": "3.32.0",
57
+ "@aws-sdk/util-utf8-node": "3.32.0",
58
58
  "tslib": "^2.3.0",
59
59
  "uuid": "^8.3.2"
60
60
  },
61
61
  "devDependencies": {
62
- "@aws-sdk/client-documentation-generator": "3.23.0",
62
+ "@aws-sdk/client-documentation-generator": "3.32.0",
63
63
  "@types/node": "^12.7.5",
64
64
  "@types/uuid": "^8.3.0",
65
65
  "downlevel-dts": "0.7.0",
@@ -67,7 +67,7 @@
67
67
  "rimraf": "^3.0.0",
68
68
  "ts-jest": "^26.4.1",
69
69
  "typedoc": "^0.19.2",
70
- "typescript": "~4.3.2"
70
+ "typescript": "~4.3.5"
71
71
  },
72
72
  "engines": {
73
73
  "node": ">=10.0.0"
@@ -1,6 +1,6 @@
1
1
  import { __assign, __awaiter, __generator, __read } from "tslib";
2
2
  import { HttpRequest as __HttpRequest, isValidHostname as __isValidHostname, } from "@aws-sdk/protocol-http";
3
- import { expectInt as __expectInt, expectString as __expectString } from "@aws-sdk/smithy-client";
3
+ import { expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, parseEpochTimestamp as __parseEpochTimestamp, } from "@aws-sdk/smithy-client";
4
4
  import { v4 as generateIdempotencyToken } from "uuid";
5
5
  export var serializeAws_json1_1CreateHttpNamespaceCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
6
6
  var headers, body;
@@ -2727,7 +2727,7 @@ var deserializeAws_json1_1DnsProperties = function (output, context) {
2727
2727
  };
2728
2728
  var deserializeAws_json1_1DnsRecord = function (output, context) {
2729
2729
  return {
2730
- TTL: __expectInt(output.TTL),
2730
+ TTL: __expectLong(output.TTL),
2731
2731
  Type: __expectString(output.Type),
2732
2732
  };
2733
2733
  };
@@ -2785,14 +2785,14 @@ var deserializeAws_json1_1GetServiceResponse = function (output, context) {
2785
2785
  };
2786
2786
  var deserializeAws_json1_1HealthCheckConfig = function (output, context) {
2787
2787
  return {
2788
- FailureThreshold: __expectInt(output.FailureThreshold),
2788
+ FailureThreshold: __expectInt32(output.FailureThreshold),
2789
2789
  ResourcePath: __expectString(output.ResourcePath),
2790
2790
  Type: __expectString(output.Type),
2791
2791
  };
2792
2792
  };
2793
2793
  var deserializeAws_json1_1HealthCheckCustomConfig = function (output, context) {
2794
2794
  return {
2795
- FailureThreshold: __expectInt(output.FailureThreshold),
2795
+ FailureThreshold: __expectInt32(output.FailureThreshold),
2796
2796
  };
2797
2797
  };
2798
2798
  var deserializeAws_json1_1HttpInstanceSummary = function (output, context) {
@@ -2911,7 +2911,7 @@ var deserializeAws_json1_1Namespace = function (output, context) {
2911
2911
  return {
2912
2912
  Arn: __expectString(output.Arn),
2913
2913
  CreateDate: output.CreateDate !== undefined && output.CreateDate !== null
2914
- ? new Date(Math.round(output.CreateDate * 1000))
2914
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreateDate)))
2915
2915
  : undefined,
2916
2916
  CreatorRequestId: __expectString(output.CreatorRequestId),
2917
2917
  Description: __expectString(output.Description),
@@ -2920,7 +2920,7 @@ var deserializeAws_json1_1Namespace = function (output, context) {
2920
2920
  Properties: output.Properties !== undefined && output.Properties !== null
2921
2921
  ? deserializeAws_json1_1NamespaceProperties(output.Properties, context)
2922
2922
  : undefined,
2923
- ServiceCount: __expectInt(output.ServiceCount),
2923
+ ServiceCount: __expectInt32(output.ServiceCount),
2924
2924
  Type: __expectString(output.Type),
2925
2925
  };
2926
2926
  };
@@ -2960,7 +2960,7 @@ var deserializeAws_json1_1NamespaceSummary = function (output, context) {
2960
2960
  return {
2961
2961
  Arn: __expectString(output.Arn),
2962
2962
  CreateDate: output.CreateDate !== undefined && output.CreateDate !== null
2963
- ? new Date(Math.round(output.CreateDate * 1000))
2963
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreateDate)))
2964
2964
  : undefined,
2965
2965
  Description: __expectString(output.Description),
2966
2966
  Id: __expectString(output.Id),
@@ -2968,14 +2968,14 @@ var deserializeAws_json1_1NamespaceSummary = function (output, context) {
2968
2968
  Properties: output.Properties !== undefined && output.Properties !== null
2969
2969
  ? deserializeAws_json1_1NamespaceProperties(output.Properties, context)
2970
2970
  : undefined,
2971
- ServiceCount: __expectInt(output.ServiceCount),
2971
+ ServiceCount: __expectInt32(output.ServiceCount),
2972
2972
  Type: __expectString(output.Type),
2973
2973
  };
2974
2974
  };
2975
2975
  var deserializeAws_json1_1Operation = function (output, context) {
2976
2976
  return {
2977
2977
  CreateDate: output.CreateDate !== undefined && output.CreateDate !== null
2978
- ? new Date(Math.round(output.CreateDate * 1000))
2978
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreateDate)))
2979
2979
  : undefined,
2980
2980
  ErrorCode: __expectString(output.ErrorCode),
2981
2981
  ErrorMessage: __expectString(output.ErrorMessage),
@@ -2986,7 +2986,7 @@ var deserializeAws_json1_1Operation = function (output, context) {
2986
2986
  : undefined,
2987
2987
  Type: __expectString(output.Type),
2988
2988
  UpdateDate: output.UpdateDate !== undefined && output.UpdateDate !== null
2989
- ? new Date(Math.round(output.UpdateDate * 1000))
2989
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.UpdateDate)))
2990
2990
  : undefined,
2991
2991
  };
2992
2992
  };
@@ -3050,7 +3050,7 @@ var deserializeAws_json1_1Service = function (output, context) {
3050
3050
  return {
3051
3051
  Arn: __expectString(output.Arn),
3052
3052
  CreateDate: output.CreateDate !== undefined && output.CreateDate !== null
3053
- ? new Date(Math.round(output.CreateDate * 1000))
3053
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreateDate)))
3054
3054
  : undefined,
3055
3055
  CreatorRequestId: __expectString(output.CreatorRequestId),
3056
3056
  Description: __expectString(output.Description),
@@ -3064,7 +3064,7 @@ var deserializeAws_json1_1Service = function (output, context) {
3064
3064
  ? deserializeAws_json1_1HealthCheckCustomConfig(output.HealthCheckCustomConfig, context)
3065
3065
  : undefined,
3066
3066
  Id: __expectString(output.Id),
3067
- InstanceCount: __expectInt(output.InstanceCount),
3067
+ InstanceCount: __expectInt32(output.InstanceCount),
3068
3068
  Name: __expectString(output.Name),
3069
3069
  NamespaceId: __expectString(output.NamespaceId),
3070
3070
  Type: __expectString(output.Type),
@@ -3096,7 +3096,7 @@ var deserializeAws_json1_1ServiceSummary = function (output, context) {
3096
3096
  return {
3097
3097
  Arn: __expectString(output.Arn),
3098
3098
  CreateDate: output.CreateDate !== undefined && output.CreateDate !== null
3099
- ? new Date(Math.round(output.CreateDate * 1000))
3099
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreateDate)))
3100
3100
  : undefined,
3101
3101
  Description: __expectString(output.Description),
3102
3102
  DnsConfig: output.DnsConfig !== undefined && output.DnsConfig !== null
@@ -3109,14 +3109,14 @@ var deserializeAws_json1_1ServiceSummary = function (output, context) {
3109
3109
  ? deserializeAws_json1_1HealthCheckCustomConfig(output.HealthCheckCustomConfig, context)
3110
3110
  : undefined,
3111
3111
  Id: __expectString(output.Id),
3112
- InstanceCount: __expectInt(output.InstanceCount),
3112
+ InstanceCount: __expectInt32(output.InstanceCount),
3113
3113
  Name: __expectString(output.Name),
3114
3114
  Type: __expectString(output.Type),
3115
3115
  };
3116
3116
  };
3117
3117
  var deserializeAws_json1_1SOA = function (output, context) {
3118
3118
  return {
3119
- TTL: __expectInt(output.TTL),
3119
+ TTL: __expectLong(output.TTL),
3120
3120
  };
3121
3121
  };
3122
3122
  var deserializeAws_json1_1Tag = function (output, context) {