@aws-sdk/client-evs 3.974.0 → 3.978.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/dist-cjs/index.js +12 -7
- package/dist-es/Evs.js +9 -1
- package/dist-types/Evs.d.ts +22 -1
- package/dist-types/ts3.4/Evs.d.ts +26 -1
- package/package.json +17 -17
package/dist-cjs/index.js
CHANGED
|
@@ -924,6 +924,12 @@ class UntagResourceCommand extends smithyClient.Command
|
|
|
924
924
|
.build() {
|
|
925
925
|
}
|
|
926
926
|
|
|
927
|
+
const paginateListEnvironmentHosts = core.createPaginator(EvsClient, ListEnvironmentHostsCommand, "nextToken", "nextToken", "maxResults");
|
|
928
|
+
|
|
929
|
+
const paginateListEnvironments = core.createPaginator(EvsClient, ListEnvironmentsCommand, "nextToken", "nextToken", "maxResults");
|
|
930
|
+
|
|
931
|
+
const paginateListEnvironmentVlans = core.createPaginator(EvsClient, ListEnvironmentVlansCommand, "nextToken", "nextToken", "maxResults");
|
|
932
|
+
|
|
927
933
|
const commands = {
|
|
928
934
|
AssociateEipToVlanCommand,
|
|
929
935
|
CreateEnvironmentCommand,
|
|
@@ -940,15 +946,14 @@ const commands = {
|
|
|
940
946
|
TagResourceCommand,
|
|
941
947
|
UntagResourceCommand,
|
|
942
948
|
};
|
|
949
|
+
const paginators = {
|
|
950
|
+
paginateListEnvironmentHosts,
|
|
951
|
+
paginateListEnvironments,
|
|
952
|
+
paginateListEnvironmentVlans,
|
|
953
|
+
};
|
|
943
954
|
class Evs extends EvsClient {
|
|
944
955
|
}
|
|
945
|
-
smithyClient.createAggregatedClient(commands, Evs);
|
|
946
|
-
|
|
947
|
-
const paginateListEnvironmentHosts = core.createPaginator(EvsClient, ListEnvironmentHostsCommand, "nextToken", "nextToken", "maxResults");
|
|
948
|
-
|
|
949
|
-
const paginateListEnvironments = core.createPaginator(EvsClient, ListEnvironmentsCommand, "nextToken", "nextToken", "maxResults");
|
|
950
|
-
|
|
951
|
-
const paginateListEnvironmentVlans = core.createPaginator(EvsClient, ListEnvironmentVlansCommand, "nextToken", "nextToken", "maxResults");
|
|
956
|
+
smithyClient.createAggregatedClient(commands, Evs, { paginators });
|
|
952
957
|
|
|
953
958
|
const VlanState = {
|
|
954
959
|
CREATED: "CREATED",
|
package/dist-es/Evs.js
CHANGED
|
@@ -14,6 +14,9 @@ import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceComma
|
|
|
14
14
|
import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
15
15
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
16
16
|
import { EvsClient } from "./EvsClient";
|
|
17
|
+
import { paginateListEnvironmentHosts } from "./pagination/ListEnvironmentHostsPaginator";
|
|
18
|
+
import { paginateListEnvironments } from "./pagination/ListEnvironmentsPaginator";
|
|
19
|
+
import { paginateListEnvironmentVlans } from "./pagination/ListEnvironmentVlansPaginator";
|
|
17
20
|
const commands = {
|
|
18
21
|
AssociateEipToVlanCommand,
|
|
19
22
|
CreateEnvironmentCommand,
|
|
@@ -30,6 +33,11 @@ const commands = {
|
|
|
30
33
|
TagResourceCommand,
|
|
31
34
|
UntagResourceCommand,
|
|
32
35
|
};
|
|
36
|
+
const paginators = {
|
|
37
|
+
paginateListEnvironmentHosts,
|
|
38
|
+
paginateListEnvironments,
|
|
39
|
+
paginateListEnvironmentVlans,
|
|
40
|
+
};
|
|
33
41
|
export class Evs extends EvsClient {
|
|
34
42
|
}
|
|
35
|
-
createAggregatedClient(commands, Evs);
|
|
43
|
+
createAggregatedClient(commands, Evs, { paginators });
|
package/dist-types/Evs.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
1
|
+
import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator } from "@smithy/types";
|
|
2
2
|
import { AssociateEipToVlanCommandInput, AssociateEipToVlanCommandOutput } from "./commands/AssociateEipToVlanCommand";
|
|
3
3
|
import { CreateEnvironmentCommandInput, CreateEnvironmentCommandOutput } from "./commands/CreateEnvironmentCommand";
|
|
4
4
|
import { CreateEnvironmentHostCommandInput, CreateEnvironmentHostCommandOutput } from "./commands/CreateEnvironmentHostCommand";
|
|
@@ -101,6 +101,27 @@ export interface Evs {
|
|
|
101
101
|
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
102
102
|
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
103
103
|
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
104
|
+
/**
|
|
105
|
+
* @see {@link ListEnvironmentHostsCommand}
|
|
106
|
+
* @param args - command input.
|
|
107
|
+
* @param paginationConfig - optional pagination config.
|
|
108
|
+
* @returns AsyncIterable of {@link ListEnvironmentHostsCommandOutput}.
|
|
109
|
+
*/
|
|
110
|
+
paginateListEnvironmentHosts(args: ListEnvironmentHostsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListEnvironmentHostsCommandOutput>;
|
|
111
|
+
/**
|
|
112
|
+
* @see {@link ListEnvironmentsCommand}
|
|
113
|
+
* @param args - command input.
|
|
114
|
+
* @param paginationConfig - optional pagination config.
|
|
115
|
+
* @returns AsyncIterable of {@link ListEnvironmentsCommandOutput}.
|
|
116
|
+
*/
|
|
117
|
+
paginateListEnvironments(args?: ListEnvironmentsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListEnvironmentsCommandOutput>;
|
|
118
|
+
/**
|
|
119
|
+
* @see {@link ListEnvironmentVlansCommand}
|
|
120
|
+
* @param args - command input.
|
|
121
|
+
* @param paginationConfig - optional pagination config.
|
|
122
|
+
* @returns AsyncIterable of {@link ListEnvironmentVlansCommandOutput}.
|
|
123
|
+
*/
|
|
124
|
+
paginateListEnvironmentVlans(args: ListEnvironmentVlansCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListEnvironmentVlansCommandOutput>;
|
|
104
125
|
}
|
|
105
126
|
/**
|
|
106
127
|
* <p>Amazon Elastic VMware Service (Amazon EVS) is a service that you can use to deploy a VMware Cloud Foundation (VCF) software environment directly on EC2 bare metal instances within an Amazon Virtual Private Cloud (VPC).</p> <p>Workloads running on Amazon EVS are fully compatible with workloads running on any standard VMware vSphere environment. This means that you can migrate any VMware-based workload to Amazon EVS without workload modification.</p>
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
3
|
+
PaginationConfiguration,
|
|
4
|
+
Paginator,
|
|
5
|
+
} from "@smithy/types";
|
|
2
6
|
import {
|
|
3
7
|
AssociateEipToVlanCommandInput,
|
|
4
8
|
AssociateEipToVlanCommandOutput,
|
|
@@ -241,5 +245,26 @@ export interface Evs {
|
|
|
241
245
|
options: __HttpHandlerOptions,
|
|
242
246
|
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
243
247
|
): void;
|
|
248
|
+
paginateListEnvironmentHosts(
|
|
249
|
+
args: ListEnvironmentHostsCommandInput,
|
|
250
|
+
paginationConfig?: Pick<
|
|
251
|
+
PaginationConfiguration,
|
|
252
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
253
|
+
>
|
|
254
|
+
): Paginator<ListEnvironmentHostsCommandOutput>;
|
|
255
|
+
paginateListEnvironments(
|
|
256
|
+
args?: ListEnvironmentsCommandInput,
|
|
257
|
+
paginationConfig?: Pick<
|
|
258
|
+
PaginationConfiguration,
|
|
259
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
260
|
+
>
|
|
261
|
+
): Paginator<ListEnvironmentsCommandOutput>;
|
|
262
|
+
paginateListEnvironmentVlans(
|
|
263
|
+
args: ListEnvironmentVlansCommandInput,
|
|
264
|
+
paginationConfig?: Pick<
|
|
265
|
+
PaginationConfiguration,
|
|
266
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
267
|
+
>
|
|
268
|
+
): Paginator<ListEnvironmentVlansCommandOutput>;
|
|
244
269
|
}
|
|
245
270
|
export declare class Evs extends EvsClient implements Evs {}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-evs",
|
|
3
3
|
"description": "AWS SDK for JavaScript Evs Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.978.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-evs",
|
|
@@ -21,38 +21,38 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
|
-
"@aws-sdk/core": "^3.973.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "^3.972.
|
|
27
|
-
"@aws-sdk/middleware-logger": "^3.972.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "^3.972.
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
30
|
-
"@aws-sdk/region-config-resolver": "^3.972.
|
|
31
|
-
"@aws-sdk/types": "^3.973.
|
|
24
|
+
"@aws-sdk/core": "^3.973.4",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.2",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "^3.972.2",
|
|
27
|
+
"@aws-sdk/middleware-logger": "^3.972.2",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "^3.972.2",
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "^3.972.4",
|
|
30
|
+
"@aws-sdk/region-config-resolver": "^3.972.2",
|
|
31
|
+
"@aws-sdk/types": "^3.973.1",
|
|
32
32
|
"@aws-sdk/util-endpoints": "3.972.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-browser": "^3.972.
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "^3.972.
|
|
33
|
+
"@aws-sdk/util-user-agent-browser": "^3.972.2",
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "^3.972.2",
|
|
35
35
|
"@smithy/config-resolver": "^4.4.6",
|
|
36
|
-
"@smithy/core": "^3.
|
|
36
|
+
"@smithy/core": "^3.22.0",
|
|
37
37
|
"@smithy/fetch-http-handler": "^5.3.9",
|
|
38
38
|
"@smithy/hash-node": "^4.2.8",
|
|
39
39
|
"@smithy/invalid-dependency": "^4.2.8",
|
|
40
40
|
"@smithy/middleware-content-length": "^4.2.8",
|
|
41
|
-
"@smithy/middleware-endpoint": "^4.4.
|
|
42
|
-
"@smithy/middleware-retry": "^4.4.
|
|
41
|
+
"@smithy/middleware-endpoint": "^4.4.12",
|
|
42
|
+
"@smithy/middleware-retry": "^4.4.29",
|
|
43
43
|
"@smithy/middleware-serde": "^4.2.9",
|
|
44
44
|
"@smithy/middleware-stack": "^4.2.8",
|
|
45
45
|
"@smithy/node-config-provider": "^4.3.8",
|
|
46
46
|
"@smithy/node-http-handler": "^4.4.8",
|
|
47
47
|
"@smithy/protocol-http": "^5.3.8",
|
|
48
|
-
"@smithy/smithy-client": "^4.
|
|
48
|
+
"@smithy/smithy-client": "^4.11.1",
|
|
49
49
|
"@smithy/types": "^4.12.0",
|
|
50
50
|
"@smithy/url-parser": "^4.2.8",
|
|
51
51
|
"@smithy/util-base64": "^4.3.0",
|
|
52
52
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
53
53
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^4.3.28",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^4.2.31",
|
|
56
56
|
"@smithy/util-endpoints": "^3.2.8",
|
|
57
57
|
"@smithy/util-middleware": "^4.2.8",
|
|
58
58
|
"@smithy/util-retry": "^4.2.8",
|