@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,88 @@
1
+ import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
2
+ import { CreateEnvironmentCommandInput, CreateEnvironmentCommandOutput } from "./commands/CreateEnvironmentCommand";
3
+ import { CreateEnvironmentHostCommandInput, CreateEnvironmentHostCommandOutput } from "./commands/CreateEnvironmentHostCommand";
4
+ import { DeleteEnvironmentCommandInput, DeleteEnvironmentCommandOutput } from "./commands/DeleteEnvironmentCommand";
5
+ import { DeleteEnvironmentHostCommandInput, DeleteEnvironmentHostCommandOutput } from "./commands/DeleteEnvironmentHostCommand";
6
+ import { GetEnvironmentCommandInput, GetEnvironmentCommandOutput } from "./commands/GetEnvironmentCommand";
7
+ import { ListEnvironmentHostsCommandInput, ListEnvironmentHostsCommandOutput } from "./commands/ListEnvironmentHostsCommand";
8
+ import { ListEnvironmentsCommandInput, ListEnvironmentsCommandOutput } from "./commands/ListEnvironmentsCommand";
9
+ import { ListEnvironmentVlansCommandInput, ListEnvironmentVlansCommandOutput } from "./commands/ListEnvironmentVlansCommand";
10
+ import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
11
+ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
12
+ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
13
+ import { EvsClient } from "./EvsClient";
14
+ export interface Evs {
15
+ /**
16
+ * @see {@link CreateEnvironmentCommand}
17
+ */
18
+ createEnvironment(args: CreateEnvironmentCommandInput, options?: __HttpHandlerOptions): Promise<CreateEnvironmentCommandOutput>;
19
+ createEnvironment(args: CreateEnvironmentCommandInput, cb: (err: any, data?: CreateEnvironmentCommandOutput) => void): void;
20
+ createEnvironment(args: CreateEnvironmentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateEnvironmentCommandOutput) => void): void;
21
+ /**
22
+ * @see {@link CreateEnvironmentHostCommand}
23
+ */
24
+ createEnvironmentHost(args: CreateEnvironmentHostCommandInput, options?: __HttpHandlerOptions): Promise<CreateEnvironmentHostCommandOutput>;
25
+ createEnvironmentHost(args: CreateEnvironmentHostCommandInput, cb: (err: any, data?: CreateEnvironmentHostCommandOutput) => void): void;
26
+ createEnvironmentHost(args: CreateEnvironmentHostCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateEnvironmentHostCommandOutput) => void): void;
27
+ /**
28
+ * @see {@link DeleteEnvironmentCommand}
29
+ */
30
+ deleteEnvironment(args: DeleteEnvironmentCommandInput, options?: __HttpHandlerOptions): Promise<DeleteEnvironmentCommandOutput>;
31
+ deleteEnvironment(args: DeleteEnvironmentCommandInput, cb: (err: any, data?: DeleteEnvironmentCommandOutput) => void): void;
32
+ deleteEnvironment(args: DeleteEnvironmentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteEnvironmentCommandOutput) => void): void;
33
+ /**
34
+ * @see {@link DeleteEnvironmentHostCommand}
35
+ */
36
+ deleteEnvironmentHost(args: DeleteEnvironmentHostCommandInput, options?: __HttpHandlerOptions): Promise<DeleteEnvironmentHostCommandOutput>;
37
+ deleteEnvironmentHost(args: DeleteEnvironmentHostCommandInput, cb: (err: any, data?: DeleteEnvironmentHostCommandOutput) => void): void;
38
+ deleteEnvironmentHost(args: DeleteEnvironmentHostCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteEnvironmentHostCommandOutput) => void): void;
39
+ /**
40
+ * @see {@link GetEnvironmentCommand}
41
+ */
42
+ getEnvironment(args: GetEnvironmentCommandInput, options?: __HttpHandlerOptions): Promise<GetEnvironmentCommandOutput>;
43
+ getEnvironment(args: GetEnvironmentCommandInput, cb: (err: any, data?: GetEnvironmentCommandOutput) => void): void;
44
+ getEnvironment(args: GetEnvironmentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetEnvironmentCommandOutput) => void): void;
45
+ /**
46
+ * @see {@link ListEnvironmentHostsCommand}
47
+ */
48
+ listEnvironmentHosts(args: ListEnvironmentHostsCommandInput, options?: __HttpHandlerOptions): Promise<ListEnvironmentHostsCommandOutput>;
49
+ listEnvironmentHosts(args: ListEnvironmentHostsCommandInput, cb: (err: any, data?: ListEnvironmentHostsCommandOutput) => void): void;
50
+ listEnvironmentHosts(args: ListEnvironmentHostsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListEnvironmentHostsCommandOutput) => void): void;
51
+ /**
52
+ * @see {@link ListEnvironmentsCommand}
53
+ */
54
+ listEnvironments(): Promise<ListEnvironmentsCommandOutput>;
55
+ listEnvironments(args: ListEnvironmentsCommandInput, options?: __HttpHandlerOptions): Promise<ListEnvironmentsCommandOutput>;
56
+ listEnvironments(args: ListEnvironmentsCommandInput, cb: (err: any, data?: ListEnvironmentsCommandOutput) => void): void;
57
+ listEnvironments(args: ListEnvironmentsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListEnvironmentsCommandOutput) => void): void;
58
+ /**
59
+ * @see {@link ListEnvironmentVlansCommand}
60
+ */
61
+ listEnvironmentVlans(args: ListEnvironmentVlansCommandInput, options?: __HttpHandlerOptions): Promise<ListEnvironmentVlansCommandOutput>;
62
+ listEnvironmentVlans(args: ListEnvironmentVlansCommandInput, cb: (err: any, data?: ListEnvironmentVlansCommandOutput) => void): void;
63
+ listEnvironmentVlans(args: ListEnvironmentVlansCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListEnvironmentVlansCommandOutput) => void): void;
64
+ /**
65
+ * @see {@link ListTagsForResourceCommand}
66
+ */
67
+ listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
68
+ listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
69
+ listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
70
+ /**
71
+ * @see {@link TagResourceCommand}
72
+ */
73
+ tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
74
+ tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
75
+ tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
76
+ /**
77
+ * @see {@link UntagResourceCommand}
78
+ */
79
+ untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
80
+ untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
81
+ untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
82
+ }
83
+ /**
84
+ * <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>
85
+ * @public
86
+ */
87
+ export declare class Evs extends EvsClient implements Evs {
88
+ }
@@ -0,0 +1,198 @@
1
+ import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
2
+ import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
3
+ import { RegionInputConfig, RegionResolvedConfig } from "@smithy/config-resolver";
4
+ import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/middleware-endpoint";
5
+ import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry";
6
+ import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
7
+ import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
8
+ import { 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, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
9
+ import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
10
+ import { CreateEnvironmentCommandInput, CreateEnvironmentCommandOutput } from "./commands/CreateEnvironmentCommand";
11
+ import { CreateEnvironmentHostCommandInput, CreateEnvironmentHostCommandOutput } from "./commands/CreateEnvironmentHostCommand";
12
+ import { DeleteEnvironmentCommandInput, DeleteEnvironmentCommandOutput } from "./commands/DeleteEnvironmentCommand";
13
+ import { DeleteEnvironmentHostCommandInput, DeleteEnvironmentHostCommandOutput } from "./commands/DeleteEnvironmentHostCommand";
14
+ import { GetEnvironmentCommandInput, GetEnvironmentCommandOutput } from "./commands/GetEnvironmentCommand";
15
+ import { ListEnvironmentHostsCommandInput, ListEnvironmentHostsCommandOutput } from "./commands/ListEnvironmentHostsCommand";
16
+ import { ListEnvironmentsCommandInput, ListEnvironmentsCommandOutput } from "./commands/ListEnvironmentsCommand";
17
+ import { ListEnvironmentVlansCommandInput, ListEnvironmentVlansCommandOutput } from "./commands/ListEnvironmentVlansCommand";
18
+ import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
19
+ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
20
+ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
21
+ import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
22
+ import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
23
+ export { __Client };
24
+ /**
25
+ * @public
26
+ */
27
+ export type ServiceInputTypes = CreateEnvironmentCommandInput | CreateEnvironmentHostCommandInput | DeleteEnvironmentCommandInput | DeleteEnvironmentHostCommandInput | GetEnvironmentCommandInput | ListEnvironmentHostsCommandInput | ListEnvironmentVlansCommandInput | ListEnvironmentsCommandInput | ListTagsForResourceCommandInput | TagResourceCommandInput | UntagResourceCommandInput;
28
+ /**
29
+ * @public
30
+ */
31
+ export type ServiceOutputTypes = CreateEnvironmentCommandOutput | CreateEnvironmentHostCommandOutput | DeleteEnvironmentCommandOutput | DeleteEnvironmentHostCommandOutput | GetEnvironmentCommandOutput | ListEnvironmentHostsCommandOutput | ListEnvironmentVlansCommandOutput | ListEnvironmentsCommandOutput | ListTagsForResourceCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput;
32
+ /**
33
+ * @public
34
+ */
35
+ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
36
+ /**
37
+ * The HTTP handler to use or its constructor options. Fetch in browser and Https in Nodejs.
38
+ */
39
+ requestHandler?: __HttpHandlerUserInput;
40
+ /**
41
+ * A constructor for a class implementing the {@link @smithy/types#ChecksumConstructor} interface
42
+ * that computes the SHA-256 HMAC or checksum of a string or binary buffer.
43
+ * @internal
44
+ */
45
+ sha256?: __ChecksumConstructor | __HashConstructor;
46
+ /**
47
+ * The function that will be used to convert strings into HTTP endpoints.
48
+ * @internal
49
+ */
50
+ urlParser?: __UrlParser;
51
+ /**
52
+ * A function that can calculate the length of a request body.
53
+ * @internal
54
+ */
55
+ bodyLengthChecker?: __BodyLengthCalculator;
56
+ /**
57
+ * A function that converts a stream into an array of bytes.
58
+ * @internal
59
+ */
60
+ streamCollector?: __StreamCollector;
61
+ /**
62
+ * The function that will be used to convert a base64-encoded string to a byte array.
63
+ * @internal
64
+ */
65
+ base64Decoder?: __Decoder;
66
+ /**
67
+ * The function that will be used to convert binary data to a base64-encoded string.
68
+ * @internal
69
+ */
70
+ base64Encoder?: __Encoder;
71
+ /**
72
+ * The function that will be used to convert a UTF8-encoded string to a byte array.
73
+ * @internal
74
+ */
75
+ utf8Decoder?: __Decoder;
76
+ /**
77
+ * The function that will be used to convert binary data to a UTF-8 encoded string.
78
+ * @internal
79
+ */
80
+ utf8Encoder?: __Encoder;
81
+ /**
82
+ * The runtime environment.
83
+ * @internal
84
+ */
85
+ runtime?: string;
86
+ /**
87
+ * Disable dynamically changing the endpoint of the client based on the hostPrefix
88
+ * trait of an operation.
89
+ */
90
+ disableHostPrefix?: boolean;
91
+ /**
92
+ * Unique service identifier.
93
+ * @internal
94
+ */
95
+ serviceId?: string;
96
+ /**
97
+ * Enables IPv6/IPv4 dualstack endpoint.
98
+ */
99
+ useDualstackEndpoint?: boolean | __Provider<boolean>;
100
+ /**
101
+ * Enables FIPS compatible endpoints.
102
+ */
103
+ useFipsEndpoint?: boolean | __Provider<boolean>;
104
+ /**
105
+ * The AWS region to which this client will send requests
106
+ */
107
+ region?: string | __Provider<string>;
108
+ /**
109
+ * Setting a client profile is similar to setting a value for the
110
+ * AWS_PROFILE environment variable. Setting a profile on a client
111
+ * in code only affects the single client instance, unlike AWS_PROFILE.
112
+ *
113
+ * When set, and only for environments where an AWS configuration
114
+ * file exists, fields configurable by this file will be retrieved
115
+ * from the specified profile within that file.
116
+ * Conflicting code configuration and environment variables will
117
+ * still have higher priority.
118
+ *
119
+ * For client credential resolution that involves checking the AWS
120
+ * configuration file, the client's profile (this value) will be
121
+ * used unless a different profile is set in the credential
122
+ * provider options.
123
+ *
124
+ */
125
+ profile?: string;
126
+ /**
127
+ * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
128
+ * @internal
129
+ */
130
+ defaultUserAgentProvider?: Provider<__UserAgent>;
131
+ /**
132
+ * Default credentials provider; Not available in browser runtime.
133
+ * @deprecated
134
+ * @internal
135
+ */
136
+ credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
137
+ /**
138
+ * Value for how many times a request will be made at most in case of retry.
139
+ */
140
+ maxAttempts?: number | __Provider<number>;
141
+ /**
142
+ * Specifies which retry algorithm to use.
143
+ * @see https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-smithy-util-retry/Enum/RETRY_MODES/
144
+ *
145
+ */
146
+ retryMode?: string | __Provider<string>;
147
+ /**
148
+ * Optional logger for logging debug/info/warn/error.
149
+ */
150
+ logger?: __Logger;
151
+ /**
152
+ * Optional extensions
153
+ */
154
+ extensions?: RuntimeExtension[];
155
+ /**
156
+ * The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
157
+ */
158
+ defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
159
+ }
160
+ /**
161
+ * @public
162
+ */
163
+ export type EvsClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & UserAgentInputConfig & RetryInputConfig & RegionInputConfig & HostHeaderInputConfig & EndpointInputConfig<EndpointParameters> & HttpAuthSchemeInputConfig & ClientInputEndpointParameters;
164
+ /**
165
+ * @public
166
+ *
167
+ * The configuration interface of EvsClient class constructor that set the region, credentials and other options.
168
+ */
169
+ export interface EvsClientConfig extends EvsClientConfigType {
170
+ }
171
+ /**
172
+ * @public
173
+ */
174
+ export type EvsClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & UserAgentResolvedConfig & RetryResolvedConfig & RegionResolvedConfig & HostHeaderResolvedConfig & EndpointResolvedConfig<EndpointParameters> & HttpAuthSchemeResolvedConfig & ClientResolvedEndpointParameters;
175
+ /**
176
+ * @public
177
+ *
178
+ * The resolved configuration interface of EvsClient class. This is resolved and normalized from the {@link EvsClientConfig | constructor configuration interface}.
179
+ */
180
+ export interface EvsClientResolvedConfig extends EvsClientResolvedConfigType {
181
+ }
182
+ /**
183
+ * <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>
184
+ * @public
185
+ */
186
+ export declare class EvsClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, EvsClientResolvedConfig> {
187
+ /**
188
+ * The resolved configuration of EvsClient class. This is resolved and normalized from the {@link EvsClientConfig | constructor configuration interface}.
189
+ */
190
+ readonly config: EvsClientResolvedConfig;
191
+ constructor(...[configuration]: __CheckOptionalClientConfig<EvsClientConfig>);
192
+ /**
193
+ * Destroy underlying resources, like sockets. It's usually not necessary to do this.
194
+ * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
195
+ * Otherwise, sockets might stay open for quite a long time before the server terminates them.
196
+ */
197
+ destroy(): void;
198
+ }
@@ -0,0 +1,29 @@
1
+ import { AwsCredentialIdentity, AwsCredentialIdentityProvider, HttpAuthScheme } from "@smithy/types";
2
+ import { EvsHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
3
+ /**
4
+ * @internal
5
+ */
6
+ export interface HttpAuthExtensionConfiguration {
7
+ setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
8
+ httpAuthSchemes(): HttpAuthScheme[];
9
+ setHttpAuthSchemeProvider(httpAuthSchemeProvider: EvsHttpAuthSchemeProvider): void;
10
+ httpAuthSchemeProvider(): EvsHttpAuthSchemeProvider;
11
+ setCredentials(credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider): void;
12
+ credentials(): AwsCredentialIdentity | AwsCredentialIdentityProvider | undefined;
13
+ }
14
+ /**
15
+ * @internal
16
+ */
17
+ export type HttpAuthRuntimeConfig = Partial<{
18
+ httpAuthSchemes: HttpAuthScheme[];
19
+ httpAuthSchemeProvider: EvsHttpAuthSchemeProvider;
20
+ credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
21
+ }>;
22
+ /**
23
+ * @internal
24
+ */
25
+ export declare const getHttpAuthExtensionConfiguration: (runtimeConfig: HttpAuthRuntimeConfig) => HttpAuthExtensionConfiguration;
26
+ /**
27
+ * @internal
28
+ */
29
+ export declare const resolveHttpAuthRuntimeConfig: (config: HttpAuthExtensionConfiguration) => HttpAuthRuntimeConfig;
@@ -0,0 +1,75 @@
1
+ import { AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core";
2
+ import { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider, Provider } from "@smithy/types";
3
+ import { EvsClientResolvedConfig } from "../EvsClient";
4
+ /**
5
+ * @internal
6
+ */
7
+ export interface EvsHttpAuthSchemeParameters extends HttpAuthSchemeParameters {
8
+ region?: string;
9
+ }
10
+ /**
11
+ * @internal
12
+ */
13
+ export interface EvsHttpAuthSchemeParametersProvider extends HttpAuthSchemeParametersProvider<EvsClientResolvedConfig, HandlerExecutionContext, EvsHttpAuthSchemeParameters, object> {
14
+ }
15
+ /**
16
+ * @internal
17
+ */
18
+ export declare const defaultEvsHttpAuthSchemeParametersProvider: (config: EvsClientResolvedConfig, context: HandlerExecutionContext, input: object) => Promise<EvsHttpAuthSchemeParameters>;
19
+ /**
20
+ * @internal
21
+ */
22
+ export interface EvsHttpAuthSchemeProvider extends HttpAuthSchemeProvider<EvsHttpAuthSchemeParameters> {
23
+ }
24
+ /**
25
+ * @internal
26
+ */
27
+ export declare const defaultEvsHttpAuthSchemeProvider: EvsHttpAuthSchemeProvider;
28
+ /**
29
+ * @internal
30
+ */
31
+ export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
32
+ /**
33
+ * A comma-separated list of case-sensitive auth scheme names.
34
+ * An auth scheme name is a fully qualified auth scheme ID with the namespace prefix trimmed.
35
+ * For example, the auth scheme with ID aws.auth#sigv4 is named sigv4.
36
+ * @public
37
+ */
38
+ authSchemePreference?: string[] | Provider<string[]>;
39
+ /**
40
+ * Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
41
+ * @internal
42
+ */
43
+ httpAuthSchemes?: HttpAuthScheme[];
44
+ /**
45
+ * Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
46
+ * @internal
47
+ */
48
+ httpAuthSchemeProvider?: EvsHttpAuthSchemeProvider;
49
+ }
50
+ /**
51
+ * @internal
52
+ */
53
+ export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedConfig {
54
+ /**
55
+ * A comma-separated list of case-sensitive auth scheme names.
56
+ * An auth scheme name is a fully qualified auth scheme ID with the namespace prefix trimmed.
57
+ * For example, the auth scheme with ID aws.auth#sigv4 is named sigv4.
58
+ * @public
59
+ */
60
+ readonly authSchemePreference: Provider<string[]>;
61
+ /**
62
+ * Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
63
+ * @internal
64
+ */
65
+ readonly httpAuthSchemes: HttpAuthScheme[];
66
+ /**
67
+ * Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
68
+ * @internal
69
+ */
70
+ readonly httpAuthSchemeProvider: EvsHttpAuthSchemeProvider;
71
+ }
72
+ /**
73
+ * @internal
74
+ */
75
+ export declare const resolveHttpAuthSchemeConfig: <T>(config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved) => T & HttpAuthSchemeResolvedConfig;
@@ -0,0 +1,197 @@
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 { CreateEnvironmentRequest, CreateEnvironmentResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link CreateEnvironmentCommand}.
14
+ */
15
+ export interface CreateEnvironmentCommandInput extends CreateEnvironmentRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CreateEnvironmentCommand}.
21
+ */
22
+ export interface CreateEnvironmentCommandOutput extends CreateEnvironmentResponse, __MetadataBearer {
23
+ }
24
+ declare const CreateEnvironmentCommand_base: {
25
+ new (input: CreateEnvironmentCommandInput): import("@smithy/smithy-client").CommandImpl<CreateEnvironmentCommandInput, CreateEnvironmentCommandOutput, EvsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: CreateEnvironmentCommandInput): import("@smithy/smithy-client").CommandImpl<CreateEnvironmentCommandInput, CreateEnvironmentCommandOutput, EvsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Creates an Amazon EVS environment that runs VCF software, such as SDDC Manager, NSX Manager, and vCenter Server.</p> <p>During environment creation, Amazon EVS performs validations on DNS settings, provisions VLAN subnets and hosts, and deploys the supplied version of VCF.</p> <p>It can take several hours to create an environment. After the deployment completes, you can configure VCF according to your unique requirements.</p> <note> <p>You cannot use the <code>dedicatedHostId</code> and <code>placementGroupId</code> parameters together in the same <code>CreateEnvironment</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, CreateEnvironmentCommand } from "@aws-sdk/client-evs"; // ES Modules import
35
+ * // const { EvsClient, CreateEnvironmentCommand } = require("@aws-sdk/client-evs"); // CommonJS import
36
+ * const client = new EvsClient(config);
37
+ * const input = { // CreateEnvironmentRequest
38
+ * clientToken: "STRING_VALUE",
39
+ * environmentName: "STRING_VALUE",
40
+ * kmsKeyId: "STRING_VALUE",
41
+ * tags: { // RequestTagMap
42
+ * "<keys>": "STRING_VALUE",
43
+ * },
44
+ * serviceAccessSecurityGroups: { // ServiceAccessSecurityGroups
45
+ * securityGroups: [ // SecurityGroups
46
+ * "STRING_VALUE",
47
+ * ],
48
+ * },
49
+ * vpcId: "STRING_VALUE", // required
50
+ * serviceAccessSubnetId: "STRING_VALUE", // required
51
+ * vcfVersion: "VCF-5.2.1", // required
52
+ * termsAccepted: true || false, // required
53
+ * licenseInfo: [ // LicenseInfoList // required
54
+ * { // LicenseInfo
55
+ * solutionKey: "STRING_VALUE", // required
56
+ * vsanKey: "STRING_VALUE", // required
57
+ * },
58
+ * ],
59
+ * initialVlans: { // InitialVlans
60
+ * vmkManagement: { // InitialVlanInfo
61
+ * cidr: "STRING_VALUE", // required
62
+ * },
63
+ * vmManagement: {
64
+ * cidr: "STRING_VALUE", // required
65
+ * },
66
+ * vMotion: {
67
+ * cidr: "STRING_VALUE", // required
68
+ * },
69
+ * vSan: {
70
+ * cidr: "STRING_VALUE", // required
71
+ * },
72
+ * vTep: {
73
+ * cidr: "STRING_VALUE", // required
74
+ * },
75
+ * edgeVTep: "<InitialVlanInfo>", // required
76
+ * nsxUplink: "<InitialVlanInfo>", // required
77
+ * hcx: "<InitialVlanInfo>", // required
78
+ * expansionVlan1: "<InitialVlanInfo>", // required
79
+ * expansionVlan2: "<InitialVlanInfo>", // required
80
+ * },
81
+ * hosts: [ // HostInfoForCreateList // required
82
+ * { // HostInfoForCreate
83
+ * hostName: "STRING_VALUE", // required
84
+ * keyName: "STRING_VALUE", // required
85
+ * instanceType: "i4i.metal", // required
86
+ * placementGroupId: "STRING_VALUE",
87
+ * dedicatedHostId: "STRING_VALUE",
88
+ * },
89
+ * ],
90
+ * connectivityInfo: { // ConnectivityInfo
91
+ * privateRouteServerPeerings: [ // RouteServerPeeringList // required
92
+ * "STRING_VALUE",
93
+ * ],
94
+ * },
95
+ * vcfHostnames: { // VcfHostnames
96
+ * vCenter: "STRING_VALUE", // required
97
+ * nsx: "STRING_VALUE", // required
98
+ * nsxManager1: "STRING_VALUE", // required
99
+ * nsxManager2: "STRING_VALUE", // required
100
+ * nsxManager3: "STRING_VALUE", // required
101
+ * nsxEdge1: "STRING_VALUE", // required
102
+ * nsxEdge2: "STRING_VALUE", // required
103
+ * sddcManager: "STRING_VALUE", // required
104
+ * cloudBuilder: "STRING_VALUE", // required
105
+ * },
106
+ * siteId: "STRING_VALUE", // required
107
+ * };
108
+ * const command = new CreateEnvironmentCommand(input);
109
+ * const response = await client.send(command);
110
+ * // { // CreateEnvironmentResponse
111
+ * // environment: { // Environment
112
+ * // environmentId: "STRING_VALUE",
113
+ * // environmentState: "CREATING" || "CREATED" || "DELETING" || "DELETED" || "CREATE_FAILED",
114
+ * // stateDetails: "STRING_VALUE",
115
+ * // createdAt: new Date("TIMESTAMP"),
116
+ * // modifiedAt: new Date("TIMESTAMP"),
117
+ * // environmentArn: "STRING_VALUE",
118
+ * // environmentName: "STRING_VALUE",
119
+ * // vpcId: "STRING_VALUE",
120
+ * // serviceAccessSubnetId: "STRING_VALUE",
121
+ * // vcfVersion: "VCF-5.2.1",
122
+ * // termsAccepted: true || false,
123
+ * // licenseInfo: [ // LicenseInfoList
124
+ * // { // LicenseInfo
125
+ * // solutionKey: "STRING_VALUE", // required
126
+ * // vsanKey: "STRING_VALUE", // required
127
+ * // },
128
+ * // ],
129
+ * // siteId: "STRING_VALUE",
130
+ * // environmentStatus: "PASSED" || "FAILED" || "UNKNOWN",
131
+ * // checks: [ // ChecksList
132
+ * // { // Check
133
+ * // type: "KEY_REUSE" || "KEY_COVERAGE" || "REACHABILITY" || "HOST_COUNT",
134
+ * // result: "PASSED" || "FAILED" || "UNKNOWN",
135
+ * // impairedSince: new Date("TIMESTAMP"),
136
+ * // },
137
+ * // ],
138
+ * // connectivityInfo: { // ConnectivityInfo
139
+ * // privateRouteServerPeerings: [ // RouteServerPeeringList // required
140
+ * // "STRING_VALUE",
141
+ * // ],
142
+ * // },
143
+ * // vcfHostnames: { // VcfHostnames
144
+ * // vCenter: "STRING_VALUE", // required
145
+ * // nsx: "STRING_VALUE", // required
146
+ * // nsxManager1: "STRING_VALUE", // required
147
+ * // nsxManager2: "STRING_VALUE", // required
148
+ * // nsxManager3: "STRING_VALUE", // required
149
+ * // nsxEdge1: "STRING_VALUE", // required
150
+ * // nsxEdge2: "STRING_VALUE", // required
151
+ * // sddcManager: "STRING_VALUE", // required
152
+ * // cloudBuilder: "STRING_VALUE", // required
153
+ * // },
154
+ * // kmsKeyId: "STRING_VALUE",
155
+ * // serviceAccessSecurityGroups: { // ServiceAccessSecurityGroups
156
+ * // securityGroups: [ // SecurityGroups
157
+ * // "STRING_VALUE",
158
+ * // ],
159
+ * // },
160
+ * // credentials: [ // SecretList
161
+ * // { // Secret
162
+ * // secretArn: "STRING_VALUE",
163
+ * // },
164
+ * // ],
165
+ * // },
166
+ * // };
167
+ *
168
+ * ```
169
+ *
170
+ * @param CreateEnvironmentCommandInput - {@link CreateEnvironmentCommandInput}
171
+ * @returns {@link CreateEnvironmentCommandOutput}
172
+ * @see {@link CreateEnvironmentCommandInput} for command's `input` shape.
173
+ * @see {@link CreateEnvironmentCommandOutput} for command's `response` shape.
174
+ * @see {@link EvsClientResolvedConfig | config} for EvsClient's `config` shape.
175
+ *
176
+ * @throws {@link ValidationException} (client fault)
177
+ * <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>
178
+ *
179
+ * @throws {@link EvsServiceException}
180
+ * <p>Base exception class for all service exceptions from Evs service.</p>
181
+ *
182
+ *
183
+ * @public
184
+ */
185
+ export declare class CreateEnvironmentCommand extends CreateEnvironmentCommand_base {
186
+ /** @internal type navigation helper, not in runtime. */
187
+ protected static __types: {
188
+ api: {
189
+ input: CreateEnvironmentRequest;
190
+ output: CreateEnvironmentResponse;
191
+ };
192
+ sdk: {
193
+ input: CreateEnvironmentCommandInput;
194
+ output: CreateEnvironmentCommandOutput;
195
+ };
196
+ };
197
+ }