@aws-sdk/client-networkmanager 3.696.0 → 3.700.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +24 -0
- package/dist-cjs/index.js +148 -0
- package/dist-es/NetworkManager.js +6 -0
- package/dist-es/commands/CreateDirectConnectGatewayAttachmentCommand.js +22 -0
- package/dist-es/commands/GetDirectConnectGatewayAttachmentCommand.js +22 -0
- package/dist-es/commands/UpdateDirectConnectGatewayAttachmentCommand.js +22 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/models_0.js +4 -0
- package/dist-es/protocols/Aws_restJson1.js +89 -0
- package/dist-types/NetworkManager.d.ts +21 -0
- package/dist-types/NetworkManagerClient.d.ts +5 -2
- package/dist-types/commands/AcceptAttachmentCommand.d.ts +5 -2
- package/dist-types/commands/CreateConnectAttachmentCommand.d.ts +5 -2
- package/dist-types/commands/CreateDirectConnectGatewayAttachmentCommand.d.ts +155 -0
- package/dist-types/commands/CreateSiteToSiteVpnAttachmentCommand.d.ts +5 -2
- package/dist-types/commands/CreateTransitGatewayRouteTableAttachmentCommand.d.ts +5 -2
- package/dist-types/commands/CreateVpcAttachmentCommand.d.ts +5 -2
- package/dist-types/commands/DeleteAttachmentCommand.d.ts +5 -2
- package/dist-types/commands/GetConnectAttachmentCommand.d.ts +5 -2
- package/dist-types/commands/GetDirectConnectGatewayAttachmentCommand.d.ts +140 -0
- package/dist-types/commands/GetSiteToSiteVpnAttachmentCommand.d.ts +5 -2
- package/dist-types/commands/GetTransitGatewayRouteTableAttachmentCommand.d.ts +5 -2
- package/dist-types/commands/GetVpcAttachmentCommand.d.ts +5 -2
- package/dist-types/commands/ListAttachmentsCommand.d.ts +6 -3
- package/dist-types/commands/RejectAttachmentCommand.d.ts +5 -2
- package/dist-types/commands/UpdateDirectConnectGatewayAttachmentCommand.d.ts +147 -0
- package/dist-types/commands/UpdateVpcAttachmentCommand.d.ts +5 -2
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +111 -1
- package/dist-types/protocols/Aws_restJson1.d.ts +27 -0
- package/dist-types/ts3.4/NetworkManager.d.ts +69 -0
- package/dist-types/ts3.4/NetworkManagerClient.d.ts +18 -0
- package/dist-types/ts3.4/commands/CreateDirectConnectGatewayAttachmentCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetDirectConnectGatewayAttachmentCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateDirectConnectGatewayAttachmentCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +32 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +36 -0
- package/package.json +4 -4
|
@@ -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",
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { GetDirectConnectGatewayAttachmentRequest, GetDirectConnectGatewayAttachmentResponse } 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 GetDirectConnectGatewayAttachmentCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetDirectConnectGatewayAttachmentCommandInput extends GetDirectConnectGatewayAttachmentRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetDirectConnectGatewayAttachmentCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetDirectConnectGatewayAttachmentCommandOutput extends GetDirectConnectGatewayAttachmentResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetDirectConnectGatewayAttachmentCommand_base: {
|
|
25
|
+
new (input: GetDirectConnectGatewayAttachmentCommandInput): import("@smithy/smithy-client").CommandImpl<GetDirectConnectGatewayAttachmentCommandInput, GetDirectConnectGatewayAttachmentCommandOutput, NetworkManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: GetDirectConnectGatewayAttachmentCommandInput): import("@smithy/smithy-client").CommandImpl<GetDirectConnectGatewayAttachmentCommandInput, GetDirectConnectGatewayAttachmentCommandOutput, NetworkManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Returns information about a specific 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, GetDirectConnectGatewayAttachmentCommand } from "@aws-sdk/client-networkmanager"; // ES Modules import
|
|
35
|
+
* // const { NetworkManagerClient, GetDirectConnectGatewayAttachmentCommand } = require("@aws-sdk/client-networkmanager"); // CommonJS import
|
|
36
|
+
* const client = new NetworkManagerClient(config);
|
|
37
|
+
* const input = { // GetDirectConnectGatewayAttachmentRequest
|
|
38
|
+
* AttachmentId: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
40
|
+
* const command = new GetDirectConnectGatewayAttachmentCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // { // GetDirectConnectGatewayAttachmentResponse
|
|
43
|
+
* // DirectConnectGatewayAttachment: { // DirectConnectGatewayAttachment
|
|
44
|
+
* // Attachment: { // Attachment
|
|
45
|
+
* // CoreNetworkId: "STRING_VALUE",
|
|
46
|
+
* // CoreNetworkArn: "STRING_VALUE",
|
|
47
|
+
* // AttachmentId: "STRING_VALUE",
|
|
48
|
+
* // OwnerAccountId: "STRING_VALUE",
|
|
49
|
+
* // AttachmentType: "CONNECT" || "SITE_TO_SITE_VPN" || "VPC" || "DIRECT_CONNECT_GATEWAY" || "TRANSIT_GATEWAY_ROUTE_TABLE",
|
|
50
|
+
* // State: "REJECTED" || "PENDING_ATTACHMENT_ACCEPTANCE" || "CREATING" || "FAILED" || "AVAILABLE" || "UPDATING" || "PENDING_NETWORK_UPDATE" || "PENDING_TAG_ACCEPTANCE" || "DELETING",
|
|
51
|
+
* // EdgeLocation: "STRING_VALUE",
|
|
52
|
+
* // EdgeLocations: [ // ExternalRegionCodeList
|
|
53
|
+
* // "STRING_VALUE",
|
|
54
|
+
* // ],
|
|
55
|
+
* // ResourceArn: "STRING_VALUE",
|
|
56
|
+
* // AttachmentPolicyRuleNumber: Number("int"),
|
|
57
|
+
* // SegmentName: "STRING_VALUE",
|
|
58
|
+
* // NetworkFunctionGroupName: "STRING_VALUE",
|
|
59
|
+
* // Tags: [ // TagList
|
|
60
|
+
* // { // Tag
|
|
61
|
+
* // Key: "STRING_VALUE",
|
|
62
|
+
* // Value: "STRING_VALUE",
|
|
63
|
+
* // },
|
|
64
|
+
* // ],
|
|
65
|
+
* // ProposedSegmentChange: { // ProposedSegmentChange
|
|
66
|
+
* // Tags: [
|
|
67
|
+
* // {
|
|
68
|
+
* // Key: "STRING_VALUE",
|
|
69
|
+
* // Value: "STRING_VALUE",
|
|
70
|
+
* // },
|
|
71
|
+
* // ],
|
|
72
|
+
* // AttachmentPolicyRuleNumber: Number("int"),
|
|
73
|
+
* // SegmentName: "STRING_VALUE",
|
|
74
|
+
* // },
|
|
75
|
+
* // ProposedNetworkFunctionGroupChange: { // ProposedNetworkFunctionGroupChange
|
|
76
|
+
* // Tags: [
|
|
77
|
+
* // {
|
|
78
|
+
* // Key: "STRING_VALUE",
|
|
79
|
+
* // Value: "STRING_VALUE",
|
|
80
|
+
* // },
|
|
81
|
+
* // ],
|
|
82
|
+
* // AttachmentPolicyRuleNumber: Number("int"),
|
|
83
|
+
* // NetworkFunctionGroupName: "STRING_VALUE",
|
|
84
|
+
* // },
|
|
85
|
+
* // CreatedAt: new Date("TIMESTAMP"),
|
|
86
|
+
* // UpdatedAt: new Date("TIMESTAMP"),
|
|
87
|
+
* // LastModificationErrors: [ // AttachmentErrorList
|
|
88
|
+
* // { // AttachmentError
|
|
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",
|
|
90
|
+
* // Message: "STRING_VALUE",
|
|
91
|
+
* // ResourceArn: "STRING_VALUE",
|
|
92
|
+
* // RequestId: "STRING_VALUE",
|
|
93
|
+
* // },
|
|
94
|
+
* // ],
|
|
95
|
+
* // },
|
|
96
|
+
* // DirectConnectGatewayArn: "STRING_VALUE",
|
|
97
|
+
* // },
|
|
98
|
+
* // };
|
|
99
|
+
*
|
|
100
|
+
* ```
|
|
101
|
+
*
|
|
102
|
+
* @param GetDirectConnectGatewayAttachmentCommandInput - {@link GetDirectConnectGatewayAttachmentCommandInput}
|
|
103
|
+
* @returns {@link GetDirectConnectGatewayAttachmentCommandOutput}
|
|
104
|
+
* @see {@link GetDirectConnectGatewayAttachmentCommandInput} for command's `input` shape.
|
|
105
|
+
* @see {@link GetDirectConnectGatewayAttachmentCommandOutput} for command's `response` shape.
|
|
106
|
+
* @see {@link NetworkManagerClientResolvedConfig | config} for NetworkManagerClient's `config` shape.
|
|
107
|
+
*
|
|
108
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
109
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
110
|
+
*
|
|
111
|
+
* @throws {@link InternalServerException} (server fault)
|
|
112
|
+
* <p>The request has failed due to an internal error.</p>
|
|
113
|
+
*
|
|
114
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
115
|
+
* <p>The specified resource could not be found.</p>
|
|
116
|
+
*
|
|
117
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
118
|
+
* <p>The request was denied due to request throttling.</p>
|
|
119
|
+
*
|
|
120
|
+
* @throws {@link ValidationException} (client fault)
|
|
121
|
+
* <p>The input fails to satisfy the constraints.</p>
|
|
122
|
+
*
|
|
123
|
+
* @throws {@link NetworkManagerServiceException}
|
|
124
|
+
* <p>Base exception class for all service exceptions from NetworkManager service.</p>
|
|
125
|
+
*
|
|
126
|
+
* @public
|
|
127
|
+
*/
|
|
128
|
+
export declare class GetDirectConnectGatewayAttachmentCommand extends GetDirectConnectGatewayAttachmentCommand_base {
|
|
129
|
+
/** @internal type navigation helper, not in runtime. */
|
|
130
|
+
protected static __types: {
|
|
131
|
+
api: {
|
|
132
|
+
input: GetDirectConnectGatewayAttachmentRequest;
|
|
133
|
+
output: GetDirectConnectGatewayAttachmentResponse;
|
|
134
|
+
};
|
|
135
|
+
sdk: {
|
|
136
|
+
input: GetDirectConnectGatewayAttachmentCommandInput;
|
|
137
|
+
output: GetDirectConnectGatewayAttachmentCommandOutput;
|
|
138
|
+
};
|
|
139
|
+
};
|
|
140
|
+
}
|
|
@@ -46,9 +46,12 @@ declare const GetSiteToSiteVpnAttachmentCommand_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 GetSiteToSiteVpnAttachmentCommand_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",
|