aws-sdk 2.1484.0 → 2.1486.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.
- package/CHANGELOG.md +16 -1
- package/README.md +1 -1
- package/apis/amplify-2017-07-25.min.json +53 -38
- package/apis/amplify-2017-07-25.paginators.json +24 -0
- package/apis/application-insights-2018-11-25.min.json +35 -25
- package/apis/connect-2017-08-08.min.json +503 -365
- package/apis/connect-2017-08-08.paginators.json +16 -0
- package/apis/ec2-2016-11-15.min.json +1297 -1181
- package/apis/ec2-2016-11-15.paginators.json +6 -0
- package/apis/globalaccelerator-2018-08-08.min.json +251 -49
- package/apis/globalaccelerator-2018-08-08.paginators.json +12 -0
- package/apis/m2-2021-04-28.min.json +36 -6
- package/apis/rds-2014-10-31.min.json +228 -206
- package/apis/redshift-2012-12-01.min.json +187 -145
- package/apis/sagemaker-2017-07-24.min.json +3 -0
- package/apis/translate-2017-07-01.min.json +23 -26
- package/clients/amplify.d.ts +239 -223
- package/clients/applicationinsights.d.ts +17 -0
- package/clients/connect.d.ts +247 -5
- package/clients/ec2.d.ts +138 -5
- package/clients/globalaccelerator.d.ts +254 -2
- package/clients/m2.d.ts +51 -6
- package/clients/neptunedata.d.ts +11 -11
- package/clients/rds.d.ts +30 -0
- package/clients/redshift.d.ts +47 -0
- package/clients/sagemaker.d.ts +1 -0
- package/clients/translate.d.ts +17 -9
- package/dist/aws-sdk-core-react-native.js +1 -1
- package/dist/aws-sdk-react-native.js +15 -15
- package/dist/aws-sdk.js +2263 -1926
- package/dist/aws-sdk.min.js +81 -80
- package/lib/core.js +1 -1
- package/package.json +1 -1
package/clients/ec2.d.ts
CHANGED
@@ -1820,6 +1820,14 @@ declare class EC2 extends Service {
|
|
1820
1820
|
* Describes the IP address ranges that were specified in calls to ProvisionByoipCidr. To describe the address pools that were created when you provisioned the address ranges, use DescribePublicIpv4Pools or DescribeIpv6Pools.
|
1821
1821
|
*/
|
1822
1822
|
describeByoipCidrs(callback?: (err: AWSError, data: EC2.Types.DescribeByoipCidrsResult) => void): Request<EC2.Types.DescribeByoipCidrsResult, AWSError>;
|
1823
|
+
/**
|
1824
|
+
* Describes Capacity Block offerings available for purchase. With Capacity Blocks, you purchase a specific instance type for a period of time.
|
1825
|
+
*/
|
1826
|
+
describeCapacityBlockOfferings(params: EC2.Types.DescribeCapacityBlockOfferingsRequest, callback?: (err: AWSError, data: EC2.Types.DescribeCapacityBlockOfferingsResult) => void): Request<EC2.Types.DescribeCapacityBlockOfferingsResult, AWSError>;
|
1827
|
+
/**
|
1828
|
+
* Describes Capacity Block offerings available for purchase. With Capacity Blocks, you purchase a specific instance type for a period of time.
|
1829
|
+
*/
|
1830
|
+
describeCapacityBlockOfferings(callback?: (err: AWSError, data: EC2.Types.DescribeCapacityBlockOfferingsResult) => void): Request<EC2.Types.DescribeCapacityBlockOfferingsResult, AWSError>;
|
1823
1831
|
/**
|
1824
1832
|
* Describes one or more Capacity Reservation Fleets.
|
1825
1833
|
*/
|
@@ -4324,6 +4332,14 @@ declare class EC2 extends Service {
|
|
4324
4332
|
* Provision a CIDR to a public IPv4 pool. For more information about IPAM, see What is IPAM? in the Amazon VPC IPAM User Guide.
|
4325
4333
|
*/
|
4326
4334
|
provisionPublicIpv4PoolCidr(callback?: (err: AWSError, data: EC2.Types.ProvisionPublicIpv4PoolCidrResult) => void): Request<EC2.Types.ProvisionPublicIpv4PoolCidrResult, AWSError>;
|
4335
|
+
/**
|
4336
|
+
* Purchase the Capacity Block for use with your account. With Capacity Blocks you ensure GPU capacity is available for machine learning (ML) workloads. You must specify the ID of the Capacity Block offering you are purchasing.
|
4337
|
+
*/
|
4338
|
+
purchaseCapacityBlock(params: EC2.Types.PurchaseCapacityBlockRequest, callback?: (err: AWSError, data: EC2.Types.PurchaseCapacityBlockResult) => void): Request<EC2.Types.PurchaseCapacityBlockResult, AWSError>;
|
4339
|
+
/**
|
4340
|
+
* Purchase the Capacity Block for use with your account. With Capacity Blocks you ensure GPU capacity is available for machine learning (ML) workloads. You must specify the ID of the Capacity Block offering you are purchasing.
|
4341
|
+
*/
|
4342
|
+
purchaseCapacityBlock(callback?: (err: AWSError, data: EC2.Types.PurchaseCapacityBlockResult) => void): Request<EC2.Types.PurchaseCapacityBlockResult, AWSError>;
|
4327
4343
|
/**
|
4328
4344
|
* Purchase a reservation with configurations that match those of your Dedicated Host. You must have active Dedicated Hosts in your account before you purchase a reservation. This action results in the specified reservation being purchased and charged to your account.
|
4329
4345
|
*/
|
@@ -7352,6 +7368,49 @@ declare namespace EC2 {
|
|
7352
7368
|
Count?: Integer;
|
7353
7369
|
}
|
7354
7370
|
export type CapacityAllocations = CapacityAllocation[];
|
7371
|
+
export interface CapacityBlockOffering {
|
7372
|
+
/**
|
7373
|
+
* The ID of the Capacity Block offering.
|
7374
|
+
*/
|
7375
|
+
CapacityBlockOfferingId?: OfferingId;
|
7376
|
+
/**
|
7377
|
+
* The instance type of the Capacity Block offering.
|
7378
|
+
*/
|
7379
|
+
InstanceType?: String;
|
7380
|
+
/**
|
7381
|
+
* The Availability Zone of the Capacity Block offering.
|
7382
|
+
*/
|
7383
|
+
AvailabilityZone?: String;
|
7384
|
+
/**
|
7385
|
+
* The number of instances in the Capacity Block offering.
|
7386
|
+
*/
|
7387
|
+
InstanceCount?: Integer;
|
7388
|
+
/**
|
7389
|
+
* The start date of the Capacity Block offering.
|
7390
|
+
*/
|
7391
|
+
StartDate?: MillisecondDateTime;
|
7392
|
+
/**
|
7393
|
+
* The end date of the Capacity Block offering.
|
7394
|
+
*/
|
7395
|
+
EndDate?: MillisecondDateTime;
|
7396
|
+
/**
|
7397
|
+
* The amount of time of the Capacity Block reservation in hours.
|
7398
|
+
*/
|
7399
|
+
CapacityBlockDurationHours?: Integer;
|
7400
|
+
/**
|
7401
|
+
* The total price to be paid up front.
|
7402
|
+
*/
|
7403
|
+
UpfrontFee?: String;
|
7404
|
+
/**
|
7405
|
+
* The currency of the payment for the Capacity Block.
|
7406
|
+
*/
|
7407
|
+
CurrencyCode?: String;
|
7408
|
+
/**
|
7409
|
+
* The tenancy of the Capacity Block.
|
7410
|
+
*/
|
7411
|
+
Tenancy?: CapacityReservationTenancy;
|
7412
|
+
}
|
7413
|
+
export type CapacityBlockOfferingSet = CapacityBlockOffering[];
|
7355
7414
|
export interface CapacityReservation {
|
7356
7415
|
/**
|
7357
7416
|
* The ID of the Capacity Reservation.
|
@@ -7445,6 +7504,10 @@ declare namespace EC2 {
|
|
7445
7504
|
* Information about instance capacity usage.
|
7446
7505
|
*/
|
7447
7506
|
CapacityAllocations?: CapacityAllocations;
|
7507
|
+
/**
|
7508
|
+
* The type of Capacity Reservation.
|
7509
|
+
*/
|
7510
|
+
ReservationType?: CapacityReservationType;
|
7448
7511
|
}
|
7449
7512
|
export interface CapacityReservationFleet {
|
7450
7513
|
/**
|
@@ -7563,7 +7626,7 @@ declare namespace EC2 {
|
|
7563
7626
|
*/
|
7564
7627
|
CapacityReservationTarget?: CapacityReservationTargetResponse;
|
7565
7628
|
}
|
7566
|
-
export type CapacityReservationState = "active"|"expired"|"cancelled"|"pending"|"failed"|string;
|
7629
|
+
export type CapacityReservationState = "active"|"expired"|"cancelled"|"pending"|"failed"|"scheduled"|"payment-pending"|"payment-failed"|string;
|
7567
7630
|
export interface CapacityReservationTarget {
|
7568
7631
|
/**
|
7569
7632
|
* The ID of the Capacity Reservation in which to run the instance.
|
@@ -7585,6 +7648,7 @@ declare namespace EC2 {
|
|
7585
7648
|
CapacityReservationResourceGroupArn?: String;
|
7586
7649
|
}
|
7587
7650
|
export type CapacityReservationTenancy = "default"|"dedicated"|string;
|
7651
|
+
export type CapacityReservationType = "default"|"capacity-block"|string;
|
7588
7652
|
export interface CarrierGateway {
|
7589
7653
|
/**
|
7590
7654
|
* The ID of the carrier gateway.
|
@@ -11676,7 +11740,7 @@ declare namespace EC2 {
|
|
11676
11740
|
export type DefaultNetworkCardIndex = number;
|
11677
11741
|
export type DefaultRouteTableAssociationValue = "enable"|"disable"|string;
|
11678
11742
|
export type DefaultRouteTablePropagationValue = "enable"|"disable"|string;
|
11679
|
-
export type DefaultTargetCapacityType = "spot"|"on-demand"|string;
|
11743
|
+
export type DefaultTargetCapacityType = "spot"|"on-demand"|"capacity-block"|string;
|
11680
11744
|
export type DefaultingDhcpOptionsId = string;
|
11681
11745
|
export interface DeleteCarrierGatewayRequest {
|
11682
11746
|
/**
|
@@ -13310,6 +13374,51 @@ declare namespace EC2 {
|
|
13310
13374
|
*/
|
13311
13375
|
NextToken?: String;
|
13312
13376
|
}
|
13377
|
+
export type DescribeCapacityBlockOfferingsMaxResults = number;
|
13378
|
+
export interface DescribeCapacityBlockOfferingsRequest {
|
13379
|
+
/**
|
13380
|
+
* Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
|
13381
|
+
*/
|
13382
|
+
DryRun?: Boolean;
|
13383
|
+
/**
|
13384
|
+
* The type of instance for which the Capacity Block offering reserves capacity.
|
13385
|
+
*/
|
13386
|
+
InstanceType: String;
|
13387
|
+
/**
|
13388
|
+
* The number of instances for which to reserve capacity.
|
13389
|
+
*/
|
13390
|
+
InstanceCount: Integer;
|
13391
|
+
/**
|
13392
|
+
* The earliest start date for the Capacity Block offering.
|
13393
|
+
*/
|
13394
|
+
StartDateRange?: MillisecondDateTime;
|
13395
|
+
/**
|
13396
|
+
* The latest end date for the Capacity Block offering.
|
13397
|
+
*/
|
13398
|
+
EndDateRange?: MillisecondDateTime;
|
13399
|
+
/**
|
13400
|
+
* The number of hours for which to reserve Capacity Block.
|
13401
|
+
*/
|
13402
|
+
CapacityDurationHours: Integer;
|
13403
|
+
/**
|
13404
|
+
* The token to use to retrieve the next page of results.
|
13405
|
+
*/
|
13406
|
+
NextToken?: String;
|
13407
|
+
/**
|
13408
|
+
* The maximum number of results to return for the request in a single page. The remaining results can be seen by sending another request with the returned nextToken value. This value can be between 5 and 500. If maxResults is given a larger value than 500, you receive an error.
|
13409
|
+
*/
|
13410
|
+
MaxResults?: DescribeCapacityBlockOfferingsMaxResults;
|
13411
|
+
}
|
13412
|
+
export interface DescribeCapacityBlockOfferingsResult {
|
13413
|
+
/**
|
13414
|
+
* The recommended Capacity Block offering for the dates specified.
|
13415
|
+
*/
|
13416
|
+
CapacityBlockOfferings?: CapacityBlockOfferingSet;
|
13417
|
+
/**
|
13418
|
+
* The token to use to retrieve the next page of results. This value is null when there are no more results to return.
|
13419
|
+
*/
|
13420
|
+
NextToken?: String;
|
13421
|
+
}
|
13313
13422
|
export type DescribeCapacityReservationFleetsMaxResults = number;
|
13314
13423
|
export interface DescribeCapacityReservationFleetsRequest {
|
13315
13424
|
/**
|
@@ -23721,7 +23830,7 @@ declare namespace EC2 {
|
|
23721
23830
|
}
|
23722
23831
|
export type InstanceIpv6PrefixList = InstanceIpv6Prefix[];
|
23723
23832
|
export type InstanceLifecycle = "spot"|"on-demand"|string;
|
23724
|
-
export type InstanceLifecycleType = "spot"|"scheduled"|string;
|
23833
|
+
export type InstanceLifecycleType = "spot"|"scheduled"|"capacity-block"|string;
|
23725
23834
|
export type InstanceList = Instance[];
|
23726
23835
|
export interface InstanceMaintenanceOptions {
|
23727
23836
|
/**
|
@@ -26727,7 +26836,7 @@ declare namespace EC2 {
|
|
26727
26836
|
OwnerId?: String;
|
26728
26837
|
}
|
26729
26838
|
export type ManagedPrefixListSet = ManagedPrefixList[];
|
26730
|
-
export type MarketType = "spot"|string;
|
26839
|
+
export type MarketType = "spot"|"capacity-block"|string;
|
26731
26840
|
export type MaxIpv4AddrPerInterface = number;
|
26732
26841
|
export type MaxIpv6AddrPerInterface = number;
|
26733
26842
|
export type MaxNetworkInterfaces = number;
|
@@ -30893,6 +31002,30 @@ declare namespace EC2 {
|
|
30893
31002
|
*/
|
30894
31003
|
UpfrontPrice?: String;
|
30895
31004
|
}
|
31005
|
+
export interface PurchaseCapacityBlockRequest {
|
31006
|
+
/**
|
31007
|
+
* Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
|
31008
|
+
*/
|
31009
|
+
DryRun?: Boolean;
|
31010
|
+
/**
|
31011
|
+
* The tags to apply to the Capacity Block during launch.
|
31012
|
+
*/
|
31013
|
+
TagSpecifications?: TagSpecificationList;
|
31014
|
+
/**
|
31015
|
+
* The ID of the Capacity Block offering.
|
31016
|
+
*/
|
31017
|
+
CapacityBlockOfferingId: OfferingId;
|
31018
|
+
/**
|
31019
|
+
* The type of operating system for which to reserve capacity.
|
31020
|
+
*/
|
31021
|
+
InstancePlatform: CapacityReservationInstancePlatform;
|
31022
|
+
}
|
31023
|
+
export interface PurchaseCapacityBlockResult {
|
31024
|
+
/**
|
31025
|
+
* The Capacity Reservation.
|
31026
|
+
*/
|
31027
|
+
CapacityReservation?: CapacityReservation;
|
31028
|
+
}
|
30896
31029
|
export interface PurchaseHostReservationRequest {
|
30897
31030
|
/**
|
30898
31031
|
* Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring Idempotency.
|
@@ -37192,7 +37325,7 @@ declare namespace EC2 {
|
|
37192
37325
|
*/
|
37193
37326
|
Return?: Boolean;
|
37194
37327
|
}
|
37195
|
-
export type UsageClassType = "spot"|"on-demand"|string;
|
37328
|
+
export type UsageClassType = "spot"|"on-demand"|"capacity-block"|string;
|
37196
37329
|
export type UsageClassTypeList = UsageClassType[];
|
37197
37330
|
export interface UserBucket {
|
37198
37331
|
/**
|
@@ -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
|
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
|
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.
|