@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.
Files changed (39) hide show
  1. package/README.md +24 -0
  2. package/dist-cjs/index.js +148 -0
  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 +89 -0
  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 +111 -1
  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 +32 -0
  38. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +36 -0
  39. package/package.json +4 -4
@@ -46,9 +46,12 @@ declare const GetTransitGatewayRouteTableAttachmentCommand_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 GetTransitGatewayRouteTableAttachmentCommand_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",
@@ -46,9 +46,12 @@ declare const GetVpcAttachmentCommand_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 GetVpcAttachmentCommand_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",
@@ -36,7 +36,7 @@ declare const ListAttachmentsCommand_base: {
36
36
  * const client = new NetworkManagerClient(config);
37
37
  * const input = { // ListAttachmentsRequest
38
38
  * CoreNetworkId: "STRING_VALUE",
39
- * AttachmentType: "CONNECT" || "SITE_TO_SITE_VPN" || "VPC" || "TRANSIT_GATEWAY_ROUTE_TABLE",
39
+ * AttachmentType: "CONNECT" || "SITE_TO_SITE_VPN" || "VPC" || "DIRECT_CONNECT_GATEWAY" || "TRANSIT_GATEWAY_ROUTE_TABLE",
40
40
  * EdgeLocation: "STRING_VALUE",
41
41
  * State: "REJECTED" || "PENDING_ATTACHMENT_ACCEPTANCE" || "CREATING" || "FAILED" || "AVAILABLE" || "UPDATING" || "PENDING_NETWORK_UPDATE" || "PENDING_TAG_ACCEPTANCE" || "DELETING",
42
42
  * MaxResults: Number("int"),
@@ -51,9 +51,12 @@ declare const ListAttachmentsCommand_base: {
51
51
  * // CoreNetworkArn: "STRING_VALUE",
52
52
  * // AttachmentId: "STRING_VALUE",
53
53
  * // OwnerAccountId: "STRING_VALUE",
54
- * // AttachmentType: "CONNECT" || "SITE_TO_SITE_VPN" || "VPC" || "TRANSIT_GATEWAY_ROUTE_TABLE",
54
+ * // AttachmentType: "CONNECT" || "SITE_TO_SITE_VPN" || "VPC" || "DIRECT_CONNECT_GATEWAY" || "TRANSIT_GATEWAY_ROUTE_TABLE",
55
55
  * // State: "REJECTED" || "PENDING_ATTACHMENT_ACCEPTANCE" || "CREATING" || "FAILED" || "AVAILABLE" || "UPDATING" || "PENDING_NETWORK_UPDATE" || "PENDING_TAG_ACCEPTANCE" || "DELETING",
56
56
  * // EdgeLocation: "STRING_VALUE",
57
+ * // EdgeLocations: [ // ExternalRegionCodeList
58
+ * // "STRING_VALUE",
59
+ * // ],
57
60
  * // ResourceArn: "STRING_VALUE",
58
61
  * // AttachmentPolicyRuleNumber: Number("int"),
59
62
  * // SegmentName: "STRING_VALUE",
@@ -88,7 +91,7 @@ declare const ListAttachmentsCommand_base: {
88
91
  * // UpdatedAt: new Date("TIMESTAMP"),
89
92
  * // LastModificationErrors: [ // AttachmentErrorList
90
93
  * // { // AttachmentError
91
- * // 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",
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" || "DIRECT_CONNECT_GATEWAY_NOT_FOUND" || "DIRECT_CONNECT_GATEWAY_EXISTING_ATTACHMENTS" || "DIRECT_CONNECT_GATEWAY_NO_PRIVATE_VIF",
92
95
  * // Message: "STRING_VALUE",
93
96
  * // ResourceArn: "STRING_VALUE",
94
97
  * // RequestId: "STRING_VALUE",
@@ -45,9 +45,12 @@ declare const RejectAttachmentCommand_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 RejectAttachmentCommand_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",
@@ -0,0 +1,147 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { UpdateDirectConnectGatewayAttachmentRequest, UpdateDirectConnectGatewayAttachmentResponse } 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 UpdateDirectConnectGatewayAttachmentCommand}.
14
+ */
15
+ export interface UpdateDirectConnectGatewayAttachmentCommandInput extends UpdateDirectConnectGatewayAttachmentRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateDirectConnectGatewayAttachmentCommand}.
21
+ */
22
+ export interface UpdateDirectConnectGatewayAttachmentCommandOutput extends UpdateDirectConnectGatewayAttachmentResponse, __MetadataBearer {
23
+ }
24
+ declare const UpdateDirectConnectGatewayAttachmentCommand_base: {
25
+ new (input: UpdateDirectConnectGatewayAttachmentCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateDirectConnectGatewayAttachmentCommandInput, UpdateDirectConnectGatewayAttachmentCommandOutput, NetworkManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: UpdateDirectConnectGatewayAttachmentCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateDirectConnectGatewayAttachmentCommandInput, UpdateDirectConnectGatewayAttachmentCommandOutput, NetworkManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Updates the edge locations associated with 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, UpdateDirectConnectGatewayAttachmentCommand } from "@aws-sdk/client-networkmanager"; // ES Modules import
35
+ * // const { NetworkManagerClient, UpdateDirectConnectGatewayAttachmentCommand } = require("@aws-sdk/client-networkmanager"); // CommonJS import
36
+ * const client = new NetworkManagerClient(config);
37
+ * const input = { // UpdateDirectConnectGatewayAttachmentRequest
38
+ * AttachmentId: "STRING_VALUE", // required
39
+ * EdgeLocations: [ // ExternalRegionCodeList
40
+ * "STRING_VALUE",
41
+ * ],
42
+ * };
43
+ * const command = new UpdateDirectConnectGatewayAttachmentCommand(input);
44
+ * const response = await client.send(command);
45
+ * // { // UpdateDirectConnectGatewayAttachmentResponse
46
+ * // DirectConnectGatewayAttachment: { // DirectConnectGatewayAttachment
47
+ * // Attachment: { // Attachment
48
+ * // CoreNetworkId: "STRING_VALUE",
49
+ * // CoreNetworkArn: "STRING_VALUE",
50
+ * // AttachmentId: "STRING_VALUE",
51
+ * // OwnerAccountId: "STRING_VALUE",
52
+ * // AttachmentType: "CONNECT" || "SITE_TO_SITE_VPN" || "VPC" || "DIRECT_CONNECT_GATEWAY" || "TRANSIT_GATEWAY_ROUTE_TABLE",
53
+ * // State: "REJECTED" || "PENDING_ATTACHMENT_ACCEPTANCE" || "CREATING" || "FAILED" || "AVAILABLE" || "UPDATING" || "PENDING_NETWORK_UPDATE" || "PENDING_TAG_ACCEPTANCE" || "DELETING",
54
+ * // EdgeLocation: "STRING_VALUE",
55
+ * // EdgeLocations: [ // ExternalRegionCodeList
56
+ * // "STRING_VALUE",
57
+ * // ],
58
+ * // ResourceArn: "STRING_VALUE",
59
+ * // AttachmentPolicyRuleNumber: Number("int"),
60
+ * // SegmentName: "STRING_VALUE",
61
+ * // NetworkFunctionGroupName: "STRING_VALUE",
62
+ * // Tags: [ // TagList
63
+ * // { // Tag
64
+ * // Key: "STRING_VALUE",
65
+ * // Value: "STRING_VALUE",
66
+ * // },
67
+ * // ],
68
+ * // ProposedSegmentChange: { // ProposedSegmentChange
69
+ * // Tags: [
70
+ * // {
71
+ * // Key: "STRING_VALUE",
72
+ * // Value: "STRING_VALUE",
73
+ * // },
74
+ * // ],
75
+ * // AttachmentPolicyRuleNumber: Number("int"),
76
+ * // SegmentName: "STRING_VALUE",
77
+ * // },
78
+ * // ProposedNetworkFunctionGroupChange: { // ProposedNetworkFunctionGroupChange
79
+ * // Tags: [
80
+ * // {
81
+ * // Key: "STRING_VALUE",
82
+ * // Value: "STRING_VALUE",
83
+ * // },
84
+ * // ],
85
+ * // AttachmentPolicyRuleNumber: Number("int"),
86
+ * // NetworkFunctionGroupName: "STRING_VALUE",
87
+ * // },
88
+ * // CreatedAt: new Date("TIMESTAMP"),
89
+ * // UpdatedAt: new Date("TIMESTAMP"),
90
+ * // LastModificationErrors: [ // AttachmentErrorList
91
+ * // { // AttachmentError
92
+ * // 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",
93
+ * // Message: "STRING_VALUE",
94
+ * // ResourceArn: "STRING_VALUE",
95
+ * // RequestId: "STRING_VALUE",
96
+ * // },
97
+ * // ],
98
+ * // },
99
+ * // DirectConnectGatewayArn: "STRING_VALUE",
100
+ * // },
101
+ * // };
102
+ *
103
+ * ```
104
+ *
105
+ * @param UpdateDirectConnectGatewayAttachmentCommandInput - {@link UpdateDirectConnectGatewayAttachmentCommandInput}
106
+ * @returns {@link UpdateDirectConnectGatewayAttachmentCommandOutput}
107
+ * @see {@link UpdateDirectConnectGatewayAttachmentCommandInput} for command's `input` shape.
108
+ * @see {@link UpdateDirectConnectGatewayAttachmentCommandOutput} for command's `response` shape.
109
+ * @see {@link NetworkManagerClientResolvedConfig | config} for NetworkManagerClient's `config` shape.
110
+ *
111
+ * @throws {@link AccessDeniedException} (client fault)
112
+ * <p>You do not have sufficient access to perform this action.</p>
113
+ *
114
+ * @throws {@link ConflictException} (client fault)
115
+ * <p>There was a conflict processing the request. Updating or deleting the resource can
116
+ * cause an inconsistent state.</p>
117
+ *
118
+ * @throws {@link InternalServerException} (server fault)
119
+ * <p>The request has failed due to an internal error.</p>
120
+ *
121
+ * @throws {@link ResourceNotFoundException} (client fault)
122
+ * <p>The specified resource could not be found.</p>
123
+ *
124
+ * @throws {@link ThrottlingException} (client fault)
125
+ * <p>The request was denied due to request throttling.</p>
126
+ *
127
+ * @throws {@link ValidationException} (client fault)
128
+ * <p>The input fails to satisfy the constraints.</p>
129
+ *
130
+ * @throws {@link NetworkManagerServiceException}
131
+ * <p>Base exception class for all service exceptions from NetworkManager service.</p>
132
+ *
133
+ * @public
134
+ */
135
+ export declare class UpdateDirectConnectGatewayAttachmentCommand extends UpdateDirectConnectGatewayAttachmentCommand_base {
136
+ /** @internal type navigation helper, not in runtime. */
137
+ protected static __types: {
138
+ api: {
139
+ input: UpdateDirectConnectGatewayAttachmentRequest;
140
+ output: UpdateDirectConnectGatewayAttachmentResponse;
141
+ };
142
+ sdk: {
143
+ input: UpdateDirectConnectGatewayAttachmentCommandInput;
144
+ output: UpdateDirectConnectGatewayAttachmentCommandOutput;
145
+ };
146
+ };
147
+ }
@@ -56,9 +56,12 @@ declare const UpdateVpcAttachmentCommand_base: {
56
56
  * // CoreNetworkArn: "STRING_VALUE",
57
57
  * // AttachmentId: "STRING_VALUE",
58
58
  * // OwnerAccountId: "STRING_VALUE",
59
- * // AttachmentType: "CONNECT" || "SITE_TO_SITE_VPN" || "VPC" || "TRANSIT_GATEWAY_ROUTE_TABLE",
59
+ * // AttachmentType: "CONNECT" || "SITE_TO_SITE_VPN" || "VPC" || "DIRECT_CONNECT_GATEWAY" || "TRANSIT_GATEWAY_ROUTE_TABLE",
60
60
  * // State: "REJECTED" || "PENDING_ATTACHMENT_ACCEPTANCE" || "CREATING" || "FAILED" || "AVAILABLE" || "UPDATING" || "PENDING_NETWORK_UPDATE" || "PENDING_TAG_ACCEPTANCE" || "DELETING",
61
61
  * // EdgeLocation: "STRING_VALUE",
62
+ * // EdgeLocations: [ // ExternalRegionCodeList
63
+ * // "STRING_VALUE",
64
+ * // ],
62
65
  * // ResourceArn: "STRING_VALUE",
63
66
  * // AttachmentPolicyRuleNumber: Number("int"),
64
67
  * // SegmentName: "STRING_VALUE",
@@ -93,7 +96,7 @@ declare const UpdateVpcAttachmentCommand_base: {
93
96
  * // UpdatedAt: new Date("TIMESTAMP"),
94
97
  * // LastModificationErrors: [ // AttachmentErrorList
95
98
  * // { // AttachmentError
96
- * // 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",
99
+ * // 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",
97
100
  * // Message: "STRING_VALUE",
98
101
  * // ResourceArn: "STRING_VALUE",
99
102
  * // RequestId: "STRING_VALUE",
@@ -8,6 +8,7 @@ export * from "./CreateConnectPeerCommand";
8
8
  export * from "./CreateConnectionCommand";
9
9
  export * from "./CreateCoreNetworkCommand";
10
10
  export * from "./CreateDeviceCommand";
11
+ export * from "./CreateDirectConnectGatewayAttachmentCommand";
11
12
  export * from "./CreateGlobalNetworkCommand";
12
13
  export * from "./CreateLinkCommand";
13
14
  export * from "./CreateSiteCommand";
@@ -43,6 +44,7 @@ export * from "./GetCoreNetworkCommand";
43
44
  export * from "./GetCoreNetworkPolicyCommand";
44
45
  export * from "./GetCustomerGatewayAssociationsCommand";
45
46
  export * from "./GetDevicesCommand";
47
+ export * from "./GetDirectConnectGatewayAttachmentCommand";
46
48
  export * from "./GetLinkAssociationsCommand";
47
49
  export * from "./GetLinksCommand";
48
50
  export * from "./GetNetworkResourceCountsCommand";
@@ -78,6 +80,7 @@ export * from "./UntagResourceCommand";
78
80
  export * from "./UpdateConnectionCommand";
79
81
  export * from "./UpdateCoreNetworkCommand";
80
82
  export * from "./UpdateDeviceCommand";
83
+ export * from "./UpdateDirectConnectGatewayAttachmentCommand";
81
84
  export * from "./UpdateGlobalNetworkCommand";
82
85
  export * from "./UpdateLinkCommand";
83
86
  export * from "./UpdateNetworkResourceMetadataCommand";
@@ -16,6 +16,7 @@ export interface AcceptAttachmentRequest {
16
16
  */
17
17
  export declare const AttachmentType: {
18
18
  readonly CONNECT: "CONNECT";
19
+ readonly DIRECT_CONNECT_GATEWAY: "DIRECT_CONNECT_GATEWAY";
19
20
  readonly SITE_TO_SITE_VPN: "SITE_TO_SITE_VPN";
20
21
  readonly TRANSIT_GATEWAY_ROUTE_TABLE: "TRANSIT_GATEWAY_ROUTE_TABLE";
21
22
  readonly VPC: "VPC";
@@ -29,6 +30,9 @@ export type AttachmentType = (typeof AttachmentType)[keyof typeof AttachmentType
29
30
  * @enum
30
31
  */
31
32
  export declare const AttachmentErrorCode: {
33
+ readonly DIRECT_CONNECT_GATEWAY_EXISTING_ATTACHMENTS: "DIRECT_CONNECT_GATEWAY_EXISTING_ATTACHMENTS";
34
+ readonly DIRECT_CONNECT_GATEWAY_NOT_FOUND: "DIRECT_CONNECT_GATEWAY_NOT_FOUND";
35
+ readonly DIRECT_CONNECT_GATEWAY_NO_PRIVATE_VIF: "DIRECT_CONNECT_GATEWAY_NO_PRIVATE_VIF";
32
36
  readonly MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED: "MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED";
33
37
  readonly SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE: "SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE";
34
38
  readonly SUBNET_NOT_FOUND: "SUBNET_NOT_FOUND";
@@ -183,10 +187,15 @@ export interface Attachment {
183
187
  */
184
188
  State?: AttachmentState | undefined;
185
189
  /**
186
- * <p>The Region where the edge is located.</p>
190
+ * <p>The Region where the edge is located. This is returned for all attachment types except a Direct Connect gateway attachment, which instead returns <code>EdgeLocations</code>.</p>
187
191
  * @public
188
192
  */
189
193
  EdgeLocation?: string | undefined;
194
+ /**
195
+ * <p>The edge locations that the Direct Connect gateway is associated with. This is returned only for Direct Connect gateway attachments. All other attachment types retrun <code>EdgeLocation</code>.</p>
196
+ * @public
197
+ */
198
+ EdgeLocations?: string[] | undefined;
190
199
  /**
191
200
  * <p>The attachment resource ARN.</p>
192
201
  * @public
@@ -2253,6 +2262,62 @@ export interface CreateDeviceResponse {
2253
2262
  */
2254
2263
  Device?: Device | undefined;
2255
2264
  }
2265
+ /**
2266
+ * @public
2267
+ */
2268
+ export interface CreateDirectConnectGatewayAttachmentRequest {
2269
+ /**
2270
+ * <p>The ID of the Cloud WAN core network that the Direct Connect gateway attachment should be attached to.</p>
2271
+ * @public
2272
+ */
2273
+ CoreNetworkId: string | undefined;
2274
+ /**
2275
+ * <p>The ARN of the Direct Connect gateway attachment.</p>
2276
+ * @public
2277
+ */
2278
+ DirectConnectGatewayArn: string | undefined;
2279
+ /**
2280
+ * <p>One or more core network edge locations that the Direct Connect gateway attachment is associated with. </p>
2281
+ * @public
2282
+ */
2283
+ EdgeLocations: string[] | undefined;
2284
+ /**
2285
+ * <p>The key value tags to apply to the Direct Connect gateway attachment during creation.</p>
2286
+ * @public
2287
+ */
2288
+ Tags?: Tag[] | undefined;
2289
+ /**
2290
+ * <p>client token</p>
2291
+ * @public
2292
+ */
2293
+ ClientToken?: string | undefined;
2294
+ }
2295
+ /**
2296
+ * <p>Describes a Direct Connect gateway attachment.</p>
2297
+ * @public
2298
+ */
2299
+ export interface DirectConnectGatewayAttachment {
2300
+ /**
2301
+ * <p>Describes a core network attachment.</p>
2302
+ * @public
2303
+ */
2304
+ Attachment?: Attachment | undefined;
2305
+ /**
2306
+ * <p>The Direct Connect gateway attachment ARN.</p>
2307
+ * @public
2308
+ */
2309
+ DirectConnectGatewayArn?: string | undefined;
2310
+ }
2311
+ /**
2312
+ * @public
2313
+ */
2314
+ export interface CreateDirectConnectGatewayAttachmentResponse {
2315
+ /**
2316
+ * <p>Describes the details of a <code>CreateDirectConnectGatewayAttachment</code> request.</p>
2317
+ * @public
2318
+ */
2319
+ DirectConnectGatewayAttachment?: DirectConnectGatewayAttachment | undefined;
2320
+ }
2256
2321
  /**
2257
2322
  * @public
2258
2323
  */
@@ -3774,6 +3839,26 @@ export interface GetDevicesResponse {
3774
3839
  */
3775
3840
  NextToken?: string | undefined;
3776
3841
  }
3842
+ /**
3843
+ * @public
3844
+ */
3845
+ export interface GetDirectConnectGatewayAttachmentRequest {
3846
+ /**
3847
+ * <p>The ID of the Direct Connect gateway attachment that you want to see details about.</p>
3848
+ * @public
3849
+ */
3850
+ AttachmentId: string | undefined;
3851
+ }
3852
+ /**
3853
+ * @public
3854
+ */
3855
+ export interface GetDirectConnectGatewayAttachmentResponse {
3856
+ /**
3857
+ * <p>Shows details about the Direct Connect gateway attachment. </p>
3858
+ * @public
3859
+ */
3860
+ DirectConnectGatewayAttachment?: DirectConnectGatewayAttachment | undefined;
3861
+ }
3777
3862
  /**
3778
3863
  * @public
3779
3864
  */
@@ -6032,6 +6117,31 @@ export interface UpdateDeviceResponse {
6032
6117
  */
6033
6118
  Device?: Device | undefined;
6034
6119
  }
6120
+ /**
6121
+ * @public
6122
+ */
6123
+ export interface UpdateDirectConnectGatewayAttachmentRequest {
6124
+ /**
6125
+ * <p>The ID of the Direct Connect gateway attachment for the updated edge locations. </p>
6126
+ * @public
6127
+ */
6128
+ AttachmentId: string | undefined;
6129
+ /**
6130
+ * <p>One or more edge locations to update for the Direct Connect gateway attachment. The updated array of edge locations overwrites the previous array of locations. <code>EdgeLocations</code> is only used for Direct Connect gateway attachments. Do</p>
6131
+ * @public
6132
+ */
6133
+ EdgeLocations?: string[] | undefined;
6134
+ }
6135
+ /**
6136
+ * @public
6137
+ */
6138
+ export interface UpdateDirectConnectGatewayAttachmentResponse {
6139
+ /**
6140
+ * <p>Returns details of the Direct Connect gateway attachment with the updated edge locations.</p>
6141
+ * @public
6142
+ */
6143
+ DirectConnectGatewayAttachment?: DirectConnectGatewayAttachment | undefined;
6144
+ }
6035
6145
  /**
6036
6146
  * @public
6037
6147
  */
@@ -10,6 +10,7 @@ import { CreateConnectionCommandInput, CreateConnectionCommandOutput } from "../
10
10
  import { CreateConnectPeerCommandInput, CreateConnectPeerCommandOutput } from "../commands/CreateConnectPeerCommand";
11
11
  import { CreateCoreNetworkCommandInput, CreateCoreNetworkCommandOutput } from "../commands/CreateCoreNetworkCommand";
12
12
  import { CreateDeviceCommandInput, CreateDeviceCommandOutput } from "../commands/CreateDeviceCommand";
13
+ import { CreateDirectConnectGatewayAttachmentCommandInput, CreateDirectConnectGatewayAttachmentCommandOutput } from "../commands/CreateDirectConnectGatewayAttachmentCommand";
13
14
  import { CreateGlobalNetworkCommandInput, CreateGlobalNetworkCommandOutput } from "../commands/CreateGlobalNetworkCommand";
14
15
  import { CreateLinkCommandInput, CreateLinkCommandOutput } from "../commands/CreateLinkCommand";
15
16
  import { CreateSiteCommandInput, CreateSiteCommandOutput } from "../commands/CreateSiteCommand";
@@ -45,6 +46,7 @@ import { GetCoreNetworkCommandInput, GetCoreNetworkCommandOutput } from "../comm
45
46
  import { GetCoreNetworkPolicyCommandInput, GetCoreNetworkPolicyCommandOutput } from "../commands/GetCoreNetworkPolicyCommand";
46
47
  import { GetCustomerGatewayAssociationsCommandInput, GetCustomerGatewayAssociationsCommandOutput } from "../commands/GetCustomerGatewayAssociationsCommand";
47
48
  import { GetDevicesCommandInput, GetDevicesCommandOutput } from "../commands/GetDevicesCommand";
49
+ import { GetDirectConnectGatewayAttachmentCommandInput, GetDirectConnectGatewayAttachmentCommandOutput } from "../commands/GetDirectConnectGatewayAttachmentCommand";
48
50
  import { GetLinkAssociationsCommandInput, GetLinkAssociationsCommandOutput } from "../commands/GetLinkAssociationsCommand";
49
51
  import { GetLinksCommandInput, GetLinksCommandOutput } from "../commands/GetLinksCommand";
50
52
  import { GetNetworkResourceCountsCommandInput, GetNetworkResourceCountsCommandOutput } from "../commands/GetNetworkResourceCountsCommand";
@@ -80,6 +82,7 @@ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../comman
80
82
  import { UpdateConnectionCommandInput, UpdateConnectionCommandOutput } from "../commands/UpdateConnectionCommand";
81
83
  import { UpdateCoreNetworkCommandInput, UpdateCoreNetworkCommandOutput } from "../commands/UpdateCoreNetworkCommand";
82
84
  import { UpdateDeviceCommandInput, UpdateDeviceCommandOutput } from "../commands/UpdateDeviceCommand";
85
+ import { UpdateDirectConnectGatewayAttachmentCommandInput, UpdateDirectConnectGatewayAttachmentCommandOutput } from "../commands/UpdateDirectConnectGatewayAttachmentCommand";
83
86
  import { UpdateGlobalNetworkCommandInput, UpdateGlobalNetworkCommandOutput } from "../commands/UpdateGlobalNetworkCommand";
84
87
  import { UpdateLinkCommandInput, UpdateLinkCommandOutput } from "../commands/UpdateLinkCommand";
85
88
  import { UpdateNetworkResourceMetadataCommandInput, UpdateNetworkResourceMetadataCommandOutput } from "../commands/UpdateNetworkResourceMetadataCommand";
@@ -125,6 +128,10 @@ export declare const se_CreateCoreNetworkCommand: (input: CreateCoreNetworkComma
125
128
  * serializeAws_restJson1CreateDeviceCommand
126
129
  */
127
130
  export declare const se_CreateDeviceCommand: (input: CreateDeviceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
131
+ /**
132
+ * serializeAws_restJson1CreateDirectConnectGatewayAttachmentCommand
133
+ */
134
+ export declare const se_CreateDirectConnectGatewayAttachmentCommand: (input: CreateDirectConnectGatewayAttachmentCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
128
135
  /**
129
136
  * serializeAws_restJson1CreateGlobalNetworkCommand
130
137
  */
@@ -265,6 +272,10 @@ export declare const se_GetCustomerGatewayAssociationsCommand: (input: GetCustom
265
272
  * serializeAws_restJson1GetDevicesCommand
266
273
  */
267
274
  export declare const se_GetDevicesCommand: (input: GetDevicesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
275
+ /**
276
+ * serializeAws_restJson1GetDirectConnectGatewayAttachmentCommand
277
+ */
278
+ export declare const se_GetDirectConnectGatewayAttachmentCommand: (input: GetDirectConnectGatewayAttachmentCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
268
279
  /**
269
280
  * serializeAws_restJson1GetLinkAssociationsCommand
270
281
  */
@@ -405,6 +416,10 @@ export declare const se_UpdateCoreNetworkCommand: (input: UpdateCoreNetworkComma
405
416
  * serializeAws_restJson1UpdateDeviceCommand
406
417
  */
407
418
  export declare const se_UpdateDeviceCommand: (input: UpdateDeviceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
419
+ /**
420
+ * serializeAws_restJson1UpdateDirectConnectGatewayAttachmentCommand
421
+ */
422
+ export declare const se_UpdateDirectConnectGatewayAttachmentCommand: (input: UpdateDirectConnectGatewayAttachmentCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
408
423
  /**
409
424
  * serializeAws_restJson1UpdateGlobalNetworkCommand
410
425
  */
@@ -465,6 +480,10 @@ export declare const de_CreateCoreNetworkCommand: (output: __HttpResponse, conte
465
480
  * deserializeAws_restJson1CreateDeviceCommand
466
481
  */
467
482
  export declare const de_CreateDeviceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateDeviceCommandOutput>;
483
+ /**
484
+ * deserializeAws_restJson1CreateDirectConnectGatewayAttachmentCommand
485
+ */
486
+ export declare const de_CreateDirectConnectGatewayAttachmentCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateDirectConnectGatewayAttachmentCommandOutput>;
468
487
  /**
469
488
  * deserializeAws_restJson1CreateGlobalNetworkCommand
470
489
  */
@@ -605,6 +624,10 @@ export declare const de_GetCustomerGatewayAssociationsCommand: (output: __HttpRe
605
624
  * deserializeAws_restJson1GetDevicesCommand
606
625
  */
607
626
  export declare const de_GetDevicesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetDevicesCommandOutput>;
627
+ /**
628
+ * deserializeAws_restJson1GetDirectConnectGatewayAttachmentCommand
629
+ */
630
+ export declare const de_GetDirectConnectGatewayAttachmentCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetDirectConnectGatewayAttachmentCommandOutput>;
608
631
  /**
609
632
  * deserializeAws_restJson1GetLinkAssociationsCommand
610
633
  */
@@ -745,6 +768,10 @@ export declare const de_UpdateCoreNetworkCommand: (output: __HttpResponse, conte
745
768
  * deserializeAws_restJson1UpdateDeviceCommand
746
769
  */
747
770
  export declare const de_UpdateDeviceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateDeviceCommandOutput>;
771
+ /**
772
+ * deserializeAws_restJson1UpdateDirectConnectGatewayAttachmentCommand
773
+ */
774
+ export declare const de_UpdateDirectConnectGatewayAttachmentCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateDirectConnectGatewayAttachmentCommandOutput>;
748
775
  /**
749
776
  * deserializeAws_restJson1UpdateGlobalNetworkCommand
750
777
  */
@@ -39,6 +39,10 @@ import {
39
39
  CreateDeviceCommandInput,
40
40
  CreateDeviceCommandOutput,
41
41
  } from "./commands/CreateDeviceCommand";
42
+ import {
43
+ CreateDirectConnectGatewayAttachmentCommandInput,
44
+ CreateDirectConnectGatewayAttachmentCommandOutput,
45
+ } from "./commands/CreateDirectConnectGatewayAttachmentCommand";
42
46
  import {
43
47
  CreateGlobalNetworkCommandInput,
44
48
  CreateGlobalNetworkCommandOutput,
@@ -179,6 +183,10 @@ import {
179
183
  GetDevicesCommandInput,
180
184
  GetDevicesCommandOutput,
181
185
  } from "./commands/GetDevicesCommand";
186
+ import {
187
+ GetDirectConnectGatewayAttachmentCommandInput,
188
+ GetDirectConnectGatewayAttachmentCommandOutput,
189
+ } from "./commands/GetDirectConnectGatewayAttachmentCommand";
182
190
  import {
183
191
  GetLinkAssociationsCommandInput,
184
192
  GetLinkAssociationsCommandOutput,
@@ -319,6 +327,10 @@ import {
319
327
  UpdateDeviceCommandInput,
320
328
  UpdateDeviceCommandOutput,
321
329
  } from "./commands/UpdateDeviceCommand";
330
+ import {
331
+ UpdateDirectConnectGatewayAttachmentCommandInput,
332
+ UpdateDirectConnectGatewayAttachmentCommandOutput,
333
+ } from "./commands/UpdateDirectConnectGatewayAttachmentCommand";
322
334
  import {
323
335
  UpdateGlobalNetworkCommandInput,
324
336
  UpdateGlobalNetworkCommandOutput,
@@ -477,6 +489,25 @@ export interface NetworkManager {
477
489
  options: __HttpHandlerOptions,
478
490
  cb: (err: any, data?: CreateDeviceCommandOutput) => void
479
491
  ): void;
492
+ createDirectConnectGatewayAttachment(
493
+ args: CreateDirectConnectGatewayAttachmentCommandInput,
494
+ options?: __HttpHandlerOptions
495
+ ): Promise<CreateDirectConnectGatewayAttachmentCommandOutput>;
496
+ createDirectConnectGatewayAttachment(
497
+ args: CreateDirectConnectGatewayAttachmentCommandInput,
498
+ cb: (
499
+ err: any,
500
+ data?: CreateDirectConnectGatewayAttachmentCommandOutput
501
+ ) => void
502
+ ): void;
503
+ createDirectConnectGatewayAttachment(
504
+ args: CreateDirectConnectGatewayAttachmentCommandInput,
505
+ options: __HttpHandlerOptions,
506
+ cb: (
507
+ err: any,
508
+ data?: CreateDirectConnectGatewayAttachmentCommandOutput
509
+ ) => void
510
+ ): void;
480
511
  createGlobalNetwork(): Promise<CreateGlobalNetworkCommandOutput>;
481
512
  createGlobalNetwork(
482
513
  args: CreateGlobalNetworkCommandInput,
@@ -946,6 +977,25 @@ export interface NetworkManager {
946
977
  options: __HttpHandlerOptions,
947
978
  cb: (err: any, data?: GetDevicesCommandOutput) => void
948
979
  ): void;
980
+ getDirectConnectGatewayAttachment(
981
+ args: GetDirectConnectGatewayAttachmentCommandInput,
982
+ options?: __HttpHandlerOptions
983
+ ): Promise<GetDirectConnectGatewayAttachmentCommandOutput>;
984
+ getDirectConnectGatewayAttachment(
985
+ args: GetDirectConnectGatewayAttachmentCommandInput,
986
+ cb: (
987
+ err: any,
988
+ data?: GetDirectConnectGatewayAttachmentCommandOutput
989
+ ) => void
990
+ ): void;
991
+ getDirectConnectGatewayAttachment(
992
+ args: GetDirectConnectGatewayAttachmentCommandInput,
993
+ options: __HttpHandlerOptions,
994
+ cb: (
995
+ err: any,
996
+ data?: GetDirectConnectGatewayAttachmentCommandOutput
997
+ ) => void
998
+ ): void;
949
999
  getLinkAssociations(
950
1000
  args: GetLinkAssociationsCommandInput,
951
1001
  options?: __HttpHandlerOptions
@@ -1430,6 +1480,25 @@ export interface NetworkManager {
1430
1480
  options: __HttpHandlerOptions,
1431
1481
  cb: (err: any, data?: UpdateDeviceCommandOutput) => void
1432
1482
  ): void;
1483
+ updateDirectConnectGatewayAttachment(
1484
+ args: UpdateDirectConnectGatewayAttachmentCommandInput,
1485
+ options?: __HttpHandlerOptions
1486
+ ): Promise<UpdateDirectConnectGatewayAttachmentCommandOutput>;
1487
+ updateDirectConnectGatewayAttachment(
1488
+ args: UpdateDirectConnectGatewayAttachmentCommandInput,
1489
+ cb: (
1490
+ err: any,
1491
+ data?: UpdateDirectConnectGatewayAttachmentCommandOutput
1492
+ ) => void
1493
+ ): void;
1494
+ updateDirectConnectGatewayAttachment(
1495
+ args: UpdateDirectConnectGatewayAttachmentCommandInput,
1496
+ options: __HttpHandlerOptions,
1497
+ cb: (
1498
+ err: any,
1499
+ data?: UpdateDirectConnectGatewayAttachmentCommandOutput
1500
+ ) => void
1501
+ ): void;
1433
1502
  updateGlobalNetwork(
1434
1503
  args: UpdateGlobalNetworkCommandInput,
1435
1504
  options?: __HttpHandlerOptions