@aws-sdk/client-outposts 3.43.0 → 3.44.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 +11 -0
- package/dist-cjs/models/models_0.js +7 -2
- package/dist-cjs/protocols/Aws_restJson1.js +3 -0
- package/dist-es/models/models_0.js +5 -0
- package/dist-es/protocols/Aws_restJson1.js +4 -2
- package/dist-types/models/models_0.d.ts +16 -0
- package/dist-types/ts3.4/models/models_0.d.ts +8 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
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.44.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.43.0...v3.44.0) (2021-12-02)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **clients:** update clients as of 2021/11/30 ([#3077](https://github.com/aws/aws-sdk-js-v3/issues/3077)) ([2bdba30](https://github.com/aws/aws-sdk-js-v3/commit/2bdba30963e550728ba2903d57daa1e666a29d71))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [3.43.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.42.0...v3.43.0) (2021-11-29)
|
|
7
18
|
|
|
8
19
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.UpdateSiteRackPhysicalPropertiesOutput = exports.UpdateSiteRackPhysicalPropertiesInput = exports.UpdateSiteAddressOutput = exports.UpdateSiteAddressInput = exports.UpdateSiteOutput = exports.UpdateSiteInput = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = 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.GetSiteAddressOutput = exports.GetSiteAddressInput = exports.GetSiteOutput = exports.GetSiteInput = exports.GetOutpostInstanceTypesOutput = exports.InstanceTypeItem = exports.GetOutpostInstanceTypesInput = exports.GetOutpostOutput = void 0;
|
|
3
|
+
exports.GetOrderOutput = exports.GetOrderInput = exports.GetCatalogItemOutput = exports.GetCatalogItemInput = 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.CatalogItemClass = exports.CatalogItem = exports.SupportedStorageEnum = exports.CatalogItemStatus = exports.EC2Capacity = exports.ValidationException = exports.NotFoundException = exports.InternalServerException = exports.ConflictException = exports.ResourceType = exports.CancelOrderOutput = exports.CancelOrderInput = exports.AddressType = exports.Address = exports.AccessDeniedException = void 0;
|
|
4
|
+
exports.UpdateSiteRackPhysicalPropertiesOutput = exports.UpdateSiteRackPhysicalPropertiesInput = exports.UpdateSiteAddressOutput = exports.UpdateSiteAddressInput = exports.UpdateSiteOutput = exports.UpdateSiteInput = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = 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.GetSiteAddressOutput = exports.GetSiteAddressInput = exports.GetSiteOutput = exports.GetSiteInput = exports.GetOutpostInstanceTypesOutput = exports.InstanceTypeItem = exports.GetOutpostInstanceTypesInput = exports.GetOutpostOutput = exports.GetOutpostInput = void 0;
|
|
5
5
|
var AccessDeniedException;
|
|
6
6
|
(function (AccessDeniedException) {
|
|
7
7
|
AccessDeniedException.filterSensitiveLog = (obj) => ({
|
|
@@ -157,6 +157,11 @@ var ServiceQuotaExceededException;
|
|
|
157
157
|
...obj,
|
|
158
158
|
});
|
|
159
159
|
})(ServiceQuotaExceededException = exports.ServiceQuotaExceededException || (exports.ServiceQuotaExceededException = {}));
|
|
160
|
+
var SupportedHardwareType;
|
|
161
|
+
(function (SupportedHardwareType) {
|
|
162
|
+
SupportedHardwareType["RACK"] = "RACK";
|
|
163
|
+
SupportedHardwareType["SERVER"] = "SERVER";
|
|
164
|
+
})(SupportedHardwareType = exports.SupportedHardwareType || (exports.SupportedHardwareType = {}));
|
|
160
165
|
var CreateOutpostInput;
|
|
161
166
|
(function (CreateOutpostInput) {
|
|
162
167
|
CreateOutpostInput.filterSensitiveLog = (obj) => ({
|
|
@@ -72,6 +72,8 @@ const serializeAws_restJson1CreateOutpostCommand = async (input, context) => {
|
|
|
72
72
|
...(input.Description !== undefined && input.Description !== null && { Description: input.Description }),
|
|
73
73
|
...(input.Name !== undefined && input.Name !== null && { Name: input.Name }),
|
|
74
74
|
...(input.SiteId !== undefined && input.SiteId !== null && { SiteId: input.SiteId }),
|
|
75
|
+
...(input.SupportedHardwareType !== undefined &&
|
|
76
|
+
input.SupportedHardwareType !== null && { SupportedHardwareType: input.SupportedHardwareType }),
|
|
75
77
|
...(input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_restJson1TagMap(input.Tags, context) }),
|
|
76
78
|
});
|
|
77
79
|
return new protocol_http_1.HttpRequest({
|
|
@@ -2571,6 +2573,7 @@ const deserializeAws_restJson1Outpost = (output, context) => {
|
|
|
2571
2573
|
OwnerId: smithy_client_1.expectString(output.OwnerId),
|
|
2572
2574
|
SiteArn: smithy_client_1.expectString(output.SiteArn),
|
|
2573
2575
|
SiteId: smithy_client_1.expectString(output.SiteId),
|
|
2576
|
+
SupportedHardwareType: smithy_client_1.expectString(output.SupportedHardwareType),
|
|
2574
2577
|
Tags: output.Tags !== undefined && output.Tags !== null
|
|
2575
2578
|
? deserializeAws_restJson1TagMap(output.Tags, context)
|
|
2576
2579
|
: undefined,
|
|
@@ -122,6 +122,11 @@ export var ServiceQuotaExceededException;
|
|
|
122
122
|
(function (ServiceQuotaExceededException) {
|
|
123
123
|
ServiceQuotaExceededException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
124
124
|
})(ServiceQuotaExceededException || (ServiceQuotaExceededException = {}));
|
|
125
|
+
export var SupportedHardwareType;
|
|
126
|
+
(function (SupportedHardwareType) {
|
|
127
|
+
SupportedHardwareType["RACK"] = "RACK";
|
|
128
|
+
SupportedHardwareType["SERVER"] = "SERVER";
|
|
129
|
+
})(SupportedHardwareType || (SupportedHardwareType = {}));
|
|
125
130
|
export var CreateOutpostInput;
|
|
126
131
|
(function (CreateOutpostInput) {
|
|
127
132
|
CreateOutpostInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -71,9 +71,10 @@ export var serializeAws_restJson1CreateOutpostCommand = function (input, context
|
|
|
71
71
|
"content-type": "application/json",
|
|
72
72
|
};
|
|
73
73
|
resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/outposts";
|
|
74
|
-
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AvailabilityZone !== undefined &&
|
|
74
|
+
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AvailabilityZone !== undefined &&
|
|
75
75
|
input.AvailabilityZone !== null && { AvailabilityZone: input.AvailabilityZone })), (input.AvailabilityZoneId !== undefined &&
|
|
76
|
-
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.
|
|
76
|
+
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 &&
|
|
77
|
+
input.SupportedHardwareType !== null && { SupportedHardwareType: input.SupportedHardwareType })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_restJson1TagMap(input.Tags, context) })));
|
|
77
78
|
return [2, new __HttpRequest({
|
|
78
79
|
protocol: protocol,
|
|
79
80
|
hostname: hostname,
|
|
@@ -2903,6 +2904,7 @@ var deserializeAws_restJson1Outpost = function (output, context) {
|
|
|
2903
2904
|
OwnerId: __expectString(output.OwnerId),
|
|
2904
2905
|
SiteArn: __expectString(output.SiteArn),
|
|
2905
2906
|
SiteId: __expectString(output.SiteId),
|
|
2907
|
+
SupportedHardwareType: __expectString(output.SupportedHardwareType),
|
|
2906
2908
|
Tags: output.Tags !== undefined && output.Tags !== null
|
|
2907
2909
|
? deserializeAws_restJson1TagMap(output.Tags, context)
|
|
2908
2910
|
: undefined,
|
|
@@ -454,6 +454,10 @@ export declare namespace ServiceQuotaExceededException {
|
|
|
454
454
|
*/
|
|
455
455
|
const filterSensitiveLog: (obj: ServiceQuotaExceededException) => any;
|
|
456
456
|
}
|
|
457
|
+
export declare enum SupportedHardwareType {
|
|
458
|
+
RACK = "RACK",
|
|
459
|
+
SERVER = "SERVER"
|
|
460
|
+
}
|
|
457
461
|
export interface CreateOutpostInput {
|
|
458
462
|
/**
|
|
459
463
|
* <p>The name of the Outpost.</p>
|
|
@@ -481,6 +485,12 @@ export interface CreateOutpostInput {
|
|
|
481
485
|
Tags?: {
|
|
482
486
|
[key: string]: string;
|
|
483
487
|
};
|
|
488
|
+
/**
|
|
489
|
+
* <p>
|
|
490
|
+
* The type of hardware for this Outpost.
|
|
491
|
+
* </p>
|
|
492
|
+
*/
|
|
493
|
+
SupportedHardwareType?: SupportedHardwareType | string;
|
|
484
494
|
}
|
|
485
495
|
export declare namespace CreateOutpostInput {
|
|
486
496
|
/**
|
|
@@ -538,6 +548,12 @@ export interface Outpost {
|
|
|
538
548
|
* <p>The Amazon Resource Name (ARN) of the site.</p>
|
|
539
549
|
*/
|
|
540
550
|
SiteArn?: string;
|
|
551
|
+
/**
|
|
552
|
+
* <p>
|
|
553
|
+
* The hardware type.
|
|
554
|
+
* </p>
|
|
555
|
+
*/
|
|
556
|
+
SupportedHardwareType?: SupportedHardwareType | string;
|
|
541
557
|
}
|
|
542
558
|
export declare namespace Outpost {
|
|
543
559
|
/**
|
|
@@ -259,6 +259,10 @@ export declare namespace ServiceQuotaExceededException {
|
|
|
259
259
|
|
|
260
260
|
const filterSensitiveLog: (obj: ServiceQuotaExceededException) => any;
|
|
261
261
|
}
|
|
262
|
+
export declare enum SupportedHardwareType {
|
|
263
|
+
RACK = "RACK",
|
|
264
|
+
SERVER = "SERVER"
|
|
265
|
+
}
|
|
262
266
|
export interface CreateOutpostInput {
|
|
263
267
|
|
|
264
268
|
Name: string | undefined;
|
|
@@ -274,6 +278,8 @@ export interface CreateOutpostInput {
|
|
|
274
278
|
Tags?: {
|
|
275
279
|
[key: string]: string;
|
|
276
280
|
};
|
|
281
|
+
|
|
282
|
+
SupportedHardwareType?: SupportedHardwareType | string;
|
|
277
283
|
}
|
|
278
284
|
export declare namespace CreateOutpostInput {
|
|
279
285
|
|
|
@@ -305,6 +311,8 @@ export interface Outpost {
|
|
|
305
311
|
};
|
|
306
312
|
|
|
307
313
|
SiteArn?: string;
|
|
314
|
+
|
|
315
|
+
SupportedHardwareType?: SupportedHardwareType | string;
|
|
308
316
|
}
|
|
309
317
|
export declare namespace Outpost {
|
|
310
318
|
|
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.
|
|
4
|
+
"version": "3.44.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "yarn build:cjs && yarn build:es && yarn build:types",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.json",
|