@aws-sdk/client-outposts 3.110.0 → 3.118.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,33 @@
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.118.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.117.0...v3.118.0) (2022-06-24)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-outposts
9
+
10
+
11
+
12
+
13
+
14
+ # [3.114.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.113.0...v3.114.0) (2022-06-20)
15
+
16
+
17
+ ### Features
18
+
19
+ * **client-outposts:** This release adds the AssetLocation structure to the ListAssets response. AssetLocation includes the RackElevation for an Asset. ([f24a55d](https://github.com/aws/aws-sdk-js-v3/commit/f24a55df1d36841f729bdf706cf527f87083e303))
20
+
21
+
22
+
23
+
24
+
25
+ # [3.112.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.111.0...v3.112.0) (2022-06-16)
26
+
27
+ **Note:** Version bump only for package @aws-sdk/client-outposts
28
+
29
+
30
+
31
+
32
+
6
33
  # [3.110.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.109.0...v3.110.0) (2022-06-14)
7
34
 
8
35
  **Note:** Version bump only for package @aws-sdk/client-outposts
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DeleteSiteOutput = exports.DeleteSiteInput = exports.DeleteOutpostOutput = exports.DeleteOutpostInput = exports.CreateSiteOutput = exports.Site = exports.CreateSiteInput = exports.RackPhysicalProperties = exports.UplinkGbps = exports.UplinkCount = exports.PowerPhase = exports.PowerFeedDrop = exports.PowerDrawKva = exports.PowerConnector = exports.OpticalStandard = exports.MaximumSupportedWeightLbs = exports.FiberOpticCableType = exports.CreateOutpostOutput = exports.Outpost = exports.CreateOutpostInput = exports.SupportedHardwareType = exports.ServiceQuotaExceededException = exports.CreateOrderOutput = exports.Order = exports.OrderStatus = exports.LineItem = exports.LineItemStatus = exports.CreateOrderInput = exports.PaymentTerm = exports.PaymentOption = exports.LineItemRequest = exports.ConnectionDetails = exports.CatalogItemClass = exports.CatalogItem = exports.SupportedStorageEnum = exports.CatalogItemStatus = exports.EC2Capacity = exports.ValidationException = exports.NotFoundException = exports.InternalServerException = exports.ConflictException = exports.ResourceType = exports.CancelOrderOutput = exports.CancelOrderInput = exports.AssetInfo = exports.ComputeAttributes = exports.AssetType = exports.AddressType = exports.Address = exports.AccessDeniedException = void 0;
4
- exports.UpdateSiteRackPhysicalPropertiesOutput = exports.UpdateSiteRackPhysicalPropertiesInput = exports.UpdateSiteAddressOutput = exports.UpdateSiteAddressInput = exports.UpdateSiteOutput = exports.UpdateSiteInput = exports.UpdateOutpostOutput = exports.UpdateOutpostInput = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.StartConnectionResponse = exports.StartConnectionRequest = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListSitesOutput = exports.ListSitesInput = exports.ListOutpostsOutput = exports.ListOutpostsInput = exports.ListOrdersOutput = exports.OrderSummary = exports.OrderType = exports.ListOrdersInput = exports.ListCatalogItemsOutput = exports.ListCatalogItemsInput = exports.ListAssetsOutput = exports.ListAssetsInput = exports.GetSiteAddressOutput = exports.GetSiteAddressInput = exports.GetSiteOutput = exports.GetSiteInput = exports.GetOutpostInstanceTypesOutput = exports.InstanceTypeItem = exports.GetOutpostInstanceTypesInput = exports.GetOutpostOutput = exports.GetOutpostInput = exports.GetOrderOutput = exports.GetOrderInput = exports.GetConnectionResponse = exports.GetConnectionRequest = exports.GetCatalogItemOutput = exports.GetCatalogItemInput = void 0;
3
+ exports.DeleteSiteInput = exports.DeleteOutpostOutput = exports.DeleteOutpostInput = exports.CreateSiteOutput = exports.Site = exports.CreateSiteInput = exports.RackPhysicalProperties = exports.UplinkGbps = exports.UplinkCount = exports.PowerPhase = exports.PowerFeedDrop = exports.PowerDrawKva = exports.PowerConnector = exports.OpticalStandard = exports.MaximumSupportedWeightLbs = exports.FiberOpticCableType = exports.CreateOutpostOutput = exports.Outpost = exports.CreateOutpostInput = exports.SupportedHardwareType = exports.ServiceQuotaExceededException = exports.CreateOrderOutput = exports.Order = exports.OrderStatus = exports.LineItem = exports.LineItemStatus = exports.CreateOrderInput = exports.PaymentTerm = exports.PaymentOption = exports.LineItemRequest = exports.ConnectionDetails = exports.CatalogItemClass = exports.CatalogItem = exports.SupportedStorageEnum = exports.CatalogItemStatus = exports.EC2Capacity = exports.ValidationException = exports.NotFoundException = exports.InternalServerException = exports.ConflictException = exports.ResourceType = exports.CancelOrderOutput = exports.CancelOrderInput = exports.AssetInfo = exports.ComputeAttributes = exports.AssetType = exports.AssetLocation = exports.AddressType = exports.Address = exports.AccessDeniedException = void 0;
4
+ exports.UpdateSiteRackPhysicalPropertiesOutput = exports.UpdateSiteRackPhysicalPropertiesInput = exports.UpdateSiteAddressOutput = exports.UpdateSiteAddressInput = exports.UpdateSiteOutput = exports.UpdateSiteInput = exports.UpdateOutpostOutput = exports.UpdateOutpostInput = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.StartConnectionResponse = exports.StartConnectionRequest = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListSitesOutput = exports.ListSitesInput = exports.ListOutpostsOutput = exports.ListOutpostsInput = exports.ListOrdersOutput = exports.OrderSummary = exports.OrderType = exports.ListOrdersInput = exports.ListCatalogItemsOutput = exports.ListCatalogItemsInput = exports.ListAssetsOutput = exports.ListAssetsInput = exports.GetSiteAddressOutput = exports.GetSiteAddressInput = exports.GetSiteOutput = exports.GetSiteInput = exports.GetOutpostInstanceTypesOutput = exports.InstanceTypeItem = exports.GetOutpostInstanceTypesInput = exports.GetOutpostOutput = exports.GetOutpostInput = exports.GetOrderOutput = exports.GetOrderInput = exports.GetConnectionResponse = exports.GetConnectionRequest = exports.GetCatalogItemOutput = exports.GetCatalogItemInput = exports.DeleteSiteOutput = void 0;
5
5
  const OutpostsServiceException_1 = require("./OutpostsServiceException");
6
6
  class AccessDeniedException extends OutpostsServiceException_1.OutpostsServiceException {
7
7
  constructor(opts) {
@@ -28,6 +28,12 @@ var AddressType;
28
28
  AddressType["OPERATING_ADDRESS"] = "OPERATING_ADDRESS";
29
29
  AddressType["SHIPPING_ADDRESS"] = "SHIPPING_ADDRESS";
30
30
  })(AddressType = exports.AddressType || (exports.AddressType = {}));
31
+ var AssetLocation;
32
+ (function (AssetLocation) {
33
+ AssetLocation.filterSensitiveLog = (obj) => ({
34
+ ...obj,
35
+ });
36
+ })(AssetLocation = exports.AssetLocation || (exports.AssetLocation = {}));
31
37
  var AssetType;
32
38
  (function (AssetType) {
33
39
  AssetType["COMPUTE"] = "COMPUTE";
@@ -2169,6 +2169,9 @@ const deserializeAws_restJson1Address = (output, context) => {
2169
2169
  const deserializeAws_restJson1AssetInfo = (output, context) => {
2170
2170
  return {
2171
2171
  AssetId: (0, smithy_client_1.expectString)(output.AssetId),
2172
+ AssetLocation: output.AssetLocation !== undefined && output.AssetLocation !== null
2173
+ ? deserializeAws_restJson1AssetLocation(output.AssetLocation, context)
2174
+ : undefined,
2172
2175
  AssetType: (0, smithy_client_1.expectString)(output.AssetType),
2173
2176
  ComputeAttributes: output.ComputeAttributes !== undefined && output.ComputeAttributes !== null
2174
2177
  ? deserializeAws_restJson1ComputeAttributes(output.ComputeAttributes, context)
@@ -2187,6 +2190,11 @@ const deserializeAws_restJson1AssetListDefinition = (output, context) => {
2187
2190
  });
2188
2191
  return retVal;
2189
2192
  };
2193
+ const deserializeAws_restJson1AssetLocation = (output, context) => {
2194
+ return {
2195
+ RackElevation: (0, smithy_client_1.limitedParseFloat32)(output.RackElevation),
2196
+ };
2197
+ };
2190
2198
  const deserializeAws_restJson1CatalogItem = (output, context) => {
2191
2199
  return {
2192
2200
  CatalogItemId: (0, smithy_client_1.expectString)(output.CatalogItemId),
@@ -22,6 +22,10 @@ export var AddressType;
22
22
  AddressType["OPERATING_ADDRESS"] = "OPERATING_ADDRESS";
23
23
  AddressType["SHIPPING_ADDRESS"] = "SHIPPING_ADDRESS";
24
24
  })(AddressType || (AddressType = {}));
25
+ export var AssetLocation;
26
+ (function (AssetLocation) {
27
+ AssetLocation.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
28
+ })(AssetLocation || (AssetLocation = {}));
25
29
  export var AssetType;
26
30
  (function (AssetType) {
27
31
  AssetType["COMPUTE"] = "COMPUTE";
@@ -2754,6 +2754,9 @@ var deserializeAws_restJson1Address = function (output, context) {
2754
2754
  var deserializeAws_restJson1AssetInfo = function (output, context) {
2755
2755
  return {
2756
2756
  AssetId: __expectString(output.AssetId),
2757
+ AssetLocation: output.AssetLocation !== undefined && output.AssetLocation !== null
2758
+ ? deserializeAws_restJson1AssetLocation(output.AssetLocation, context)
2759
+ : undefined,
2757
2760
  AssetType: __expectString(output.AssetType),
2758
2761
  ComputeAttributes: output.ComputeAttributes !== undefined && output.ComputeAttributes !== null
2759
2762
  ? deserializeAws_restJson1ComputeAttributes(output.ComputeAttributes, context)
@@ -2772,6 +2775,11 @@ var deserializeAws_restJson1AssetListDefinition = function (output, context) {
2772
2775
  });
2773
2776
  return retVal;
2774
2777
  };
2778
+ var deserializeAws_restJson1AssetLocation = function (output, context) {
2779
+ return {
2780
+ RackElevation: __limitedParseFloat32(output.RackElevation),
2781
+ };
2782
+ };
2775
2783
  var deserializeAws_restJson1CatalogItem = function (output, context) {
2776
2784
  return {
2777
2785
  CatalogItemId: __expectString(output.CatalogItemId),
@@ -73,6 +73,25 @@ export declare enum AddressType {
73
73
  OPERATING_ADDRESS = "OPERATING_ADDRESS",
74
74
  SHIPPING_ADDRESS = "SHIPPING_ADDRESS"
75
75
  }
76
+ /**
77
+ * <p>
78
+ * Information about the position of the asset in a rack.
79
+ * </p>
80
+ */
81
+ export interface AssetLocation {
82
+ /**
83
+ * <p>
84
+ * The position of an asset in a rack measured in rack units.
85
+ * </p>
86
+ */
87
+ RackElevation?: number;
88
+ }
89
+ export declare namespace AssetLocation {
90
+ /**
91
+ * @internal
92
+ */
93
+ const filterSensitiveLog: (obj: AssetLocation) => any;
94
+ }
76
95
  export declare enum AssetType {
77
96
  COMPUTE = "COMPUTE"
78
97
  }
@@ -125,6 +144,12 @@ export interface AssetInfo {
125
144
  * </p>
126
145
  */
127
146
  ComputeAttributes?: ComputeAttributes;
147
+ /**
148
+ * <p>
149
+ * The position of an asset in a rack.
150
+ * </p>
151
+ */
152
+ AssetLocation?: AssetLocation;
128
153
  }
129
154
  export declare namespace AssetInfo {
130
155
  /**
@@ -41,6 +41,15 @@ export declare enum AddressType {
41
41
  OPERATING_ADDRESS = "OPERATING_ADDRESS",
42
42
  SHIPPING_ADDRESS = "SHIPPING_ADDRESS"
43
43
  }
44
+
45
+ export interface AssetLocation {
46
+
47
+ RackElevation?: number;
48
+ }
49
+ export declare namespace AssetLocation {
50
+
51
+ const filterSensitiveLog: (obj: AssetLocation) => any;
52
+ }
44
53
  export declare enum AssetType {
45
54
  COMPUTE = "COMPUTE"
46
55
  }
@@ -63,6 +72,8 @@ export interface AssetInfo {
63
72
  AssetType?: AssetType | string;
64
73
 
65
74
  ComputeAttributes?: ComputeAttributes;
75
+
76
+ AssetLocation?: AssetLocation;
66
77
  }
67
78
  export declare namespace AssetInfo {
68
79
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-outposts",
3
3
  "description": "AWS SDK for JavaScript Outposts Client for Node.js, Browser and React Native",
4
- "version": "3.110.0",
4
+ "version": "3.118.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -18,9 +18,9 @@
18
18
  "dependencies": {
19
19
  "@aws-crypto/sha256-browser": "2.0.0",
20
20
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/client-sts": "3.110.0",
21
+ "@aws-sdk/client-sts": "3.118.0",
22
22
  "@aws-sdk/config-resolver": "3.110.0",
23
- "@aws-sdk/credential-provider-node": "3.110.0",
23
+ "@aws-sdk/credential-provider-node": "3.118.0",
24
24
  "@aws-sdk/fetch-http-handler": "3.110.0",
25
25
  "@aws-sdk/hash-node": "3.110.0",
26
26
  "@aws-sdk/invalid-dependency": "3.110.0",
@@ -46,7 +46,7 @@
46
46
  "@aws-sdk/util-defaults-mode-browser": "3.110.0",
47
47
  "@aws-sdk/util-defaults-mode-node": "3.110.0",
48
48
  "@aws-sdk/util-user-agent-browser": "3.110.0",
49
- "@aws-sdk/util-user-agent-node": "3.110.0",
49
+ "@aws-sdk/util-user-agent-node": "3.118.0",
50
50
  "@aws-sdk/util-utf8-browser": "3.109.0",
51
51
  "@aws-sdk/util-utf8-node": "3.109.0",
52
52
  "tslib": "^2.3.1"