@aws-sdk/client-evs 3.969.0 → 3.970.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 +7 -0
- package/dist-cjs/index.js +94 -8
- package/dist-es/Evs.js +2 -0
- package/dist-es/commands/GetVersionsCommand.js +16 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/enums.js +1 -0
- package/dist-es/models/errors.js +13 -0
- package/dist-es/schemas/schemas_0.js +62 -9
- package/dist-types/Evs.d.ts +8 -0
- package/dist-types/EvsClient.d.ts +3 -2
- package/dist-types/commands/AssociateEipToVlanCommand.d.ts +1 -1
- package/dist-types/commands/CreateEnvironmentCommand.d.ts +3 -3
- package/dist-types/commands/CreateEnvironmentHostCommand.d.ts +4 -3
- package/dist-types/commands/DeleteEnvironmentCommand.d.ts +1 -1
- package/dist-types/commands/DeleteEnvironmentHostCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateEipFromVlanCommand.d.ts +1 -1
- package/dist-types/commands/GetEnvironmentCommand.d.ts +1 -1
- package/dist-types/commands/GetVersionsCommand.d.ts +95 -0
- package/dist-types/commands/ListEnvironmentsCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/enums.d.ts +1 -0
- package/dist-types/models/errors.d.ts +14 -1
- package/dist-types/models/models_0.d.ts +77 -10
- package/dist-types/schemas/schemas_0.d.ts +6 -0
- package/dist-types/ts3.4/Evs.d.ts +18 -0
- package/dist-types/ts3.4/EvsClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/GetVersionsCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/enums.d.ts +1 -0
- package/dist-types/ts3.4/models/errors.d.ts +8 -0
- package/dist-types/ts3.4/models/models_0.d.ts +16 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +6 -0
- package/package.json +12 -12
|
@@ -53,7 +53,7 @@ declare const DeleteEnvironmentCommand_base: {
|
|
|
53
53
|
* // environmentName: "STRING_VALUE",
|
|
54
54
|
* // vpcId: "STRING_VALUE",
|
|
55
55
|
* // serviceAccessSubnetId: "STRING_VALUE",
|
|
56
|
-
* // vcfVersion: "VCF-5.2.1",
|
|
56
|
+
* // vcfVersion: "VCF-5.2.1" || "VCF-5.2.2",
|
|
57
57
|
* // termsAccepted: true || false,
|
|
58
58
|
* // licenseInfo: [ // LicenseInfoList
|
|
59
59
|
* // { // LicenseInfo
|
|
@@ -47,7 +47,7 @@ declare const DeleteEnvironmentHostCommand_base: {
|
|
|
47
47
|
* // environmentSummary: { // EnvironmentSummary
|
|
48
48
|
* // environmentId: "STRING_VALUE",
|
|
49
49
|
* // environmentName: "STRING_VALUE",
|
|
50
|
-
* // vcfVersion: "VCF-5.2.1",
|
|
50
|
+
* // vcfVersion: "VCF-5.2.1" || "VCF-5.2.2",
|
|
51
51
|
* // environmentStatus: "PASSED" || "FAILED" || "UNKNOWN",
|
|
52
52
|
* // environmentState: "CREATING" || "CREATED" || "DELETING" || "DELETED" || "CREATE_FAILED",
|
|
53
53
|
* // createdAt: new Date("TIMESTAMP"),
|
|
@@ -79,7 +79,7 @@ declare const DisassociateEipFromVlanCommand_base: {
|
|
|
79
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
80
|
*
|
|
81
81
|
* @throws {@link ThrottlingException} (client fault)
|
|
82
|
-
* <p>The operation
|
|
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
83
|
*
|
|
84
84
|
* @throws {@link ValidationException} (client fault)
|
|
85
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>
|
|
@@ -52,7 +52,7 @@ declare const GetEnvironmentCommand_base: {
|
|
|
52
52
|
* // environmentName: "STRING_VALUE",
|
|
53
53
|
* // vpcId: "STRING_VALUE",
|
|
54
54
|
* // serviceAccessSubnetId: "STRING_VALUE",
|
|
55
|
-
* // vcfVersion: "VCF-5.2.1",
|
|
55
|
+
* // vcfVersion: "VCF-5.2.1" || "VCF-5.2.2",
|
|
56
56
|
* // termsAccepted: true || false,
|
|
57
57
|
* // licenseInfo: [ // LicenseInfoList
|
|
58
58
|
* // { // LicenseInfo
|
|
@@ -0,0 +1,95 @@
|
|
|
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 { GetVersionsRequest, GetVersionsResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetVersionsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetVersionsCommandInput extends GetVersionsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetVersionsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetVersionsCommandOutput extends GetVersionsResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetVersionsCommand_base: {
|
|
25
|
+
new (input: GetVersionsCommandInput): import("@smithy/smithy-client").CommandImpl<GetVersionsCommandInput, GetVersionsCommandOutput, EvsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [GetVersionsCommandInput]): import("@smithy/smithy-client").CommandImpl<GetVersionsCommandInput, GetVersionsCommandOutput, EvsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Returns information about VCF versions, ESX versions and EC2 instance types provided by Amazon EVS. For each VCF version, the response also includes the default ESX version and provided EC2 instance types.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { EvsClient, GetVersionsCommand } from "@aws-sdk/client-evs"; // ES Modules import
|
|
35
|
+
* // const { EvsClient, GetVersionsCommand } = 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 = {};
|
|
40
|
+
* const command = new GetVersionsCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // { // GetVersionsResponse
|
|
43
|
+
* // vcfVersions: [ // VcfVersionList // required
|
|
44
|
+
* // { // VcfVersionInfo
|
|
45
|
+
* // vcfVersion: "VCF-5.2.1" || "VCF-5.2.2", // required
|
|
46
|
+
* // status: "STRING_VALUE", // required
|
|
47
|
+
* // defaultEsxVersion: "STRING_VALUE", // required
|
|
48
|
+
* // instanceTypes: [ // InstanceTypeList // required
|
|
49
|
+
* // "i4i.metal",
|
|
50
|
+
* // ],
|
|
51
|
+
* // },
|
|
52
|
+
* // ],
|
|
53
|
+
* // instanceTypeEsxVersions: [ // InstanceTypeEsxVersionsList // required
|
|
54
|
+
* // { // InstanceTypeEsxVersionsInfo
|
|
55
|
+
* // instanceType: "i4i.metal", // required
|
|
56
|
+
* // esxVersions: [ // EsxVersionList // required
|
|
57
|
+
* // "STRING_VALUE",
|
|
58
|
+
* // ],
|
|
59
|
+
* // },
|
|
60
|
+
* // ],
|
|
61
|
+
* // };
|
|
62
|
+
*
|
|
63
|
+
* ```
|
|
64
|
+
*
|
|
65
|
+
* @param GetVersionsCommandInput - {@link GetVersionsCommandInput}
|
|
66
|
+
* @returns {@link GetVersionsCommandOutput}
|
|
67
|
+
* @see {@link GetVersionsCommandInput} for command's `input` shape.
|
|
68
|
+
* @see {@link GetVersionsCommandOutput} for command's `response` shape.
|
|
69
|
+
* @see {@link EvsClientResolvedConfig | config} for EvsClient's `config` shape.
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link InternalServerException} (server fault)
|
|
72
|
+
* <p>An internal server error occurred. Retry your request.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
75
|
+
* <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>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link EvsServiceException}
|
|
78
|
+
* <p>Base exception class for all service exceptions from Evs service.</p>
|
|
79
|
+
*
|
|
80
|
+
*
|
|
81
|
+
* @public
|
|
82
|
+
*/
|
|
83
|
+
export declare class GetVersionsCommand extends GetVersionsCommand_base {
|
|
84
|
+
/** @internal type navigation helper, not in runtime. */
|
|
85
|
+
protected static __types: {
|
|
86
|
+
api: {
|
|
87
|
+
input: {};
|
|
88
|
+
output: GetVersionsResponse;
|
|
89
|
+
};
|
|
90
|
+
sdk: {
|
|
91
|
+
input: GetVersionsCommandInput;
|
|
92
|
+
output: GetVersionsCommandOutput;
|
|
93
|
+
};
|
|
94
|
+
};
|
|
95
|
+
}
|
|
@@ -51,7 +51,7 @@ declare const ListEnvironmentsCommand_base: {
|
|
|
51
51
|
* // { // EnvironmentSummary
|
|
52
52
|
* // environmentId: "STRING_VALUE",
|
|
53
53
|
* // environmentName: "STRING_VALUE",
|
|
54
|
-
* // vcfVersion: "VCF-5.2.1",
|
|
54
|
+
* // vcfVersion: "VCF-5.2.1" || "VCF-5.2.2",
|
|
55
55
|
* // environmentStatus: "PASSED" || "FAILED" || "UNKNOWN",
|
|
56
56
|
* // environmentState: "CREATING" || "CREATED" || "DELETING" || "DELETED" || "CREATE_FAILED",
|
|
57
57
|
* // createdAt: new Date("TIMESTAMP"),
|
|
@@ -5,6 +5,7 @@ export * from "./DeleteEnvironmentCommand";
|
|
|
5
5
|
export * from "./DeleteEnvironmentHostCommand";
|
|
6
6
|
export * from "./DisassociateEipFromVlanCommand";
|
|
7
7
|
export * from "./GetEnvironmentCommand";
|
|
8
|
+
export * from "./GetVersionsCommand";
|
|
8
9
|
export * from "./ListEnvironmentHostsCommand";
|
|
9
10
|
export * from "./ListEnvironmentVlansCommand";
|
|
10
11
|
export * from "./ListEnvironmentsCommand";
|
|
@@ -25,7 +25,7 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
25
25
|
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
26
26
|
}
|
|
27
27
|
/**
|
|
28
|
-
* <p>The operation
|
|
28
|
+
* <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>
|
|
29
29
|
* @public
|
|
30
30
|
*/
|
|
31
31
|
export declare class ThrottlingException extends __BaseException {
|
|
@@ -64,6 +64,19 @@ export declare class ValidationException extends __BaseException {
|
|
|
64
64
|
*/
|
|
65
65
|
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
66
66
|
}
|
|
67
|
+
/**
|
|
68
|
+
* <p>An internal server error occurred. Retry your request.</p>
|
|
69
|
+
* @public
|
|
70
|
+
*/
|
|
71
|
+
export declare class InternalServerException extends __BaseException {
|
|
72
|
+
readonly name: "InternalServerException";
|
|
73
|
+
readonly $fault: "server";
|
|
74
|
+
$retryable: {};
|
|
75
|
+
/**
|
|
76
|
+
* @internal
|
|
77
|
+
*/
|
|
78
|
+
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
79
|
+
}
|
|
67
80
|
/**
|
|
68
81
|
* <p>The number of one or more Amazon EVS resources exceeds the maximum allowed. For a list of Amazon EVS quotas, see <a href="https://docs.aws.amazon.com/evs/latest/userguide/service-quotas-evs.html">Amazon EVS endpoints and quotas</a> in the <i>Amazon EVS User Guide</i>. Delete some resources or request an increase in your service quota. To request an increase, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html">Amazon Web Services Service Quotas</a> in the <i>Amazon Web Services General Reference Guide</i>. </p>
|
|
69
82
|
* @public
|
|
@@ -164,7 +164,7 @@ export interface HostInfoForCreate {
|
|
|
164
164
|
*/
|
|
165
165
|
keyName: string | undefined;
|
|
166
166
|
/**
|
|
167
|
-
* <p>The EC2 instance type that represents the host.</p>
|
|
167
|
+
* <p>The EC2 instance type that represents the host.</p> <note> <p>Currently, Amazon EVS supports only the <code>i4i.metal</code> instance type.</p> </note>
|
|
168
168
|
* @public
|
|
169
169
|
*/
|
|
170
170
|
instanceType: _InstanceType | undefined;
|
|
@@ -196,7 +196,7 @@ export interface InitialVlanInfo {
|
|
|
196
196
|
*/
|
|
197
197
|
export interface InitialVlans {
|
|
198
198
|
/**
|
|
199
|
-
* <p> The host VMkernel management VLAN subnet. This VLAN subnet carries traffic for managing
|
|
199
|
+
* <p> The host VMkernel management VLAN subnet. This VLAN subnet carries traffic for managing ESX hosts and communicating with VMware vCenter Server.</p>
|
|
200
200
|
* @public
|
|
201
201
|
*/
|
|
202
202
|
vmkManagement: InitialVlanInfo | undefined;
|
|
@@ -211,7 +211,7 @@ export interface InitialVlans {
|
|
|
211
211
|
*/
|
|
212
212
|
vMotion: InitialVlanInfo | undefined;
|
|
213
213
|
/**
|
|
214
|
-
* <p> The vSAN VLAN subnet. This VLAN subnet carries the communication between
|
|
214
|
+
* <p> The vSAN VLAN subnet. This VLAN subnet carries the communication between ESX hosts to implement a vSAN shared storage pool.</p>
|
|
215
215
|
* @public
|
|
216
216
|
*/
|
|
217
217
|
vSan: InitialVlanInfo | undefined;
|
|
@@ -231,7 +231,7 @@ export interface InitialVlans {
|
|
|
231
231
|
*/
|
|
232
232
|
nsxUplink: InitialVlanInfo | undefined;
|
|
233
233
|
/**
|
|
234
|
-
* <p>The HCX VLAN subnet. This VLAN subnet allows the HCX Interconnnect (IX) and HCX Network Extension (NE) to reach their peers and enable HCX Service Mesh creation.</p> <p>If you plan to use a public HCX VLAN subnet, the following requirements must be met:</p> <ul> <li> <p>Must have a /28 netmask and be allocated from the IPAM public pool. Required for HCX internet access configuration.</p> </li> <li> <p>The HCX public VLAN CIDR block must be added to the VPC as a secondary CIDR block.</p> </li> <li> <p>Must have at least
|
|
234
|
+
* <p>The HCX VLAN subnet. This VLAN subnet allows the HCX Interconnnect (IX) and HCX Network Extension (NE) to reach their peers and enable HCX Service Mesh creation.</p> <p>If you plan to use a public HCX VLAN subnet, the following requirements must be met:</p> <ul> <li> <p>Must have a /28 netmask and be allocated from the IPAM public pool. Required for HCX internet access configuration.</p> </li> <li> <p>The HCX public VLAN CIDR block must be added to the VPC as a secondary CIDR block.</p> </li> <li> <p>Must have at least two Elastic IP addresses to be allocated from the public IPAM pool for HCX components.</p> </li> </ul>
|
|
235
235
|
* @public
|
|
236
236
|
*/
|
|
237
237
|
hcx: InitialVlanInfo | undefined;
|
|
@@ -364,7 +364,7 @@ export interface CreateEnvironmentRequest {
|
|
|
364
364
|
*/
|
|
365
365
|
serviceAccessSecurityGroups?: ServiceAccessSecurityGroups | undefined;
|
|
366
366
|
/**
|
|
367
|
-
* <p>A unique ID for the VPC that the environment is deployed inside.</p> <p>Amazon EVS requires that all VPC subnets exist in a single Availability Zone in a Region where the service is available.</p> <p>The VPC that you specify must have a valid DHCP option set with domain name, at least two DNS servers, and an NTP server. These settings are used to configure your VCF appliances and hosts. The VPC cannot be used with any other deployed Amazon EVS environment. Amazon EVS does not provide multi-VPC support for environments at this time.</p> <p>Amazon EVS does not support the following Amazon Web Services networking options for NSX overlay connectivity: cross-Region VPC peering, Amazon S3 gateway endpoints, or Amazon Web Services Direct Connect virtual private gateway associations.</p> <note> <p>Ensure that you specify a VPC that is adequately sized to accommodate the
|
|
367
|
+
* <p>A unique ID for the VPC that the environment is deployed inside.</p> <p>Amazon EVS requires that all VPC subnets exist in a single Availability Zone in a Region where the service is available.</p> <p>The VPC that you specify must have a valid DHCP option set with domain name, at least two DNS servers, and an NTP server. These settings are used to configure your VCF appliances and hosts. The VPC cannot be used with any other deployed Amazon EVS environment. Amazon EVS does not provide multi-VPC support for environments at this time.</p> <p>Amazon EVS does not support the following Amazon Web Services networking options for NSX overlay connectivity: cross-Region VPC peering, Amazon S3 gateway endpoints, or Amazon Web Services Direct Connect virtual private gateway associations.</p> <note> <p>Ensure that you specify a VPC that is adequately sized to accommodate the Amazon EVS subnets.</p> </note>
|
|
368
368
|
* @public
|
|
369
369
|
*/
|
|
370
370
|
vpcId: string | undefined;
|
|
@@ -374,7 +374,7 @@ export interface CreateEnvironmentRequest {
|
|
|
374
374
|
*/
|
|
375
375
|
serviceAccessSubnetId: string | undefined;
|
|
376
376
|
/**
|
|
377
|
-
* <p> The VCF version to use for the environment
|
|
377
|
+
* <p> The VCF version to use for the environment.</p>
|
|
378
378
|
* @public
|
|
379
379
|
*/
|
|
380
380
|
vcfVersion: VcfVersion | undefined;
|
|
@@ -394,7 +394,7 @@ export interface CreateEnvironmentRequest {
|
|
|
394
394
|
*/
|
|
395
395
|
initialVlans: InitialVlans | undefined;
|
|
396
396
|
/**
|
|
397
|
-
* <p>The
|
|
397
|
+
* <p>The ESX hosts to add to the environment. Amazon EVS requires that you provide details for a minimum of 4 hosts during environment creation.</p> <p>For each host, you must provide the desired hostname, EC2 SSH keypair name, and EC2 instance type. Optionally, you can also provide a partition or cluster placement group to use, or use Amazon EC2 Dedicated Hosts.</p>
|
|
398
398
|
* @public
|
|
399
399
|
*/
|
|
400
400
|
hosts: HostInfoForCreate[] | undefined;
|
|
@@ -420,7 +420,7 @@ export interface CreateEnvironmentRequest {
|
|
|
420
420
|
*/
|
|
421
421
|
export interface Check {
|
|
422
422
|
/**
|
|
423
|
-
* <p>The check type. Amazon EVS performs the following checks.</p> <ul> <li> <p> <code>KEY_REUSE</code>: checks that the VCF license key is not used by another Amazon EVS environment. This check fails if a used license is added to the environment.</p> </li> <li> <p> <code>KEY_COVERAGE</code>: checks that your VCF license key allocates sufficient vCPU cores for all deployed hosts. The check fails when any assigned hosts in the EVS environment are not covered by license keys, or when any unassigned hosts cannot be covered by available vCPU cores in keys.</p> </li> <li> <p> <code>REACHABILITY</code>: checks that the Amazon EVS control plane has a persistent connection to SDDC Manager. If Amazon EVS cannot reach the environment, this check fails.</p> </li> <li> <p> <code>HOST_COUNT</code>: Checks that your environment has a minimum of 4 hosts
|
|
423
|
+
* <p>The check type. Amazon EVS performs the following checks.</p> <ul> <li> <p> <code>KEY_REUSE</code>: checks that the VCF license key is not used by another Amazon EVS environment. This check fails if a used license is added to the environment.</p> </li> <li> <p> <code>KEY_COVERAGE</code>: checks that your VCF license key allocates sufficient vCPU cores for all deployed hosts. The check fails when any assigned hosts in the EVS environment are not covered by license keys, or when any unassigned hosts cannot be covered by available vCPU cores in keys.</p> </li> <li> <p> <code>REACHABILITY</code>: checks that the Amazon EVS control plane has a persistent connection to SDDC Manager. If Amazon EVS cannot reach the environment, this check fails.</p> </li> <li> <p> <code>HOST_COUNT</code>: Checks that your environment has a minimum of 4 hosts.</p> <p>If this check fails, you will need to add hosts so that your environment meets this minimum requirement. Amazon EVS only supports environments with 4-16 hosts.</p> </li> </ul>
|
|
424
424
|
* @public
|
|
425
425
|
*/
|
|
426
426
|
type?: CheckType | undefined;
|
|
@@ -581,6 +581,11 @@ export interface CreateEnvironmentHostRequest {
|
|
|
581
581
|
* @public
|
|
582
582
|
*/
|
|
583
583
|
host: HostInfoForCreate | undefined;
|
|
584
|
+
/**
|
|
585
|
+
* <p>The ESX version to use for the host.</p>
|
|
586
|
+
* @public
|
|
587
|
+
*/
|
|
588
|
+
esxVersion?: string | undefined;
|
|
584
589
|
}
|
|
585
590
|
/**
|
|
586
591
|
* <p>A list of environments with summarized environment details.</p>
|
|
@@ -640,7 +645,7 @@ export interface NetworkInterface {
|
|
|
640
645
|
networkInterfaceId?: string | undefined;
|
|
641
646
|
}
|
|
642
647
|
/**
|
|
643
|
-
* <p>An
|
|
648
|
+
* <p>An ESX host that runs on an Amazon EC2 bare metal instance. Four hosts are created in an Amazon EVS environment during environment creation. You can add hosts to an environment using the <code>CreateEnvironmentHost</code> operation. Amazon EVS supports 4-16 hosts per environment.</p>
|
|
644
649
|
* @public
|
|
645
650
|
*/
|
|
646
651
|
export interface Host {
|
|
@@ -660,7 +665,7 @@ export interface Host {
|
|
|
660
665
|
*/
|
|
661
666
|
keyName?: string | undefined;
|
|
662
667
|
/**
|
|
663
|
-
* <p>The EC2 instance type of the host.</p> <note> <p>EC2 instances created through Amazon EVS do not support associating an IAM instance profile.</p> </note>
|
|
668
|
+
* <p>The EC2 instance type of the host.</p> <note> <p>Currently, Amazon EVS supports only the <code>i4i.metal</code> instance type.</p> </note> <note> <p>EC2 instances created through Amazon EVS do not support associating an IAM instance profile.</p> </note>
|
|
664
669
|
* @public
|
|
665
670
|
*/
|
|
666
671
|
instanceType?: _InstanceType | undefined;
|
|
@@ -940,6 +945,68 @@ export interface ListEnvironmentVlansResponse {
|
|
|
940
945
|
*/
|
|
941
946
|
environmentVlans?: Vlan[] | undefined;
|
|
942
947
|
}
|
|
948
|
+
/**
|
|
949
|
+
* @public
|
|
950
|
+
*/
|
|
951
|
+
export interface GetVersionsRequest {
|
|
952
|
+
}
|
|
953
|
+
/**
|
|
954
|
+
* <p>Information about ESX versions offered for each EC2 instance type.</p>
|
|
955
|
+
* @public
|
|
956
|
+
*/
|
|
957
|
+
export interface InstanceTypeEsxVersionsInfo {
|
|
958
|
+
/**
|
|
959
|
+
* <p>The EC2 instance type.</p>
|
|
960
|
+
* @public
|
|
961
|
+
*/
|
|
962
|
+
instanceType: _InstanceType | undefined;
|
|
963
|
+
/**
|
|
964
|
+
* <p>The list of ESX versions offered for this instance type.</p>
|
|
965
|
+
* @public
|
|
966
|
+
*/
|
|
967
|
+
esxVersions: string[] | undefined;
|
|
968
|
+
}
|
|
969
|
+
/**
|
|
970
|
+
* <p>Information about a VCF versions provided by Amazon EVS, including its status, default ESX version, and EC2 instance types.</p>
|
|
971
|
+
* @public
|
|
972
|
+
*/
|
|
973
|
+
export interface VcfVersionInfo {
|
|
974
|
+
/**
|
|
975
|
+
* <p>The VCF version number.</p>
|
|
976
|
+
* @public
|
|
977
|
+
*/
|
|
978
|
+
vcfVersion: VcfVersion | undefined;
|
|
979
|
+
/**
|
|
980
|
+
* <p>The status for this VCF version. Valid values are:</p> <ul> <li> <p> <code>AVAILABLE</code> - This VCF version is available to you.</p> </li> <li> <p> <code>RESTRICTED</code> - This VCF version has limited availability.</p> </li> </ul> <note> <p> If the version you need shows RESTRICTED, and you require, check out <a href="https://docs.aws.amazon.com/evs/latest/userguide/versions-provided.html">VCF versions and EC2 instance types provided by Amazon EVS</a> for more information. </p> </note>
|
|
981
|
+
* @public
|
|
982
|
+
*/
|
|
983
|
+
status: string | undefined;
|
|
984
|
+
/**
|
|
985
|
+
* <p>The default ESX version for this VCF version. It is based on Broadcom's Bill Of Materials (BOM).</p>
|
|
986
|
+
* @public
|
|
987
|
+
*/
|
|
988
|
+
defaultEsxVersion: string | undefined;
|
|
989
|
+
/**
|
|
990
|
+
* <p>EC2 instance types provided by Amazon EVS for this VCF version for creating environments.</p>
|
|
991
|
+
* @public
|
|
992
|
+
*/
|
|
993
|
+
instanceTypes: _InstanceType[] | undefined;
|
|
994
|
+
}
|
|
995
|
+
/**
|
|
996
|
+
* @public
|
|
997
|
+
*/
|
|
998
|
+
export interface GetVersionsResponse {
|
|
999
|
+
/**
|
|
1000
|
+
* <p>A list of VCF versions with their availability status, default ESX version, and instance types.</p>
|
|
1001
|
+
* @public
|
|
1002
|
+
*/
|
|
1003
|
+
vcfVersions: VcfVersionInfo[] | undefined;
|
|
1004
|
+
/**
|
|
1005
|
+
* <p>A list of EC2 instance types and their available ESX versions.</p>
|
|
1006
|
+
* @public
|
|
1007
|
+
*/
|
|
1008
|
+
instanceTypeEsxVersions: InstanceTypeEsxVersionsInfo[] | undefined;
|
|
1009
|
+
}
|
|
943
1010
|
/**
|
|
944
1011
|
* @public
|
|
945
1012
|
*/
|
|
@@ -18,10 +18,14 @@ export declare var Environment$: StaticStructureSchema;
|
|
|
18
18
|
export declare var EnvironmentSummary$: StaticStructureSchema;
|
|
19
19
|
export declare var GetEnvironmentRequest$: StaticStructureSchema;
|
|
20
20
|
export declare var GetEnvironmentResponse$: StaticStructureSchema;
|
|
21
|
+
export declare var GetVersionsRequest$: StaticStructureSchema;
|
|
22
|
+
export declare var GetVersionsResponse$: StaticStructureSchema;
|
|
21
23
|
export declare var Host$: StaticStructureSchema;
|
|
22
24
|
export declare var HostInfoForCreate$: StaticStructureSchema;
|
|
23
25
|
export declare var InitialVlanInfo$: StaticStructureSchema;
|
|
24
26
|
export declare var InitialVlans$: StaticStructureSchema;
|
|
27
|
+
export declare var InstanceTypeEsxVersionsInfo$: StaticStructureSchema;
|
|
28
|
+
export declare var InternalServerException$: StaticErrorSchema;
|
|
25
29
|
export declare var LicenseInfo$: StaticStructureSchema;
|
|
26
30
|
export declare var ListEnvironmentHostsRequest$: StaticStructureSchema;
|
|
27
31
|
export declare var ListEnvironmentHostsResponse$: StaticStructureSchema;
|
|
@@ -46,6 +50,7 @@ export declare var UntagResourceResponse$: StaticStructureSchema;
|
|
|
46
50
|
export declare var ValidationException$: StaticErrorSchema;
|
|
47
51
|
export declare var ValidationExceptionField$: StaticStructureSchema;
|
|
48
52
|
export declare var VcfHostnames$: StaticStructureSchema;
|
|
53
|
+
export declare var VcfVersionInfo$: StaticStructureSchema;
|
|
49
54
|
export declare var Vlan$: StaticStructureSchema;
|
|
50
55
|
export declare var EvsServiceException$: StaticErrorSchema;
|
|
51
56
|
export declare var AssociateEipToVlan$: StaticOperationSchema;
|
|
@@ -55,6 +60,7 @@ export declare var DeleteEnvironment$: StaticOperationSchema;
|
|
|
55
60
|
export declare var DeleteEnvironmentHost$: StaticOperationSchema;
|
|
56
61
|
export declare var DisassociateEipFromVlan$: StaticOperationSchema;
|
|
57
62
|
export declare var GetEnvironment$: StaticOperationSchema;
|
|
63
|
+
export declare var GetVersions$: StaticOperationSchema;
|
|
58
64
|
export declare var ListEnvironmentHosts$: StaticOperationSchema;
|
|
59
65
|
export declare var ListEnvironments$: StaticOperationSchema;
|
|
60
66
|
export declare var ListEnvironmentVlans$: StaticOperationSchema;
|
|
@@ -27,6 +27,10 @@ import {
|
|
|
27
27
|
GetEnvironmentCommandInput,
|
|
28
28
|
GetEnvironmentCommandOutput,
|
|
29
29
|
} from "./commands/GetEnvironmentCommand";
|
|
30
|
+
import {
|
|
31
|
+
GetVersionsCommandInput,
|
|
32
|
+
GetVersionsCommandOutput,
|
|
33
|
+
} from "./commands/GetVersionsCommand";
|
|
30
34
|
import {
|
|
31
35
|
ListEnvironmentHostsCommandInput,
|
|
32
36
|
ListEnvironmentHostsCommandOutput,
|
|
@@ -144,6 +148,20 @@ export interface Evs {
|
|
|
144
148
|
options: __HttpHandlerOptions,
|
|
145
149
|
cb: (err: any, data?: GetEnvironmentCommandOutput) => void
|
|
146
150
|
): void;
|
|
151
|
+
getVersions(): Promise<GetVersionsCommandOutput>;
|
|
152
|
+
getVersions(
|
|
153
|
+
args: GetVersionsCommandInput,
|
|
154
|
+
options?: __HttpHandlerOptions
|
|
155
|
+
): Promise<GetVersionsCommandOutput>;
|
|
156
|
+
getVersions(
|
|
157
|
+
args: GetVersionsCommandInput,
|
|
158
|
+
cb: (err: any, data?: GetVersionsCommandOutput) => void
|
|
159
|
+
): void;
|
|
160
|
+
getVersions(
|
|
161
|
+
args: GetVersionsCommandInput,
|
|
162
|
+
options: __HttpHandlerOptions,
|
|
163
|
+
cb: (err: any, data?: GetVersionsCommandOutput) => void
|
|
164
|
+
): void;
|
|
147
165
|
listEnvironmentHosts(
|
|
148
166
|
args: ListEnvironmentHostsCommandInput,
|
|
149
167
|
options?: __HttpHandlerOptions
|
|
@@ -73,6 +73,10 @@ import {
|
|
|
73
73
|
GetEnvironmentCommandInput,
|
|
74
74
|
GetEnvironmentCommandOutput,
|
|
75
75
|
} from "./commands/GetEnvironmentCommand";
|
|
76
|
+
import {
|
|
77
|
+
GetVersionsCommandInput,
|
|
78
|
+
GetVersionsCommandOutput,
|
|
79
|
+
} from "./commands/GetVersionsCommand";
|
|
76
80
|
import {
|
|
77
81
|
ListEnvironmentHostsCommandInput,
|
|
78
82
|
ListEnvironmentHostsCommandOutput,
|
|
@@ -112,6 +116,7 @@ export type ServiceInputTypes =
|
|
|
112
116
|
| DeleteEnvironmentHostCommandInput
|
|
113
117
|
| DisassociateEipFromVlanCommandInput
|
|
114
118
|
| GetEnvironmentCommandInput
|
|
119
|
+
| GetVersionsCommandInput
|
|
115
120
|
| ListEnvironmentHostsCommandInput
|
|
116
121
|
| ListEnvironmentVlansCommandInput
|
|
117
122
|
| ListEnvironmentsCommandInput
|
|
@@ -126,6 +131,7 @@ export type ServiceOutputTypes =
|
|
|
126
131
|
| DeleteEnvironmentHostCommandOutput
|
|
127
132
|
| DisassociateEipFromVlanCommandOutput
|
|
128
133
|
| GetEnvironmentCommandOutput
|
|
134
|
+
| GetVersionsCommandOutput
|
|
129
135
|
| ListEnvironmentHostsCommandOutput
|
|
130
136
|
| ListEnvironmentVlansCommandOutput
|
|
131
137
|
| ListEnvironmentsCommandOutput
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
EvsClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../EvsClient";
|
|
8
|
+
import { GetVersionsRequest, GetVersionsResponse } from "../models/models_0";
|
|
9
|
+
export { __MetadataBearer };
|
|
10
|
+
export { $Command };
|
|
11
|
+
export interface GetVersionsCommandInput extends GetVersionsRequest {}
|
|
12
|
+
export interface GetVersionsCommandOutput
|
|
13
|
+
extends GetVersionsResponse,
|
|
14
|
+
__MetadataBearer {}
|
|
15
|
+
declare const GetVersionsCommand_base: {
|
|
16
|
+
new (
|
|
17
|
+
input: GetVersionsCommandInput
|
|
18
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
19
|
+
GetVersionsCommandInput,
|
|
20
|
+
GetVersionsCommandOutput,
|
|
21
|
+
EvsClientResolvedConfig,
|
|
22
|
+
ServiceInputTypes,
|
|
23
|
+
ServiceOutputTypes
|
|
24
|
+
>;
|
|
25
|
+
new (
|
|
26
|
+
...[input]: [] | [GetVersionsCommandInput]
|
|
27
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
28
|
+
GetVersionsCommandInput,
|
|
29
|
+
GetVersionsCommandOutput,
|
|
30
|
+
EvsClientResolvedConfig,
|
|
31
|
+
ServiceInputTypes,
|
|
32
|
+
ServiceOutputTypes
|
|
33
|
+
>;
|
|
34
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
35
|
+
};
|
|
36
|
+
export declare class GetVersionsCommand extends GetVersionsCommand_base {
|
|
37
|
+
protected static __types: {
|
|
38
|
+
api: {
|
|
39
|
+
input: {};
|
|
40
|
+
output: GetVersionsResponse;
|
|
41
|
+
};
|
|
42
|
+
sdk: {
|
|
43
|
+
input: GetVersionsCommandInput;
|
|
44
|
+
output: GetVersionsCommandOutput;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -5,6 +5,7 @@ export * from "./DeleteEnvironmentCommand";
|
|
|
5
5
|
export * from "./DeleteEnvironmentHostCommand";
|
|
6
6
|
export * from "./DisassociateEipFromVlanCommand";
|
|
7
7
|
export * from "./GetEnvironmentCommand";
|
|
8
|
+
export * from "./GetVersionsCommand";
|
|
8
9
|
export * from "./ListEnvironmentHostsCommand";
|
|
9
10
|
export * from "./ListEnvironmentVlansCommand";
|
|
10
11
|
export * from "./ListEnvironmentsCommand";
|
|
@@ -20,6 +20,7 @@ export declare const _InstanceType: {
|
|
|
20
20
|
export type _InstanceType = (typeof _InstanceType)[keyof typeof _InstanceType];
|
|
21
21
|
export declare const VcfVersion: {
|
|
22
22
|
readonly VCF_5_2_1: "VCF-5.2.1";
|
|
23
|
+
readonly VCF_5_2_2: "VCF-5.2.2";
|
|
23
24
|
};
|
|
24
25
|
export type VcfVersion = (typeof VcfVersion)[keyof typeof VcfVersion];
|
|
25
26
|
export declare const CheckResult: {
|
|
@@ -29,6 +29,14 @@ export declare class ValidationException extends __BaseException {
|
|
|
29
29
|
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
30
30
|
);
|
|
31
31
|
}
|
|
32
|
+
export declare class InternalServerException extends __BaseException {
|
|
33
|
+
readonly name: "InternalServerException";
|
|
34
|
+
readonly $fault: "server";
|
|
35
|
+
$retryable: {};
|
|
36
|
+
constructor(
|
|
37
|
+
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
38
|
+
);
|
|
39
|
+
}
|
|
32
40
|
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
33
41
|
readonly name: "ServiceQuotaExceededException";
|
|
34
42
|
readonly $fault: "client";
|
|
@@ -138,6 +138,7 @@ export interface CreateEnvironmentHostRequest {
|
|
|
138
138
|
clientToken?: string | undefined;
|
|
139
139
|
environmentId: string | undefined;
|
|
140
140
|
host: HostInfoForCreate | undefined;
|
|
141
|
+
esxVersion?: string | undefined;
|
|
141
142
|
}
|
|
142
143
|
export interface EnvironmentSummary {
|
|
143
144
|
environmentId?: string | undefined;
|
|
@@ -228,6 +229,21 @@ export interface ListEnvironmentVlansResponse {
|
|
|
228
229
|
nextToken?: string | undefined;
|
|
229
230
|
environmentVlans?: Vlan[] | undefined;
|
|
230
231
|
}
|
|
232
|
+
export interface GetVersionsRequest {}
|
|
233
|
+
export interface InstanceTypeEsxVersionsInfo {
|
|
234
|
+
instanceType: _InstanceType | undefined;
|
|
235
|
+
esxVersions: string[] | undefined;
|
|
236
|
+
}
|
|
237
|
+
export interface VcfVersionInfo {
|
|
238
|
+
vcfVersion: VcfVersion | undefined;
|
|
239
|
+
status: string | undefined;
|
|
240
|
+
defaultEsxVersion: string | undefined;
|
|
241
|
+
instanceTypes: _InstanceType[] | undefined;
|
|
242
|
+
}
|
|
243
|
+
export interface GetVersionsResponse {
|
|
244
|
+
vcfVersions: VcfVersionInfo[] | undefined;
|
|
245
|
+
instanceTypeEsxVersions: InstanceTypeEsxVersionsInfo[] | undefined;
|
|
246
|
+
}
|
|
231
247
|
export interface ListTagsForResourceRequest {
|
|
232
248
|
resourceArn: string | undefined;
|
|
233
249
|
}
|
|
@@ -22,10 +22,14 @@ export declare var Environment$: StaticStructureSchema;
|
|
|
22
22
|
export declare var EnvironmentSummary$: StaticStructureSchema;
|
|
23
23
|
export declare var GetEnvironmentRequest$: StaticStructureSchema;
|
|
24
24
|
export declare var GetEnvironmentResponse$: StaticStructureSchema;
|
|
25
|
+
export declare var GetVersionsRequest$: StaticStructureSchema;
|
|
26
|
+
export declare var GetVersionsResponse$: StaticStructureSchema;
|
|
25
27
|
export declare var Host$: StaticStructureSchema;
|
|
26
28
|
export declare var HostInfoForCreate$: StaticStructureSchema;
|
|
27
29
|
export declare var InitialVlanInfo$: StaticStructureSchema;
|
|
28
30
|
export declare var InitialVlans$: StaticStructureSchema;
|
|
31
|
+
export declare var InstanceTypeEsxVersionsInfo$: StaticStructureSchema;
|
|
32
|
+
export declare var InternalServerException$: StaticErrorSchema;
|
|
29
33
|
export declare var LicenseInfo$: StaticStructureSchema;
|
|
30
34
|
export declare var ListEnvironmentHostsRequest$: StaticStructureSchema;
|
|
31
35
|
export declare var ListEnvironmentHostsResponse$: StaticStructureSchema;
|
|
@@ -50,6 +54,7 @@ export declare var UntagResourceResponse$: StaticStructureSchema;
|
|
|
50
54
|
export declare var ValidationException$: StaticErrorSchema;
|
|
51
55
|
export declare var ValidationExceptionField$: StaticStructureSchema;
|
|
52
56
|
export declare var VcfHostnames$: StaticStructureSchema;
|
|
57
|
+
export declare var VcfVersionInfo$: StaticStructureSchema;
|
|
53
58
|
export declare var Vlan$: StaticStructureSchema;
|
|
54
59
|
export declare var EvsServiceException$: StaticErrorSchema;
|
|
55
60
|
export declare var AssociateEipToVlan$: StaticOperationSchema;
|
|
@@ -59,6 +64,7 @@ export declare var DeleteEnvironment$: StaticOperationSchema;
|
|
|
59
64
|
export declare var DeleteEnvironmentHost$: StaticOperationSchema;
|
|
60
65
|
export declare var DisassociateEipFromVlan$: StaticOperationSchema;
|
|
61
66
|
export declare var GetEnvironment$: StaticOperationSchema;
|
|
67
|
+
export declare var GetVersions$: StaticOperationSchema;
|
|
62
68
|
export declare var ListEnvironmentHosts$: StaticOperationSchema;
|
|
63
69
|
export declare var ListEnvironments$: StaticOperationSchema;
|
|
64
70
|
export declare var ListEnvironmentVlans$: StaticOperationSchema;
|