@aws-sdk/client-networkmanager 3.600.0 → 3.606.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 (26) hide show
  1. package/dist-cjs/index.js +35 -0
  2. package/dist-es/models/models_0.js +26 -0
  3. package/dist-es/protocols/Aws_restJson1.js +3 -0
  4. package/dist-types/commands/AcceptAttachmentCommand.d.ts +8 -0
  5. package/dist-types/commands/CreateConnectAttachmentCommand.d.ts +8 -0
  6. package/dist-types/commands/CreateConnectPeerCommand.d.ts +8 -0
  7. package/dist-types/commands/CreateSiteToSiteVpnAttachmentCommand.d.ts +8 -0
  8. package/dist-types/commands/CreateTransitGatewayPeeringCommand.d.ts +11 -0
  9. package/dist-types/commands/CreateTransitGatewayRouteTableAttachmentCommand.d.ts +8 -0
  10. package/dist-types/commands/CreateVpcAttachmentCommand.d.ts +8 -0
  11. package/dist-types/commands/DeleteAttachmentCommand.d.ts +8 -0
  12. package/dist-types/commands/DeleteConnectPeerCommand.d.ts +8 -0
  13. package/dist-types/commands/DeletePeeringCommand.d.ts +11 -0
  14. package/dist-types/commands/GetConnectAttachmentCommand.d.ts +8 -0
  15. package/dist-types/commands/GetConnectPeerCommand.d.ts +8 -0
  16. package/dist-types/commands/GetSiteToSiteVpnAttachmentCommand.d.ts +8 -0
  17. package/dist-types/commands/GetTransitGatewayPeeringCommand.d.ts +11 -0
  18. package/dist-types/commands/GetTransitGatewayRouteTableAttachmentCommand.d.ts +8 -0
  19. package/dist-types/commands/GetVpcAttachmentCommand.d.ts +8 -0
  20. package/dist-types/commands/ListAttachmentsCommand.d.ts +8 -0
  21. package/dist-types/commands/ListPeeringsCommand.d.ts +11 -0
  22. package/dist-types/commands/RejectAttachmentCommand.d.ts +8 -0
  23. package/dist-types/commands/UpdateVpcAttachmentCommand.d.ts +8 -0
  24. package/dist-types/models/models_0.d.ts +160 -0
  25. package/dist-types/ts3.4/models/models_0.d.ts +57 -0
  26. package/package.json +3 -3
package/dist-cjs/index.js CHANGED
@@ -27,6 +27,7 @@ __export(src_exports, {
27
27
  AssociateCustomerGatewayCommand: () => AssociateCustomerGatewayCommand,
28
28
  AssociateLinkCommand: () => AssociateLinkCommand,
29
29
  AssociateTransitGatewayConnectPeerCommand: () => AssociateTransitGatewayConnectPeerCommand,
30
+ AttachmentErrorCode: () => AttachmentErrorCode,
30
31
  AttachmentState: () => AttachmentState,
31
32
  AttachmentType: () => AttachmentType,
32
33
  ChangeAction: () => ChangeAction,
@@ -35,6 +36,7 @@ __export(src_exports, {
35
36
  ChangeType: () => ChangeType,
36
37
  ConflictException: () => ConflictException,
37
38
  ConnectPeerAssociationState: () => ConnectPeerAssociationState,
39
+ ConnectPeerErrorCode: () => ConnectPeerErrorCode,
38
40
  ConnectPeerState: () => ConnectPeerState,
39
41
  ConnectionState: () => ConnectionState,
40
42
  ConnectionStatus: () => ConnectionStatus,
@@ -124,6 +126,7 @@ __export(src_exports, {
124
126
  NetworkManager: () => NetworkManager,
125
127
  NetworkManagerClient: () => NetworkManagerClient,
126
128
  NetworkManagerServiceException: () => NetworkManagerServiceException,
129
+ PeeringErrorCode: () => PeeringErrorCode,
127
130
  PeeringState: () => PeeringState,
128
131
  PeeringType: () => PeeringType,
129
132
  PutCoreNetworkPolicyCommand: () => PutCoreNetworkPolicyCommand,
@@ -371,6 +374,16 @@ var AttachmentType = {
371
374
  TRANSIT_GATEWAY_ROUTE_TABLE: "TRANSIT_GATEWAY_ROUTE_TABLE",
372
375
  VPC: "VPC"
373
376
  };
377
+ var AttachmentErrorCode = {
378
+ MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED: "MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED",
379
+ SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE: "SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE",
380
+ SUBNET_NOT_FOUND: "SUBNET_NOT_FOUND",
381
+ SUBNET_NO_FREE_ADDRESSES: "SUBNET_NO_FREE_ADDRESSES",
382
+ SUBNET_NO_IPV6_CIDRS: "SUBNET_NO_IPV6_CIDRS",
383
+ SUBNET_UNSUPPORTED_AVAILABILITY_ZONE: "SUBNET_UNSUPPORTED_AVAILABILITY_ZONE",
384
+ VPC_NOT_FOUND: "VPC_NOT_FOUND",
385
+ VPN_CONNECTION_NOT_FOUND: "VPN_CONNECTION_NOT_FOUND"
386
+ };
374
387
  var AttachmentState = {
375
388
  AVAILABLE: "AVAILABLE",
376
389
  CREATING: "CREATING",
@@ -600,6 +613,14 @@ var ConnectionType = {
600
613
  BGP: "BGP",
601
614
  IPSEC: "IPSEC"
602
615
  };
616
+ var ConnectPeerErrorCode = {
617
+ EDGE_LOCATION_NO_FREE_IPS: "EDGE_LOCATION_NO_FREE_IPS",
618
+ EDGE_LOCATION_PEER_DUPLICATE: "EDGE_LOCATION_PEER_DUPLICATE",
619
+ INVALID_INSIDE_CIDR_BLOCK: "INVALID_INSIDE_CIDR_BLOCK",
620
+ IP_OUTSIDE_SUBNET_CIDR_RANGE: "IP_OUTSIDE_SUBNET_CIDR_RANGE",
621
+ NO_ASSOCIATED_CIDR_BLOCK: "NO_ASSOCIATED_CIDR_BLOCK",
622
+ SUBNET_NOT_FOUND: "SUBNET_NOT_FOUND"
623
+ };
603
624
  var ConnectPeerState = {
604
625
  AVAILABLE: "AVAILABLE",
605
626
  CREATING: "CREATING",
@@ -667,6 +688,14 @@ var SiteState = {
667
688
  pending: "PENDING",
668
689
  updating: "UPDATING"
669
690
  };
691
+ var PeeringErrorCode = {
692
+ EDGE_LOCATION_PEER_DUPLICATE: "EDGE_LOCATION_PEER_DUPLICATE",
693
+ INTERNAL_ERROR: "INTERNAL_ERROR",
694
+ INVALID_TRANSIT_GATEWAY_STATE: "INVALID_TRANSIT_GATEWAY_STATE",
695
+ MISSING_REQUIRED_PERMISSIONS: "MISSING_PERMISSIONS",
696
+ TRANSIT_GATEWAY_NOT_FOUND: "TRANSIT_GATEWAY_NOT_FOUND",
697
+ TRANSIT_GATEWAY_PEERS_LIMIT_EXCEEDED: "TRANSIT_GATEWAY_PEERS_LIMIT_EXCEEDED"
698
+ };
670
699
  var PeeringType = {
671
700
  TRANSIT_GATEWAY: "TRANSIT_GATEWAY"
672
701
  };
@@ -3374,6 +3403,7 @@ var de_Attachment = /* @__PURE__ */ __name((output, context) => {
3374
3403
  CoreNetworkId: import_smithy_client.expectString,
3375
3404
  CreatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
3376
3405
  EdgeLocation: import_smithy_client.expectString,
3406
+ LastModificationErrors: import_smithy_client._json,
3377
3407
  NetworkFunctionGroupName: import_smithy_client.expectString,
3378
3408
  OwnerAccountId: import_smithy_client.expectString,
3379
3409
  ProposedNetworkFunctionGroupChange: import_smithy_client._json,
@@ -3434,6 +3464,7 @@ var de_ConnectPeer = /* @__PURE__ */ __name((output, context) => {
3434
3464
  CoreNetworkId: import_smithy_client.expectString,
3435
3465
  CreatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
3436
3466
  EdgeLocation: import_smithy_client.expectString,
3467
+ LastModificationErrors: import_smithy_client._json,
3437
3468
  State: import_smithy_client.expectString,
3438
3469
  SubnetArn: import_smithy_client.expectString,
3439
3470
  Tags: import_smithy_client._json
@@ -3622,6 +3653,7 @@ var de_Peering = /* @__PURE__ */ __name((output, context) => {
3622
3653
  CoreNetworkId: import_smithy_client.expectString,
3623
3654
  CreatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
3624
3655
  EdgeLocation: import_smithy_client.expectString,
3656
+ LastModificationErrors: import_smithy_client._json,
3625
3657
  OwnerAccountId: import_smithy_client.expectString,
3626
3658
  PeeringId: import_smithy_client.expectString,
3627
3659
  PeeringType: import_smithy_client.expectString,
@@ -5414,6 +5446,7 @@ var paginateListPeerings = (0, import_core.createPaginator)(NetworkManagerClient
5414
5446
  paginateListCoreNetworks,
5415
5447
  paginateListPeerings,
5416
5448
  AttachmentType,
5449
+ AttachmentErrorCode,
5417
5450
  AttachmentState,
5418
5451
  AccessDeniedException,
5419
5452
  ConflictException,
@@ -5435,6 +5468,7 @@ var paginateListPeerings = (0, import_core.createPaginator)(NetworkManagerClient
5435
5468
  ConnectionState,
5436
5469
  ConnectionStatus,
5437
5470
  ConnectionType,
5471
+ ConnectPeerErrorCode,
5438
5472
  ConnectPeerState,
5439
5473
  CoreNetworkState,
5440
5474
  SegmentActionServiceInsertion,
@@ -5445,6 +5479,7 @@ var paginateListPeerings = (0, import_core.createPaginator)(NetworkManagerClient
5445
5479
  GlobalNetworkState,
5446
5480
  LinkState,
5447
5481
  SiteState,
5482
+ PeeringErrorCode,
5448
5483
  PeeringType,
5449
5484
  PeeringState,
5450
5485
  TransitGatewayRegistrationState,
@@ -6,6 +6,16 @@ export const AttachmentType = {
6
6
  TRANSIT_GATEWAY_ROUTE_TABLE: "TRANSIT_GATEWAY_ROUTE_TABLE",
7
7
  VPC: "VPC",
8
8
  };
9
+ export const AttachmentErrorCode = {
10
+ MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED: "MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED",
11
+ SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE: "SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE",
12
+ SUBNET_NOT_FOUND: "SUBNET_NOT_FOUND",
13
+ SUBNET_NO_FREE_ADDRESSES: "SUBNET_NO_FREE_ADDRESSES",
14
+ SUBNET_NO_IPV6_CIDRS: "SUBNET_NO_IPV6_CIDRS",
15
+ SUBNET_UNSUPPORTED_AVAILABILITY_ZONE: "SUBNET_UNSUPPORTED_AVAILABILITY_ZONE",
16
+ VPC_NOT_FOUND: "VPC_NOT_FOUND",
17
+ VPN_CONNECTION_NOT_FOUND: "VPN_CONNECTION_NOT_FOUND",
18
+ };
9
19
  export const AttachmentState = {
10
20
  AVAILABLE: "AVAILABLE",
11
21
  CREATING: "CREATING",
@@ -200,6 +210,14 @@ export const ConnectionType = {
200
210
  BGP: "BGP",
201
211
  IPSEC: "IPSEC",
202
212
  };
213
+ export const ConnectPeerErrorCode = {
214
+ EDGE_LOCATION_NO_FREE_IPS: "EDGE_LOCATION_NO_FREE_IPS",
215
+ EDGE_LOCATION_PEER_DUPLICATE: "EDGE_LOCATION_PEER_DUPLICATE",
216
+ INVALID_INSIDE_CIDR_BLOCK: "INVALID_INSIDE_CIDR_BLOCK",
217
+ IP_OUTSIDE_SUBNET_CIDR_RANGE: "IP_OUTSIDE_SUBNET_CIDR_RANGE",
218
+ NO_ASSOCIATED_CIDR_BLOCK: "NO_ASSOCIATED_CIDR_BLOCK",
219
+ SUBNET_NOT_FOUND: "SUBNET_NOT_FOUND",
220
+ };
203
221
  export const ConnectPeerState = {
204
222
  AVAILABLE: "AVAILABLE",
205
223
  CREATING: "CREATING",
@@ -262,6 +280,14 @@ export const SiteState = {
262
280
  pending: "PENDING",
263
281
  updating: "UPDATING",
264
282
  };
283
+ export const PeeringErrorCode = {
284
+ EDGE_LOCATION_PEER_DUPLICATE: "EDGE_LOCATION_PEER_DUPLICATE",
285
+ INTERNAL_ERROR: "INTERNAL_ERROR",
286
+ INVALID_TRANSIT_GATEWAY_STATE: "INVALID_TRANSIT_GATEWAY_STATE",
287
+ MISSING_REQUIRED_PERMISSIONS: "MISSING_PERMISSIONS",
288
+ TRANSIT_GATEWAY_NOT_FOUND: "TRANSIT_GATEWAY_NOT_FOUND",
289
+ TRANSIT_GATEWAY_PEERS_LIMIT_EXCEEDED: "TRANSIT_GATEWAY_PEERS_LIMIT_EXCEEDED",
290
+ };
265
291
  export const PeeringType = {
266
292
  TRANSIT_GATEWAY: "TRANSIT_GATEWAY",
267
293
  };
@@ -2532,6 +2532,7 @@ const de_Attachment = (output, context) => {
2532
2532
  CoreNetworkId: __expectString,
2533
2533
  CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
2534
2534
  EdgeLocation: __expectString,
2535
+ LastModificationErrors: _json,
2535
2536
  NetworkFunctionGroupName: __expectString,
2536
2537
  OwnerAccountId: __expectString,
2537
2538
  ProposedNetworkFunctionGroupChange: _json,
@@ -2596,6 +2597,7 @@ const de_ConnectPeer = (output, context) => {
2596
2597
  CoreNetworkId: __expectString,
2597
2598
  CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
2598
2599
  EdgeLocation: __expectString,
2600
+ LastModificationErrors: _json,
2599
2601
  State: __expectString,
2600
2602
  SubnetArn: __expectString,
2601
2603
  Tags: _json,
@@ -2800,6 +2802,7 @@ const de_Peering = (output, context) => {
2800
2802
  CoreNetworkId: __expectString,
2801
2803
  CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
2802
2804
  EdgeLocation: __expectString,
2805
+ LastModificationErrors: _json,
2803
2806
  OwnerAccountId: __expectString,
2804
2807
  PeeringId: __expectString,
2805
2808
  PeeringType: __expectString,
@@ -82,6 +82,14 @@ declare const AcceptAttachmentCommand_base: {
82
82
  * // },
83
83
  * // CreatedAt: new Date("TIMESTAMP"),
84
84
  * // UpdatedAt: new Date("TIMESTAMP"),
85
+ * // LastModificationErrors: [ // AttachmentErrorList
86
+ * // { // AttachmentError
87
+ * // Code: "VPC_NOT_FOUND" || "SUBNET_NOT_FOUND" || "SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE" || "SUBNET_NO_FREE_ADDRESSES" || "SUBNET_UNSUPPORTED_AVAILABILITY_ZONE" || "SUBNET_NO_IPV6_CIDRS" || "VPN_CONNECTION_NOT_FOUND" || "MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED",
88
+ * // Message: "STRING_VALUE",
89
+ * // ResourceArn: "STRING_VALUE",
90
+ * // RequestId: "STRING_VALUE",
91
+ * // },
92
+ * // ],
85
93
  * // },
86
94
  * // };
87
95
  *
@@ -96,6 +96,14 @@ declare const CreateConnectAttachmentCommand_base: {
96
96
  * // },
97
97
  * // CreatedAt: new Date("TIMESTAMP"),
98
98
  * // UpdatedAt: new Date("TIMESTAMP"),
99
+ * // LastModificationErrors: [ // AttachmentErrorList
100
+ * // { // AttachmentError
101
+ * // Code: "VPC_NOT_FOUND" || "SUBNET_NOT_FOUND" || "SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE" || "SUBNET_NO_FREE_ADDRESSES" || "SUBNET_UNSUPPORTED_AVAILABILITY_ZONE" || "SUBNET_NO_IPV6_CIDRS" || "VPN_CONNECTION_NOT_FOUND" || "MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED",
102
+ * // Message: "STRING_VALUE",
103
+ * // ResourceArn: "STRING_VALUE",
104
+ * // RequestId: "STRING_VALUE",
105
+ * // },
106
+ * // ],
99
107
  * // },
100
108
  * // TransportAttachmentId: "STRING_VALUE",
101
109
  * // Options: { // ConnectAttachmentOptions
@@ -87,6 +87,14 @@ declare const CreateConnectPeerCommand_base: {
87
87
  * // },
88
88
  * // ],
89
89
  * // SubnetArn: "STRING_VALUE",
90
+ * // LastModificationErrors: [ // ConnectPeerErrorList
91
+ * // { // ConnectPeerError
92
+ * // Code: "EDGE_LOCATION_NO_FREE_IPS" || "EDGE_LOCATION_PEER_DUPLICATE" || "SUBNET_NOT_FOUND" || "IP_OUTSIDE_SUBNET_CIDR_RANGE" || "INVALID_INSIDE_CIDR_BLOCK" || "NO_ASSOCIATED_CIDR_BLOCK",
93
+ * // Message: "STRING_VALUE",
94
+ * // ResourceArn: "STRING_VALUE",
95
+ * // RequestId: "STRING_VALUE",
96
+ * // },
97
+ * // ],
90
98
  * // },
91
99
  * // };
92
100
  *
@@ -89,6 +89,14 @@ declare const CreateSiteToSiteVpnAttachmentCommand_base: {
89
89
  * // },
90
90
  * // CreatedAt: new Date("TIMESTAMP"),
91
91
  * // UpdatedAt: new Date("TIMESTAMP"),
92
+ * // LastModificationErrors: [ // AttachmentErrorList
93
+ * // { // AttachmentError
94
+ * // Code: "VPC_NOT_FOUND" || "SUBNET_NOT_FOUND" || "SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE" || "SUBNET_NO_FREE_ADDRESSES" || "SUBNET_UNSUPPORTED_AVAILABILITY_ZONE" || "SUBNET_NO_IPV6_CIDRS" || "VPN_CONNECTION_NOT_FOUND" || "MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED",
95
+ * // Message: "STRING_VALUE",
96
+ * // ResourceArn: "STRING_VALUE",
97
+ * // RequestId: "STRING_VALUE",
98
+ * // },
99
+ * // ],
92
100
  * // },
93
101
  * // VpnConnectionArn: "STRING_VALUE",
94
102
  * // },
@@ -65,6 +65,17 @@ declare const CreateTransitGatewayPeeringCommand_base: {
65
65
  * // },
66
66
  * // ],
67
67
  * // CreatedAt: new Date("TIMESTAMP"),
68
+ * // LastModificationErrors: [ // PeeringErrorList
69
+ * // { // PeeringError
70
+ * // Code: "TRANSIT_GATEWAY_NOT_FOUND" || "TRANSIT_GATEWAY_PEERS_LIMIT_EXCEEDED" || "MISSING_PERMISSIONS" || "INTERNAL_ERROR" || "EDGE_LOCATION_PEER_DUPLICATE" || "INVALID_TRANSIT_GATEWAY_STATE",
71
+ * // Message: "STRING_VALUE",
72
+ * // ResourceArn: "STRING_VALUE",
73
+ * // RequestId: "STRING_VALUE",
74
+ * // MissingPermissionsContext: { // PermissionsErrorContext
75
+ * // MissingPermission: "STRING_VALUE",
76
+ * // },
77
+ * // },
78
+ * // ],
68
79
  * // },
69
80
  * // TransitGatewayArn: "STRING_VALUE",
70
81
  * // TransitGatewayPeeringAttachmentId: "STRING_VALUE",
@@ -89,6 +89,14 @@ declare const CreateTransitGatewayRouteTableAttachmentCommand_base: {
89
89
  * // },
90
90
  * // CreatedAt: new Date("TIMESTAMP"),
91
91
  * // UpdatedAt: new Date("TIMESTAMP"),
92
+ * // LastModificationErrors: [ // AttachmentErrorList
93
+ * // { // AttachmentError
94
+ * // Code: "VPC_NOT_FOUND" || "SUBNET_NOT_FOUND" || "SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE" || "SUBNET_NO_FREE_ADDRESSES" || "SUBNET_UNSUPPORTED_AVAILABILITY_ZONE" || "SUBNET_NO_IPV6_CIDRS" || "VPN_CONNECTION_NOT_FOUND" || "MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED",
95
+ * // Message: "STRING_VALUE",
96
+ * // ResourceArn: "STRING_VALUE",
97
+ * // RequestId: "STRING_VALUE",
98
+ * // },
99
+ * // ],
92
100
  * // },
93
101
  * // PeeringId: "STRING_VALUE",
94
102
  * // TransitGatewayRouteTableArn: "STRING_VALUE",
@@ -96,6 +96,14 @@ declare const CreateVpcAttachmentCommand_base: {
96
96
  * // },
97
97
  * // CreatedAt: new Date("TIMESTAMP"),
98
98
  * // UpdatedAt: new Date("TIMESTAMP"),
99
+ * // LastModificationErrors: [ // AttachmentErrorList
100
+ * // { // AttachmentError
101
+ * // Code: "VPC_NOT_FOUND" || "SUBNET_NOT_FOUND" || "SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE" || "SUBNET_NO_FREE_ADDRESSES" || "SUBNET_UNSUPPORTED_AVAILABILITY_ZONE" || "SUBNET_NO_IPV6_CIDRS" || "VPN_CONNECTION_NOT_FOUND" || "MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED",
102
+ * // Message: "STRING_VALUE",
103
+ * // ResourceArn: "STRING_VALUE",
104
+ * // RequestId: "STRING_VALUE",
105
+ * // },
106
+ * // ],
99
107
  * // },
100
108
  * // SubnetArns: [ // SubnetArnList
101
109
  * // "STRING_VALUE",
@@ -80,6 +80,14 @@ declare const DeleteAttachmentCommand_base: {
80
80
  * // },
81
81
  * // CreatedAt: new Date("TIMESTAMP"),
82
82
  * // UpdatedAt: new Date("TIMESTAMP"),
83
+ * // LastModificationErrors: [ // AttachmentErrorList
84
+ * // { // 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",
86
+ * // Message: "STRING_VALUE",
87
+ * // ResourceArn: "STRING_VALUE",
88
+ * // RequestId: "STRING_VALUE",
89
+ * // },
90
+ * // ],
83
91
  * // },
84
92
  * // };
85
93
  *
@@ -70,6 +70,14 @@ declare const DeleteConnectPeerCommand_base: {
70
70
  * // },
71
71
  * // ],
72
72
  * // SubnetArn: "STRING_VALUE",
73
+ * // LastModificationErrors: [ // ConnectPeerErrorList
74
+ * // { // ConnectPeerError
75
+ * // Code: "EDGE_LOCATION_NO_FREE_IPS" || "EDGE_LOCATION_PEER_DUPLICATE" || "SUBNET_NOT_FOUND" || "IP_OUTSIDE_SUBNET_CIDR_RANGE" || "INVALID_INSIDE_CIDR_BLOCK" || "NO_ASSOCIATED_CIDR_BLOCK",
76
+ * // Message: "STRING_VALUE",
77
+ * // ResourceArn: "STRING_VALUE",
78
+ * // RequestId: "STRING_VALUE",
79
+ * // },
80
+ * // ],
73
81
  * // },
74
82
  * // };
75
83
  *
@@ -56,6 +56,17 @@ declare const DeletePeeringCommand_base: {
56
56
  * // },
57
57
  * // ],
58
58
  * // CreatedAt: new Date("TIMESTAMP"),
59
+ * // LastModificationErrors: [ // PeeringErrorList
60
+ * // { // PeeringError
61
+ * // Code: "TRANSIT_GATEWAY_NOT_FOUND" || "TRANSIT_GATEWAY_PEERS_LIMIT_EXCEEDED" || "MISSING_PERMISSIONS" || "INTERNAL_ERROR" || "EDGE_LOCATION_PEER_DUPLICATE" || "INVALID_TRANSIT_GATEWAY_STATE",
62
+ * // Message: "STRING_VALUE",
63
+ * // ResourceArn: "STRING_VALUE",
64
+ * // RequestId: "STRING_VALUE",
65
+ * // MissingPermissionsContext: { // PermissionsErrorContext
66
+ * // MissingPermission: "STRING_VALUE",
67
+ * // },
68
+ * // },
69
+ * // ],
59
70
  * // },
60
71
  * // };
61
72
  *
@@ -81,6 +81,14 @@ declare const GetConnectAttachmentCommand_base: {
81
81
  * // },
82
82
  * // CreatedAt: new Date("TIMESTAMP"),
83
83
  * // UpdatedAt: new Date("TIMESTAMP"),
84
+ * // LastModificationErrors: [ // AttachmentErrorList
85
+ * // { // 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",
87
+ * // Message: "STRING_VALUE",
88
+ * // ResourceArn: "STRING_VALUE",
89
+ * // RequestId: "STRING_VALUE",
90
+ * // },
91
+ * // ],
84
92
  * // },
85
93
  * // TransportAttachmentId: "STRING_VALUE",
86
94
  * // Options: { // ConnectAttachmentOptions
@@ -70,6 +70,14 @@ declare const GetConnectPeerCommand_base: {
70
70
  * // },
71
71
  * // ],
72
72
  * // SubnetArn: "STRING_VALUE",
73
+ * // LastModificationErrors: [ // ConnectPeerErrorList
74
+ * // { // ConnectPeerError
75
+ * // Code: "EDGE_LOCATION_NO_FREE_IPS" || "EDGE_LOCATION_PEER_DUPLICATE" || "SUBNET_NOT_FOUND" || "IP_OUTSIDE_SUBNET_CIDR_RANGE" || "INVALID_INSIDE_CIDR_BLOCK" || "NO_ASSOCIATED_CIDR_BLOCK",
76
+ * // Message: "STRING_VALUE",
77
+ * // ResourceArn: "STRING_VALUE",
78
+ * // RequestId: "STRING_VALUE",
79
+ * // },
80
+ * // ],
73
81
  * // },
74
82
  * // };
75
83
  *
@@ -81,6 +81,14 @@ declare const GetSiteToSiteVpnAttachmentCommand_base: {
81
81
  * // },
82
82
  * // CreatedAt: new Date("TIMESTAMP"),
83
83
  * // UpdatedAt: new Date("TIMESTAMP"),
84
+ * // LastModificationErrors: [ // AttachmentErrorList
85
+ * // { // 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",
87
+ * // Message: "STRING_VALUE",
88
+ * // ResourceArn: "STRING_VALUE",
89
+ * // RequestId: "STRING_VALUE",
90
+ * // },
91
+ * // ],
84
92
  * // },
85
93
  * // VpnConnectionArn: "STRING_VALUE",
86
94
  * // },
@@ -57,6 +57,17 @@ declare const GetTransitGatewayPeeringCommand_base: {
57
57
  * // },
58
58
  * // ],
59
59
  * // CreatedAt: new Date("TIMESTAMP"),
60
+ * // LastModificationErrors: [ // PeeringErrorList
61
+ * // { // PeeringError
62
+ * // Code: "TRANSIT_GATEWAY_NOT_FOUND" || "TRANSIT_GATEWAY_PEERS_LIMIT_EXCEEDED" || "MISSING_PERMISSIONS" || "INTERNAL_ERROR" || "EDGE_LOCATION_PEER_DUPLICATE" || "INVALID_TRANSIT_GATEWAY_STATE",
63
+ * // Message: "STRING_VALUE",
64
+ * // ResourceArn: "STRING_VALUE",
65
+ * // RequestId: "STRING_VALUE",
66
+ * // MissingPermissionsContext: { // PermissionsErrorContext
67
+ * // MissingPermission: "STRING_VALUE",
68
+ * // },
69
+ * // },
70
+ * // ],
60
71
  * // },
61
72
  * // TransitGatewayArn: "STRING_VALUE",
62
73
  * // TransitGatewayPeeringAttachmentId: "STRING_VALUE",
@@ -81,6 +81,14 @@ declare const GetTransitGatewayRouteTableAttachmentCommand_base: {
81
81
  * // },
82
82
  * // CreatedAt: new Date("TIMESTAMP"),
83
83
  * // UpdatedAt: new Date("TIMESTAMP"),
84
+ * // LastModificationErrors: [ // AttachmentErrorList
85
+ * // { // 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",
87
+ * // Message: "STRING_VALUE",
88
+ * // ResourceArn: "STRING_VALUE",
89
+ * // RequestId: "STRING_VALUE",
90
+ * // },
91
+ * // ],
84
92
  * // },
85
93
  * // PeeringId: "STRING_VALUE",
86
94
  * // TransitGatewayRouteTableArn: "STRING_VALUE",
@@ -81,6 +81,14 @@ declare const GetVpcAttachmentCommand_base: {
81
81
  * // },
82
82
  * // CreatedAt: new Date("TIMESTAMP"),
83
83
  * // UpdatedAt: new Date("TIMESTAMP"),
84
+ * // LastModificationErrors: [ // AttachmentErrorList
85
+ * // { // 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",
87
+ * // Message: "STRING_VALUE",
88
+ * // ResourceArn: "STRING_VALUE",
89
+ * // RequestId: "STRING_VALUE",
90
+ * // },
91
+ * // ],
84
92
  * // },
85
93
  * // SubnetArns: [ // SubnetArnList
86
94
  * // "STRING_VALUE",
@@ -86,6 +86,14 @@ declare const ListAttachmentsCommand_base: {
86
86
  * // },
87
87
  * // CreatedAt: new Date("TIMESTAMP"),
88
88
  * // UpdatedAt: new Date("TIMESTAMP"),
89
+ * // LastModificationErrors: [ // AttachmentErrorList
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",
92
+ * // Message: "STRING_VALUE",
93
+ * // ResourceArn: "STRING_VALUE",
94
+ * // RequestId: "STRING_VALUE",
95
+ * // },
96
+ * // ],
89
97
  * // },
90
98
  * // ],
91
99
  * // NextToken: "STRING_VALUE",
@@ -62,6 +62,17 @@ declare const ListPeeringsCommand_base: {
62
62
  * // },
63
63
  * // ],
64
64
  * // CreatedAt: new Date("TIMESTAMP"),
65
+ * // LastModificationErrors: [ // PeeringErrorList
66
+ * // { // PeeringError
67
+ * // Code: "TRANSIT_GATEWAY_NOT_FOUND" || "TRANSIT_GATEWAY_PEERS_LIMIT_EXCEEDED" || "MISSING_PERMISSIONS" || "INTERNAL_ERROR" || "EDGE_LOCATION_PEER_DUPLICATE" || "INVALID_TRANSIT_GATEWAY_STATE",
68
+ * // Message: "STRING_VALUE",
69
+ * // ResourceArn: "STRING_VALUE",
70
+ * // RequestId: "STRING_VALUE",
71
+ * // MissingPermissionsContext: { // PermissionsErrorContext
72
+ * // MissingPermission: "STRING_VALUE",
73
+ * // },
74
+ * // },
75
+ * // ],
65
76
  * // },
66
77
  * // ],
67
78
  * // NextToken: "STRING_VALUE",
@@ -80,6 +80,14 @@ declare const RejectAttachmentCommand_base: {
80
80
  * // },
81
81
  * // CreatedAt: new Date("TIMESTAMP"),
82
82
  * // UpdatedAt: new Date("TIMESTAMP"),
83
+ * // LastModificationErrors: [ // AttachmentErrorList
84
+ * // { // 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",
86
+ * // Message: "STRING_VALUE",
87
+ * // ResourceArn: "STRING_VALUE",
88
+ * // RequestId: "STRING_VALUE",
89
+ * // },
90
+ * // ],
83
91
  * // },
84
92
  * // };
85
93
  *
@@ -91,6 +91,14 @@ declare const UpdateVpcAttachmentCommand_base: {
91
91
  * // },
92
92
  * // CreatedAt: new Date("TIMESTAMP"),
93
93
  * // UpdatedAt: new Date("TIMESTAMP"),
94
+ * // LastModificationErrors: [ // AttachmentErrorList
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",
97
+ * // Message: "STRING_VALUE",
98
+ * // ResourceArn: "STRING_VALUE",
99
+ * // RequestId: "STRING_VALUE",
100
+ * // },
101
+ * // ],
94
102
  * // },
95
103
  * // SubnetArns: [ // SubnetArnList
96
104
  * // "STRING_VALUE",
@@ -24,6 +24,50 @@ export declare const AttachmentType: {
24
24
  * @public
25
25
  */
26
26
  export type AttachmentType = (typeof AttachmentType)[keyof typeof AttachmentType];
27
+ /**
28
+ * @public
29
+ * @enum
30
+ */
31
+ export declare const AttachmentErrorCode: {
32
+ readonly MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED: "MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED";
33
+ readonly SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE: "SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE";
34
+ readonly SUBNET_NOT_FOUND: "SUBNET_NOT_FOUND";
35
+ readonly SUBNET_NO_FREE_ADDRESSES: "SUBNET_NO_FREE_ADDRESSES";
36
+ readonly SUBNET_NO_IPV6_CIDRS: "SUBNET_NO_IPV6_CIDRS";
37
+ readonly SUBNET_UNSUPPORTED_AVAILABILITY_ZONE: "SUBNET_UNSUPPORTED_AVAILABILITY_ZONE";
38
+ readonly VPC_NOT_FOUND: "VPC_NOT_FOUND";
39
+ readonly VPN_CONNECTION_NOT_FOUND: "VPN_CONNECTION_NOT_FOUND";
40
+ };
41
+ /**
42
+ * @public
43
+ */
44
+ export type AttachmentErrorCode = (typeof AttachmentErrorCode)[keyof typeof AttachmentErrorCode];
45
+ /**
46
+ * <p>Describes the error associated with an attachment request.</p>
47
+ * @public
48
+ */
49
+ export interface AttachmentError {
50
+ /**
51
+ * <p>The error code for the attachment request. </p>
52
+ * @public
53
+ */
54
+ Code?: AttachmentErrorCode;
55
+ /**
56
+ * <p>The message associated with the error <code>code</code>.</p>
57
+ * @public
58
+ */
59
+ Message?: string;
60
+ /**
61
+ * <p>The ARN of the requested attachment resource.</p>
62
+ * @public
63
+ */
64
+ ResourceArn?: string;
65
+ /**
66
+ * <p>The ID of the attachment request.</p>
67
+ * @public
68
+ */
69
+ RequestId?: string;
70
+ }
27
71
  /**
28
72
  * <p>Describes a tag.</p>
29
73
  * @public
@@ -188,6 +232,11 @@ export interface Attachment {
188
232
  * @public
189
233
  */
190
234
  UpdatedAt?: Date;
235
+ /**
236
+ * <p>Describes the error associated with the attachment request.</p>
237
+ * @public
238
+ */
239
+ LastModificationErrors?: AttachmentError[];
191
240
  }
192
241
  /**
193
242
  * @public
@@ -1044,6 +1093,48 @@ export interface ConnectPeerConfiguration {
1044
1093
  */
1045
1094
  BgpConfigurations?: ConnectPeerBgpConfiguration[];
1046
1095
  }
1096
+ /**
1097
+ * @public
1098
+ * @enum
1099
+ */
1100
+ export declare const ConnectPeerErrorCode: {
1101
+ readonly EDGE_LOCATION_NO_FREE_IPS: "EDGE_LOCATION_NO_FREE_IPS";
1102
+ readonly EDGE_LOCATION_PEER_DUPLICATE: "EDGE_LOCATION_PEER_DUPLICATE";
1103
+ readonly INVALID_INSIDE_CIDR_BLOCK: "INVALID_INSIDE_CIDR_BLOCK";
1104
+ readonly IP_OUTSIDE_SUBNET_CIDR_RANGE: "IP_OUTSIDE_SUBNET_CIDR_RANGE";
1105
+ readonly NO_ASSOCIATED_CIDR_BLOCK: "NO_ASSOCIATED_CIDR_BLOCK";
1106
+ readonly SUBNET_NOT_FOUND: "SUBNET_NOT_FOUND";
1107
+ };
1108
+ /**
1109
+ * @public
1110
+ */
1111
+ export type ConnectPeerErrorCode = (typeof ConnectPeerErrorCode)[keyof typeof ConnectPeerErrorCode];
1112
+ /**
1113
+ * <p>Describes an error associated with a Connect peer request</p>
1114
+ * @public
1115
+ */
1116
+ export interface ConnectPeerError {
1117
+ /**
1118
+ * <p>The error code for the Connect peer request.</p>
1119
+ * @public
1120
+ */
1121
+ Code?: ConnectPeerErrorCode;
1122
+ /**
1123
+ * <p>The message associated with the error <code>code</code>.</p>
1124
+ * @public
1125
+ */
1126
+ Message?: string;
1127
+ /**
1128
+ * <p>The ARN of the requested Connect peer resource.</p>
1129
+ * @public
1130
+ */
1131
+ ResourceArn?: string;
1132
+ /**
1133
+ * <p>The ID of the Connect peer request.</p>
1134
+ * @public
1135
+ */
1136
+ RequestId?: string;
1137
+ }
1047
1138
  /**
1048
1139
  * @public
1049
1140
  * @enum
@@ -1108,6 +1199,11 @@ export interface ConnectPeer {
1108
1199
  * @public
1109
1200
  */
1110
1201
  SubnetArn?: string;
1202
+ /**
1203
+ * <p>Describes the error associated with the attachment request.</p>
1204
+ * @public
1205
+ */
1206
+ LastModificationErrors?: ConnectPeerError[];
1111
1207
  }
1112
1208
  /**
1113
1209
  * <p>Summary description of a Connect peer.</p>
@@ -2547,6 +2643,65 @@ export interface CreateTransitGatewayPeeringRequest {
2547
2643
  */
2548
2644
  ClientToken?: string;
2549
2645
  }
2646
+ /**
2647
+ * @public
2648
+ * @enum
2649
+ */
2650
+ export declare const PeeringErrorCode: {
2651
+ readonly EDGE_LOCATION_PEER_DUPLICATE: "EDGE_LOCATION_PEER_DUPLICATE";
2652
+ readonly INTERNAL_ERROR: "INTERNAL_ERROR";
2653
+ readonly INVALID_TRANSIT_GATEWAY_STATE: "INVALID_TRANSIT_GATEWAY_STATE";
2654
+ readonly MISSING_REQUIRED_PERMISSIONS: "MISSING_PERMISSIONS";
2655
+ readonly TRANSIT_GATEWAY_NOT_FOUND: "TRANSIT_GATEWAY_NOT_FOUND";
2656
+ readonly TRANSIT_GATEWAY_PEERS_LIMIT_EXCEEDED: "TRANSIT_GATEWAY_PEERS_LIMIT_EXCEEDED";
2657
+ };
2658
+ /**
2659
+ * @public
2660
+ */
2661
+ export type PeeringErrorCode = (typeof PeeringErrorCode)[keyof typeof PeeringErrorCode];
2662
+ /**
2663
+ * <p>Describes additional information about missing permissions. </p>
2664
+ * @public
2665
+ */
2666
+ export interface PermissionsErrorContext {
2667
+ /**
2668
+ * <p>The missing permissions.</p>
2669
+ * @public
2670
+ */
2671
+ MissingPermission?: string;
2672
+ }
2673
+ /**
2674
+ * <p>Describes an error associated with a peering request.</p>
2675
+ * @public
2676
+ */
2677
+ export interface PeeringError {
2678
+ /**
2679
+ * <p>The error code for the peering request.</p>
2680
+ * @public
2681
+ */
2682
+ Code?: PeeringErrorCode;
2683
+ /**
2684
+ * <p>The message associated with the error <code>code</code>.</p>
2685
+ * @public
2686
+ */
2687
+ Message?: string;
2688
+ /**
2689
+ * <p>The ARN of the requested peering resource.</p>
2690
+ * @public
2691
+ */
2692
+ ResourceArn?: string;
2693
+ /**
2694
+ * <p>The ID of the Peering request.</p>
2695
+ * @public
2696
+ */
2697
+ RequestId?: string;
2698
+ /**
2699
+ * <p>Provides additional information about missing permissions for the peering
2700
+ * error.</p>
2701
+ * @public
2702
+ */
2703
+ MissingPermissionsContext?: PermissionsErrorContext;
2704
+ }
2550
2705
  /**
2551
2706
  * @public
2552
2707
  * @enum
@@ -2627,6 +2782,11 @@ export interface Peering {
2627
2782
  * @public
2628
2783
  */
2629
2784
  CreatedAt?: Date;
2785
+ /**
2786
+ * <p>Describes the error associated with the Connect peer request.</p>
2787
+ * @public
2788
+ */
2789
+ LastModificationErrors?: PeeringError[];
2630
2790
  }
2631
2791
  /**
2632
2792
  * <p>Describes a transit gateway peering attachment.</p>
@@ -14,6 +14,24 @@ export declare const AttachmentType: {
14
14
  };
15
15
  export type AttachmentType =
16
16
  (typeof AttachmentType)[keyof typeof AttachmentType];
17
+ export declare const AttachmentErrorCode: {
18
+ readonly MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED: "MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED";
19
+ readonly SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE: "SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE";
20
+ readonly SUBNET_NOT_FOUND: "SUBNET_NOT_FOUND";
21
+ readonly SUBNET_NO_FREE_ADDRESSES: "SUBNET_NO_FREE_ADDRESSES";
22
+ readonly SUBNET_NO_IPV6_CIDRS: "SUBNET_NO_IPV6_CIDRS";
23
+ readonly SUBNET_UNSUPPORTED_AVAILABILITY_ZONE: "SUBNET_UNSUPPORTED_AVAILABILITY_ZONE";
24
+ readonly VPC_NOT_FOUND: "VPC_NOT_FOUND";
25
+ readonly VPN_CONNECTION_NOT_FOUND: "VPN_CONNECTION_NOT_FOUND";
26
+ };
27
+ export type AttachmentErrorCode =
28
+ (typeof AttachmentErrorCode)[keyof typeof AttachmentErrorCode];
29
+ export interface AttachmentError {
30
+ Code?: AttachmentErrorCode;
31
+ Message?: string;
32
+ ResourceArn?: string;
33
+ RequestId?: string;
34
+ }
17
35
  export interface Tag {
18
36
  Key?: string;
19
37
  Value?: string;
@@ -58,6 +76,7 @@ export interface Attachment {
58
76
  ProposedNetworkFunctionGroupChange?: ProposedNetworkFunctionGroupChange;
59
77
  CreatedAt?: Date;
60
78
  UpdatedAt?: Date;
79
+ LastModificationErrors?: AttachmentError[];
61
80
  }
62
81
  export interface AcceptAttachmentResponse {
63
82
  Attachment?: Attachment;
@@ -351,6 +370,22 @@ export interface ConnectPeerConfiguration {
351
370
  Protocol?: TunnelProtocol;
352
371
  BgpConfigurations?: ConnectPeerBgpConfiguration[];
353
372
  }
373
+ export declare const ConnectPeerErrorCode: {
374
+ readonly EDGE_LOCATION_NO_FREE_IPS: "EDGE_LOCATION_NO_FREE_IPS";
375
+ readonly EDGE_LOCATION_PEER_DUPLICATE: "EDGE_LOCATION_PEER_DUPLICATE";
376
+ readonly INVALID_INSIDE_CIDR_BLOCK: "INVALID_INSIDE_CIDR_BLOCK";
377
+ readonly IP_OUTSIDE_SUBNET_CIDR_RANGE: "IP_OUTSIDE_SUBNET_CIDR_RANGE";
378
+ readonly NO_ASSOCIATED_CIDR_BLOCK: "NO_ASSOCIATED_CIDR_BLOCK";
379
+ readonly SUBNET_NOT_FOUND: "SUBNET_NOT_FOUND";
380
+ };
381
+ export type ConnectPeerErrorCode =
382
+ (typeof ConnectPeerErrorCode)[keyof typeof ConnectPeerErrorCode];
383
+ export interface ConnectPeerError {
384
+ Code?: ConnectPeerErrorCode;
385
+ Message?: string;
386
+ ResourceArn?: string;
387
+ RequestId?: string;
388
+ }
354
389
  export declare const ConnectPeerState: {
355
390
  readonly AVAILABLE: "AVAILABLE";
356
391
  readonly CREATING: "CREATING";
@@ -369,6 +404,7 @@ export interface ConnectPeer {
369
404
  Configuration?: ConnectPeerConfiguration;
370
405
  Tags?: Tag[];
371
406
  SubnetArn?: string;
407
+ LastModificationErrors?: ConnectPeerError[];
372
408
  }
373
409
  export interface ConnectPeerSummary {
374
410
  CoreNetworkId?: string;
@@ -730,6 +766,26 @@ export interface CreateTransitGatewayPeeringRequest {
730
766
  Tags?: Tag[];
731
767
  ClientToken?: string;
732
768
  }
769
+ export declare const PeeringErrorCode: {
770
+ readonly EDGE_LOCATION_PEER_DUPLICATE: "EDGE_LOCATION_PEER_DUPLICATE";
771
+ readonly INTERNAL_ERROR: "INTERNAL_ERROR";
772
+ readonly INVALID_TRANSIT_GATEWAY_STATE: "INVALID_TRANSIT_GATEWAY_STATE";
773
+ readonly MISSING_REQUIRED_PERMISSIONS: "MISSING_PERMISSIONS";
774
+ readonly TRANSIT_GATEWAY_NOT_FOUND: "TRANSIT_GATEWAY_NOT_FOUND";
775
+ readonly TRANSIT_GATEWAY_PEERS_LIMIT_EXCEEDED: "TRANSIT_GATEWAY_PEERS_LIMIT_EXCEEDED";
776
+ };
777
+ export type PeeringErrorCode =
778
+ (typeof PeeringErrorCode)[keyof typeof PeeringErrorCode];
779
+ export interface PermissionsErrorContext {
780
+ MissingPermission?: string;
781
+ }
782
+ export interface PeeringError {
783
+ Code?: PeeringErrorCode;
784
+ Message?: string;
785
+ ResourceArn?: string;
786
+ RequestId?: string;
787
+ MissingPermissionsContext?: PermissionsErrorContext;
788
+ }
733
789
  export declare const PeeringType: {
734
790
  readonly TRANSIT_GATEWAY: "TRANSIT_GATEWAY";
735
791
  };
@@ -752,6 +808,7 @@ export interface Peering {
752
808
  ResourceArn?: string;
753
809
  Tags?: Tag[];
754
810
  CreatedAt?: Date;
811
+ LastModificationErrors?: PeeringError[];
755
812
  }
756
813
  export interface TransitGatewayPeering {
757
814
  Peering?: Peering;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-networkmanager",
3
3
  "description": "AWS SDK for JavaScript Networkmanager Client for Node.js, Browser and React Native",
4
- "version": "3.600.0",
4
+ "version": "3.606.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-networkmanager",
@@ -20,8 +20,8 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.600.0",
24
- "@aws-sdk/client-sts": "3.600.0",
23
+ "@aws-sdk/client-sso-oidc": "3.606.0",
24
+ "@aws-sdk/client-sts": "3.606.0",
25
25
  "@aws-sdk/core": "3.598.0",
26
26
  "@aws-sdk/credential-provider-node": "3.600.0",
27
27
  "@aws-sdk/middleware-host-header": "3.598.0",