@aws-sdk/client-networkmanager 3.935.0 → 3.937.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 (70) hide show
  1. package/README.md +56 -0
  2. package/dist-cjs/index.js +527 -31
  3. package/dist-es/NetworkManager.js +14 -0
  4. package/dist-es/commands/CreateCoreNetworkPrefixListAssociationCommand.js +16 -0
  5. package/dist-es/commands/DeleteCoreNetworkPrefixListAssociationCommand.js +16 -0
  6. package/dist-es/commands/ListAttachmentRoutingPolicyAssociationsCommand.js +16 -0
  7. package/dist-es/commands/ListCoreNetworkPrefixListAssociationsCommand.js +16 -0
  8. package/dist-es/commands/ListCoreNetworkRoutingInformationCommand.js +16 -0
  9. package/dist-es/commands/PutAttachmentRoutingPolicyLabelCommand.js +16 -0
  10. package/dist-es/commands/RemoveAttachmentRoutingPolicyLabelCommand.js +16 -0
  11. package/dist-es/commands/index.js +7 -0
  12. package/dist-es/models/enums.js +10 -0
  13. package/dist-es/pagination/ListAttachmentRoutingPolicyAssociationsPaginator.js +4 -0
  14. package/dist-es/pagination/ListCoreNetworkPrefixListAssociationsPaginator.js +4 -0
  15. package/dist-es/pagination/ListCoreNetworkRoutingInformationPaginator.js +4 -0
  16. package/dist-es/pagination/index.js +3 -0
  17. package/dist-es/schemas/schemas_0.js +409 -31
  18. package/dist-types/NetworkManager.d.ts +49 -0
  19. package/dist-types/NetworkManagerClient.d.ts +9 -2
  20. package/dist-types/commands/AcceptAttachmentCommand.d.ts +1 -1
  21. package/dist-types/commands/CreateConnectAttachmentCommand.d.ts +2 -1
  22. package/dist-types/commands/CreateCoreNetworkPrefixListAssociationCommand.d.ts +101 -0
  23. package/dist-types/commands/CreateDirectConnectGatewayAttachmentCommand.d.ts +2 -1
  24. package/dist-types/commands/CreateSiteToSiteVpnAttachmentCommand.d.ts +2 -1
  25. package/dist-types/commands/CreateTransitGatewayRouteTableAttachmentCommand.d.ts +2 -1
  26. package/dist-types/commands/CreateVpcAttachmentCommand.d.ts +2 -1
  27. package/dist-types/commands/DeleteAttachmentCommand.d.ts +1 -1
  28. package/dist-types/commands/DeleteCoreNetworkPrefixListAssociationCommand.d.ts +98 -0
  29. package/dist-types/commands/GetConnectAttachmentCommand.d.ts +1 -1
  30. package/dist-types/commands/GetCoreNetworkChangeEventsCommand.d.ts +13 -1
  31. package/dist-types/commands/GetCoreNetworkChangeSetCommand.d.ts +30 -4
  32. package/dist-types/commands/GetDirectConnectGatewayAttachmentCommand.d.ts +1 -1
  33. package/dist-types/commands/GetSiteToSiteVpnAttachmentCommand.d.ts +1 -1
  34. package/dist-types/commands/GetTransitGatewayRouteTableAttachmentCommand.d.ts +1 -1
  35. package/dist-types/commands/GetVpcAttachmentCommand.d.ts +1 -1
  36. package/dist-types/commands/ListAttachmentRoutingPolicyAssociationsCommand.d.ts +104 -0
  37. package/dist-types/commands/ListAttachmentsCommand.d.ts +1 -1
  38. package/dist-types/commands/ListCoreNetworkPrefixListAssociationsCommand.d.ts +99 -0
  39. package/dist-types/commands/ListCoreNetworkRoutingInformationCommand.d.ts +131 -0
  40. package/dist-types/commands/PutAttachmentRoutingPolicyLabelCommand.d.ts +101 -0
  41. package/dist-types/commands/RejectAttachmentCommand.d.ts +1 -1
  42. package/dist-types/commands/RemoveAttachmentRoutingPolicyLabelCommand.d.ts +99 -0
  43. package/dist-types/commands/UpdateDirectConnectGatewayAttachmentCommand.d.ts +1 -1
  44. package/dist-types/commands/UpdateVpcAttachmentCommand.d.ts +1 -1
  45. package/dist-types/commands/index.d.ts +7 -0
  46. package/dist-types/models/enums.d.ts +18 -0
  47. package/dist-types/models/models_0.d.ts +506 -1
  48. package/dist-types/pagination/ListAttachmentRoutingPolicyAssociationsPaginator.d.ts +7 -0
  49. package/dist-types/pagination/ListCoreNetworkPrefixListAssociationsPaginator.d.ts +7 -0
  50. package/dist-types/pagination/ListCoreNetworkRoutingInformationPaginator.d.ts +7 -0
  51. package/dist-types/pagination/index.d.ts +3 -0
  52. package/dist-types/schemas/schemas_0.d.ts +30 -0
  53. package/dist-types/ts3.4/NetworkManager.d.ts +155 -0
  54. package/dist-types/ts3.4/NetworkManagerClient.d.ts +42 -0
  55. package/dist-types/ts3.4/commands/CreateCoreNetworkPrefixListAssociationCommand.d.ts +51 -0
  56. package/dist-types/ts3.4/commands/DeleteCoreNetworkPrefixListAssociationCommand.d.ts +51 -0
  57. package/dist-types/ts3.4/commands/ListAttachmentRoutingPolicyAssociationsCommand.d.ts +51 -0
  58. package/dist-types/ts3.4/commands/ListCoreNetworkPrefixListAssociationsCommand.d.ts +51 -0
  59. package/dist-types/ts3.4/commands/ListCoreNetworkRoutingInformationCommand.d.ts +51 -0
  60. package/dist-types/ts3.4/commands/PutAttachmentRoutingPolicyLabelCommand.d.ts +51 -0
  61. package/dist-types/ts3.4/commands/RemoveAttachmentRoutingPolicyLabelCommand.d.ts +51 -0
  62. package/dist-types/ts3.4/commands/index.d.ts +7 -0
  63. package/dist-types/ts3.4/models/enums.d.ts +12 -0
  64. package/dist-types/ts3.4/models/models_0.d.ts +126 -0
  65. package/dist-types/ts3.4/pagination/ListAttachmentRoutingPolicyAssociationsPaginator.d.ts +11 -0
  66. package/dist-types/ts3.4/pagination/ListCoreNetworkPrefixListAssociationsPaginator.d.ts +11 -0
  67. package/dist-types/ts3.4/pagination/ListCoreNetworkRoutingInformationPaginator.d.ts +11 -0
  68. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  69. package/dist-types/ts3.4/schemas/schemas_0.d.ts +30 -0
  70. package/package.json +12 -12
@@ -47,7 +47,7 @@ declare const GetCoreNetworkChangeSetCommand_base: {
47
47
  * // { // GetCoreNetworkChangeSetResponse
48
48
  * // CoreNetworkChanges: [ // CoreNetworkChangeList
49
49
  * // { // CoreNetworkChange
50
- * // Type: "CORE_NETWORK_SEGMENT" || "NETWORK_FUNCTION_GROUP" || "CORE_NETWORK_EDGE" || "ATTACHMENT_MAPPING" || "ATTACHMENT_ROUTE_PROPAGATION" || "ATTACHMENT_ROUTE_STATIC" || "CORE_NETWORK_CONFIGURATION" || "SEGMENTS_CONFIGURATION" || "SEGMENT_ACTIONS_CONFIGURATION" || "ATTACHMENT_POLICIES_CONFIGURATION",
50
+ * // Type: "CORE_NETWORK_SEGMENT" || "NETWORK_FUNCTION_GROUP" || "CORE_NETWORK_EDGE" || "ATTACHMENT_MAPPING" || "ATTACHMENT_ROUTE_PROPAGATION" || "ATTACHMENT_ROUTE_STATIC" || "ROUTING_POLICY" || "ROUTING_POLICY_SEGMENT_ASSOCIATION" || "ROUTING_POLICY_EDGE_ASSOCIATION" || "ROUTING_POLICY_ATTACHMENT_ASSOCIATION" || "CORE_NETWORK_CONFIGURATION" || "SEGMENTS_CONFIGURATION" || "SEGMENT_ACTIONS_CONFIGURATION" || "ATTACHMENT_POLICIES_CONFIGURATION",
51
51
  * // Action: "ADD" || "MODIFY" || "REMOVE",
52
52
  * // Identifier: "STRING_VALUE",
53
53
  * // PreviousValues: { // CoreNetworkChangeValues
@@ -96,6 +96,22 @@ declare const GetCoreNetworkChangeSetCommand_base: {
96
96
  * // VpnEcmpSupport: true || false,
97
97
  * // DnsSupport: true || false,
98
98
  * // SecurityGroupReferencingSupport: true || false,
99
+ * // RoutingPolicyDirection: "inbound" || "outbound",
100
+ * // RoutingPolicy: "STRING_VALUE",
101
+ * // PeerEdgeLocations: [
102
+ * // "STRING_VALUE",
103
+ * // ],
104
+ * // AttachmentId: "STRING_VALUE",
105
+ * // RoutingPolicyAssociationDetails: [ // RoutingPolicyAssociationDetailsList
106
+ * // { // RoutingPolicyAssociationDetail
107
+ * // RoutingPolicyNames: [
108
+ * // "STRING_VALUE",
109
+ * // ],
110
+ * // SharedSegments: [
111
+ * // "STRING_VALUE",
112
+ * // ],
113
+ * // },
114
+ * // ],
99
115
  * // },
100
116
  * // NewValues: {
101
117
  * // SegmentName: "STRING_VALUE",
@@ -109,9 +125,7 @@ declare const GetCoreNetworkChangeSetCommand_base: {
109
125
  * // InsideCidrBlocks: [
110
126
  * // "STRING_VALUE",
111
127
  * // ],
112
- * // SharedSegments: [
113
- * // "STRING_VALUE",
114
- * // ],
128
+ * // SharedSegments: "<ConstrainedStringList>",
115
129
  * // ServiceInsertionActions: [
116
130
  * // {
117
131
  * // Action: "send-via" || "send-to",
@@ -143,6 +157,18 @@ declare const GetCoreNetworkChangeSetCommand_base: {
143
157
  * // VpnEcmpSupport: true || false,
144
158
  * // DnsSupport: true || false,
145
159
  * // SecurityGroupReferencingSupport: true || false,
160
+ * // RoutingPolicyDirection: "inbound" || "outbound",
161
+ * // RoutingPolicy: "STRING_VALUE",
162
+ * // PeerEdgeLocations: [
163
+ * // "STRING_VALUE",
164
+ * // ],
165
+ * // AttachmentId: "STRING_VALUE",
166
+ * // RoutingPolicyAssociationDetails: [
167
+ * // {
168
+ * // RoutingPolicyNames: "<ConstrainedStringList>",
169
+ * // SharedSegments: "<ConstrainedStringList>",
170
+ * // },
171
+ * // ],
146
172
  * // },
147
173
  * // IdentifierPath: "STRING_VALUE",
148
174
  * // },
@@ -88,7 +88,7 @@ declare const GetDirectConnectGatewayAttachmentCommand_base: {
88
88
  * // UpdatedAt: new Date("TIMESTAMP"),
89
89
  * // LastModificationErrors: [ // AttachmentErrorList
90
90
  * // { // 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" || "DIRECT_CONNECT_GATEWAY_NOT_FOUND" || "DIRECT_CONNECT_GATEWAY_EXISTING_ATTACHMENTS" || "DIRECT_CONNECT_GATEWAY_NO_PRIVATE_VIF",
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" || "DIRECT_CONNECT_GATEWAY_NOT_FOUND" || "DIRECT_CONNECT_GATEWAY_EXISTING_ATTACHMENTS" || "DIRECT_CONNECT_GATEWAY_NO_PRIVATE_VIF" || "VPN_EXISTING_ASSOCIATIONS" || "VPC_UNSUPPORTED_FEATURES",
92
92
  * // Message: "STRING_VALUE",
93
93
  * // ResourceArn: "STRING_VALUE",
94
94
  * // RequestId: "STRING_VALUE",
@@ -88,7 +88,7 @@ declare const GetSiteToSiteVpnAttachmentCommand_base: {
88
88
  * // UpdatedAt: new Date("TIMESTAMP"),
89
89
  * // LastModificationErrors: [ // AttachmentErrorList
90
90
  * // { // 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" || "DIRECT_CONNECT_GATEWAY_NOT_FOUND" || "DIRECT_CONNECT_GATEWAY_EXISTING_ATTACHMENTS" || "DIRECT_CONNECT_GATEWAY_NO_PRIVATE_VIF",
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" || "DIRECT_CONNECT_GATEWAY_NOT_FOUND" || "DIRECT_CONNECT_GATEWAY_EXISTING_ATTACHMENTS" || "DIRECT_CONNECT_GATEWAY_NO_PRIVATE_VIF" || "VPN_EXISTING_ASSOCIATIONS" || "VPC_UNSUPPORTED_FEATURES",
92
92
  * // Message: "STRING_VALUE",
93
93
  * // ResourceArn: "STRING_VALUE",
94
94
  * // RequestId: "STRING_VALUE",
@@ -88,7 +88,7 @@ declare const GetTransitGatewayRouteTableAttachmentCommand_base: {
88
88
  * // UpdatedAt: new Date("TIMESTAMP"),
89
89
  * // LastModificationErrors: [ // AttachmentErrorList
90
90
  * // { // 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" || "DIRECT_CONNECT_GATEWAY_NOT_FOUND" || "DIRECT_CONNECT_GATEWAY_EXISTING_ATTACHMENTS" || "DIRECT_CONNECT_GATEWAY_NO_PRIVATE_VIF",
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" || "DIRECT_CONNECT_GATEWAY_NOT_FOUND" || "DIRECT_CONNECT_GATEWAY_EXISTING_ATTACHMENTS" || "DIRECT_CONNECT_GATEWAY_NO_PRIVATE_VIF" || "VPN_EXISTING_ASSOCIATIONS" || "VPC_UNSUPPORTED_FEATURES",
92
92
  * // Message: "STRING_VALUE",
93
93
  * // ResourceArn: "STRING_VALUE",
94
94
  * // RequestId: "STRING_VALUE",
@@ -88,7 +88,7 @@ declare const GetVpcAttachmentCommand_base: {
88
88
  * // UpdatedAt: new Date("TIMESTAMP"),
89
89
  * // LastModificationErrors: [ // AttachmentErrorList
90
90
  * // { // 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" || "DIRECT_CONNECT_GATEWAY_NOT_FOUND" || "DIRECT_CONNECT_GATEWAY_EXISTING_ATTACHMENTS" || "DIRECT_CONNECT_GATEWAY_NO_PRIVATE_VIF",
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" || "DIRECT_CONNECT_GATEWAY_NOT_FOUND" || "DIRECT_CONNECT_GATEWAY_EXISTING_ATTACHMENTS" || "DIRECT_CONNECT_GATEWAY_NO_PRIVATE_VIF" || "VPN_EXISTING_ASSOCIATIONS" || "VPC_UNSUPPORTED_FEATURES",
92
92
  * // Message: "STRING_VALUE",
93
93
  * // ResourceArn: "STRING_VALUE",
94
94
  * // RequestId: "STRING_VALUE",
@@ -0,0 +1,104 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { ListAttachmentRoutingPolicyAssociationsRequest, ListAttachmentRoutingPolicyAssociationsResponse } 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 ListAttachmentRoutingPolicyAssociationsCommand}.
14
+ */
15
+ export interface ListAttachmentRoutingPolicyAssociationsCommandInput extends ListAttachmentRoutingPolicyAssociationsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListAttachmentRoutingPolicyAssociationsCommand}.
21
+ */
22
+ export interface ListAttachmentRoutingPolicyAssociationsCommandOutput extends ListAttachmentRoutingPolicyAssociationsResponse, __MetadataBearer {
23
+ }
24
+ declare const ListAttachmentRoutingPolicyAssociationsCommand_base: {
25
+ new (input: ListAttachmentRoutingPolicyAssociationsCommandInput): import("@smithy/smithy-client").CommandImpl<ListAttachmentRoutingPolicyAssociationsCommandInput, ListAttachmentRoutingPolicyAssociationsCommandOutput, NetworkManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: ListAttachmentRoutingPolicyAssociationsCommandInput): import("@smithy/smithy-client").CommandImpl<ListAttachmentRoutingPolicyAssociationsCommandInput, ListAttachmentRoutingPolicyAssociationsCommandOutput, NetworkManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Lists the routing policy associations for attachments in a core network.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { NetworkManagerClient, ListAttachmentRoutingPolicyAssociationsCommand } from "@aws-sdk/client-networkmanager"; // ES Modules import
35
+ * // const { NetworkManagerClient, ListAttachmentRoutingPolicyAssociationsCommand } = require("@aws-sdk/client-networkmanager"); // CommonJS import
36
+ * // import type { NetworkManagerClientConfig } from "@aws-sdk/client-networkmanager";
37
+ * const config = {}; // type is NetworkManagerClientConfig
38
+ * const client = new NetworkManagerClient(config);
39
+ * const input = { // ListAttachmentRoutingPolicyAssociationsRequest
40
+ * CoreNetworkId: "STRING_VALUE", // required
41
+ * AttachmentId: "STRING_VALUE",
42
+ * MaxResults: Number("int"),
43
+ * NextToken: "STRING_VALUE",
44
+ * };
45
+ * const command = new ListAttachmentRoutingPolicyAssociationsCommand(input);
46
+ * const response = await client.send(command);
47
+ * // { // ListAttachmentRoutingPolicyAssociationsResponse
48
+ * // AttachmentRoutingPolicyAssociations: [ // AttachmentRoutingPolicyAssociationsList
49
+ * // { // AttachmentRoutingPolicyAssociationSummary
50
+ * // AttachmentId: "STRING_VALUE",
51
+ * // PendingRoutingPolicies: [ // ConstrainedStringList
52
+ * // "STRING_VALUE",
53
+ * // ],
54
+ * // AssociatedRoutingPolicies: [
55
+ * // "STRING_VALUE",
56
+ * // ],
57
+ * // RoutingPolicyLabel: "STRING_VALUE",
58
+ * // },
59
+ * // ],
60
+ * // NextToken: "STRING_VALUE",
61
+ * // };
62
+ *
63
+ * ```
64
+ *
65
+ * @param ListAttachmentRoutingPolicyAssociationsCommandInput - {@link ListAttachmentRoutingPolicyAssociationsCommandInput}
66
+ * @returns {@link ListAttachmentRoutingPolicyAssociationsCommandOutput}
67
+ * @see {@link ListAttachmentRoutingPolicyAssociationsCommandInput} for command's `input` shape.
68
+ * @see {@link ListAttachmentRoutingPolicyAssociationsCommandOutput} for command's `response` shape.
69
+ * @see {@link NetworkManagerClientResolvedConfig | config} for NetworkManagerClient's `config` shape.
70
+ *
71
+ * @throws {@link AccessDeniedException} (client fault)
72
+ * <p>You do not have sufficient access to perform this action.</p>
73
+ *
74
+ * @throws {@link InternalServerException} (server fault)
75
+ * <p>The request has failed due to an internal error.</p>
76
+ *
77
+ * @throws {@link ResourceNotFoundException} (client fault)
78
+ * <p>The specified resource could not be found.</p>
79
+ *
80
+ * @throws {@link ThrottlingException} (client fault)
81
+ * <p>The request was denied due to request throttling.</p>
82
+ *
83
+ * @throws {@link ValidationException} (client fault)
84
+ * <p>The input fails to satisfy the constraints.</p>
85
+ *
86
+ * @throws {@link NetworkManagerServiceException}
87
+ * <p>Base exception class for all service exceptions from NetworkManager service.</p>
88
+ *
89
+ *
90
+ * @public
91
+ */
92
+ export declare class ListAttachmentRoutingPolicyAssociationsCommand extends ListAttachmentRoutingPolicyAssociationsCommand_base {
93
+ /** @internal type navigation helper, not in runtime. */
94
+ protected static __types: {
95
+ api: {
96
+ input: ListAttachmentRoutingPolicyAssociationsRequest;
97
+ output: ListAttachmentRoutingPolicyAssociationsResponse;
98
+ };
99
+ sdk: {
100
+ input: ListAttachmentRoutingPolicyAssociationsCommandInput;
101
+ output: ListAttachmentRoutingPolicyAssociationsCommandOutput;
102
+ };
103
+ };
104
+ }
@@ -93,7 +93,7 @@ declare const ListAttachmentsCommand_base: {
93
93
  * // UpdatedAt: new Date("TIMESTAMP"),
94
94
  * // LastModificationErrors: [ // AttachmentErrorList
95
95
  * // { // 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" || "DIRECT_CONNECT_GATEWAY_NOT_FOUND" || "DIRECT_CONNECT_GATEWAY_EXISTING_ATTACHMENTS" || "DIRECT_CONNECT_GATEWAY_NO_PRIVATE_VIF",
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" || "DIRECT_CONNECT_GATEWAY_NOT_FOUND" || "DIRECT_CONNECT_GATEWAY_EXISTING_ATTACHMENTS" || "DIRECT_CONNECT_GATEWAY_NO_PRIVATE_VIF" || "VPN_EXISTING_ASSOCIATIONS" || "VPC_UNSUPPORTED_FEATURES",
97
97
  * // Message: "STRING_VALUE",
98
98
  * // ResourceArn: "STRING_VALUE",
99
99
  * // RequestId: "STRING_VALUE",
@@ -0,0 +1,99 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { ListCoreNetworkPrefixListAssociationsRequest, ListCoreNetworkPrefixListAssociationsResponse } 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 ListCoreNetworkPrefixListAssociationsCommand}.
14
+ */
15
+ export interface ListCoreNetworkPrefixListAssociationsCommandInput extends ListCoreNetworkPrefixListAssociationsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListCoreNetworkPrefixListAssociationsCommand}.
21
+ */
22
+ export interface ListCoreNetworkPrefixListAssociationsCommandOutput extends ListCoreNetworkPrefixListAssociationsResponse, __MetadataBearer {
23
+ }
24
+ declare const ListCoreNetworkPrefixListAssociationsCommand_base: {
25
+ new (input: ListCoreNetworkPrefixListAssociationsCommandInput): import("@smithy/smithy-client").CommandImpl<ListCoreNetworkPrefixListAssociationsCommandInput, ListCoreNetworkPrefixListAssociationsCommandOutput, NetworkManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: ListCoreNetworkPrefixListAssociationsCommandInput): import("@smithy/smithy-client").CommandImpl<ListCoreNetworkPrefixListAssociationsCommandInput, ListCoreNetworkPrefixListAssociationsCommandOutput, NetworkManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Lists the prefix list associations for a core network.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { NetworkManagerClient, ListCoreNetworkPrefixListAssociationsCommand } from "@aws-sdk/client-networkmanager"; // ES Modules import
35
+ * // const { NetworkManagerClient, ListCoreNetworkPrefixListAssociationsCommand } = require("@aws-sdk/client-networkmanager"); // CommonJS import
36
+ * // import type { NetworkManagerClientConfig } from "@aws-sdk/client-networkmanager";
37
+ * const config = {}; // type is NetworkManagerClientConfig
38
+ * const client = new NetworkManagerClient(config);
39
+ * const input = { // ListCoreNetworkPrefixListAssociationsRequest
40
+ * CoreNetworkId: "STRING_VALUE", // required
41
+ * PrefixListArn: "STRING_VALUE",
42
+ * MaxResults: Number("int"),
43
+ * NextToken: "STRING_VALUE",
44
+ * };
45
+ * const command = new ListCoreNetworkPrefixListAssociationsCommand(input);
46
+ * const response = await client.send(command);
47
+ * // { // ListCoreNetworkPrefixListAssociationsResponse
48
+ * // PrefixListAssociations: [ // PrefixListAssociationList
49
+ * // { // PrefixListAssociation
50
+ * // CoreNetworkId: "STRING_VALUE",
51
+ * // PrefixListArn: "STRING_VALUE",
52
+ * // PrefixListAlias: "STRING_VALUE",
53
+ * // },
54
+ * // ],
55
+ * // NextToken: "STRING_VALUE",
56
+ * // };
57
+ *
58
+ * ```
59
+ *
60
+ * @param ListCoreNetworkPrefixListAssociationsCommandInput - {@link ListCoreNetworkPrefixListAssociationsCommandInput}
61
+ * @returns {@link ListCoreNetworkPrefixListAssociationsCommandOutput}
62
+ * @see {@link ListCoreNetworkPrefixListAssociationsCommandInput} for command's `input` shape.
63
+ * @see {@link ListCoreNetworkPrefixListAssociationsCommandOutput} for command's `response` shape.
64
+ * @see {@link NetworkManagerClientResolvedConfig | config} for NetworkManagerClient's `config` shape.
65
+ *
66
+ * @throws {@link AccessDeniedException} (client fault)
67
+ * <p>You do not have sufficient access to perform this action.</p>
68
+ *
69
+ * @throws {@link InternalServerException} (server fault)
70
+ * <p>The request has failed due to an internal error.</p>
71
+ *
72
+ * @throws {@link ResourceNotFoundException} (client fault)
73
+ * <p>The specified resource could not be found.</p>
74
+ *
75
+ * @throws {@link ThrottlingException} (client fault)
76
+ * <p>The request was denied due to request throttling.</p>
77
+ *
78
+ * @throws {@link ValidationException} (client fault)
79
+ * <p>The input fails to satisfy the constraints.</p>
80
+ *
81
+ * @throws {@link NetworkManagerServiceException}
82
+ * <p>Base exception class for all service exceptions from NetworkManager service.</p>
83
+ *
84
+ *
85
+ * @public
86
+ */
87
+ export declare class ListCoreNetworkPrefixListAssociationsCommand extends ListCoreNetworkPrefixListAssociationsCommand_base {
88
+ /** @internal type navigation helper, not in runtime. */
89
+ protected static __types: {
90
+ api: {
91
+ input: ListCoreNetworkPrefixListAssociationsRequest;
92
+ output: ListCoreNetworkPrefixListAssociationsResponse;
93
+ };
94
+ sdk: {
95
+ input: ListCoreNetworkPrefixListAssociationsCommandInput;
96
+ output: ListCoreNetworkPrefixListAssociationsCommandOutput;
97
+ };
98
+ };
99
+ }
@@ -0,0 +1,131 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { ListCoreNetworkRoutingInformationRequest, ListCoreNetworkRoutingInformationResponse } 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 ListCoreNetworkRoutingInformationCommand}.
14
+ */
15
+ export interface ListCoreNetworkRoutingInformationCommandInput extends ListCoreNetworkRoutingInformationRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListCoreNetworkRoutingInformationCommand}.
21
+ */
22
+ export interface ListCoreNetworkRoutingInformationCommandOutput extends ListCoreNetworkRoutingInformationResponse, __MetadataBearer {
23
+ }
24
+ declare const ListCoreNetworkRoutingInformationCommand_base: {
25
+ new (input: ListCoreNetworkRoutingInformationCommandInput): import("@smithy/smithy-client").CommandImpl<ListCoreNetworkRoutingInformationCommandInput, ListCoreNetworkRoutingInformationCommandOutput, NetworkManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: ListCoreNetworkRoutingInformationCommandInput): import("@smithy/smithy-client").CommandImpl<ListCoreNetworkRoutingInformationCommandInput, ListCoreNetworkRoutingInformationCommandOutput, NetworkManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Lists routing information for a core network, including routes and their attributes.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { NetworkManagerClient, ListCoreNetworkRoutingInformationCommand } from "@aws-sdk/client-networkmanager"; // ES Modules import
35
+ * // const { NetworkManagerClient, ListCoreNetworkRoutingInformationCommand } = require("@aws-sdk/client-networkmanager"); // CommonJS import
36
+ * // import type { NetworkManagerClientConfig } from "@aws-sdk/client-networkmanager";
37
+ * const config = {}; // type is NetworkManagerClientConfig
38
+ * const client = new NetworkManagerClient(config);
39
+ * const input = { // ListCoreNetworkRoutingInformationRequest
40
+ * CoreNetworkId: "STRING_VALUE", // required
41
+ * SegmentName: "STRING_VALUE", // required
42
+ * EdgeLocation: "STRING_VALUE", // required
43
+ * NextHopFilters: { // FilterMap
44
+ * "<keys>": [ // FilterValues
45
+ * "STRING_VALUE",
46
+ * ],
47
+ * },
48
+ * LocalPreferenceMatches: [ // ConstrainedStringList
49
+ * "STRING_VALUE",
50
+ * ],
51
+ * ExactAsPathMatches: [
52
+ * "STRING_VALUE",
53
+ * ],
54
+ * MedMatches: [
55
+ * "STRING_VALUE",
56
+ * ],
57
+ * CommunityMatches: [
58
+ * "STRING_VALUE",
59
+ * ],
60
+ * MaxResults: Number("int"),
61
+ * NextToken: "STRING_VALUE",
62
+ * };
63
+ * const command = new ListCoreNetworkRoutingInformationCommand(input);
64
+ * const response = await client.send(command);
65
+ * // { // ListCoreNetworkRoutingInformationResponse
66
+ * // CoreNetworkRoutingInformation: [ // CoreNetworkRoutingInformationList
67
+ * // { // CoreNetworkRoutingInformation
68
+ * // Prefix: "STRING_VALUE",
69
+ * // NextHop: { // RoutingInformationNextHop
70
+ * // IpAddress: "STRING_VALUE",
71
+ * // CoreNetworkAttachmentId: "STRING_VALUE",
72
+ * // ResourceId: "STRING_VALUE",
73
+ * // ResourceType: "STRING_VALUE",
74
+ * // SegmentName: "STRING_VALUE",
75
+ * // EdgeLocation: "STRING_VALUE",
76
+ * // },
77
+ * // LocalPreference: "STRING_VALUE",
78
+ * // Med: "STRING_VALUE",
79
+ * // AsPath: [ // ConstrainedStringList
80
+ * // "STRING_VALUE",
81
+ * // ],
82
+ * // Communities: [
83
+ * // "STRING_VALUE",
84
+ * // ],
85
+ * // },
86
+ * // ],
87
+ * // NextToken: "STRING_VALUE",
88
+ * // };
89
+ *
90
+ * ```
91
+ *
92
+ * @param ListCoreNetworkRoutingInformationCommandInput - {@link ListCoreNetworkRoutingInformationCommandInput}
93
+ * @returns {@link ListCoreNetworkRoutingInformationCommandOutput}
94
+ * @see {@link ListCoreNetworkRoutingInformationCommandInput} for command's `input` shape.
95
+ * @see {@link ListCoreNetworkRoutingInformationCommandOutput} for command's `response` shape.
96
+ * @see {@link NetworkManagerClientResolvedConfig | config} for NetworkManagerClient's `config` shape.
97
+ *
98
+ * @throws {@link AccessDeniedException} (client fault)
99
+ * <p>You do not have sufficient access to perform this action.</p>
100
+ *
101
+ * @throws {@link InternalServerException} (server fault)
102
+ * <p>The request has failed due to an internal error.</p>
103
+ *
104
+ * @throws {@link ResourceNotFoundException} (client fault)
105
+ * <p>The specified resource could not be found.</p>
106
+ *
107
+ * @throws {@link ThrottlingException} (client fault)
108
+ * <p>The request was denied due to request throttling.</p>
109
+ *
110
+ * @throws {@link ValidationException} (client fault)
111
+ * <p>The input fails to satisfy the constraints.</p>
112
+ *
113
+ * @throws {@link NetworkManagerServiceException}
114
+ * <p>Base exception class for all service exceptions from NetworkManager service.</p>
115
+ *
116
+ *
117
+ * @public
118
+ */
119
+ export declare class ListCoreNetworkRoutingInformationCommand extends ListCoreNetworkRoutingInformationCommand_base {
120
+ /** @internal type navigation helper, not in runtime. */
121
+ protected static __types: {
122
+ api: {
123
+ input: ListCoreNetworkRoutingInformationRequest;
124
+ output: ListCoreNetworkRoutingInformationResponse;
125
+ };
126
+ sdk: {
127
+ input: ListCoreNetworkRoutingInformationCommandInput;
128
+ output: ListCoreNetworkRoutingInformationCommandOutput;
129
+ };
130
+ };
131
+ }
@@ -0,0 +1,101 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { PutAttachmentRoutingPolicyLabelRequest, PutAttachmentRoutingPolicyLabelResponse } 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 PutAttachmentRoutingPolicyLabelCommand}.
14
+ */
15
+ export interface PutAttachmentRoutingPolicyLabelCommandInput extends PutAttachmentRoutingPolicyLabelRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link PutAttachmentRoutingPolicyLabelCommand}.
21
+ */
22
+ export interface PutAttachmentRoutingPolicyLabelCommandOutput extends PutAttachmentRoutingPolicyLabelResponse, __MetadataBearer {
23
+ }
24
+ declare const PutAttachmentRoutingPolicyLabelCommand_base: {
25
+ new (input: PutAttachmentRoutingPolicyLabelCommandInput): import("@smithy/smithy-client").CommandImpl<PutAttachmentRoutingPolicyLabelCommandInput, PutAttachmentRoutingPolicyLabelCommandOutput, NetworkManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: PutAttachmentRoutingPolicyLabelCommandInput): import("@smithy/smithy-client").CommandImpl<PutAttachmentRoutingPolicyLabelCommandInput, PutAttachmentRoutingPolicyLabelCommandOutput, NetworkManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Applies a routing policy label to an attachment for traffic routing decisions.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { NetworkManagerClient, PutAttachmentRoutingPolicyLabelCommand } from "@aws-sdk/client-networkmanager"; // ES Modules import
35
+ * // const { NetworkManagerClient, PutAttachmentRoutingPolicyLabelCommand } = require("@aws-sdk/client-networkmanager"); // CommonJS import
36
+ * // import type { NetworkManagerClientConfig } from "@aws-sdk/client-networkmanager";
37
+ * const config = {}; // type is NetworkManagerClientConfig
38
+ * const client = new NetworkManagerClient(config);
39
+ * const input = { // PutAttachmentRoutingPolicyLabelRequest
40
+ * CoreNetworkId: "STRING_VALUE", // required
41
+ * AttachmentId: "STRING_VALUE", // required
42
+ * RoutingPolicyLabel: "STRING_VALUE", // required
43
+ * ClientToken: "STRING_VALUE",
44
+ * };
45
+ * const command = new PutAttachmentRoutingPolicyLabelCommand(input);
46
+ * const response = await client.send(command);
47
+ * // { // PutAttachmentRoutingPolicyLabelResponse
48
+ * // CoreNetworkId: "STRING_VALUE",
49
+ * // AttachmentId: "STRING_VALUE",
50
+ * // RoutingPolicyLabel: "STRING_VALUE",
51
+ * // };
52
+ *
53
+ * ```
54
+ *
55
+ * @param PutAttachmentRoutingPolicyLabelCommandInput - {@link PutAttachmentRoutingPolicyLabelCommandInput}
56
+ * @returns {@link PutAttachmentRoutingPolicyLabelCommandOutput}
57
+ * @see {@link PutAttachmentRoutingPolicyLabelCommandInput} for command's `input` shape.
58
+ * @see {@link PutAttachmentRoutingPolicyLabelCommandOutput} for command's `response` shape.
59
+ * @see {@link NetworkManagerClientResolvedConfig | config} for NetworkManagerClient's `config` shape.
60
+ *
61
+ * @throws {@link AccessDeniedException} (client fault)
62
+ * <p>You do not have sufficient access to perform this action.</p>
63
+ *
64
+ * @throws {@link ConflictException} (client fault)
65
+ * <p>There was a conflict processing the request. Updating or deleting the resource can
66
+ * cause an inconsistent state.</p>
67
+ *
68
+ * @throws {@link InternalServerException} (server fault)
69
+ * <p>The request has failed due to an internal error.</p>
70
+ *
71
+ * @throws {@link ResourceNotFoundException} (client fault)
72
+ * <p>The specified resource could not be found.</p>
73
+ *
74
+ * @throws {@link ServiceQuotaExceededException} (client fault)
75
+ * <p>A service limit was exceeded.</p>
76
+ *
77
+ * @throws {@link ThrottlingException} (client fault)
78
+ * <p>The request was denied due to request throttling.</p>
79
+ *
80
+ * @throws {@link ValidationException} (client fault)
81
+ * <p>The input fails to satisfy the constraints.</p>
82
+ *
83
+ * @throws {@link NetworkManagerServiceException}
84
+ * <p>Base exception class for all service exceptions from NetworkManager service.</p>
85
+ *
86
+ *
87
+ * @public
88
+ */
89
+ export declare class PutAttachmentRoutingPolicyLabelCommand extends PutAttachmentRoutingPolicyLabelCommand_base {
90
+ /** @internal type navigation helper, not in runtime. */
91
+ protected static __types: {
92
+ api: {
93
+ input: PutAttachmentRoutingPolicyLabelRequest;
94
+ output: PutAttachmentRoutingPolicyLabelResponse;
95
+ };
96
+ sdk: {
97
+ input: PutAttachmentRoutingPolicyLabelCommandInput;
98
+ output: PutAttachmentRoutingPolicyLabelCommandOutput;
99
+ };
100
+ };
101
+ }
@@ -87,7 +87,7 @@ declare const RejectAttachmentCommand_base: {
87
87
  * // UpdatedAt: new Date("TIMESTAMP"),
88
88
  * // LastModificationErrors: [ // AttachmentErrorList
89
89
  * // { // AttachmentError
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",
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" || "VPN_EXISTING_ASSOCIATIONS" || "VPC_UNSUPPORTED_FEATURES",
91
91
  * // Message: "STRING_VALUE",
92
92
  * // ResourceArn: "STRING_VALUE",
93
93
  * // RequestId: "STRING_VALUE",