@aws-sdk/client-evs 3.883.0 → 3.887.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 (31) hide show
  1. package/README.md +16 -0
  2. package/dist-cjs/Evs.js +4 -0
  3. package/dist-cjs/commands/AssociateEipToVlanCommand.js +26 -0
  4. package/dist-cjs/commands/DisassociateEipFromVlanCommand.js +26 -0
  5. package/dist-cjs/commands/index.js +2 -0
  6. package/dist-cjs/models/models_0.js +53 -53
  7. package/dist-cjs/protocols/Aws_json1_0.js +78 -7
  8. package/dist-es/Evs.js +4 -0
  9. package/dist-es/commands/AssociateEipToVlanCommand.js +22 -0
  10. package/dist-es/commands/DisassociateEipFromVlanCommand.js +22 -0
  11. package/dist-es/commands/index.js +2 -0
  12. package/dist-es/models/models_0.js +50 -50
  13. package/dist-es/protocols/Aws_json1_0.js +73 -6
  14. package/dist-types/Evs.d.ts +14 -0
  15. package/dist-types/EvsClient.d.ts +4 -2
  16. package/dist-types/commands/AssociateEipToVlanCommand.d.ts +103 -0
  17. package/dist-types/commands/CreateEnvironmentCommand.d.ts +2 -0
  18. package/dist-types/commands/CreateEnvironmentHostCommand.d.ts +1 -1
  19. package/dist-types/commands/DisassociateEipFromVlanCommand.d.ts +103 -0
  20. package/dist-types/commands/ListEnvironmentVlansCommand.d.ts +9 -0
  21. package/dist-types/commands/index.d.ts +2 -0
  22. package/dist-types/models/models_0.d.ts +275 -159
  23. package/dist-types/protocols/Aws_json1_0.d.ts +18 -0
  24. package/dist-types/ts3.4/Evs.d.ts +34 -0
  25. package/dist-types/ts3.4/EvsClient.d.ts +12 -0
  26. package/dist-types/ts3.4/commands/AssociateEipToVlanCommand.d.ts +51 -0
  27. package/dist-types/ts3.4/commands/DisassociateEipFromVlanCommand.d.ts +51 -0
  28. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  29. package/dist-types/ts3.4/models/models_0.d.ts +86 -58
  30. package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +24 -0
  31. package/package.json +37 -37
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ EvsClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../EvsClient";
8
+ import {
9
+ DisassociateEipFromVlanRequest,
10
+ DisassociateEipFromVlanResponse,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface DisassociateEipFromVlanCommandInput
15
+ extends DisassociateEipFromVlanRequest {}
16
+ export interface DisassociateEipFromVlanCommandOutput
17
+ extends DisassociateEipFromVlanResponse,
18
+ __MetadataBearer {}
19
+ declare const DisassociateEipFromVlanCommand_base: {
20
+ new (
21
+ input: DisassociateEipFromVlanCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ DisassociateEipFromVlanCommandInput,
24
+ DisassociateEipFromVlanCommandOutput,
25
+ EvsClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ input: DisassociateEipFromVlanCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ DisassociateEipFromVlanCommandInput,
33
+ DisassociateEipFromVlanCommandOutput,
34
+ EvsClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class DisassociateEipFromVlanCommand extends DisassociateEipFromVlanCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: DisassociateEipFromVlanRequest;
44
+ output: DisassociateEipFromVlanResponse;
45
+ };
46
+ sdk: {
47
+ input: DisassociateEipFromVlanCommandInput;
48
+ output: DisassociateEipFromVlanCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -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";
@@ -1,5 +1,80 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
2
  import { EvsServiceException as __BaseException } from "./EvsServiceException";
3
+ export interface AssociateEipToVlanRequest {
4
+ clientToken?: string | undefined;
5
+ environmentId: string | undefined;
6
+ vlanName: string | undefined;
7
+ allocationId: string | undefined;
8
+ }
9
+ export interface EipAssociation {
10
+ associationId?: string | undefined;
11
+ allocationId?: string | undefined;
12
+ ipAddress?: string | undefined;
13
+ }
14
+ export declare const VlanState: {
15
+ readonly CREATED: "CREATED";
16
+ readonly CREATE_FAILED: "CREATE_FAILED";
17
+ readonly CREATING: "CREATING";
18
+ readonly DELETED: "DELETED";
19
+ readonly DELETING: "DELETING";
20
+ };
21
+ export type VlanState = (typeof VlanState)[keyof typeof VlanState];
22
+ export interface Vlan {
23
+ vlanId?: number | undefined;
24
+ cidr?: string | undefined;
25
+ availabilityZone?: string | undefined;
26
+ functionName?: string | undefined;
27
+ subnetId?: string | undefined;
28
+ createdAt?: Date | undefined;
29
+ modifiedAt?: Date | undefined;
30
+ vlanState?: VlanState | undefined;
31
+ stateDetails?: string | undefined;
32
+ eipAssociations?: EipAssociation[] | undefined;
33
+ isPublic?: boolean | undefined;
34
+ networkAclId?: string | undefined;
35
+ }
36
+ export interface AssociateEipToVlanResponse {
37
+ vlan?: Vlan | undefined;
38
+ }
39
+ export declare class ResourceNotFoundException extends __BaseException {
40
+ readonly name: "ResourceNotFoundException";
41
+ readonly $fault: "client";
42
+ resourceId: string | undefined;
43
+ resourceType: string | undefined;
44
+ constructor(
45
+ opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
46
+ );
47
+ }
48
+ export declare class ThrottlingException extends __BaseException {
49
+ readonly name: "ThrottlingException";
50
+ readonly $fault: "client";
51
+ $retryable: {};
52
+ retryAfterSeconds?: number | undefined;
53
+ constructor(
54
+ opts: __ExceptionOptionType<ThrottlingException, __BaseException>
55
+ );
56
+ }
57
+ export interface ValidationExceptionField {
58
+ name: string | undefined;
59
+ message: string | undefined;
60
+ }
61
+ export declare const ValidationExceptionReason: {
62
+ readonly CANNOT_PARSE: "cannotParse";
63
+ readonly FIELD_VALIDATION_FAILED: "fieldValidationFailed";
64
+ readonly OTHER: "other";
65
+ readonly UNKNOWN_OPERATION: "unknownOperation";
66
+ };
67
+ export type ValidationExceptionReason =
68
+ (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
69
+ export declare class ValidationException extends __BaseException {
70
+ readonly name: "ValidationException";
71
+ readonly $fault: "client";
72
+ reason: ValidationExceptionReason | undefined;
73
+ fieldList?: ValidationExceptionField[] | undefined;
74
+ constructor(
75
+ opts: __ExceptionOptionType<ValidationException, __BaseException>
76
+ );
77
+ }
3
78
  export interface ConnectivityInfo {
4
79
  privateRouteServerPeerings: string[] | undefined;
5
80
  }
@@ -28,6 +103,8 @@ export interface InitialVlans {
28
103
  hcx: InitialVlanInfo | undefined;
29
104
  expansionVlan1: InitialVlanInfo | undefined;
30
105
  expansionVlan2: InitialVlanInfo | undefined;
106
+ isHcxPublic?: boolean | undefined;
107
+ hcxNetworkAclId?: string | undefined;
31
108
  }
32
109
  export interface LicenseInfo {
33
110
  solutionKey: string | undefined;
@@ -123,27 +200,6 @@ export interface Environment {
123
200
  export interface CreateEnvironmentResponse {
124
201
  environment?: Environment | undefined;
125
202
  }
126
- export interface ValidationExceptionField {
127
- name: string | undefined;
128
- message: string | undefined;
129
- }
130
- export declare const ValidationExceptionReason: {
131
- readonly CANNOT_PARSE: "cannotParse";
132
- readonly FIELD_VALIDATION_FAILED: "fieldValidationFailed";
133
- readonly OTHER: "other";
134
- readonly UNKNOWN_OPERATION: "unknownOperation";
135
- };
136
- export type ValidationExceptionReason =
137
- (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
138
- export declare class ValidationException extends __BaseException {
139
- readonly name: "ValidationException";
140
- readonly $fault: "client";
141
- reason: ValidationExceptionReason | undefined;
142
- fieldList?: ValidationExceptionField[] | undefined;
143
- constructor(
144
- opts: __ExceptionOptionType<ValidationException, __BaseException>
145
- );
146
- }
147
203
  export interface CreateEnvironmentHostRequest {
148
204
  clientToken?: string | undefined;
149
205
  environmentId: string | undefined;
@@ -190,15 +246,6 @@ export interface CreateEnvironmentHostResponse {
190
246
  environmentSummary?: EnvironmentSummary | undefined;
191
247
  host?: Host | undefined;
192
248
  }
193
- export declare class ThrottlingException extends __BaseException {
194
- readonly name: "ThrottlingException";
195
- readonly $fault: "client";
196
- $retryable: {};
197
- retryAfterSeconds?: number | undefined;
198
- constructor(
199
- opts: __ExceptionOptionType<ThrottlingException, __BaseException>
200
- );
201
- }
202
249
  export interface DeleteEnvironmentRequest {
203
250
  clientToken?: string | undefined;
204
251
  environmentId: string | undefined;
@@ -206,15 +253,6 @@ export interface DeleteEnvironmentRequest {
206
253
  export interface DeleteEnvironmentResponse {
207
254
  environment?: Environment | undefined;
208
255
  }
209
- export declare class ResourceNotFoundException extends __BaseException {
210
- readonly name: "ResourceNotFoundException";
211
- readonly $fault: "client";
212
- resourceId: string | undefined;
213
- resourceType: string | undefined;
214
- constructor(
215
- opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
216
- );
217
- }
218
256
  export interface DeleteEnvironmentHostRequest {
219
257
  clientToken?: string | undefined;
220
258
  environmentId: string | undefined;
@@ -224,6 +262,15 @@ export interface DeleteEnvironmentHostResponse {
224
262
  environmentSummary?: EnvironmentSummary | undefined;
225
263
  host?: Host | undefined;
226
264
  }
265
+ export interface DisassociateEipFromVlanRequest {
266
+ clientToken?: string | undefined;
267
+ environmentId: string | undefined;
268
+ vlanName: string | undefined;
269
+ associationId: string | undefined;
270
+ }
271
+ export interface DisassociateEipFromVlanResponse {
272
+ vlan?: Vlan | undefined;
273
+ }
227
274
  export interface GetEnvironmentRequest {
228
275
  environmentId: string | undefined;
229
276
  }
@@ -253,25 +300,6 @@ export interface ListEnvironmentVlansRequest {
253
300
  maxResults?: number | undefined;
254
301
  environmentId: string | undefined;
255
302
  }
256
- export declare const VlanState: {
257
- readonly CREATED: "CREATED";
258
- readonly CREATE_FAILED: "CREATE_FAILED";
259
- readonly CREATING: "CREATING";
260
- readonly DELETED: "DELETED";
261
- readonly DELETING: "DELETING";
262
- };
263
- export type VlanState = (typeof VlanState)[keyof typeof VlanState];
264
- export interface Vlan {
265
- vlanId?: number | undefined;
266
- cidr?: string | undefined;
267
- availabilityZone?: string | undefined;
268
- functionName?: string | undefined;
269
- subnetId?: string | undefined;
270
- createdAt?: Date | undefined;
271
- modifiedAt?: Date | undefined;
272
- vlanState?: VlanState | undefined;
273
- stateDetails?: string | undefined;
274
- }
275
303
  export interface ListEnvironmentVlansResponse {
276
304
  nextToken?: string | undefined;
277
305
  environmentVlans?: Vlan[] | undefined;
@@ -3,6 +3,10 @@ import {
3
3
  HttpResponse as __HttpResponse,
4
4
  } from "@smithy/protocol-http";
5
5
  import { SerdeContext as __SerdeContext } from "@smithy/types";
6
+ import {
7
+ AssociateEipToVlanCommandInput,
8
+ AssociateEipToVlanCommandOutput,
9
+ } from "../commands/AssociateEipToVlanCommand";
6
10
  import {
7
11
  CreateEnvironmentCommandInput,
8
12
  CreateEnvironmentCommandOutput,
@@ -19,6 +23,10 @@ import {
19
23
  DeleteEnvironmentHostCommandInput,
20
24
  DeleteEnvironmentHostCommandOutput,
21
25
  } from "../commands/DeleteEnvironmentHostCommand";
26
+ import {
27
+ DisassociateEipFromVlanCommandInput,
28
+ DisassociateEipFromVlanCommandOutput,
29
+ } from "../commands/DisassociateEipFromVlanCommand";
22
30
  import {
23
31
  GetEnvironmentCommandInput,
24
32
  GetEnvironmentCommandOutput,
@@ -47,6 +55,10 @@ import {
47
55
  UntagResourceCommandInput,
48
56
  UntagResourceCommandOutput,
49
57
  } from "../commands/UntagResourceCommand";
58
+ export declare const se_AssociateEipToVlanCommand: (
59
+ input: AssociateEipToVlanCommandInput,
60
+ context: __SerdeContext
61
+ ) => Promise<__HttpRequest>;
50
62
  export declare const se_CreateEnvironmentCommand: (
51
63
  input: CreateEnvironmentCommandInput,
52
64
  context: __SerdeContext
@@ -63,6 +75,10 @@ export declare const se_DeleteEnvironmentHostCommand: (
63
75
  input: DeleteEnvironmentHostCommandInput,
64
76
  context: __SerdeContext
65
77
  ) => Promise<__HttpRequest>;
78
+ export declare const se_DisassociateEipFromVlanCommand: (
79
+ input: DisassociateEipFromVlanCommandInput,
80
+ context: __SerdeContext
81
+ ) => Promise<__HttpRequest>;
66
82
  export declare const se_GetEnvironmentCommand: (
67
83
  input: GetEnvironmentCommandInput,
68
84
  context: __SerdeContext
@@ -91,6 +107,10 @@ export declare const se_UntagResourceCommand: (
91
107
  input: UntagResourceCommandInput,
92
108
  context: __SerdeContext
93
109
  ) => Promise<__HttpRequest>;
110
+ export declare const de_AssociateEipToVlanCommand: (
111
+ output: __HttpResponse,
112
+ context: __SerdeContext
113
+ ) => Promise<AssociateEipToVlanCommandOutput>;
94
114
  export declare const de_CreateEnvironmentCommand: (
95
115
  output: __HttpResponse,
96
116
  context: __SerdeContext
@@ -107,6 +127,10 @@ export declare const de_DeleteEnvironmentHostCommand: (
107
127
  output: __HttpResponse,
108
128
  context: __SerdeContext
109
129
  ) => Promise<DeleteEnvironmentHostCommandOutput>;
130
+ export declare const de_DisassociateEipFromVlanCommand: (
131
+ output: __HttpResponse,
132
+ context: __SerdeContext
133
+ ) => Promise<DisassociateEipFromVlanCommandOutput>;
110
134
  export declare const de_GetEnvironmentCommand: (
111
135
  output: __HttpResponse,
112
136
  context: __SerdeContext
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-evs",
3
3
  "description": "AWS SDK for JavaScript Evs Client for Node.js, Browser and React Native",
4
- "version": "3.883.0",
4
+ "version": "3.887.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -20,42 +20,42 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.883.0",
24
- "@aws-sdk/credential-provider-node": "3.883.0",
25
- "@aws-sdk/middleware-host-header": "3.873.0",
26
- "@aws-sdk/middleware-logger": "3.876.0",
27
- "@aws-sdk/middleware-recursion-detection": "3.873.0",
28
- "@aws-sdk/middleware-user-agent": "3.883.0",
29
- "@aws-sdk/region-config-resolver": "3.873.0",
30
- "@aws-sdk/types": "3.862.0",
31
- "@aws-sdk/util-endpoints": "3.879.0",
32
- "@aws-sdk/util-user-agent-browser": "3.873.0",
33
- "@aws-sdk/util-user-agent-node": "3.883.0",
34
- "@smithy/config-resolver": "^4.1.5",
35
- "@smithy/core": "^3.9.2",
36
- "@smithy/fetch-http-handler": "^5.1.1",
37
- "@smithy/hash-node": "^4.0.5",
38
- "@smithy/invalid-dependency": "^4.0.5",
39
- "@smithy/middleware-content-length": "^4.0.5",
40
- "@smithy/middleware-endpoint": "^4.1.21",
41
- "@smithy/middleware-retry": "^4.1.22",
42
- "@smithy/middleware-serde": "^4.0.9",
43
- "@smithy/middleware-stack": "^4.0.5",
44
- "@smithy/node-config-provider": "^4.1.4",
45
- "@smithy/node-http-handler": "^4.1.1",
46
- "@smithy/protocol-http": "^5.1.3",
47
- "@smithy/smithy-client": "^4.5.2",
48
- "@smithy/types": "^4.3.2",
49
- "@smithy/url-parser": "^4.0.5",
50
- "@smithy/util-base64": "^4.0.0",
51
- "@smithy/util-body-length-browser": "^4.0.0",
52
- "@smithy/util-body-length-node": "^4.0.0",
53
- "@smithy/util-defaults-mode-browser": "^4.0.29",
54
- "@smithy/util-defaults-mode-node": "^4.0.29",
55
- "@smithy/util-endpoints": "^3.0.7",
56
- "@smithy/util-middleware": "^4.0.5",
57
- "@smithy/util-retry": "^4.0.7",
58
- "@smithy/util-utf8": "^4.0.0",
23
+ "@aws-sdk/core": "3.887.0",
24
+ "@aws-sdk/credential-provider-node": "3.887.0",
25
+ "@aws-sdk/middleware-host-header": "3.887.0",
26
+ "@aws-sdk/middleware-logger": "3.887.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.887.0",
28
+ "@aws-sdk/middleware-user-agent": "3.887.0",
29
+ "@aws-sdk/region-config-resolver": "3.887.0",
30
+ "@aws-sdk/types": "3.887.0",
31
+ "@aws-sdk/util-endpoints": "3.887.0",
32
+ "@aws-sdk/util-user-agent-browser": "3.887.0",
33
+ "@aws-sdk/util-user-agent-node": "3.887.0",
34
+ "@smithy/config-resolver": "^4.2.1",
35
+ "@smithy/core": "^3.11.0",
36
+ "@smithy/fetch-http-handler": "^5.2.1",
37
+ "@smithy/hash-node": "^4.1.1",
38
+ "@smithy/invalid-dependency": "^4.1.1",
39
+ "@smithy/middleware-content-length": "^4.1.1",
40
+ "@smithy/middleware-endpoint": "^4.2.1",
41
+ "@smithy/middleware-retry": "^4.2.1",
42
+ "@smithy/middleware-serde": "^4.1.1",
43
+ "@smithy/middleware-stack": "^4.1.1",
44
+ "@smithy/node-config-provider": "^4.2.1",
45
+ "@smithy/node-http-handler": "^4.2.1",
46
+ "@smithy/protocol-http": "^5.2.1",
47
+ "@smithy/smithy-client": "^4.6.1",
48
+ "@smithy/types": "^4.5.0",
49
+ "@smithy/url-parser": "^4.1.1",
50
+ "@smithy/util-base64": "^4.1.0",
51
+ "@smithy/util-body-length-browser": "^4.1.0",
52
+ "@smithy/util-body-length-node": "^4.1.0",
53
+ "@smithy/util-defaults-mode-browser": "^4.1.1",
54
+ "@smithy/util-defaults-mode-node": "^4.1.1",
55
+ "@smithy/util-endpoints": "^3.1.1",
56
+ "@smithy/util-middleware": "^4.1.1",
57
+ "@smithy/util-retry": "^4.1.1",
58
+ "@smithy/util-utf8": "^4.1.0",
59
59
  "@types/uuid": "^9.0.1",
60
60
  "tslib": "^2.6.2",
61
61
  "uuid": "^9.0.1"