@aws-sdk/client-evs 3.1032.0 → 3.1033.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/README.md +49 -0
- package/dist-cjs/endpoint/bdd.js +49 -0
- package/dist-cjs/endpoint/endpointResolver.js +2 -2
- package/dist-cjs/index.js +136 -0
- package/dist-cjs/schemas/schemas_0.js +189 -23
- package/dist-es/Evs.js +18 -0
- package/dist-es/commands/CreateEntitlementCommand.js +16 -0
- package/dist-es/commands/CreateEnvironmentConnectorCommand.js +16 -0
- package/dist-es/commands/DeleteEntitlementCommand.js +16 -0
- package/dist-es/commands/DeleteEnvironmentConnectorCommand.js +16 -0
- package/dist-es/commands/ListEnvironmentConnectorsCommand.js +16 -0
- package/dist-es/commands/ListVmEntitlementsCommand.js +16 -0
- package/dist-es/commands/UpdateEnvironmentConnectorCommand.js +16 -0
- package/dist-es/commands/index.js +7 -0
- package/dist-es/endpoint/bdd.js +46 -0
- package/dist-es/endpoint/endpointResolver.js +3 -3
- package/dist-es/models/enums.js +26 -0
- package/dist-es/pagination/ListEnvironmentConnectorsPaginator.js +4 -0
- package/dist-es/pagination/ListVmEntitlementsPaginator.js +4 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/schemas/schemas_0.js +187 -21
- package/dist-types/Evs.d.ts +63 -0
- package/dist-types/EvsClient.d.ts +9 -2
- package/dist-types/commands/CreateEntitlementCommand.d.ts +105 -0
- package/dist-types/commands/CreateEnvironmentCommand.d.ts +1 -1
- package/dist-types/commands/CreateEnvironmentConnectorCommand.d.ts +106 -0
- package/dist-types/commands/DeleteEntitlementCommand.d.ts +105 -0
- package/dist-types/commands/DeleteEnvironmentCommand.d.ts +1 -1
- package/dist-types/commands/DeleteEnvironmentConnectorCommand.d.ts +114 -0
- package/dist-types/commands/GetEnvironmentCommand.d.ts +1 -1
- package/dist-types/commands/ListEnvironmentConnectorsCommand.d.ts +104 -0
- package/dist-types/commands/ListVmEntitlementsCommand.d.ts +101 -0
- package/dist-types/commands/UpdateEnvironmentConnectorCommand.d.ts +106 -0
- package/dist-types/commands/index.d.ts +7 -0
- package/dist-types/endpoint/bdd.d.ts +2 -0
- package/dist-types/models/enums.d.ts +58 -0
- package/dist-types/models/models_0.d.ts +435 -1
- package/dist-types/pagination/ListEnvironmentConnectorsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListVmEntitlementsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/schemas/schemas_0.d.ts +25 -0
- package/dist-types/ts3.4/Evs.d.ts +133 -0
- package/dist-types/ts3.4/EvsClient.d.ts +44 -2
- package/dist-types/ts3.4/commands/CreateEntitlementCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateEnvironmentConnectorCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteEntitlementCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteEnvironmentConnectorCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListEnvironmentConnectorsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListVmEntitlementsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateEnvironmentConnectorCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +7 -0
- package/dist-types/ts3.4/endpoint/bdd.d.ts +2 -0
- package/dist-types/ts3.4/models/enums.d.ts +33 -0
- package/dist-types/ts3.4/models/models_0.d.ts +108 -0
- package/dist-types/ts3.4/pagination/ListEnvironmentConnectorsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListVmEntitlementsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +25 -0
- package/package.json +5 -5
- package/dist-cjs/endpoint/ruleset.js +0 -7
- package/dist-es/endpoint/ruleset.js +0 -4
- package/dist-types/endpoint/ruleset.d.ts +0 -2
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +0 -2
package/dist-types/Evs.d.ts
CHANGED
|
@@ -1,18 +1,25 @@
|
|
|
1
1
|
import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator } from "@smithy/types";
|
|
2
2
|
import { type AssociateEipToVlanCommandInput, type AssociateEipToVlanCommandOutput } from "./commands/AssociateEipToVlanCommand";
|
|
3
|
+
import { type CreateEntitlementCommandInput, type CreateEntitlementCommandOutput } from "./commands/CreateEntitlementCommand";
|
|
3
4
|
import { type CreateEnvironmentCommandInput, type CreateEnvironmentCommandOutput } from "./commands/CreateEnvironmentCommand";
|
|
5
|
+
import { type CreateEnvironmentConnectorCommandInput, type CreateEnvironmentConnectorCommandOutput } from "./commands/CreateEnvironmentConnectorCommand";
|
|
4
6
|
import { type CreateEnvironmentHostCommandInput, type CreateEnvironmentHostCommandOutput } from "./commands/CreateEnvironmentHostCommand";
|
|
7
|
+
import { type DeleteEntitlementCommandInput, type DeleteEntitlementCommandOutput } from "./commands/DeleteEntitlementCommand";
|
|
5
8
|
import { type DeleteEnvironmentCommandInput, type DeleteEnvironmentCommandOutput } from "./commands/DeleteEnvironmentCommand";
|
|
9
|
+
import { type DeleteEnvironmentConnectorCommandInput, type DeleteEnvironmentConnectorCommandOutput } from "./commands/DeleteEnvironmentConnectorCommand";
|
|
6
10
|
import { type DeleteEnvironmentHostCommandInput, type DeleteEnvironmentHostCommandOutput } from "./commands/DeleteEnvironmentHostCommand";
|
|
7
11
|
import { type DisassociateEipFromVlanCommandInput, type DisassociateEipFromVlanCommandOutput } from "./commands/DisassociateEipFromVlanCommand";
|
|
8
12
|
import { type GetEnvironmentCommandInput, type GetEnvironmentCommandOutput } from "./commands/GetEnvironmentCommand";
|
|
9
13
|
import { type GetVersionsCommandInput, type GetVersionsCommandOutput } from "./commands/GetVersionsCommand";
|
|
14
|
+
import { type ListEnvironmentConnectorsCommandInput, type ListEnvironmentConnectorsCommandOutput } from "./commands/ListEnvironmentConnectorsCommand";
|
|
10
15
|
import { type ListEnvironmentHostsCommandInput, type ListEnvironmentHostsCommandOutput } from "./commands/ListEnvironmentHostsCommand";
|
|
11
16
|
import { type ListEnvironmentsCommandInput, type ListEnvironmentsCommandOutput } from "./commands/ListEnvironmentsCommand";
|
|
12
17
|
import { type ListEnvironmentVlansCommandInput, type ListEnvironmentVlansCommandOutput } from "./commands/ListEnvironmentVlansCommand";
|
|
13
18
|
import { type ListTagsForResourceCommandInput, type ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
19
|
+
import { type ListVmEntitlementsCommandInput, type ListVmEntitlementsCommandOutput } from "./commands/ListVmEntitlementsCommand";
|
|
14
20
|
import { type TagResourceCommandInput, type TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
15
21
|
import { type UntagResourceCommandInput, type UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
22
|
+
import { type UpdateEnvironmentConnectorCommandInput, type UpdateEnvironmentConnectorCommandOutput } from "./commands/UpdateEnvironmentConnectorCommand";
|
|
16
23
|
import { EvsClient } from "./EvsClient";
|
|
17
24
|
export interface Evs {
|
|
18
25
|
/**
|
|
@@ -21,24 +28,48 @@ export interface Evs {
|
|
|
21
28
|
associateEipToVlan(args: AssociateEipToVlanCommandInput, options?: __HttpHandlerOptions): Promise<AssociateEipToVlanCommandOutput>;
|
|
22
29
|
associateEipToVlan(args: AssociateEipToVlanCommandInput, cb: (err: any, data?: AssociateEipToVlanCommandOutput) => void): void;
|
|
23
30
|
associateEipToVlan(args: AssociateEipToVlanCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssociateEipToVlanCommandOutput) => void): void;
|
|
31
|
+
/**
|
|
32
|
+
* @see {@link CreateEntitlementCommand}
|
|
33
|
+
*/
|
|
34
|
+
createEntitlement(args: CreateEntitlementCommandInput, options?: __HttpHandlerOptions): Promise<CreateEntitlementCommandOutput>;
|
|
35
|
+
createEntitlement(args: CreateEntitlementCommandInput, cb: (err: any, data?: CreateEntitlementCommandOutput) => void): void;
|
|
36
|
+
createEntitlement(args: CreateEntitlementCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateEntitlementCommandOutput) => void): void;
|
|
24
37
|
/**
|
|
25
38
|
* @see {@link CreateEnvironmentCommand}
|
|
26
39
|
*/
|
|
27
40
|
createEnvironment(args: CreateEnvironmentCommandInput, options?: __HttpHandlerOptions): Promise<CreateEnvironmentCommandOutput>;
|
|
28
41
|
createEnvironment(args: CreateEnvironmentCommandInput, cb: (err: any, data?: CreateEnvironmentCommandOutput) => void): void;
|
|
29
42
|
createEnvironment(args: CreateEnvironmentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateEnvironmentCommandOutput) => void): void;
|
|
43
|
+
/**
|
|
44
|
+
* @see {@link CreateEnvironmentConnectorCommand}
|
|
45
|
+
*/
|
|
46
|
+
createEnvironmentConnector(args: CreateEnvironmentConnectorCommandInput, options?: __HttpHandlerOptions): Promise<CreateEnvironmentConnectorCommandOutput>;
|
|
47
|
+
createEnvironmentConnector(args: CreateEnvironmentConnectorCommandInput, cb: (err: any, data?: CreateEnvironmentConnectorCommandOutput) => void): void;
|
|
48
|
+
createEnvironmentConnector(args: CreateEnvironmentConnectorCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateEnvironmentConnectorCommandOutput) => void): void;
|
|
30
49
|
/**
|
|
31
50
|
* @see {@link CreateEnvironmentHostCommand}
|
|
32
51
|
*/
|
|
33
52
|
createEnvironmentHost(args: CreateEnvironmentHostCommandInput, options?: __HttpHandlerOptions): Promise<CreateEnvironmentHostCommandOutput>;
|
|
34
53
|
createEnvironmentHost(args: CreateEnvironmentHostCommandInput, cb: (err: any, data?: CreateEnvironmentHostCommandOutput) => void): void;
|
|
35
54
|
createEnvironmentHost(args: CreateEnvironmentHostCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateEnvironmentHostCommandOutput) => void): void;
|
|
55
|
+
/**
|
|
56
|
+
* @see {@link DeleteEntitlementCommand}
|
|
57
|
+
*/
|
|
58
|
+
deleteEntitlement(args: DeleteEntitlementCommandInput, options?: __HttpHandlerOptions): Promise<DeleteEntitlementCommandOutput>;
|
|
59
|
+
deleteEntitlement(args: DeleteEntitlementCommandInput, cb: (err: any, data?: DeleteEntitlementCommandOutput) => void): void;
|
|
60
|
+
deleteEntitlement(args: DeleteEntitlementCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteEntitlementCommandOutput) => void): void;
|
|
36
61
|
/**
|
|
37
62
|
* @see {@link DeleteEnvironmentCommand}
|
|
38
63
|
*/
|
|
39
64
|
deleteEnvironment(args: DeleteEnvironmentCommandInput, options?: __HttpHandlerOptions): Promise<DeleteEnvironmentCommandOutput>;
|
|
40
65
|
deleteEnvironment(args: DeleteEnvironmentCommandInput, cb: (err: any, data?: DeleteEnvironmentCommandOutput) => void): void;
|
|
41
66
|
deleteEnvironment(args: DeleteEnvironmentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteEnvironmentCommandOutput) => void): void;
|
|
67
|
+
/**
|
|
68
|
+
* @see {@link DeleteEnvironmentConnectorCommand}
|
|
69
|
+
*/
|
|
70
|
+
deleteEnvironmentConnector(args: DeleteEnvironmentConnectorCommandInput, options?: __HttpHandlerOptions): Promise<DeleteEnvironmentConnectorCommandOutput>;
|
|
71
|
+
deleteEnvironmentConnector(args: DeleteEnvironmentConnectorCommandInput, cb: (err: any, data?: DeleteEnvironmentConnectorCommandOutput) => void): void;
|
|
72
|
+
deleteEnvironmentConnector(args: DeleteEnvironmentConnectorCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteEnvironmentConnectorCommandOutput) => void): void;
|
|
42
73
|
/**
|
|
43
74
|
* @see {@link DeleteEnvironmentHostCommand}
|
|
44
75
|
*/
|
|
@@ -64,6 +95,12 @@ export interface Evs {
|
|
|
64
95
|
getVersions(args: GetVersionsCommandInput, options?: __HttpHandlerOptions): Promise<GetVersionsCommandOutput>;
|
|
65
96
|
getVersions(args: GetVersionsCommandInput, cb: (err: any, data?: GetVersionsCommandOutput) => void): void;
|
|
66
97
|
getVersions(args: GetVersionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetVersionsCommandOutput) => void): void;
|
|
98
|
+
/**
|
|
99
|
+
* @see {@link ListEnvironmentConnectorsCommand}
|
|
100
|
+
*/
|
|
101
|
+
listEnvironmentConnectors(args: ListEnvironmentConnectorsCommandInput, options?: __HttpHandlerOptions): Promise<ListEnvironmentConnectorsCommandOutput>;
|
|
102
|
+
listEnvironmentConnectors(args: ListEnvironmentConnectorsCommandInput, cb: (err: any, data?: ListEnvironmentConnectorsCommandOutput) => void): void;
|
|
103
|
+
listEnvironmentConnectors(args: ListEnvironmentConnectorsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListEnvironmentConnectorsCommandOutput) => void): void;
|
|
67
104
|
/**
|
|
68
105
|
* @see {@link ListEnvironmentHostsCommand}
|
|
69
106
|
*/
|
|
@@ -89,6 +126,12 @@ export interface Evs {
|
|
|
89
126
|
listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
|
|
90
127
|
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
91
128
|
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
129
|
+
/**
|
|
130
|
+
* @see {@link ListVmEntitlementsCommand}
|
|
131
|
+
*/
|
|
132
|
+
listVmEntitlements(args: ListVmEntitlementsCommandInput, options?: __HttpHandlerOptions): Promise<ListVmEntitlementsCommandOutput>;
|
|
133
|
+
listVmEntitlements(args: ListVmEntitlementsCommandInput, cb: (err: any, data?: ListVmEntitlementsCommandOutput) => void): void;
|
|
134
|
+
listVmEntitlements(args: ListVmEntitlementsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListVmEntitlementsCommandOutput) => void): void;
|
|
92
135
|
/**
|
|
93
136
|
* @see {@link TagResourceCommand}
|
|
94
137
|
*/
|
|
@@ -101,6 +144,19 @@ export interface Evs {
|
|
|
101
144
|
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
102
145
|
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
103
146
|
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
147
|
+
/**
|
|
148
|
+
* @see {@link UpdateEnvironmentConnectorCommand}
|
|
149
|
+
*/
|
|
150
|
+
updateEnvironmentConnector(args: UpdateEnvironmentConnectorCommandInput, options?: __HttpHandlerOptions): Promise<UpdateEnvironmentConnectorCommandOutput>;
|
|
151
|
+
updateEnvironmentConnector(args: UpdateEnvironmentConnectorCommandInput, cb: (err: any, data?: UpdateEnvironmentConnectorCommandOutput) => void): void;
|
|
152
|
+
updateEnvironmentConnector(args: UpdateEnvironmentConnectorCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateEnvironmentConnectorCommandOutput) => void): void;
|
|
153
|
+
/**
|
|
154
|
+
* @see {@link ListEnvironmentConnectorsCommand}
|
|
155
|
+
* @param args - command input.
|
|
156
|
+
* @param paginationConfig - optional pagination config.
|
|
157
|
+
* @returns AsyncIterable of {@link ListEnvironmentConnectorsCommandOutput}.
|
|
158
|
+
*/
|
|
159
|
+
paginateListEnvironmentConnectors(args: ListEnvironmentConnectorsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListEnvironmentConnectorsCommandOutput>;
|
|
104
160
|
/**
|
|
105
161
|
* @see {@link ListEnvironmentHostsCommand}
|
|
106
162
|
* @param args - command input.
|
|
@@ -122,6 +178,13 @@ export interface Evs {
|
|
|
122
178
|
* @returns AsyncIterable of {@link ListEnvironmentVlansCommandOutput}.
|
|
123
179
|
*/
|
|
124
180
|
paginateListEnvironmentVlans(args: ListEnvironmentVlansCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListEnvironmentVlansCommandOutput>;
|
|
181
|
+
/**
|
|
182
|
+
* @see {@link ListVmEntitlementsCommand}
|
|
183
|
+
* @param args - command input.
|
|
184
|
+
* @param paginationConfig - optional pagination config.
|
|
185
|
+
* @returns AsyncIterable of {@link ListVmEntitlementsCommandOutput}.
|
|
186
|
+
*/
|
|
187
|
+
paginateListVmEntitlements(args: ListVmEntitlementsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListVmEntitlementsCommandOutput>;
|
|
125
188
|
}
|
|
126
189
|
/**
|
|
127
190
|
* <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>
|
|
@@ -8,30 +8,37 @@ import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __Smit
|
|
|
8
8
|
import type { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
|
|
9
9
|
import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
10
10
|
import type { AssociateEipToVlanCommandInput, AssociateEipToVlanCommandOutput } from "./commands/AssociateEipToVlanCommand";
|
|
11
|
+
import type { CreateEntitlementCommandInput, CreateEntitlementCommandOutput } from "./commands/CreateEntitlementCommand";
|
|
11
12
|
import type { CreateEnvironmentCommandInput, CreateEnvironmentCommandOutput } from "./commands/CreateEnvironmentCommand";
|
|
13
|
+
import type { CreateEnvironmentConnectorCommandInput, CreateEnvironmentConnectorCommandOutput } from "./commands/CreateEnvironmentConnectorCommand";
|
|
12
14
|
import type { CreateEnvironmentHostCommandInput, CreateEnvironmentHostCommandOutput } from "./commands/CreateEnvironmentHostCommand";
|
|
15
|
+
import type { DeleteEntitlementCommandInput, DeleteEntitlementCommandOutput } from "./commands/DeleteEntitlementCommand";
|
|
13
16
|
import type { DeleteEnvironmentCommandInput, DeleteEnvironmentCommandOutput } from "./commands/DeleteEnvironmentCommand";
|
|
17
|
+
import type { DeleteEnvironmentConnectorCommandInput, DeleteEnvironmentConnectorCommandOutput } from "./commands/DeleteEnvironmentConnectorCommand";
|
|
14
18
|
import type { DeleteEnvironmentHostCommandInput, DeleteEnvironmentHostCommandOutput } from "./commands/DeleteEnvironmentHostCommand";
|
|
15
19
|
import type { DisassociateEipFromVlanCommandInput, DisassociateEipFromVlanCommandOutput } from "./commands/DisassociateEipFromVlanCommand";
|
|
16
20
|
import type { GetEnvironmentCommandInput, GetEnvironmentCommandOutput } from "./commands/GetEnvironmentCommand";
|
|
17
21
|
import type { GetVersionsCommandInput, GetVersionsCommandOutput } from "./commands/GetVersionsCommand";
|
|
22
|
+
import type { ListEnvironmentConnectorsCommandInput, ListEnvironmentConnectorsCommandOutput } from "./commands/ListEnvironmentConnectorsCommand";
|
|
18
23
|
import type { ListEnvironmentHostsCommandInput, ListEnvironmentHostsCommandOutput } from "./commands/ListEnvironmentHostsCommand";
|
|
19
24
|
import type { ListEnvironmentsCommandInput, ListEnvironmentsCommandOutput } from "./commands/ListEnvironmentsCommand";
|
|
20
25
|
import type { ListEnvironmentVlansCommandInput, ListEnvironmentVlansCommandOutput } from "./commands/ListEnvironmentVlansCommand";
|
|
21
26
|
import type { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
27
|
+
import type { ListVmEntitlementsCommandInput, ListVmEntitlementsCommandOutput } from "./commands/ListVmEntitlementsCommand";
|
|
22
28
|
import type { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
23
29
|
import type { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
30
|
+
import type { UpdateEnvironmentConnectorCommandInput, UpdateEnvironmentConnectorCommandOutput } from "./commands/UpdateEnvironmentConnectorCommand";
|
|
24
31
|
import { type ClientInputEndpointParameters, type ClientResolvedEndpointParameters, type EndpointParameters } from "./endpoint/EndpointParameters";
|
|
25
32
|
import { type RuntimeExtension, type RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
26
33
|
export { __Client };
|
|
27
34
|
/**
|
|
28
35
|
* @public
|
|
29
36
|
*/
|
|
30
|
-
export type ServiceInputTypes = AssociateEipToVlanCommandInput | CreateEnvironmentCommandInput | CreateEnvironmentHostCommandInput | DeleteEnvironmentCommandInput | DeleteEnvironmentHostCommandInput | DisassociateEipFromVlanCommandInput | GetEnvironmentCommandInput | GetVersionsCommandInput | ListEnvironmentHostsCommandInput | ListEnvironmentVlansCommandInput | ListEnvironmentsCommandInput | ListTagsForResourceCommandInput | TagResourceCommandInput | UntagResourceCommandInput;
|
|
37
|
+
export type ServiceInputTypes = AssociateEipToVlanCommandInput | CreateEntitlementCommandInput | CreateEnvironmentCommandInput | CreateEnvironmentConnectorCommandInput | CreateEnvironmentHostCommandInput | DeleteEntitlementCommandInput | DeleteEnvironmentCommandInput | DeleteEnvironmentConnectorCommandInput | DeleteEnvironmentHostCommandInput | DisassociateEipFromVlanCommandInput | GetEnvironmentCommandInput | GetVersionsCommandInput | ListEnvironmentConnectorsCommandInput | ListEnvironmentHostsCommandInput | ListEnvironmentVlansCommandInput | ListEnvironmentsCommandInput | ListTagsForResourceCommandInput | ListVmEntitlementsCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateEnvironmentConnectorCommandInput;
|
|
31
38
|
/**
|
|
32
39
|
* @public
|
|
33
40
|
*/
|
|
34
|
-
export type ServiceOutputTypes = AssociateEipToVlanCommandOutput | CreateEnvironmentCommandOutput | CreateEnvironmentHostCommandOutput | DeleteEnvironmentCommandOutput | DeleteEnvironmentHostCommandOutput | DisassociateEipFromVlanCommandOutput | GetEnvironmentCommandOutput | GetVersionsCommandOutput | ListEnvironmentHostsCommandOutput | ListEnvironmentVlansCommandOutput | ListEnvironmentsCommandOutput | ListTagsForResourceCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput;
|
|
41
|
+
export type ServiceOutputTypes = AssociateEipToVlanCommandOutput | CreateEntitlementCommandOutput | CreateEnvironmentCommandOutput | CreateEnvironmentConnectorCommandOutput | CreateEnvironmentHostCommandOutput | DeleteEntitlementCommandOutput | DeleteEnvironmentCommandOutput | DeleteEnvironmentConnectorCommandOutput | DeleteEnvironmentHostCommandOutput | DisassociateEipFromVlanCommandOutput | GetEnvironmentCommandOutput | GetVersionsCommandOutput | ListEnvironmentConnectorsCommandOutput | ListEnvironmentHostsCommandOutput | ListEnvironmentVlansCommandOutput | ListEnvironmentsCommandOutput | ListTagsForResourceCommandOutput | ListVmEntitlementsCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateEnvironmentConnectorCommandOutput;
|
|
35
42
|
/**
|
|
36
43
|
* @public
|
|
37
44
|
*/
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { EvsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EvsClient";
|
|
4
|
+
import type { CreateEntitlementRequest, CreateEntitlementResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link CreateEntitlementCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateEntitlementCommandInput extends CreateEntitlementRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateEntitlementCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateEntitlementCommandOutput extends CreateEntitlementResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const CreateEntitlementCommand_base: {
|
|
25
|
+
new (input: CreateEntitlementCommandInput): import("@smithy/smithy-client").CommandImpl<CreateEntitlementCommandInput, CreateEntitlementCommandOutput, EvsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: CreateEntitlementCommandInput): import("@smithy/smithy-client").CommandImpl<CreateEntitlementCommandInput, CreateEntitlementCommandOutput, EvsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Creates a Windows Server License entitlement for virtual machines in an Amazon EVS environment using the provided vCenter Server connector. This is an asynchronous operation. Amazon EVS validates the specified virtual machines before starting usage tracking.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { EvsClient, CreateEntitlementCommand } from "@aws-sdk/client-evs"; // ES Modules import
|
|
35
|
+
* // const { EvsClient, CreateEntitlementCommand } = require("@aws-sdk/client-evs"); // CommonJS import
|
|
36
|
+
* // import type { EvsClientConfig } from "@aws-sdk/client-evs";
|
|
37
|
+
* const config = {}; // type is EvsClientConfig
|
|
38
|
+
* const client = new EvsClient(config);
|
|
39
|
+
* const input = { // CreateEntitlementRequest
|
|
40
|
+
* clientToken: "STRING_VALUE",
|
|
41
|
+
* environmentId: "STRING_VALUE", // required
|
|
42
|
+
* connectorId: "STRING_VALUE", // required
|
|
43
|
+
* entitlementType: "WINDOWS_SERVER", // required
|
|
44
|
+
* vmIds: [ // VmIdList // required
|
|
45
|
+
* "STRING_VALUE",
|
|
46
|
+
* ],
|
|
47
|
+
* };
|
|
48
|
+
* const command = new CreateEntitlementCommand(input);
|
|
49
|
+
* const response = await client.send(command);
|
|
50
|
+
* // { // CreateEntitlementResponse
|
|
51
|
+
* // entitlements: [ // VmEntitlementList
|
|
52
|
+
* // { // VmEntitlement
|
|
53
|
+
* // vmId: "STRING_VALUE",
|
|
54
|
+
* // environmentId: "STRING_VALUE",
|
|
55
|
+
* // connectorId: "STRING_VALUE",
|
|
56
|
+
* // vmName: "STRING_VALUE",
|
|
57
|
+
* // type: "WINDOWS_SERVER",
|
|
58
|
+
* // status: "CREATING" || "CREATED" || "DELETED" || "AT_RISK" || "ENTITLEMENT_REMOVED" || "CREATE_FAILED",
|
|
59
|
+
* // lastSyncedAt: new Date("TIMESTAMP"),
|
|
60
|
+
* // startedAt: new Date("TIMESTAMP"),
|
|
61
|
+
* // stoppedAt: new Date("TIMESTAMP"),
|
|
62
|
+
* // errorDetail: { // ErrorDetail
|
|
63
|
+
* // errorCode: "STRING_VALUE", // required
|
|
64
|
+
* // errorMessage: "STRING_VALUE", // required
|
|
65
|
+
* // },
|
|
66
|
+
* // },
|
|
67
|
+
* // ],
|
|
68
|
+
* // };
|
|
69
|
+
*
|
|
70
|
+
* ```
|
|
71
|
+
*
|
|
72
|
+
* @param CreateEntitlementCommandInput - {@link CreateEntitlementCommandInput}
|
|
73
|
+
* @returns {@link CreateEntitlementCommandOutput}
|
|
74
|
+
* @see {@link CreateEntitlementCommandInput} for command's `input` shape.
|
|
75
|
+
* @see {@link CreateEntitlementCommandOutput} for command's `response` shape.
|
|
76
|
+
* @see {@link EvsClientResolvedConfig | config} for EvsClient's `config` shape.
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
79
|
+
* <p>A service resource associated with the request could not be found. The resource might not be specified correctly, or it may have a <code>state</code> of <code>DELETED</code>.</p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
82
|
+
* <p>The operation could not be performed because the service is throttling requests. This exception is thrown when the service endpoint receives too many concurrent requests.</p>
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link ValidationException} (client fault)
|
|
85
|
+
* <p>The input fails to satisfy the specified constraints. You will see this exception if invalid inputs are provided for any of the Amazon EVS environment operations, or if a list operation is performed on an environment resource that is still initializing.</p>
|
|
86
|
+
*
|
|
87
|
+
* @throws {@link EvsServiceException}
|
|
88
|
+
* <p>Base exception class for all service exceptions from Evs service.</p>
|
|
89
|
+
*
|
|
90
|
+
*
|
|
91
|
+
* @public
|
|
92
|
+
*/
|
|
93
|
+
export declare class CreateEntitlementCommand extends CreateEntitlementCommand_base {
|
|
94
|
+
/** @internal type navigation helper, not in runtime. */
|
|
95
|
+
protected static __types: {
|
|
96
|
+
api: {
|
|
97
|
+
input: CreateEntitlementRequest;
|
|
98
|
+
output: CreateEntitlementResponse;
|
|
99
|
+
};
|
|
100
|
+
sdk: {
|
|
101
|
+
input: CreateEntitlementCommandInput;
|
|
102
|
+
output: CreateEntitlementCommandOutput;
|
|
103
|
+
};
|
|
104
|
+
};
|
|
105
|
+
}
|
|
@@ -134,7 +134,7 @@ declare const CreateEnvironmentCommand_base: {
|
|
|
134
134
|
* // environmentStatus: "PASSED" || "FAILED" || "UNKNOWN",
|
|
135
135
|
* // checks: [ // ChecksList
|
|
136
136
|
* // { // Check
|
|
137
|
-
* // type: "KEY_REUSE" || "KEY_COVERAGE" || "REACHABILITY" || "HOST_COUNT",
|
|
137
|
+
* // type: "KEY_REUSE" || "KEY_COVERAGE" || "REACHABILITY" || "HOST_COUNT" || "VCENTER_REACHABILITY" || "VCENTER_VM_SYNC" || "VCENTER_VM_EVENT",
|
|
138
138
|
* // result: "PASSED" || "FAILED" || "UNKNOWN",
|
|
139
139
|
* // impairedSince: new Date("TIMESTAMP"),
|
|
140
140
|
* // },
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { EvsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EvsClient";
|
|
4
|
+
import type { CreateEnvironmentConnectorRequest, CreateEnvironmentConnectorResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link CreateEnvironmentConnectorCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateEnvironmentConnectorCommandInput extends CreateEnvironmentConnectorRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateEnvironmentConnectorCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateEnvironmentConnectorCommandOutput extends CreateEnvironmentConnectorResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const CreateEnvironmentConnectorCommand_base: {
|
|
25
|
+
new (input: CreateEnvironmentConnectorCommandInput): import("@smithy/smithy-client").CommandImpl<CreateEnvironmentConnectorCommandInput, CreateEnvironmentConnectorCommandOutput, EvsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: CreateEnvironmentConnectorCommandInput): import("@smithy/smithy-client").CommandImpl<CreateEnvironmentConnectorCommandInput, CreateEnvironmentConnectorCommandOutput, EvsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Creates a connector for an Amazon EVS environment. A connector establishes a connection to a VCF appliance, such as vCenter, using a fully qualified domain name and an Amazon Web Services Secrets Manager secret that stores the appliance credentials.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { EvsClient, CreateEnvironmentConnectorCommand } from "@aws-sdk/client-evs"; // ES Modules import
|
|
35
|
+
* // const { EvsClient, CreateEnvironmentConnectorCommand } = require("@aws-sdk/client-evs"); // CommonJS import
|
|
36
|
+
* // import type { EvsClientConfig } from "@aws-sdk/client-evs";
|
|
37
|
+
* const config = {}; // type is EvsClientConfig
|
|
38
|
+
* const client = new EvsClient(config);
|
|
39
|
+
* const input = { // CreateEnvironmentConnectorRequest
|
|
40
|
+
* clientToken: "STRING_VALUE",
|
|
41
|
+
* environmentId: "STRING_VALUE", // required
|
|
42
|
+
* type: "VCENTER", // required
|
|
43
|
+
* applianceFqdn: "STRING_VALUE", // required
|
|
44
|
+
* secretIdentifier: "STRING_VALUE", // required
|
|
45
|
+
* };
|
|
46
|
+
* const command = new CreateEnvironmentConnectorCommand(input);
|
|
47
|
+
* const response = await client.send(command);
|
|
48
|
+
* // { // CreateEnvironmentConnectorResponse
|
|
49
|
+
* // connector: { // Connector
|
|
50
|
+
* // environmentId: "STRING_VALUE",
|
|
51
|
+
* // connectorId: "STRING_VALUE",
|
|
52
|
+
* // type: "VCENTER",
|
|
53
|
+
* // applianceFqdn: "STRING_VALUE",
|
|
54
|
+
* // secretArn: "STRING_VALUE",
|
|
55
|
+
* // state: "CREATING" || "CREATE_FAILED" || "ACTIVE" || "UPDATING" || "UPDATE_FAILED" || "DELETING" || "DELETED",
|
|
56
|
+
* // stateDetails: "STRING_VALUE",
|
|
57
|
+
* // status: "PASSED" || "FAILED" || "UNKNOWN",
|
|
58
|
+
* // checks: [ // ConnectorsChecksList
|
|
59
|
+
* // { // ConnectorCheck
|
|
60
|
+
* // type: "KEY_REUSE" || "KEY_COVERAGE" || "REACHABILITY" || "HOST_COUNT" || "VCENTER_REACHABILITY" || "VCENTER_VM_SYNC" || "VCENTER_VM_EVENT",
|
|
61
|
+
* // result: "PASSED" || "FAILED" || "UNKNOWN",
|
|
62
|
+
* // lastCheckAttempt: new Date("TIMESTAMP"),
|
|
63
|
+
* // impairedSince: new Date("TIMESTAMP"),
|
|
64
|
+
* // },
|
|
65
|
+
* // ],
|
|
66
|
+
* // createdAt: new Date("TIMESTAMP"),
|
|
67
|
+
* // modifiedAt: new Date("TIMESTAMP"),
|
|
68
|
+
* // },
|
|
69
|
+
* // };
|
|
70
|
+
*
|
|
71
|
+
* ```
|
|
72
|
+
*
|
|
73
|
+
* @param CreateEnvironmentConnectorCommandInput - {@link CreateEnvironmentConnectorCommandInput}
|
|
74
|
+
* @returns {@link CreateEnvironmentConnectorCommandOutput}
|
|
75
|
+
* @see {@link CreateEnvironmentConnectorCommandInput} for command's `input` shape.
|
|
76
|
+
* @see {@link CreateEnvironmentConnectorCommandOutput} for command's `response` shape.
|
|
77
|
+
* @see {@link EvsClientResolvedConfig | config} for EvsClient's `config` shape.
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
80
|
+
* <p>A service resource associated with the request could not be found. The resource might not be specified correctly, or it may have a <code>state</code> of <code>DELETED</code>.</p>
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
83
|
+
* <p>The operation could not be performed because the service is throttling requests. This exception is thrown when the service endpoint receives too many concurrent requests.</p>
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link ValidationException} (client fault)
|
|
86
|
+
* <p>The input fails to satisfy the specified constraints. You will see this exception if invalid inputs are provided for any of the Amazon EVS environment operations, or if a list operation is performed on an environment resource that is still initializing.</p>
|
|
87
|
+
*
|
|
88
|
+
* @throws {@link EvsServiceException}
|
|
89
|
+
* <p>Base exception class for all service exceptions from Evs service.</p>
|
|
90
|
+
*
|
|
91
|
+
*
|
|
92
|
+
* @public
|
|
93
|
+
*/
|
|
94
|
+
export declare class CreateEnvironmentConnectorCommand extends CreateEnvironmentConnectorCommand_base {
|
|
95
|
+
/** @internal type navigation helper, not in runtime. */
|
|
96
|
+
protected static __types: {
|
|
97
|
+
api: {
|
|
98
|
+
input: CreateEnvironmentConnectorRequest;
|
|
99
|
+
output: CreateEnvironmentConnectorResponse;
|
|
100
|
+
};
|
|
101
|
+
sdk: {
|
|
102
|
+
input: CreateEnvironmentConnectorCommandInput;
|
|
103
|
+
output: CreateEnvironmentConnectorCommandOutput;
|
|
104
|
+
};
|
|
105
|
+
};
|
|
106
|
+
}
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { EvsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EvsClient";
|
|
4
|
+
import type { DeleteEntitlementRequest, DeleteEntitlementResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DeleteEntitlementCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteEntitlementCommandInput extends DeleteEntitlementRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteEntitlementCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteEntitlementCommandOutput extends DeleteEntitlementResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DeleteEntitlementCommand_base: {
|
|
25
|
+
new (input: DeleteEntitlementCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteEntitlementCommandInput, DeleteEntitlementCommandOutput, EvsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: DeleteEntitlementCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteEntitlementCommandInput, DeleteEntitlementCommandOutput, EvsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Deletes a Windows Server License entitlement for virtual machines in an Amazon EVS environment. Deleting an entitlement stops usage tracking for the specified virtual machines.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { EvsClient, DeleteEntitlementCommand } from "@aws-sdk/client-evs"; // ES Modules import
|
|
35
|
+
* // const { EvsClient, DeleteEntitlementCommand } = require("@aws-sdk/client-evs"); // CommonJS import
|
|
36
|
+
* // import type { EvsClientConfig } from "@aws-sdk/client-evs";
|
|
37
|
+
* const config = {}; // type is EvsClientConfig
|
|
38
|
+
* const client = new EvsClient(config);
|
|
39
|
+
* const input = { // DeleteEntitlementRequest
|
|
40
|
+
* clientToken: "STRING_VALUE",
|
|
41
|
+
* environmentId: "STRING_VALUE", // required
|
|
42
|
+
* connectorId: "STRING_VALUE", // required
|
|
43
|
+
* entitlementType: "WINDOWS_SERVER", // required
|
|
44
|
+
* vmIds: [ // VmIdList // required
|
|
45
|
+
* "STRING_VALUE",
|
|
46
|
+
* ],
|
|
47
|
+
* };
|
|
48
|
+
* const command = new DeleteEntitlementCommand(input);
|
|
49
|
+
* const response = await client.send(command);
|
|
50
|
+
* // { // DeleteEntitlementResponse
|
|
51
|
+
* // entitlements: [ // VmEntitlementList
|
|
52
|
+
* // { // VmEntitlement
|
|
53
|
+
* // vmId: "STRING_VALUE",
|
|
54
|
+
* // environmentId: "STRING_VALUE",
|
|
55
|
+
* // connectorId: "STRING_VALUE",
|
|
56
|
+
* // vmName: "STRING_VALUE",
|
|
57
|
+
* // type: "WINDOWS_SERVER",
|
|
58
|
+
* // status: "CREATING" || "CREATED" || "DELETED" || "AT_RISK" || "ENTITLEMENT_REMOVED" || "CREATE_FAILED",
|
|
59
|
+
* // lastSyncedAt: new Date("TIMESTAMP"),
|
|
60
|
+
* // startedAt: new Date("TIMESTAMP"),
|
|
61
|
+
* // stoppedAt: new Date("TIMESTAMP"),
|
|
62
|
+
* // errorDetail: { // ErrorDetail
|
|
63
|
+
* // errorCode: "STRING_VALUE", // required
|
|
64
|
+
* // errorMessage: "STRING_VALUE", // required
|
|
65
|
+
* // },
|
|
66
|
+
* // },
|
|
67
|
+
* // ],
|
|
68
|
+
* // };
|
|
69
|
+
*
|
|
70
|
+
* ```
|
|
71
|
+
*
|
|
72
|
+
* @param DeleteEntitlementCommandInput - {@link DeleteEntitlementCommandInput}
|
|
73
|
+
* @returns {@link DeleteEntitlementCommandOutput}
|
|
74
|
+
* @see {@link DeleteEntitlementCommandInput} for command's `input` shape.
|
|
75
|
+
* @see {@link DeleteEntitlementCommandOutput} for command's `response` shape.
|
|
76
|
+
* @see {@link EvsClientResolvedConfig | config} for EvsClient's `config` shape.
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
79
|
+
* <p>A service resource associated with the request could not be found. The resource might not be specified correctly, or it may have a <code>state</code> of <code>DELETED</code>.</p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
82
|
+
* <p>The operation could not be performed because the service is throttling requests. This exception is thrown when the service endpoint receives too many concurrent requests.</p>
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link ValidationException} (client fault)
|
|
85
|
+
* <p>The input fails to satisfy the specified constraints. You will see this exception if invalid inputs are provided for any of the Amazon EVS environment operations, or if a list operation is performed on an environment resource that is still initializing.</p>
|
|
86
|
+
*
|
|
87
|
+
* @throws {@link EvsServiceException}
|
|
88
|
+
* <p>Base exception class for all service exceptions from Evs service.</p>
|
|
89
|
+
*
|
|
90
|
+
*
|
|
91
|
+
* @public
|
|
92
|
+
*/
|
|
93
|
+
export declare class DeleteEntitlementCommand extends DeleteEntitlementCommand_base {
|
|
94
|
+
/** @internal type navigation helper, not in runtime. */
|
|
95
|
+
protected static __types: {
|
|
96
|
+
api: {
|
|
97
|
+
input: DeleteEntitlementRequest;
|
|
98
|
+
output: DeleteEntitlementResponse;
|
|
99
|
+
};
|
|
100
|
+
sdk: {
|
|
101
|
+
input: DeleteEntitlementCommandInput;
|
|
102
|
+
output: DeleteEntitlementCommandOutput;
|
|
103
|
+
};
|
|
104
|
+
};
|
|
105
|
+
}
|
|
@@ -65,7 +65,7 @@ declare const DeleteEnvironmentCommand_base: {
|
|
|
65
65
|
* // environmentStatus: "PASSED" || "FAILED" || "UNKNOWN",
|
|
66
66
|
* // checks: [ // ChecksList
|
|
67
67
|
* // { // Check
|
|
68
|
-
* // type: "KEY_REUSE" || "KEY_COVERAGE" || "REACHABILITY" || "HOST_COUNT",
|
|
68
|
+
* // type: "KEY_REUSE" || "KEY_COVERAGE" || "REACHABILITY" || "HOST_COUNT" || "VCENTER_REACHABILITY" || "VCENTER_VM_SYNC" || "VCENTER_VM_EVENT",
|
|
69
69
|
* // result: "PASSED" || "FAILED" || "UNKNOWN",
|
|
70
70
|
* // impairedSince: new Date("TIMESTAMP"),
|
|
71
71
|
* // },
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { EvsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EvsClient";
|
|
4
|
+
import type { DeleteEnvironmentConnectorRequest, DeleteEnvironmentConnectorResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DeleteEnvironmentConnectorCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteEnvironmentConnectorCommandInput extends DeleteEnvironmentConnectorRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteEnvironmentConnectorCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteEnvironmentConnectorCommandOutput extends DeleteEnvironmentConnectorResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DeleteEnvironmentConnectorCommand_base: {
|
|
25
|
+
new (input: DeleteEnvironmentConnectorCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteEnvironmentConnectorCommandInput, DeleteEnvironmentConnectorCommandOutput, EvsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: DeleteEnvironmentConnectorCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteEnvironmentConnectorCommandInput, DeleteEnvironmentConnectorCommandOutput, EvsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Deletes a connector from an Amazon EVS environment.</p> <note> <p>Before deleting a connector, you must remove all entitlements that are associated with the same vCenter.</p> </note>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { EvsClient, DeleteEnvironmentConnectorCommand } from "@aws-sdk/client-evs"; // ES Modules import
|
|
35
|
+
* // const { EvsClient, DeleteEnvironmentConnectorCommand } = require("@aws-sdk/client-evs"); // CommonJS import
|
|
36
|
+
* // import type { EvsClientConfig } from "@aws-sdk/client-evs";
|
|
37
|
+
* const config = {}; // type is EvsClientConfig
|
|
38
|
+
* const client = new EvsClient(config);
|
|
39
|
+
* const input = { // DeleteEnvironmentConnectorRequest
|
|
40
|
+
* clientToken: "STRING_VALUE",
|
|
41
|
+
* environmentId: "STRING_VALUE", // required
|
|
42
|
+
* connectorId: "STRING_VALUE", // required
|
|
43
|
+
* };
|
|
44
|
+
* const command = new DeleteEnvironmentConnectorCommand(input);
|
|
45
|
+
* const response = await client.send(command);
|
|
46
|
+
* // { // DeleteEnvironmentConnectorResponse
|
|
47
|
+
* // connector: { // Connector
|
|
48
|
+
* // environmentId: "STRING_VALUE",
|
|
49
|
+
* // connectorId: "STRING_VALUE",
|
|
50
|
+
* // type: "VCENTER",
|
|
51
|
+
* // applianceFqdn: "STRING_VALUE",
|
|
52
|
+
* // secretArn: "STRING_VALUE",
|
|
53
|
+
* // state: "CREATING" || "CREATE_FAILED" || "ACTIVE" || "UPDATING" || "UPDATE_FAILED" || "DELETING" || "DELETED",
|
|
54
|
+
* // stateDetails: "STRING_VALUE",
|
|
55
|
+
* // status: "PASSED" || "FAILED" || "UNKNOWN",
|
|
56
|
+
* // checks: [ // ConnectorsChecksList
|
|
57
|
+
* // { // ConnectorCheck
|
|
58
|
+
* // type: "KEY_REUSE" || "KEY_COVERAGE" || "REACHABILITY" || "HOST_COUNT" || "VCENTER_REACHABILITY" || "VCENTER_VM_SYNC" || "VCENTER_VM_EVENT",
|
|
59
|
+
* // result: "PASSED" || "FAILED" || "UNKNOWN",
|
|
60
|
+
* // lastCheckAttempt: new Date("TIMESTAMP"),
|
|
61
|
+
* // impairedSince: new Date("TIMESTAMP"),
|
|
62
|
+
* // },
|
|
63
|
+
* // ],
|
|
64
|
+
* // createdAt: new Date("TIMESTAMP"),
|
|
65
|
+
* // modifiedAt: new Date("TIMESTAMP"),
|
|
66
|
+
* // },
|
|
67
|
+
* // environmentSummary: { // EnvironmentSummary
|
|
68
|
+
* // environmentId: "STRING_VALUE",
|
|
69
|
+
* // environmentName: "STRING_VALUE",
|
|
70
|
+
* // vcfVersion: "VCF-5.2.1" || "VCF-5.2.2",
|
|
71
|
+
* // environmentStatus: "PASSED" || "FAILED" || "UNKNOWN",
|
|
72
|
+
* // environmentState: "CREATING" || "CREATED" || "DELETING" || "DELETED" || "CREATE_FAILED",
|
|
73
|
+
* // createdAt: new Date("TIMESTAMP"),
|
|
74
|
+
* // modifiedAt: new Date("TIMESTAMP"),
|
|
75
|
+
* // environmentArn: "STRING_VALUE",
|
|
76
|
+
* // },
|
|
77
|
+
* // };
|
|
78
|
+
*
|
|
79
|
+
* ```
|
|
80
|
+
*
|
|
81
|
+
* @param DeleteEnvironmentConnectorCommandInput - {@link DeleteEnvironmentConnectorCommandInput}
|
|
82
|
+
* @returns {@link DeleteEnvironmentConnectorCommandOutput}
|
|
83
|
+
* @see {@link DeleteEnvironmentConnectorCommandInput} for command's `input` shape.
|
|
84
|
+
* @see {@link DeleteEnvironmentConnectorCommandOutput} for command's `response` shape.
|
|
85
|
+
* @see {@link EvsClientResolvedConfig | config} for EvsClient's `config` shape.
|
|
86
|
+
*
|
|
87
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
88
|
+
* <p>A service resource associated with the request could not be found. The resource might not be specified correctly, or it may have a <code>state</code> of <code>DELETED</code>.</p>
|
|
89
|
+
*
|
|
90
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
91
|
+
* <p>The operation could not be performed because the service is throttling requests. This exception is thrown when the service endpoint receives too many concurrent requests.</p>
|
|
92
|
+
*
|
|
93
|
+
* @throws {@link ValidationException} (client fault)
|
|
94
|
+
* <p>The input fails to satisfy the specified constraints. You will see this exception if invalid inputs are provided for any of the Amazon EVS environment operations, or if a list operation is performed on an environment resource that is still initializing.</p>
|
|
95
|
+
*
|
|
96
|
+
* @throws {@link EvsServiceException}
|
|
97
|
+
* <p>Base exception class for all service exceptions from Evs service.</p>
|
|
98
|
+
*
|
|
99
|
+
*
|
|
100
|
+
* @public
|
|
101
|
+
*/
|
|
102
|
+
export declare class DeleteEnvironmentConnectorCommand extends DeleteEnvironmentConnectorCommand_base {
|
|
103
|
+
/** @internal type navigation helper, not in runtime. */
|
|
104
|
+
protected static __types: {
|
|
105
|
+
api: {
|
|
106
|
+
input: DeleteEnvironmentConnectorRequest;
|
|
107
|
+
output: DeleteEnvironmentConnectorResponse;
|
|
108
|
+
};
|
|
109
|
+
sdk: {
|
|
110
|
+
input: DeleteEnvironmentConnectorCommandInput;
|
|
111
|
+
output: DeleteEnvironmentConnectorCommandOutput;
|
|
112
|
+
};
|
|
113
|
+
};
|
|
114
|
+
}
|