@aws-sdk/client-outposts 3.80.0 → 3.85.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.
- package/CHANGELOG.md +30 -0
- package/README.md +2 -0
- package/dist-cjs/Outposts.js +15 -0
- package/dist-cjs/commands/ListAssetsCommand.js +36 -0
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/models/models_0.js +30 -2
- package/dist-cjs/pagination/GetOutpostInstanceTypesPaginator.js +36 -0
- package/dist-cjs/pagination/ListAssetsPaginator.js +36 -0
- package/dist-cjs/pagination/index.js +2 -0
- package/dist-cjs/protocols/Aws_restJson1.js +111 -1
- package/dist-es/Outposts.js +15 -0
- package/dist-es/commands/ListAssetsCommand.js +39 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_0.js +20 -0
- package/dist-es/pagination/GetOutpostInstanceTypesPaginator.js +75 -0
- package/dist-es/pagination/ListAssetsPaginator.js +75 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +133 -0
- package/dist-types/Outposts.d.ts +16 -5
- package/dist-types/OutpostsClient.d.ts +3 -2
- package/dist-types/commands/GetOutpostInstanceTypesCommand.d.ts +1 -1
- package/dist-types/commands/ListAssetsCommand.d.ts +39 -0
- package/dist-types/commands/ListCatalogItemsCommand.d.ts +1 -1
- package/dist-types/commands/ListOrdersCommand.d.ts +1 -1
- package/dist-types/commands/ListOutpostsCommand.d.ts +1 -1
- package/dist-types/commands/ListSitesCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +108 -0
- package/dist-types/pagination/GetOutpostInstanceTypesPaginator.d.ts +4 -0
- package/dist-types/pagination/ListAssetsPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +3 -0
- package/dist-types/ts3.4/Outposts.d.ts +5 -0
- package/dist-types/ts3.4/OutpostsClient.d.ts +3 -2
- package/dist-types/ts3.4/commands/ListAssetsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +51 -0
- package/dist-types/ts3.4/pagination/GetOutpostInstanceTypesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListAssetsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +3 -0
- package/package.json +7 -7
|
@@ -0,0 +1,17 @@
|
|
|
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 { ListAssetsInput, ListAssetsOutput } from "../models/models_0";
|
|
4
|
+
import { OutpostsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OutpostsClient";
|
|
5
|
+
export interface ListAssetsCommandInput extends ListAssetsInput {
|
|
6
|
+
}
|
|
7
|
+
export interface ListAssetsCommandOutput extends ListAssetsOutput, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class ListAssetsCommand extends $Command<ListAssetsCommandInput, ListAssetsCommandOutput, OutpostsClientResolvedConfig> {
|
|
11
|
+
readonly input: ListAssetsCommandInput;
|
|
12
|
+
constructor(input: ListAssetsCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: OutpostsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListAssetsCommandInput, ListAssetsCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|
|
@@ -10,6 +10,7 @@ export * from "./GetOutpostCommand";
|
|
|
10
10
|
export * from "./GetOutpostInstanceTypesCommand";
|
|
11
11
|
export * from "./GetSiteAddressCommand";
|
|
12
12
|
export * from "./GetSiteCommand";
|
|
13
|
+
export * from "./ListAssetsCommand";
|
|
13
14
|
export * from "./ListCatalogItemsCommand";
|
|
14
15
|
export * from "./ListOrdersCommand";
|
|
15
16
|
export * from "./ListOutpostsCommand";
|
|
@@ -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>;
|
|
@@ -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.
|
|
4
|
+
"version": "3.85.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.
|
|
21
|
+
"@aws-sdk/client-sts": "3.85.0",
|
|
22
22
|
"@aws-sdk/config-resolver": "3.80.0",
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.85.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,17 +33,17 @@
|
|
|
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.
|
|
36
|
+
"@aws-sdk/node-http-handler": "3.82.0",
|
|
37
37
|
"@aws-sdk/protocol-http": "3.78.0",
|
|
38
|
-
"@aws-sdk/smithy-client": "3.
|
|
38
|
+
"@aws-sdk/smithy-client": "3.85.0",
|
|
39
39
|
"@aws-sdk/types": "3.78.0",
|
|
40
40
|
"@aws-sdk/url-parser": "3.78.0",
|
|
41
41
|
"@aws-sdk/util-base64-browser": "3.58.0",
|
|
42
42
|
"@aws-sdk/util-base64-node": "3.55.0",
|
|
43
43
|
"@aws-sdk/util-body-length-browser": "3.55.0",
|
|
44
44
|
"@aws-sdk/util-body-length-node": "3.55.0",
|
|
45
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
46
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
45
|
+
"@aws-sdk/util-defaults-mode-browser": "3.85.0",
|
|
46
|
+
"@aws-sdk/util-defaults-mode-node": "3.85.0",
|
|
47
47
|
"@aws-sdk/util-user-agent-browser": "3.78.0",
|
|
48
48
|
"@aws-sdk/util-user-agent-node": "3.80.0",
|
|
49
49
|
"@aws-sdk/util-utf8-browser": "3.55.0",
|