@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,4 +1,4 @@
1
- import { ExceptionOptionType as __ExceptionOptionType, LazyJsonString as __LazyJsonString } from "@smithy/smithy-client";
1
+ import { AutomaticJsonStringConversion as __AutomaticJsonStringConversion, ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
2
  import { NetworkManagerServiceException as __BaseException } from "./NetworkManagerServiceException";
3
3
  /**
4
4
  * @public
@@ -16,6 +16,7 @@ export interface AcceptAttachmentRequest {
16
16
  */
17
17
  export declare const AttachmentType: {
18
18
  readonly CONNECT: "CONNECT";
19
+ readonly DIRECT_CONNECT_GATEWAY: "DIRECT_CONNECT_GATEWAY";
19
20
  readonly SITE_TO_SITE_VPN: "SITE_TO_SITE_VPN";
20
21
  readonly TRANSIT_GATEWAY_ROUTE_TABLE: "TRANSIT_GATEWAY_ROUTE_TABLE";
21
22
  readonly VPC: "VPC";
@@ -29,6 +30,9 @@ export type AttachmentType = (typeof AttachmentType)[keyof typeof AttachmentType
29
30
  * @enum
30
31
  */
31
32
  export declare const AttachmentErrorCode: {
33
+ readonly DIRECT_CONNECT_GATEWAY_EXISTING_ATTACHMENTS: "DIRECT_CONNECT_GATEWAY_EXISTING_ATTACHMENTS";
34
+ readonly DIRECT_CONNECT_GATEWAY_NOT_FOUND: "DIRECT_CONNECT_GATEWAY_NOT_FOUND";
35
+ readonly DIRECT_CONNECT_GATEWAY_NO_PRIVATE_VIF: "DIRECT_CONNECT_GATEWAY_NO_PRIVATE_VIF";
32
36
  readonly MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED: "MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED";
33
37
  readonly SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE: "SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE";
34
38
  readonly SUBNET_NOT_FOUND: "SUBNET_NOT_FOUND";
@@ -183,10 +187,15 @@ export interface Attachment {
183
187
  */
184
188
  State?: AttachmentState | undefined;
185
189
  /**
186
- * <p>The Region where the edge is located.</p>
190
+ * <p>The Region where the edge is located. This is returned for all attachment types except a Direct Connect gateway attachment, which instead returns <code>EdgeLocations</code>.</p>
187
191
  * @public
188
192
  */
189
193
  EdgeLocation?: string | undefined;
194
+ /**
195
+ * <p>The edge locations that the Direct Connect gateway is associated with. This is returned only for Direct Connect gateway attachments. All other attachment types retrun <code>EdgeLocation</code>.</p>
196
+ * @public
197
+ */
198
+ EdgeLocations?: string[] | undefined;
190
199
  /**
191
200
  * <p>The attachment resource ARN.</p>
192
201
  * @public
@@ -1764,7 +1773,7 @@ export interface CoreNetworkPolicy {
1764
1773
  * <p>Describes a core network policy.</p>
1765
1774
  * @public
1766
1775
  */
1767
- PolicyDocument?: __LazyJsonString | string | undefined;
1776
+ PolicyDocument?: __AutomaticJsonStringConversion | string | undefined;
1768
1777
  }
1769
1778
  /**
1770
1779
  * <p>Describes a core network policy exception.</p>
@@ -2253,6 +2262,62 @@ export interface CreateDeviceResponse {
2253
2262
  */
2254
2263
  Device?: Device | undefined;
2255
2264
  }
2265
+ /**
2266
+ * @public
2267
+ */
2268
+ export interface CreateDirectConnectGatewayAttachmentRequest {
2269
+ /**
2270
+ * <p>The ID of the Cloud WAN core network that the Direct Connect gateway attachment should be attached to.</p>
2271
+ * @public
2272
+ */
2273
+ CoreNetworkId: string | undefined;
2274
+ /**
2275
+ * <p>The ARN of the Direct Connect gateway attachment.</p>
2276
+ * @public
2277
+ */
2278
+ DirectConnectGatewayArn: string | undefined;
2279
+ /**
2280
+ * <p>One or more core network edge locations that the Direct Connect gateway attachment is associated with. </p>
2281
+ * @public
2282
+ */
2283
+ EdgeLocations: string[] | undefined;
2284
+ /**
2285
+ * <p>The key value tags to apply to the Direct Connect gateway attachment during creation.</p>
2286
+ * @public
2287
+ */
2288
+ Tags?: Tag[] | undefined;
2289
+ /**
2290
+ * <p>client token</p>
2291
+ * @public
2292
+ */
2293
+ ClientToken?: string | undefined;
2294
+ }
2295
+ /**
2296
+ * <p>Describes a Direct Connect gateway attachment.</p>
2297
+ * @public
2298
+ */
2299
+ export interface DirectConnectGatewayAttachment {
2300
+ /**
2301
+ * <p>Describes a core network attachment.</p>
2302
+ * @public
2303
+ */
2304
+ Attachment?: Attachment | undefined;
2305
+ /**
2306
+ * <p>The Direct Connect gateway attachment ARN.</p>
2307
+ * @public
2308
+ */
2309
+ DirectConnectGatewayArn?: string | undefined;
2310
+ }
2311
+ /**
2312
+ * @public
2313
+ */
2314
+ export interface CreateDirectConnectGatewayAttachmentResponse {
2315
+ /**
2316
+ * <p>Describes the details of a <code>CreateDirectConnectGatewayAttachment</code> request.</p>
2317
+ * @public
2318
+ */
2319
+ DirectConnectGatewayAttachment?: DirectConnectGatewayAttachment | undefined;
2320
+ }
2256
2321
  /**
2257
2322
  * @public
2258
2323
  */
@@ -3774,6 +3839,26 @@ export interface GetDevicesResponse {
3774
3839
  */
3775
3840
  NextToken?: string | undefined;
3776
3841
  }
3842
+ /**
3843
+ * @public
3844
+ */
3845
+ export interface GetDirectConnectGatewayAttachmentRequest {
3846
+ /**
3847
+ * <p>The ID of the Direct Connect gateway attachment that you want to see details about.</p>
3848
+ * @public
3849
+ */
3850
+ AttachmentId: string | undefined;
3851
+ }
3852
+ /**
3853
+ * @public
3854
+ */
3855
+ export interface GetDirectConnectGatewayAttachmentResponse {
3856
+ /**
3857
+ * <p>Shows details about the Direct Connect gateway attachment. </p>
3858
+ * @public
3859
+ */
3860
+ DirectConnectGatewayAttachment?: DirectConnectGatewayAttachment | undefined;
3861
+ }
3777
3862
  /**
3778
3863
  * @public
3779
3864
  */
@@ -4879,7 +4964,7 @@ export interface GetResourcePolicyResponse {
4879
4964
  * <p>The resource policy document.</p>
4880
4965
  * @public
4881
4966
  */
4882
- PolicyDocument?: __LazyJsonString | string | undefined;
4967
+ PolicyDocument?: __AutomaticJsonStringConversion | string | undefined;
4883
4968
  }
4884
4969
  /**
4885
4970
  * @public
@@ -5663,7 +5748,7 @@ export interface PutCoreNetworkPolicyRequest {
5663
5748
  * <p>The policy document.</p>
5664
5749
  * @public
5665
5750
  */
5666
- PolicyDocument: __LazyJsonString | string | undefined;
5751
+ PolicyDocument: __AutomaticJsonStringConversion | string | undefined;
5667
5752
  /**
5668
5753
  * <p>a core network policy description.</p>
5669
5754
  * @public
@@ -5698,7 +5783,7 @@ export interface PutResourcePolicyRequest {
5698
5783
  * <p>The JSON resource policy document.</p>
5699
5784
  * @public
5700
5785
  */
5701
- PolicyDocument: __LazyJsonString | string | undefined;
5786
+ PolicyDocument: __AutomaticJsonStringConversion | string | undefined;
5702
5787
  /**
5703
5788
  * <p>The ARN of the resource policy. </p>
5704
5789
  * @public
@@ -6032,6 +6117,31 @@ export interface UpdateDeviceResponse {
6032
6117
  */
6033
6118
  Device?: Device | undefined;
6034
6119
  }
6120
+ /**
6121
+ * @public
6122
+ */
6123
+ export interface UpdateDirectConnectGatewayAttachmentRequest {
6124
+ /**
6125
+ * <p>The ID of the Direct Connect gateway attachment for the updated edge locations. </p>
6126
+ * @public
6127
+ */
6128
+ AttachmentId: string | undefined;
6129
+ /**
6130
+ * <p>One or more edge locations to update for the Direct Connect gateway attachment. The updated array of edge locations overwrites the previous array of locations. <code>EdgeLocations</code> is only used for Direct Connect gateway attachments. Do</p>
6131
+ * @public
6132
+ */
6133
+ EdgeLocations?: string[] | undefined;
6134
+ }
6135
+ /**
6136
+ * @public
6137
+ */
6138
+ export interface UpdateDirectConnectGatewayAttachmentResponse {
6139
+ /**
6140
+ * <p>Returns details of the Direct Connect gateway attachment with the updated edge locations.</p>
6141
+ * @public
6142
+ */
6143
+ DirectConnectGatewayAttachment?: DirectConnectGatewayAttachment | undefined;
6144
+ }
6035
6145
  /**
6036
6146
  * @public
6037
6147
  */
@@ -10,6 +10,7 @@ import { CreateConnectionCommandInput, CreateConnectionCommandOutput } from "../
10
10
  import { CreateConnectPeerCommandInput, CreateConnectPeerCommandOutput } from "../commands/CreateConnectPeerCommand";
11
11
  import { CreateCoreNetworkCommandInput, CreateCoreNetworkCommandOutput } from "../commands/CreateCoreNetworkCommand";
12
12
  import { CreateDeviceCommandInput, CreateDeviceCommandOutput } from "../commands/CreateDeviceCommand";
13
+ import { CreateDirectConnectGatewayAttachmentCommandInput, CreateDirectConnectGatewayAttachmentCommandOutput } from "../commands/CreateDirectConnectGatewayAttachmentCommand";
13
14
  import { CreateGlobalNetworkCommandInput, CreateGlobalNetworkCommandOutput } from "../commands/CreateGlobalNetworkCommand";
14
15
  import { CreateLinkCommandInput, CreateLinkCommandOutput } from "../commands/CreateLinkCommand";
15
16
  import { CreateSiteCommandInput, CreateSiteCommandOutput } from "../commands/CreateSiteCommand";
@@ -45,6 +46,7 @@ import { GetCoreNetworkCommandInput, GetCoreNetworkCommandOutput } from "../comm
45
46
  import { GetCoreNetworkPolicyCommandInput, GetCoreNetworkPolicyCommandOutput } from "../commands/GetCoreNetworkPolicyCommand";
46
47
  import { GetCustomerGatewayAssociationsCommandInput, GetCustomerGatewayAssociationsCommandOutput } from "../commands/GetCustomerGatewayAssociationsCommand";
47
48
  import { GetDevicesCommandInput, GetDevicesCommandOutput } from "../commands/GetDevicesCommand";
49
+ import { GetDirectConnectGatewayAttachmentCommandInput, GetDirectConnectGatewayAttachmentCommandOutput } from "../commands/GetDirectConnectGatewayAttachmentCommand";
48
50
  import { GetLinkAssociationsCommandInput, GetLinkAssociationsCommandOutput } from "../commands/GetLinkAssociationsCommand";
49
51
  import { GetLinksCommandInput, GetLinksCommandOutput } from "../commands/GetLinksCommand";
50
52
  import { GetNetworkResourceCountsCommandInput, GetNetworkResourceCountsCommandOutput } from "../commands/GetNetworkResourceCountsCommand";
@@ -80,6 +82,7 @@ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../comman
80
82
  import { UpdateConnectionCommandInput, UpdateConnectionCommandOutput } from "../commands/UpdateConnectionCommand";
81
83
  import { UpdateCoreNetworkCommandInput, UpdateCoreNetworkCommandOutput } from "../commands/UpdateCoreNetworkCommand";
82
84
  import { UpdateDeviceCommandInput, UpdateDeviceCommandOutput } from "../commands/UpdateDeviceCommand";
85
+ import { UpdateDirectConnectGatewayAttachmentCommandInput, UpdateDirectConnectGatewayAttachmentCommandOutput } from "../commands/UpdateDirectConnectGatewayAttachmentCommand";
83
86
  import { UpdateGlobalNetworkCommandInput, UpdateGlobalNetworkCommandOutput } from "../commands/UpdateGlobalNetworkCommand";
84
87
  import { UpdateLinkCommandInput, UpdateLinkCommandOutput } from "../commands/UpdateLinkCommand";
85
88
  import { UpdateNetworkResourceMetadataCommandInput, UpdateNetworkResourceMetadataCommandOutput } from "../commands/UpdateNetworkResourceMetadataCommand";
@@ -125,6 +128,10 @@ export declare const se_CreateCoreNetworkCommand: (input: CreateCoreNetworkComma
125
128
  * serializeAws_restJson1CreateDeviceCommand
126
129
  */
127
130
  export declare const se_CreateDeviceCommand: (input: CreateDeviceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
131
+ /**
132
+ * serializeAws_restJson1CreateDirectConnectGatewayAttachmentCommand
133
+ */
134
+ export declare const se_CreateDirectConnectGatewayAttachmentCommand: (input: CreateDirectConnectGatewayAttachmentCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
128
135
  /**
129
136
  * serializeAws_restJson1CreateGlobalNetworkCommand
130
137
  */
@@ -265,6 +272,10 @@ export declare const se_GetCustomerGatewayAssociationsCommand: (input: GetCustom
265
272
  * serializeAws_restJson1GetDevicesCommand
266
273
  */
267
274
  export declare const se_GetDevicesCommand: (input: GetDevicesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
275
+ /**
276
+ * serializeAws_restJson1GetDirectConnectGatewayAttachmentCommand
277
+ */
278
+ export declare const se_GetDirectConnectGatewayAttachmentCommand: (input: GetDirectConnectGatewayAttachmentCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
268
279
  /**
269
280
  * serializeAws_restJson1GetLinkAssociationsCommand
270
281
  */
@@ -405,6 +416,10 @@ export declare const se_UpdateCoreNetworkCommand: (input: UpdateCoreNetworkComma
405
416
  * serializeAws_restJson1UpdateDeviceCommand
406
417
  */
407
418
  export declare const se_UpdateDeviceCommand: (input: UpdateDeviceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
419
+ /**
420
+ * serializeAws_restJson1UpdateDirectConnectGatewayAttachmentCommand
421
+ */
422
+ export declare const se_UpdateDirectConnectGatewayAttachmentCommand: (input: UpdateDirectConnectGatewayAttachmentCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
408
423
  /**
409
424
  * serializeAws_restJson1UpdateGlobalNetworkCommand
410
425
  */
@@ -465,6 +480,10 @@ export declare const de_CreateCoreNetworkCommand: (output: __HttpResponse, conte
465
480
  * deserializeAws_restJson1CreateDeviceCommand
466
481
  */
467
482
  export declare const de_CreateDeviceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateDeviceCommandOutput>;
483
+ /**
484
+ * deserializeAws_restJson1CreateDirectConnectGatewayAttachmentCommand
485
+ */
486
+ export declare const de_CreateDirectConnectGatewayAttachmentCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateDirectConnectGatewayAttachmentCommandOutput>;
468
487
  /**
469
488
  * deserializeAws_restJson1CreateGlobalNetworkCommand
470
489
  */
@@ -605,6 +624,10 @@ export declare const de_GetCustomerGatewayAssociationsCommand: (output: __HttpRe
605
624
  * deserializeAws_restJson1GetDevicesCommand
606
625
  */
607
626
  export declare const de_GetDevicesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetDevicesCommandOutput>;
627
+ /**
628
+ * deserializeAws_restJson1GetDirectConnectGatewayAttachmentCommand
629
+ */
630
+ export declare const de_GetDirectConnectGatewayAttachmentCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetDirectConnectGatewayAttachmentCommandOutput>;
608
631
  /**
609
632
  * deserializeAws_restJson1GetLinkAssociationsCommand
610
633
  */
@@ -745,6 +768,10 @@ export declare const de_UpdateCoreNetworkCommand: (output: __HttpResponse, conte
745
768
  * deserializeAws_restJson1UpdateDeviceCommand
746
769
  */
747
770
  export declare const de_UpdateDeviceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateDeviceCommandOutput>;
771
+ /**
772
+ * deserializeAws_restJson1UpdateDirectConnectGatewayAttachmentCommand
773
+ */
774
+ export declare const de_UpdateDirectConnectGatewayAttachmentCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateDirectConnectGatewayAttachmentCommandOutput>;
748
775
  /**
749
776
  * deserializeAws_restJson1UpdateGlobalNetworkCommand
750
777
  */
@@ -39,6 +39,10 @@ import {
39
39
  CreateDeviceCommandInput,
40
40
  CreateDeviceCommandOutput,
41
41
  } from "./commands/CreateDeviceCommand";
42
+ import {
43
+ CreateDirectConnectGatewayAttachmentCommandInput,
44
+ CreateDirectConnectGatewayAttachmentCommandOutput,
45
+ } from "./commands/CreateDirectConnectGatewayAttachmentCommand";
42
46
  import {
43
47
  CreateGlobalNetworkCommandInput,
44
48
  CreateGlobalNetworkCommandOutput,
@@ -179,6 +183,10 @@ import {
179
183
  GetDevicesCommandInput,
180
184
  GetDevicesCommandOutput,
181
185
  } from "./commands/GetDevicesCommand";
186
+ import {
187
+ GetDirectConnectGatewayAttachmentCommandInput,
188
+ GetDirectConnectGatewayAttachmentCommandOutput,
189
+ } from "./commands/GetDirectConnectGatewayAttachmentCommand";
182
190
  import {
183
191
  GetLinkAssociationsCommandInput,
184
192
  GetLinkAssociationsCommandOutput,
@@ -319,6 +327,10 @@ import {
319
327
  UpdateDeviceCommandInput,
320
328
  UpdateDeviceCommandOutput,
321
329
  } from "./commands/UpdateDeviceCommand";
330
+ import {
331
+ UpdateDirectConnectGatewayAttachmentCommandInput,
332
+ UpdateDirectConnectGatewayAttachmentCommandOutput,
333
+ } from "./commands/UpdateDirectConnectGatewayAttachmentCommand";
322
334
  import {
323
335
  UpdateGlobalNetworkCommandInput,
324
336
  UpdateGlobalNetworkCommandOutput,
@@ -477,6 +489,25 @@ export interface NetworkManager {
477
489
  options: __HttpHandlerOptions,
478
490
  cb: (err: any, data?: CreateDeviceCommandOutput) => void
479
491
  ): void;
492
+ createDirectConnectGatewayAttachment(
493
+ args: CreateDirectConnectGatewayAttachmentCommandInput,
494
+ options?: __HttpHandlerOptions
495
+ ): Promise<CreateDirectConnectGatewayAttachmentCommandOutput>;
496
+ createDirectConnectGatewayAttachment(
497
+ args: CreateDirectConnectGatewayAttachmentCommandInput,
498
+ cb: (
499
+ err: any,
500
+ data?: CreateDirectConnectGatewayAttachmentCommandOutput
501
+ ) => void
502
+ ): void;
503
+ createDirectConnectGatewayAttachment(
504
+ args: CreateDirectConnectGatewayAttachmentCommandInput,
505
+ options: __HttpHandlerOptions,
506
+ cb: (
507
+ err: any,
508
+ data?: CreateDirectConnectGatewayAttachmentCommandOutput
509
+ ) => void
510
+ ): void;
480
511
  createGlobalNetwork(): Promise<CreateGlobalNetworkCommandOutput>;
481
512
  createGlobalNetwork(
482
513
  args: CreateGlobalNetworkCommandInput,
@@ -946,6 +977,25 @@ export interface NetworkManager {
946
977
  options: __HttpHandlerOptions,
947
978
  cb: (err: any, data?: GetDevicesCommandOutput) => void
948
979
  ): void;
980
+ getDirectConnectGatewayAttachment(
981
+ args: GetDirectConnectGatewayAttachmentCommandInput,
982
+ options?: __HttpHandlerOptions
983
+ ): Promise<GetDirectConnectGatewayAttachmentCommandOutput>;
984
+ getDirectConnectGatewayAttachment(
985
+ args: GetDirectConnectGatewayAttachmentCommandInput,
986
+ cb: (
987
+ err: any,
988
+ data?: GetDirectConnectGatewayAttachmentCommandOutput
989
+ ) => void
990
+ ): void;
991
+ getDirectConnectGatewayAttachment(
992
+ args: GetDirectConnectGatewayAttachmentCommandInput,
993
+ options: __HttpHandlerOptions,
994
+ cb: (
995
+ err: any,
996
+ data?: GetDirectConnectGatewayAttachmentCommandOutput
997
+ ) => void
998
+ ): void;
949
999
  getLinkAssociations(
950
1000
  args: GetLinkAssociationsCommandInput,
951
1001
  options?: __HttpHandlerOptions
@@ -1430,6 +1480,25 @@ export interface NetworkManager {
1430
1480
  options: __HttpHandlerOptions,
1431
1481
  cb: (err: any, data?: UpdateDeviceCommandOutput) => void
1432
1482
  ): void;
1483
+ updateDirectConnectGatewayAttachment(
1484
+ args: UpdateDirectConnectGatewayAttachmentCommandInput,
1485
+ options?: __HttpHandlerOptions
1486
+ ): Promise<UpdateDirectConnectGatewayAttachmentCommandOutput>;
1487
+ updateDirectConnectGatewayAttachment(
1488
+ args: UpdateDirectConnectGatewayAttachmentCommandInput,
1489
+ cb: (
1490
+ err: any,
1491
+ data?: UpdateDirectConnectGatewayAttachmentCommandOutput
1492
+ ) => void
1493
+ ): void;
1494
+ updateDirectConnectGatewayAttachment(
1495
+ args: UpdateDirectConnectGatewayAttachmentCommandInput,
1496
+ options: __HttpHandlerOptions,
1497
+ cb: (
1498
+ err: any,
1499
+ data?: UpdateDirectConnectGatewayAttachmentCommandOutput
1500
+ ) => void
1501
+ ): void;
1433
1502
  updateGlobalNetwork(
1434
1503
  args: UpdateGlobalNetworkCommandInput,
1435
1504
  options?: __HttpHandlerOptions
@@ -85,6 +85,10 @@ import {
85
85
  CreateDeviceCommandInput,
86
86
  CreateDeviceCommandOutput,
87
87
  } from "./commands/CreateDeviceCommand";
88
+ import {
89
+ CreateDirectConnectGatewayAttachmentCommandInput,
90
+ CreateDirectConnectGatewayAttachmentCommandOutput,
91
+ } from "./commands/CreateDirectConnectGatewayAttachmentCommand";
88
92
  import {
89
93
  CreateGlobalNetworkCommandInput,
90
94
  CreateGlobalNetworkCommandOutput,
@@ -225,6 +229,10 @@ import {
225
229
  GetDevicesCommandInput,
226
230
  GetDevicesCommandOutput,
227
231
  } from "./commands/GetDevicesCommand";
232
+ import {
233
+ GetDirectConnectGatewayAttachmentCommandInput,
234
+ GetDirectConnectGatewayAttachmentCommandOutput,
235
+ } from "./commands/GetDirectConnectGatewayAttachmentCommand";
228
236
  import {
229
237
  GetLinkAssociationsCommandInput,
230
238
  GetLinkAssociationsCommandOutput,
@@ -365,6 +373,10 @@ import {
365
373
  UpdateDeviceCommandInput,
366
374
  UpdateDeviceCommandOutput,
367
375
  } from "./commands/UpdateDeviceCommand";
376
+ import {
377
+ UpdateDirectConnectGatewayAttachmentCommandInput,
378
+ UpdateDirectConnectGatewayAttachmentCommandOutput,
379
+ } from "./commands/UpdateDirectConnectGatewayAttachmentCommand";
368
380
  import {
369
381
  UpdateGlobalNetworkCommandInput,
370
382
  UpdateGlobalNetworkCommandOutput,
@@ -403,6 +415,7 @@ export type ServiceInputTypes =
403
415
  | CreateConnectionCommandInput
404
416
  | CreateCoreNetworkCommandInput
405
417
  | CreateDeviceCommandInput
418
+ | CreateDirectConnectGatewayAttachmentCommandInput
406
419
  | CreateGlobalNetworkCommandInput
407
420
  | CreateLinkCommandInput
408
421
  | CreateSiteCommandInput
@@ -438,6 +451,7 @@ export type ServiceInputTypes =
438
451
  | GetCoreNetworkPolicyCommandInput
439
452
  | GetCustomerGatewayAssociationsCommandInput
440
453
  | GetDevicesCommandInput
454
+ | GetDirectConnectGatewayAttachmentCommandInput
441
455
  | GetLinkAssociationsCommandInput
442
456
  | GetLinksCommandInput
443
457
  | GetNetworkResourceCountsCommandInput
@@ -473,6 +487,7 @@ export type ServiceInputTypes =
473
487
  | UpdateConnectionCommandInput
474
488
  | UpdateCoreNetworkCommandInput
475
489
  | UpdateDeviceCommandInput
490
+ | UpdateDirectConnectGatewayAttachmentCommandInput
476
491
  | UpdateGlobalNetworkCommandInput
477
492
  | UpdateLinkCommandInput
478
493
  | UpdateNetworkResourceMetadataCommandInput
@@ -489,6 +504,7 @@ export type ServiceOutputTypes =
489
504
  | CreateConnectionCommandOutput
490
505
  | CreateCoreNetworkCommandOutput
491
506
  | CreateDeviceCommandOutput
507
+ | CreateDirectConnectGatewayAttachmentCommandOutput
492
508
  | CreateGlobalNetworkCommandOutput
493
509
  | CreateLinkCommandOutput
494
510
  | CreateSiteCommandOutput
@@ -524,6 +540,7 @@ export type ServiceOutputTypes =
524
540
  | GetCoreNetworkPolicyCommandOutput
525
541
  | GetCustomerGatewayAssociationsCommandOutput
526
542
  | GetDevicesCommandOutput
543
+ | GetDirectConnectGatewayAttachmentCommandOutput
527
544
  | GetLinkAssociationsCommandOutput
528
545
  | GetLinksCommandOutput
529
546
  | GetNetworkResourceCountsCommandOutput
@@ -559,6 +576,7 @@ export type ServiceOutputTypes =
559
576
  | UpdateConnectionCommandOutput
560
577
  | UpdateCoreNetworkCommandOutput
561
578
  | UpdateDeviceCommandOutput
579
+ | UpdateDirectConnectGatewayAttachmentCommandOutput
562
580
  | UpdateGlobalNetworkCommandOutput
563
581
  | UpdateLinkCommandOutput
564
582
  | UpdateNetworkResourceMetadataCommandOutput
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ CreateDirectConnectGatewayAttachmentRequest,
5
+ CreateDirectConnectGatewayAttachmentResponse,
6
+ } from "../models/models_0";
7
+ import {
8
+ NetworkManagerClientResolvedConfig,
9
+ ServiceInputTypes,
10
+ ServiceOutputTypes,
11
+ } from "../NetworkManagerClient";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface CreateDirectConnectGatewayAttachmentCommandInput
15
+ extends CreateDirectConnectGatewayAttachmentRequest {}
16
+ export interface CreateDirectConnectGatewayAttachmentCommandOutput
17
+ extends CreateDirectConnectGatewayAttachmentResponse,
18
+ __MetadataBearer {}
19
+ declare const CreateDirectConnectGatewayAttachmentCommand_base: {
20
+ new (
21
+ input: CreateDirectConnectGatewayAttachmentCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ CreateDirectConnectGatewayAttachmentCommandInput,
24
+ CreateDirectConnectGatewayAttachmentCommandOutput,
25
+ NetworkManagerClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ __0_0: CreateDirectConnectGatewayAttachmentCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ CreateDirectConnectGatewayAttachmentCommandInput,
33
+ CreateDirectConnectGatewayAttachmentCommandOutput,
34
+ NetworkManagerClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class CreateDirectConnectGatewayAttachmentCommand extends CreateDirectConnectGatewayAttachmentCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: CreateDirectConnectGatewayAttachmentRequest;
44
+ output: CreateDirectConnectGatewayAttachmentResponse;
45
+ };
46
+ sdk: {
47
+ input: CreateDirectConnectGatewayAttachmentCommandInput;
48
+ output: CreateDirectConnectGatewayAttachmentCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ GetDirectConnectGatewayAttachmentRequest,
5
+ GetDirectConnectGatewayAttachmentResponse,
6
+ } from "../models/models_0";
7
+ import {
8
+ NetworkManagerClientResolvedConfig,
9
+ ServiceInputTypes,
10
+ ServiceOutputTypes,
11
+ } from "../NetworkManagerClient";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface GetDirectConnectGatewayAttachmentCommandInput
15
+ extends GetDirectConnectGatewayAttachmentRequest {}
16
+ export interface GetDirectConnectGatewayAttachmentCommandOutput
17
+ extends GetDirectConnectGatewayAttachmentResponse,
18
+ __MetadataBearer {}
19
+ declare const GetDirectConnectGatewayAttachmentCommand_base: {
20
+ new (
21
+ input: GetDirectConnectGatewayAttachmentCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ GetDirectConnectGatewayAttachmentCommandInput,
24
+ GetDirectConnectGatewayAttachmentCommandOutput,
25
+ NetworkManagerClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ __0_0: GetDirectConnectGatewayAttachmentCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ GetDirectConnectGatewayAttachmentCommandInput,
33
+ GetDirectConnectGatewayAttachmentCommandOutput,
34
+ NetworkManagerClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class GetDirectConnectGatewayAttachmentCommand extends GetDirectConnectGatewayAttachmentCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: GetDirectConnectGatewayAttachmentRequest;
44
+ output: GetDirectConnectGatewayAttachmentResponse;
45
+ };
46
+ sdk: {
47
+ input: GetDirectConnectGatewayAttachmentCommandInput;
48
+ output: GetDirectConnectGatewayAttachmentCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ UpdateDirectConnectGatewayAttachmentRequest,
5
+ UpdateDirectConnectGatewayAttachmentResponse,
6
+ } from "../models/models_0";
7
+ import {
8
+ NetworkManagerClientResolvedConfig,
9
+ ServiceInputTypes,
10
+ ServiceOutputTypes,
11
+ } from "../NetworkManagerClient";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface UpdateDirectConnectGatewayAttachmentCommandInput
15
+ extends UpdateDirectConnectGatewayAttachmentRequest {}
16
+ export interface UpdateDirectConnectGatewayAttachmentCommandOutput
17
+ extends UpdateDirectConnectGatewayAttachmentResponse,
18
+ __MetadataBearer {}
19
+ declare const UpdateDirectConnectGatewayAttachmentCommand_base: {
20
+ new (
21
+ input: UpdateDirectConnectGatewayAttachmentCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ UpdateDirectConnectGatewayAttachmentCommandInput,
24
+ UpdateDirectConnectGatewayAttachmentCommandOutput,
25
+ NetworkManagerClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ __0_0: UpdateDirectConnectGatewayAttachmentCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ UpdateDirectConnectGatewayAttachmentCommandInput,
33
+ UpdateDirectConnectGatewayAttachmentCommandOutput,
34
+ NetworkManagerClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class UpdateDirectConnectGatewayAttachmentCommand extends UpdateDirectConnectGatewayAttachmentCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: UpdateDirectConnectGatewayAttachmentRequest;
44
+ output: UpdateDirectConnectGatewayAttachmentResponse;
45
+ };
46
+ sdk: {
47
+ input: UpdateDirectConnectGatewayAttachmentCommandInput;
48
+ output: UpdateDirectConnectGatewayAttachmentCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -8,6 +8,7 @@ export * from "./CreateConnectPeerCommand";
8
8
  export * from "./CreateConnectionCommand";
9
9
  export * from "./CreateCoreNetworkCommand";
10
10
  export * from "./CreateDeviceCommand";
11
+ export * from "./CreateDirectConnectGatewayAttachmentCommand";
11
12
  export * from "./CreateGlobalNetworkCommand";
12
13
  export * from "./CreateLinkCommand";
13
14
  export * from "./CreateSiteCommand";
@@ -43,6 +44,7 @@ export * from "./GetCoreNetworkCommand";
43
44
  export * from "./GetCoreNetworkPolicyCommand";
44
45
  export * from "./GetCustomerGatewayAssociationsCommand";
45
46
  export * from "./GetDevicesCommand";
47
+ export * from "./GetDirectConnectGatewayAttachmentCommand";
46
48
  export * from "./GetLinkAssociationsCommand";
47
49
  export * from "./GetLinksCommand";
48
50
  export * from "./GetNetworkResourceCountsCommand";
@@ -78,6 +80,7 @@ export * from "./UntagResourceCommand";
78
80
  export * from "./UpdateConnectionCommand";
79
81
  export * from "./UpdateCoreNetworkCommand";
80
82
  export * from "./UpdateDeviceCommand";
83
+ export * from "./UpdateDirectConnectGatewayAttachmentCommand";
81
84
  export * from "./UpdateGlobalNetworkCommand";
82
85
  export * from "./UpdateLinkCommand";
83
86
  export * from "./UpdateNetworkResourceMetadataCommand";