@aws-sdk/client-networkmanager 3.699.0 → 3.709.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 (39) hide show
  1. package/README.md +24 -0
  2. package/dist-cjs/index.js +152 -4
  3. package/dist-es/NetworkManager.js +6 -0
  4. package/dist-es/commands/CreateDirectConnectGatewayAttachmentCommand.js +22 -0
  5. package/dist-es/commands/GetDirectConnectGatewayAttachmentCommand.js +22 -0
  6. package/dist-es/commands/UpdateDirectConnectGatewayAttachmentCommand.js +22 -0
  7. package/dist-es/commands/index.js +3 -0
  8. package/dist-es/models/models_0.js +4 -0
  9. package/dist-es/protocols/Aws_restJson1.js +93 -4
  10. package/dist-types/NetworkManager.d.ts +21 -0
  11. package/dist-types/NetworkManagerClient.d.ts +5 -2
  12. package/dist-types/commands/AcceptAttachmentCommand.d.ts +5 -2
  13. package/dist-types/commands/CreateConnectAttachmentCommand.d.ts +5 -2
  14. package/dist-types/commands/CreateDirectConnectGatewayAttachmentCommand.d.ts +155 -0
  15. package/dist-types/commands/CreateSiteToSiteVpnAttachmentCommand.d.ts +5 -2
  16. package/dist-types/commands/CreateTransitGatewayRouteTableAttachmentCommand.d.ts +5 -2
  17. package/dist-types/commands/CreateVpcAttachmentCommand.d.ts +5 -2
  18. package/dist-types/commands/DeleteAttachmentCommand.d.ts +5 -2
  19. package/dist-types/commands/GetConnectAttachmentCommand.d.ts +5 -2
  20. package/dist-types/commands/GetDirectConnectGatewayAttachmentCommand.d.ts +140 -0
  21. package/dist-types/commands/GetSiteToSiteVpnAttachmentCommand.d.ts +5 -2
  22. package/dist-types/commands/GetTransitGatewayRouteTableAttachmentCommand.d.ts +5 -2
  23. package/dist-types/commands/GetVpcAttachmentCommand.d.ts +5 -2
  24. package/dist-types/commands/ListAttachmentsCommand.d.ts +6 -3
  25. package/dist-types/commands/RejectAttachmentCommand.d.ts +5 -2
  26. package/dist-types/commands/UpdateDirectConnectGatewayAttachmentCommand.d.ts +147 -0
  27. package/dist-types/commands/UpdateVpcAttachmentCommand.d.ts +5 -2
  28. package/dist-types/commands/index.d.ts +3 -0
  29. package/dist-types/models/models_0.d.ts +116 -6
  30. package/dist-types/protocols/Aws_restJson1.d.ts +27 -0
  31. package/dist-types/ts3.4/NetworkManager.d.ts +69 -0
  32. package/dist-types/ts3.4/NetworkManagerClient.d.ts +18 -0
  33. package/dist-types/ts3.4/commands/CreateDirectConnectGatewayAttachmentCommand.d.ts +51 -0
  34. package/dist-types/ts3.4/commands/GetDirectConnectGatewayAttachmentCommand.d.ts +51 -0
  35. package/dist-types/ts3.4/commands/UpdateDirectConnectGatewayAttachmentCommand.d.ts +51 -0
  36. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  37. package/dist-types/ts3.4/models/models_0.d.ts +37 -5
  38. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +36 -0
  39. package/package.json +35 -35
@@ -1,6 +1,6 @@
1
1
  import {
2
+ AutomaticJsonStringConversion as __AutomaticJsonStringConversion,
2
3
  ExceptionOptionType as __ExceptionOptionType,
3
- LazyJsonString as __LazyJsonString,
4
4
  } from "@smithy/smithy-client";
5
5
  import { NetworkManagerServiceException as __BaseException } from "./NetworkManagerServiceException";
6
6
  export interface AcceptAttachmentRequest {
@@ -8,6 +8,7 @@ export interface AcceptAttachmentRequest {
8
8
  }
9
9
  export declare const AttachmentType: {
10
10
  readonly CONNECT: "CONNECT";
11
+ readonly DIRECT_CONNECT_GATEWAY: "DIRECT_CONNECT_GATEWAY";
11
12
  readonly SITE_TO_SITE_VPN: "SITE_TO_SITE_VPN";
12
13
  readonly TRANSIT_GATEWAY_ROUTE_TABLE: "TRANSIT_GATEWAY_ROUTE_TABLE";
13
14
  readonly VPC: "VPC";
@@ -15,6 +16,9 @@ export declare const AttachmentType: {
15
16
  export type AttachmentType =
16
17
  (typeof AttachmentType)[keyof typeof AttachmentType];
17
18
  export declare const AttachmentErrorCode: {
19
+ readonly DIRECT_CONNECT_GATEWAY_EXISTING_ATTACHMENTS: "DIRECT_CONNECT_GATEWAY_EXISTING_ATTACHMENTS";
20
+ readonly DIRECT_CONNECT_GATEWAY_NOT_FOUND: "DIRECT_CONNECT_GATEWAY_NOT_FOUND";
21
+ readonly DIRECT_CONNECT_GATEWAY_NO_PRIVATE_VIF: "DIRECT_CONNECT_GATEWAY_NO_PRIVATE_VIF";
18
22
  readonly MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED: "MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED";
19
23
  readonly SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE: "SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE";
20
24
  readonly SUBNET_NOT_FOUND: "SUBNET_NOT_FOUND";
@@ -67,6 +71,7 @@ export interface Attachment {
67
71
  AttachmentType?: AttachmentType | undefined;
68
72
  State?: AttachmentState | undefined;
69
73
  EdgeLocation?: string | undefined;
74
+ EdgeLocations?: string[] | undefined;
70
75
  ResourceArn?: string | undefined;
71
76
  AttachmentPolicyRuleNumber?: number | undefined;
72
77
  SegmentName?: string | undefined;
@@ -548,7 +553,7 @@ export interface CoreNetworkPolicy {
548
553
  CreatedAt?: Date | undefined;
549
554
  ChangeSetState?: ChangeSetState | undefined;
550
555
  PolicyErrors?: CoreNetworkPolicyError[] | undefined;
551
- PolicyDocument?: __LazyJsonString | string | undefined;
556
+ PolicyDocument?: __AutomaticJsonStringConversion | string | undefined;
552
557
  }
553
558
  export declare class CoreNetworkPolicyException extends __BaseException {
554
559
  readonly name: "CoreNetworkPolicyException";
@@ -670,6 +675,20 @@ export interface Device {
670
675
  export interface CreateDeviceResponse {
671
676
  Device?: Device | undefined;
672
677
  }
678
+ export interface CreateDirectConnectGatewayAttachmentRequest {
679
+ CoreNetworkId: string | undefined;
680
+ DirectConnectGatewayArn: string | undefined;
681
+ EdgeLocations: string[] | undefined;
682
+ Tags?: Tag[] | undefined;
683
+ ClientToken?: string | undefined;
684
+ }
685
+ export interface DirectConnectGatewayAttachment {
686
+ Attachment?: Attachment | undefined;
687
+ DirectConnectGatewayArn?: string | undefined;
688
+ }
689
+ export interface CreateDirectConnectGatewayAttachmentResponse {
690
+ DirectConnectGatewayAttachment?: DirectConnectGatewayAttachment | undefined;
691
+ }
673
692
  export interface CreateGlobalNetworkRequest {
674
693
  Description?: string | undefined;
675
694
  Tags?: Tag[] | undefined;
@@ -1085,6 +1104,12 @@ export interface GetDevicesResponse {
1085
1104
  Devices?: Device[] | undefined;
1086
1105
  NextToken?: string | undefined;
1087
1106
  }
1107
+ export interface GetDirectConnectGatewayAttachmentRequest {
1108
+ AttachmentId: string | undefined;
1109
+ }
1110
+ export interface GetDirectConnectGatewayAttachmentResponse {
1111
+ DirectConnectGatewayAttachment?: DirectConnectGatewayAttachment | undefined;
1112
+ }
1088
1113
  export interface GetLinkAssociationsRequest {
1089
1114
  GlobalNetworkId: string | undefined;
1090
1115
  DeviceId?: string | undefined;
@@ -1259,7 +1284,7 @@ export interface GetResourcePolicyRequest {
1259
1284
  ResourceArn: string | undefined;
1260
1285
  }
1261
1286
  export interface GetResourcePolicyResponse {
1262
- PolicyDocument?: __LazyJsonString | string | undefined;
1287
+ PolicyDocument?: __AutomaticJsonStringConversion | string | undefined;
1263
1288
  }
1264
1289
  export interface GetRouteAnalysisRequest {
1265
1290
  GlobalNetworkId: string | undefined;
@@ -1467,7 +1492,7 @@ export interface ListTagsForResourceResponse {
1467
1492
  }
1468
1493
  export interface PutCoreNetworkPolicyRequest {
1469
1494
  CoreNetworkId: string | undefined;
1470
- PolicyDocument: __LazyJsonString | string | undefined;
1495
+ PolicyDocument: __AutomaticJsonStringConversion | string | undefined;
1471
1496
  Description?: string | undefined;
1472
1497
  LatestVersionId?: number | undefined;
1473
1498
  ClientToken?: string | undefined;
@@ -1476,7 +1501,7 @@ export interface PutCoreNetworkPolicyResponse {
1476
1501
  CoreNetworkPolicy?: CoreNetworkPolicy | undefined;
1477
1502
  }
1478
1503
  export interface PutResourcePolicyRequest {
1479
- PolicyDocument: __LazyJsonString | string | undefined;
1504
+ PolicyDocument: __AutomaticJsonStringConversion | string | undefined;
1480
1505
  ResourceArn: string | undefined;
1481
1506
  }
1482
1507
  export interface PutResourcePolicyResponse {}
@@ -1562,6 +1587,13 @@ export interface UpdateDeviceRequest {
1562
1587
  export interface UpdateDeviceResponse {
1563
1588
  Device?: Device | undefined;
1564
1589
  }
1590
+ export interface UpdateDirectConnectGatewayAttachmentRequest {
1591
+ AttachmentId: string | undefined;
1592
+ EdgeLocations?: string[] | undefined;
1593
+ }
1594
+ export interface UpdateDirectConnectGatewayAttachmentResponse {
1595
+ DirectConnectGatewayAttachment?: DirectConnectGatewayAttachment | undefined;
1596
+ }
1565
1597
  export interface UpdateGlobalNetworkRequest {
1566
1598
  GlobalNetworkId: string | undefined;
1567
1599
  Description?: string | undefined;
@@ -43,6 +43,10 @@ import {
43
43
  CreateDeviceCommandInput,
44
44
  CreateDeviceCommandOutput,
45
45
  } from "../commands/CreateDeviceCommand";
46
+ import {
47
+ CreateDirectConnectGatewayAttachmentCommandInput,
48
+ CreateDirectConnectGatewayAttachmentCommandOutput,
49
+ } from "../commands/CreateDirectConnectGatewayAttachmentCommand";
46
50
  import {
47
51
  CreateGlobalNetworkCommandInput,
48
52
  CreateGlobalNetworkCommandOutput,
@@ -183,6 +187,10 @@ import {
183
187
  GetDevicesCommandInput,
184
188
  GetDevicesCommandOutput,
185
189
  } from "../commands/GetDevicesCommand";
190
+ import {
191
+ GetDirectConnectGatewayAttachmentCommandInput,
192
+ GetDirectConnectGatewayAttachmentCommandOutput,
193
+ } from "../commands/GetDirectConnectGatewayAttachmentCommand";
186
194
  import {
187
195
  GetLinkAssociationsCommandInput,
188
196
  GetLinkAssociationsCommandOutput,
@@ -323,6 +331,10 @@ import {
323
331
  UpdateDeviceCommandInput,
324
332
  UpdateDeviceCommandOutput,
325
333
  } from "../commands/UpdateDeviceCommand";
334
+ import {
335
+ UpdateDirectConnectGatewayAttachmentCommandInput,
336
+ UpdateDirectConnectGatewayAttachmentCommandOutput,
337
+ } from "../commands/UpdateDirectConnectGatewayAttachmentCommand";
326
338
  import {
327
339
  UpdateGlobalNetworkCommandInput,
328
340
  UpdateGlobalNetworkCommandOutput,
@@ -383,6 +395,10 @@ export declare const se_CreateDeviceCommand: (
383
395
  input: CreateDeviceCommandInput,
384
396
  context: __SerdeContext
385
397
  ) => Promise<__HttpRequest>;
398
+ export declare const se_CreateDirectConnectGatewayAttachmentCommand: (
399
+ input: CreateDirectConnectGatewayAttachmentCommandInput,
400
+ context: __SerdeContext
401
+ ) => Promise<__HttpRequest>;
386
402
  export declare const se_CreateGlobalNetworkCommand: (
387
403
  input: CreateGlobalNetworkCommandInput,
388
404
  context: __SerdeContext
@@ -523,6 +539,10 @@ export declare const se_GetDevicesCommand: (
523
539
  input: GetDevicesCommandInput,
524
540
  context: __SerdeContext
525
541
  ) => Promise<__HttpRequest>;
542
+ export declare const se_GetDirectConnectGatewayAttachmentCommand: (
543
+ input: GetDirectConnectGatewayAttachmentCommandInput,
544
+ context: __SerdeContext
545
+ ) => Promise<__HttpRequest>;
526
546
  export declare const se_GetLinkAssociationsCommand: (
527
547
  input: GetLinkAssociationsCommandInput,
528
548
  context: __SerdeContext
@@ -663,6 +683,10 @@ export declare const se_UpdateDeviceCommand: (
663
683
  input: UpdateDeviceCommandInput,
664
684
  context: __SerdeContext
665
685
  ) => Promise<__HttpRequest>;
686
+ export declare const se_UpdateDirectConnectGatewayAttachmentCommand: (
687
+ input: UpdateDirectConnectGatewayAttachmentCommandInput,
688
+ context: __SerdeContext
689
+ ) => Promise<__HttpRequest>;
666
690
  export declare const se_UpdateGlobalNetworkCommand: (
667
691
  input: UpdateGlobalNetworkCommandInput,
668
692
  context: __SerdeContext
@@ -723,6 +747,10 @@ export declare const de_CreateDeviceCommand: (
723
747
  output: __HttpResponse,
724
748
  context: __SerdeContext
725
749
  ) => Promise<CreateDeviceCommandOutput>;
750
+ export declare const de_CreateDirectConnectGatewayAttachmentCommand: (
751
+ output: __HttpResponse,
752
+ context: __SerdeContext
753
+ ) => Promise<CreateDirectConnectGatewayAttachmentCommandOutput>;
726
754
  export declare const de_CreateGlobalNetworkCommand: (
727
755
  output: __HttpResponse,
728
756
  context: __SerdeContext
@@ -863,6 +891,10 @@ export declare const de_GetDevicesCommand: (
863
891
  output: __HttpResponse,
864
892
  context: __SerdeContext
865
893
  ) => Promise<GetDevicesCommandOutput>;
894
+ export declare const de_GetDirectConnectGatewayAttachmentCommand: (
895
+ output: __HttpResponse,
896
+ context: __SerdeContext
897
+ ) => Promise<GetDirectConnectGatewayAttachmentCommandOutput>;
866
898
  export declare const de_GetLinkAssociationsCommand: (
867
899
  output: __HttpResponse,
868
900
  context: __SerdeContext
@@ -1003,6 +1035,10 @@ export declare const de_UpdateDeviceCommand: (
1003
1035
  output: __HttpResponse,
1004
1036
  context: __SerdeContext
1005
1037
  ) => Promise<UpdateDeviceCommandOutput>;
1038
+ export declare const de_UpdateDirectConnectGatewayAttachmentCommand: (
1039
+ output: __HttpResponse,
1040
+ context: __SerdeContext
1041
+ ) => Promise<UpdateDirectConnectGatewayAttachmentCommandOutput>;
1006
1042
  export declare const de_UpdateGlobalNetworkCommand: (
1007
1043
  output: __HttpResponse,
1008
1044
  context: __SerdeContext
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-networkmanager",
3
3
  "description": "AWS SDK for JavaScript Networkmanager Client for Node.js, Browser and React Native",
4
- "version": "3.699.0",
4
+ "version": "3.709.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-networkmanager",
@@ -20,43 +20,43 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.699.0",
24
- "@aws-sdk/client-sts": "3.699.0",
25
- "@aws-sdk/core": "3.696.0",
26
- "@aws-sdk/credential-provider-node": "3.699.0",
27
- "@aws-sdk/middleware-host-header": "3.696.0",
28
- "@aws-sdk/middleware-logger": "3.696.0",
29
- "@aws-sdk/middleware-recursion-detection": "3.696.0",
30
- "@aws-sdk/middleware-user-agent": "3.696.0",
31
- "@aws-sdk/region-config-resolver": "3.696.0",
32
- "@aws-sdk/types": "3.696.0",
33
- "@aws-sdk/util-endpoints": "3.696.0",
34
- "@aws-sdk/util-user-agent-browser": "3.696.0",
35
- "@aws-sdk/util-user-agent-node": "3.696.0",
36
- "@smithy/config-resolver": "^3.0.12",
37
- "@smithy/core": "^2.5.3",
38
- "@smithy/fetch-http-handler": "^4.1.1",
39
- "@smithy/hash-node": "^3.0.10",
40
- "@smithy/invalid-dependency": "^3.0.10",
41
- "@smithy/middleware-content-length": "^3.0.12",
42
- "@smithy/middleware-endpoint": "^3.2.3",
43
- "@smithy/middleware-retry": "^3.0.27",
44
- "@smithy/middleware-serde": "^3.0.10",
45
- "@smithy/middleware-stack": "^3.0.10",
46
- "@smithy/node-config-provider": "^3.1.11",
47
- "@smithy/node-http-handler": "^3.3.1",
48
- "@smithy/protocol-http": "^4.1.7",
49
- "@smithy/smithy-client": "^3.4.4",
50
- "@smithy/types": "^3.7.1",
51
- "@smithy/url-parser": "^3.0.10",
23
+ "@aws-sdk/client-sso-oidc": "3.709.0",
24
+ "@aws-sdk/client-sts": "3.709.0",
25
+ "@aws-sdk/core": "3.709.0",
26
+ "@aws-sdk/credential-provider-node": "3.709.0",
27
+ "@aws-sdk/middleware-host-header": "3.709.0",
28
+ "@aws-sdk/middleware-logger": "3.709.0",
29
+ "@aws-sdk/middleware-recursion-detection": "3.709.0",
30
+ "@aws-sdk/middleware-user-agent": "3.709.0",
31
+ "@aws-sdk/region-config-resolver": "3.709.0",
32
+ "@aws-sdk/types": "3.709.0",
33
+ "@aws-sdk/util-endpoints": "3.709.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.709.0",
35
+ "@aws-sdk/util-user-agent-node": "3.709.0",
36
+ "@smithy/config-resolver": "^3.0.13",
37
+ "@smithy/core": "^2.5.5",
38
+ "@smithy/fetch-http-handler": "^4.1.2",
39
+ "@smithy/hash-node": "^3.0.11",
40
+ "@smithy/invalid-dependency": "^3.0.11",
41
+ "@smithy/middleware-content-length": "^3.0.13",
42
+ "@smithy/middleware-endpoint": "^3.2.5",
43
+ "@smithy/middleware-retry": "^3.0.30",
44
+ "@smithy/middleware-serde": "^3.0.11",
45
+ "@smithy/middleware-stack": "^3.0.11",
46
+ "@smithy/node-config-provider": "^3.1.12",
47
+ "@smithy/node-http-handler": "^3.3.2",
48
+ "@smithy/protocol-http": "^4.1.8",
49
+ "@smithy/smithy-client": "^3.5.0",
50
+ "@smithy/types": "^3.7.2",
51
+ "@smithy/url-parser": "^3.0.11",
52
52
  "@smithy/util-base64": "^3.0.0",
53
53
  "@smithy/util-body-length-browser": "^3.0.0",
54
54
  "@smithy/util-body-length-node": "^3.0.0",
55
- "@smithy/util-defaults-mode-browser": "^3.0.27",
56
- "@smithy/util-defaults-mode-node": "^3.0.27",
57
- "@smithy/util-endpoints": "^2.1.6",
58
- "@smithy/util-middleware": "^3.0.10",
59
- "@smithy/util-retry": "^3.0.10",
55
+ "@smithy/util-defaults-mode-browser": "^3.0.30",
56
+ "@smithy/util-defaults-mode-node": "^3.0.30",
57
+ "@smithy/util-endpoints": "^2.1.7",
58
+ "@smithy/util-middleware": "^3.0.11",
59
+ "@smithy/util-retry": "^3.0.11",
60
60
  "@smithy/util-utf8": "^3.0.0",
61
61
  "@types/uuid": "^9.0.1",
62
62
  "tslib": "^2.6.2",