@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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,41 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.32.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.31.0...v3.32.0) (2021-09-17)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-servicediscovery
9
+
10
+
11
+
12
+
13
+
14
+ # [3.31.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.30.0...v3.31.0) (2021-09-11)
15
+
16
+
17
+ ### Features
18
+
19
+ * **clients:** update clients as of 09/10/2021 ([#2776](https://github.com/aws/aws-sdk-js-v3/issues/2776)) ([3f49ae7](https://github.com/aws/aws-sdk-js-v3/commit/3f49ae758688f73d5ce16ee21ac597a113199bff))
20
+
21
+
22
+
23
+
24
+
25
+ # [3.30.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.29.0...v3.30.0) (2021-09-07)
26
+
27
+ **Note:** Version bump only for package @aws-sdk/client-servicediscovery
28
+
29
+
30
+
31
+
32
+
33
+ # [3.29.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.28.0...v3.29.0) (2021-09-02)
34
+
35
+ **Note:** Version bump only for package @aws-sdk/client-servicediscovery
36
+
37
+
38
+
39
+
40
+
6
41
  # [3.28.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.27.0...v3.28.0) (2021-08-27)
7
42
 
8
43
 
@@ -4,8 +4,8 @@ exports.defaultRegionInfoProvider = void 0;
4
4
  const config_resolver_1 = require("@aws-sdk/config-resolver");
5
5
  const regionHash = {
6
6
  "servicediscovery-fips": {
7
- hostname: "servicediscovery-fips.ca-central-1.amazonaws.com",
8
- signingRegion: "ca-central-1",
7
+ hostname: "servicediscovery-fips.us-gov-west-1.amazonaws.com",
8
+ signingRegion: "us-gov-west-1",
9
9
  },
10
10
  };
11
11
  const partitionHash = {
@@ -49,7 +49,7 @@ const partitionHash = {
49
49
  hostname: "servicediscovery.{region}.sc2s.sgov.gov",
50
50
  },
51
51
  "aws-us-gov": {
52
- regions: ["us-gov-east-1", "us-gov-west-1"],
52
+ regions: ["servicediscovery-fips", "us-gov-east-1", "us-gov-west-1"],
53
53
  hostname: "servicediscovery.{region}.amazonaws.com",
54
54
  },
55
55
  };
@@ -1 +1 @@
1
- {"version":3,"file":"endpoints.js","sourceRoot":"","sources":["../../endpoints.ts"],"names":[],"mappings":";;;AAAA,8DAAoF;AAGpF,MAAM,UAAU,GAAe;IAC7B,uBAAuB,EAAE;QACvB,QAAQ,EAAE,kDAAkD;QAC5D,aAAa,EAAE,cAAc;KAC9B;CACF,CAAC;AAEF,MAAM,aAAa,GAAkB;IACnC,GAAG,EAAE;QACH,OAAO,EAAE;YACP,YAAY;YACZ,WAAW;YACX,gBAAgB;YAChB,gBAAgB;YAChB,gBAAgB;YAChB,YAAY;YACZ,gBAAgB;YAChB,gBAAgB;YAChB,cAAc;YACd,cAAc;YACd,YAAY;YACZ,YAAY;YACZ,WAAW;YACX,WAAW;YACX,WAAW;YACX,YAAY;YACZ,WAAW;YACX,uBAAuB;YACvB,WAAW;YACX,WAAW;YACX,WAAW;YACX,WAAW;SACZ;QACD,QAAQ,EAAE,yCAAyC;KACpD;IACD,QAAQ,EAAE;QACR,OAAO,EAAE,CAAC,YAAY,EAAE,gBAAgB,CAAC;QACzC,QAAQ,EAAE,4CAA4C;KACvD;IACD,SAAS,EAAE;QACT,OAAO,EAAE,CAAC,eAAe,CAAC;QAC1B,QAAQ,EAAE,sCAAsC;KACjD;IACD,WAAW,EAAE;QACX,OAAO,EAAE,CAAC,gBAAgB,CAAC;QAC3B,QAAQ,EAAE,yCAAyC;KACpD;IACD,YAAY,EAAE;QACZ,OAAO,EAAE,CAAC,eAAe,EAAE,eAAe,CAAC;QAC3C,QAAQ,EA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GAAuB,KAAK,EAAE,MAAc,EAAE,OAAa,EAAE,EAAE,CACnG,+BAAa,CAAC,MAAM,EAAE;IACpB,GAAG,OAAO;IACV,cAAc,EAAE,kBAAkB;IAClC,UAAU;IACV,aAAa;CACd,CAAC,CAAC;AANQ,QAAA,yBAAyB,6BAMjC"}
@@ -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"
@@ -2658,7 +2658,7 @@ const deserializeAws_json1_1DnsProperties = (output, context) => {
2658
2658
  };
2659
2659
  const deserializeAws_json1_1DnsRecord = (output, context) => {
2660
2660
  return {
2661
- TTL: smithy_client_1.expectInt(output.TTL),
2661
+ TTL: smithy_client_1.expectLong(output.TTL),
2662
2662
  Type: smithy_client_1.expectString(output.Type),
2663
2663
  };
2664
2664
  };
@@ -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: smithy_client_1.expectInt(output.FailureThreshold),
2719
+ FailureThreshold: smithy_client_1.expectInt32(output.FailureThreshold),
2720
2720
  ResourcePath: smithy_client_1.expectString(output.ResourcePath),
2721
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: smithy_client_1.expectInt(output.FailureThreshold),
2726
+ FailureThreshold: smithy_client_1.expectInt32(output.FailureThreshold),
2727
2727
  };
2728
2728
  };
2729
2729
  const deserializeAws_json1_1HttpInstanceSummary = (output, context) => {
@@ -2843,7 +2843,7 @@ const deserializeAws_json1_1Namespace = (output, context) => {
2843
2843
  return {
2844
2844
  Arn: smithy_client_1.expectString(output.Arn),
2845
2845
  CreateDate: output.CreateDate !== undefined && output.CreateDate !== null
2846
- ? new Date(Math.round(output.CreateDate * 1000))
2846
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreateDate)))
2847
2847
  : undefined,
2848
2848
  CreatorRequestId: smithy_client_1.expectString(output.CreatorRequestId),
2849
2849
  Description: smithy_client_1.expectString(output.Description),
@@ -2852,7 +2852,7 @@ const deserializeAws_json1_1Namespace = (output, context) => {
2852
2852
  Properties: output.Properties !== undefined && output.Properties !== null
2853
2853
  ? deserializeAws_json1_1NamespaceProperties(output.Properties, context)
2854
2854
  : undefined,
2855
- ServiceCount: smithy_client_1.expectInt(output.ServiceCount),
2855
+ ServiceCount: smithy_client_1.expectInt32(output.ServiceCount),
2856
2856
  Type: smithy_client_1.expectString(output.Type),
2857
2857
  };
2858
2858
  };
@@ -2892,7 +2892,7 @@ const deserializeAws_json1_1NamespaceSummary = (output, context) => {
2892
2892
  return {
2893
2893
  Arn: smithy_client_1.expectString(output.Arn),
2894
2894
  CreateDate: output.CreateDate !== undefined && output.CreateDate !== null
2895
- ? new Date(Math.round(output.CreateDate * 1000))
2895
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreateDate)))
2896
2896
  : undefined,
2897
2897
  Description: smithy_client_1.expectString(output.Description),
2898
2898
  Id: smithy_client_1.expectString(output.Id),
@@ -2900,14 +2900,14 @@ const deserializeAws_json1_1NamespaceSummary = (output, context) => {
2900
2900
  Properties: output.Properties !== undefined && output.Properties !== null
2901
2901
  ? deserializeAws_json1_1NamespaceProperties(output.Properties, context)
2902
2902
  : undefined,
2903
- ServiceCount: smithy_client_1.expectInt(output.ServiceCount),
2903
+ ServiceCount: smithy_client_1.expectInt32(output.ServiceCount),
2904
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
- ? new Date(Math.round(output.CreateDate * 1000))
2910
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreateDate)))
2911
2911
  : undefined,
2912
2912
  ErrorCode: smithy_client_1.expectString(output.ErrorCode),
2913
2913
  ErrorMessage: smithy_client_1.expectString(output.ErrorMessage),
@@ -2918,7 +2918,7 @@ const deserializeAws_json1_1Operation = (output, context) => {
2918
2918
  : undefined,
2919
2919
  Type: smithy_client_1.expectString(output.Type),
2920
2920
  UpdateDate: output.UpdateDate !== undefined && output.UpdateDate !== null
2921
- ? new Date(Math.round(output.UpdateDate * 1000))
2921
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.UpdateDate)))
2922
2922
  : undefined,
2923
2923
  };
2924
2924
  };
@@ -2983,7 +2983,7 @@ const deserializeAws_json1_1Service = (output, context) => {
2983
2983
  return {
2984
2984
  Arn: smithy_client_1.expectString(output.Arn),
2985
2985
  CreateDate: output.CreateDate !== undefined && output.CreateDate !== null
2986
- ? new Date(Math.round(output.CreateDate * 1000))
2986
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreateDate)))
2987
2987
  : undefined,
2988
2988
  CreatorRequestId: smithy_client_1.expectString(output.CreatorRequestId),
2989
2989
  Description: smithy_client_1.expectString(output.Description),
@@ -2997,7 +2997,7 @@ const deserializeAws_json1_1Service = (output, context) => {
2997
2997
  ? deserializeAws_json1_1HealthCheckCustomConfig(output.HealthCheckCustomConfig, context)
2998
2998
  : undefined,
2999
2999
  Id: smithy_client_1.expectString(output.Id),
3000
- InstanceCount: smithy_client_1.expectInt(output.InstanceCount),
3000
+ InstanceCount: smithy_client_1.expectInt32(output.InstanceCount),
3001
3001
  Name: smithy_client_1.expectString(output.Name),
3002
3002
  NamespaceId: smithy_client_1.expectString(output.NamespaceId),
3003
3003
  Type: smithy_client_1.expectString(output.Type),
@@ -3029,7 +3029,7 @@ const deserializeAws_json1_1ServiceSummary = (output, context) => {
3029
3029
  return {
3030
3030
  Arn: smithy_client_1.expectString(output.Arn),
3031
3031
  CreateDate: output.CreateDate !== undefined && output.CreateDate !== null
3032
- ? new Date(Math.round(output.CreateDate * 1000))
3032
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreateDate)))
3033
3033
  : undefined,
3034
3034
  Description: smithy_client_1.expectString(output.Description),
3035
3035
  DnsConfig: output.DnsConfig !== undefined && output.DnsConfig !== null
@@ -3042,14 +3042,14 @@ const deserializeAws_json1_1ServiceSummary = (output, context) => {
3042
3042
  ? deserializeAws_json1_1HealthCheckCustomConfig(output.HealthCheckCustomConfig, context)
3043
3043
  : undefined,
3044
3044
  Id: smithy_client_1.expectString(output.Id),
3045
- InstanceCount: smithy_client_1.expectInt(output.InstanceCount),
3045
+ InstanceCount: smithy_client_1.expectInt32(output.InstanceCount),
3046
3046
  Name: smithy_client_1.expectString(output.Name),
3047
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: smithy_client_1.expectInt(output.TTL),
3052
+ TTL: smithy_client_1.expectLong(output.TTL),
3053
3053
  };
3054
3054
  };
3055
3055
  const deserializeAws_json1_1Tag = (output, context) => {