@aws-sdk/client-outposts 3.52.0 → 3.54.1

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.54.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.54.0...v3.54.1) (2022-03-15)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-outposts
9
+
10
+
11
+
12
+
13
+
14
+ # [3.54.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.53.1...v3.54.0) (2022-03-11)
15
+
16
+ **Note:** Version bump only for package @aws-sdk/client-outposts
17
+
18
+
19
+
20
+
21
+
22
+ # [3.53.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.52.0...v3.53.0) (2022-02-24)
23
+
24
+
25
+ ### Features
26
+
27
+ * **clients:** generate service exceptions as classes ([#3267](https://github.com/aws/aws-sdk-js-v3/issues/3267)) ([ca64fee](https://github.com/aws/aws-sdk-js-v3/commit/ca64feed3351c394c07dc26b782a5760a396a074))
28
+
29
+
30
+
31
+
32
+
6
33
  # [3.52.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.51.0...v3.52.0) (2022-02-18)
7
34
 
8
35
  **Note:** Version bump only for package @aws-sdk/client-outposts
package/dist-cjs/index.js CHANGED
@@ -1,8 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.OutpostsServiceException = void 0;
3
4
  const tslib_1 = require("tslib");
4
5
  tslib_1.__exportStar(require("./Outposts"), exports);
5
6
  tslib_1.__exportStar(require("./OutpostsClient"), exports);
6
7
  tslib_1.__exportStar(require("./commands"), exports);
7
8
  tslib_1.__exportStar(require("./models"), exports);
8
9
  tslib_1.__exportStar(require("./pagination"), exports);
10
+ var OutpostsServiceException_1 = require("./models/OutpostsServiceException");
11
+ Object.defineProperty(exports, "OutpostsServiceException", { enumerable: true, get: function () { return OutpostsServiceException_1.OutpostsServiceException; } });
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.OutpostsServiceException = void 0;
4
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
5
+ class OutpostsServiceException extends smithy_client_1.ServiceException {
6
+ constructor(options) {
7
+ super(options);
8
+ Object.setPrototypeOf(this, OutpostsServiceException.prototype);
9
+ }
10
+ }
11
+ exports.OutpostsServiceException = OutpostsServiceException;
@@ -1,7 +1,22 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GetSiteInput = exports.GetOutpostInstanceTypesOutput = exports.InstanceTypeItem = exports.GetOutpostInstanceTypesInput = exports.GetOutpostOutput = exports.GetOutpostInput = 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.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.ResourceType = exports.CancelOrderOutput = exports.CancelOrderInput = exports.AddressType = exports.Address = 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.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 = 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.UpdateOutpostOutput = exports.UpdateOutpostInput = 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
+ const OutpostsServiceException_1 = require("./OutpostsServiceException");
6
+ class AccessDeniedException extends OutpostsServiceException_1.OutpostsServiceException {
7
+ constructor(opts) {
8
+ super({
9
+ name: "AccessDeniedException",
10
+ $fault: "client",
11
+ ...opts,
12
+ });
13
+ this.name = "AccessDeniedException";
14
+ this.$fault = "client";
15
+ Object.setPrototypeOf(this, AccessDeniedException.prototype);
16
+ this.Message = opts.Message;
17
+ }
18
+ }
19
+ exports.AccessDeniedException = AccessDeniedException;
5
20
  var Address;
6
21
  (function (Address) {
7
22
  Address.filterSensitiveLog = (obj) => ({
@@ -30,6 +45,64 @@ var ResourceType;
30
45
  ResourceType["ORDER"] = "ORDER";
31
46
  ResourceType["OUTPOST"] = "OUTPOST";
32
47
  })(ResourceType = exports.ResourceType || (exports.ResourceType = {}));
48
+ class ConflictException extends OutpostsServiceException_1.OutpostsServiceException {
49
+ constructor(opts) {
50
+ super({
51
+ name: "ConflictException",
52
+ $fault: "client",
53
+ ...opts,
54
+ });
55
+ this.name = "ConflictException";
56
+ this.$fault = "client";
57
+ Object.setPrototypeOf(this, ConflictException.prototype);
58
+ this.Message = opts.Message;
59
+ this.ResourceId = opts.ResourceId;
60
+ this.ResourceType = opts.ResourceType;
61
+ }
62
+ }
63
+ exports.ConflictException = ConflictException;
64
+ class InternalServerException extends OutpostsServiceException_1.OutpostsServiceException {
65
+ constructor(opts) {
66
+ super({
67
+ name: "InternalServerException",
68
+ $fault: "server",
69
+ ...opts,
70
+ });
71
+ this.name = "InternalServerException";
72
+ this.$fault = "server";
73
+ Object.setPrototypeOf(this, InternalServerException.prototype);
74
+ this.Message = opts.Message;
75
+ }
76
+ }
77
+ exports.InternalServerException = InternalServerException;
78
+ class NotFoundException extends OutpostsServiceException_1.OutpostsServiceException {
79
+ constructor(opts) {
80
+ super({
81
+ name: "NotFoundException",
82
+ $fault: "client",
83
+ ...opts,
84
+ });
85
+ this.name = "NotFoundException";
86
+ this.$fault = "client";
87
+ Object.setPrototypeOf(this, NotFoundException.prototype);
88
+ this.Message = opts.Message;
89
+ }
90
+ }
91
+ exports.NotFoundException = NotFoundException;
92
+ class ValidationException extends OutpostsServiceException_1.OutpostsServiceException {
93
+ constructor(opts) {
94
+ super({
95
+ name: "ValidationException",
96
+ $fault: "client",
97
+ ...opts,
98
+ });
99
+ this.name = "ValidationException";
100
+ this.$fault = "client";
101
+ Object.setPrototypeOf(this, ValidationException.prototype);
102
+ this.Message = opts.Message;
103
+ }
104
+ }
105
+ exports.ValidationException = ValidationException;
33
106
  var EC2Capacity;
34
107
  (function (EC2Capacity) {
35
108
  EC2Capacity.filterSensitiveLog = (obj) => ({
@@ -121,6 +194,20 @@ var CreateOrderOutput;
121
194
  ...obj,
122
195
  });
123
196
  })(CreateOrderOutput = exports.CreateOrderOutput || (exports.CreateOrderOutput = {}));
197
+ class ServiceQuotaExceededException extends OutpostsServiceException_1.OutpostsServiceException {
198
+ constructor(opts) {
199
+ super({
200
+ name: "ServiceQuotaExceededException",
201
+ $fault: "client",
202
+ ...opts,
203
+ });
204
+ this.name = "ServiceQuotaExceededException";
205
+ this.$fault = "client";
206
+ Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
207
+ this.Message = opts.Message;
208
+ }
209
+ }
210
+ exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
124
211
  var SupportedHardwareType;
125
212
  (function (SupportedHardwareType) {
126
213
  SupportedHardwareType["RACK"] = "RACK";