@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
@@ -172,6 +172,23 @@ export const se_CreateDeviceCommand = async (input, context) => {
172
172
  b.m("POST").h(headers).b(body);
173
173
  return b.build();
174
174
  };
175
+ export const se_CreateDirectConnectGatewayAttachmentCommand = async (input, context) => {
176
+ const b = rb(input, context);
177
+ const headers = {
178
+ "content-type": "application/json",
179
+ };
180
+ b.bp("/direct-connect-gateway-attachments");
181
+ let body;
182
+ body = JSON.stringify(take(input, {
183
+ ClientToken: [true, (_) => _ ?? generateIdempotencyToken()],
184
+ CoreNetworkId: [],
185
+ DirectConnectGatewayArn: [],
186
+ EdgeLocations: (_) => _json(_),
187
+ Tags: (_) => _json(_),
188
+ }));
189
+ b.m("POST").h(headers).b(body);
190
+ return b.build();
191
+ };
175
192
  export const se_CreateGlobalNetworkCommand = async (input, context) => {
176
193
  const b = rb(input, context);
177
194
  const headers = {
@@ -593,6 +610,15 @@ export const se_GetDevicesCommand = async (input, context) => {
593
610
  b.m("GET").h(headers).q(query).b(body);
594
611
  return b.build();
595
612
  };
613
+ export const se_GetDirectConnectGatewayAttachmentCommand = async (input, context) => {
614
+ const b = rb(input, context);
615
+ const headers = {};
616
+ b.bp("/direct-connect-gateway-attachments/{AttachmentId}");
617
+ b.p("AttachmentId", () => input.AttachmentId, "{AttachmentId}", false);
618
+ let body;
619
+ b.m("GET").h(headers).b(body);
620
+ return b.build();
621
+ };
596
622
  export const se_GetLinkAssociationsCommand = async (input, context) => {
597
623
  const b = rb(input, context);
598
624
  const headers = {};
@@ -919,7 +945,7 @@ export const se_PutCoreNetworkPolicyCommand = async (input, context) => {
919
945
  ClientToken: [true, (_) => _ ?? generateIdempotencyToken()],
920
946
  Description: [],
921
947
  LatestVersionId: [],
922
- PolicyDocument: (_) => __LazyJsonString.fromObject(_),
948
+ PolicyDocument: (_) => __LazyJsonString.from(_),
923
949
  }));
924
950
  b.m("POST").h(headers).b(body);
925
951
  return b.build();
@@ -933,7 +959,7 @@ export const se_PutResourcePolicyCommand = async (input, context) => {
933
959
  b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
934
960
  let body;
935
961
  body = JSON.stringify(take(input, {
936
- PolicyDocument: (_) => __LazyJsonString.fromObject(_),
962
+ PolicyDocument: (_) => __LazyJsonString.from(_),
937
963
  }));
938
964
  b.m("POST").h(headers).b(body);
939
965
  return b.build();
@@ -1080,6 +1106,20 @@ export const se_UpdateDeviceCommand = async (input, context) => {
1080
1106
  b.m("PATCH").h(headers).b(body);
1081
1107
  return b.build();
1082
1108
  };
1109
+ export const se_UpdateDirectConnectGatewayAttachmentCommand = async (input, context) => {
1110
+ const b = rb(input, context);
1111
+ const headers = {
1112
+ "content-type": "application/json",
1113
+ };
1114
+ b.bp("/direct-connect-gateway-attachments/{AttachmentId}");
1115
+ b.p("AttachmentId", () => input.AttachmentId, "{AttachmentId}", false);
1116
+ let body;
1117
+ body = JSON.stringify(take(input, {
1118
+ EdgeLocations: (_) => _json(_),
1119
+ }));
1120
+ b.m("PATCH").h(headers).b(body);
1121
+ return b.build();
1122
+ };
1083
1123
  export const se_UpdateGlobalNetworkCommand = async (input, context) => {
1084
1124
  const b = rb(input, context);
1085
1125
  const headers = {
@@ -1299,6 +1339,20 @@ export const de_CreateDeviceCommand = async (output, context) => {
1299
1339
  Object.assign(contents, doc);
1300
1340
  return contents;
1301
1341
  };
1342
+ export const de_CreateDirectConnectGatewayAttachmentCommand = async (output, context) => {
1343
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1344
+ return de_CommandError(output, context);
1345
+ }
1346
+ const contents = map({
1347
+ $metadata: deserializeMetadata(output),
1348
+ });
1349
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1350
+ const doc = take(data, {
1351
+ DirectConnectGatewayAttachment: (_) => de_DirectConnectGatewayAttachment(_, context),
1352
+ });
1353
+ Object.assign(contents, doc);
1354
+ return contents;
1355
+ };
1302
1356
  export const de_CreateGlobalNetworkCommand = async (output, context) => {
1303
1357
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1304
1358
  return de_CommandError(output, context);
@@ -1788,6 +1842,20 @@ export const de_GetDevicesCommand = async (output, context) => {
1788
1842
  Object.assign(contents, doc);
1789
1843
  return contents;
1790
1844
  };
1845
+ export const de_GetDirectConnectGatewayAttachmentCommand = async (output, context) => {
1846
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1847
+ return de_CommandError(output, context);
1848
+ }
1849
+ const contents = map({
1850
+ $metadata: deserializeMetadata(output),
1851
+ });
1852
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1853
+ const doc = take(data, {
1854
+ DirectConnectGatewayAttachment: (_) => de_DirectConnectGatewayAttachment(_, context),
1855
+ });
1856
+ Object.assign(contents, doc);
1857
+ return contents;
1858
+ };
1791
1859
  export const de_GetLinkAssociationsCommand = async (output, context) => {
1792
1860
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1793
1861
  return de_CommandError(output, context);
@@ -1905,7 +1973,7 @@ export const de_GetResourcePolicyCommand = async (output, context) => {
1905
1973
  });
1906
1974
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1907
1975
  const doc = take(data, {
1908
- PolicyDocument: (_) => new __LazyJsonString(_),
1976
+ PolicyDocument: __LazyJsonString.from,
1909
1977
  });
1910
1978
  Object.assign(contents, doc);
1911
1979
  return contents;
@@ -2285,6 +2353,20 @@ export const de_UpdateDeviceCommand = async (output, context) => {
2285
2353
  Object.assign(contents, doc);
2286
2354
  return contents;
2287
2355
  };
2356
+ export const de_UpdateDirectConnectGatewayAttachmentCommand = async (output, context) => {
2357
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2358
+ return de_CommandError(output, context);
2359
+ }
2360
+ const contents = map({
2361
+ $metadata: deserializeMetadata(output),
2362
+ });
2363
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
2364
+ const doc = take(data, {
2365
+ DirectConnectGatewayAttachment: (_) => de_DirectConnectGatewayAttachment(_, context),
2366
+ });
2367
+ Object.assign(contents, doc);
2368
+ return contents;
2369
+ };
2288
2370
  export const de_UpdateGlobalNetworkCommand = async (output, context) => {
2289
2371
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2290
2372
  return de_CommandError(output, context);
@@ -2526,6 +2608,7 @@ const de_Attachment = (output, context) => {
2526
2608
  CoreNetworkId: __expectString,
2527
2609
  CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
2528
2610
  EdgeLocation: __expectString,
2611
+ EdgeLocations: _json,
2529
2612
  LastModificationErrors: _json,
2530
2613
  NetworkFunctionGroupName: __expectString,
2531
2614
  OwnerAccountId: __expectString,
@@ -2656,7 +2739,7 @@ const de_CoreNetworkPolicy = (output, context) => {
2656
2739
  CoreNetworkId: __expectString,
2657
2740
  CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
2658
2741
  Description: __expectString,
2659
- PolicyDocument: (_) => new __LazyJsonString(_),
2742
+ PolicyDocument: __LazyJsonString.from,
2660
2743
  PolicyErrors: _json,
2661
2744
  PolicyVersionId: __expectInt32,
2662
2745
  });
@@ -2705,6 +2788,12 @@ const de_DeviceList = (output, context) => {
2705
2788
  });
2706
2789
  return retVal;
2707
2790
  };
2791
+ const de_DirectConnectGatewayAttachment = (output, context) => {
2792
+ return take(output, {
2793
+ Attachment: (_) => de_Attachment(_, context),
2794
+ DirectConnectGatewayArn: __expectString,
2795
+ });
2796
+ };
2708
2797
  const de_GlobalNetwork = (output, context) => {
2709
2798
  return take(output, {
2710
2799
  CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
@@ -9,6 +9,7 @@ import { CreateConnectionCommandInput, CreateConnectionCommandOutput } from "./c
9
9
  import { CreateConnectPeerCommandInput, CreateConnectPeerCommandOutput } from "./commands/CreateConnectPeerCommand";
10
10
  import { CreateCoreNetworkCommandInput, CreateCoreNetworkCommandOutput } from "./commands/CreateCoreNetworkCommand";
11
11
  import { CreateDeviceCommandInput, CreateDeviceCommandOutput } from "./commands/CreateDeviceCommand";
12
+ import { CreateDirectConnectGatewayAttachmentCommandInput, CreateDirectConnectGatewayAttachmentCommandOutput } from "./commands/CreateDirectConnectGatewayAttachmentCommand";
12
13
  import { CreateGlobalNetworkCommandInput, CreateGlobalNetworkCommandOutput } from "./commands/CreateGlobalNetworkCommand";
13
14
  import { CreateLinkCommandInput, CreateLinkCommandOutput } from "./commands/CreateLinkCommand";
14
15
  import { CreateSiteCommandInput, CreateSiteCommandOutput } from "./commands/CreateSiteCommand";
@@ -44,6 +45,7 @@ import { GetCoreNetworkCommandInput, GetCoreNetworkCommandOutput } from "./comma
44
45
  import { GetCoreNetworkPolicyCommandInput, GetCoreNetworkPolicyCommandOutput } from "./commands/GetCoreNetworkPolicyCommand";
45
46
  import { GetCustomerGatewayAssociationsCommandInput, GetCustomerGatewayAssociationsCommandOutput } from "./commands/GetCustomerGatewayAssociationsCommand";
46
47
  import { GetDevicesCommandInput, GetDevicesCommandOutput } from "./commands/GetDevicesCommand";
48
+ import { GetDirectConnectGatewayAttachmentCommandInput, GetDirectConnectGatewayAttachmentCommandOutput } from "./commands/GetDirectConnectGatewayAttachmentCommand";
47
49
  import { GetLinkAssociationsCommandInput, GetLinkAssociationsCommandOutput } from "./commands/GetLinkAssociationsCommand";
48
50
  import { GetLinksCommandInput, GetLinksCommandOutput } from "./commands/GetLinksCommand";
49
51
  import { GetNetworkResourceCountsCommandInput, GetNetworkResourceCountsCommandOutput } from "./commands/GetNetworkResourceCountsCommand";
@@ -79,6 +81,7 @@ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./command
79
81
  import { UpdateConnectionCommandInput, UpdateConnectionCommandOutput } from "./commands/UpdateConnectionCommand";
80
82
  import { UpdateCoreNetworkCommandInput, UpdateCoreNetworkCommandOutput } from "./commands/UpdateCoreNetworkCommand";
81
83
  import { UpdateDeviceCommandInput, UpdateDeviceCommandOutput } from "./commands/UpdateDeviceCommand";
84
+ import { UpdateDirectConnectGatewayAttachmentCommandInput, UpdateDirectConnectGatewayAttachmentCommandOutput } from "./commands/UpdateDirectConnectGatewayAttachmentCommand";
82
85
  import { UpdateGlobalNetworkCommandInput, UpdateGlobalNetworkCommandOutput } from "./commands/UpdateGlobalNetworkCommand";
83
86
  import { UpdateLinkCommandInput, UpdateLinkCommandOutput } from "./commands/UpdateLinkCommand";
84
87
  import { UpdateNetworkResourceMetadataCommandInput, UpdateNetworkResourceMetadataCommandOutput } from "./commands/UpdateNetworkResourceMetadataCommand";
@@ -146,6 +149,12 @@ export interface NetworkManager {
146
149
  createDevice(args: CreateDeviceCommandInput, options?: __HttpHandlerOptions): Promise<CreateDeviceCommandOutput>;
147
150
  createDevice(args: CreateDeviceCommandInput, cb: (err: any, data?: CreateDeviceCommandOutput) => void): void;
148
151
  createDevice(args: CreateDeviceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateDeviceCommandOutput) => void): void;
152
+ /**
153
+ * @see {@link CreateDirectConnectGatewayAttachmentCommand}
154
+ */
155
+ createDirectConnectGatewayAttachment(args: CreateDirectConnectGatewayAttachmentCommandInput, options?: __HttpHandlerOptions): Promise<CreateDirectConnectGatewayAttachmentCommandOutput>;
156
+ createDirectConnectGatewayAttachment(args: CreateDirectConnectGatewayAttachmentCommandInput, cb: (err: any, data?: CreateDirectConnectGatewayAttachmentCommandOutput) => void): void;
157
+ createDirectConnectGatewayAttachment(args: CreateDirectConnectGatewayAttachmentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateDirectConnectGatewayAttachmentCommandOutput) => void): void;
149
158
  /**
150
159
  * @see {@link CreateGlobalNetworkCommand}
151
160
  */
@@ -358,6 +367,12 @@ export interface NetworkManager {
358
367
  getDevices(args: GetDevicesCommandInput, options?: __HttpHandlerOptions): Promise<GetDevicesCommandOutput>;
359
368
  getDevices(args: GetDevicesCommandInput, cb: (err: any, data?: GetDevicesCommandOutput) => void): void;
360
369
  getDevices(args: GetDevicesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetDevicesCommandOutput) => void): void;
370
+ /**
371
+ * @see {@link GetDirectConnectGatewayAttachmentCommand}
372
+ */
373
+ getDirectConnectGatewayAttachment(args: GetDirectConnectGatewayAttachmentCommandInput, options?: __HttpHandlerOptions): Promise<GetDirectConnectGatewayAttachmentCommandOutput>;
374
+ getDirectConnectGatewayAttachment(args: GetDirectConnectGatewayAttachmentCommandInput, cb: (err: any, data?: GetDirectConnectGatewayAttachmentCommandOutput) => void): void;
375
+ getDirectConnectGatewayAttachment(args: GetDirectConnectGatewayAttachmentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetDirectConnectGatewayAttachmentCommandOutput) => void): void;
361
376
  /**
362
377
  * @see {@link GetLinkAssociationsCommand}
363
378
  */
@@ -573,6 +588,12 @@ export interface NetworkManager {
573
588
  updateDevice(args: UpdateDeviceCommandInput, options?: __HttpHandlerOptions): Promise<UpdateDeviceCommandOutput>;
574
589
  updateDevice(args: UpdateDeviceCommandInput, cb: (err: any, data?: UpdateDeviceCommandOutput) => void): void;
575
590
  updateDevice(args: UpdateDeviceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateDeviceCommandOutput) => void): void;
591
+ /**
592
+ * @see {@link UpdateDirectConnectGatewayAttachmentCommand}
593
+ */
594
+ updateDirectConnectGatewayAttachment(args: UpdateDirectConnectGatewayAttachmentCommandInput, options?: __HttpHandlerOptions): Promise<UpdateDirectConnectGatewayAttachmentCommandOutput>;
595
+ updateDirectConnectGatewayAttachment(args: UpdateDirectConnectGatewayAttachmentCommandInput, cb: (err: any, data?: UpdateDirectConnectGatewayAttachmentCommandOutput) => void): void;
596
+ updateDirectConnectGatewayAttachment(args: UpdateDirectConnectGatewayAttachmentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateDirectConnectGatewayAttachmentCommandOutput) => void): void;
576
597
  /**
577
598
  * @see {@link UpdateGlobalNetworkCommand}
578
599
  */
@@ -17,6 +17,7 @@ import { CreateConnectionCommandInput, CreateConnectionCommandOutput } from "./c
17
17
  import { CreateConnectPeerCommandInput, CreateConnectPeerCommandOutput } from "./commands/CreateConnectPeerCommand";
18
18
  import { CreateCoreNetworkCommandInput, CreateCoreNetworkCommandOutput } from "./commands/CreateCoreNetworkCommand";
19
19
  import { CreateDeviceCommandInput, CreateDeviceCommandOutput } from "./commands/CreateDeviceCommand";
20
+ import { CreateDirectConnectGatewayAttachmentCommandInput, CreateDirectConnectGatewayAttachmentCommandOutput } from "./commands/CreateDirectConnectGatewayAttachmentCommand";
20
21
  import { CreateGlobalNetworkCommandInput, CreateGlobalNetworkCommandOutput } from "./commands/CreateGlobalNetworkCommand";
21
22
  import { CreateLinkCommandInput, CreateLinkCommandOutput } from "./commands/CreateLinkCommand";
22
23
  import { CreateSiteCommandInput, CreateSiteCommandOutput } from "./commands/CreateSiteCommand";
@@ -52,6 +53,7 @@ import { GetCoreNetworkCommandInput, GetCoreNetworkCommandOutput } from "./comma
52
53
  import { GetCoreNetworkPolicyCommandInput, GetCoreNetworkPolicyCommandOutput } from "./commands/GetCoreNetworkPolicyCommand";
53
54
  import { GetCustomerGatewayAssociationsCommandInput, GetCustomerGatewayAssociationsCommandOutput } from "./commands/GetCustomerGatewayAssociationsCommand";
54
55
  import { GetDevicesCommandInput, GetDevicesCommandOutput } from "./commands/GetDevicesCommand";
56
+ import { GetDirectConnectGatewayAttachmentCommandInput, GetDirectConnectGatewayAttachmentCommandOutput } from "./commands/GetDirectConnectGatewayAttachmentCommand";
55
57
  import { GetLinkAssociationsCommandInput, GetLinkAssociationsCommandOutput } from "./commands/GetLinkAssociationsCommand";
56
58
  import { GetLinksCommandInput, GetLinksCommandOutput } from "./commands/GetLinksCommand";
57
59
  import { GetNetworkResourceCountsCommandInput, GetNetworkResourceCountsCommandOutput } from "./commands/GetNetworkResourceCountsCommand";
@@ -87,6 +89,7 @@ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./command
87
89
  import { UpdateConnectionCommandInput, UpdateConnectionCommandOutput } from "./commands/UpdateConnectionCommand";
88
90
  import { UpdateCoreNetworkCommandInput, UpdateCoreNetworkCommandOutput } from "./commands/UpdateCoreNetworkCommand";
89
91
  import { UpdateDeviceCommandInput, UpdateDeviceCommandOutput } from "./commands/UpdateDeviceCommand";
92
+ import { UpdateDirectConnectGatewayAttachmentCommandInput, UpdateDirectConnectGatewayAttachmentCommandOutput } from "./commands/UpdateDirectConnectGatewayAttachmentCommand";
90
93
  import { UpdateGlobalNetworkCommandInput, UpdateGlobalNetworkCommandOutput } from "./commands/UpdateGlobalNetworkCommand";
91
94
  import { UpdateLinkCommandInput, UpdateLinkCommandOutput } from "./commands/UpdateLinkCommand";
92
95
  import { UpdateNetworkResourceMetadataCommandInput, UpdateNetworkResourceMetadataCommandOutput } from "./commands/UpdateNetworkResourceMetadataCommand";
@@ -98,11 +101,11 @@ export { __Client };
98
101
  /**
99
102
  * @public
100
103
  */
101
- export type ServiceInputTypes = AcceptAttachmentCommandInput | AssociateConnectPeerCommandInput | AssociateCustomerGatewayCommandInput | AssociateLinkCommandInput | AssociateTransitGatewayConnectPeerCommandInput | CreateConnectAttachmentCommandInput | CreateConnectPeerCommandInput | CreateConnectionCommandInput | CreateCoreNetworkCommandInput | CreateDeviceCommandInput | CreateGlobalNetworkCommandInput | CreateLinkCommandInput | CreateSiteCommandInput | CreateSiteToSiteVpnAttachmentCommandInput | CreateTransitGatewayPeeringCommandInput | CreateTransitGatewayRouteTableAttachmentCommandInput | CreateVpcAttachmentCommandInput | DeleteAttachmentCommandInput | DeleteConnectPeerCommandInput | DeleteConnectionCommandInput | DeleteCoreNetworkCommandInput | DeleteCoreNetworkPolicyVersionCommandInput | DeleteDeviceCommandInput | DeleteGlobalNetworkCommandInput | DeleteLinkCommandInput | DeletePeeringCommandInput | DeleteResourcePolicyCommandInput | DeleteSiteCommandInput | DeregisterTransitGatewayCommandInput | DescribeGlobalNetworksCommandInput | DisassociateConnectPeerCommandInput | DisassociateCustomerGatewayCommandInput | DisassociateLinkCommandInput | DisassociateTransitGatewayConnectPeerCommandInput | ExecuteCoreNetworkChangeSetCommandInput | GetConnectAttachmentCommandInput | GetConnectPeerAssociationsCommandInput | GetConnectPeerCommandInput | GetConnectionsCommandInput | GetCoreNetworkChangeEventsCommandInput | GetCoreNetworkChangeSetCommandInput | GetCoreNetworkCommandInput | GetCoreNetworkPolicyCommandInput | GetCustomerGatewayAssociationsCommandInput | GetDevicesCommandInput | GetLinkAssociationsCommandInput | GetLinksCommandInput | GetNetworkResourceCountsCommandInput | GetNetworkResourceRelationshipsCommandInput | GetNetworkResourcesCommandInput | GetNetworkRoutesCommandInput | GetNetworkTelemetryCommandInput | GetResourcePolicyCommandInput | GetRouteAnalysisCommandInput | GetSiteToSiteVpnAttachmentCommandInput | GetSitesCommandInput | GetTransitGatewayConnectPeerAssociationsCommandInput | GetTransitGatewayPeeringCommandInput | GetTransitGatewayRegistrationsCommandInput | GetTransitGatewayRouteTableAttachmentCommandInput | GetVpcAttachmentCommandInput | ListAttachmentsCommandInput | ListConnectPeersCommandInput | ListCoreNetworkPolicyVersionsCommandInput | ListCoreNetworksCommandInput | ListOrganizationServiceAccessStatusCommandInput | ListPeeringsCommandInput | ListTagsForResourceCommandInput | PutCoreNetworkPolicyCommandInput | PutResourcePolicyCommandInput | RegisterTransitGatewayCommandInput | RejectAttachmentCommandInput | RestoreCoreNetworkPolicyVersionCommandInput | StartOrganizationServiceAccessUpdateCommandInput | StartRouteAnalysisCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateConnectionCommandInput | UpdateCoreNetworkCommandInput | UpdateDeviceCommandInput | UpdateGlobalNetworkCommandInput | UpdateLinkCommandInput | UpdateNetworkResourceMetadataCommandInput | UpdateSiteCommandInput | UpdateVpcAttachmentCommandInput;
104
+ export type ServiceInputTypes = AcceptAttachmentCommandInput | AssociateConnectPeerCommandInput | AssociateCustomerGatewayCommandInput | AssociateLinkCommandInput | AssociateTransitGatewayConnectPeerCommandInput | CreateConnectAttachmentCommandInput | CreateConnectPeerCommandInput | CreateConnectionCommandInput | CreateCoreNetworkCommandInput | CreateDeviceCommandInput | CreateDirectConnectGatewayAttachmentCommandInput | CreateGlobalNetworkCommandInput | CreateLinkCommandInput | CreateSiteCommandInput | CreateSiteToSiteVpnAttachmentCommandInput | CreateTransitGatewayPeeringCommandInput | CreateTransitGatewayRouteTableAttachmentCommandInput | CreateVpcAttachmentCommandInput | DeleteAttachmentCommandInput | DeleteConnectPeerCommandInput | DeleteConnectionCommandInput | DeleteCoreNetworkCommandInput | DeleteCoreNetworkPolicyVersionCommandInput | DeleteDeviceCommandInput | DeleteGlobalNetworkCommandInput | DeleteLinkCommandInput | DeletePeeringCommandInput | DeleteResourcePolicyCommandInput | DeleteSiteCommandInput | DeregisterTransitGatewayCommandInput | DescribeGlobalNetworksCommandInput | DisassociateConnectPeerCommandInput | DisassociateCustomerGatewayCommandInput | DisassociateLinkCommandInput | DisassociateTransitGatewayConnectPeerCommandInput | ExecuteCoreNetworkChangeSetCommandInput | GetConnectAttachmentCommandInput | GetConnectPeerAssociationsCommandInput | GetConnectPeerCommandInput | GetConnectionsCommandInput | GetCoreNetworkChangeEventsCommandInput | GetCoreNetworkChangeSetCommandInput | GetCoreNetworkCommandInput | GetCoreNetworkPolicyCommandInput | GetCustomerGatewayAssociationsCommandInput | GetDevicesCommandInput | GetDirectConnectGatewayAttachmentCommandInput | GetLinkAssociationsCommandInput | GetLinksCommandInput | GetNetworkResourceCountsCommandInput | GetNetworkResourceRelationshipsCommandInput | GetNetworkResourcesCommandInput | GetNetworkRoutesCommandInput | GetNetworkTelemetryCommandInput | GetResourcePolicyCommandInput | GetRouteAnalysisCommandInput | GetSiteToSiteVpnAttachmentCommandInput | GetSitesCommandInput | GetTransitGatewayConnectPeerAssociationsCommandInput | GetTransitGatewayPeeringCommandInput | GetTransitGatewayRegistrationsCommandInput | GetTransitGatewayRouteTableAttachmentCommandInput | GetVpcAttachmentCommandInput | ListAttachmentsCommandInput | ListConnectPeersCommandInput | ListCoreNetworkPolicyVersionsCommandInput | ListCoreNetworksCommandInput | ListOrganizationServiceAccessStatusCommandInput | ListPeeringsCommandInput | ListTagsForResourceCommandInput | PutCoreNetworkPolicyCommandInput | PutResourcePolicyCommandInput | RegisterTransitGatewayCommandInput | RejectAttachmentCommandInput | RestoreCoreNetworkPolicyVersionCommandInput | StartOrganizationServiceAccessUpdateCommandInput | StartRouteAnalysisCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateConnectionCommandInput | UpdateCoreNetworkCommandInput | UpdateDeviceCommandInput | UpdateDirectConnectGatewayAttachmentCommandInput | UpdateGlobalNetworkCommandInput | UpdateLinkCommandInput | UpdateNetworkResourceMetadataCommandInput | UpdateSiteCommandInput | UpdateVpcAttachmentCommandInput;
102
105
  /**
103
106
  * @public
104
107
  */
105
- export type ServiceOutputTypes = AcceptAttachmentCommandOutput | AssociateConnectPeerCommandOutput | AssociateCustomerGatewayCommandOutput | AssociateLinkCommandOutput | AssociateTransitGatewayConnectPeerCommandOutput | CreateConnectAttachmentCommandOutput | CreateConnectPeerCommandOutput | CreateConnectionCommandOutput | CreateCoreNetworkCommandOutput | CreateDeviceCommandOutput | CreateGlobalNetworkCommandOutput | CreateLinkCommandOutput | CreateSiteCommandOutput | CreateSiteToSiteVpnAttachmentCommandOutput | CreateTransitGatewayPeeringCommandOutput | CreateTransitGatewayRouteTableAttachmentCommandOutput | CreateVpcAttachmentCommandOutput | DeleteAttachmentCommandOutput | DeleteConnectPeerCommandOutput | DeleteConnectionCommandOutput | DeleteCoreNetworkCommandOutput | DeleteCoreNetworkPolicyVersionCommandOutput | DeleteDeviceCommandOutput | DeleteGlobalNetworkCommandOutput | DeleteLinkCommandOutput | DeletePeeringCommandOutput | DeleteResourcePolicyCommandOutput | DeleteSiteCommandOutput | DeregisterTransitGatewayCommandOutput | DescribeGlobalNetworksCommandOutput | DisassociateConnectPeerCommandOutput | DisassociateCustomerGatewayCommandOutput | DisassociateLinkCommandOutput | DisassociateTransitGatewayConnectPeerCommandOutput | ExecuteCoreNetworkChangeSetCommandOutput | GetConnectAttachmentCommandOutput | GetConnectPeerAssociationsCommandOutput | GetConnectPeerCommandOutput | GetConnectionsCommandOutput | GetCoreNetworkChangeEventsCommandOutput | GetCoreNetworkChangeSetCommandOutput | GetCoreNetworkCommandOutput | GetCoreNetworkPolicyCommandOutput | GetCustomerGatewayAssociationsCommandOutput | GetDevicesCommandOutput | GetLinkAssociationsCommandOutput | GetLinksCommandOutput | GetNetworkResourceCountsCommandOutput | GetNetworkResourceRelationshipsCommandOutput | GetNetworkResourcesCommandOutput | GetNetworkRoutesCommandOutput | GetNetworkTelemetryCommandOutput | GetResourcePolicyCommandOutput | GetRouteAnalysisCommandOutput | GetSiteToSiteVpnAttachmentCommandOutput | GetSitesCommandOutput | GetTransitGatewayConnectPeerAssociationsCommandOutput | GetTransitGatewayPeeringCommandOutput | GetTransitGatewayRegistrationsCommandOutput | GetTransitGatewayRouteTableAttachmentCommandOutput | GetVpcAttachmentCommandOutput | ListAttachmentsCommandOutput | ListConnectPeersCommandOutput | ListCoreNetworkPolicyVersionsCommandOutput | ListCoreNetworksCommandOutput | ListOrganizationServiceAccessStatusCommandOutput | ListPeeringsCommandOutput | ListTagsForResourceCommandOutput | PutCoreNetworkPolicyCommandOutput | PutResourcePolicyCommandOutput | RegisterTransitGatewayCommandOutput | RejectAttachmentCommandOutput | RestoreCoreNetworkPolicyVersionCommandOutput | StartOrganizationServiceAccessUpdateCommandOutput | StartRouteAnalysisCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateConnectionCommandOutput | UpdateCoreNetworkCommandOutput | UpdateDeviceCommandOutput | UpdateGlobalNetworkCommandOutput | UpdateLinkCommandOutput | UpdateNetworkResourceMetadataCommandOutput | UpdateSiteCommandOutput | UpdateVpcAttachmentCommandOutput;
108
+ export type ServiceOutputTypes = AcceptAttachmentCommandOutput | AssociateConnectPeerCommandOutput | AssociateCustomerGatewayCommandOutput | AssociateLinkCommandOutput | AssociateTransitGatewayConnectPeerCommandOutput | CreateConnectAttachmentCommandOutput | CreateConnectPeerCommandOutput | CreateConnectionCommandOutput | CreateCoreNetworkCommandOutput | CreateDeviceCommandOutput | CreateDirectConnectGatewayAttachmentCommandOutput | CreateGlobalNetworkCommandOutput | CreateLinkCommandOutput | CreateSiteCommandOutput | CreateSiteToSiteVpnAttachmentCommandOutput | CreateTransitGatewayPeeringCommandOutput | CreateTransitGatewayRouteTableAttachmentCommandOutput | CreateVpcAttachmentCommandOutput | DeleteAttachmentCommandOutput | DeleteConnectPeerCommandOutput | DeleteConnectionCommandOutput | DeleteCoreNetworkCommandOutput | DeleteCoreNetworkPolicyVersionCommandOutput | DeleteDeviceCommandOutput | DeleteGlobalNetworkCommandOutput | DeleteLinkCommandOutput | DeletePeeringCommandOutput | DeleteResourcePolicyCommandOutput | DeleteSiteCommandOutput | DeregisterTransitGatewayCommandOutput | DescribeGlobalNetworksCommandOutput | DisassociateConnectPeerCommandOutput | DisassociateCustomerGatewayCommandOutput | DisassociateLinkCommandOutput | DisassociateTransitGatewayConnectPeerCommandOutput | ExecuteCoreNetworkChangeSetCommandOutput | GetConnectAttachmentCommandOutput | GetConnectPeerAssociationsCommandOutput | GetConnectPeerCommandOutput | GetConnectionsCommandOutput | GetCoreNetworkChangeEventsCommandOutput | GetCoreNetworkChangeSetCommandOutput | GetCoreNetworkCommandOutput | GetCoreNetworkPolicyCommandOutput | GetCustomerGatewayAssociationsCommandOutput | GetDevicesCommandOutput | GetDirectConnectGatewayAttachmentCommandOutput | GetLinkAssociationsCommandOutput | GetLinksCommandOutput | GetNetworkResourceCountsCommandOutput | GetNetworkResourceRelationshipsCommandOutput | GetNetworkResourcesCommandOutput | GetNetworkRoutesCommandOutput | GetNetworkTelemetryCommandOutput | GetResourcePolicyCommandOutput | GetRouteAnalysisCommandOutput | GetSiteToSiteVpnAttachmentCommandOutput | GetSitesCommandOutput | GetTransitGatewayConnectPeerAssociationsCommandOutput | GetTransitGatewayPeeringCommandOutput | GetTransitGatewayRegistrationsCommandOutput | GetTransitGatewayRouteTableAttachmentCommandOutput | GetVpcAttachmentCommandOutput | ListAttachmentsCommandOutput | ListConnectPeersCommandOutput | ListCoreNetworkPolicyVersionsCommandOutput | ListCoreNetworksCommandOutput | ListOrganizationServiceAccessStatusCommandOutput | ListPeeringsCommandOutput | ListTagsForResourceCommandOutput | PutCoreNetworkPolicyCommandOutput | PutResourcePolicyCommandOutput | RegisterTransitGatewayCommandOutput | RejectAttachmentCommandOutput | RestoreCoreNetworkPolicyVersionCommandOutput | StartOrganizationServiceAccessUpdateCommandOutput | StartRouteAnalysisCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateConnectionCommandOutput | UpdateCoreNetworkCommandOutput | UpdateDeviceCommandOutput | UpdateDirectConnectGatewayAttachmentCommandOutput | UpdateGlobalNetworkCommandOutput | UpdateLinkCommandOutput | UpdateNetworkResourceMetadataCommandOutput | UpdateSiteCommandOutput | UpdateVpcAttachmentCommandOutput;
106
109
  /**
107
110
  * @public
108
111
  */
@@ -47,9 +47,12 @@ declare const AcceptAttachmentCommand_base: {
47
47
  * // CoreNetworkArn: "STRING_VALUE",
48
48
  * // AttachmentId: "STRING_VALUE",
49
49
  * // OwnerAccountId: "STRING_VALUE",
50
- * // AttachmentType: "CONNECT" || "SITE_TO_SITE_VPN" || "VPC" || "TRANSIT_GATEWAY_ROUTE_TABLE",
50
+ * // AttachmentType: "CONNECT" || "SITE_TO_SITE_VPN" || "VPC" || "DIRECT_CONNECT_GATEWAY" || "TRANSIT_GATEWAY_ROUTE_TABLE",
51
51
  * // State: "REJECTED" || "PENDING_ATTACHMENT_ACCEPTANCE" || "CREATING" || "FAILED" || "AVAILABLE" || "UPDATING" || "PENDING_NETWORK_UPDATE" || "PENDING_TAG_ACCEPTANCE" || "DELETING",
52
52
  * // EdgeLocation: "STRING_VALUE",
53
+ * // EdgeLocations: [ // ExternalRegionCodeList
54
+ * // "STRING_VALUE",
55
+ * // ],
53
56
  * // ResourceArn: "STRING_VALUE",
54
57
  * // AttachmentPolicyRuleNumber: Number("int"),
55
58
  * // SegmentName: "STRING_VALUE",
@@ -84,7 +87,7 @@ declare const AcceptAttachmentCommand_base: {
84
87
  * // UpdatedAt: new Date("TIMESTAMP"),
85
88
  * // LastModificationErrors: [ // AttachmentErrorList
86
89
  * // { // AttachmentError
87
- * // Code: "VPC_NOT_FOUND" || "SUBNET_NOT_FOUND" || "SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE" || "SUBNET_NO_FREE_ADDRESSES" || "SUBNET_UNSUPPORTED_AVAILABILITY_ZONE" || "SUBNET_NO_IPV6_CIDRS" || "VPN_CONNECTION_NOT_FOUND" || "MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED",
90
+ * // Code: "VPC_NOT_FOUND" || "SUBNET_NOT_FOUND" || "SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE" || "SUBNET_NO_FREE_ADDRESSES" || "SUBNET_UNSUPPORTED_AVAILABILITY_ZONE" || "SUBNET_NO_IPV6_CIDRS" || "VPN_CONNECTION_NOT_FOUND" || "MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED" || "DIRECT_CONNECT_GATEWAY_NOT_FOUND" || "DIRECT_CONNECT_GATEWAY_EXISTING_ATTACHMENTS" || "DIRECT_CONNECT_GATEWAY_NO_PRIVATE_VIF",
88
91
  * // Message: "STRING_VALUE",
89
92
  * // ResourceArn: "STRING_VALUE",
90
93
  * // RequestId: "STRING_VALUE",
@@ -61,9 +61,12 @@ declare const CreateConnectAttachmentCommand_base: {
61
61
  * // CoreNetworkArn: "STRING_VALUE",
62
62
  * // AttachmentId: "STRING_VALUE",
63
63
  * // OwnerAccountId: "STRING_VALUE",
64
- * // AttachmentType: "CONNECT" || "SITE_TO_SITE_VPN" || "VPC" || "TRANSIT_GATEWAY_ROUTE_TABLE",
64
+ * // AttachmentType: "CONNECT" || "SITE_TO_SITE_VPN" || "VPC" || "DIRECT_CONNECT_GATEWAY" || "TRANSIT_GATEWAY_ROUTE_TABLE",
65
65
  * // State: "REJECTED" || "PENDING_ATTACHMENT_ACCEPTANCE" || "CREATING" || "FAILED" || "AVAILABLE" || "UPDATING" || "PENDING_NETWORK_UPDATE" || "PENDING_TAG_ACCEPTANCE" || "DELETING",
66
66
  * // EdgeLocation: "STRING_VALUE",
67
+ * // EdgeLocations: [ // ExternalRegionCodeList
68
+ * // "STRING_VALUE",
69
+ * // ],
67
70
  * // ResourceArn: "STRING_VALUE",
68
71
  * // AttachmentPolicyRuleNumber: Number("int"),
69
72
  * // SegmentName: "STRING_VALUE",
@@ -98,7 +101,7 @@ declare const CreateConnectAttachmentCommand_base: {
98
101
  * // UpdatedAt: new Date("TIMESTAMP"),
99
102
  * // LastModificationErrors: [ // AttachmentErrorList
100
103
  * // { // AttachmentError
101
- * // Code: "VPC_NOT_FOUND" || "SUBNET_NOT_FOUND" || "SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE" || "SUBNET_NO_FREE_ADDRESSES" || "SUBNET_UNSUPPORTED_AVAILABILITY_ZONE" || "SUBNET_NO_IPV6_CIDRS" || "VPN_CONNECTION_NOT_FOUND" || "MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED",
104
+ * // Code: "VPC_NOT_FOUND" || "SUBNET_NOT_FOUND" || "SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE" || "SUBNET_NO_FREE_ADDRESSES" || "SUBNET_UNSUPPORTED_AVAILABILITY_ZONE" || "SUBNET_NO_IPV6_CIDRS" || "VPN_CONNECTION_NOT_FOUND" || "MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED" || "DIRECT_CONNECT_GATEWAY_NOT_FOUND" || "DIRECT_CONNECT_GATEWAY_EXISTING_ATTACHMENTS" || "DIRECT_CONNECT_GATEWAY_NO_PRIVATE_VIF",
102
105
  * // Message: "STRING_VALUE",
103
106
  * // ResourceArn: "STRING_VALUE",
104
107
  * // RequestId: "STRING_VALUE",
@@ -0,0 +1,155 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { CreateDirectConnectGatewayAttachmentRequest, CreateDirectConnectGatewayAttachmentResponse } from "../models/models_0";
4
+ import { NetworkManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NetworkManagerClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link CreateDirectConnectGatewayAttachmentCommand}.
14
+ */
15
+ export interface CreateDirectConnectGatewayAttachmentCommandInput extends CreateDirectConnectGatewayAttachmentRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CreateDirectConnectGatewayAttachmentCommand}.
21
+ */
22
+ export interface CreateDirectConnectGatewayAttachmentCommandOutput extends CreateDirectConnectGatewayAttachmentResponse, __MetadataBearer {
23
+ }
24
+ declare const CreateDirectConnectGatewayAttachmentCommand_base: {
25
+ new (input: CreateDirectConnectGatewayAttachmentCommandInput): import("@smithy/smithy-client").CommandImpl<CreateDirectConnectGatewayAttachmentCommandInput, CreateDirectConnectGatewayAttachmentCommandOutput, NetworkManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: CreateDirectConnectGatewayAttachmentCommandInput): import("@smithy/smithy-client").CommandImpl<CreateDirectConnectGatewayAttachmentCommandInput, CreateDirectConnectGatewayAttachmentCommandOutput, NetworkManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Creates an Amazon Web Services Direct Connect gateway attachment </p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { NetworkManagerClient, CreateDirectConnectGatewayAttachmentCommand } from "@aws-sdk/client-networkmanager"; // ES Modules import
35
+ * // const { NetworkManagerClient, CreateDirectConnectGatewayAttachmentCommand } = require("@aws-sdk/client-networkmanager"); // CommonJS import
36
+ * const client = new NetworkManagerClient(config);
37
+ * const input = { // CreateDirectConnectGatewayAttachmentRequest
38
+ * CoreNetworkId: "STRING_VALUE", // required
39
+ * DirectConnectGatewayArn: "STRING_VALUE", // required
40
+ * EdgeLocations: [ // ExternalRegionCodeList // required
41
+ * "STRING_VALUE",
42
+ * ],
43
+ * Tags: [ // TagList
44
+ * { // Tag
45
+ * Key: "STRING_VALUE",
46
+ * Value: "STRING_VALUE",
47
+ * },
48
+ * ],
49
+ * ClientToken: "STRING_VALUE",
50
+ * };
51
+ * const command = new CreateDirectConnectGatewayAttachmentCommand(input);
52
+ * const response = await client.send(command);
53
+ * // { // CreateDirectConnectGatewayAttachmentResponse
54
+ * // DirectConnectGatewayAttachment: { // DirectConnectGatewayAttachment
55
+ * // Attachment: { // Attachment
56
+ * // CoreNetworkId: "STRING_VALUE",
57
+ * // CoreNetworkArn: "STRING_VALUE",
58
+ * // AttachmentId: "STRING_VALUE",
59
+ * // OwnerAccountId: "STRING_VALUE",
60
+ * // AttachmentType: "CONNECT" || "SITE_TO_SITE_VPN" || "VPC" || "DIRECT_CONNECT_GATEWAY" || "TRANSIT_GATEWAY_ROUTE_TABLE",
61
+ * // State: "REJECTED" || "PENDING_ATTACHMENT_ACCEPTANCE" || "CREATING" || "FAILED" || "AVAILABLE" || "UPDATING" || "PENDING_NETWORK_UPDATE" || "PENDING_TAG_ACCEPTANCE" || "DELETING",
62
+ * // EdgeLocation: "STRING_VALUE",
63
+ * // EdgeLocations: [ // ExternalRegionCodeList
64
+ * // "STRING_VALUE",
65
+ * // ],
66
+ * // ResourceArn: "STRING_VALUE",
67
+ * // AttachmentPolicyRuleNumber: Number("int"),
68
+ * // SegmentName: "STRING_VALUE",
69
+ * // NetworkFunctionGroupName: "STRING_VALUE",
70
+ * // Tags: [ // TagList
71
+ * // { // Tag
72
+ * // Key: "STRING_VALUE",
73
+ * // Value: "STRING_VALUE",
74
+ * // },
75
+ * // ],
76
+ * // ProposedSegmentChange: { // ProposedSegmentChange
77
+ * // Tags: [
78
+ * // {
79
+ * // Key: "STRING_VALUE",
80
+ * // Value: "STRING_VALUE",
81
+ * // },
82
+ * // ],
83
+ * // AttachmentPolicyRuleNumber: Number("int"),
84
+ * // SegmentName: "STRING_VALUE",
85
+ * // },
86
+ * // ProposedNetworkFunctionGroupChange: { // ProposedNetworkFunctionGroupChange
87
+ * // Tags: [
88
+ * // {
89
+ * // Key: "STRING_VALUE",
90
+ * // Value: "STRING_VALUE",
91
+ * // },
92
+ * // ],
93
+ * // AttachmentPolicyRuleNumber: Number("int"),
94
+ * // NetworkFunctionGroupName: "STRING_VALUE",
95
+ * // },
96
+ * // CreatedAt: new Date("TIMESTAMP"),
97
+ * // UpdatedAt: new Date("TIMESTAMP"),
98
+ * // LastModificationErrors: [ // AttachmentErrorList
99
+ * // { // AttachmentError
100
+ * // Code: "VPC_NOT_FOUND" || "SUBNET_NOT_FOUND" || "SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE" || "SUBNET_NO_FREE_ADDRESSES" || "SUBNET_UNSUPPORTED_AVAILABILITY_ZONE" || "SUBNET_NO_IPV6_CIDRS" || "VPN_CONNECTION_NOT_FOUND" || "MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED" || "DIRECT_CONNECT_GATEWAY_NOT_FOUND" || "DIRECT_CONNECT_GATEWAY_EXISTING_ATTACHMENTS" || "DIRECT_CONNECT_GATEWAY_NO_PRIVATE_VIF",
101
+ * // Message: "STRING_VALUE",
102
+ * // ResourceArn: "STRING_VALUE",
103
+ * // RequestId: "STRING_VALUE",
104
+ * // },
105
+ * // ],
106
+ * // },
107
+ * // DirectConnectGatewayArn: "STRING_VALUE",
108
+ * // },
109
+ * // };
110
+ *
111
+ * ```
112
+ *
113
+ * @param CreateDirectConnectGatewayAttachmentCommandInput - {@link CreateDirectConnectGatewayAttachmentCommandInput}
114
+ * @returns {@link CreateDirectConnectGatewayAttachmentCommandOutput}
115
+ * @see {@link CreateDirectConnectGatewayAttachmentCommandInput} for command's `input` shape.
116
+ * @see {@link CreateDirectConnectGatewayAttachmentCommandOutput} for command's `response` shape.
117
+ * @see {@link NetworkManagerClientResolvedConfig | config} for NetworkManagerClient's `config` shape.
118
+ *
119
+ * @throws {@link AccessDeniedException} (client fault)
120
+ * <p>You do not have sufficient access to perform this action.</p>
121
+ *
122
+ * @throws {@link ConflictException} (client fault)
123
+ * <p>There was a conflict processing the request. Updating or deleting the resource can
124
+ * cause an inconsistent state.</p>
125
+ *
126
+ * @throws {@link InternalServerException} (server fault)
127
+ * <p>The request has failed due to an internal error.</p>
128
+ *
129
+ * @throws {@link ResourceNotFoundException} (client fault)
130
+ * <p>The specified resource could not be found.</p>
131
+ *
132
+ * @throws {@link ThrottlingException} (client fault)
133
+ * <p>The request was denied due to request throttling.</p>
134
+ *
135
+ * @throws {@link ValidationException} (client fault)
136
+ * <p>The input fails to satisfy the constraints.</p>
137
+ *
138
+ * @throws {@link NetworkManagerServiceException}
139
+ * <p>Base exception class for all service exceptions from NetworkManager service.</p>
140
+ *
141
+ * @public
142
+ */
143
+ export declare class CreateDirectConnectGatewayAttachmentCommand extends CreateDirectConnectGatewayAttachmentCommand_base {
144
+ /** @internal type navigation helper, not in runtime. */
145
+ protected static __types: {
146
+ api: {
147
+ input: CreateDirectConnectGatewayAttachmentRequest;
148
+ output: CreateDirectConnectGatewayAttachmentResponse;
149
+ };
150
+ sdk: {
151
+ input: CreateDirectConnectGatewayAttachmentCommandInput;
152
+ output: CreateDirectConnectGatewayAttachmentCommandOutput;
153
+ };
154
+ };
155
+ }
@@ -54,9 +54,12 @@ declare const CreateSiteToSiteVpnAttachmentCommand_base: {
54
54
  * // CoreNetworkArn: "STRING_VALUE",
55
55
  * // AttachmentId: "STRING_VALUE",
56
56
  * // OwnerAccountId: "STRING_VALUE",
57
- * // AttachmentType: "CONNECT" || "SITE_TO_SITE_VPN" || "VPC" || "TRANSIT_GATEWAY_ROUTE_TABLE",
57
+ * // AttachmentType: "CONNECT" || "SITE_TO_SITE_VPN" || "VPC" || "DIRECT_CONNECT_GATEWAY" || "TRANSIT_GATEWAY_ROUTE_TABLE",
58
58
  * // State: "REJECTED" || "PENDING_ATTACHMENT_ACCEPTANCE" || "CREATING" || "FAILED" || "AVAILABLE" || "UPDATING" || "PENDING_NETWORK_UPDATE" || "PENDING_TAG_ACCEPTANCE" || "DELETING",
59
59
  * // EdgeLocation: "STRING_VALUE",
60
+ * // EdgeLocations: [ // ExternalRegionCodeList
61
+ * // "STRING_VALUE",
62
+ * // ],
60
63
  * // ResourceArn: "STRING_VALUE",
61
64
  * // AttachmentPolicyRuleNumber: Number("int"),
62
65
  * // SegmentName: "STRING_VALUE",
@@ -91,7 +94,7 @@ declare const CreateSiteToSiteVpnAttachmentCommand_base: {
91
94
  * // UpdatedAt: new Date("TIMESTAMP"),
92
95
  * // LastModificationErrors: [ // AttachmentErrorList
93
96
  * // { // AttachmentError
94
- * // Code: "VPC_NOT_FOUND" || "SUBNET_NOT_FOUND" || "SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE" || "SUBNET_NO_FREE_ADDRESSES" || "SUBNET_UNSUPPORTED_AVAILABILITY_ZONE" || "SUBNET_NO_IPV6_CIDRS" || "VPN_CONNECTION_NOT_FOUND" || "MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED",
97
+ * // Code: "VPC_NOT_FOUND" || "SUBNET_NOT_FOUND" || "SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE" || "SUBNET_NO_FREE_ADDRESSES" || "SUBNET_UNSUPPORTED_AVAILABILITY_ZONE" || "SUBNET_NO_IPV6_CIDRS" || "VPN_CONNECTION_NOT_FOUND" || "MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED" || "DIRECT_CONNECT_GATEWAY_NOT_FOUND" || "DIRECT_CONNECT_GATEWAY_EXISTING_ATTACHMENTS" || "DIRECT_CONNECT_GATEWAY_NO_PRIVATE_VIF",
95
98
  * // Message: "STRING_VALUE",
96
99
  * // ResourceArn: "STRING_VALUE",
97
100
  * // RequestId: "STRING_VALUE",
@@ -54,9 +54,12 @@ declare const CreateTransitGatewayRouteTableAttachmentCommand_base: {
54
54
  * // CoreNetworkArn: "STRING_VALUE",
55
55
  * // AttachmentId: "STRING_VALUE",
56
56
  * // OwnerAccountId: "STRING_VALUE",
57
- * // AttachmentType: "CONNECT" || "SITE_TO_SITE_VPN" || "VPC" || "TRANSIT_GATEWAY_ROUTE_TABLE",
57
+ * // AttachmentType: "CONNECT" || "SITE_TO_SITE_VPN" || "VPC" || "DIRECT_CONNECT_GATEWAY" || "TRANSIT_GATEWAY_ROUTE_TABLE",
58
58
  * // State: "REJECTED" || "PENDING_ATTACHMENT_ACCEPTANCE" || "CREATING" || "FAILED" || "AVAILABLE" || "UPDATING" || "PENDING_NETWORK_UPDATE" || "PENDING_TAG_ACCEPTANCE" || "DELETING",
59
59
  * // EdgeLocation: "STRING_VALUE",
60
+ * // EdgeLocations: [ // ExternalRegionCodeList
61
+ * // "STRING_VALUE",
62
+ * // ],
60
63
  * // ResourceArn: "STRING_VALUE",
61
64
  * // AttachmentPolicyRuleNumber: Number("int"),
62
65
  * // SegmentName: "STRING_VALUE",
@@ -91,7 +94,7 @@ declare const CreateTransitGatewayRouteTableAttachmentCommand_base: {
91
94
  * // UpdatedAt: new Date("TIMESTAMP"),
92
95
  * // LastModificationErrors: [ // AttachmentErrorList
93
96
  * // { // AttachmentError
94
- * // Code: "VPC_NOT_FOUND" || "SUBNET_NOT_FOUND" || "SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE" || "SUBNET_NO_FREE_ADDRESSES" || "SUBNET_UNSUPPORTED_AVAILABILITY_ZONE" || "SUBNET_NO_IPV6_CIDRS" || "VPN_CONNECTION_NOT_FOUND" || "MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED",
97
+ * // Code: "VPC_NOT_FOUND" || "SUBNET_NOT_FOUND" || "SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE" || "SUBNET_NO_FREE_ADDRESSES" || "SUBNET_UNSUPPORTED_AVAILABILITY_ZONE" || "SUBNET_NO_IPV6_CIDRS" || "VPN_CONNECTION_NOT_FOUND" || "MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED" || "DIRECT_CONNECT_GATEWAY_NOT_FOUND" || "DIRECT_CONNECT_GATEWAY_EXISTING_ATTACHMENTS" || "DIRECT_CONNECT_GATEWAY_NO_PRIVATE_VIF",
95
98
  * // Message: "STRING_VALUE",
96
99
  * // ResourceArn: "STRING_VALUE",
97
100
  * // RequestId: "STRING_VALUE",
@@ -61,9 +61,12 @@ declare const CreateVpcAttachmentCommand_base: {
61
61
  * // CoreNetworkArn: "STRING_VALUE",
62
62
  * // AttachmentId: "STRING_VALUE",
63
63
  * // OwnerAccountId: "STRING_VALUE",
64
- * // AttachmentType: "CONNECT" || "SITE_TO_SITE_VPN" || "VPC" || "TRANSIT_GATEWAY_ROUTE_TABLE",
64
+ * // AttachmentType: "CONNECT" || "SITE_TO_SITE_VPN" || "VPC" || "DIRECT_CONNECT_GATEWAY" || "TRANSIT_GATEWAY_ROUTE_TABLE",
65
65
  * // State: "REJECTED" || "PENDING_ATTACHMENT_ACCEPTANCE" || "CREATING" || "FAILED" || "AVAILABLE" || "UPDATING" || "PENDING_NETWORK_UPDATE" || "PENDING_TAG_ACCEPTANCE" || "DELETING",
66
66
  * // EdgeLocation: "STRING_VALUE",
67
+ * // EdgeLocations: [ // ExternalRegionCodeList
68
+ * // "STRING_VALUE",
69
+ * // ],
67
70
  * // ResourceArn: "STRING_VALUE",
68
71
  * // AttachmentPolicyRuleNumber: Number("int"),
69
72
  * // SegmentName: "STRING_VALUE",
@@ -98,7 +101,7 @@ declare const CreateVpcAttachmentCommand_base: {
98
101
  * // UpdatedAt: new Date("TIMESTAMP"),
99
102
  * // LastModificationErrors: [ // AttachmentErrorList
100
103
  * // { // AttachmentError
101
- * // Code: "VPC_NOT_FOUND" || "SUBNET_NOT_FOUND" || "SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE" || "SUBNET_NO_FREE_ADDRESSES" || "SUBNET_UNSUPPORTED_AVAILABILITY_ZONE" || "SUBNET_NO_IPV6_CIDRS" || "VPN_CONNECTION_NOT_FOUND" || "MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED",
104
+ * // Code: "VPC_NOT_FOUND" || "SUBNET_NOT_FOUND" || "SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE" || "SUBNET_NO_FREE_ADDRESSES" || "SUBNET_UNSUPPORTED_AVAILABILITY_ZONE" || "SUBNET_NO_IPV6_CIDRS" || "VPN_CONNECTION_NOT_FOUND" || "MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED" || "DIRECT_CONNECT_GATEWAY_NOT_FOUND" || "DIRECT_CONNECT_GATEWAY_EXISTING_ATTACHMENTS" || "DIRECT_CONNECT_GATEWAY_NO_PRIVATE_VIF",
102
105
  * // Message: "STRING_VALUE",
103
106
  * // ResourceArn: "STRING_VALUE",
104
107
  * // RequestId: "STRING_VALUE",
@@ -45,9 +45,12 @@ declare const DeleteAttachmentCommand_base: {
45
45
  * // CoreNetworkArn: "STRING_VALUE",
46
46
  * // AttachmentId: "STRING_VALUE",
47
47
  * // OwnerAccountId: "STRING_VALUE",
48
- * // AttachmentType: "CONNECT" || "SITE_TO_SITE_VPN" || "VPC" || "TRANSIT_GATEWAY_ROUTE_TABLE",
48
+ * // AttachmentType: "CONNECT" || "SITE_TO_SITE_VPN" || "VPC" || "DIRECT_CONNECT_GATEWAY" || "TRANSIT_GATEWAY_ROUTE_TABLE",
49
49
  * // State: "REJECTED" || "PENDING_ATTACHMENT_ACCEPTANCE" || "CREATING" || "FAILED" || "AVAILABLE" || "UPDATING" || "PENDING_NETWORK_UPDATE" || "PENDING_TAG_ACCEPTANCE" || "DELETING",
50
50
  * // EdgeLocation: "STRING_VALUE",
51
+ * // EdgeLocations: [ // ExternalRegionCodeList
52
+ * // "STRING_VALUE",
53
+ * // ],
51
54
  * // ResourceArn: "STRING_VALUE",
52
55
  * // AttachmentPolicyRuleNumber: Number("int"),
53
56
  * // SegmentName: "STRING_VALUE",
@@ -82,7 +85,7 @@ declare const DeleteAttachmentCommand_base: {
82
85
  * // UpdatedAt: new Date("TIMESTAMP"),
83
86
  * // LastModificationErrors: [ // AttachmentErrorList
84
87
  * // { // AttachmentError
85
- * // Code: "VPC_NOT_FOUND" || "SUBNET_NOT_FOUND" || "SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE" || "SUBNET_NO_FREE_ADDRESSES" || "SUBNET_UNSUPPORTED_AVAILABILITY_ZONE" || "SUBNET_NO_IPV6_CIDRS" || "VPN_CONNECTION_NOT_FOUND" || "MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED",
88
+ * // Code: "VPC_NOT_FOUND" || "SUBNET_NOT_FOUND" || "SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE" || "SUBNET_NO_FREE_ADDRESSES" || "SUBNET_UNSUPPORTED_AVAILABILITY_ZONE" || "SUBNET_NO_IPV6_CIDRS" || "VPN_CONNECTION_NOT_FOUND" || "MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED" || "DIRECT_CONNECT_GATEWAY_NOT_FOUND" || "DIRECT_CONNECT_GATEWAY_EXISTING_ATTACHMENTS" || "DIRECT_CONNECT_GATEWAY_NO_PRIVATE_VIF",
86
89
  * // Message: "STRING_VALUE",
87
90
  * // ResourceArn: "STRING_VALUE",
88
91
  * // RequestId: "STRING_VALUE",
@@ -46,9 +46,12 @@ declare const GetConnectAttachmentCommand_base: {
46
46
  * // CoreNetworkArn: "STRING_VALUE",
47
47
  * // AttachmentId: "STRING_VALUE",
48
48
  * // OwnerAccountId: "STRING_VALUE",
49
- * // AttachmentType: "CONNECT" || "SITE_TO_SITE_VPN" || "VPC" || "TRANSIT_GATEWAY_ROUTE_TABLE",
49
+ * // AttachmentType: "CONNECT" || "SITE_TO_SITE_VPN" || "VPC" || "DIRECT_CONNECT_GATEWAY" || "TRANSIT_GATEWAY_ROUTE_TABLE",
50
50
  * // State: "REJECTED" || "PENDING_ATTACHMENT_ACCEPTANCE" || "CREATING" || "FAILED" || "AVAILABLE" || "UPDATING" || "PENDING_NETWORK_UPDATE" || "PENDING_TAG_ACCEPTANCE" || "DELETING",
51
51
  * // EdgeLocation: "STRING_VALUE",
52
+ * // EdgeLocations: [ // ExternalRegionCodeList
53
+ * // "STRING_VALUE",
54
+ * // ],
52
55
  * // ResourceArn: "STRING_VALUE",
53
56
  * // AttachmentPolicyRuleNumber: Number("int"),
54
57
  * // SegmentName: "STRING_VALUE",
@@ -83,7 +86,7 @@ declare const GetConnectAttachmentCommand_base: {
83
86
  * // UpdatedAt: new Date("TIMESTAMP"),
84
87
  * // LastModificationErrors: [ // AttachmentErrorList
85
88
  * // { // AttachmentError
86
- * // Code: "VPC_NOT_FOUND" || "SUBNET_NOT_FOUND" || "SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE" || "SUBNET_NO_FREE_ADDRESSES" || "SUBNET_UNSUPPORTED_AVAILABILITY_ZONE" || "SUBNET_NO_IPV6_CIDRS" || "VPN_CONNECTION_NOT_FOUND" || "MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED",
89
+ * // Code: "VPC_NOT_FOUND" || "SUBNET_NOT_FOUND" || "SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE" || "SUBNET_NO_FREE_ADDRESSES" || "SUBNET_UNSUPPORTED_AVAILABILITY_ZONE" || "SUBNET_NO_IPV6_CIDRS" || "VPN_CONNECTION_NOT_FOUND" || "MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED" || "DIRECT_CONNECT_GATEWAY_NOT_FOUND" || "DIRECT_CONNECT_GATEWAY_EXISTING_ATTACHMENTS" || "DIRECT_CONNECT_GATEWAY_NO_PRIVATE_VIF",
87
90
  * // Message: "STRING_VALUE",
88
91
  * // ResourceArn: "STRING_VALUE",
89
92
  * // RequestId: "STRING_VALUE",