@aws-sdk/client-outposts 3.81.0 → 3.82.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 (41) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/Outposts.js +15 -0
  3. package/dist-cjs/commands/ListAssetsCommand.js +36 -0
  4. package/dist-cjs/commands/index.js +1 -0
  5. package/dist-cjs/models/models_0.js +30 -2
  6. package/dist-cjs/pagination/GetOutpostInstanceTypesPaginator.js +36 -0
  7. package/dist-cjs/pagination/ListAssetsPaginator.js +36 -0
  8. package/dist-cjs/pagination/index.js +2 -0
  9. package/dist-cjs/protocols/Aws_restJson1.js +111 -1
  10. package/dist-es/Outposts.js +15 -0
  11. package/dist-es/commands/ListAssetsCommand.js +39 -0
  12. package/dist-es/commands/index.js +1 -0
  13. package/dist-es/models/models_0.js +20 -0
  14. package/dist-es/pagination/GetOutpostInstanceTypesPaginator.js +75 -0
  15. package/dist-es/pagination/ListAssetsPaginator.js +75 -0
  16. package/dist-es/pagination/index.js +2 -0
  17. package/dist-es/protocols/Aws_restJson1.js +133 -0
  18. package/dist-types/Outposts.d.ts +16 -5
  19. package/dist-types/OutpostsClient.d.ts +3 -2
  20. package/dist-types/commands/GetOutpostInstanceTypesCommand.d.ts +1 -1
  21. package/dist-types/commands/ListAssetsCommand.d.ts +39 -0
  22. package/dist-types/commands/ListCatalogItemsCommand.d.ts +1 -1
  23. package/dist-types/commands/ListOrdersCommand.d.ts +1 -1
  24. package/dist-types/commands/ListOutpostsCommand.d.ts +1 -1
  25. package/dist-types/commands/ListSitesCommand.d.ts +1 -1
  26. package/dist-types/commands/index.d.ts +1 -0
  27. package/dist-types/models/models_0.d.ts +108 -0
  28. package/dist-types/pagination/GetOutpostInstanceTypesPaginator.d.ts +4 -0
  29. package/dist-types/pagination/ListAssetsPaginator.d.ts +4 -0
  30. package/dist-types/pagination/index.d.ts +2 -0
  31. package/dist-types/protocols/Aws_restJson1.d.ts +3 -0
  32. package/dist-types/ts3.4/Outposts.d.ts +5 -0
  33. package/dist-types/ts3.4/OutpostsClient.d.ts +3 -2
  34. package/dist-types/ts3.4/commands/ListAssetsCommand.d.ts +17 -0
  35. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  36. package/dist-types/ts3.4/models/models_0.d.ts +51 -0
  37. package/dist-types/ts3.4/pagination/GetOutpostInstanceTypesPaginator.d.ts +4 -0
  38. package/dist-types/ts3.4/pagination/ListAssetsPaginator.d.ts +4 -0
  39. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  40. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +3 -0
  41. package/package.json +4 -4
@@ -41,6 +41,33 @@ export declare enum AddressType {
41
41
  OPERATING_ADDRESS = "OPERATING_ADDRESS",
42
42
  SHIPPING_ADDRESS = "SHIPPING_ADDRESS"
43
43
  }
44
+ export declare enum AssetType {
45
+ COMPUTE = "COMPUTE"
46
+ }
47
+
48
+ export interface ComputeAttributes {
49
+
50
+ HostId?: string;
51
+ }
52
+ export declare namespace ComputeAttributes {
53
+
54
+ const filterSensitiveLog: (obj: ComputeAttributes) => any;
55
+ }
56
+
57
+ export interface AssetInfo {
58
+
59
+ AssetId?: string;
60
+
61
+ RackId?: string;
62
+
63
+ AssetType?: AssetType | string;
64
+
65
+ ComputeAttributes?: ComputeAttributes;
66
+ }
67
+ export declare namespace AssetInfo {
68
+
69
+ const filterSensitiveLog: (obj: AssetInfo) => any;
70
+ }
44
71
  export interface CancelOrderInput {
45
72
 
46
73
  OrderId: string | undefined;
@@ -613,6 +640,30 @@ export declare namespace GetSiteAddressOutput {
613
640
 
614
641
  const filterSensitiveLog: (obj: GetSiteAddressOutput) => any;
615
642
  }
643
+ export interface ListAssetsInput {
644
+
645
+ OutpostIdentifier: string | undefined;
646
+
647
+ HostIdFilter?: string[];
648
+
649
+ MaxResults?: number;
650
+
651
+ NextToken?: string;
652
+ }
653
+ export declare namespace ListAssetsInput {
654
+
655
+ const filterSensitiveLog: (obj: ListAssetsInput) => any;
656
+ }
657
+ export interface ListAssetsOutput {
658
+
659
+ Assets?: AssetInfo[];
660
+
661
+ NextToken?: string;
662
+ }
663
+ export declare namespace ListAssetsOutput {
664
+
665
+ const filterSensitiveLog: (obj: ListAssetsOutput) => any;
666
+ }
616
667
  export interface ListCatalogItemsInput {
617
668
 
618
669
  NextToken?: string;
@@ -0,0 +1,4 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import { GetOutpostInstanceTypesCommandInput, GetOutpostInstanceTypesCommandOutput } from "../commands/GetOutpostInstanceTypesCommand";
3
+ import { OutpostsPaginationConfiguration } from "./Interfaces";
4
+ export declare function paginateGetOutpostInstanceTypes(config: OutpostsPaginationConfiguration, input: GetOutpostInstanceTypesCommandInput, ...additionalArguments: any): Paginator<GetOutpostInstanceTypesCommandOutput>;
@@ -0,0 +1,4 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import { ListAssetsCommandInput, ListAssetsCommandOutput } from "../commands/ListAssetsCommand";
3
+ import { OutpostsPaginationConfiguration } from "./Interfaces";
4
+ export declare function paginateListAssets(config: OutpostsPaginationConfiguration, input: ListAssetsCommandInput, ...additionalArguments: any): Paginator<ListAssetsCommandOutput>;
@@ -1,4 +1,6 @@
1
+ export * from "./GetOutpostInstanceTypesPaginator";
1
2
  export * from "./Interfaces";
3
+ export * from "./ListAssetsPaginator";
2
4
  export * from "./ListCatalogItemsPaginator";
3
5
  export * from "./ListOrdersPaginator";
4
6
  export * from "./ListOutpostsPaginator";
@@ -12,6 +12,7 @@ import { GetOutpostCommandInput, GetOutpostCommandOutput } from "../commands/Get
12
12
  import { GetOutpostInstanceTypesCommandInput, GetOutpostInstanceTypesCommandOutput } from "../commands/GetOutpostInstanceTypesCommand";
13
13
  import { GetSiteAddressCommandInput, GetSiteAddressCommandOutput } from "../commands/GetSiteAddressCommand";
14
14
  import { GetSiteCommandInput, GetSiteCommandOutput } from "../commands/GetSiteCommand";
15
+ import { ListAssetsCommandInput, ListAssetsCommandOutput } from "../commands/ListAssetsCommand";
15
16
  import { ListCatalogItemsCommandInput, ListCatalogItemsCommandOutput } from "../commands/ListCatalogItemsCommand";
16
17
  import { ListOrdersCommandInput, ListOrdersCommandOutput } from "../commands/ListOrdersCommand";
17
18
  import { ListOutpostsCommandInput, ListOutpostsCommandOutput } from "../commands/ListOutpostsCommand";
@@ -35,6 +36,7 @@ export declare const serializeAws_restJson1GetOutpostCommand: (input: GetOutpost
35
36
  export declare const serializeAws_restJson1GetOutpostInstanceTypesCommand: (input: GetOutpostInstanceTypesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
36
37
  export declare const serializeAws_restJson1GetSiteCommand: (input: GetSiteCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
37
38
  export declare const serializeAws_restJson1GetSiteAddressCommand: (input: GetSiteAddressCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
39
+ export declare const serializeAws_restJson1ListAssetsCommand: (input: ListAssetsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
38
40
  export declare const serializeAws_restJson1ListCatalogItemsCommand: (input: ListCatalogItemsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
39
41
  export declare const serializeAws_restJson1ListOrdersCommand: (input: ListOrdersCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
40
42
  export declare const serializeAws_restJson1ListOutpostsCommand: (input: ListOutpostsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -58,6 +60,7 @@ export declare const deserializeAws_restJson1GetOutpostCommand: (output: __HttpR
58
60
  export declare const deserializeAws_restJson1GetOutpostInstanceTypesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetOutpostInstanceTypesCommandOutput>;
59
61
  export declare const deserializeAws_restJson1GetSiteCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetSiteCommandOutput>;
60
62
  export declare const deserializeAws_restJson1GetSiteAddressCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetSiteAddressCommandOutput>;
63
+ export declare const deserializeAws_restJson1ListAssetsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListAssetsCommandOutput>;
61
64
  export declare const deserializeAws_restJson1ListCatalogItemsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListCatalogItemsCommandOutput>;
62
65
  export declare const deserializeAws_restJson1ListOrdersCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListOrdersCommandOutput>;
63
66
  export declare const deserializeAws_restJson1ListOutpostsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListOutpostsCommandOutput>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-outposts",
3
3
  "description": "AWS SDK for JavaScript Outposts Client for Node.js, Browser and React Native",
4
- "version": "3.81.0",
4
+ "version": "3.82.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -18,9 +18,9 @@
18
18
  "dependencies": {
19
19
  "@aws-crypto/sha256-browser": "2.0.0",
20
20
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/client-sts": "3.81.0",
21
+ "@aws-sdk/client-sts": "3.82.0",
22
22
  "@aws-sdk/config-resolver": "3.80.0",
23
- "@aws-sdk/credential-provider-node": "3.81.0",
23
+ "@aws-sdk/credential-provider-node": "3.82.0",
24
24
  "@aws-sdk/fetch-http-handler": "3.78.0",
25
25
  "@aws-sdk/hash-node": "3.78.0",
26
26
  "@aws-sdk/invalid-dependency": "3.78.0",
@@ -33,7 +33,7 @@
33
33
  "@aws-sdk/middleware-stack": "3.78.0",
34
34
  "@aws-sdk/middleware-user-agent": "3.78.0",
35
35
  "@aws-sdk/node-config-provider": "3.80.0",
36
- "@aws-sdk/node-http-handler": "3.78.0",
36
+ "@aws-sdk/node-http-handler": "3.82.0",
37
37
  "@aws-sdk/protocol-http": "3.78.0",
38
38
  "@aws-sdk/smithy-client": "3.78.0",
39
39
  "@aws-sdk/types": "3.78.0",