@aws-sdk/client-outposts 3.41.0 → 3.45.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 (85) hide show
  1. package/CHANGELOG.md +41 -0
  2. package/README.md +10 -10
  3. package/dist-cjs/Outposts.js +180 -0
  4. package/dist-cjs/commands/CancelOrderCommand.js +36 -0
  5. package/dist-cjs/commands/CreateSiteCommand.js +36 -0
  6. package/dist-cjs/commands/GetCatalogItemCommand.js +36 -0
  7. package/dist-cjs/commands/GetOrderCommand.js +36 -0
  8. package/dist-cjs/commands/GetSiteAddressCommand.js +36 -0
  9. package/dist-cjs/commands/GetSiteCommand.js +36 -0
  10. package/dist-cjs/commands/ListCatalogItemsCommand.js +36 -0
  11. package/dist-cjs/commands/ListOrdersCommand.js +36 -0
  12. package/dist-cjs/commands/UpdateOutpostCommand.js +36 -0
  13. package/dist-cjs/commands/UpdateSiteAddressCommand.js +36 -0
  14. package/dist-cjs/commands/UpdateSiteCommand.js +36 -0
  15. package/dist-cjs/commands/UpdateSiteRackPhysicalPropertiesCommand.js +36 -0
  16. package/dist-cjs/commands/index.js +12 -0
  17. package/dist-cjs/endpoints.js +1 -0
  18. package/dist-cjs/models/models_0.js +318 -25
  19. package/dist-cjs/pagination/ListCatalogItemsPaginator.js +35 -0
  20. package/dist-cjs/pagination/ListOrdersPaginator.js +35 -0
  21. package/dist-cjs/pagination/index.js +2 -0
  22. package/dist-cjs/protocols/Aws_restJson1.js +1562 -119
  23. package/dist-es/Outposts.js +180 -0
  24. package/dist-es/commands/CancelOrderCommand.js +39 -0
  25. package/dist-es/commands/CreateSiteCommand.js +39 -0
  26. package/dist-es/commands/GetCatalogItemCommand.js +39 -0
  27. package/dist-es/commands/GetOrderCommand.js +39 -0
  28. package/dist-es/commands/GetSiteAddressCommand.js +39 -0
  29. package/dist-es/commands/GetSiteCommand.js +39 -0
  30. package/dist-es/commands/ListCatalogItemsCommand.js +39 -0
  31. package/dist-es/commands/ListOrdersCommand.js +39 -0
  32. package/dist-es/commands/UpdateOutpostCommand.js +39 -0
  33. package/dist-es/commands/UpdateSiteAddressCommand.js +39 -0
  34. package/dist-es/commands/UpdateSiteCommand.js +39 -0
  35. package/dist-es/commands/UpdateSiteRackPhysicalPropertiesCommand.js +39 -0
  36. package/dist-es/commands/index.js +12 -0
  37. package/dist-es/endpoints.js +1 -0
  38. package/dist-es/models/models_0.js +250 -16
  39. package/dist-es/pagination/ListCatalogItemsPaginator.js +74 -0
  40. package/dist-es/pagination/ListOrdersPaginator.js +74 -0
  41. package/dist-es/pagination/index.js +2 -0
  42. package/dist-es/protocols/Aws_restJson1.js +1869 -265
  43. package/dist-types/Outposts.d.ts +123 -6
  44. package/dist-types/OutpostsClient.d.ts +17 -5
  45. package/dist-types/commands/CancelOrderCommand.d.ts +37 -0
  46. package/dist-types/commands/CreateSiteCommand.d.ts +37 -0
  47. package/dist-types/commands/GetCatalogItemCommand.d.ts +35 -0
  48. package/dist-types/commands/GetOrderCommand.d.ts +35 -0
  49. package/dist-types/commands/GetSiteAddressCommand.d.ts +37 -0
  50. package/dist-types/commands/GetSiteCommand.d.ts +37 -0
  51. package/dist-types/commands/ListCatalogItemsCommand.d.ts +39 -0
  52. package/dist-types/commands/ListOrdersCommand.d.ts +36 -0
  53. package/dist-types/commands/ListOutpostsCommand.d.ts +2 -2
  54. package/dist-types/commands/ListSitesCommand.d.ts +1 -1
  55. package/dist-types/commands/UpdateOutpostCommand.d.ts +37 -0
  56. package/dist-types/commands/UpdateSiteAddressCommand.d.ts +46 -0
  57. package/dist-types/commands/UpdateSiteCommand.d.ts +37 -0
  58. package/dist-types/commands/UpdateSiteRackPhysicalPropertiesCommand.d.ts +40 -0
  59. package/dist-types/commands/index.d.ts +12 -0
  60. package/dist-types/models/models_0.d.ts +1206 -144
  61. package/dist-types/pagination/ListCatalogItemsPaginator.d.ts +4 -0
  62. package/dist-types/pagination/ListOrdersPaginator.d.ts +4 -0
  63. package/dist-types/pagination/index.d.ts +2 -0
  64. package/dist-types/protocols/Aws_restJson1.d.ts +36 -0
  65. package/dist-types/ts3.4/Outposts.d.ts +60 -0
  66. package/dist-types/ts3.4/OutpostsClient.d.ts +14 -2
  67. package/dist-types/ts3.4/commands/CancelOrderCommand.d.ts +17 -0
  68. package/dist-types/ts3.4/commands/CreateSiteCommand.d.ts +17 -0
  69. package/dist-types/ts3.4/commands/GetCatalogItemCommand.d.ts +17 -0
  70. package/dist-types/ts3.4/commands/GetOrderCommand.d.ts +17 -0
  71. package/dist-types/ts3.4/commands/GetSiteAddressCommand.d.ts +17 -0
  72. package/dist-types/ts3.4/commands/GetSiteCommand.d.ts +17 -0
  73. package/dist-types/ts3.4/commands/ListCatalogItemsCommand.d.ts +17 -0
  74. package/dist-types/ts3.4/commands/ListOrdersCommand.d.ts +17 -0
  75. package/dist-types/ts3.4/commands/UpdateOutpostCommand.d.ts +17 -0
  76. package/dist-types/ts3.4/commands/UpdateSiteAddressCommand.d.ts +17 -0
  77. package/dist-types/ts3.4/commands/UpdateSiteCommand.d.ts +17 -0
  78. package/dist-types/ts3.4/commands/UpdateSiteRackPhysicalPropertiesCommand.d.ts +17 -0
  79. package/dist-types/ts3.4/commands/index.d.ts +12 -0
  80. package/dist-types/ts3.4/models/models_0.d.ts +540 -51
  81. package/dist-types/ts3.4/pagination/ListCatalogItemsPaginator.d.ts +4 -0
  82. package/dist-types/ts3.4/pagination/ListOrdersPaginator.d.ts +4 -0
  83. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  84. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +36 -0
  85. package/package.json +5 -5
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpdateOutpostCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
+ class UpdateOutpostCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "OutpostsClient";
18
+ const commandName = "UpdateOutpostCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.UpdateOutpostInput.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.UpdateOutpostOutput.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return Aws_restJson1_1.serializeAws_restJson1UpdateOutpostCommand(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return Aws_restJson1_1.deserializeAws_restJson1UpdateOutpostCommand(output, context);
34
+ }
35
+ }
36
+ exports.UpdateOutpostCommand = UpdateOutpostCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpdateSiteAddressCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
+ class UpdateSiteAddressCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "OutpostsClient";
18
+ const commandName = "UpdateSiteAddressCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.UpdateSiteAddressInput.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.UpdateSiteAddressOutput.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return Aws_restJson1_1.serializeAws_restJson1UpdateSiteAddressCommand(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return Aws_restJson1_1.deserializeAws_restJson1UpdateSiteAddressCommand(output, context);
34
+ }
35
+ }
36
+ exports.UpdateSiteAddressCommand = UpdateSiteAddressCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpdateSiteCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
+ class UpdateSiteCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "OutpostsClient";
18
+ const commandName = "UpdateSiteCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.UpdateSiteInput.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.UpdateSiteOutput.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return Aws_restJson1_1.serializeAws_restJson1UpdateSiteCommand(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return Aws_restJson1_1.deserializeAws_restJson1UpdateSiteCommand(output, context);
34
+ }
35
+ }
36
+ exports.UpdateSiteCommand = UpdateSiteCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpdateSiteRackPhysicalPropertiesCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
+ class UpdateSiteRackPhysicalPropertiesCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "OutpostsClient";
18
+ const commandName = "UpdateSiteRackPhysicalPropertiesCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.UpdateSiteRackPhysicalPropertiesInput.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.UpdateSiteRackPhysicalPropertiesOutput.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return Aws_restJson1_1.serializeAws_restJson1UpdateSiteRackPhysicalPropertiesCommand(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return Aws_restJson1_1.deserializeAws_restJson1UpdateSiteRackPhysicalPropertiesCommand(output, context);
34
+ }
35
+ }
36
+ exports.UpdateSiteRackPhysicalPropertiesCommand = UpdateSiteRackPhysicalPropertiesCommand;
@@ -1,14 +1,26 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./CancelOrderCommand"), exports);
4
5
  tslib_1.__exportStar(require("./CreateOrderCommand"), exports);
5
6
  tslib_1.__exportStar(require("./CreateOutpostCommand"), exports);
7
+ tslib_1.__exportStar(require("./CreateSiteCommand"), exports);
6
8
  tslib_1.__exportStar(require("./DeleteOutpostCommand"), exports);
7
9
  tslib_1.__exportStar(require("./DeleteSiteCommand"), exports);
10
+ tslib_1.__exportStar(require("./GetCatalogItemCommand"), exports);
11
+ tslib_1.__exportStar(require("./GetOrderCommand"), exports);
8
12
  tslib_1.__exportStar(require("./GetOutpostCommand"), exports);
9
13
  tslib_1.__exportStar(require("./GetOutpostInstanceTypesCommand"), exports);
14
+ tslib_1.__exportStar(require("./GetSiteAddressCommand"), exports);
15
+ tslib_1.__exportStar(require("./GetSiteCommand"), exports);
16
+ tslib_1.__exportStar(require("./ListCatalogItemsCommand"), exports);
17
+ tslib_1.__exportStar(require("./ListOrdersCommand"), exports);
10
18
  tslib_1.__exportStar(require("./ListOutpostsCommand"), exports);
11
19
  tslib_1.__exportStar(require("./ListSitesCommand"), exports);
12
20
  tslib_1.__exportStar(require("./ListTagsForResourceCommand"), exports);
13
21
  tslib_1.__exportStar(require("./TagResourceCommand"), exports);
14
22
  tslib_1.__exportStar(require("./UntagResourceCommand"), exports);
23
+ tslib_1.__exportStar(require("./UpdateOutpostCommand"), exports);
24
+ tslib_1.__exportStar(require("./UpdateSiteAddressCommand"), exports);
25
+ tslib_1.__exportStar(require("./UpdateSiteCommand"), exports);
26
+ tslib_1.__exportStar(require("./UpdateSiteRackPhysicalPropertiesCommand"), exports);
@@ -93,6 +93,7 @@ const partitionHash = {
93
93
  "ap-south-1",
94
94
  "ap-southeast-1",
95
95
  "ap-southeast-2",
96
+ "ap-southeast-3",
96
97
  "ca-central-1",
97
98
  "eu-central-1",
98
99
  "eu-north-1",
@@ -1,14 +1,39 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListSitesOutput = exports.Site = exports.ListSitesInput = exports.ListOutpostsOutput = exports.ListOutpostsInput = exports.GetOutpostInstanceTypesOutput = exports.InstanceTypeItem = exports.GetOutpostInstanceTypesInput = exports.GetOutpostOutput = exports.GetOutpostInput = exports.DeleteSiteOutput = exports.DeleteSiteInput = exports.DeleteOutpostOutput = exports.DeleteOutpostInput = exports.CreateOutpostOutput = exports.Outpost = exports.CreateOutpostInput = exports.ValidationException = exports.ServiceQuotaExceededException = exports.NotFoundException = exports.InternalServerException = exports.CreateOrderOutput = exports.Order = exports.OrderStatus = exports.LineItem = exports.CreateOrderInput = exports.PaymentTerm = exports.PaymentOption = exports.LineItemRequest = exports.ConflictException = exports.ResourceType = exports.AccessDeniedException = 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;
4
5
  var AccessDeniedException;
5
6
  (function (AccessDeniedException) {
6
7
  AccessDeniedException.filterSensitiveLog = (obj) => ({
7
8
  ...obj,
8
9
  });
9
10
  })(AccessDeniedException = exports.AccessDeniedException || (exports.AccessDeniedException = {}));
11
+ var Address;
12
+ (function (Address) {
13
+ Address.filterSensitiveLog = (obj) => ({
14
+ ...obj,
15
+ });
16
+ })(Address = exports.Address || (exports.Address = {}));
17
+ var AddressType;
18
+ (function (AddressType) {
19
+ AddressType["OPERATING_ADDRESS"] = "OPERATING_ADDRESS";
20
+ AddressType["SHIPPING_ADDRESS"] = "SHIPPING_ADDRESS";
21
+ })(AddressType = exports.AddressType || (exports.AddressType = {}));
22
+ var CancelOrderInput;
23
+ (function (CancelOrderInput) {
24
+ CancelOrderInput.filterSensitiveLog = (obj) => ({
25
+ ...obj,
26
+ });
27
+ })(CancelOrderInput = exports.CancelOrderInput || (exports.CancelOrderInput = {}));
28
+ var CancelOrderOutput;
29
+ (function (CancelOrderOutput) {
30
+ CancelOrderOutput.filterSensitiveLog = (obj) => ({
31
+ ...obj,
32
+ });
33
+ })(CancelOrderOutput = exports.CancelOrderOutput || (exports.CancelOrderOutput = {}));
10
34
  var ResourceType;
11
35
  (function (ResourceType) {
36
+ ResourceType["ORDER"] = "ORDER";
12
37
  ResourceType["OUTPOST"] = "OUTPOST";
13
38
  })(ResourceType = exports.ResourceType || (exports.ResourceType = {}));
14
39
  var ConflictException;
@@ -17,6 +42,51 @@ var ConflictException;
17
42
  ...obj,
18
43
  });
19
44
  })(ConflictException = exports.ConflictException || (exports.ConflictException = {}));
45
+ var InternalServerException;
46
+ (function (InternalServerException) {
47
+ InternalServerException.filterSensitiveLog = (obj) => ({
48
+ ...obj,
49
+ });
50
+ })(InternalServerException = exports.InternalServerException || (exports.InternalServerException = {}));
51
+ var NotFoundException;
52
+ (function (NotFoundException) {
53
+ NotFoundException.filterSensitiveLog = (obj) => ({
54
+ ...obj,
55
+ });
56
+ })(NotFoundException = exports.NotFoundException || (exports.NotFoundException = {}));
57
+ var ValidationException;
58
+ (function (ValidationException) {
59
+ ValidationException.filterSensitiveLog = (obj) => ({
60
+ ...obj,
61
+ });
62
+ })(ValidationException = exports.ValidationException || (exports.ValidationException = {}));
63
+ var EC2Capacity;
64
+ (function (EC2Capacity) {
65
+ EC2Capacity.filterSensitiveLog = (obj) => ({
66
+ ...obj,
67
+ });
68
+ })(EC2Capacity = exports.EC2Capacity || (exports.EC2Capacity = {}));
69
+ var CatalogItemStatus;
70
+ (function (CatalogItemStatus) {
71
+ CatalogItemStatus["AVAILABLE"] = "AVAILABLE";
72
+ CatalogItemStatus["DISCONTINUED"] = "DISCONTINUED";
73
+ })(CatalogItemStatus = exports.CatalogItemStatus || (exports.CatalogItemStatus = {}));
74
+ var SupportedStorageEnum;
75
+ (function (SupportedStorageEnum) {
76
+ SupportedStorageEnum["EBS"] = "EBS";
77
+ SupportedStorageEnum["S3"] = "S3";
78
+ })(SupportedStorageEnum = exports.SupportedStorageEnum || (exports.SupportedStorageEnum = {}));
79
+ var CatalogItem;
80
+ (function (CatalogItem) {
81
+ CatalogItem.filterSensitiveLog = (obj) => ({
82
+ ...obj,
83
+ });
84
+ })(CatalogItem = exports.CatalogItem || (exports.CatalogItem = {}));
85
+ var CatalogItemClass;
86
+ (function (CatalogItemClass) {
87
+ CatalogItemClass["RACK"] = "RACK";
88
+ CatalogItemClass["SERVER"] = "SERVER";
89
+ })(CatalogItemClass = exports.CatalogItemClass || (exports.CatalogItemClass = {}));
20
90
  var LineItemRequest;
21
91
  (function (LineItemRequest) {
22
92
  LineItemRequest.filterSensitiveLog = (obj) => ({
@@ -39,6 +109,17 @@ var CreateOrderInput;
39
109
  ...obj,
40
110
  });
41
111
  })(CreateOrderInput = exports.CreateOrderInput || (exports.CreateOrderInput = {}));
112
+ var LineItemStatus;
113
+ (function (LineItemStatus) {
114
+ LineItemStatus["BUILDING"] = "BUILDING";
115
+ LineItemStatus["CANCELLED"] = "CANCELLED";
116
+ LineItemStatus["DELIVERED"] = "DELIVERED";
117
+ LineItemStatus["ERROR"] = "ERROR";
118
+ LineItemStatus["INSTALLED"] = "INSTALLED";
119
+ LineItemStatus["INSTALLING"] = "INSTALLING";
120
+ LineItemStatus["PREPARING"] = "PREPARING";
121
+ LineItemStatus["SHIPPED"] = "SHIPPED";
122
+ })(LineItemStatus = exports.LineItemStatus || (exports.LineItemStatus = {}));
42
123
  var LineItem;
43
124
  (function (LineItem) {
44
125
  LineItem.filterSensitiveLog = (obj) => ({
@@ -48,9 +129,13 @@ var LineItem;
48
129
  var OrderStatus;
49
130
  (function (OrderStatus) {
50
131
  OrderStatus["CANCELLED"] = "CANCELLED";
132
+ OrderStatus["COMPLETED"] = "COMPLETED";
133
+ OrderStatus["ERROR"] = "ERROR";
51
134
  OrderStatus["FULFILLED"] = "FULFILLED";
52
135
  OrderStatus["INSTALLING"] = "INSTALLING";
136
+ OrderStatus["IN_PROGRESS"] = "IN_PROGRESS";
53
137
  OrderStatus["PENDING"] = "PENDING";
138
+ OrderStatus["PREPARING"] = "PREPARING";
54
139
  OrderStatus["PROCESSING"] = "PROCESSING";
55
140
  OrderStatus["RECEIVED"] = "RECEIVED";
56
141
  })(OrderStatus = exports.OrderStatus || (exports.OrderStatus = {}));
@@ -66,30 +151,17 @@ var CreateOrderOutput;
66
151
  ...obj,
67
152
  });
68
153
  })(CreateOrderOutput = exports.CreateOrderOutput || (exports.CreateOrderOutput = {}));
69
- var InternalServerException;
70
- (function (InternalServerException) {
71
- InternalServerException.filterSensitiveLog = (obj) => ({
72
- ...obj,
73
- });
74
- })(InternalServerException = exports.InternalServerException || (exports.InternalServerException = {}));
75
- var NotFoundException;
76
- (function (NotFoundException) {
77
- NotFoundException.filterSensitiveLog = (obj) => ({
78
- ...obj,
79
- });
80
- })(NotFoundException = exports.NotFoundException || (exports.NotFoundException = {}));
81
154
  var ServiceQuotaExceededException;
82
155
  (function (ServiceQuotaExceededException) {
83
156
  ServiceQuotaExceededException.filterSensitiveLog = (obj) => ({
84
157
  ...obj,
85
158
  });
86
159
  })(ServiceQuotaExceededException = exports.ServiceQuotaExceededException || (exports.ServiceQuotaExceededException = {}));
87
- var ValidationException;
88
- (function (ValidationException) {
89
- ValidationException.filterSensitiveLog = (obj) => ({
90
- ...obj,
91
- });
92
- })(ValidationException = exports.ValidationException || (exports.ValidationException = {}));
160
+ var SupportedHardwareType;
161
+ (function (SupportedHardwareType) {
162
+ SupportedHardwareType["RACK"] = "RACK";
163
+ SupportedHardwareType["SERVER"] = "SERVER";
164
+ })(SupportedHardwareType = exports.SupportedHardwareType || (exports.SupportedHardwareType = {}));
93
165
  var CreateOutpostInput;
94
166
  (function (CreateOutpostInput) {
95
167
  CreateOutpostInput.filterSensitiveLog = (obj) => ({
@@ -108,6 +180,102 @@ var CreateOutpostOutput;
108
180
  ...obj,
109
181
  });
110
182
  })(CreateOutpostOutput = exports.CreateOutpostOutput || (exports.CreateOutpostOutput = {}));
183
+ var FiberOpticCableType;
184
+ (function (FiberOpticCableType) {
185
+ FiberOpticCableType["MULTI_MODE"] = "MULTI_MODE";
186
+ FiberOpticCableType["SINGLE_MODE"] = "SINGLE_MODE";
187
+ })(FiberOpticCableType = exports.FiberOpticCableType || (exports.FiberOpticCableType = {}));
188
+ var MaximumSupportedWeightLbs;
189
+ (function (MaximumSupportedWeightLbs) {
190
+ MaximumSupportedWeightLbs["MAX_1400_LBS"] = "MAX_1400_LBS";
191
+ MaximumSupportedWeightLbs["MAX_1600_LBS"] = "MAX_1600_LBS";
192
+ MaximumSupportedWeightLbs["MAX_1800_LBS"] = "MAX_1800_LBS";
193
+ MaximumSupportedWeightLbs["MAX_2000_LBS"] = "MAX_2000_LBS";
194
+ MaximumSupportedWeightLbs["NO_LIMIT"] = "NO_LIMIT";
195
+ })(MaximumSupportedWeightLbs = exports.MaximumSupportedWeightLbs || (exports.MaximumSupportedWeightLbs = {}));
196
+ var OpticalStandard;
197
+ (function (OpticalStandard) {
198
+ OpticalStandard["OPTIC_1000BASE_LX"] = "OPTIC_1000BASE_LX";
199
+ OpticalStandard["OPTIC_1000BASE_SX"] = "OPTIC_1000BASE_SX";
200
+ OpticalStandard["OPTIC_100GBASE_CWDM4"] = "OPTIC_100GBASE_CWDM4";
201
+ OpticalStandard["OPTIC_100GBASE_LR4"] = "OPTIC_100GBASE_LR4";
202
+ OpticalStandard["OPTIC_100GBASE_SR4"] = "OPTIC_100GBASE_SR4";
203
+ OpticalStandard["OPTIC_100G_PSM4_MSA"] = "OPTIC_100G_PSM4_MSA";
204
+ OpticalStandard["OPTIC_10GBASE_IR"] = "OPTIC_10GBASE_IR";
205
+ OpticalStandard["OPTIC_10GBASE_LR"] = "OPTIC_10GBASE_LR";
206
+ OpticalStandard["OPTIC_10GBASE_SR"] = "OPTIC_10GBASE_SR";
207
+ OpticalStandard["OPTIC_40GBASE_ESR"] = "OPTIC_40GBASE_ESR";
208
+ OpticalStandard["OPTIC_40GBASE_IR4_LR4L"] = "OPTIC_40GBASE_IR4_LR4L";
209
+ OpticalStandard["OPTIC_40GBASE_LR4"] = "OPTIC_40GBASE_LR4";
210
+ OpticalStandard["OPTIC_40GBASE_SR"] = "OPTIC_40GBASE_SR";
211
+ })(OpticalStandard = exports.OpticalStandard || (exports.OpticalStandard = {}));
212
+ var PowerConnector;
213
+ (function (PowerConnector) {
214
+ PowerConnector["AH530P7W"] = "AH530P7W";
215
+ PowerConnector["AH532P6W"] = "AH532P6W";
216
+ PowerConnector["IEC309"] = "IEC309";
217
+ PowerConnector["L6_30P"] = "L6_30P";
218
+ })(PowerConnector = exports.PowerConnector || (exports.PowerConnector = {}));
219
+ var PowerDrawKva;
220
+ (function (PowerDrawKva) {
221
+ PowerDrawKva["POWER_10_KVA"] = "POWER_10_KVA";
222
+ PowerDrawKva["POWER_15_KVA"] = "POWER_15_KVA";
223
+ PowerDrawKva["POWER_5_KVA"] = "POWER_5_KVA";
224
+ })(PowerDrawKva = exports.PowerDrawKva || (exports.PowerDrawKva = {}));
225
+ var PowerFeedDrop;
226
+ (function (PowerFeedDrop) {
227
+ PowerFeedDrop["ABOVE_RACK"] = "ABOVE_RACK";
228
+ PowerFeedDrop["BELOW_RACK"] = "BELOW_RACK";
229
+ })(PowerFeedDrop = exports.PowerFeedDrop || (exports.PowerFeedDrop = {}));
230
+ var PowerPhase;
231
+ (function (PowerPhase) {
232
+ PowerPhase["SINGLE_PHASE"] = "SINGLE_PHASE";
233
+ PowerPhase["THREE_PHASE"] = "THREE_PHASE";
234
+ })(PowerPhase = exports.PowerPhase || (exports.PowerPhase = {}));
235
+ var UplinkCount;
236
+ (function (UplinkCount) {
237
+ UplinkCount["UPLINK_COUNT_1"] = "UPLINK_COUNT_1";
238
+ UplinkCount["UPLINK_COUNT_12"] = "UPLINK_COUNT_12";
239
+ UplinkCount["UPLINK_COUNT_16"] = "UPLINK_COUNT_16";
240
+ UplinkCount["UPLINK_COUNT_2"] = "UPLINK_COUNT_2";
241
+ UplinkCount["UPLINK_COUNT_3"] = "UPLINK_COUNT_3";
242
+ UplinkCount["UPLINK_COUNT_4"] = "UPLINK_COUNT_4";
243
+ UplinkCount["UPLINK_COUNT_5"] = "UPLINK_COUNT_5";
244
+ UplinkCount["UPLINK_COUNT_6"] = "UPLINK_COUNT_6";
245
+ UplinkCount["UPLINK_COUNT_7"] = "UPLINK_COUNT_7";
246
+ UplinkCount["UPLINK_COUNT_8"] = "UPLINK_COUNT_8";
247
+ })(UplinkCount = exports.UplinkCount || (exports.UplinkCount = {}));
248
+ var UplinkGbps;
249
+ (function (UplinkGbps) {
250
+ UplinkGbps["UPLINK_100G"] = "UPLINK_100G";
251
+ UplinkGbps["UPLINK_10G"] = "UPLINK_10G";
252
+ UplinkGbps["UPLINK_1G"] = "UPLINK_1G";
253
+ UplinkGbps["UPLINK_40G"] = "UPLINK_40G";
254
+ })(UplinkGbps = exports.UplinkGbps || (exports.UplinkGbps = {}));
255
+ var RackPhysicalProperties;
256
+ (function (RackPhysicalProperties) {
257
+ RackPhysicalProperties.filterSensitiveLog = (obj) => ({
258
+ ...obj,
259
+ });
260
+ })(RackPhysicalProperties = exports.RackPhysicalProperties || (exports.RackPhysicalProperties = {}));
261
+ var CreateSiteInput;
262
+ (function (CreateSiteInput) {
263
+ CreateSiteInput.filterSensitiveLog = (obj) => ({
264
+ ...obj,
265
+ });
266
+ })(CreateSiteInput = exports.CreateSiteInput || (exports.CreateSiteInput = {}));
267
+ var Site;
268
+ (function (Site) {
269
+ Site.filterSensitiveLog = (obj) => ({
270
+ ...obj,
271
+ });
272
+ })(Site = exports.Site || (exports.Site = {}));
273
+ var CreateSiteOutput;
274
+ (function (CreateSiteOutput) {
275
+ CreateSiteOutput.filterSensitiveLog = (obj) => ({
276
+ ...obj,
277
+ });
278
+ })(CreateSiteOutput = exports.CreateSiteOutput || (exports.CreateSiteOutput = {}));
111
279
  var DeleteOutpostInput;
112
280
  (function (DeleteOutpostInput) {
113
281
  DeleteOutpostInput.filterSensitiveLog = (obj) => ({
@@ -132,6 +300,30 @@ var DeleteSiteOutput;
132
300
  ...obj,
133
301
  });
134
302
  })(DeleteSiteOutput = exports.DeleteSiteOutput || (exports.DeleteSiteOutput = {}));
303
+ var GetCatalogItemInput;
304
+ (function (GetCatalogItemInput) {
305
+ GetCatalogItemInput.filterSensitiveLog = (obj) => ({
306
+ ...obj,
307
+ });
308
+ })(GetCatalogItemInput = exports.GetCatalogItemInput || (exports.GetCatalogItemInput = {}));
309
+ var GetCatalogItemOutput;
310
+ (function (GetCatalogItemOutput) {
311
+ GetCatalogItemOutput.filterSensitiveLog = (obj) => ({
312
+ ...obj,
313
+ });
314
+ })(GetCatalogItemOutput = exports.GetCatalogItemOutput || (exports.GetCatalogItemOutput = {}));
315
+ var GetOrderInput;
316
+ (function (GetOrderInput) {
317
+ GetOrderInput.filterSensitiveLog = (obj) => ({
318
+ ...obj,
319
+ });
320
+ })(GetOrderInput = exports.GetOrderInput || (exports.GetOrderInput = {}));
321
+ var GetOrderOutput;
322
+ (function (GetOrderOutput) {
323
+ GetOrderOutput.filterSensitiveLog = (obj) => ({
324
+ ...obj,
325
+ });
326
+ })(GetOrderOutput = exports.GetOrderOutput || (exports.GetOrderOutput = {}));
135
327
  var GetOutpostInput;
136
328
  (function (GetOutpostInput) {
137
329
  GetOutpostInput.filterSensitiveLog = (obj) => ({
@@ -162,6 +354,65 @@ var GetOutpostInstanceTypesOutput;
162
354
  ...obj,
163
355
  });
164
356
  })(GetOutpostInstanceTypesOutput = exports.GetOutpostInstanceTypesOutput || (exports.GetOutpostInstanceTypesOutput = {}));
357
+ var GetSiteInput;
358
+ (function (GetSiteInput) {
359
+ GetSiteInput.filterSensitiveLog = (obj) => ({
360
+ ...obj,
361
+ });
362
+ })(GetSiteInput = exports.GetSiteInput || (exports.GetSiteInput = {}));
363
+ var GetSiteOutput;
364
+ (function (GetSiteOutput) {
365
+ GetSiteOutput.filterSensitiveLog = (obj) => ({
366
+ ...obj,
367
+ });
368
+ })(GetSiteOutput = exports.GetSiteOutput || (exports.GetSiteOutput = {}));
369
+ var GetSiteAddressInput;
370
+ (function (GetSiteAddressInput) {
371
+ GetSiteAddressInput.filterSensitiveLog = (obj) => ({
372
+ ...obj,
373
+ });
374
+ })(GetSiteAddressInput = exports.GetSiteAddressInput || (exports.GetSiteAddressInput = {}));
375
+ var GetSiteAddressOutput;
376
+ (function (GetSiteAddressOutput) {
377
+ GetSiteAddressOutput.filterSensitiveLog = (obj) => ({
378
+ ...obj,
379
+ });
380
+ })(GetSiteAddressOutput = exports.GetSiteAddressOutput || (exports.GetSiteAddressOutput = {}));
381
+ var ListCatalogItemsInput;
382
+ (function (ListCatalogItemsInput) {
383
+ ListCatalogItemsInput.filterSensitiveLog = (obj) => ({
384
+ ...obj,
385
+ });
386
+ })(ListCatalogItemsInput = exports.ListCatalogItemsInput || (exports.ListCatalogItemsInput = {}));
387
+ var ListCatalogItemsOutput;
388
+ (function (ListCatalogItemsOutput) {
389
+ ListCatalogItemsOutput.filterSensitiveLog = (obj) => ({
390
+ ...obj,
391
+ });
392
+ })(ListCatalogItemsOutput = exports.ListCatalogItemsOutput || (exports.ListCatalogItemsOutput = {}));
393
+ var ListOrdersInput;
394
+ (function (ListOrdersInput) {
395
+ ListOrdersInput.filterSensitiveLog = (obj) => ({
396
+ ...obj,
397
+ });
398
+ })(ListOrdersInput = exports.ListOrdersInput || (exports.ListOrdersInput = {}));
399
+ var OrderType;
400
+ (function (OrderType) {
401
+ OrderType["OUTPOST"] = "OUTPOST";
402
+ OrderType["REPLACEMENT"] = "REPLACEMENT";
403
+ })(OrderType = exports.OrderType || (exports.OrderType = {}));
404
+ var OrderSummary;
405
+ (function (OrderSummary) {
406
+ OrderSummary.filterSensitiveLog = (obj) => ({
407
+ ...obj,
408
+ });
409
+ })(OrderSummary = exports.OrderSummary || (exports.OrderSummary = {}));
410
+ var ListOrdersOutput;
411
+ (function (ListOrdersOutput) {
412
+ ListOrdersOutput.filterSensitiveLog = (obj) => ({
413
+ ...obj,
414
+ });
415
+ })(ListOrdersOutput = exports.ListOrdersOutput || (exports.ListOrdersOutput = {}));
165
416
  var ListOutpostsInput;
166
417
  (function (ListOutpostsInput) {
167
418
  ListOutpostsInput.filterSensitiveLog = (obj) => ({
@@ -180,12 +431,6 @@ var ListSitesInput;
180
431
  ...obj,
181
432
  });
182
433
  })(ListSitesInput = exports.ListSitesInput || (exports.ListSitesInput = {}));
183
- var Site;
184
- (function (Site) {
185
- Site.filterSensitiveLog = (obj) => ({
186
- ...obj,
187
- });
188
- })(Site = exports.Site || (exports.Site = {}));
189
434
  var ListSitesOutput;
190
435
  (function (ListSitesOutput) {
191
436
  ListSitesOutput.filterSensitiveLog = (obj) => ({
@@ -228,3 +473,51 @@ var UntagResourceResponse;
228
473
  ...obj,
229
474
  });
230
475
  })(UntagResourceResponse = exports.UntagResourceResponse || (exports.UntagResourceResponse = {}));
476
+ var UpdateOutpostInput;
477
+ (function (UpdateOutpostInput) {
478
+ UpdateOutpostInput.filterSensitiveLog = (obj) => ({
479
+ ...obj,
480
+ });
481
+ })(UpdateOutpostInput = exports.UpdateOutpostInput || (exports.UpdateOutpostInput = {}));
482
+ var UpdateOutpostOutput;
483
+ (function (UpdateOutpostOutput) {
484
+ UpdateOutpostOutput.filterSensitiveLog = (obj) => ({
485
+ ...obj,
486
+ });
487
+ })(UpdateOutpostOutput = exports.UpdateOutpostOutput || (exports.UpdateOutpostOutput = {}));
488
+ var UpdateSiteInput;
489
+ (function (UpdateSiteInput) {
490
+ UpdateSiteInput.filterSensitiveLog = (obj) => ({
491
+ ...obj,
492
+ });
493
+ })(UpdateSiteInput = exports.UpdateSiteInput || (exports.UpdateSiteInput = {}));
494
+ var UpdateSiteOutput;
495
+ (function (UpdateSiteOutput) {
496
+ UpdateSiteOutput.filterSensitiveLog = (obj) => ({
497
+ ...obj,
498
+ });
499
+ })(UpdateSiteOutput = exports.UpdateSiteOutput || (exports.UpdateSiteOutput = {}));
500
+ var UpdateSiteAddressInput;
501
+ (function (UpdateSiteAddressInput) {
502
+ UpdateSiteAddressInput.filterSensitiveLog = (obj) => ({
503
+ ...obj,
504
+ });
505
+ })(UpdateSiteAddressInput = exports.UpdateSiteAddressInput || (exports.UpdateSiteAddressInput = {}));
506
+ var UpdateSiteAddressOutput;
507
+ (function (UpdateSiteAddressOutput) {
508
+ UpdateSiteAddressOutput.filterSensitiveLog = (obj) => ({
509
+ ...obj,
510
+ });
511
+ })(UpdateSiteAddressOutput = exports.UpdateSiteAddressOutput || (exports.UpdateSiteAddressOutput = {}));
512
+ var UpdateSiteRackPhysicalPropertiesInput;
513
+ (function (UpdateSiteRackPhysicalPropertiesInput) {
514
+ UpdateSiteRackPhysicalPropertiesInput.filterSensitiveLog = (obj) => ({
515
+ ...obj,
516
+ });
517
+ })(UpdateSiteRackPhysicalPropertiesInput = exports.UpdateSiteRackPhysicalPropertiesInput || (exports.UpdateSiteRackPhysicalPropertiesInput = {}));
518
+ var UpdateSiteRackPhysicalPropertiesOutput;
519
+ (function (UpdateSiteRackPhysicalPropertiesOutput) {
520
+ UpdateSiteRackPhysicalPropertiesOutput.filterSensitiveLog = (obj) => ({
521
+ ...obj,
522
+ });
523
+ })(UpdateSiteRackPhysicalPropertiesOutput = exports.UpdateSiteRackPhysicalPropertiesOutput || (exports.UpdateSiteRackPhysicalPropertiesOutput = {}));
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.paginateListCatalogItems = void 0;
4
+ const ListCatalogItemsCommand_1 = require("../commands/ListCatalogItemsCommand");
5
+ const Outposts_1 = require("../Outposts");
6
+ const OutpostsClient_1 = require("../OutpostsClient");
7
+ const makePagedClientRequest = async (client, input, ...args) => {
8
+ return await client.send(new ListCatalogItemsCommand_1.ListCatalogItemsCommand(input), ...args);
9
+ };
10
+ const makePagedRequest = async (client, input, ...args) => {
11
+ return await client.listCatalogItems(input, ...args);
12
+ };
13
+ async function* paginateListCatalogItems(config, input, ...additionalArguments) {
14
+ let token = config.startingToken || undefined;
15
+ let hasNext = true;
16
+ let page;
17
+ while (hasNext) {
18
+ input.NextToken = token;
19
+ input["MaxResults"] = config.pageSize;
20
+ if (config.client instanceof Outposts_1.Outposts) {
21
+ page = await makePagedRequest(config.client, input, ...additionalArguments);
22
+ }
23
+ else if (config.client instanceof OutpostsClient_1.OutpostsClient) {
24
+ page = await makePagedClientRequest(config.client, input, ...additionalArguments);
25
+ }
26
+ else {
27
+ throw new Error("Invalid client, expected Outposts | OutpostsClient");
28
+ }
29
+ yield page;
30
+ token = page.NextToken;
31
+ hasNext = !!token;
32
+ }
33
+ return undefined;
34
+ }
35
+ exports.paginateListCatalogItems = paginateListCatalogItems;