@aws-sdk/client-outposts 3.927.0 → 3.929.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 (56) hide show
  1. package/dist-cjs/index.js +1518 -1485
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/OutpostsClient.js +2 -0
  4. package/dist-es/commands/CancelCapacityTaskCommand.js +3 -9
  5. package/dist-es/commands/CancelOrderCommand.js +3 -9
  6. package/dist-es/commands/CreateOrderCommand.js +3 -9
  7. package/dist-es/commands/CreateOutpostCommand.js +3 -9
  8. package/dist-es/commands/CreateSiteCommand.js +3 -9
  9. package/dist-es/commands/DeleteOutpostCommand.js +3 -9
  10. package/dist-es/commands/DeleteSiteCommand.js +3 -9
  11. package/dist-es/commands/GetCapacityTaskCommand.js +3 -9
  12. package/dist-es/commands/GetCatalogItemCommand.js +3 -9
  13. package/dist-es/commands/GetConnectionCommand.js +3 -9
  14. package/dist-es/commands/GetOrderCommand.js +3 -9
  15. package/dist-es/commands/GetOutpostBillingInformationCommand.js +3 -9
  16. package/dist-es/commands/GetOutpostCommand.js +3 -9
  17. package/dist-es/commands/GetOutpostInstanceTypesCommand.js +3 -9
  18. package/dist-es/commands/GetOutpostSupportedInstanceTypesCommand.js +3 -9
  19. package/dist-es/commands/GetSiteAddressCommand.js +3 -9
  20. package/dist-es/commands/GetSiteCommand.js +3 -9
  21. package/dist-es/commands/ListAssetInstancesCommand.js +3 -9
  22. package/dist-es/commands/ListAssetsCommand.js +3 -9
  23. package/dist-es/commands/ListBlockingInstancesForCapacityTaskCommand.js +3 -9
  24. package/dist-es/commands/ListCapacityTasksCommand.js +3 -9
  25. package/dist-es/commands/ListCatalogItemsCommand.js +3 -9
  26. package/dist-es/commands/ListOrdersCommand.js +3 -9
  27. package/dist-es/commands/ListOutpostsCommand.js +3 -9
  28. package/dist-es/commands/ListSitesCommand.js +3 -9
  29. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  30. package/dist-es/commands/StartCapacityTaskCommand.js +3 -9
  31. package/dist-es/commands/StartConnectionCommand.js +3 -9
  32. package/dist-es/commands/StartOutpostDecommissionCommand.js +3 -9
  33. package/dist-es/commands/TagResourceCommand.js +3 -9
  34. package/dist-es/commands/UntagResourceCommand.js +3 -9
  35. package/dist-es/commands/UpdateOutpostCommand.js +3 -9
  36. package/dist-es/commands/UpdateSiteAddressCommand.js +3 -9
  37. package/dist-es/commands/UpdateSiteCommand.js +3 -9
  38. package/dist-es/commands/UpdateSiteRackPhysicalPropertiesCommand.js +3 -9
  39. package/dist-es/runtimeConfig.shared.js +2 -0
  40. package/dist-es/schemas/schemas_0.js +1476 -0
  41. package/dist-types/OutpostsClient.d.ts +10 -1
  42. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  43. package/dist-types/runtimeConfig.d.ts +1 -0
  44. package/dist-types/runtimeConfig.native.d.ts +1 -0
  45. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  46. package/dist-types/schemas/schemas_0.d.ts +181 -0
  47. package/dist-types/ts3.4/OutpostsClient.d.ts +4 -0
  48. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  49. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  50. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  51. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  52. package/dist-types/ts3.4/schemas/schemas_0.d.ts +186 -0
  53. package/package.json +5 -5
  54. package/dist-es/protocols/Aws_restJson1.js +0 -1244
  55. package/dist-types/protocols/Aws_restJson1.d.ts +0 -317
  56. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -425
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListOrdersCommand, se_ListOrdersCommand } from "../protocols/Aws_restJson1";
4
+ import { ListOrders } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListOrdersCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("OutpostsOlafService", "ListOrders", {})
17
13
  .n("OutpostsClient", "ListOrdersCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListOrdersCommand)
20
- .de(de_ListOrdersCommand)
14
+ .sc(ListOrders)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListOutpostsCommand, se_ListOutpostsCommand } from "../protocols/Aws_restJson1";
4
+ import { ListOutposts } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListOutpostsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("OutpostsOlafService", "ListOutposts", {})
17
13
  .n("OutpostsClient", "ListOutpostsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListOutpostsCommand)
20
- .de(de_ListOutpostsCommand)
14
+ .sc(ListOutposts)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListSitesCommand, se_ListSitesCommand } from "../protocols/Aws_restJson1";
4
+ import { ListSites } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListSitesCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("OutpostsOlafService", "ListSites", {})
17
13
  .n("OutpostsClient", "ListSitesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListSitesCommand)
20
- .de(de_ListSitesCommand)
14
+ .sc(ListSites)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "../protocols/Aws_restJson1";
4
+ import { ListTagsForResource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListTagsForResourceCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("OutpostsOlafService", "ListTagsForResource", {})
17
13
  .n("OutpostsClient", "ListTagsForResourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListTagsForResourceCommand)
20
- .de(de_ListTagsForResourceCommand)
14
+ .sc(ListTagsForResource)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_StartCapacityTaskCommand, se_StartCapacityTaskCommand } from "../protocols/Aws_restJson1";
4
+ import { StartCapacityTask } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class StartCapacityTaskCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("OutpostsOlafService", "StartCapacityTask", {})
17
13
  .n("OutpostsClient", "StartCapacityTaskCommand")
18
- .f(void 0, void 0)
19
- .ser(se_StartCapacityTaskCommand)
20
- .de(de_StartCapacityTaskCommand)
14
+ .sc(StartCapacityTask)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_StartConnectionCommand, se_StartConnectionCommand } from "../protocols/Aws_restJson1";
4
+ import { StartConnection } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class StartConnectionCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("OutpostsOlafService", "StartConnection", {})
17
13
  .n("OutpostsClient", "StartConnectionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_StartConnectionCommand)
20
- .de(de_StartConnectionCommand)
14
+ .sc(StartConnection)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_StartOutpostDecommissionCommand, se_StartOutpostDecommissionCommand } from "../protocols/Aws_restJson1";
4
+ import { StartOutpostDecommission } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class StartOutpostDecommissionCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("OutpostsOlafService", "StartOutpostDecommission", {})
17
13
  .n("OutpostsClient", "StartOutpostDecommissionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_StartOutpostDecommissionCommand)
20
- .de(de_StartOutpostDecommissionCommand)
14
+ .sc(StartOutpostDecommission)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_restJson1";
4
+ import { TagResource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class TagResourceCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("OutpostsOlafService", "TagResource", {})
17
13
  .n("OutpostsClient", "TagResourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_TagResourceCommand)
20
- .de(de_TagResourceCommand)
14
+ .sc(TagResource)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_restJson1";
4
+ import { UntagResource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UntagResourceCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("OutpostsOlafService", "UntagResource", {})
17
13
  .n("OutpostsClient", "UntagResourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UntagResourceCommand)
20
- .de(de_UntagResourceCommand)
14
+ .sc(UntagResource)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateOutpostCommand, se_UpdateOutpostCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateOutpost } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateOutpostCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("OutpostsOlafService", "UpdateOutpost", {})
17
13
  .n("OutpostsClient", "UpdateOutpostCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateOutpostCommand)
20
- .de(de_UpdateOutpostCommand)
14
+ .sc(UpdateOutpost)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateSiteAddressCommand, se_UpdateSiteAddressCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateSiteAddress } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateSiteAddressCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("OutpostsOlafService", "UpdateSiteAddress", {})
17
13
  .n("OutpostsClient", "UpdateSiteAddressCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateSiteAddressCommand)
20
- .de(de_UpdateSiteAddressCommand)
14
+ .sc(UpdateSiteAddress)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateSiteCommand, se_UpdateSiteCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateSite } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateSiteCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("OutpostsOlafService", "UpdateSite", {})
17
13
  .n("OutpostsClient", "UpdateSiteCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateSiteCommand)
20
- .de(de_UpdateSiteCommand)
14
+ .sc(UpdateSite)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateSiteRackPhysicalPropertiesCommand, se_UpdateSiteRackPhysicalPropertiesCommand, } from "../protocols/Aws_restJson1";
4
+ import { UpdateSiteRackPhysicalProperties } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateSiteRackPhysicalPropertiesCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("OutpostsOlafService", "UpdateSiteRackPhysicalProperties", {})
17
13
  .n("OutpostsClient", "UpdateSiteRackPhysicalPropertiesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateSiteRackPhysicalPropertiesCommand)
20
- .de(de_UpdateSiteRackPhysicalPropertiesCommand)
14
+ .sc(UpdateSiteRackPhysicalProperties)
21
15
  .build() {
22
16
  }
@@ -1,4 +1,5 @@
1
1
  import { AwsSdkSigV4Signer } from "@aws-sdk/core";
2
+ import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
2
3
  import { NoOpLogger } from "@smithy/smithy-client";
3
4
  import { parseUrl } from "@smithy/url-parser";
4
5
  import { fromBase64, toBase64 } from "@smithy/util-base64";
@@ -22,6 +23,7 @@ export const getRuntimeConfig = (config) => {
22
23
  },
23
24
  ],
24
25
  logger: config?.logger ?? new NoOpLogger(),
26
+ protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.outposts" }),
25
27
  serviceId: config?.serviceId ?? "Outposts",
26
28
  urlParser: config?.urlParser ?? parseUrl,
27
29
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,