cdk-lambda-subminute 2.0.285 → 2.0.286

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.
@@ -51,6 +51,14 @@ declare class GlobalAccelerator extends Service {
51
51
  * Create an accelerator. An accelerator includes one or more listeners that process inbound connections and direct traffic to one or more endpoint groups, each of which includes endpoints, such as Network Load Balancers. Global Accelerator is a global service that supports endpoints in multiple Amazon Web Services Regions but you must specify the US West (Oregon) Region to create, update, or otherwise work with accelerators. That is, for example, specify --region us-west-2 on Amazon Web Services CLI commands.
52
52
  */
53
53
  createAccelerator(callback?: (err: AWSError, data: GlobalAccelerator.Types.CreateAcceleratorResponse) => void): Request<GlobalAccelerator.Types.CreateAcceleratorResponse, AWSError>;
54
+ /**
55
+ * Create a cross-account attachment in Global Accelerator. You create a cross-account attachment to specify the principals who have permission to add to accelerators in their own account the resources in your account that you also list in the attachment. A principal can be an Amazon Web Services account number or the Amazon Resource Name (ARN) for an accelerator. For account numbers that are listed as principals, to add a resource listed in the attachment to an accelerator, you must sign in to an account specified as a principal. Then you can add the resources that are listed to any of your accelerators. If an accelerator ARN is listed in the cross-account attachment as a principal, anyone with permission to make updates to the accelerator can add as endpoints resources that are listed in the attachment.
56
+ */
57
+ createCrossAccountAttachment(params: GlobalAccelerator.Types.CreateCrossAccountAttachmentRequest, callback?: (err: AWSError, data: GlobalAccelerator.Types.CreateCrossAccountAttachmentResponse) => void): Request<GlobalAccelerator.Types.CreateCrossAccountAttachmentResponse, AWSError>;
58
+ /**
59
+ * Create a cross-account attachment in Global Accelerator. You create a cross-account attachment to specify the principals who have permission to add to accelerators in their own account the resources in your account that you also list in the attachment. A principal can be an Amazon Web Services account number or the Amazon Resource Name (ARN) for an accelerator. For account numbers that are listed as principals, to add a resource listed in the attachment to an accelerator, you must sign in to an account specified as a principal. Then you can add the resources that are listed to any of your accelerators. If an accelerator ARN is listed in the cross-account attachment as a principal, anyone with permission to make updates to the accelerator can add as endpoints resources that are listed in the attachment.
60
+ */
61
+ createCrossAccountAttachment(callback?: (err: AWSError, data: GlobalAccelerator.Types.CreateCrossAccountAttachmentResponse) => void): Request<GlobalAccelerator.Types.CreateCrossAccountAttachmentResponse, AWSError>;
54
62
  /**
55
63
  * Create a custom routing accelerator. A custom routing accelerator directs traffic to one of possibly thousands of Amazon EC2 instance destinations running in a single or multiple virtual private clouds (VPC) subnet endpoints. Be aware that, by default, all destination EC2 instances in a VPC subnet endpoint cannot receive traffic. To enable all destinations to receive traffic, or to specify individual port mappings that can receive traffic, see the AllowCustomRoutingTraffic operation. Global Accelerator is a global service that supports endpoints in multiple Amazon Web Services Regions but you must specify the US West (Oregon) Region to create, update, or otherwise work with accelerators. That is, for example, specify --region us-west-2 on Amazon Web Services CLI commands.
56
64
  */
@@ -99,6 +107,14 @@ declare class GlobalAccelerator extends Service {
99
107
  * Delete an accelerator. Before you can delete an accelerator, you must disable it and remove all dependent resources (listeners and endpoint groups). To disable the accelerator, update the accelerator to set Enabled to false. When you create an accelerator, by default, Global Accelerator provides you with a set of two static IP addresses. Alternatively, you can bring your own IP address ranges to Global Accelerator and assign IP addresses from those ranges. The IP addresses are assigned to your accelerator for as long as it exists, even if you disable the accelerator and it no longer accepts or routes traffic. However, when you delete an accelerator, you lose the static IP addresses that are assigned to the accelerator, so you can no longer route traffic by using them. As a best practice, ensure that you have permissions in place to avoid inadvertently deleting accelerators. You can use IAM policies with Global Accelerator to limit the users who have permissions to delete an accelerator. For more information, see Identity and access management in the Global Accelerator Developer Guide.
100
108
  */
101
109
  deleteAccelerator(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
110
+ /**
111
+ * Delete a cross-account attachment. When you delete an attachment, Global Accelerator revokes the permission to use the resources in the attachment from all principals in the list of principals. Global Accelerator revokes the permission for specific resources by doing the following: If the principal is an account ID, Global Accelerator reviews every accelerator in the account and removes cross-account endpoints from all accelerators. If the principal is an accelerator, Global Accelerator reviews just that accelerator and removes cross-account endpoints from it. If there are overlapping permissions provided by multiple cross-account attachments, Global Accelerator only removes endpoints if there are no current cross-account attachments that provide access permission. For example, if you delete a cross-account attachment that lists an accelerator as a principal, but another cross-account attachment includes the account ID that owns that accelerator, endpoints will not be removed from the accelerator.
112
+ */
113
+ deleteCrossAccountAttachment(params: GlobalAccelerator.Types.DeleteCrossAccountAttachmentRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
114
+ /**
115
+ * Delete a cross-account attachment. When you delete an attachment, Global Accelerator revokes the permission to use the resources in the attachment from all principals in the list of principals. Global Accelerator revokes the permission for specific resources by doing the following: If the principal is an account ID, Global Accelerator reviews every accelerator in the account and removes cross-account endpoints from all accelerators. If the principal is an accelerator, Global Accelerator reviews just that accelerator and removes cross-account endpoints from it. If there are overlapping permissions provided by multiple cross-account attachments, Global Accelerator only removes endpoints if there are no current cross-account attachments that provide access permission. For example, if you delete a cross-account attachment that lists an accelerator as a principal, but another cross-account attachment includes the account ID that owns that accelerator, endpoints will not be removed from the accelerator.
116
+ */
117
+ deleteCrossAccountAttachment(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
102
118
  /**
103
119
  * Delete a custom routing accelerator. Before you can delete an accelerator, you must disable it and remove all dependent resources (listeners and endpoint groups). To disable the accelerator, update the accelerator to set Enabled to false. When you create a custom routing accelerator, by default, Global Accelerator provides you with a set of two static IP addresses. The IP addresses are assigned to your accelerator for as long as it exists, even if you disable the accelerator and it no longer accepts or routes traffic. However, when you delete an accelerator, you lose the static IP addresses that are assigned to the accelerator, so you can no longer route traffic by using them. As a best practice, ensure that you have permissions in place to avoid inadvertently deleting accelerators. You can use IAM policies with Global Accelerator to limit the users who have permissions to delete an accelerator. For more information, see Identity and access management in the Global Accelerator Developer Guide.
104
120
  */
@@ -171,6 +187,14 @@ declare class GlobalAccelerator extends Service {
171
187
  * Describe the attributes of an accelerator.
172
188
  */
173
189
  describeAcceleratorAttributes(callback?: (err: AWSError, data: GlobalAccelerator.Types.DescribeAcceleratorAttributesResponse) => void): Request<GlobalAccelerator.Types.DescribeAcceleratorAttributesResponse, AWSError>;
190
+ /**
191
+ * Gets configuration information about a cross-account attachment.
192
+ */
193
+ describeCrossAccountAttachment(params: GlobalAccelerator.Types.DescribeCrossAccountAttachmentRequest, callback?: (err: AWSError, data: GlobalAccelerator.Types.DescribeCrossAccountAttachmentResponse) => void): Request<GlobalAccelerator.Types.DescribeCrossAccountAttachmentResponse, AWSError>;
194
+ /**
195
+ * Gets configuration information about a cross-account attachment.
196
+ */
197
+ describeCrossAccountAttachment(callback?: (err: AWSError, data: GlobalAccelerator.Types.DescribeCrossAccountAttachmentResponse) => void): Request<GlobalAccelerator.Types.DescribeCrossAccountAttachmentResponse, AWSError>;
174
198
  /**
175
199
  * Describe a custom routing accelerator.
176
200
  */
@@ -235,6 +259,30 @@ declare class GlobalAccelerator extends Service {
235
259
  * Lists the IP address ranges that were specified in calls to ProvisionByoipCidr, including the current state and a history of state changes.
236
260
  */
237
261
  listByoipCidrs(callback?: (err: AWSError, data: GlobalAccelerator.Types.ListByoipCidrsResponse) => void): Request<GlobalAccelerator.Types.ListByoipCidrsResponse, AWSError>;
262
+ /**
263
+ * List the cross-account attachments that have been created in Global Accelerator.
264
+ */
265
+ listCrossAccountAttachments(params: GlobalAccelerator.Types.ListCrossAccountAttachmentsRequest, callback?: (err: AWSError, data: GlobalAccelerator.Types.ListCrossAccountAttachmentsResponse) => void): Request<GlobalAccelerator.Types.ListCrossAccountAttachmentsResponse, AWSError>;
266
+ /**
267
+ * List the cross-account attachments that have been created in Global Accelerator.
268
+ */
269
+ listCrossAccountAttachments(callback?: (err: AWSError, data: GlobalAccelerator.Types.ListCrossAccountAttachmentsResponse) => void): Request<GlobalAccelerator.Types.ListCrossAccountAttachmentsResponse, AWSError>;
270
+ /**
271
+ * List the accounts that have cross-account endpoints.
272
+ */
273
+ listCrossAccountResourceAccounts(params: GlobalAccelerator.Types.ListCrossAccountResourceAccountsRequest, callback?: (err: AWSError, data: GlobalAccelerator.Types.ListCrossAccountResourceAccountsResponse) => void): Request<GlobalAccelerator.Types.ListCrossAccountResourceAccountsResponse, AWSError>;
274
+ /**
275
+ * List the accounts that have cross-account endpoints.
276
+ */
277
+ listCrossAccountResourceAccounts(callback?: (err: AWSError, data: GlobalAccelerator.Types.ListCrossAccountResourceAccountsResponse) => void): Request<GlobalAccelerator.Types.ListCrossAccountResourceAccountsResponse, AWSError>;
278
+ /**
279
+ * List the cross-account endpoints available to add to an accelerator.
280
+ */
281
+ listCrossAccountResources(params: GlobalAccelerator.Types.ListCrossAccountResourcesRequest, callback?: (err: AWSError, data: GlobalAccelerator.Types.ListCrossAccountResourcesResponse) => void): Request<GlobalAccelerator.Types.ListCrossAccountResourcesResponse, AWSError>;
282
+ /**
283
+ * List the cross-account endpoints available to add to an accelerator.
284
+ */
285
+ listCrossAccountResources(callback?: (err: AWSError, data: GlobalAccelerator.Types.ListCrossAccountResourcesResponse) => void): Request<GlobalAccelerator.Types.ListCrossAccountResourcesResponse, AWSError>;
238
286
  /**
239
287
  * List the custom routing accelerators for an Amazon Web Services account.
240
288
  */
@@ -355,6 +403,14 @@ declare class GlobalAccelerator extends Service {
355
403
  * Update the attributes for an accelerator.
356
404
  */
357
405
  updateAcceleratorAttributes(callback?: (err: AWSError, data: GlobalAccelerator.Types.UpdateAcceleratorAttributesResponse) => void): Request<GlobalAccelerator.Types.UpdateAcceleratorAttributesResponse, AWSError>;
406
+ /**
407
+ * Update a cross-account attachment to add or remove principals or resources. When you update an attachment to remove a principal (account ID or accelerator) or a resource, Global Accelerator revokes the permission for specific resources by doing the following: If the principal is an account ID, Global Accelerator reviews every accelerator in the account and removes cross-account endpoints from all accelerators. If the principal is an accelerator, Global Accelerator reviews just that accelerator and removes cross-account endpoints from it. If there are overlapping permissions provided by multiple cross-account attachments, Global Accelerator only removes endpoints if there are no current cross-account attachments that provide access permission. For example, if you delete a cross-account attachment that lists an accelerator as a principal, but another cross-account attachment includes the account ID that owns that accelerator, endpoints will not be removed from the accelerator.
408
+ */
409
+ updateCrossAccountAttachment(params: GlobalAccelerator.Types.UpdateCrossAccountAttachmentRequest, callback?: (err: AWSError, data: GlobalAccelerator.Types.UpdateCrossAccountAttachmentResponse) => void): Request<GlobalAccelerator.Types.UpdateCrossAccountAttachmentResponse, AWSError>;
410
+ /**
411
+ * Update a cross-account attachment to add or remove principals or resources. When you update an attachment to remove a principal (account ID or accelerator) or a resource, Global Accelerator revokes the permission for specific resources by doing the following: If the principal is an account ID, Global Accelerator reviews every accelerator in the account and removes cross-account endpoints from all accelerators. If the principal is an accelerator, Global Accelerator reviews just that accelerator and removes cross-account endpoints from it. If there are overlapping permissions provided by multiple cross-account attachments, Global Accelerator only removes endpoints if there are no current cross-account attachments that provide access permission. For example, if you delete a cross-account attachment that lists an accelerator as a principal, but another cross-account attachment includes the account ID that owns that accelerator, endpoints will not be removed from the accelerator.
412
+ */
413
+ updateCrossAccountAttachment(callback?: (err: AWSError, data: GlobalAccelerator.Types.UpdateCrossAccountAttachmentResponse) => void): Request<GlobalAccelerator.Types.UpdateCrossAccountAttachmentResponse, AWSError>;
358
414
  /**
359
415
  * Update a custom routing accelerator.
360
416
  */
@@ -552,6 +608,36 @@ declare namespace GlobalAccelerator {
552
608
  */
553
609
  AllowAllTrafficToEndpoint?: GenericBoolean;
554
610
  }
611
+ export interface Attachment {
612
+ /**
613
+ * The Amazon Resource Name (ARN) of the cross-account attachment.
614
+ */
615
+ AttachmentArn?: GenericString;
616
+ /**
617
+ * The name of the cross-account attachment.
618
+ */
619
+ Name?: AttachmentName;
620
+ /**
621
+ * The principals included in the cross-account attachment.
622
+ */
623
+ Principals?: Principals;
624
+ /**
625
+ * The resources included in the cross-account attachment.
626
+ */
627
+ Resources?: Resources;
628
+ /**
629
+ * The date and time that the cross-account attachment was last modified.
630
+ */
631
+ LastModifiedTime?: Timestamp;
632
+ /**
633
+ * The date and time that the cross-account attachment was created.
634
+ */
635
+ CreatedTime?: Timestamp;
636
+ }
637
+ export type AttachmentName = string;
638
+ export type Attachments = Attachment[];
639
+ export type AwsAccountId = string;
640
+ export type AwsAccountIds = AwsAccountId[];
555
641
  export interface ByoipCidr {
556
642
  /**
557
643
  * The address range, in CIDR notation.
@@ -622,6 +708,34 @@ declare namespace GlobalAccelerator {
622
708
  */
623
709
  Accelerator?: Accelerator;
624
710
  }
711
+ export interface CreateCrossAccountAttachmentRequest {
712
+ /**
713
+ * The name of the cross-account attachment.
714
+ */
715
+ Name: AttachmentName;
716
+ /**
717
+ * The principals to list in the cross-account attachment. A principal can be an Amazon Web Services account number or the Amazon Resource Name (ARN) for an accelerator.
718
+ */
719
+ Principals?: Principals;
720
+ /**
721
+ * The Amazon Resource Names (ARNs) for the resources to list in the cross-account attachment. A resource can be any supported Amazon Web Services resource type for Global Accelerator.
722
+ */
723
+ Resources?: Resources;
724
+ /**
725
+ * A unique, case-sensitive identifier that you provide to ensure the idempotency—that is, the uniqueness—of the request.
726
+ */
727
+ IdempotencyToken: IdempotencyToken;
728
+ /**
729
+ * Create tags for cross-account attachment. For more information, see Tagging in Global Accelerator in the Global Accelerator Developer Guide.
730
+ */
731
+ Tags?: Tags;
732
+ }
733
+ export interface CreateCrossAccountAttachmentResponse {
734
+ /**
735
+ * Information about the cross-account attachment.
736
+ */
737
+ CrossAccountAttachment?: Attachment;
738
+ }
625
739
  export interface CreateCustomRoutingAcceleratorRequest {
626
740
  /**
627
741
  * The name of a custom routing accelerator. The name can have a maximum of 64 characters, must contain only alphanumeric characters or hyphens (-), and must not begin or end with a hyphen.
@@ -778,6 +892,17 @@ declare namespace GlobalAccelerator {
778
892
  */
779
893
  Listener?: Listener;
780
894
  }
895
+ export interface CrossAccountResource {
896
+ /**
897
+ * The endpoint ID for the endpoint that is listed in a cross-account attachment and can be added to an accelerator by specified principals.
898
+ */
899
+ EndpointId?: GenericString;
900
+ /**
901
+ * The Amazon Resource Name (ARN) of the cross-account attachment that specifies the endpoints (resources) that can be added to accelerators and principals that have permission to add the endpoints to accelerators.
902
+ */
903
+ AttachmentArn?: GenericString;
904
+ }
905
+ export type CrossAccountResources = CrossAccountResource[];
781
906
  export interface CustomRoutingAccelerator {
782
907
  /**
783
908
  * The Amazon Resource Name (ARN) of the custom routing accelerator.
@@ -868,6 +993,10 @@ declare namespace GlobalAccelerator {
868
993
  * An ID for the endpoint. For custom routing accelerators, this is the virtual private cloud (VPC) subnet ID.
869
994
  */
870
995
  EndpointId?: GenericString;
996
+ /**
997
+ * The Amazon Resource Name (ARN) of the cross-account attachment that specifies the endpoints (resources) that can be added to accelerators and principals that have permission to add the endpoints to accelerators.
998
+ */
999
+ AttachmentArn?: GenericString;
871
1000
  }
872
1001
  export type CustomRoutingEndpointConfigurations = CustomRoutingEndpointConfiguration[];
873
1002
  export interface CustomRoutingEndpointDescription {
@@ -915,6 +1044,12 @@ declare namespace GlobalAccelerator {
915
1044
  */
916
1045
  AcceleratorArn: GenericString;
917
1046
  }
1047
+ export interface DeleteCrossAccountAttachmentRequest {
1048
+ /**
1049
+ * The Amazon Resource Name (ARN) for the cross-account attachment to delete.
1050
+ */
1051
+ AttachmentArn: GenericString;
1052
+ }
918
1053
  export interface DeleteCustomRoutingAcceleratorRequest {
919
1054
  /**
920
1055
  * The Amazon Resource Name (ARN) of the custom routing accelerator to delete.
@@ -1003,6 +1138,18 @@ declare namespace GlobalAccelerator {
1003
1138
  */
1004
1139
  Accelerator?: Accelerator;
1005
1140
  }
1141
+ export interface DescribeCrossAccountAttachmentRequest {
1142
+ /**
1143
+ * The Amazon Resource Name (ARN) for the cross-account attachment to describe.
1144
+ */
1145
+ AttachmentArn: GenericString;
1146
+ }
1147
+ export interface DescribeCrossAccountAttachmentResponse {
1148
+ /**
1149
+ * Information about the cross-account attachment.
1150
+ */
1151
+ CrossAccountAttachment?: Attachment;
1152
+ }
1006
1153
  export interface DescribeCustomRoutingAcceleratorAttributesRequest {
1007
1154
  /**
1008
1155
  * The Amazon Resource Name (ARN) of the custom routing accelerator to describe the attributes for.
@@ -1122,9 +1269,13 @@ declare namespace GlobalAccelerator {
1122
1269
  */
1123
1270
  Weight?: EndpointWeight;
1124
1271
  /**
1125
- * Indicates whether client IP address preservation is enabled for an endpoint. The value is true or false. The default value is true for new accelerators. If the value is set to true, the client's IP address is preserved in the X-Forwarded-For request header as traffic travels to applications on the endpoint fronted by the accelerator. Client IP address preservation is supported, in specific Amazon Web Services Regions, for endpoints that are Application Load Balancers, Amazon EC2 instances, and Network Load Balancers with Security Groups. IMPORTANT: You cannot use client IP address preservation with Network Load Balancers with TLS listeners. For more information, see Preserve client IP addresses in Global Accelerator in the Global Accelerator Developer Guide.
1272
+ * Indicates whether client IP address preservation is enabled for an endpoint. The value is true or false. The default value is true for Application Load Balancer endpoints. If the value is set to true, the client's IP address is preserved in the X-Forwarded-For request header as traffic travels to applications on the endpoint fronted by the accelerator. Client IP address preservation is supported, in specific Amazon Web Services Regions, for endpoints that are Application Load Balancers, Amazon EC2 instances, and Network Load Balancers with security groups. IMPORTANT: You cannot use client IP address preservation with Network Load Balancers with TLS listeners. For more information, see Preserve client IP addresses in Global Accelerator in the Global Accelerator Developer Guide.
1126
1273
  */
1127
1274
  ClientIPPreservationEnabled?: GenericBoolean;
1275
+ /**
1276
+ * The Amazon Resource Name (ARN) of the cross-account attachment that specifies the endpoints (resources) that can be added to accelerators and principals that have permission to add the endpoints to accelerators.
1277
+ */
1278
+ AttachmentArn?: GenericString;
1128
1279
  }
1129
1280
  export type EndpointConfigurations = EndpointConfiguration[];
1130
1281
  export interface EndpointDescription {
@@ -1145,7 +1296,7 @@ declare namespace GlobalAccelerator {
1145
1296
  */
1146
1297
  HealthReason?: GenericString;
1147
1298
  /**
1148
- * Indicates whether client IP address preservation is enabled for an endpoint. The value is true or false. The default value is true for new accelerators. If the value is set to true, the client's IP address is preserved in the X-Forwarded-For request header as traffic travels to applications on the endpoint fronted by the accelerator. Client IP address preservation is supported, in specific Amazon Web Services Regions, for endpoints that are Application Load Balancers, Amazon EC2 instances, and Network Load Balancers with Security Groups. IMPORTANT: You cannot use client IP address preservation with Network Load Balancers with TLS listeners. For more information, see Preserve client IP addresses in Global Accelerator in the Global Accelerator Developer Guide.
1299
+ * Indicates whether client IP address preservation is enabled for an endpoint. The value is true or false. The default value is true for Application Load Balancers endpoints. If the value is set to true, the client's IP address is preserved in the X-Forwarded-For request header as traffic travels to applications on the endpoint fronted by the accelerator. Client IP address preservation is supported, in specific Amazon Web Services Regions, for endpoints that are Application Load Balancers, Amazon EC2 instances, and Network Load Balancers with security groups. IMPORTANT: You cannot use client IP address preservation with Network Load Balancers with TLS listeners. For more information, see Preserve client IP addresses in Global Accelerator in the Global Accelerator Developer Guide.
1149
1300
  */
1150
1301
  ClientIPPreservationEnabled?: GenericBoolean;
1151
1302
  }
@@ -1273,6 +1424,62 @@ declare namespace GlobalAccelerator {
1273
1424
  */
1274
1425
  NextToken?: GenericString;
1275
1426
  }
1427
+ export interface ListCrossAccountAttachmentsRequest {
1428
+ /**
1429
+ * The number of cross-account attachment objects that you want to return with this call. The default value is 10.
1430
+ */
1431
+ MaxResults?: MaxResults;
1432
+ /**
1433
+ * The token for the next set of results. You receive this token from a previous call.
1434
+ */
1435
+ NextToken?: GenericString;
1436
+ }
1437
+ export interface ListCrossAccountAttachmentsResponse {
1438
+ /**
1439
+ * Information about the cross-account attachments.
1440
+ */
1441
+ CrossAccountAttachments?: Attachments;
1442
+ /**
1443
+ * The token for the next set of results. You receive this token from a previous call.
1444
+ */
1445
+ NextToken?: GenericString;
1446
+ }
1447
+ export interface ListCrossAccountResourceAccountsRequest {
1448
+ }
1449
+ export interface ListCrossAccountResourceAccountsResponse {
1450
+ /**
1451
+ * The account IDs of principals (resource owners) in a cross-account attachment who can add endpoints (resources) listed in the same attachment.
1452
+ */
1453
+ ResourceOwnerAwsAccountIds?: AwsAccountIds;
1454
+ }
1455
+ export interface ListCrossAccountResourcesRequest {
1456
+ /**
1457
+ * The Amazon Resource Name (ARN) of an accelerator in a cross-account attachment.
1458
+ */
1459
+ AcceleratorArn?: GenericString;
1460
+ /**
1461
+ * The account ID of a resource owner in a cross-account attachment.
1462
+ */
1463
+ ResourceOwnerAwsAccountId: AwsAccountId;
1464
+ /**
1465
+ * The number of cross-account endpoints objects that you want to return with this call. The default value is 10.
1466
+ */
1467
+ MaxResults?: MaxResults;
1468
+ /**
1469
+ * The token for the next set of results. You receive this token from a previous call.
1470
+ */
1471
+ NextToken?: GenericString;
1472
+ }
1473
+ export interface ListCrossAccountResourcesResponse {
1474
+ /**
1475
+ * The endpoints attached to an accelerator in a cross-account attachment.
1476
+ */
1477
+ CrossAccountResources?: CrossAccountResources;
1478
+ /**
1479
+ * The token for the next set of results. You receive this token from a previous call.
1480
+ */
1481
+ NextToken?: GenericString;
1482
+ }
1276
1483
  export interface ListCustomRoutingAcceleratorsRequest {
1277
1484
  /**
1278
1485
  * The number of custom routing Global Accelerator objects that you want to return with this call. The default value is 10.
@@ -1528,6 +1735,8 @@ declare namespace GlobalAccelerator {
1528
1735
  ToPort?: PortNumber;
1529
1736
  }
1530
1737
  export type PortRanges = PortRange[];
1738
+ export type Principal = string;
1739
+ export type Principals = Principal[];
1531
1740
  export type Protocol = "TCP"|"UDP"|string;
1532
1741
  export type Protocols = Protocol[];
1533
1742
  export interface ProvisionByoipCidrRequest {
@@ -1566,7 +1775,18 @@ declare namespace GlobalAccelerator {
1566
1775
  */
1567
1776
  EndpointGroupArn: GenericString;
1568
1777
  }
1778
+ export interface Resource {
1779
+ /**
1780
+ * The endpoint ID for the endpoint (Amazon Web Services resource).
1781
+ */
1782
+ EndpointId: GenericString;
1783
+ /**
1784
+ * The Amazon Web Services Region where a resource is located.
1785
+ */
1786
+ Region?: GenericString;
1787
+ }
1569
1788
  export type ResourceArn = string;
1789
+ export type Resources = Resource[];
1570
1790
  export interface SocketAddress {
1571
1791
  /**
1572
1792
  * The IP address for the socket address.
@@ -1667,6 +1887,38 @@ declare namespace GlobalAccelerator {
1667
1887
  */
1668
1888
  Accelerator?: Accelerator;
1669
1889
  }
1890
+ export interface UpdateCrossAccountAttachmentRequest {
1891
+ /**
1892
+ * The Amazon Resource Name (ARN) of the cross-account attachment to update.
1893
+ */
1894
+ AttachmentArn: GenericString;
1895
+ /**
1896
+ * The name of the cross-account attachment.
1897
+ */
1898
+ Name?: AttachmentName;
1899
+ /**
1900
+ * The principals to add to the cross-account attachment. A principal is an account or the Amazon Resource Name (ARN) of an accelerator that the attachment gives permission to add the resources from another account, listed in the attachment. To add more than one principal, separate the account numbers or accelerator ARNs, or both, with commas.
1901
+ */
1902
+ AddPrincipals?: Principals;
1903
+ /**
1904
+ * The principals to remove from the cross-account attachment. A principal is an account or the Amazon Resource Name (ARN) of an accelerator that is given permission to add the resources from another account, listed in the cross-account attachment. To remove more than one principal, separate the account numbers or accelerator ARNs, or both, with commas.
1905
+ */
1906
+ RemovePrincipals?: Principals;
1907
+ /**
1908
+ * The resources to add to the cross-account attachment. A resource listed in a cross-account attachment can be added to an accelerator by the principals that are listed in the attachment. To add more than one resource, separate the resource ARNs with commas.
1909
+ */
1910
+ AddResources?: Resources;
1911
+ /**
1912
+ * The resources to remove from the cross-account attachment. A resource listed in a cross-account attachment can be added to an accelerator fy principals that are listed in the cross-account attachment. To remove more than one resource, separate the resource ARNs with commas.
1913
+ */
1914
+ RemoveResources?: Resources;
1915
+ }
1916
+ export interface UpdateCrossAccountAttachmentResponse {
1917
+ /**
1918
+ * Information about the updated cross-account attachment.
1919
+ */
1920
+ CrossAccountAttachment?: Attachment;
1921
+ }
1670
1922
  export interface UpdateCustomRoutingAcceleratorAttributesRequest {
1671
1923
  /**
1672
1924
  * The Amazon Resource Name (ARN) of the custom routing accelerator to update attributes for.
@@ -1601,6 +1601,10 @@ declare namespace RDS {
1601
1601
  * The allocated storage size in gibibytes (GiB) for all database engines except Amazon Aurora. For Aurora, AllocatedStorage always returns 1, because Aurora DB cluster storage size isn't fixed, but instead automatically adjusts as needed.
1602
1602
  */
1603
1603
  AllocatedStorage?: IntegerOptional;
1604
+ /**
1605
+ * Reserved for future use.
1606
+ */
1607
+ RdsCustomClusterConfiguration?: RdsCustomClusterConfiguration;
1604
1608
  /**
1605
1609
  * The Provisioned IOPS (I/O operations per second) value. This setting is only for non-Aurora Multi-AZ DB clusters.
1606
1610
  */
@@ -1991,6 +1995,10 @@ declare namespace RDS {
1991
1995
  * For DB clusters in serverless DB engine mode, the scaling properties of the DB cluster. Valid for Cluster Type: Aurora DB clusters only
1992
1996
  */
1993
1997
  ScalingConfiguration?: ScalingConfiguration;
1998
+ /**
1999
+ * Reserved for future use.
2000
+ */
2001
+ RdsCustomClusterConfiguration?: RdsCustomClusterConfiguration;
1994
2002
  /**
1995
2003
  * Specifies whether the DB cluster has deletion protection enabled. The database can't be deleted when deletion protection is enabled. By default, deletion protection isn't enabled. Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters
1996
2004
  */
@@ -3010,6 +3018,10 @@ declare namespace RDS {
3010
3018
  */
3011
3019
  EngineMode?: String;
3012
3020
  ScalingConfigurationInfo?: ScalingConfigurationInfo;
3021
+ /**
3022
+ * Reserved for future use.
3023
+ */
3024
+ RdsCustomClusterConfiguration?: RdsCustomClusterConfiguration;
3013
3025
  /**
3014
3026
  * Indicates whether the DB cluster has deletion protection enabled. The database can't be deleted when deletion protection is enabled.
3015
3027
  */
@@ -8012,6 +8024,16 @@ declare namespace RDS {
8012
8024
  Step?: IntegerOptional;
8013
8025
  }
8014
8026
  export type RangeList = Range[];
8027
+ export interface RdsCustomClusterConfiguration {
8028
+ /**
8029
+ * Reserved for future use.
8030
+ */
8031
+ InterconnectSubnetId?: String;
8032
+ /**
8033
+ * Reserved for future use.
8034
+ */
8035
+ TransitGatewayMulticastDomainId?: String;
8036
+ }
8015
8037
  export type ReadReplicaDBClusterIdentifierList = String[];
8016
8038
  export type ReadReplicaDBInstanceIdentifierList = String[];
8017
8039
  export type ReadReplicaIdentifierList = String[];
@@ -8559,6 +8581,10 @@ declare namespace RDS {
8559
8581
  * The network type of the DB cluster. Valid Values: IPV4 DUAL The network type is determined by the DBSubnetGroup specified for the DB cluster. A DBSubnetGroup can support only the IPv4 protocol or the IPv4 and the IPv6 protocols (DUAL). For more information, see Working with a DB instance in a VPC in the Amazon Aurora User Guide. Valid for: Aurora DB clusters only
8560
8582
  */
8561
8583
  NetworkType?: String;
8584
+ /**
8585
+ * Reserved for future use.
8586
+ */
8587
+ RdsCustomClusterConfiguration?: RdsCustomClusterConfiguration;
8562
8588
  }
8563
8589
  export interface RestoreDBClusterFromSnapshotResult {
8564
8590
  DBCluster?: DBCluster;
@@ -8670,6 +8696,10 @@ declare namespace RDS {
8670
8696
  * The resource ID of the source DB cluster from which to restore.
8671
8697
  */
8672
8698
  SourceDbClusterResourceId?: String;
8699
+ /**
8700
+ * Reserved for future use.
8701
+ */
8702
+ RdsCustomClusterConfiguration?: RdsCustomClusterConfiguration;
8673
8703
  }
8674
8704
  export interface RestoreDBClusterToPointInTimeResult {
8675
8705
  DBCluster?: DBCluster;
@@ -728,6 +728,14 @@ declare class Redshift extends Service {
728
728
  * Enables the automatic copy of snapshots from one region to another region for a specified cluster.
729
729
  */
730
730
  enableSnapshotCopy(callback?: (err: AWSError, data: Redshift.Types.EnableSnapshotCopyResult) => void): Request<Redshift.Types.EnableSnapshotCopyResult, AWSError>;
731
+ /**
732
+ * Fails over the primary compute unit of the specified Multi-AZ cluster to another Availability Zone.
733
+ */
734
+ failoverPrimaryCompute(params: Redshift.Types.FailoverPrimaryComputeInputMessage, callback?: (err: AWSError, data: Redshift.Types.FailoverPrimaryComputeResult) => void): Request<Redshift.Types.FailoverPrimaryComputeResult, AWSError>;
735
+ /**
736
+ * Fails over the primary compute unit of the specified Multi-AZ cluster to another Availability Zone.
737
+ */
738
+ failoverPrimaryCompute(callback?: (err: AWSError, data: Redshift.Types.FailoverPrimaryComputeResult) => void): Request<Redshift.Types.FailoverPrimaryComputeResult, AWSError>;
731
739
  /**
732
740
  * Returns a database user name and temporary password with temporary authorization to log on to an Amazon Redshift database. The action returns the database user name prefixed with IAM: if AutoCreate is False or IAMA: if AutoCreate is True. You can optionally specify one or more database user groups that the user will join at log on. By default, the temporary credentials expire in 900 seconds. You can optionally specify a duration between 900 seconds (15 minutes) and 3600 seconds (60 minutes). For more information, see Using IAM Authentication to Generate Database User Credentials in the Amazon Redshift Cluster Management Guide. The Identity and Access Management (IAM) user or role that runs GetClusterCredentials must have an IAM policy attached that allows access to all necessary actions and resources. For more information about permissions, see Resource Policies for GetClusterCredentials in the Amazon Redshift Cluster Management Guide. If the DbGroups parameter is specified, the IAM policy must allow the redshift:JoinGroup action with access to the listed dbgroups. In addition, if the AutoCreate parameter is set to True, then the policy must include the redshift:CreateClusterUser permission. If the DbName parameter is specified, the IAM policy must allow access to the resource dbname for the specified database name.
733
741
  */
@@ -1541,6 +1549,14 @@ declare namespace Redshift {
1541
1549
  * The IP address type for the cluster. Possible values are ipv4 and dualstack.
1542
1550
  */
1543
1551
  IpAddressType?: String;
1552
+ /**
1553
+ * A boolean value that, if true, indicates that the cluster is deployed in two Availability Zones.
1554
+ */
1555
+ MultiAZ?: String;
1556
+ /**
1557
+ * The secondary compute unit of a cluster, if Multi-AZ deployment is turned on.
1558
+ */
1559
+ MultiAZSecondary?: SecondaryClusterInfo;
1544
1560
  }
1545
1561
  export interface ClusterAssociatedToSchedule {
1546
1562
  /**
@@ -2047,6 +2063,10 @@ declare namespace Redshift {
2047
2063
  * The IP address types that the cluster supports. Possible values are ipv4 and dualstack.
2048
2064
  */
2049
2065
  IpAddressType?: String;
2066
+ /**
2067
+ * If true, Amazon Redshift will deploy the cluster in two Availability Zones (AZ).
2068
+ */
2069
+ MultiAZ?: BooleanOptional;
2050
2070
  }
2051
2071
  export interface CreateClusterParameterGroupMessage {
2052
2072
  /**
@@ -3834,6 +3854,15 @@ declare namespace Redshift {
3834
3854
  */
3835
3855
  Events?: EventList;
3836
3856
  }
3857
+ export interface FailoverPrimaryComputeInputMessage {
3858
+ /**
3859
+ * The unique identifier of the cluster for which the primary compute unit will be failed over to another Availability Zone.
3860
+ */
3861
+ ClusterIdentifier: String;
3862
+ }
3863
+ export interface FailoverPrimaryComputeResult {
3864
+ Cluster?: Cluster;
3865
+ }
3837
3866
  export interface GetClusterCredentialsMessage {
3838
3867
  /**
3839
3868
  * The name of a database user. If a user name matching DbUser exists in the database, the temporary user credentials have the same permissions as the existing user. If DbUser doesn't exist in the database and Autocreate is True, a new user is created using the value for DbUser with PUBLIC permissions. If a database user matching the value for DbUser doesn't exist and Autocreate is False, then the command succeeds but the connection attempt will fail because the user doesn't exist in the database. For more information, see CREATE USER in the Amazon Redshift Database Developer Guide. Constraints: Must be 1 to 64 alphanumeric characters or hyphens. The user name can't be PUBLIC. Must contain uppercase or lowercase letters, numbers, underscore, plus sign, period (dot), at symbol (@), or hyphen. First character must be a letter. Must not contain a colon ( : ) or slash ( / ). Cannot be a reserved word. A list of reserved words can be found in Reserved Words in the Amazon Redshift Database Developer Guide.
@@ -4356,6 +4385,10 @@ declare namespace Redshift {
4356
4385
  * The IP address types that the cluster supports. Possible values are ipv4 and dualstack.
4357
4386
  */
4358
4387
  IpAddressType?: String;
4388
+ /**
4389
+ * If true and the cluster is currently only deployed in a single Availability Zone, the cluster will be modified to be deployed in two Availability Zones.
4390
+ */
4391
+ MultiAZ?: BooleanOptional;
4359
4392
  }
4360
4393
  export interface ModifyClusterParameterGroupMessage {
4361
4394
  /**
@@ -5323,6 +5356,10 @@ declare namespace Redshift {
5323
5356
  * The IP address type for the cluster. Possible values are ipv4 and dualstack.
5324
5357
  */
5325
5358
  IpAddressType?: String;
5359
+ /**
5360
+ * If true, the snapshot will be restored to a cluster deployed in two Availability Zones.
5361
+ */
5362
+ MultiAZ?: BooleanOptional;
5326
5363
  }
5327
5364
  export interface RestoreFromClusterSnapshotResult {
5328
5365
  Cluster?: Cluster;
@@ -5568,6 +5605,16 @@ declare namespace Redshift {
5568
5605
  ScheduledActions?: ScheduledActionList;
5569
5606
  }
5570
5607
  export type ScheduledSnapshotTimeList = TStamp[];
5608
+ export interface SecondaryClusterInfo {
5609
+ /**
5610
+ * The name of the Availability Zone in which the secondary compute unit of the cluster is located.
5611
+ */
5612
+ AvailabilityZone?: String;
5613
+ /**
5614
+ * The nodes in the secondary compute unit.
5615
+ */
5616
+ ClusterNodes?: ClusterNodesList;
5617
+ }
5571
5618
  export type SensitiveString = string;
5572
5619
  export interface Snapshot {
5573
5620
  /**
@@ -16867,6 +16867,7 @@ declare namespace SageMaker {
16867
16867
  */
16868
16868
  MonitoringAlertSummaries?: MonitoringAlertSummaryList;
16869
16869
  LastMonitoringExecutionSummary?: MonitoringExecutionSummary;
16870
+ BatchTransformInput?: BatchTransformInput;
16870
16871
  }
16871
16872
  export type ModelDashboardMonitoringSchedules = ModelDashboardMonitoringSchedule[];
16872
16873
  export interface ModelDataQuality {
@@ -83,7 +83,7 @@ return /******/ (function(modules) { // webpackBootstrap
83
83
  /**
84
84
  * @constant
85
85
  */
86
- VERSION: '2.1485.0',
86
+ VERSION: '2.1486.0',
87
87
 
88
88
  /**
89
89
  * @api private