@aws-sdk/client-evs 3.886.0 → 3.888.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 +16 -0
- package/dist-cjs/Evs.js +4 -0
- package/dist-cjs/commands/AssociateEipToVlanCommand.js +26 -0
- package/dist-cjs/commands/DisassociateEipFromVlanCommand.js +26 -0
- package/dist-cjs/commands/index.js +2 -0
- package/dist-cjs/models/models_0.js +53 -53
- package/dist-cjs/protocols/Aws_json1_0.js +78 -7
- package/dist-es/Evs.js +4 -0
- package/dist-es/commands/AssociateEipToVlanCommand.js +22 -0
- package/dist-es/commands/DisassociateEipFromVlanCommand.js +22 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/models_0.js +50 -50
- package/dist-es/protocols/Aws_json1_0.js +73 -6
- package/dist-types/Evs.d.ts +14 -0
- package/dist-types/EvsClient.d.ts +4 -2
- package/dist-types/commands/AssociateEipToVlanCommand.d.ts +103 -0
- package/dist-types/commands/CreateEnvironmentCommand.d.ts +2 -0
- package/dist-types/commands/CreateEnvironmentHostCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateEipFromVlanCommand.d.ts +103 -0
- package/dist-types/commands/ListEnvironmentVlansCommand.d.ts +9 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +275 -159
- package/dist-types/protocols/Aws_json1_0.d.ts +18 -0
- package/dist-types/ts3.4/Evs.d.ts +34 -0
- package/dist-types/ts3.4/EvsClient.d.ts +12 -0
- package/dist-types/ts3.4/commands/AssociateEipToVlanCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DisassociateEipFromVlanCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +86 -58
- package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +24 -0
- package/package.json +37 -37
|
@@ -4,6 +4,12 @@ import { _json, collectBody, decorateServiceException as __decorateServiceExcept
|
|
|
4
4
|
import { v4 as generateIdempotencyToken } from "uuid";
|
|
5
5
|
import { EvsServiceException as __BaseException } from "../models/EvsServiceException";
|
|
6
6
|
import { ResourceNotFoundException, ServiceQuotaExceededException, TagPolicyException, ThrottlingException, TooManyTagsException, ValidationException, } from "../models/models_0";
|
|
7
|
+
export const se_AssociateEipToVlanCommand = async (input, context) => {
|
|
8
|
+
const headers = sharedHeaders("AssociateEipToVlan");
|
|
9
|
+
let body;
|
|
10
|
+
body = JSON.stringify(se_AssociateEipToVlanRequest(input, context));
|
|
11
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
12
|
+
};
|
|
7
13
|
export const se_CreateEnvironmentCommand = async (input, context) => {
|
|
8
14
|
const headers = sharedHeaders("CreateEnvironment");
|
|
9
15
|
let body;
|
|
@@ -28,6 +34,12 @@ export const se_DeleteEnvironmentHostCommand = async (input, context) => {
|
|
|
28
34
|
body = JSON.stringify(se_DeleteEnvironmentHostRequest(input, context));
|
|
29
35
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
30
36
|
};
|
|
37
|
+
export const se_DisassociateEipFromVlanCommand = async (input, context) => {
|
|
38
|
+
const headers = sharedHeaders("DisassociateEipFromVlan");
|
|
39
|
+
let body;
|
|
40
|
+
body = JSON.stringify(se_DisassociateEipFromVlanRequest(input, context));
|
|
41
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
42
|
+
};
|
|
31
43
|
export const se_GetEnvironmentCommand = async (input, context) => {
|
|
32
44
|
const headers = sharedHeaders("GetEnvironment");
|
|
33
45
|
let body;
|
|
@@ -70,6 +82,19 @@ export const se_UntagResourceCommand = async (input, context) => {
|
|
|
70
82
|
body = JSON.stringify(_json(input));
|
|
71
83
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
72
84
|
};
|
|
85
|
+
export const de_AssociateEipToVlanCommand = async (output, context) => {
|
|
86
|
+
if (output.statusCode >= 300) {
|
|
87
|
+
return de_CommandError(output, context);
|
|
88
|
+
}
|
|
89
|
+
const data = await parseBody(output.body, context);
|
|
90
|
+
let contents = {};
|
|
91
|
+
contents = de_AssociateEipToVlanResponse(data, context);
|
|
92
|
+
const response = {
|
|
93
|
+
$metadata: deserializeMetadata(output),
|
|
94
|
+
...contents,
|
|
95
|
+
};
|
|
96
|
+
return response;
|
|
97
|
+
};
|
|
73
98
|
export const de_CreateEnvironmentCommand = async (output, context) => {
|
|
74
99
|
if (output.statusCode >= 300) {
|
|
75
100
|
return de_CommandError(output, context);
|
|
@@ -122,6 +147,19 @@ export const de_DeleteEnvironmentHostCommand = async (output, context) => {
|
|
|
122
147
|
};
|
|
123
148
|
return response;
|
|
124
149
|
};
|
|
150
|
+
export const de_DisassociateEipFromVlanCommand = async (output, context) => {
|
|
151
|
+
if (output.statusCode >= 300) {
|
|
152
|
+
return de_CommandError(output, context);
|
|
153
|
+
}
|
|
154
|
+
const data = await parseBody(output.body, context);
|
|
155
|
+
let contents = {};
|
|
156
|
+
contents = de_DisassociateEipFromVlanResponse(data, context);
|
|
157
|
+
const response = {
|
|
158
|
+
$metadata: deserializeMetadata(output),
|
|
159
|
+
...contents,
|
|
160
|
+
};
|
|
161
|
+
return response;
|
|
162
|
+
};
|
|
125
163
|
export const de_GetEnvironmentCommand = async (output, context) => {
|
|
126
164
|
if (output.statusCode >= 300) {
|
|
127
165
|
return de_CommandError(output, context);
|
|
@@ -220,15 +258,15 @@ const de_CommandError = async (output, context) => {
|
|
|
220
258
|
};
|
|
221
259
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
222
260
|
switch (errorCode) {
|
|
223
|
-
case "ValidationException":
|
|
224
|
-
case "com.amazonaws.evs#ValidationException":
|
|
225
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
226
|
-
case "ThrottlingException":
|
|
227
|
-
case "com.amazonaws.evs#ThrottlingException":
|
|
228
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
229
261
|
case "ResourceNotFoundException":
|
|
230
262
|
case "com.amazonaws.evs#ResourceNotFoundException":
|
|
231
263
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
264
|
+
case "ThrottlingException":
|
|
265
|
+
case "com.amazonaws.evs#ThrottlingException":
|
|
266
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
267
|
+
case "ValidationException":
|
|
268
|
+
case "com.amazonaws.evs#ValidationException":
|
|
269
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
232
270
|
case "ServiceQuotaExceededException":
|
|
233
271
|
case "com.amazonaws.evs#ServiceQuotaExceededException":
|
|
234
272
|
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
@@ -301,6 +339,14 @@ const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
|
301
339
|
});
|
|
302
340
|
return __decorateServiceException(exception, body);
|
|
303
341
|
};
|
|
342
|
+
const se_AssociateEipToVlanRequest = (input, context) => {
|
|
343
|
+
return take(input, {
|
|
344
|
+
allocationId: [],
|
|
345
|
+
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
346
|
+
environmentId: [],
|
|
347
|
+
vlanName: [],
|
|
348
|
+
});
|
|
349
|
+
};
|
|
304
350
|
const se_CreateEnvironmentHostRequest = (input, context) => {
|
|
305
351
|
return take(input, {
|
|
306
352
|
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
@@ -340,6 +386,19 @@ const se_DeleteEnvironmentRequest = (input, context) => {
|
|
|
340
386
|
environmentId: [],
|
|
341
387
|
});
|
|
342
388
|
};
|
|
389
|
+
const se_DisassociateEipFromVlanRequest = (input, context) => {
|
|
390
|
+
return take(input, {
|
|
391
|
+
associationId: [],
|
|
392
|
+
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
393
|
+
environmentId: [],
|
|
394
|
+
vlanName: [],
|
|
395
|
+
});
|
|
396
|
+
};
|
|
397
|
+
const de_AssociateEipToVlanResponse = (output, context) => {
|
|
398
|
+
return take(output, {
|
|
399
|
+
vlan: (_) => de_Vlan(_, context),
|
|
400
|
+
});
|
|
401
|
+
};
|
|
343
402
|
const de_Check = (output, context) => {
|
|
344
403
|
return take(output, {
|
|
345
404
|
impairedSince: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
@@ -377,6 +436,11 @@ const de_DeleteEnvironmentResponse = (output, context) => {
|
|
|
377
436
|
environment: (_) => de_Environment(_, context),
|
|
378
437
|
});
|
|
379
438
|
};
|
|
439
|
+
const de_DisassociateEipFromVlanResponse = (output, context) => {
|
|
440
|
+
return take(output, {
|
|
441
|
+
vlan: (_) => de_Vlan(_, context),
|
|
442
|
+
});
|
|
443
|
+
};
|
|
380
444
|
const de_Environment = (output, context) => {
|
|
381
445
|
return take(output, {
|
|
382
446
|
checks: (_) => de_ChecksList(_, context),
|
|
@@ -473,8 +537,11 @@ const de_Vlan = (output, context) => {
|
|
|
473
537
|
availabilityZone: __expectString,
|
|
474
538
|
cidr: __expectString,
|
|
475
539
|
createdAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
540
|
+
eipAssociations: _json,
|
|
476
541
|
functionName: __expectString,
|
|
542
|
+
isPublic: __expectBoolean,
|
|
477
543
|
modifiedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
544
|
+
networkAclId: __expectString,
|
|
478
545
|
stateDetails: __expectString,
|
|
479
546
|
subnetId: __expectString,
|
|
480
547
|
vlanId: __expectInt32,
|
package/dist-types/Evs.d.ts
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
2
|
+
import { AssociateEipToVlanCommandInput, AssociateEipToVlanCommandOutput } from "./commands/AssociateEipToVlanCommand";
|
|
2
3
|
import { CreateEnvironmentCommandInput, CreateEnvironmentCommandOutput } from "./commands/CreateEnvironmentCommand";
|
|
3
4
|
import { CreateEnvironmentHostCommandInput, CreateEnvironmentHostCommandOutput } from "./commands/CreateEnvironmentHostCommand";
|
|
4
5
|
import { DeleteEnvironmentCommandInput, DeleteEnvironmentCommandOutput } from "./commands/DeleteEnvironmentCommand";
|
|
5
6
|
import { DeleteEnvironmentHostCommandInput, DeleteEnvironmentHostCommandOutput } from "./commands/DeleteEnvironmentHostCommand";
|
|
7
|
+
import { DisassociateEipFromVlanCommandInput, DisassociateEipFromVlanCommandOutput } from "./commands/DisassociateEipFromVlanCommand";
|
|
6
8
|
import { GetEnvironmentCommandInput, GetEnvironmentCommandOutput } from "./commands/GetEnvironmentCommand";
|
|
7
9
|
import { ListEnvironmentHostsCommandInput, ListEnvironmentHostsCommandOutput } from "./commands/ListEnvironmentHostsCommand";
|
|
8
10
|
import { ListEnvironmentsCommandInput, ListEnvironmentsCommandOutput } from "./commands/ListEnvironmentsCommand";
|
|
@@ -12,6 +14,12 @@ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/Ta
|
|
|
12
14
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
13
15
|
import { EvsClient } from "./EvsClient";
|
|
14
16
|
export interface Evs {
|
|
17
|
+
/**
|
|
18
|
+
* @see {@link AssociateEipToVlanCommand}
|
|
19
|
+
*/
|
|
20
|
+
associateEipToVlan(args: AssociateEipToVlanCommandInput, options?: __HttpHandlerOptions): Promise<AssociateEipToVlanCommandOutput>;
|
|
21
|
+
associateEipToVlan(args: AssociateEipToVlanCommandInput, cb: (err: any, data?: AssociateEipToVlanCommandOutput) => void): void;
|
|
22
|
+
associateEipToVlan(args: AssociateEipToVlanCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssociateEipToVlanCommandOutput) => void): void;
|
|
15
23
|
/**
|
|
16
24
|
* @see {@link CreateEnvironmentCommand}
|
|
17
25
|
*/
|
|
@@ -36,6 +44,12 @@ export interface Evs {
|
|
|
36
44
|
deleteEnvironmentHost(args: DeleteEnvironmentHostCommandInput, options?: __HttpHandlerOptions): Promise<DeleteEnvironmentHostCommandOutput>;
|
|
37
45
|
deleteEnvironmentHost(args: DeleteEnvironmentHostCommandInput, cb: (err: any, data?: DeleteEnvironmentHostCommandOutput) => void): void;
|
|
38
46
|
deleteEnvironmentHost(args: DeleteEnvironmentHostCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteEnvironmentHostCommandOutput) => void): void;
|
|
47
|
+
/**
|
|
48
|
+
* @see {@link DisassociateEipFromVlanCommand}
|
|
49
|
+
*/
|
|
50
|
+
disassociateEipFromVlan(args: DisassociateEipFromVlanCommandInput, options?: __HttpHandlerOptions): Promise<DisassociateEipFromVlanCommandOutput>;
|
|
51
|
+
disassociateEipFromVlan(args: DisassociateEipFromVlanCommandInput, cb: (err: any, data?: DisassociateEipFromVlanCommandOutput) => void): void;
|
|
52
|
+
disassociateEipFromVlan(args: DisassociateEipFromVlanCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisassociateEipFromVlanCommandOutput) => void): void;
|
|
39
53
|
/**
|
|
40
54
|
* @see {@link GetEnvironmentCommand}
|
|
41
55
|
*/
|
|
@@ -7,10 +7,12 @@ import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol
|
|
|
7
7
|
import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
|
|
8
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
9
|
import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
10
|
+
import { AssociateEipToVlanCommandInput, AssociateEipToVlanCommandOutput } from "./commands/AssociateEipToVlanCommand";
|
|
10
11
|
import { CreateEnvironmentCommandInput, CreateEnvironmentCommandOutput } from "./commands/CreateEnvironmentCommand";
|
|
11
12
|
import { CreateEnvironmentHostCommandInput, CreateEnvironmentHostCommandOutput } from "./commands/CreateEnvironmentHostCommand";
|
|
12
13
|
import { DeleteEnvironmentCommandInput, DeleteEnvironmentCommandOutput } from "./commands/DeleteEnvironmentCommand";
|
|
13
14
|
import { DeleteEnvironmentHostCommandInput, DeleteEnvironmentHostCommandOutput } from "./commands/DeleteEnvironmentHostCommand";
|
|
15
|
+
import { DisassociateEipFromVlanCommandInput, DisassociateEipFromVlanCommandOutput } from "./commands/DisassociateEipFromVlanCommand";
|
|
14
16
|
import { GetEnvironmentCommandInput, GetEnvironmentCommandOutput } from "./commands/GetEnvironmentCommand";
|
|
15
17
|
import { ListEnvironmentHostsCommandInput, ListEnvironmentHostsCommandOutput } from "./commands/ListEnvironmentHostsCommand";
|
|
16
18
|
import { ListEnvironmentsCommandInput, ListEnvironmentsCommandOutput } from "./commands/ListEnvironmentsCommand";
|
|
@@ -24,11 +26,11 @@ export { __Client };
|
|
|
24
26
|
/**
|
|
25
27
|
* @public
|
|
26
28
|
*/
|
|
27
|
-
export type ServiceInputTypes = CreateEnvironmentCommandInput | CreateEnvironmentHostCommandInput | DeleteEnvironmentCommandInput | DeleteEnvironmentHostCommandInput | GetEnvironmentCommandInput | ListEnvironmentHostsCommandInput | ListEnvironmentVlansCommandInput | ListEnvironmentsCommandInput | ListTagsForResourceCommandInput | TagResourceCommandInput | UntagResourceCommandInput;
|
|
29
|
+
export type ServiceInputTypes = AssociateEipToVlanCommandInput | CreateEnvironmentCommandInput | CreateEnvironmentHostCommandInput | DeleteEnvironmentCommandInput | DeleteEnvironmentHostCommandInput | DisassociateEipFromVlanCommandInput | GetEnvironmentCommandInput | ListEnvironmentHostsCommandInput | ListEnvironmentVlansCommandInput | ListEnvironmentsCommandInput | ListTagsForResourceCommandInput | TagResourceCommandInput | UntagResourceCommandInput;
|
|
28
30
|
/**
|
|
29
31
|
* @public
|
|
30
32
|
*/
|
|
31
|
-
export type ServiceOutputTypes = CreateEnvironmentCommandOutput | CreateEnvironmentHostCommandOutput | DeleteEnvironmentCommandOutput | DeleteEnvironmentHostCommandOutput | GetEnvironmentCommandOutput | ListEnvironmentHostsCommandOutput | ListEnvironmentVlansCommandOutput | ListEnvironmentsCommandOutput | ListTagsForResourceCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput;
|
|
33
|
+
export type ServiceOutputTypes = AssociateEipToVlanCommandOutput | CreateEnvironmentCommandOutput | CreateEnvironmentHostCommandOutput | DeleteEnvironmentCommandOutput | DeleteEnvironmentHostCommandOutput | DisassociateEipFromVlanCommandOutput | GetEnvironmentCommandOutput | ListEnvironmentHostsCommandOutput | ListEnvironmentVlansCommandOutput | ListEnvironmentsCommandOutput | ListTagsForResourceCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput;
|
|
32
34
|
/**
|
|
33
35
|
* @public
|
|
34
36
|
*/
|
|
@@ -0,0 +1,103 @@
|
|
|
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 { AssociateEipToVlanRequest, AssociateEipToVlanResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link AssociateEipToVlanCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface AssociateEipToVlanCommandInput extends AssociateEipToVlanRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link AssociateEipToVlanCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface AssociateEipToVlanCommandOutput extends AssociateEipToVlanResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const AssociateEipToVlanCommand_base: {
|
|
25
|
+
new (input: AssociateEipToVlanCommandInput): import("@smithy/smithy-client").CommandImpl<AssociateEipToVlanCommandInput, AssociateEipToVlanCommandOutput, EvsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: AssociateEipToVlanCommandInput): import("@smithy/smithy-client").CommandImpl<AssociateEipToVlanCommandInput, AssociateEipToVlanCommandOutput, EvsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Associates an Elastic IP address with a public HCX VLAN. This operation is only allowed for public HCX VLANs at this time.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { EvsClient, AssociateEipToVlanCommand } from "@aws-sdk/client-evs"; // ES Modules import
|
|
35
|
+
* // const { EvsClient, AssociateEipToVlanCommand } = require("@aws-sdk/client-evs"); // CommonJS import
|
|
36
|
+
* const client = new EvsClient(config);
|
|
37
|
+
* const input = { // AssociateEipToVlanRequest
|
|
38
|
+
* clientToken: "STRING_VALUE",
|
|
39
|
+
* environmentId: "STRING_VALUE", // required
|
|
40
|
+
* vlanName: "STRING_VALUE", // required
|
|
41
|
+
* allocationId: "STRING_VALUE", // required
|
|
42
|
+
* };
|
|
43
|
+
* const command = new AssociateEipToVlanCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // { // AssociateEipToVlanResponse
|
|
46
|
+
* // vlan: { // Vlan
|
|
47
|
+
* // vlanId: Number("int"),
|
|
48
|
+
* // cidr: "STRING_VALUE",
|
|
49
|
+
* // availabilityZone: "STRING_VALUE",
|
|
50
|
+
* // functionName: "STRING_VALUE",
|
|
51
|
+
* // subnetId: "STRING_VALUE",
|
|
52
|
+
* // createdAt: new Date("TIMESTAMP"),
|
|
53
|
+
* // modifiedAt: new Date("TIMESTAMP"),
|
|
54
|
+
* // vlanState: "CREATING" || "CREATED" || "DELETING" || "DELETED" || "CREATE_FAILED",
|
|
55
|
+
* // stateDetails: "STRING_VALUE",
|
|
56
|
+
* // eipAssociations: [ // EipAssociationList
|
|
57
|
+
* // { // EipAssociation
|
|
58
|
+
* // associationId: "STRING_VALUE",
|
|
59
|
+
* // allocationId: "STRING_VALUE",
|
|
60
|
+
* // ipAddress: "STRING_VALUE",
|
|
61
|
+
* // },
|
|
62
|
+
* // ],
|
|
63
|
+
* // isPublic: true || false,
|
|
64
|
+
* // networkAclId: "STRING_VALUE",
|
|
65
|
+
* // },
|
|
66
|
+
* // };
|
|
67
|
+
*
|
|
68
|
+
* ```
|
|
69
|
+
*
|
|
70
|
+
* @param AssociateEipToVlanCommandInput - {@link AssociateEipToVlanCommandInput}
|
|
71
|
+
* @returns {@link AssociateEipToVlanCommandOutput}
|
|
72
|
+
* @see {@link AssociateEipToVlanCommandInput} for command's `input` shape.
|
|
73
|
+
* @see {@link AssociateEipToVlanCommandOutput} 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 ThrottlingException} (client fault)
|
|
80
|
+
* <p>The operation couldn't be performed because the service is throttling requests. This exception is thrown when there are too many requests accepted concurrently from the service endpoint.</p>
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link ValidationException} (client fault)
|
|
83
|
+
* <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>
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link EvsServiceException}
|
|
86
|
+
* <p>Base exception class for all service exceptions from Evs service.</p>
|
|
87
|
+
*
|
|
88
|
+
*
|
|
89
|
+
* @public
|
|
90
|
+
*/
|
|
91
|
+
export declare class AssociateEipToVlanCommand extends AssociateEipToVlanCommand_base {
|
|
92
|
+
/** @internal type navigation helper, not in runtime. */
|
|
93
|
+
protected static __types: {
|
|
94
|
+
api: {
|
|
95
|
+
input: AssociateEipToVlanRequest;
|
|
96
|
+
output: AssociateEipToVlanResponse;
|
|
97
|
+
};
|
|
98
|
+
sdk: {
|
|
99
|
+
input: AssociateEipToVlanCommandInput;
|
|
100
|
+
output: AssociateEipToVlanCommandOutput;
|
|
101
|
+
};
|
|
102
|
+
};
|
|
103
|
+
}
|
|
@@ -77,6 +77,8 @@ declare const CreateEnvironmentCommand_base: {
|
|
|
77
77
|
* hcx: "<InitialVlanInfo>", // required
|
|
78
78
|
* expansionVlan1: "<InitialVlanInfo>", // required
|
|
79
79
|
* expansionVlan2: "<InitialVlanInfo>", // required
|
|
80
|
+
* isHcxPublic: true || false,
|
|
81
|
+
* hcxNetworkAclId: "STRING_VALUE",
|
|
80
82
|
* },
|
|
81
83
|
* hosts: [ // HostInfoForCreateList // required
|
|
82
84
|
* { // HostInfoForCreate
|
|
@@ -87,7 +87,7 @@ declare const CreateEnvironmentHostCommand_base: {
|
|
|
87
87
|
* @see {@link EvsClientResolvedConfig | config} for EvsClient's `config` shape.
|
|
88
88
|
*
|
|
89
89
|
* @throws {@link ThrottlingException} (client fault)
|
|
90
|
-
* <p>The
|
|
90
|
+
* <p>The operation couldn't be performed because the service is throttling requests. This exception is thrown when there are too many requests accepted concurrently from the service endpoint.</p>
|
|
91
91
|
*
|
|
92
92
|
* @throws {@link ValidationException} (client fault)
|
|
93
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>
|
|
@@ -0,0 +1,103 @@
|
|
|
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 { DisassociateEipFromVlanRequest, DisassociateEipFromVlanResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DisassociateEipFromVlanCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DisassociateEipFromVlanCommandInput extends DisassociateEipFromVlanRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DisassociateEipFromVlanCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DisassociateEipFromVlanCommandOutput extends DisassociateEipFromVlanResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DisassociateEipFromVlanCommand_base: {
|
|
25
|
+
new (input: DisassociateEipFromVlanCommandInput): import("@smithy/smithy-client").CommandImpl<DisassociateEipFromVlanCommandInput, DisassociateEipFromVlanCommandOutput, EvsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: DisassociateEipFromVlanCommandInput): import("@smithy/smithy-client").CommandImpl<DisassociateEipFromVlanCommandInput, DisassociateEipFromVlanCommandOutput, EvsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Disassociates an Elastic IP address from a public HCX VLAN. This operation is only allowed for public HCX VLANs at this time.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { EvsClient, DisassociateEipFromVlanCommand } from "@aws-sdk/client-evs"; // ES Modules import
|
|
35
|
+
* // const { EvsClient, DisassociateEipFromVlanCommand } = require("@aws-sdk/client-evs"); // CommonJS import
|
|
36
|
+
* const client = new EvsClient(config);
|
|
37
|
+
* const input = { // DisassociateEipFromVlanRequest
|
|
38
|
+
* clientToken: "STRING_VALUE",
|
|
39
|
+
* environmentId: "STRING_VALUE", // required
|
|
40
|
+
* vlanName: "STRING_VALUE", // required
|
|
41
|
+
* associationId: "STRING_VALUE", // required
|
|
42
|
+
* };
|
|
43
|
+
* const command = new DisassociateEipFromVlanCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // { // DisassociateEipFromVlanResponse
|
|
46
|
+
* // vlan: { // Vlan
|
|
47
|
+
* // vlanId: Number("int"),
|
|
48
|
+
* // cidr: "STRING_VALUE",
|
|
49
|
+
* // availabilityZone: "STRING_VALUE",
|
|
50
|
+
* // functionName: "STRING_VALUE",
|
|
51
|
+
* // subnetId: "STRING_VALUE",
|
|
52
|
+
* // createdAt: new Date("TIMESTAMP"),
|
|
53
|
+
* // modifiedAt: new Date("TIMESTAMP"),
|
|
54
|
+
* // vlanState: "CREATING" || "CREATED" || "DELETING" || "DELETED" || "CREATE_FAILED",
|
|
55
|
+
* // stateDetails: "STRING_VALUE",
|
|
56
|
+
* // eipAssociations: [ // EipAssociationList
|
|
57
|
+
* // { // EipAssociation
|
|
58
|
+
* // associationId: "STRING_VALUE",
|
|
59
|
+
* // allocationId: "STRING_VALUE",
|
|
60
|
+
* // ipAddress: "STRING_VALUE",
|
|
61
|
+
* // },
|
|
62
|
+
* // ],
|
|
63
|
+
* // isPublic: true || false,
|
|
64
|
+
* // networkAclId: "STRING_VALUE",
|
|
65
|
+
* // },
|
|
66
|
+
* // };
|
|
67
|
+
*
|
|
68
|
+
* ```
|
|
69
|
+
*
|
|
70
|
+
* @param DisassociateEipFromVlanCommandInput - {@link DisassociateEipFromVlanCommandInput}
|
|
71
|
+
* @returns {@link DisassociateEipFromVlanCommandOutput}
|
|
72
|
+
* @see {@link DisassociateEipFromVlanCommandInput} for command's `input` shape.
|
|
73
|
+
* @see {@link DisassociateEipFromVlanCommandOutput} 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 ThrottlingException} (client fault)
|
|
80
|
+
* <p>The operation couldn't be performed because the service is throttling requests. This exception is thrown when there are too many requests accepted concurrently from the service endpoint.</p>
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link ValidationException} (client fault)
|
|
83
|
+
* <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>
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link EvsServiceException}
|
|
86
|
+
* <p>Base exception class for all service exceptions from Evs service.</p>
|
|
87
|
+
*
|
|
88
|
+
*
|
|
89
|
+
* @public
|
|
90
|
+
*/
|
|
91
|
+
export declare class DisassociateEipFromVlanCommand extends DisassociateEipFromVlanCommand_base {
|
|
92
|
+
/** @internal type navigation helper, not in runtime. */
|
|
93
|
+
protected static __types: {
|
|
94
|
+
api: {
|
|
95
|
+
input: DisassociateEipFromVlanRequest;
|
|
96
|
+
output: DisassociateEipFromVlanResponse;
|
|
97
|
+
};
|
|
98
|
+
sdk: {
|
|
99
|
+
input: DisassociateEipFromVlanCommandInput;
|
|
100
|
+
output: DisassociateEipFromVlanCommandOutput;
|
|
101
|
+
};
|
|
102
|
+
};
|
|
103
|
+
}
|
|
@@ -54,6 +54,15 @@ declare const ListEnvironmentVlansCommand_base: {
|
|
|
54
54
|
* // modifiedAt: new Date("TIMESTAMP"),
|
|
55
55
|
* // vlanState: "CREATING" || "CREATED" || "DELETING" || "DELETED" || "CREATE_FAILED",
|
|
56
56
|
* // stateDetails: "STRING_VALUE",
|
|
57
|
+
* // eipAssociations: [ // EipAssociationList
|
|
58
|
+
* // { // EipAssociation
|
|
59
|
+
* // associationId: "STRING_VALUE",
|
|
60
|
+
* // allocationId: "STRING_VALUE",
|
|
61
|
+
* // ipAddress: "STRING_VALUE",
|
|
62
|
+
* // },
|
|
63
|
+
* // ],
|
|
64
|
+
* // isPublic: true || false,
|
|
65
|
+
* // networkAclId: "STRING_VALUE",
|
|
57
66
|
* // },
|
|
58
67
|
* // ],
|
|
59
68
|
* // };
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
+
export * from "./AssociateEipToVlanCommand";
|
|
1
2
|
export * from "./CreateEnvironmentCommand";
|
|
2
3
|
export * from "./CreateEnvironmentHostCommand";
|
|
3
4
|
export * from "./DeleteEnvironmentCommand";
|
|
4
5
|
export * from "./DeleteEnvironmentHostCommand";
|
|
6
|
+
export * from "./DisassociateEipFromVlanCommand";
|
|
5
7
|
export * from "./GetEnvironmentCommand";
|
|
6
8
|
export * from "./ListEnvironmentHostsCommand";
|
|
7
9
|
export * from "./ListEnvironmentVlansCommand";
|