@aws-sdk/client-outposts 3.42.0 → 3.43.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 (79) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/README.md +10 -10
  3. package/dist-cjs/Outposts.js +165 -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/UpdateSiteAddressCommand.js +36 -0
  13. package/dist-cjs/commands/UpdateSiteCommand.js +36 -0
  14. package/dist-cjs/commands/UpdateSiteRackPhysicalPropertiesCommand.js +36 -0
  15. package/dist-cjs/commands/index.js +11 -0
  16. package/dist-cjs/models/models_0.js +301 -25
  17. package/dist-cjs/pagination/ListCatalogItemsPaginator.js +35 -0
  18. package/dist-cjs/pagination/ListOrdersPaginator.js +35 -0
  19. package/dist-cjs/pagination/index.js +2 -0
  20. package/dist-cjs/protocols/Aws_restJson1.js +1429 -103
  21. package/dist-es/Outposts.js +165 -0
  22. package/dist-es/commands/CancelOrderCommand.js +39 -0
  23. package/dist-es/commands/CreateSiteCommand.js +39 -0
  24. package/dist-es/commands/GetCatalogItemCommand.js +39 -0
  25. package/dist-es/commands/GetOrderCommand.js +39 -0
  26. package/dist-es/commands/GetSiteAddressCommand.js +39 -0
  27. package/dist-es/commands/GetSiteCommand.js +39 -0
  28. package/dist-es/commands/ListCatalogItemsCommand.js +39 -0
  29. package/dist-es/commands/ListOrdersCommand.js +39 -0
  30. package/dist-es/commands/UpdateSiteAddressCommand.js +39 -0
  31. package/dist-es/commands/UpdateSiteCommand.js +39 -0
  32. package/dist-es/commands/UpdateSiteRackPhysicalPropertiesCommand.js +39 -0
  33. package/dist-es/commands/index.js +11 -0
  34. package/dist-es/models/models_0.js +237 -16
  35. package/dist-es/pagination/ListCatalogItemsPaginator.js +74 -0
  36. package/dist-es/pagination/ListOrdersPaginator.js +74 -0
  37. package/dist-es/pagination/index.js +2 -0
  38. package/dist-es/protocols/Aws_restJson1.js +1638 -165
  39. package/dist-types/Outposts.d.ts +114 -6
  40. package/dist-types/OutpostsClient.d.ts +16 -5
  41. package/dist-types/commands/CancelOrderCommand.d.ts +37 -0
  42. package/dist-types/commands/CreateSiteCommand.d.ts +37 -0
  43. package/dist-types/commands/GetCatalogItemCommand.d.ts +35 -0
  44. package/dist-types/commands/GetOrderCommand.d.ts +35 -0
  45. package/dist-types/commands/GetSiteAddressCommand.d.ts +37 -0
  46. package/dist-types/commands/GetSiteCommand.d.ts +37 -0
  47. package/dist-types/commands/ListCatalogItemsCommand.d.ts +39 -0
  48. package/dist-types/commands/ListOrdersCommand.d.ts +36 -0
  49. package/dist-types/commands/ListOutpostsCommand.d.ts +2 -2
  50. package/dist-types/commands/ListSitesCommand.d.ts +1 -1
  51. package/dist-types/commands/UpdateSiteAddressCommand.d.ts +46 -0
  52. package/dist-types/commands/UpdateSiteCommand.d.ts +37 -0
  53. package/dist-types/commands/UpdateSiteRackPhysicalPropertiesCommand.d.ts +40 -0
  54. package/dist-types/commands/index.d.ts +11 -0
  55. package/dist-types/models/models_0.d.ts +1133 -151
  56. package/dist-types/pagination/ListCatalogItemsPaginator.d.ts +4 -0
  57. package/dist-types/pagination/ListOrdersPaginator.d.ts +4 -0
  58. package/dist-types/pagination/index.d.ts +2 -0
  59. package/dist-types/protocols/Aws_restJson1.d.ts +33 -0
  60. package/dist-types/ts3.4/Outposts.d.ts +55 -0
  61. package/dist-types/ts3.4/OutpostsClient.d.ts +13 -2
  62. package/dist-types/ts3.4/commands/CancelOrderCommand.d.ts +17 -0
  63. package/dist-types/ts3.4/commands/CreateSiteCommand.d.ts +17 -0
  64. package/dist-types/ts3.4/commands/GetCatalogItemCommand.d.ts +17 -0
  65. package/dist-types/ts3.4/commands/GetOrderCommand.d.ts +17 -0
  66. package/dist-types/ts3.4/commands/GetSiteAddressCommand.d.ts +17 -0
  67. package/dist-types/ts3.4/commands/GetSiteCommand.d.ts +17 -0
  68. package/dist-types/ts3.4/commands/ListCatalogItemsCommand.d.ts +17 -0
  69. package/dist-types/ts3.4/commands/ListOrdersCommand.d.ts +17 -0
  70. package/dist-types/ts3.4/commands/UpdateSiteAddressCommand.d.ts +17 -0
  71. package/dist-types/ts3.4/commands/UpdateSiteCommand.d.ts +17 -0
  72. package/dist-types/ts3.4/commands/UpdateSiteRackPhysicalPropertiesCommand.d.ts +17 -0
  73. package/dist-types/ts3.4/commands/index.d.ts +11 -0
  74. package/dist-types/ts3.4/models/models_0.d.ts +511 -52
  75. package/dist-types/ts3.4/pagination/ListCatalogItemsPaginator.d.ts +4 -0
  76. package/dist-types/ts3.4/pagination/ListOrdersPaginator.d.ts +4 -0
  77. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  78. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +33 -0
  79. package/package.json +2 -2
@@ -0,0 +1,37 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { UpdateSiteInput, UpdateSiteOutput } from "../models/models_0";
4
+ import { OutpostsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OutpostsClient";
5
+ export interface UpdateSiteCommandInput extends UpdateSiteInput {
6
+ }
7
+ export interface UpdateSiteCommandOutput extends UpdateSiteOutput, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>
11
+ * Updates the site.
12
+ * </p>
13
+ * @example
14
+ * Use a bare-bones client and the command you need to make an API call.
15
+ * ```javascript
16
+ * import { OutpostsClient, UpdateSiteCommand } from "@aws-sdk/client-outposts"; // ES Modules import
17
+ * // const { OutpostsClient, UpdateSiteCommand } = require("@aws-sdk/client-outposts"); // CommonJS import
18
+ * const client = new OutpostsClient(config);
19
+ * const command = new UpdateSiteCommand(input);
20
+ * const response = await client.send(command);
21
+ * ```
22
+ *
23
+ * @see {@link UpdateSiteCommandInput} for command's `input` shape.
24
+ * @see {@link UpdateSiteCommandOutput} for command's `response` shape.
25
+ * @see {@link OutpostsClientResolvedConfig | config} for OutpostsClient's `config` shape.
26
+ *
27
+ */
28
+ export declare class UpdateSiteCommand extends $Command<UpdateSiteCommandInput, UpdateSiteCommandOutput, OutpostsClientResolvedConfig> {
29
+ readonly input: UpdateSiteCommandInput;
30
+ constructor(input: UpdateSiteCommandInput);
31
+ /**
32
+ * @internal
33
+ */
34
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: OutpostsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateSiteCommandInput, UpdateSiteCommandOutput>;
35
+ private serialize;
36
+ private deserialize;
37
+ }
@@ -0,0 +1,40 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { UpdateSiteRackPhysicalPropertiesInput, UpdateSiteRackPhysicalPropertiesOutput } from "../models/models_0";
4
+ import { OutpostsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OutpostsClient";
5
+ export interface UpdateSiteRackPhysicalPropertiesCommandInput extends UpdateSiteRackPhysicalPropertiesInput {
6
+ }
7
+ export interface UpdateSiteRackPhysicalPropertiesCommandOutput extends UpdateSiteRackPhysicalPropertiesOutput, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Update the physical and logistical details for a rack at a site. For more information
11
+ * about hardware requirements for racks, see <a href="https://docs.aws.amazon.com/outposts/latest/userguide/outposts-requirements.html#checklist">Network
12
+ * readiness checklist</a> in the Amazon Web Services Outposts User Guide.
13
+ * </p>
14
+ * <p>To update a rack at a site with an order of <code>IN_PROGRESS</code>, you must wait for
15
+ * the order to complete or cancel the order.</p>
16
+ * @example
17
+ * Use a bare-bones client and the command you need to make an API call.
18
+ * ```javascript
19
+ * import { OutpostsClient, UpdateSiteRackPhysicalPropertiesCommand } from "@aws-sdk/client-outposts"; // ES Modules import
20
+ * // const { OutpostsClient, UpdateSiteRackPhysicalPropertiesCommand } = require("@aws-sdk/client-outposts"); // CommonJS import
21
+ * const client = new OutpostsClient(config);
22
+ * const command = new UpdateSiteRackPhysicalPropertiesCommand(input);
23
+ * const response = await client.send(command);
24
+ * ```
25
+ *
26
+ * @see {@link UpdateSiteRackPhysicalPropertiesCommandInput} for command's `input` shape.
27
+ * @see {@link UpdateSiteRackPhysicalPropertiesCommandOutput} for command's `response` shape.
28
+ * @see {@link OutpostsClientResolvedConfig | config} for OutpostsClient's `config` shape.
29
+ *
30
+ */
31
+ export declare class UpdateSiteRackPhysicalPropertiesCommand extends $Command<UpdateSiteRackPhysicalPropertiesCommandInput, UpdateSiteRackPhysicalPropertiesCommandOutput, OutpostsClientResolvedConfig> {
32
+ readonly input: UpdateSiteRackPhysicalPropertiesCommandInput;
33
+ constructor(input: UpdateSiteRackPhysicalPropertiesCommandInput);
34
+ /**
35
+ * @internal
36
+ */
37
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: OutpostsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateSiteRackPhysicalPropertiesCommandInput, UpdateSiteRackPhysicalPropertiesCommandOutput>;
38
+ private serialize;
39
+ private deserialize;
40
+ }
@@ -1,11 +1,22 @@
1
+ export * from "./CancelOrderCommand";
1
2
  export * from "./CreateOrderCommand";
2
3
  export * from "./CreateOutpostCommand";
4
+ export * from "./CreateSiteCommand";
3
5
  export * from "./DeleteOutpostCommand";
4
6
  export * from "./DeleteSiteCommand";
7
+ export * from "./GetCatalogItemCommand";
8
+ export * from "./GetOrderCommand";
5
9
  export * from "./GetOutpostCommand";
6
10
  export * from "./GetOutpostInstanceTypesCommand";
11
+ export * from "./GetSiteAddressCommand";
12
+ export * from "./GetSiteCommand";
13
+ export * from "./ListCatalogItemsCommand";
14
+ export * from "./ListOrdersCommand";
7
15
  export * from "./ListOutpostsCommand";
8
16
  export * from "./ListSitesCommand";
9
17
  export * from "./ListTagsForResourceCommand";
10
18
  export * from "./TagResourceCommand";
11
19
  export * from "./UntagResourceCommand";
20
+ export * from "./UpdateSiteAddressCommand";
21
+ export * from "./UpdateSiteCommand";
22
+ export * from "./UpdateSiteRackPhysicalPropertiesCommand";