@aws-sdk/client-evs 3.824.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (143) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +293 -0
  3. package/dist-cjs/Evs.js +33 -0
  4. package/dist-cjs/EvsClient.js +52 -0
  5. package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
  6. package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
  7. package/dist-cjs/commands/CreateEnvironmentCommand.js +26 -0
  8. package/dist-cjs/commands/CreateEnvironmentHostCommand.js +26 -0
  9. package/dist-cjs/commands/DeleteEnvironmentCommand.js +26 -0
  10. package/dist-cjs/commands/DeleteEnvironmentHostCommand.js +26 -0
  11. package/dist-cjs/commands/GetEnvironmentCommand.js +26 -0
  12. package/dist-cjs/commands/ListEnvironmentHostsCommand.js +26 -0
  13. package/dist-cjs/commands/ListEnvironmentVlansCommand.js +26 -0
  14. package/dist-cjs/commands/ListEnvironmentsCommand.js +26 -0
  15. package/dist-cjs/commands/ListTagsForResourceCommand.js +26 -0
  16. package/dist-cjs/commands/TagResourceCommand.js +26 -0
  17. package/dist-cjs/commands/UntagResourceCommand.js +26 -0
  18. package/dist-cjs/commands/index.js +14 -0
  19. package/dist-cjs/endpoint/EndpointParameters.js +17 -0
  20. package/dist-cjs/endpoint/endpointResolver.js +18 -0
  21. package/dist-cjs/endpoint/ruleset.js +7 -0
  22. package/dist-cjs/extensionConfiguration.js +2 -0
  23. package/dist-cjs/index.js +11 -0
  24. package/dist-cjs/models/EvsServiceException.js +12 -0
  25. package/dist-cjs/models/index.js +4 -0
  26. package/dist-cjs/models/models_0.js +126 -0
  27. package/dist-cjs/pagination/Interfaces.js +2 -0
  28. package/dist-cjs/pagination/ListEnvironmentHostsPaginator.js +7 -0
  29. package/dist-cjs/pagination/ListEnvironmentVlansPaginator.js +7 -0
  30. package/dist-cjs/pagination/ListEnvironmentsPaginator.js +7 -0
  31. package/dist-cjs/pagination/index.js +7 -0
  32. package/dist-cjs/protocols/Aws_json1_0.js +536 -0
  33. package/dist-cjs/runtimeConfig.browser.js +39 -0
  34. package/dist-cjs/runtimeConfig.js +56 -0
  35. package/dist-cjs/runtimeConfig.native.js +15 -0
  36. package/dist-cjs/runtimeConfig.shared.js +34 -0
  37. package/dist-cjs/runtimeExtensions.js +13 -0
  38. package/dist-es/Evs.js +29 -0
  39. package/dist-es/EvsClient.js +48 -0
  40. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  41. package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
  42. package/dist-es/commands/CreateEnvironmentCommand.js +22 -0
  43. package/dist-es/commands/CreateEnvironmentHostCommand.js +22 -0
  44. package/dist-es/commands/DeleteEnvironmentCommand.js +22 -0
  45. package/dist-es/commands/DeleteEnvironmentHostCommand.js +22 -0
  46. package/dist-es/commands/GetEnvironmentCommand.js +22 -0
  47. package/dist-es/commands/ListEnvironmentHostsCommand.js +22 -0
  48. package/dist-es/commands/ListEnvironmentVlansCommand.js +22 -0
  49. package/dist-es/commands/ListEnvironmentsCommand.js +22 -0
  50. package/dist-es/commands/ListTagsForResourceCommand.js +22 -0
  51. package/dist-es/commands/TagResourceCommand.js +22 -0
  52. package/dist-es/commands/UntagResourceCommand.js +22 -0
  53. package/dist-es/commands/index.js +11 -0
  54. package/dist-es/endpoint/EndpointParameters.js +13 -0
  55. package/dist-es/endpoint/endpointResolver.js +14 -0
  56. package/dist-es/endpoint/ruleset.js +4 -0
  57. package/dist-es/extensionConfiguration.js +1 -0
  58. package/dist-es/index.js +6 -0
  59. package/dist-es/models/EvsServiceException.js +8 -0
  60. package/dist-es/models/index.js +1 -0
  61. package/dist-es/models/models_0.js +118 -0
  62. package/dist-es/pagination/Interfaces.js +1 -0
  63. package/dist-es/pagination/ListEnvironmentHostsPaginator.js +4 -0
  64. package/dist-es/pagination/ListEnvironmentVlansPaginator.js +4 -0
  65. package/dist-es/pagination/ListEnvironmentsPaginator.js +4 -0
  66. package/dist-es/pagination/index.js +4 -0
  67. package/dist-es/protocols/Aws_json1_0.js +511 -0
  68. package/dist-es/runtimeConfig.browser.js +34 -0
  69. package/dist-es/runtimeConfig.js +51 -0
  70. package/dist-es/runtimeConfig.native.js +11 -0
  71. package/dist-es/runtimeConfig.shared.js +30 -0
  72. package/dist-es/runtimeExtensions.js +9 -0
  73. package/dist-types/Evs.d.ts +88 -0
  74. package/dist-types/EvsClient.d.ts +198 -0
  75. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  76. package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
  77. package/dist-types/commands/CreateEnvironmentCommand.d.ts +197 -0
  78. package/dist-types/commands/CreateEnvironmentHostCommand.d.ts +113 -0
  79. package/dist-types/commands/DeleteEnvironmentCommand.d.ts +133 -0
  80. package/dist-types/commands/DeleteEnvironmentHostCommand.d.ts +107 -0
  81. package/dist-types/commands/GetEnvironmentCommand.d.ts +132 -0
  82. package/dist-types/commands/ListEnvironmentHostsCommand.d.ts +100 -0
  83. package/dist-types/commands/ListEnvironmentVlansCommand.d.ts +93 -0
  84. package/dist-types/commands/ListEnvironmentsCommand.d.ts +91 -0
  85. package/dist-types/commands/ListTagsForResourceCommand.d.ts +77 -0
  86. package/dist-types/commands/TagResourceCommand.d.ts +82 -0
  87. package/dist-types/commands/UntagResourceCommand.d.ts +79 -0
  88. package/dist-types/commands/index.d.ts +11 -0
  89. package/dist-types/endpoint/EndpointParameters.d.ts +38 -0
  90. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  91. package/dist-types/endpoint/ruleset.d.ts +2 -0
  92. package/dist-types/extensionConfiguration.d.ts +9 -0
  93. package/dist-types/index.d.ts +14 -0
  94. package/dist-types/models/EvsServiceException.d.ts +14 -0
  95. package/dist-types/models/index.d.ts +1 -0
  96. package/dist-types/models/models_0.d.ts +1083 -0
  97. package/dist-types/pagination/Interfaces.d.ts +8 -0
  98. package/dist-types/pagination/ListEnvironmentHostsPaginator.d.ts +7 -0
  99. package/dist-types/pagination/ListEnvironmentVlansPaginator.d.ts +7 -0
  100. package/dist-types/pagination/ListEnvironmentsPaginator.d.ts +7 -0
  101. package/dist-types/pagination/index.d.ts +4 -0
  102. package/dist-types/protocols/Aws_json1_0.d.ts +101 -0
  103. package/dist-types/runtimeConfig.browser.d.ts +50 -0
  104. package/dist-types/runtimeConfig.d.ts +50 -0
  105. package/dist-types/runtimeConfig.native.d.ts +49 -0
  106. package/dist-types/runtimeConfig.shared.d.ts +21 -0
  107. package/dist-types/runtimeExtensions.d.ts +17 -0
  108. package/dist-types/ts3.4/Evs.d.ts +193 -0
  109. package/dist-types/ts3.4/EvsClient.d.ts +182 -0
  110. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  111. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +46 -0
  112. package/dist-types/ts3.4/commands/CreateEnvironmentCommand.d.ts +51 -0
  113. package/dist-types/ts3.4/commands/CreateEnvironmentHostCommand.d.ts +51 -0
  114. package/dist-types/ts3.4/commands/DeleteEnvironmentCommand.d.ts +51 -0
  115. package/dist-types/ts3.4/commands/DeleteEnvironmentHostCommand.d.ts +51 -0
  116. package/dist-types/ts3.4/commands/GetEnvironmentCommand.d.ts +50 -0
  117. package/dist-types/ts3.4/commands/ListEnvironmentHostsCommand.d.ts +51 -0
  118. package/dist-types/ts3.4/commands/ListEnvironmentVlansCommand.d.ts +51 -0
  119. package/dist-types/ts3.4/commands/ListEnvironmentsCommand.d.ts +50 -0
  120. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +51 -0
  121. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +47 -0
  122. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +50 -0
  123. package/dist-types/ts3.4/commands/index.d.ts +11 -0
  124. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +48 -0
  125. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  126. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  127. package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
  128. package/dist-types/ts3.4/index.d.ts +9 -0
  129. package/dist-types/ts3.4/models/EvsServiceException.d.ts +9 -0
  130. package/dist-types/ts3.4/models/index.d.ts +1 -0
  131. package/dist-types/ts3.4/models/models_0.d.ts +306 -0
  132. package/dist-types/ts3.4/pagination/Interfaces.d.ts +5 -0
  133. package/dist-types/ts3.4/pagination/ListEnvironmentHostsPaginator.d.ts +11 -0
  134. package/dist-types/ts3.4/pagination/ListEnvironmentVlansPaginator.d.ts +11 -0
  135. package/dist-types/ts3.4/pagination/ListEnvironmentsPaginator.d.ts +11 -0
  136. package/dist-types/ts3.4/pagination/index.d.ts +4 -0
  137. package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +137 -0
  138. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +90 -0
  139. package/dist-types/ts3.4/runtimeConfig.d.ts +89 -0
  140. package/dist-types/ts3.4/runtimeConfig.native.d.ts +94 -0
  141. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +21 -0
  142. package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
  143. package/package.json +101 -0
@@ -0,0 +1,113 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { EvsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EvsClient";
4
+ import { CreateEnvironmentHostRequest, CreateEnvironmentHostResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link CreateEnvironmentHostCommand}.
14
+ */
15
+ export interface CreateEnvironmentHostCommandInput extends CreateEnvironmentHostRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CreateEnvironmentHostCommand}.
21
+ */
22
+ export interface CreateEnvironmentHostCommandOutput extends CreateEnvironmentHostResponse, __MetadataBearer {
23
+ }
24
+ declare const CreateEnvironmentHostCommand_base: {
25
+ new (input: CreateEnvironmentHostCommandInput): import("@smithy/smithy-client").CommandImpl<CreateEnvironmentHostCommandInput, CreateEnvironmentHostCommandOutput, EvsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: CreateEnvironmentHostCommandInput): import("@smithy/smithy-client").CommandImpl<CreateEnvironmentHostCommandInput, CreateEnvironmentHostCommandOutput, EvsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Creates an ESXi host and adds it to an Amazon EVS environment. Amazon EVS supports 4-16 hosts per environment.</p> <p>This action can only be used after the Amazon EVS environment is deployed. All Amazon EVS hosts are created with the latest AMI release version for the respective VCF version of the environment.</p> <p>You can use the <code>dedicatedHostId</code> parameter to specify an Amazon EC2 Dedicated Host for ESXi host creation.</p> <p> You can use the <code>placementGroupId</code> parameter to specify a cluster or partition placement group to launch EC2 instances into.</p> <note> <p>You cannot use the <code>dedicatedHostId</code> and <code>placementGroupId</code> parameters together in the same <code>CreateEnvironmentHost</code> action. This results in a <code>ValidationException</code> response.</p> </note> <note> <p>EC2 instances created through Amazon EVS do not support associating an IAM instance profile.</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, CreateEnvironmentHostCommand } from "@aws-sdk/client-evs"; // ES Modules import
35
+ * // const { EvsClient, CreateEnvironmentHostCommand } = require("@aws-sdk/client-evs"); // CommonJS import
36
+ * const client = new EvsClient(config);
37
+ * const input = { // CreateEnvironmentHostRequest
38
+ * clientToken: "STRING_VALUE",
39
+ * environmentId: "STRING_VALUE", // required
40
+ * host: { // HostInfoForCreate
41
+ * hostName: "STRING_VALUE", // required
42
+ * keyName: "STRING_VALUE", // required
43
+ * instanceType: "i4i.metal", // required
44
+ * placementGroupId: "STRING_VALUE",
45
+ * dedicatedHostId: "STRING_VALUE",
46
+ * },
47
+ * };
48
+ * const command = new CreateEnvironmentHostCommand(input);
49
+ * const response = await client.send(command);
50
+ * // { // CreateEnvironmentHostResponse
51
+ * // environmentSummary: { // EnvironmentSummary
52
+ * // environmentId: "STRING_VALUE",
53
+ * // environmentName: "STRING_VALUE",
54
+ * // vcfVersion: "VCF-5.2.1",
55
+ * // environmentStatus: "PASSED" || "FAILED" || "UNKNOWN",
56
+ * // environmentState: "CREATING" || "CREATED" || "DELETING" || "DELETED" || "CREATE_FAILED",
57
+ * // createdAt: new Date("TIMESTAMP"),
58
+ * // modifiedAt: new Date("TIMESTAMP"),
59
+ * // environmentArn: "STRING_VALUE",
60
+ * // },
61
+ * // host: { // Host
62
+ * // hostName: "STRING_VALUE",
63
+ * // ipAddress: "STRING_VALUE",
64
+ * // keyName: "STRING_VALUE",
65
+ * // instanceType: "i4i.metal",
66
+ * // placementGroupId: "STRING_VALUE",
67
+ * // dedicatedHostId: "STRING_VALUE",
68
+ * // createdAt: new Date("TIMESTAMP"),
69
+ * // modifiedAt: new Date("TIMESTAMP"),
70
+ * // hostState: "CREATING" || "CREATED" || "UPDATING" || "DELETING" || "DELETED" || "CREATE_FAILED" || "UPDATE_FAILED",
71
+ * // stateDetails: "STRING_VALUE",
72
+ * // ec2InstanceId: "STRING_VALUE",
73
+ * // networkInterfaces: [ // NetworkInterfaceList
74
+ * // { // NetworkInterface
75
+ * // networkInterfaceId: "STRING_VALUE",
76
+ * // },
77
+ * // ],
78
+ * // },
79
+ * // };
80
+ *
81
+ * ```
82
+ *
83
+ * @param CreateEnvironmentHostCommandInput - {@link CreateEnvironmentHostCommandInput}
84
+ * @returns {@link CreateEnvironmentHostCommandOutput}
85
+ * @see {@link CreateEnvironmentHostCommandInput} for command's `input` shape.
86
+ * @see {@link CreateEnvironmentHostCommandOutput} for command's `response` shape.
87
+ * @see {@link EvsClientResolvedConfig | config} for EvsClient's `config` shape.
88
+ *
89
+ * @throws {@link ThrottlingException} (client fault)
90
+ * <p>The <code>CreateEnvironmentHost</code> operation couldn't be performed because the service is throttling requests. This exception is thrown when the <code>CreateEnvironmentHost</code> request exceeds concurrency of 1 transaction per second (TPS).</p>
91
+ *
92
+ * @throws {@link ValidationException} (client fault)
93
+ * <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>
94
+ *
95
+ * @throws {@link EvsServiceException}
96
+ * <p>Base exception class for all service exceptions from Evs service.</p>
97
+ *
98
+ *
99
+ * @public
100
+ */
101
+ export declare class CreateEnvironmentHostCommand extends CreateEnvironmentHostCommand_base {
102
+ /** @internal type navigation helper, not in runtime. */
103
+ protected static __types: {
104
+ api: {
105
+ input: CreateEnvironmentHostRequest;
106
+ output: CreateEnvironmentHostResponse;
107
+ };
108
+ sdk: {
109
+ input: CreateEnvironmentHostCommandInput;
110
+ output: CreateEnvironmentHostCommandOutput;
111
+ };
112
+ };
113
+ }
@@ -0,0 +1,133 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { EvsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EvsClient";
4
+ import { DeleteEnvironmentRequest, DeleteEnvironmentResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DeleteEnvironmentCommand}.
14
+ */
15
+ export interface DeleteEnvironmentCommandInput extends DeleteEnvironmentRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DeleteEnvironmentCommand}.
21
+ */
22
+ export interface DeleteEnvironmentCommandOutput extends DeleteEnvironmentResponse, __MetadataBearer {
23
+ }
24
+ declare const DeleteEnvironmentCommand_base: {
25
+ new (input: DeleteEnvironmentCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteEnvironmentCommandInput, DeleteEnvironmentCommandOutput, EvsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: DeleteEnvironmentCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteEnvironmentCommandInput, DeleteEnvironmentCommandOutput, EvsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Deletes an Amazon EVS environment.</p> <p>Amazon EVS environments will only be enabled for deletion once the hosts are deleted. You can delete hosts using the <code>DeleteEnvironmentHost</code> action.</p> <p>Environment deletion also deletes the associated Amazon EVS VLAN subnets. Other associated Amazon Web Services resources are not deleted. These resources may continue to incur costs.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { EvsClient, DeleteEnvironmentCommand } from "@aws-sdk/client-evs"; // ES Modules import
35
+ * // const { EvsClient, DeleteEnvironmentCommand } = require("@aws-sdk/client-evs"); // CommonJS import
36
+ * const client = new EvsClient(config);
37
+ * const input = { // DeleteEnvironmentRequest
38
+ * clientToken: "STRING_VALUE",
39
+ * environmentId: "STRING_VALUE", // required
40
+ * };
41
+ * const command = new DeleteEnvironmentCommand(input);
42
+ * const response = await client.send(command);
43
+ * // { // DeleteEnvironmentResponse
44
+ * // environment: { // Environment
45
+ * // environmentId: "STRING_VALUE",
46
+ * // environmentState: "CREATING" || "CREATED" || "DELETING" || "DELETED" || "CREATE_FAILED",
47
+ * // stateDetails: "STRING_VALUE",
48
+ * // createdAt: new Date("TIMESTAMP"),
49
+ * // modifiedAt: new Date("TIMESTAMP"),
50
+ * // environmentArn: "STRING_VALUE",
51
+ * // environmentName: "STRING_VALUE",
52
+ * // vpcId: "STRING_VALUE",
53
+ * // serviceAccessSubnetId: "STRING_VALUE",
54
+ * // vcfVersion: "VCF-5.2.1",
55
+ * // termsAccepted: true || false,
56
+ * // licenseInfo: [ // LicenseInfoList
57
+ * // { // LicenseInfo
58
+ * // solutionKey: "STRING_VALUE", // required
59
+ * // vsanKey: "STRING_VALUE", // required
60
+ * // },
61
+ * // ],
62
+ * // siteId: "STRING_VALUE",
63
+ * // environmentStatus: "PASSED" || "FAILED" || "UNKNOWN",
64
+ * // checks: [ // ChecksList
65
+ * // { // Check
66
+ * // type: "KEY_REUSE" || "KEY_COVERAGE" || "REACHABILITY" || "HOST_COUNT",
67
+ * // result: "PASSED" || "FAILED" || "UNKNOWN",
68
+ * // impairedSince: new Date("TIMESTAMP"),
69
+ * // },
70
+ * // ],
71
+ * // connectivityInfo: { // ConnectivityInfo
72
+ * // privateRouteServerPeerings: [ // RouteServerPeeringList // required
73
+ * // "STRING_VALUE",
74
+ * // ],
75
+ * // },
76
+ * // vcfHostnames: { // VcfHostnames
77
+ * // vCenter: "STRING_VALUE", // required
78
+ * // nsx: "STRING_VALUE", // required
79
+ * // nsxManager1: "STRING_VALUE", // required
80
+ * // nsxManager2: "STRING_VALUE", // required
81
+ * // nsxManager3: "STRING_VALUE", // required
82
+ * // nsxEdge1: "STRING_VALUE", // required
83
+ * // nsxEdge2: "STRING_VALUE", // required
84
+ * // sddcManager: "STRING_VALUE", // required
85
+ * // cloudBuilder: "STRING_VALUE", // required
86
+ * // },
87
+ * // kmsKeyId: "STRING_VALUE",
88
+ * // serviceAccessSecurityGroups: { // ServiceAccessSecurityGroups
89
+ * // securityGroups: [ // SecurityGroups
90
+ * // "STRING_VALUE",
91
+ * // ],
92
+ * // },
93
+ * // credentials: [ // SecretList
94
+ * // { // Secret
95
+ * // secretArn: "STRING_VALUE",
96
+ * // },
97
+ * // ],
98
+ * // },
99
+ * // };
100
+ *
101
+ * ```
102
+ *
103
+ * @param DeleteEnvironmentCommandInput - {@link DeleteEnvironmentCommandInput}
104
+ * @returns {@link DeleteEnvironmentCommandOutput}
105
+ * @see {@link DeleteEnvironmentCommandInput} for command's `input` shape.
106
+ * @see {@link DeleteEnvironmentCommandOutput} for command's `response` shape.
107
+ * @see {@link EvsClientResolvedConfig | config} for EvsClient's `config` shape.
108
+ *
109
+ * @throws {@link ResourceNotFoundException} (client fault)
110
+ * <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>
111
+ *
112
+ * @throws {@link ValidationException} (client fault)
113
+ * <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>
114
+ *
115
+ * @throws {@link EvsServiceException}
116
+ * <p>Base exception class for all service exceptions from Evs service.</p>
117
+ *
118
+ *
119
+ * @public
120
+ */
121
+ export declare class DeleteEnvironmentCommand extends DeleteEnvironmentCommand_base {
122
+ /** @internal type navigation helper, not in runtime. */
123
+ protected static __types: {
124
+ api: {
125
+ input: DeleteEnvironmentRequest;
126
+ output: DeleteEnvironmentResponse;
127
+ };
128
+ sdk: {
129
+ input: DeleteEnvironmentCommandInput;
130
+ output: DeleteEnvironmentCommandOutput;
131
+ };
132
+ };
133
+ }
@@ -0,0 +1,107 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { EvsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EvsClient";
4
+ import { DeleteEnvironmentHostRequest, DeleteEnvironmentHostResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DeleteEnvironmentHostCommand}.
14
+ */
15
+ export interface DeleteEnvironmentHostCommandInput extends DeleteEnvironmentHostRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DeleteEnvironmentHostCommand}.
21
+ */
22
+ export interface DeleteEnvironmentHostCommandOutput extends DeleteEnvironmentHostResponse, __MetadataBearer {
23
+ }
24
+ declare const DeleteEnvironmentHostCommand_base: {
25
+ new (input: DeleteEnvironmentHostCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteEnvironmentHostCommandInput, DeleteEnvironmentHostCommandOutput, EvsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: DeleteEnvironmentHostCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteEnvironmentHostCommandInput, DeleteEnvironmentHostCommandOutput, EvsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Deletes a host from an Amazon EVS environment.</p> <note> <p>Before deleting a host, you must unassign and decommission the host from within the SDDC Manager user interface. Not doing so could impact the availability of your virtual machines or result in data loss.</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, DeleteEnvironmentHostCommand } from "@aws-sdk/client-evs"; // ES Modules import
35
+ * // const { EvsClient, DeleteEnvironmentHostCommand } = require("@aws-sdk/client-evs"); // CommonJS import
36
+ * const client = new EvsClient(config);
37
+ * const input = { // DeleteEnvironmentHostRequest
38
+ * clientToken: "STRING_VALUE",
39
+ * environmentId: "STRING_VALUE", // required
40
+ * hostName: "STRING_VALUE", // required
41
+ * };
42
+ * const command = new DeleteEnvironmentHostCommand(input);
43
+ * const response = await client.send(command);
44
+ * // { // DeleteEnvironmentHostResponse
45
+ * // environmentSummary: { // EnvironmentSummary
46
+ * // environmentId: "STRING_VALUE",
47
+ * // environmentName: "STRING_VALUE",
48
+ * // vcfVersion: "VCF-5.2.1",
49
+ * // environmentStatus: "PASSED" || "FAILED" || "UNKNOWN",
50
+ * // environmentState: "CREATING" || "CREATED" || "DELETING" || "DELETED" || "CREATE_FAILED",
51
+ * // createdAt: new Date("TIMESTAMP"),
52
+ * // modifiedAt: new Date("TIMESTAMP"),
53
+ * // environmentArn: "STRING_VALUE",
54
+ * // },
55
+ * // host: { // Host
56
+ * // hostName: "STRING_VALUE",
57
+ * // ipAddress: "STRING_VALUE",
58
+ * // keyName: "STRING_VALUE",
59
+ * // instanceType: "i4i.metal",
60
+ * // placementGroupId: "STRING_VALUE",
61
+ * // dedicatedHostId: "STRING_VALUE",
62
+ * // createdAt: new Date("TIMESTAMP"),
63
+ * // modifiedAt: new Date("TIMESTAMP"),
64
+ * // hostState: "CREATING" || "CREATED" || "UPDATING" || "DELETING" || "DELETED" || "CREATE_FAILED" || "UPDATE_FAILED",
65
+ * // stateDetails: "STRING_VALUE",
66
+ * // ec2InstanceId: "STRING_VALUE",
67
+ * // networkInterfaces: [ // NetworkInterfaceList
68
+ * // { // NetworkInterface
69
+ * // networkInterfaceId: "STRING_VALUE",
70
+ * // },
71
+ * // ],
72
+ * // },
73
+ * // };
74
+ *
75
+ * ```
76
+ *
77
+ * @param DeleteEnvironmentHostCommandInput - {@link DeleteEnvironmentHostCommandInput}
78
+ * @returns {@link DeleteEnvironmentHostCommandOutput}
79
+ * @see {@link DeleteEnvironmentHostCommandInput} for command's `input` shape.
80
+ * @see {@link DeleteEnvironmentHostCommandOutput} for command's `response` shape.
81
+ * @see {@link EvsClientResolvedConfig | config} for EvsClient's `config` shape.
82
+ *
83
+ * @throws {@link ResourceNotFoundException} (client fault)
84
+ * <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>
85
+ *
86
+ * @throws {@link ValidationException} (client fault)
87
+ * <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>
88
+ *
89
+ * @throws {@link EvsServiceException}
90
+ * <p>Base exception class for all service exceptions from Evs service.</p>
91
+ *
92
+ *
93
+ * @public
94
+ */
95
+ export declare class DeleteEnvironmentHostCommand extends DeleteEnvironmentHostCommand_base {
96
+ /** @internal type navigation helper, not in runtime. */
97
+ protected static __types: {
98
+ api: {
99
+ input: DeleteEnvironmentHostRequest;
100
+ output: DeleteEnvironmentHostResponse;
101
+ };
102
+ sdk: {
103
+ input: DeleteEnvironmentHostCommandInput;
104
+ output: DeleteEnvironmentHostCommandOutput;
105
+ };
106
+ };
107
+ }
@@ -0,0 +1,132 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { EvsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EvsClient";
4
+ import { GetEnvironmentRequest, GetEnvironmentResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link GetEnvironmentCommand}.
14
+ */
15
+ export interface GetEnvironmentCommandInput extends GetEnvironmentRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetEnvironmentCommand}.
21
+ */
22
+ export interface GetEnvironmentCommandOutput extends GetEnvironmentResponse, __MetadataBearer {
23
+ }
24
+ declare const GetEnvironmentCommand_base: {
25
+ new (input: GetEnvironmentCommandInput): import("@smithy/smithy-client").CommandImpl<GetEnvironmentCommandInput, GetEnvironmentCommandOutput, EvsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: GetEnvironmentCommandInput): import("@smithy/smithy-client").CommandImpl<GetEnvironmentCommandInput, GetEnvironmentCommandOutput, EvsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Returns a description of the specified environment.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { EvsClient, GetEnvironmentCommand } from "@aws-sdk/client-evs"; // ES Modules import
35
+ * // const { EvsClient, GetEnvironmentCommand } = require("@aws-sdk/client-evs"); // CommonJS import
36
+ * const client = new EvsClient(config);
37
+ * const input = { // GetEnvironmentRequest
38
+ * environmentId: "STRING_VALUE", // required
39
+ * };
40
+ * const command = new GetEnvironmentCommand(input);
41
+ * const response = await client.send(command);
42
+ * // { // GetEnvironmentResponse
43
+ * // environment: { // Environment
44
+ * // environmentId: "STRING_VALUE",
45
+ * // environmentState: "CREATING" || "CREATED" || "DELETING" || "DELETED" || "CREATE_FAILED",
46
+ * // stateDetails: "STRING_VALUE",
47
+ * // createdAt: new Date("TIMESTAMP"),
48
+ * // modifiedAt: new Date("TIMESTAMP"),
49
+ * // environmentArn: "STRING_VALUE",
50
+ * // environmentName: "STRING_VALUE",
51
+ * // vpcId: "STRING_VALUE",
52
+ * // serviceAccessSubnetId: "STRING_VALUE",
53
+ * // vcfVersion: "VCF-5.2.1",
54
+ * // termsAccepted: true || false,
55
+ * // licenseInfo: [ // LicenseInfoList
56
+ * // { // LicenseInfo
57
+ * // solutionKey: "STRING_VALUE", // required
58
+ * // vsanKey: "STRING_VALUE", // required
59
+ * // },
60
+ * // ],
61
+ * // siteId: "STRING_VALUE",
62
+ * // environmentStatus: "PASSED" || "FAILED" || "UNKNOWN",
63
+ * // checks: [ // ChecksList
64
+ * // { // Check
65
+ * // type: "KEY_REUSE" || "KEY_COVERAGE" || "REACHABILITY" || "HOST_COUNT",
66
+ * // result: "PASSED" || "FAILED" || "UNKNOWN",
67
+ * // impairedSince: new Date("TIMESTAMP"),
68
+ * // },
69
+ * // ],
70
+ * // connectivityInfo: { // ConnectivityInfo
71
+ * // privateRouteServerPeerings: [ // RouteServerPeeringList // required
72
+ * // "STRING_VALUE",
73
+ * // ],
74
+ * // },
75
+ * // vcfHostnames: { // VcfHostnames
76
+ * // vCenter: "STRING_VALUE", // required
77
+ * // nsx: "STRING_VALUE", // required
78
+ * // nsxManager1: "STRING_VALUE", // required
79
+ * // nsxManager2: "STRING_VALUE", // required
80
+ * // nsxManager3: "STRING_VALUE", // required
81
+ * // nsxEdge1: "STRING_VALUE", // required
82
+ * // nsxEdge2: "STRING_VALUE", // required
83
+ * // sddcManager: "STRING_VALUE", // required
84
+ * // cloudBuilder: "STRING_VALUE", // required
85
+ * // },
86
+ * // kmsKeyId: "STRING_VALUE",
87
+ * // serviceAccessSecurityGroups: { // ServiceAccessSecurityGroups
88
+ * // securityGroups: [ // SecurityGroups
89
+ * // "STRING_VALUE",
90
+ * // ],
91
+ * // },
92
+ * // credentials: [ // SecretList
93
+ * // { // Secret
94
+ * // secretArn: "STRING_VALUE",
95
+ * // },
96
+ * // ],
97
+ * // },
98
+ * // };
99
+ *
100
+ * ```
101
+ *
102
+ * @param GetEnvironmentCommandInput - {@link GetEnvironmentCommandInput}
103
+ * @returns {@link GetEnvironmentCommandOutput}
104
+ * @see {@link GetEnvironmentCommandInput} for command's `input` shape.
105
+ * @see {@link GetEnvironmentCommandOutput} for command's `response` shape.
106
+ * @see {@link EvsClientResolvedConfig | config} for EvsClient's `config` shape.
107
+ *
108
+ * @throws {@link ResourceNotFoundException} (client fault)
109
+ * <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>
110
+ *
111
+ * @throws {@link ValidationException} (client fault)
112
+ * <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>
113
+ *
114
+ * @throws {@link EvsServiceException}
115
+ * <p>Base exception class for all service exceptions from Evs service.</p>
116
+ *
117
+ *
118
+ * @public
119
+ */
120
+ export declare class GetEnvironmentCommand extends GetEnvironmentCommand_base {
121
+ /** @internal type navigation helper, not in runtime. */
122
+ protected static __types: {
123
+ api: {
124
+ input: GetEnvironmentRequest;
125
+ output: GetEnvironmentResponse;
126
+ };
127
+ sdk: {
128
+ input: GetEnvironmentCommandInput;
129
+ output: GetEnvironmentCommandOutput;
130
+ };
131
+ };
132
+ }
@@ -0,0 +1,100 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { EvsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EvsClient";
4
+ import { ListEnvironmentHostsRequest, ListEnvironmentHostsResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListEnvironmentHostsCommand}.
14
+ */
15
+ export interface ListEnvironmentHostsCommandInput extends ListEnvironmentHostsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListEnvironmentHostsCommand}.
21
+ */
22
+ export interface ListEnvironmentHostsCommandOutput extends ListEnvironmentHostsResponse, __MetadataBearer {
23
+ }
24
+ declare const ListEnvironmentHostsCommand_base: {
25
+ new (input: ListEnvironmentHostsCommandInput): import("@smithy/smithy-client").CommandImpl<ListEnvironmentHostsCommandInput, ListEnvironmentHostsCommandOutput, EvsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: ListEnvironmentHostsCommandInput): import("@smithy/smithy-client").CommandImpl<ListEnvironmentHostsCommandInput, ListEnvironmentHostsCommandOutput, EvsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>List the hosts within an environment.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { EvsClient, ListEnvironmentHostsCommand } from "@aws-sdk/client-evs"; // ES Modules import
35
+ * // const { EvsClient, ListEnvironmentHostsCommand } = require("@aws-sdk/client-evs"); // CommonJS import
36
+ * const client = new EvsClient(config);
37
+ * const input = { // ListEnvironmentHostsRequest
38
+ * nextToken: "STRING_VALUE",
39
+ * maxResults: Number("int"),
40
+ * environmentId: "STRING_VALUE", // required
41
+ * };
42
+ * const command = new ListEnvironmentHostsCommand(input);
43
+ * const response = await client.send(command);
44
+ * // { // ListEnvironmentHostsResponse
45
+ * // nextToken: "STRING_VALUE",
46
+ * // environmentHosts: [ // HostList
47
+ * // { // Host
48
+ * // hostName: "STRING_VALUE",
49
+ * // ipAddress: "STRING_VALUE",
50
+ * // keyName: "STRING_VALUE",
51
+ * // instanceType: "i4i.metal",
52
+ * // placementGroupId: "STRING_VALUE",
53
+ * // dedicatedHostId: "STRING_VALUE",
54
+ * // createdAt: new Date("TIMESTAMP"),
55
+ * // modifiedAt: new Date("TIMESTAMP"),
56
+ * // hostState: "CREATING" || "CREATED" || "UPDATING" || "DELETING" || "DELETED" || "CREATE_FAILED" || "UPDATE_FAILED",
57
+ * // stateDetails: "STRING_VALUE",
58
+ * // ec2InstanceId: "STRING_VALUE",
59
+ * // networkInterfaces: [ // NetworkInterfaceList
60
+ * // { // NetworkInterface
61
+ * // networkInterfaceId: "STRING_VALUE",
62
+ * // },
63
+ * // ],
64
+ * // },
65
+ * // ],
66
+ * // };
67
+ *
68
+ * ```
69
+ *
70
+ * @param ListEnvironmentHostsCommandInput - {@link ListEnvironmentHostsCommandInput}
71
+ * @returns {@link ListEnvironmentHostsCommandOutput}
72
+ * @see {@link ListEnvironmentHostsCommandInput} for command's `input` shape.
73
+ * @see {@link ListEnvironmentHostsCommandOutput} for command's `response` shape.
74
+ * @see {@link EvsClientResolvedConfig | config} for EvsClient's `config` shape.
75
+ *
76
+ * @throws {@link ResourceNotFoundException} (client fault)
77
+ * <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>
78
+ *
79
+ * @throws {@link ValidationException} (client fault)
80
+ * <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>
81
+ *
82
+ * @throws {@link EvsServiceException}
83
+ * <p>Base exception class for all service exceptions from Evs service.</p>
84
+ *
85
+ *
86
+ * @public
87
+ */
88
+ export declare class ListEnvironmentHostsCommand extends ListEnvironmentHostsCommand_base {
89
+ /** @internal type navigation helper, not in runtime. */
90
+ protected static __types: {
91
+ api: {
92
+ input: ListEnvironmentHostsRequest;
93
+ output: ListEnvironmentHostsResponse;
94
+ };
95
+ sdk: {
96
+ input: ListEnvironmentHostsCommandInput;
97
+ output: ListEnvironmentHostsCommandOutput;
98
+ };
99
+ };
100
+ }