@aws-sdk/client-networkmanager 3.699.0 → 3.709.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. package/README.md +24 -0
  2. package/dist-cjs/index.js +152 -4
  3. package/dist-es/NetworkManager.js +6 -0
  4. package/dist-es/commands/CreateDirectConnectGatewayAttachmentCommand.js +22 -0
  5. package/dist-es/commands/GetDirectConnectGatewayAttachmentCommand.js +22 -0
  6. package/dist-es/commands/UpdateDirectConnectGatewayAttachmentCommand.js +22 -0
  7. package/dist-es/commands/index.js +3 -0
  8. package/dist-es/models/models_0.js +4 -0
  9. package/dist-es/protocols/Aws_restJson1.js +93 -4
  10. package/dist-types/NetworkManager.d.ts +21 -0
  11. package/dist-types/NetworkManagerClient.d.ts +5 -2
  12. package/dist-types/commands/AcceptAttachmentCommand.d.ts +5 -2
  13. package/dist-types/commands/CreateConnectAttachmentCommand.d.ts +5 -2
  14. package/dist-types/commands/CreateDirectConnectGatewayAttachmentCommand.d.ts +155 -0
  15. package/dist-types/commands/CreateSiteToSiteVpnAttachmentCommand.d.ts +5 -2
  16. package/dist-types/commands/CreateTransitGatewayRouteTableAttachmentCommand.d.ts +5 -2
  17. package/dist-types/commands/CreateVpcAttachmentCommand.d.ts +5 -2
  18. package/dist-types/commands/DeleteAttachmentCommand.d.ts +5 -2
  19. package/dist-types/commands/GetConnectAttachmentCommand.d.ts +5 -2
  20. package/dist-types/commands/GetDirectConnectGatewayAttachmentCommand.d.ts +140 -0
  21. package/dist-types/commands/GetSiteToSiteVpnAttachmentCommand.d.ts +5 -2
  22. package/dist-types/commands/GetTransitGatewayRouteTableAttachmentCommand.d.ts +5 -2
  23. package/dist-types/commands/GetVpcAttachmentCommand.d.ts +5 -2
  24. package/dist-types/commands/ListAttachmentsCommand.d.ts +6 -3
  25. package/dist-types/commands/RejectAttachmentCommand.d.ts +5 -2
  26. package/dist-types/commands/UpdateDirectConnectGatewayAttachmentCommand.d.ts +147 -0
  27. package/dist-types/commands/UpdateVpcAttachmentCommand.d.ts +5 -2
  28. package/dist-types/commands/index.d.ts +3 -0
  29. package/dist-types/models/models_0.d.ts +116 -6
  30. package/dist-types/protocols/Aws_restJson1.d.ts +27 -0
  31. package/dist-types/ts3.4/NetworkManager.d.ts +69 -0
  32. package/dist-types/ts3.4/NetworkManagerClient.d.ts +18 -0
  33. package/dist-types/ts3.4/commands/CreateDirectConnectGatewayAttachmentCommand.d.ts +51 -0
  34. package/dist-types/ts3.4/commands/GetDirectConnectGatewayAttachmentCommand.d.ts +51 -0
  35. package/dist-types/ts3.4/commands/UpdateDirectConnectGatewayAttachmentCommand.d.ts +51 -0
  36. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  37. package/dist-types/ts3.4/models/models_0.d.ts +37 -5
  38. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +36 -0
  39. package/package.json +35 -35
@@ -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",
@@ -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";