@aws-sdk/client-outposts 3.50.0 → 3.53.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.
Files changed (55) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/dist-cjs/index.js +3 -0
  3. package/dist-cjs/models/OutpostsServiceException.js +11 -0
  4. package/dist-cjs/models/models_0.js +89 -2
  5. package/dist-cjs/protocols/Aws_restJson1.js +244 -859
  6. package/dist-es/index.js +1 -0
  7. package/dist-es/models/OutpostsServiceException.js +12 -0
  8. package/dist-es/models/models_0.js +82 -1
  9. package/dist-es/protocols/Aws_restJson1.js +513 -958
  10. package/dist-types/index.d.ts +1 -0
  11. package/dist-types/models/OutpostsServiceException.d.ts +10 -0
  12. package/dist-types/models/models_0.d.ts +44 -19
  13. package/dist-types/ts3.4/Outposts.d.ts +120 -0
  14. package/dist-types/ts3.4/OutpostsClient.d.ts +96 -0
  15. package/dist-types/ts3.4/commands/CancelOrderCommand.d.ts +17 -0
  16. package/dist-types/ts3.4/commands/CreateOrderCommand.d.ts +17 -0
  17. package/dist-types/ts3.4/commands/CreateOutpostCommand.d.ts +17 -0
  18. package/dist-types/ts3.4/commands/CreateSiteCommand.d.ts +17 -0
  19. package/dist-types/ts3.4/commands/DeleteOutpostCommand.d.ts +17 -0
  20. package/dist-types/ts3.4/commands/DeleteSiteCommand.d.ts +17 -0
  21. package/dist-types/ts3.4/commands/GetCatalogItemCommand.d.ts +17 -0
  22. package/dist-types/ts3.4/commands/GetOrderCommand.d.ts +17 -0
  23. package/dist-types/ts3.4/commands/GetOutpostCommand.d.ts +17 -0
  24. package/dist-types/ts3.4/commands/GetOutpostInstanceTypesCommand.d.ts +17 -0
  25. package/dist-types/ts3.4/commands/GetSiteAddressCommand.d.ts +17 -0
  26. package/dist-types/ts3.4/commands/GetSiteCommand.d.ts +17 -0
  27. package/dist-types/ts3.4/commands/ListCatalogItemsCommand.d.ts +17 -0
  28. package/dist-types/ts3.4/commands/ListOrdersCommand.d.ts +17 -0
  29. package/dist-types/ts3.4/commands/ListOutpostsCommand.d.ts +17 -0
  30. package/dist-types/ts3.4/commands/ListSitesCommand.d.ts +17 -0
  31. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
  32. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
  33. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
  34. package/dist-types/ts3.4/commands/UpdateOutpostCommand.d.ts +17 -0
  35. package/dist-types/ts3.4/commands/UpdateSiteAddressCommand.d.ts +17 -0
  36. package/dist-types/ts3.4/commands/UpdateSiteCommand.d.ts +17 -0
  37. package/dist-types/ts3.4/commands/UpdateSiteRackPhysicalPropertiesCommand.d.ts +17 -0
  38. package/dist-types/ts3.4/commands/index.d.ts +23 -0
  39. package/dist-types/ts3.4/endpoints.d.ts +2 -0
  40. package/dist-types/ts3.4/index.d.ts +6 -0
  41. package/dist-types/ts3.4/models/OutpostsServiceException.d.ts +6 -0
  42. package/dist-types/ts3.4/models/index.d.ts +1 -0
  43. package/dist-types/ts3.4/models/models_0.d.ts +888 -0
  44. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  45. package/dist-types/ts3.4/pagination/ListCatalogItemsPaginator.d.ts +4 -0
  46. package/dist-types/ts3.4/pagination/ListOrdersPaginator.d.ts +4 -0
  47. package/dist-types/ts3.4/pagination/ListOutpostsPaginator.d.ts +4 -0
  48. package/dist-types/ts3.4/pagination/ListSitesPaginator.d.ts +4 -0
  49. package/dist-types/ts3.4/pagination/index.d.ts +5 -0
  50. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +71 -0
  51. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
  52. package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
  53. package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
  54. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
  55. package/package.json +33 -33
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.53.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.52.0...v3.53.0) (2022-02-24)
7
+
8
+
9
+ ### Features
10
+
11
+ * **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))
12
+
13
+
14
+
15
+
16
+
17
+ # [3.52.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.51.0...v3.52.0) (2022-02-18)
18
+
19
+ **Note:** Version bump only for package @aws-sdk/client-outposts
20
+
21
+
22
+
23
+
24
+
25
+ # [3.51.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.50.0...v3.51.0) (2022-02-12)
26
+
27
+ **Note:** Version bump only for package @aws-sdk/client-outposts
28
+
29
+
30
+
31
+
32
+
6
33
  # [3.50.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.49.0...v3.50.0) (2022-02-08)
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";