@aws-sdk/client-outposts 3.121.0 → 3.130.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,38 @@
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.130.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.129.0...v3.130.0) (2022-07-14)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **codegen:** fix error code parsing when it's a number ([#3371](https://github.com/aws/aws-sdk-js-v3/issues/3371)) ([c2d8522](https://github.com/aws/aws-sdk-js-v3/commit/c2d852279a3d23958521a6ceb4f4c642b0cb1848))
12
+
13
+
14
+ ### Features
15
+
16
+ * **client-outposts:** This release adds the ShipmentInformation and AssetInformationList fields to the GetOrder API response. ([cf80140](https://github.com/aws/aws-sdk-js-v3/commit/cf8014052790df08d75b5bbb57566f619081bb72))
17
+
18
+
19
+
20
+
21
+
22
+ # [3.128.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.127.0...v3.128.0) (2022-07-12)
23
+
24
+ **Note:** Version bump only for package @aws-sdk/client-outposts
25
+
26
+
27
+
28
+
29
+
30
+ # [3.127.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.126.0...v3.127.0) (2022-07-11)
31
+
32
+ **Note:** Version bump only for package @aws-sdk/client-outposts
33
+
34
+
35
+
36
+
37
+
6
38
  # [3.121.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.120.0...v3.121.0) (2022-06-30)
7
39
 
8
40
 
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
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;
3
+ 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.ShipmentInformation = exports.ShipmentCarrier = exports.LineItemAssetInformation = 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 = exports.DeleteSiteInput = exports.DeleteOutpostOutput = exports.DeleteOutpostInput = void 0;
5
5
  const OutpostsServiceException_1 = require("./OutpostsServiceException");
6
6
  class AccessDeniedException extends OutpostsServiceException_1.OutpostsServiceException {
7
7
  constructor(opts) {
@@ -180,6 +180,25 @@ var CreateOrderInput;
180
180
  ...obj,
181
181
  });
182
182
  })(CreateOrderInput = exports.CreateOrderInput || (exports.CreateOrderInput = {}));
183
+ var LineItemAssetInformation;
184
+ (function (LineItemAssetInformation) {
185
+ LineItemAssetInformation.filterSensitiveLog = (obj) => ({
186
+ ...obj,
187
+ });
188
+ })(LineItemAssetInformation = exports.LineItemAssetInformation || (exports.LineItemAssetInformation = {}));
189
+ var ShipmentCarrier;
190
+ (function (ShipmentCarrier) {
191
+ ShipmentCarrier["DBS"] = "DBS";
192
+ ShipmentCarrier["DHL"] = "DHL";
193
+ ShipmentCarrier["FEDEX"] = "FEDEX";
194
+ ShipmentCarrier["UPS"] = "UPS";
195
+ })(ShipmentCarrier = exports.ShipmentCarrier || (exports.ShipmentCarrier = {}));
196
+ var ShipmentInformation;
197
+ (function (ShipmentInformation) {
198
+ ShipmentInformation.filterSensitiveLog = (obj) => ({
199
+ ...obj,
200
+ });
201
+ })(ShipmentInformation = exports.ShipmentInformation || (exports.ShipmentInformation = {}));
183
202
  var LineItemStatus;
184
203
  (function (LineItemStatus) {
185
204
  LineItemStatus["BUILDING"] = "BUILDING";
@@ -40,14 +40,12 @@ const serializeAws_restJson1CreateOrderCommand = async (input, context) => {
40
40
  const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/orders";
41
41
  let body;
42
42
  body = JSON.stringify({
43
- ...(input.LineItems !== undefined &&
44
- input.LineItems !== null && {
43
+ ...(input.LineItems != null && {
45
44
  LineItems: serializeAws_restJson1LineItemRequestListDefinition(input.LineItems, context),
46
45
  }),
47
- ...(input.OutpostIdentifier !== undefined &&
48
- input.OutpostIdentifier !== null && { OutpostIdentifier: input.OutpostIdentifier }),
49
- ...(input.PaymentOption !== undefined && input.PaymentOption !== null && { PaymentOption: input.PaymentOption }),
50
- ...(input.PaymentTerm !== undefined && input.PaymentTerm !== null && { PaymentTerm: input.PaymentTerm }),
46
+ ...(input.OutpostIdentifier != null && { OutpostIdentifier: input.OutpostIdentifier }),
47
+ ...(input.PaymentOption != null && { PaymentOption: input.PaymentOption }),
48
+ ...(input.PaymentTerm != null && { PaymentTerm: input.PaymentTerm }),
51
49
  });
52
50
  return new protocol_http_1.HttpRequest({
53
51
  protocol,
@@ -68,16 +66,13 @@ const serializeAws_restJson1CreateOutpostCommand = async (input, context) => {
68
66
  const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/outposts";
69
67
  let body;
70
68
  body = JSON.stringify({
71
- ...(input.AvailabilityZone !== undefined &&
72
- input.AvailabilityZone !== null && { AvailabilityZone: input.AvailabilityZone }),
73
- ...(input.AvailabilityZoneId !== undefined &&
74
- input.AvailabilityZoneId !== null && { AvailabilityZoneId: input.AvailabilityZoneId }),
75
- ...(input.Description !== undefined && input.Description !== null && { Description: input.Description }),
76
- ...(input.Name !== undefined && input.Name !== null && { Name: input.Name }),
77
- ...(input.SiteId !== undefined && input.SiteId !== null && { SiteId: input.SiteId }),
78
- ...(input.SupportedHardwareType !== undefined &&
79
- input.SupportedHardwareType !== null && { SupportedHardwareType: input.SupportedHardwareType }),
80
- ...(input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_restJson1TagMap(input.Tags, context) }),
69
+ ...(input.AvailabilityZone != null && { AvailabilityZone: input.AvailabilityZone }),
70
+ ...(input.AvailabilityZoneId != null && { AvailabilityZoneId: input.AvailabilityZoneId }),
71
+ ...(input.Description != null && { Description: input.Description }),
72
+ ...(input.Name != null && { Name: input.Name }),
73
+ ...(input.SiteId != null && { SiteId: input.SiteId }),
74
+ ...(input.SupportedHardwareType != null && { SupportedHardwareType: input.SupportedHardwareType }),
75
+ ...(input.Tags != null && { Tags: serializeAws_restJson1TagMap(input.Tags, context) }),
81
76
  });
82
77
  return new protocol_http_1.HttpRequest({
83
78
  protocol,
@@ -98,22 +93,19 @@ const serializeAws_restJson1CreateSiteCommand = async (input, context) => {
98
93
  const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/sites";
99
94
  let body;
100
95
  body = JSON.stringify({
101
- ...(input.Description !== undefined && input.Description !== null && { Description: input.Description }),
102
- ...(input.Name !== undefined && input.Name !== null && { Name: input.Name }),
103
- ...(input.Notes !== undefined && input.Notes !== null && { Notes: input.Notes }),
104
- ...(input.OperatingAddress !== undefined &&
105
- input.OperatingAddress !== null && {
96
+ ...(input.Description != null && { Description: input.Description }),
97
+ ...(input.Name != null && { Name: input.Name }),
98
+ ...(input.Notes != null && { Notes: input.Notes }),
99
+ ...(input.OperatingAddress != null && {
106
100
  OperatingAddress: serializeAws_restJson1Address(input.OperatingAddress, context),
107
101
  }),
108
- ...(input.RackPhysicalProperties !== undefined &&
109
- input.RackPhysicalProperties !== null && {
102
+ ...(input.RackPhysicalProperties != null && {
110
103
  RackPhysicalProperties: serializeAws_restJson1RackPhysicalProperties(input.RackPhysicalProperties, context),
111
104
  }),
112
- ...(input.ShippingAddress !== undefined &&
113
- input.ShippingAddress !== null && {
105
+ ...(input.ShippingAddress != null && {
114
106
  ShippingAddress: serializeAws_restJson1Address(input.ShippingAddress, context),
115
107
  }),
116
- ...(input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_restJson1TagMap(input.Tags, context) }),
108
+ ...(input.Tags != null && { Tags: serializeAws_restJson1TagMap(input.Tags, context) }),
117
109
  });
118
110
  return new protocol_http_1.HttpRequest({
119
111
  protocol,
@@ -549,13 +541,12 @@ const serializeAws_restJson1StartConnectionCommand = async (input, context) => {
549
541
  const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/connections";
550
542
  let body;
551
543
  body = JSON.stringify({
552
- ...(input.AssetId !== undefined && input.AssetId !== null && { AssetId: input.AssetId }),
553
- ...(input.ClientPublicKey !== undefined &&
554
- input.ClientPublicKey !== null && { ClientPublicKey: input.ClientPublicKey }),
555
- ...(input.DeviceSerialNumber !== undefined &&
556
- input.DeviceSerialNumber !== null && { DeviceSerialNumber: input.DeviceSerialNumber }),
557
- ...(input.NetworkInterfaceDeviceIndex !== undefined &&
558
- input.NetworkInterfaceDeviceIndex !== null && { NetworkInterfaceDeviceIndex: input.NetworkInterfaceDeviceIndex }),
544
+ ...(input.AssetId != null && { AssetId: input.AssetId }),
545
+ ...(input.ClientPublicKey != null && { ClientPublicKey: input.ClientPublicKey }),
546
+ ...(input.DeviceSerialNumber != null && { DeviceSerialNumber: input.DeviceSerialNumber }),
547
+ ...(input.NetworkInterfaceDeviceIndex != null && {
548
+ NetworkInterfaceDeviceIndex: input.NetworkInterfaceDeviceIndex,
549
+ }),
559
550
  });
560
551
  return new protocol_http_1.HttpRequest({
561
552
  protocol,
@@ -586,7 +577,7 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
586
577
  }
587
578
  let body;
588
579
  body = JSON.stringify({
589
- ...(input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_restJson1TagMap(input.Tags, context) }),
580
+ ...(input.Tags != null && { Tags: serializeAws_restJson1TagMap(input.Tags, context) }),
590
581
  });
591
582
  return new protocol_http_1.HttpRequest({
592
583
  protocol,
@@ -647,10 +638,9 @@ const serializeAws_restJson1UpdateOutpostCommand = async (input, context) => {
647
638
  }
648
639
  let body;
649
640
  body = JSON.stringify({
650
- ...(input.Description !== undefined && input.Description !== null && { Description: input.Description }),
651
- ...(input.Name !== undefined && input.Name !== null && { Name: input.Name }),
652
- ...(input.SupportedHardwareType !== undefined &&
653
- input.SupportedHardwareType !== null && { SupportedHardwareType: input.SupportedHardwareType }),
641
+ ...(input.Description != null && { Description: input.Description }),
642
+ ...(input.Name != null && { Name: input.Name }),
643
+ ...(input.SupportedHardwareType != null && { SupportedHardwareType: input.SupportedHardwareType }),
654
644
  });
655
645
  return new protocol_http_1.HttpRequest({
656
646
  protocol,
@@ -681,9 +671,9 @@ const serializeAws_restJson1UpdateSiteCommand = async (input, context) => {
681
671
  }
682
672
  let body;
683
673
  body = JSON.stringify({
684
- ...(input.Description !== undefined && input.Description !== null && { Description: input.Description }),
685
- ...(input.Name !== undefined && input.Name !== null && { Name: input.Name }),
686
- ...(input.Notes !== undefined && input.Notes !== null && { Notes: input.Notes }),
674
+ ...(input.Description != null && { Description: input.Description }),
675
+ ...(input.Name != null && { Name: input.Name }),
676
+ ...(input.Notes != null && { Notes: input.Notes }),
687
677
  });
688
678
  return new protocol_http_1.HttpRequest({
689
679
  protocol,
@@ -714,9 +704,8 @@ const serializeAws_restJson1UpdateSiteAddressCommand = async (input, context) =>
714
704
  }
715
705
  let body;
716
706
  body = JSON.stringify({
717
- ...(input.Address !== undefined &&
718
- input.Address !== null && { Address: serializeAws_restJson1Address(input.Address, context) }),
719
- ...(input.AddressType !== undefined && input.AddressType !== null && { AddressType: input.AddressType }),
707
+ ...(input.Address != null && { Address: serializeAws_restJson1Address(input.Address, context) }),
708
+ ...(input.AddressType != null && { AddressType: input.AddressType }),
720
709
  });
721
710
  return new protocol_http_1.HttpRequest({
722
711
  protocol,
@@ -747,19 +736,15 @@ const serializeAws_restJson1UpdateSiteRackPhysicalPropertiesCommand = async (inp
747
736
  }
748
737
  let body;
749
738
  body = JSON.stringify({
750
- ...(input.FiberOpticCableType !== undefined &&
751
- input.FiberOpticCableType !== null && { FiberOpticCableType: input.FiberOpticCableType }),
752
- ...(input.MaximumSupportedWeightLbs !== undefined &&
753
- input.MaximumSupportedWeightLbs !== null && { MaximumSupportedWeightLbs: input.MaximumSupportedWeightLbs }),
754
- ...(input.OpticalStandard !== undefined &&
755
- input.OpticalStandard !== null && { OpticalStandard: input.OpticalStandard }),
756
- ...(input.PowerConnector !== undefined &&
757
- input.PowerConnector !== null && { PowerConnector: input.PowerConnector }),
758
- ...(input.PowerDrawKva !== undefined && input.PowerDrawKva !== null && { PowerDrawKva: input.PowerDrawKva }),
759
- ...(input.PowerFeedDrop !== undefined && input.PowerFeedDrop !== null && { PowerFeedDrop: input.PowerFeedDrop }),
760
- ...(input.PowerPhase !== undefined && input.PowerPhase !== null && { PowerPhase: input.PowerPhase }),
761
- ...(input.UplinkCount !== undefined && input.UplinkCount !== null && { UplinkCount: input.UplinkCount }),
762
- ...(input.UplinkGbps !== undefined && input.UplinkGbps !== null && { UplinkGbps: input.UplinkGbps }),
739
+ ...(input.FiberOpticCableType != null && { FiberOpticCableType: input.FiberOpticCableType }),
740
+ ...(input.MaximumSupportedWeightLbs != null && { MaximumSupportedWeightLbs: input.MaximumSupportedWeightLbs }),
741
+ ...(input.OpticalStandard != null && { OpticalStandard: input.OpticalStandard }),
742
+ ...(input.PowerConnector != null && { PowerConnector: input.PowerConnector }),
743
+ ...(input.PowerDrawKva != null && { PowerDrawKva: input.PowerDrawKva }),
744
+ ...(input.PowerFeedDrop != null && { PowerFeedDrop: input.PowerFeedDrop }),
745
+ ...(input.PowerPhase != null && { PowerPhase: input.PowerPhase }),
746
+ ...(input.UplinkCount != null && { UplinkCount: input.UplinkCount }),
747
+ ...(input.UplinkGbps != null && { UplinkGbps: input.UplinkGbps }),
763
748
  });
764
749
  return new protocol_http_1.HttpRequest({
765
750
  protocol,
@@ -2118,25 +2103,23 @@ const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput,
2118
2103
  };
2119
2104
  const serializeAws_restJson1Address = (input, context) => {
2120
2105
  return {
2121
- ...(input.AddressLine1 !== undefined && input.AddressLine1 !== null && { AddressLine1: input.AddressLine1 }),
2122
- ...(input.AddressLine2 !== undefined && input.AddressLine2 !== null && { AddressLine2: input.AddressLine2 }),
2123
- ...(input.AddressLine3 !== undefined && input.AddressLine3 !== null && { AddressLine3: input.AddressLine3 }),
2124
- ...(input.City !== undefined && input.City !== null && { City: input.City }),
2125
- ...(input.ContactName !== undefined && input.ContactName !== null && { ContactName: input.ContactName }),
2126
- ...(input.ContactPhoneNumber !== undefined &&
2127
- input.ContactPhoneNumber !== null && { ContactPhoneNumber: input.ContactPhoneNumber }),
2128
- ...(input.CountryCode !== undefined && input.CountryCode !== null && { CountryCode: input.CountryCode }),
2129
- ...(input.DistrictOrCounty !== undefined &&
2130
- input.DistrictOrCounty !== null && { DistrictOrCounty: input.DistrictOrCounty }),
2131
- ...(input.Municipality !== undefined && input.Municipality !== null && { Municipality: input.Municipality }),
2132
- ...(input.PostalCode !== undefined && input.PostalCode !== null && { PostalCode: input.PostalCode }),
2133
- ...(input.StateOrRegion !== undefined && input.StateOrRegion !== null && { StateOrRegion: input.StateOrRegion }),
2106
+ ...(input.AddressLine1 != null && { AddressLine1: input.AddressLine1 }),
2107
+ ...(input.AddressLine2 != null && { AddressLine2: input.AddressLine2 }),
2108
+ ...(input.AddressLine3 != null && { AddressLine3: input.AddressLine3 }),
2109
+ ...(input.City != null && { City: input.City }),
2110
+ ...(input.ContactName != null && { ContactName: input.ContactName }),
2111
+ ...(input.ContactPhoneNumber != null && { ContactPhoneNumber: input.ContactPhoneNumber }),
2112
+ ...(input.CountryCode != null && { CountryCode: input.CountryCode }),
2113
+ ...(input.DistrictOrCounty != null && { DistrictOrCounty: input.DistrictOrCounty }),
2114
+ ...(input.Municipality != null && { Municipality: input.Municipality }),
2115
+ ...(input.PostalCode != null && { PostalCode: input.PostalCode }),
2116
+ ...(input.StateOrRegion != null && { StateOrRegion: input.StateOrRegion }),
2134
2117
  };
2135
2118
  };
2136
2119
  const serializeAws_restJson1LineItemRequest = (input, context) => {
2137
2120
  return {
2138
- ...(input.CatalogItemId !== undefined && input.CatalogItemId !== null && { CatalogItemId: input.CatalogItemId }),
2139
- ...(input.Quantity !== undefined && input.Quantity !== null && { Quantity: input.Quantity }),
2121
+ ...(input.CatalogItemId != null && { CatalogItemId: input.CatalogItemId }),
2122
+ ...(input.Quantity != null && { Quantity: input.Quantity }),
2140
2123
  };
2141
2124
  };
2142
2125
  const serializeAws_restJson1LineItemRequestListDefinition = (input, context) => {
@@ -2151,19 +2134,15 @@ const serializeAws_restJson1LineItemRequestListDefinition = (input, context) =>
2151
2134
  };
2152
2135
  const serializeAws_restJson1RackPhysicalProperties = (input, context) => {
2153
2136
  return {
2154
- ...(input.FiberOpticCableType !== undefined &&
2155
- input.FiberOpticCableType !== null && { FiberOpticCableType: input.FiberOpticCableType }),
2156
- ...(input.MaximumSupportedWeightLbs !== undefined &&
2157
- input.MaximumSupportedWeightLbs !== null && { MaximumSupportedWeightLbs: input.MaximumSupportedWeightLbs }),
2158
- ...(input.OpticalStandard !== undefined &&
2159
- input.OpticalStandard !== null && { OpticalStandard: input.OpticalStandard }),
2160
- ...(input.PowerConnector !== undefined &&
2161
- input.PowerConnector !== null && { PowerConnector: input.PowerConnector }),
2162
- ...(input.PowerDrawKva !== undefined && input.PowerDrawKva !== null && { PowerDrawKva: input.PowerDrawKva }),
2163
- ...(input.PowerFeedDrop !== undefined && input.PowerFeedDrop !== null && { PowerFeedDrop: input.PowerFeedDrop }),
2164
- ...(input.PowerPhase !== undefined && input.PowerPhase !== null && { PowerPhase: input.PowerPhase }),
2165
- ...(input.UplinkCount !== undefined && input.UplinkCount !== null && { UplinkCount: input.UplinkCount }),
2166
- ...(input.UplinkGbps !== undefined && input.UplinkGbps !== null && { UplinkGbps: input.UplinkGbps }),
2137
+ ...(input.FiberOpticCableType != null && { FiberOpticCableType: input.FiberOpticCableType }),
2138
+ ...(input.MaximumSupportedWeightLbs != null && { MaximumSupportedWeightLbs: input.MaximumSupportedWeightLbs }),
2139
+ ...(input.OpticalStandard != null && { OpticalStandard: input.OpticalStandard }),
2140
+ ...(input.PowerConnector != null && { PowerConnector: input.PowerConnector }),
2141
+ ...(input.PowerDrawKva != null && { PowerDrawKva: input.PowerDrawKva }),
2142
+ ...(input.PowerFeedDrop != null && { PowerFeedDrop: input.PowerFeedDrop }),
2143
+ ...(input.PowerPhase != null && { PowerPhase: input.PowerPhase }),
2144
+ ...(input.UplinkCount != null && { UplinkCount: input.UplinkCount }),
2145
+ ...(input.UplinkGbps != null && { UplinkGbps: input.UplinkGbps }),
2167
2146
  };
2168
2147
  };
2169
2148
  const serializeAws_restJson1TagMap = (input, context) => {
@@ -2195,11 +2174,9 @@ const deserializeAws_restJson1Address = (output, context) => {
2195
2174
  const deserializeAws_restJson1AssetInfo = (output, context) => {
2196
2175
  return {
2197
2176
  AssetId: (0, smithy_client_1.expectString)(output.AssetId),
2198
- AssetLocation: output.AssetLocation !== undefined && output.AssetLocation !== null
2199
- ? deserializeAws_restJson1AssetLocation(output.AssetLocation, context)
2200
- : undefined,
2177
+ AssetLocation: output.AssetLocation != null ? deserializeAws_restJson1AssetLocation(output.AssetLocation, context) : undefined,
2201
2178
  AssetType: (0, smithy_client_1.expectString)(output.AssetType),
2202
- ComputeAttributes: output.ComputeAttributes !== undefined && output.ComputeAttributes !== null
2179
+ ComputeAttributes: output.ComputeAttributes != null
2203
2180
  ? deserializeAws_restJson1ComputeAttributes(output.ComputeAttributes, context)
2204
2181
  : undefined,
2205
2182
  RackId: (0, smithy_client_1.expectString)(output.RackId),
@@ -2224,15 +2201,15 @@ const deserializeAws_restJson1AssetLocation = (output, context) => {
2224
2201
  const deserializeAws_restJson1CatalogItem = (output, context) => {
2225
2202
  return {
2226
2203
  CatalogItemId: (0, smithy_client_1.expectString)(output.CatalogItemId),
2227
- EC2Capacities: output.EC2Capacities !== undefined && output.EC2Capacities !== null
2204
+ EC2Capacities: output.EC2Capacities != null
2228
2205
  ? deserializeAws_restJson1EC2CapacityListDefinition(output.EC2Capacities, context)
2229
2206
  : undefined,
2230
2207
  ItemStatus: (0, smithy_client_1.expectString)(output.ItemStatus),
2231
2208
  PowerKva: (0, smithy_client_1.limitedParseFloat32)(output.PowerKva),
2232
- SupportedStorage: output.SupportedStorage !== undefined && output.SupportedStorage !== null
2209
+ SupportedStorage: output.SupportedStorage != null
2233
2210
  ? deserializeAws_restJson1SupportedStorageList(output.SupportedStorage, context)
2234
2211
  : undefined,
2235
- SupportedUplinkGbps: output.SupportedUplinkGbps !== undefined && output.SupportedUplinkGbps !== null
2212
+ SupportedUplinkGbps: output.SupportedUplinkGbps != null
2236
2213
  ? deserializeAws_restJson1SupportedUplinkGbpsListDefinition(output.SupportedUplinkGbps, context)
2237
2214
  : undefined,
2238
2215
  WeightLbs: (0, smithy_client_1.expectInt32)(output.WeightLbs),
@@ -2267,9 +2244,7 @@ const deserializeAws_restJson1ComputeAttributes = (output, context) => {
2267
2244
  };
2268
2245
  const deserializeAws_restJson1ConnectionDetails = (output, context) => {
2269
2246
  return {
2270
- AllowedIps: output.AllowedIps !== undefined && output.AllowedIps !== null
2271
- ? deserializeAws_restJson1CIDRList(output.AllowedIps, context)
2272
- : undefined,
2247
+ AllowedIps: output.AllowedIps != null ? deserializeAws_restJson1CIDRList(output.AllowedIps, context) : undefined,
2273
2248
  ClientPublicKey: (0, smithy_client_1.expectString)(output.ClientPublicKey),
2274
2249
  ClientTunnelAddress: (0, smithy_client_1.expectString)(output.ClientTunnelAddress),
2275
2250
  ServerEndpoint: (0, smithy_client_1.expectString)(output.ServerEndpoint),
@@ -2313,12 +2288,37 @@ const deserializeAws_restJson1InstanceTypeListDefinition = (output, context) =>
2313
2288
  };
2314
2289
  const deserializeAws_restJson1LineItem = (output, context) => {
2315
2290
  return {
2291
+ AssetInformationList: output.AssetInformationList != null
2292
+ ? deserializeAws_restJson1LineItemAssetInformationList(output.AssetInformationList, context)
2293
+ : undefined,
2316
2294
  CatalogItemId: (0, smithy_client_1.expectString)(output.CatalogItemId),
2317
2295
  LineItemId: (0, smithy_client_1.expectString)(output.LineItemId),
2318
2296
  Quantity: (0, smithy_client_1.expectInt32)(output.Quantity),
2297
+ ShipmentInformation: output.ShipmentInformation != null
2298
+ ? deserializeAws_restJson1ShipmentInformation(output.ShipmentInformation, context)
2299
+ : undefined,
2319
2300
  Status: (0, smithy_client_1.expectString)(output.Status),
2320
2301
  };
2321
2302
  };
2303
+ const deserializeAws_restJson1LineItemAssetInformation = (output, context) => {
2304
+ return {
2305
+ AssetId: (0, smithy_client_1.expectString)(output.AssetId),
2306
+ MacAddressList: output.MacAddressList != null
2307
+ ? deserializeAws_restJson1MacAddressList(output.MacAddressList, context)
2308
+ : undefined,
2309
+ };
2310
+ };
2311
+ const deserializeAws_restJson1LineItemAssetInformationList = (output, context) => {
2312
+ const retVal = (output || [])
2313
+ .filter((e) => e != null)
2314
+ .map((entry) => {
2315
+ if (entry === null) {
2316
+ return null;
2317
+ }
2318
+ return deserializeAws_restJson1LineItemAssetInformation(entry, context);
2319
+ });
2320
+ return retVal;
2321
+ };
2322
2322
  const deserializeAws_restJson1LineItemListDefinition = (output, context) => {
2323
2323
  const retVal = (output || [])
2324
2324
  .filter((e) => e != null)
@@ -2341,16 +2341,25 @@ const deserializeAws_restJson1LineItemStatusCounts = (output, context) => {
2341
2341
  };
2342
2342
  }, {});
2343
2343
  };
2344
+ const deserializeAws_restJson1MacAddressList = (output, context) => {
2345
+ const retVal = (output || [])
2346
+ .filter((e) => e != null)
2347
+ .map((entry) => {
2348
+ if (entry === null) {
2349
+ return null;
2350
+ }
2351
+ return (0, smithy_client_1.expectString)(entry);
2352
+ });
2353
+ return retVal;
2354
+ };
2344
2355
  const deserializeAws_restJson1Order = (output, context) => {
2345
2356
  return {
2346
- LineItems: output.LineItems !== undefined && output.LineItems !== null
2347
- ? deserializeAws_restJson1LineItemListDefinition(output.LineItems, context)
2348
- : undefined,
2349
- OrderFulfilledDate: output.OrderFulfilledDate !== undefined && output.OrderFulfilledDate !== null
2357
+ LineItems: output.LineItems != null ? deserializeAws_restJson1LineItemListDefinition(output.LineItems, context) : undefined,
2358
+ OrderFulfilledDate: output.OrderFulfilledDate != null
2350
2359
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.OrderFulfilledDate)))
2351
2360
  : undefined,
2352
2361
  OrderId: (0, smithy_client_1.expectString)(output.OrderId),
2353
- OrderSubmissionDate: output.OrderSubmissionDate !== undefined && output.OrderSubmissionDate !== null
2362
+ OrderSubmissionDate: output.OrderSubmissionDate != null
2354
2363
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.OrderSubmissionDate)))
2355
2364
  : undefined,
2356
2365
  OutpostId: (0, smithy_client_1.expectString)(output.OutpostId),
@@ -2360,14 +2369,14 @@ const deserializeAws_restJson1Order = (output, context) => {
2360
2369
  };
2361
2370
  const deserializeAws_restJson1OrderSummary = (output, context) => {
2362
2371
  return {
2363
- LineItemCountsByStatus: output.LineItemCountsByStatus !== undefined && output.LineItemCountsByStatus !== null
2372
+ LineItemCountsByStatus: output.LineItemCountsByStatus != null
2364
2373
  ? deserializeAws_restJson1LineItemStatusCounts(output.LineItemCountsByStatus, context)
2365
2374
  : undefined,
2366
- OrderFulfilledDate: output.OrderFulfilledDate !== undefined && output.OrderFulfilledDate !== null
2375
+ OrderFulfilledDate: output.OrderFulfilledDate != null
2367
2376
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.OrderFulfilledDate)))
2368
2377
  : undefined,
2369
2378
  OrderId: (0, smithy_client_1.expectString)(output.OrderId),
2370
- OrderSubmissionDate: output.OrderSubmissionDate !== undefined && output.OrderSubmissionDate !== null
2379
+ OrderSubmissionDate: output.OrderSubmissionDate != null
2371
2380
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.OrderSubmissionDate)))
2372
2381
  : undefined,
2373
2382
  OrderType: (0, smithy_client_1.expectString)(output.OrderType),
@@ -2399,9 +2408,7 @@ const deserializeAws_restJson1Outpost = (output, context) => {
2399
2408
  SiteArn: (0, smithy_client_1.expectString)(output.SiteArn),
2400
2409
  SiteId: (0, smithy_client_1.expectString)(output.SiteId),
2401
2410
  SupportedHardwareType: (0, smithy_client_1.expectString)(output.SupportedHardwareType),
2402
- Tags: output.Tags !== undefined && output.Tags !== null
2403
- ? deserializeAws_restJson1TagMap(output.Tags, context)
2404
- : undefined,
2411
+ Tags: output.Tags != null ? deserializeAws_restJson1TagMap(output.Tags, context) : undefined,
2405
2412
  };
2406
2413
  };
2407
2414
  const deserializeAws_restJson1outpostListDefinition = (output, context) => {
@@ -2428,6 +2435,12 @@ const deserializeAws_restJson1RackPhysicalProperties = (output, context) => {
2428
2435
  UplinkGbps: (0, smithy_client_1.expectString)(output.UplinkGbps),
2429
2436
  };
2430
2437
  };
2438
+ const deserializeAws_restJson1ShipmentInformation = (output, context) => {
2439
+ return {
2440
+ ShipmentCarrier: (0, smithy_client_1.expectString)(output.ShipmentCarrier),
2441
+ ShipmentTrackingNumber: (0, smithy_client_1.expectString)(output.ShipmentTrackingNumber),
2442
+ };
2443
+ };
2431
2444
  const deserializeAws_restJson1Site = (output, context) => {
2432
2445
  return {
2433
2446
  AccountId: (0, smithy_client_1.expectString)(output.AccountId),
@@ -2437,14 +2450,12 @@ const deserializeAws_restJson1Site = (output, context) => {
2437
2450
  OperatingAddressCity: (0, smithy_client_1.expectString)(output.OperatingAddressCity),
2438
2451
  OperatingAddressCountryCode: (0, smithy_client_1.expectString)(output.OperatingAddressCountryCode),
2439
2452
  OperatingAddressStateOrRegion: (0, smithy_client_1.expectString)(output.OperatingAddressStateOrRegion),
2440
- RackPhysicalProperties: output.RackPhysicalProperties !== undefined && output.RackPhysicalProperties !== null
2453
+ RackPhysicalProperties: output.RackPhysicalProperties != null
2441
2454
  ? deserializeAws_restJson1RackPhysicalProperties(output.RackPhysicalProperties, context)
2442
2455
  : undefined,
2443
2456
  SiteArn: (0, smithy_client_1.expectString)(output.SiteArn),
2444
2457
  SiteId: (0, smithy_client_1.expectString)(output.SiteId),
2445
- Tags: output.Tags !== undefined && output.Tags !== null
2446
- ? deserializeAws_restJson1TagMap(output.Tags, context)
2447
- : undefined,
2458
+ Tags: output.Tags != null ? deserializeAws_restJson1TagMap(output.Tags, context) : undefined,
2448
2459
  };
2449
2460
  };
2450
2461
  const deserializeAws_restJson1siteListDefinition = (output, context) => {
@@ -2522,6 +2533,9 @@ const loadRestJsonErrorCode = (output, data) => {
2522
2533
  const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase());
2523
2534
  const sanitizeErrorCode = (rawValue) => {
2524
2535
  let cleanValue = rawValue;
2536
+ if (typeof cleanValue === "number") {
2537
+ cleanValue = cleanValue.toString();
2538
+ }
2525
2539
  if (cleanValue.indexOf(":") >= 0) {
2526
2540
  cleanValue = cleanValue.split(":")[0];
2527
2541
  }
@@ -150,6 +150,21 @@ export var CreateOrderInput;
150
150
  (function (CreateOrderInput) {
151
151
  CreateOrderInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
152
152
  })(CreateOrderInput || (CreateOrderInput = {}));
153
+ export var LineItemAssetInformation;
154
+ (function (LineItemAssetInformation) {
155
+ LineItemAssetInformation.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
156
+ })(LineItemAssetInformation || (LineItemAssetInformation = {}));
157
+ export var ShipmentCarrier;
158
+ (function (ShipmentCarrier) {
159
+ ShipmentCarrier["DBS"] = "DBS";
160
+ ShipmentCarrier["DHL"] = "DHL";
161
+ ShipmentCarrier["FEDEX"] = "FEDEX";
162
+ ShipmentCarrier["UPS"] = "UPS";
163
+ })(ShipmentCarrier || (ShipmentCarrier = {}));
164
+ export var ShipmentInformation;
165
+ (function (ShipmentInformation) {
166
+ ShipmentInformation.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
167
+ })(ShipmentInformation || (ShipmentInformation = {}));
153
168
  export var LineItemStatus;
154
169
  (function (LineItemStatus) {
155
170
  LineItemStatus["BUILDING"] = "BUILDING";
@@ -45,11 +45,9 @@ export var serializeAws_restJson1CreateOrderCommand = function (input, context)
45
45
  "content-type": "application/json",
46
46
  };
47
47
  resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/orders";
48
- body = JSON.stringify(__assign(__assign(__assign(__assign({}, (input.LineItems !== undefined &&
49
- input.LineItems !== null && {
48
+ body = JSON.stringify(__assign(__assign(__assign(__assign({}, (input.LineItems != null && {
50
49
  LineItems: serializeAws_restJson1LineItemRequestListDefinition(input.LineItems, context),
51
- })), (input.OutpostIdentifier !== undefined &&
52
- input.OutpostIdentifier !== null && { OutpostIdentifier: input.OutpostIdentifier })), (input.PaymentOption !== undefined && input.PaymentOption !== null && { PaymentOption: input.PaymentOption })), (input.PaymentTerm !== undefined && input.PaymentTerm !== null && { PaymentTerm: input.PaymentTerm })));
50
+ })), (input.OutpostIdentifier != null && { OutpostIdentifier: input.OutpostIdentifier })), (input.PaymentOption != null && { PaymentOption: input.PaymentOption })), (input.PaymentTerm != null && { PaymentTerm: input.PaymentTerm })));
53
51
  return [2, new __HttpRequest({
54
52
  protocol: protocol,
55
53
  hostname: hostname,
@@ -73,10 +71,7 @@ export var serializeAws_restJson1CreateOutpostCommand = function (input, context
73
71
  "content-type": "application/json",
74
72
  };
75
73
  resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/outposts";
76
- body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AvailabilityZone !== undefined &&
77
- input.AvailabilityZone !== null && { AvailabilityZone: input.AvailabilityZone })), (input.AvailabilityZoneId !== undefined &&
78
- input.AvailabilityZoneId !== null && { AvailabilityZoneId: input.AvailabilityZoneId })), (input.Description !== undefined && input.Description !== null && { Description: input.Description })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.SiteId !== undefined && input.SiteId !== null && { SiteId: input.SiteId })), (input.SupportedHardwareType !== undefined &&
79
- input.SupportedHardwareType !== null && { SupportedHardwareType: input.SupportedHardwareType })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_restJson1TagMap(input.Tags, context) })));
74
+ body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AvailabilityZone != null && { AvailabilityZone: input.AvailabilityZone })), (input.AvailabilityZoneId != null && { AvailabilityZoneId: input.AvailabilityZoneId })), (input.Description != null && { Description: input.Description })), (input.Name != null && { Name: input.Name })), (input.SiteId != null && { SiteId: input.SiteId })), (input.SupportedHardwareType != null && { SupportedHardwareType: input.SupportedHardwareType })), (input.Tags != null && { Tags: serializeAws_restJson1TagMap(input.Tags, context) })));
80
75
  return [2, new __HttpRequest({
81
76
  protocol: protocol,
82
77
  hostname: hostname,
@@ -100,16 +95,13 @@ export var serializeAws_restJson1CreateSiteCommand = function (input, context) {
100
95
  "content-type": "application/json",
101
96
  };
102
97
  resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/sites";
103
- body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Description !== undefined && input.Description !== null && { Description: input.Description })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.Notes !== undefined && input.Notes !== null && { Notes: input.Notes })), (input.OperatingAddress !== undefined &&
104
- input.OperatingAddress !== null && {
98
+ body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Description != null && { Description: input.Description })), (input.Name != null && { Name: input.Name })), (input.Notes != null && { Notes: input.Notes })), (input.OperatingAddress != null && {
105
99
  OperatingAddress: serializeAws_restJson1Address(input.OperatingAddress, context),
106
- })), (input.RackPhysicalProperties !== undefined &&
107
- input.RackPhysicalProperties !== null && {
100
+ })), (input.RackPhysicalProperties != null && {
108
101
  RackPhysicalProperties: serializeAws_restJson1RackPhysicalProperties(input.RackPhysicalProperties, context),
109
- })), (input.ShippingAddress !== undefined &&
110
- input.ShippingAddress !== null && {
102
+ })), (input.ShippingAddress != null && {
111
103
  ShippingAddress: serializeAws_restJson1Address(input.ShippingAddress, context),
112
- })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_restJson1TagMap(input.Tags, context) })));
104
+ })), (input.Tags != null && { Tags: serializeAws_restJson1TagMap(input.Tags, context) })));
113
105
  return [2, new __HttpRequest({
114
106
  protocol: protocol,
115
107
  hostname: hostname,
@@ -592,10 +584,9 @@ export var serializeAws_restJson1StartConnectionCommand = function (input, conte
592
584
  "content-type": "application/json",
593
585
  };
594
586
  resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/connections";
595
- body = JSON.stringify(__assign(__assign(__assign(__assign({}, (input.AssetId !== undefined && input.AssetId !== null && { AssetId: input.AssetId })), (input.ClientPublicKey !== undefined &&
596
- input.ClientPublicKey !== null && { ClientPublicKey: input.ClientPublicKey })), (input.DeviceSerialNumber !== undefined &&
597
- input.DeviceSerialNumber !== null && { DeviceSerialNumber: input.DeviceSerialNumber })), (input.NetworkInterfaceDeviceIndex !== undefined &&
598
- input.NetworkInterfaceDeviceIndex !== null && { NetworkInterfaceDeviceIndex: input.NetworkInterfaceDeviceIndex })));
587
+ body = JSON.stringify(__assign(__assign(__assign(__assign({}, (input.AssetId != null && { AssetId: input.AssetId })), (input.ClientPublicKey != null && { ClientPublicKey: input.ClientPublicKey })), (input.DeviceSerialNumber != null && { DeviceSerialNumber: input.DeviceSerialNumber })), (input.NetworkInterfaceDeviceIndex != null && {
588
+ NetworkInterfaceDeviceIndex: input.NetworkInterfaceDeviceIndex,
589
+ })));
599
590
  return [2, new __HttpRequest({
600
591
  protocol: protocol,
601
592
  hostname: hostname,
@@ -629,7 +620,7 @@ export var serializeAws_restJson1TagResourceCommand = function (input, context)
629
620
  else {
630
621
  throw new Error("No value provided for input HTTP label: ResourceArn.");
631
622
  }
632
- body = JSON.stringify(__assign({}, (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_restJson1TagMap(input.Tags, context) })));
623
+ body = JSON.stringify(__assign({}, (input.Tags != null && { Tags: serializeAws_restJson1TagMap(input.Tags, context) })));
633
624
  return [2, new __HttpRequest({
634
625
  protocol: protocol,
635
626
  hostname: hostname,
@@ -696,8 +687,7 @@ export var serializeAws_restJson1UpdateOutpostCommand = function (input, context
696
687
  else {
697
688
  throw new Error("No value provided for input HTTP label: OutpostId.");
698
689
  }
699
- body = JSON.stringify(__assign(__assign(__assign({}, (input.Description !== undefined && input.Description !== null && { Description: input.Description })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.SupportedHardwareType !== undefined &&
700
- input.SupportedHardwareType !== null && { SupportedHardwareType: input.SupportedHardwareType })));
690
+ body = JSON.stringify(__assign(__assign(__assign({}, (input.Description != null && { Description: input.Description })), (input.Name != null && { Name: input.Name })), (input.SupportedHardwareType != null && { SupportedHardwareType: input.SupportedHardwareType })));
701
691
  return [2, new __HttpRequest({
702
692
  protocol: protocol,
703
693
  hostname: hostname,
@@ -731,7 +721,7 @@ export var serializeAws_restJson1UpdateSiteCommand = function (input, context) {
731
721
  else {
732
722
  throw new Error("No value provided for input HTTP label: SiteId.");
733
723
  }
734
- body = JSON.stringify(__assign(__assign(__assign({}, (input.Description !== undefined && input.Description !== null && { Description: input.Description })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.Notes !== undefined && input.Notes !== null && { Notes: input.Notes })));
724
+ body = JSON.stringify(__assign(__assign(__assign({}, (input.Description != null && { Description: input.Description })), (input.Name != null && { Name: input.Name })), (input.Notes != null && { Notes: input.Notes })));
735
725
  return [2, new __HttpRequest({
736
726
  protocol: protocol,
737
727
  hostname: hostname,
@@ -765,8 +755,7 @@ export var serializeAws_restJson1UpdateSiteAddressCommand = function (input, con
765
755
  else {
766
756
  throw new Error("No value provided for input HTTP label: SiteId.");
767
757
  }
768
- body = JSON.stringify(__assign(__assign({}, (input.Address !== undefined &&
769
- input.Address !== null && { Address: serializeAws_restJson1Address(input.Address, context) })), (input.AddressType !== undefined && input.AddressType !== null && { AddressType: input.AddressType })));
758
+ body = JSON.stringify(__assign(__assign({}, (input.Address != null && { Address: serializeAws_restJson1Address(input.Address, context) })), (input.AddressType != null && { AddressType: input.AddressType })));
770
759
  return [2, new __HttpRequest({
771
760
  protocol: protocol,
772
761
  hostname: hostname,
@@ -800,11 +789,7 @@ export var serializeAws_restJson1UpdateSiteRackPhysicalPropertiesCommand = funct
800
789
  else {
801
790
  throw new Error("No value provided for input HTTP label: SiteId.");
802
791
  }
803
- body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.FiberOpticCableType !== undefined &&
804
- input.FiberOpticCableType !== null && { FiberOpticCableType: input.FiberOpticCableType })), (input.MaximumSupportedWeightLbs !== undefined &&
805
- input.MaximumSupportedWeightLbs !== null && { MaximumSupportedWeightLbs: input.MaximumSupportedWeightLbs })), (input.OpticalStandard !== undefined &&
806
- input.OpticalStandard !== null && { OpticalStandard: input.OpticalStandard })), (input.PowerConnector !== undefined &&
807
- input.PowerConnector !== null && { PowerConnector: input.PowerConnector })), (input.PowerDrawKva !== undefined && input.PowerDrawKva !== null && { PowerDrawKva: input.PowerDrawKva })), (input.PowerFeedDrop !== undefined && input.PowerFeedDrop !== null && { PowerFeedDrop: input.PowerFeedDrop })), (input.PowerPhase !== undefined && input.PowerPhase !== null && { PowerPhase: input.PowerPhase })), (input.UplinkCount !== undefined && input.UplinkCount !== null && { UplinkCount: input.UplinkCount })), (input.UplinkGbps !== undefined && input.UplinkGbps !== null && { UplinkGbps: input.UplinkGbps })));
792
+ body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.FiberOpticCableType != null && { FiberOpticCableType: input.FiberOpticCableType })), (input.MaximumSupportedWeightLbs != null && { MaximumSupportedWeightLbs: input.MaximumSupportedWeightLbs })), (input.OpticalStandard != null && { OpticalStandard: input.OpticalStandard })), (input.PowerConnector != null && { PowerConnector: input.PowerConnector })), (input.PowerDrawKva != null && { PowerDrawKva: input.PowerDrawKva })), (input.PowerFeedDrop != null && { PowerFeedDrop: input.PowerFeedDrop })), (input.PowerPhase != null && { PowerPhase: input.PowerPhase })), (input.UplinkCount != null && { UplinkCount: input.UplinkCount })), (input.UplinkGbps != null && { UplinkGbps: input.UplinkGbps })));
808
793
  return [2, new __HttpRequest({
809
794
  protocol: protocol,
810
795
  hostname: hostname,
@@ -2728,12 +2713,10 @@ var deserializeAws_restJson1ValidationExceptionResponse = function (parsedOutput
2728
2713
  });
2729
2714
  }); };
2730
2715
  var serializeAws_restJson1Address = function (input, context) {
2731
- return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AddressLine1 !== undefined && input.AddressLine1 !== null && { AddressLine1: input.AddressLine1 })), (input.AddressLine2 !== undefined && input.AddressLine2 !== null && { AddressLine2: input.AddressLine2 })), (input.AddressLine3 !== undefined && input.AddressLine3 !== null && { AddressLine3: input.AddressLine3 })), (input.City !== undefined && input.City !== null && { City: input.City })), (input.ContactName !== undefined && input.ContactName !== null && { ContactName: input.ContactName })), (input.ContactPhoneNumber !== undefined &&
2732
- input.ContactPhoneNumber !== null && { ContactPhoneNumber: input.ContactPhoneNumber })), (input.CountryCode !== undefined && input.CountryCode !== null && { CountryCode: input.CountryCode })), (input.DistrictOrCounty !== undefined &&
2733
- input.DistrictOrCounty !== null && { DistrictOrCounty: input.DistrictOrCounty })), (input.Municipality !== undefined && input.Municipality !== null && { Municipality: input.Municipality })), (input.PostalCode !== undefined && input.PostalCode !== null && { PostalCode: input.PostalCode })), (input.StateOrRegion !== undefined && input.StateOrRegion !== null && { StateOrRegion: input.StateOrRegion }));
2716
+ return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AddressLine1 != null && { AddressLine1: input.AddressLine1 })), (input.AddressLine2 != null && { AddressLine2: input.AddressLine2 })), (input.AddressLine3 != null && { AddressLine3: input.AddressLine3 })), (input.City != null && { City: input.City })), (input.ContactName != null && { ContactName: input.ContactName })), (input.ContactPhoneNumber != null && { ContactPhoneNumber: input.ContactPhoneNumber })), (input.CountryCode != null && { CountryCode: input.CountryCode })), (input.DistrictOrCounty != null && { DistrictOrCounty: input.DistrictOrCounty })), (input.Municipality != null && { Municipality: input.Municipality })), (input.PostalCode != null && { PostalCode: input.PostalCode })), (input.StateOrRegion != null && { StateOrRegion: input.StateOrRegion }));
2734
2717
  };
2735
2718
  var serializeAws_restJson1LineItemRequest = function (input, context) {
2736
- return __assign(__assign({}, (input.CatalogItemId !== undefined && input.CatalogItemId !== null && { CatalogItemId: input.CatalogItemId })), (input.Quantity !== undefined && input.Quantity !== null && { Quantity: input.Quantity }));
2719
+ return __assign(__assign({}, (input.CatalogItemId != null && { CatalogItemId: input.CatalogItemId })), (input.Quantity != null && { Quantity: input.Quantity }));
2737
2720
  };
2738
2721
  var serializeAws_restJson1LineItemRequestListDefinition = function (input, context) {
2739
2722
  return input
@@ -2746,11 +2729,7 @@ var serializeAws_restJson1LineItemRequestListDefinition = function (input, conte
2746
2729
  });
2747
2730
  };
2748
2731
  var serializeAws_restJson1RackPhysicalProperties = function (input, context) {
2749
- return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.FiberOpticCableType !== undefined &&
2750
- input.FiberOpticCableType !== null && { FiberOpticCableType: input.FiberOpticCableType })), (input.MaximumSupportedWeightLbs !== undefined &&
2751
- input.MaximumSupportedWeightLbs !== null && { MaximumSupportedWeightLbs: input.MaximumSupportedWeightLbs })), (input.OpticalStandard !== undefined &&
2752
- input.OpticalStandard !== null && { OpticalStandard: input.OpticalStandard })), (input.PowerConnector !== undefined &&
2753
- input.PowerConnector !== null && { PowerConnector: input.PowerConnector })), (input.PowerDrawKva !== undefined && input.PowerDrawKva !== null && { PowerDrawKva: input.PowerDrawKva })), (input.PowerFeedDrop !== undefined && input.PowerFeedDrop !== null && { PowerFeedDrop: input.PowerFeedDrop })), (input.PowerPhase !== undefined && input.PowerPhase !== null && { PowerPhase: input.PowerPhase })), (input.UplinkCount !== undefined && input.UplinkCount !== null && { UplinkCount: input.UplinkCount })), (input.UplinkGbps !== undefined && input.UplinkGbps !== null && { UplinkGbps: input.UplinkGbps }));
2732
+ return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.FiberOpticCableType != null && { FiberOpticCableType: input.FiberOpticCableType })), (input.MaximumSupportedWeightLbs != null && { MaximumSupportedWeightLbs: input.MaximumSupportedWeightLbs })), (input.OpticalStandard != null && { OpticalStandard: input.OpticalStandard })), (input.PowerConnector != null && { PowerConnector: input.PowerConnector })), (input.PowerDrawKva != null && { PowerDrawKva: input.PowerDrawKva })), (input.PowerFeedDrop != null && { PowerFeedDrop: input.PowerFeedDrop })), (input.PowerPhase != null && { PowerPhase: input.PowerPhase })), (input.UplinkCount != null && { UplinkCount: input.UplinkCount })), (input.UplinkGbps != null && { UplinkGbps: input.UplinkGbps }));
2754
2733
  };
2755
2734
  var serializeAws_restJson1TagMap = function (input, context) {
2756
2735
  return Object.entries(input).reduce(function (acc, _a) {
@@ -2780,11 +2759,9 @@ var deserializeAws_restJson1Address = function (output, context) {
2780
2759
  var deserializeAws_restJson1AssetInfo = function (output, context) {
2781
2760
  return {
2782
2761
  AssetId: __expectString(output.AssetId),
2783
- AssetLocation: output.AssetLocation !== undefined && output.AssetLocation !== null
2784
- ? deserializeAws_restJson1AssetLocation(output.AssetLocation, context)
2785
- : undefined,
2762
+ AssetLocation: output.AssetLocation != null ? deserializeAws_restJson1AssetLocation(output.AssetLocation, context) : undefined,
2786
2763
  AssetType: __expectString(output.AssetType),
2787
- ComputeAttributes: output.ComputeAttributes !== undefined && output.ComputeAttributes !== null
2764
+ ComputeAttributes: output.ComputeAttributes != null
2788
2765
  ? deserializeAws_restJson1ComputeAttributes(output.ComputeAttributes, context)
2789
2766
  : undefined,
2790
2767
  RackId: __expectString(output.RackId),
@@ -2809,15 +2786,15 @@ var deserializeAws_restJson1AssetLocation = function (output, context) {
2809
2786
  var deserializeAws_restJson1CatalogItem = function (output, context) {
2810
2787
  return {
2811
2788
  CatalogItemId: __expectString(output.CatalogItemId),
2812
- EC2Capacities: output.EC2Capacities !== undefined && output.EC2Capacities !== null
2789
+ EC2Capacities: output.EC2Capacities != null
2813
2790
  ? deserializeAws_restJson1EC2CapacityListDefinition(output.EC2Capacities, context)
2814
2791
  : undefined,
2815
2792
  ItemStatus: __expectString(output.ItemStatus),
2816
2793
  PowerKva: __limitedParseFloat32(output.PowerKva),
2817
- SupportedStorage: output.SupportedStorage !== undefined && output.SupportedStorage !== null
2794
+ SupportedStorage: output.SupportedStorage != null
2818
2795
  ? deserializeAws_restJson1SupportedStorageList(output.SupportedStorage, context)
2819
2796
  : undefined,
2820
- SupportedUplinkGbps: output.SupportedUplinkGbps !== undefined && output.SupportedUplinkGbps !== null
2797
+ SupportedUplinkGbps: output.SupportedUplinkGbps != null
2821
2798
  ? deserializeAws_restJson1SupportedUplinkGbpsListDefinition(output.SupportedUplinkGbps, context)
2822
2799
  : undefined,
2823
2800
  WeightLbs: __expectInt32(output.WeightLbs),
@@ -2852,9 +2829,7 @@ var deserializeAws_restJson1ComputeAttributes = function (output, context) {
2852
2829
  };
2853
2830
  var deserializeAws_restJson1ConnectionDetails = function (output, context) {
2854
2831
  return {
2855
- AllowedIps: output.AllowedIps !== undefined && output.AllowedIps !== null
2856
- ? deserializeAws_restJson1CIDRList(output.AllowedIps, context)
2857
- : undefined,
2832
+ AllowedIps: output.AllowedIps != null ? deserializeAws_restJson1CIDRList(output.AllowedIps, context) : undefined,
2858
2833
  ClientPublicKey: __expectString(output.ClientPublicKey),
2859
2834
  ClientTunnelAddress: __expectString(output.ClientTunnelAddress),
2860
2835
  ServerEndpoint: __expectString(output.ServerEndpoint),
@@ -2898,12 +2873,37 @@ var deserializeAws_restJson1InstanceTypeListDefinition = function (output, conte
2898
2873
  };
2899
2874
  var deserializeAws_restJson1LineItem = function (output, context) {
2900
2875
  return {
2876
+ AssetInformationList: output.AssetInformationList != null
2877
+ ? deserializeAws_restJson1LineItemAssetInformationList(output.AssetInformationList, context)
2878
+ : undefined,
2901
2879
  CatalogItemId: __expectString(output.CatalogItemId),
2902
2880
  LineItemId: __expectString(output.LineItemId),
2903
2881
  Quantity: __expectInt32(output.Quantity),
2882
+ ShipmentInformation: output.ShipmentInformation != null
2883
+ ? deserializeAws_restJson1ShipmentInformation(output.ShipmentInformation, context)
2884
+ : undefined,
2904
2885
  Status: __expectString(output.Status),
2905
2886
  };
2906
2887
  };
2888
+ var deserializeAws_restJson1LineItemAssetInformation = function (output, context) {
2889
+ return {
2890
+ AssetId: __expectString(output.AssetId),
2891
+ MacAddressList: output.MacAddressList != null
2892
+ ? deserializeAws_restJson1MacAddressList(output.MacAddressList, context)
2893
+ : undefined,
2894
+ };
2895
+ };
2896
+ var deserializeAws_restJson1LineItemAssetInformationList = function (output, context) {
2897
+ var retVal = (output || [])
2898
+ .filter(function (e) { return e != null; })
2899
+ .map(function (entry) {
2900
+ if (entry === null) {
2901
+ return null;
2902
+ }
2903
+ return deserializeAws_restJson1LineItemAssetInformation(entry, context);
2904
+ });
2905
+ return retVal;
2906
+ };
2907
2907
  var deserializeAws_restJson1LineItemListDefinition = function (output, context) {
2908
2908
  var retVal = (output || [])
2909
2909
  .filter(function (e) { return e != null; })
@@ -2925,16 +2925,25 @@ var deserializeAws_restJson1LineItemStatusCounts = function (output, context) {
2925
2925
  return __assign(__assign({}, acc), (_b = {}, _b[key] = __expectInt32(value), _b));
2926
2926
  }, {});
2927
2927
  };
2928
+ var deserializeAws_restJson1MacAddressList = function (output, context) {
2929
+ var retVal = (output || [])
2930
+ .filter(function (e) { return e != null; })
2931
+ .map(function (entry) {
2932
+ if (entry === null) {
2933
+ return null;
2934
+ }
2935
+ return __expectString(entry);
2936
+ });
2937
+ return retVal;
2938
+ };
2928
2939
  var deserializeAws_restJson1Order = function (output, context) {
2929
2940
  return {
2930
- LineItems: output.LineItems !== undefined && output.LineItems !== null
2931
- ? deserializeAws_restJson1LineItemListDefinition(output.LineItems, context)
2932
- : undefined,
2933
- OrderFulfilledDate: output.OrderFulfilledDate !== undefined && output.OrderFulfilledDate !== null
2941
+ LineItems: output.LineItems != null ? deserializeAws_restJson1LineItemListDefinition(output.LineItems, context) : undefined,
2942
+ OrderFulfilledDate: output.OrderFulfilledDate != null
2934
2943
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.OrderFulfilledDate)))
2935
2944
  : undefined,
2936
2945
  OrderId: __expectString(output.OrderId),
2937
- OrderSubmissionDate: output.OrderSubmissionDate !== undefined && output.OrderSubmissionDate !== null
2946
+ OrderSubmissionDate: output.OrderSubmissionDate != null
2938
2947
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.OrderSubmissionDate)))
2939
2948
  : undefined,
2940
2949
  OutpostId: __expectString(output.OutpostId),
@@ -2944,14 +2953,14 @@ var deserializeAws_restJson1Order = function (output, context) {
2944
2953
  };
2945
2954
  var deserializeAws_restJson1OrderSummary = function (output, context) {
2946
2955
  return {
2947
- LineItemCountsByStatus: output.LineItemCountsByStatus !== undefined && output.LineItemCountsByStatus !== null
2956
+ LineItemCountsByStatus: output.LineItemCountsByStatus != null
2948
2957
  ? deserializeAws_restJson1LineItemStatusCounts(output.LineItemCountsByStatus, context)
2949
2958
  : undefined,
2950
- OrderFulfilledDate: output.OrderFulfilledDate !== undefined && output.OrderFulfilledDate !== null
2959
+ OrderFulfilledDate: output.OrderFulfilledDate != null
2951
2960
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.OrderFulfilledDate)))
2952
2961
  : undefined,
2953
2962
  OrderId: __expectString(output.OrderId),
2954
- OrderSubmissionDate: output.OrderSubmissionDate !== undefined && output.OrderSubmissionDate !== null
2963
+ OrderSubmissionDate: output.OrderSubmissionDate != null
2955
2964
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.OrderSubmissionDate)))
2956
2965
  : undefined,
2957
2966
  OrderType: __expectString(output.OrderType),
@@ -2983,9 +2992,7 @@ var deserializeAws_restJson1Outpost = function (output, context) {
2983
2992
  SiteArn: __expectString(output.SiteArn),
2984
2993
  SiteId: __expectString(output.SiteId),
2985
2994
  SupportedHardwareType: __expectString(output.SupportedHardwareType),
2986
- Tags: output.Tags !== undefined && output.Tags !== null
2987
- ? deserializeAws_restJson1TagMap(output.Tags, context)
2988
- : undefined,
2995
+ Tags: output.Tags != null ? deserializeAws_restJson1TagMap(output.Tags, context) : undefined,
2989
2996
  };
2990
2997
  };
2991
2998
  var deserializeAws_restJson1outpostListDefinition = function (output, context) {
@@ -3012,6 +3019,12 @@ var deserializeAws_restJson1RackPhysicalProperties = function (output, context)
3012
3019
  UplinkGbps: __expectString(output.UplinkGbps),
3013
3020
  };
3014
3021
  };
3022
+ var deserializeAws_restJson1ShipmentInformation = function (output, context) {
3023
+ return {
3024
+ ShipmentCarrier: __expectString(output.ShipmentCarrier),
3025
+ ShipmentTrackingNumber: __expectString(output.ShipmentTrackingNumber),
3026
+ };
3027
+ };
3015
3028
  var deserializeAws_restJson1Site = function (output, context) {
3016
3029
  return {
3017
3030
  AccountId: __expectString(output.AccountId),
@@ -3021,14 +3034,12 @@ var deserializeAws_restJson1Site = function (output, context) {
3021
3034
  OperatingAddressCity: __expectString(output.OperatingAddressCity),
3022
3035
  OperatingAddressCountryCode: __expectString(output.OperatingAddressCountryCode),
3023
3036
  OperatingAddressStateOrRegion: __expectString(output.OperatingAddressStateOrRegion),
3024
- RackPhysicalProperties: output.RackPhysicalProperties !== undefined && output.RackPhysicalProperties !== null
3037
+ RackPhysicalProperties: output.RackPhysicalProperties != null
3025
3038
  ? deserializeAws_restJson1RackPhysicalProperties(output.RackPhysicalProperties, context)
3026
3039
  : undefined,
3027
3040
  SiteArn: __expectString(output.SiteArn),
3028
3041
  SiteId: __expectString(output.SiteId),
3029
- Tags: output.Tags !== undefined && output.Tags !== null
3030
- ? deserializeAws_restJson1TagMap(output.Tags, context)
3031
- : undefined,
3042
+ Tags: output.Tags != null ? deserializeAws_restJson1TagMap(output.Tags, context) : undefined,
3032
3043
  };
3033
3044
  };
3034
3045
  var deserializeAws_restJson1siteListDefinition = function (output, context) {
@@ -3112,6 +3123,9 @@ var loadRestJsonErrorCode = function (output, data) {
3112
3123
  var findKey = function (object, key) { return Object.keys(object).find(function (k) { return k.toLowerCase() === key.toLowerCase(); }); };
3113
3124
  var sanitizeErrorCode = function (rawValue) {
3114
3125
  var cleanValue = rawValue;
3126
+ if (typeof cleanValue === "number") {
3127
+ cleanValue = cleanValue.toString();
3128
+ }
3115
3129
  if (cleanValue.indexOf(":") >= 0) {
3116
3130
  cleanValue = cleanValue.split(":")[0];
3117
3131
  }
@@ -434,6 +434,62 @@ export declare namespace CreateOrderInput {
434
434
  */
435
435
  const filterSensitiveLog: (obj: CreateOrderInput) => any;
436
436
  }
437
+ /**
438
+ * <p>
439
+ * Information about a line item asset.
440
+ * </p>
441
+ */
442
+ export interface LineItemAssetInformation {
443
+ /**
444
+ * <p>
445
+ * The ID of the asset.
446
+ * </p>
447
+ */
448
+ AssetId?: string;
449
+ /**
450
+ * <p>
451
+ * MAC addresses of the asset.
452
+ * </p>
453
+ */
454
+ MacAddressList?: string[];
455
+ }
456
+ export declare namespace LineItemAssetInformation {
457
+ /**
458
+ * @internal
459
+ */
460
+ const filterSensitiveLog: (obj: LineItemAssetInformation) => any;
461
+ }
462
+ export declare enum ShipmentCarrier {
463
+ DBS = "DBS",
464
+ DHL = "DHL",
465
+ FEDEX = "FEDEX",
466
+ UPS = "UPS"
467
+ }
468
+ /**
469
+ * <p>
470
+ * Information about a line item shipment.
471
+ * </p>
472
+ */
473
+ export interface ShipmentInformation {
474
+ /**
475
+ * <p>
476
+ * The tracking number of the shipment.
477
+ * </p>
478
+ */
479
+ ShipmentTrackingNumber?: string;
480
+ /**
481
+ * <p>
482
+ * The carrier of the shipment.
483
+ * </p>
484
+ */
485
+ ShipmentCarrier?: ShipmentCarrier | string;
486
+ }
487
+ export declare namespace ShipmentInformation {
488
+ /**
489
+ * @internal
490
+ */
491
+ const filterSensitiveLog: (obj: ShipmentInformation) => any;
492
+ }
437
493
  export declare enum LineItemStatus {
438
494
  BUILDING = "BUILDING",
439
495
  CANCELLED = "CANCELLED",
@@ -466,6 +522,18 @@ export interface LineItem {
466
522
  * <p>The status of the line item.</p>
467
523
  */
468
524
  Status?: LineItemStatus | string;
525
+ /**
526
+ * <p>
527
+ * Information about a line item shipment.
528
+ * </p>
529
+ */
530
+ ShipmentInformation?: ShipmentInformation;
531
+ /**
532
+ * <p>
533
+ * Information about assets.
534
+ * </p>
535
+ */
536
+ AssetInformationList?: LineItemAssetInformation[];
469
537
  }
470
538
  export declare namespace LineItem {
471
539
  /**
@@ -231,6 +231,34 @@ export declare namespace CreateOrderInput {
231
231
 
232
232
  const filterSensitiveLog: (obj: CreateOrderInput) => any;
233
233
  }
234
+
235
+ export interface LineItemAssetInformation {
236
+
237
+ AssetId?: string;
238
+
239
+ MacAddressList?: string[];
240
+ }
241
+ export declare namespace LineItemAssetInformation {
242
+
243
+ const filterSensitiveLog: (obj: LineItemAssetInformation) => any;
244
+ }
245
+ export declare enum ShipmentCarrier {
246
+ DBS = "DBS",
247
+ DHL = "DHL",
248
+ FEDEX = "FEDEX",
249
+ UPS = "UPS"
250
+ }
251
+
252
+ export interface ShipmentInformation {
253
+
254
+ ShipmentTrackingNumber?: string;
255
+
256
+ ShipmentCarrier?: ShipmentCarrier | string;
257
+ }
258
+ export declare namespace ShipmentInformation {
259
+
260
+ const filterSensitiveLog: (obj: ShipmentInformation) => any;
261
+ }
234
262
  export declare enum LineItemStatus {
235
263
  BUILDING = "BUILDING",
236
264
  CANCELLED = "CANCELLED",
@@ -251,6 +279,10 @@ export interface LineItem {
251
279
  Quantity?: number;
252
280
 
253
281
  Status?: LineItemStatus | string;
282
+
283
+ ShipmentInformation?: ShipmentInformation;
284
+
285
+ AssetInformationList?: LineItemAssetInformation[];
254
286
  }
255
287
  export declare namespace LineItem {
256
288
 
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.121.0",
4
+ "version": "3.130.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,35 +18,35 @@
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.121.0",
22
- "@aws-sdk/config-resolver": "3.110.0",
23
- "@aws-sdk/credential-provider-node": "3.121.0",
24
- "@aws-sdk/fetch-http-handler": "3.110.0",
25
- "@aws-sdk/hash-node": "3.110.0",
26
- "@aws-sdk/invalid-dependency": "3.110.0",
27
- "@aws-sdk/middleware-content-length": "3.110.0",
28
- "@aws-sdk/middleware-host-header": "3.110.0",
29
- "@aws-sdk/middleware-logger": "3.110.0",
30
- "@aws-sdk/middleware-recursion-detection": "3.110.0",
31
- "@aws-sdk/middleware-retry": "3.118.1",
32
- "@aws-sdk/middleware-serde": "3.110.0",
33
- "@aws-sdk/middleware-signing": "3.110.0",
34
- "@aws-sdk/middleware-stack": "3.110.0",
35
- "@aws-sdk/middleware-user-agent": "3.110.0",
36
- "@aws-sdk/node-config-provider": "3.110.0",
37
- "@aws-sdk/node-http-handler": "3.118.1",
38
- "@aws-sdk/protocol-http": "3.110.0",
39
- "@aws-sdk/smithy-client": "3.110.0",
40
- "@aws-sdk/types": "3.110.0",
41
- "@aws-sdk/url-parser": "3.110.0",
21
+ "@aws-sdk/client-sts": "3.130.0",
22
+ "@aws-sdk/config-resolver": "3.130.0",
23
+ "@aws-sdk/credential-provider-node": "3.130.0",
24
+ "@aws-sdk/fetch-http-handler": "3.127.0",
25
+ "@aws-sdk/hash-node": "3.127.0",
26
+ "@aws-sdk/invalid-dependency": "3.127.0",
27
+ "@aws-sdk/middleware-content-length": "3.127.0",
28
+ "@aws-sdk/middleware-host-header": "3.127.0",
29
+ "@aws-sdk/middleware-logger": "3.127.0",
30
+ "@aws-sdk/middleware-recursion-detection": "3.127.0",
31
+ "@aws-sdk/middleware-retry": "3.127.0",
32
+ "@aws-sdk/middleware-serde": "3.127.0",
33
+ "@aws-sdk/middleware-signing": "3.130.0",
34
+ "@aws-sdk/middleware-stack": "3.127.0",
35
+ "@aws-sdk/middleware-user-agent": "3.127.0",
36
+ "@aws-sdk/node-config-provider": "3.127.0",
37
+ "@aws-sdk/node-http-handler": "3.127.0",
38
+ "@aws-sdk/protocol-http": "3.127.0",
39
+ "@aws-sdk/smithy-client": "3.127.0",
40
+ "@aws-sdk/types": "3.127.0",
41
+ "@aws-sdk/url-parser": "3.127.0",
42
42
  "@aws-sdk/util-base64-browser": "3.109.0",
43
43
  "@aws-sdk/util-base64-node": "3.55.0",
44
44
  "@aws-sdk/util-body-length-browser": "3.55.0",
45
45
  "@aws-sdk/util-body-length-node": "3.55.0",
46
- "@aws-sdk/util-defaults-mode-browser": "3.110.0",
47
- "@aws-sdk/util-defaults-mode-node": "3.110.0",
48
- "@aws-sdk/util-user-agent-browser": "3.110.0",
49
- "@aws-sdk/util-user-agent-node": "3.118.0",
46
+ "@aws-sdk/util-defaults-mode-browser": "3.127.0",
47
+ "@aws-sdk/util-defaults-mode-node": "3.130.0",
48
+ "@aws-sdk/util-user-agent-browser": "3.127.0",
49
+ "@aws-sdk/util-user-agent-node": "3.127.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"