aws-sdk 2.1472.0 → 2.1474.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 +32 -1
- package/README.md +1 -1
- package/apis/autoscaling-2011-01-01.examples.json +1 -1
- package/apis/autoscaling-2011-01-01.min.json +57 -57
- package/apis/autoscaling-2011-01-01.paginators.json +15 -0
- package/apis/controltower-2018-05-10.min.json +68 -1
- package/apis/customer-profiles-2020-08-15.min.json +31 -18
- package/apis/drs-2020-02-26.min.json +28 -6
- package/apis/ec2-2016-11-15.min.json +134 -82
- package/apis/entityresolution-2018-05-10.min.json +721 -79
- package/apis/entityresolution-2018-05-10.paginators.json +18 -0
- package/apis/ivs-realtime-2020-07-14.min.json +14 -8
- package/apis/lambda-2015-03-31.min.json +102 -96
- package/apis/location-2020-11-19.min.json +36 -36
- package/apis/machinelearning-2014-12-12.min.json +8 -2
- package/apis/managedblockchain-query-2023-05-04.min.json +111 -0
- package/apis/managedblockchain-query-2023-05-04.paginators.json +6 -0
- package/apis/opensearch-2021-01-01.min.json +78 -59
- package/apis/rds-2014-10-31.min.json +43 -7
- package/apis/redshift-2012-12-01.min.json +205 -184
- package/apis/redshift-serverless-2021-04-21.min.json +34 -18
- package/apis/rekognition-2016-06-27.min.json +194 -161
- package/apis/sagemaker-2017-07-24.min.json +740 -728
- package/apis/sesv2-2019-09-27.min.json +40 -18
- package/apis/textract-2018-06-27.min.json +483 -76
- package/apis/textract-2018-06-27.paginators.json +12 -0
- package/clients/autoscaling.d.ts +4 -3
- package/clients/cloudformation.d.ts +1 -1
- package/clients/configservice.d.ts +15 -15
- package/clients/controltower.d.ts +104 -15
- package/clients/customerprofiles.d.ts +6 -6
- package/clients/drs.d.ts +27 -1
- package/clients/ec2.d.ts +62 -6
- package/clients/elbv2.d.ts +7 -7
- package/clients/entityresolution.d.ts +650 -12
- package/clients/glue.d.ts +5 -5
- package/clients/inspector2.d.ts +25 -25
- package/clients/ivsrealtime.d.ts +25 -0
- package/clients/lambda.d.ts +9 -0
- package/clients/managedblockchainquery.d.ts +125 -9
- package/clients/mediapackagev2.d.ts +13 -13
- package/clients/opensearch.d.ts +46 -6
- package/clients/pricing.d.ts +8 -8
- package/clients/rds.d.ts +48 -0
- package/clients/redshift.d.ts +47 -7
- package/clients/redshiftserverless.d.ts +42 -2
- package/clients/rekognition.d.ts +141 -72
- package/clients/sagemaker.d.ts +26 -6
- package/clients/sesv2.d.ts +43 -3
- package/clients/textract.d.ts +534 -2
- package/clients/transcribeservice.d.ts +1 -1
- package/clients/transfer.d.ts +8 -8
- package/clients/workspaces.d.ts +2 -2
- package/clients/xray.d.ts +2 -2
- package/dist/aws-sdk-core-react-native.js +45 -13
- package/dist/aws-sdk-react-native.js +112 -48
- package/dist/aws-sdk.js +797 -628
- package/dist/aws-sdk.min.js +99 -99
- package/lib/core.js +1 -1
- package/lib/s3/managed_upload.d.ts +1 -1
- package/package.json +1 -1
package/clients/ec2.d.ts
CHANGED
@@ -2996,6 +2996,14 @@ declare class EC2 extends Service {
|
|
2996
2996
|
* Disables fast snapshot restores for the specified snapshots in the specified Availability Zones.
|
2997
2997
|
*/
|
2998
2998
|
disableFastSnapshotRestores(callback?: (err: AWSError, data: EC2.Types.DisableFastSnapshotRestoresResult) => void): Request<EC2.Types.DisableFastSnapshotRestoresResult, AWSError>;
|
2999
|
+
/**
|
3000
|
+
* Sets the AMI state to disabled and removes all launch permissions from the AMI. A disabled AMI can't be used for instance launches. A disabled AMI can't be shared. If a public or shared AMI was previously shared, it is made private. If an AMI was shared with an Amazon Web Services account, organization, or Organizational Unit, they lose access to the disabled AMI. A disabled AMI does not appear in DescribeImages API calls by default. Only the AMI owner can disable an AMI. You can re-enable a disabled AMI using EnableImage. For more information, see Disable an AMI in the Amazon EC2 User Guide.
|
3001
|
+
*/
|
3002
|
+
disableImage(params: EC2.Types.DisableImageRequest, callback?: (err: AWSError, data: EC2.Types.DisableImageResult) => void): Request<EC2.Types.DisableImageResult, AWSError>;
|
3003
|
+
/**
|
3004
|
+
* Sets the AMI state to disabled and removes all launch permissions from the AMI. A disabled AMI can't be used for instance launches. A disabled AMI can't be shared. If a public or shared AMI was previously shared, it is made private. If an AMI was shared with an Amazon Web Services account, organization, or Organizational Unit, they lose access to the disabled AMI. A disabled AMI does not appear in DescribeImages API calls by default. Only the AMI owner can disable an AMI. You can re-enable a disabled AMI using EnableImage. For more information, see Disable an AMI in the Amazon EC2 User Guide.
|
3005
|
+
*/
|
3006
|
+
disableImage(callback?: (err: AWSError, data: EC2.Types.DisableImageResult) => void): Request<EC2.Types.DisableImageResult, AWSError>;
|
2999
3007
|
/**
|
3000
3008
|
* Disables block public access for AMIs at the account level in the specified Amazon Web Services Region. This removes the block public access restriction from your account. With the restriction removed, you can publicly share your AMIs in the specified Amazon Web Services Region. The API can take up to 10 minutes to configure this setting. During this time, if you run GetImageBlockPublicAccessState, the response will be block-new-sharing. When the API has completed the configuration, the response will be unblocked. For more information, see Block public access to your AMIs in the Amazon EC2 User Guide.
|
3001
3009
|
*/
|
@@ -3212,6 +3220,14 @@ declare class EC2 extends Service {
|
|
3212
3220
|
* Enables fast snapshot restores for the specified snapshots in the specified Availability Zones. You get the full benefit of fast snapshot restores after they enter the enabled state. To get the current state of fast snapshot restores, use DescribeFastSnapshotRestores. To disable fast snapshot restores, use DisableFastSnapshotRestores. For more information, see Amazon EBS fast snapshot restore in the Amazon Elastic Compute Cloud User Guide.
|
3213
3221
|
*/
|
3214
3222
|
enableFastSnapshotRestores(callback?: (err: AWSError, data: EC2.Types.EnableFastSnapshotRestoresResult) => void): Request<EC2.Types.EnableFastSnapshotRestoresResult, AWSError>;
|
3223
|
+
/**
|
3224
|
+
* Re-enables a disabled AMI. The re-enabled AMI is marked as available and can be used for instance launches, appears in describe operations, and can be shared. Amazon Web Services accounts, organizations, and Organizational Units that lost access to the AMI when it was disabled do not regain access automatically. Once the AMI is available, it can be shared with them again. Only the AMI owner can re-enable a disabled AMI. For more information, see Disable an AMI in the Amazon EC2 User Guide.
|
3225
|
+
*/
|
3226
|
+
enableImage(params: EC2.Types.EnableImageRequest, callback?: (err: AWSError, data: EC2.Types.EnableImageResult) => void): Request<EC2.Types.EnableImageResult, AWSError>;
|
3227
|
+
/**
|
3228
|
+
* Re-enables a disabled AMI. The re-enabled AMI is marked as available and can be used for instance launches, appears in describe operations, and can be shared. Amazon Web Services accounts, organizations, and Organizational Units that lost access to the AMI when it was disabled do not regain access automatically. Once the AMI is available, it can be shared with them again. Only the AMI owner can re-enable a disabled AMI. For more information, see Disable an AMI in the Amazon EC2 User Guide.
|
3229
|
+
*/
|
3230
|
+
enableImage(callback?: (err: AWSError, data: EC2.Types.EnableImageResult) => void): Request<EC2.Types.EnableImageResult, AWSError>;
|
3215
3231
|
/**
|
3216
3232
|
* Enables block public access for AMIs at the account level in the specified Amazon Web Services Region. This prevents the public sharing of your AMIs. However, if you already have public AMIs, they will remain publicly available. The API can take up to 10 minutes to configure this setting. During this time, if you run GetImageBlockPublicAccessState, the response will be unblocked. When the API has completed the configuration, the response will be block-new-sharing. For more information, see Block public access to your AMIs in the Amazon EC2 User Guide.
|
3217
3233
|
*/
|
@@ -7504,7 +7520,7 @@ declare namespace EC2 {
|
|
7504
7520
|
export type CapacityReservationGroupSet = CapacityReservationGroup[];
|
7505
7521
|
export type CapacityReservationId = string;
|
7506
7522
|
export type CapacityReservationIdSet = CapacityReservationId[];
|
7507
|
-
export type CapacityReservationInstancePlatform = "Linux/UNIX"|"Red Hat Enterprise Linux"|"SUSE Linux"|"Windows"|"Windows with SQL Server"|"Windows with SQL Server Enterprise"|"Windows with SQL Server Standard"|"Windows with SQL Server Web"|"Linux with SQL Server Standard"|"Linux with SQL Server Web"|"Linux with SQL Server Enterprise"|"RHEL with SQL Server Standard"|"RHEL with SQL Server Enterprise"|"RHEL with SQL Server Web"|"RHEL with HA"|"RHEL with HA and SQL Server Standard"|"RHEL with HA and SQL Server Enterprise"|string;
|
7523
|
+
export type CapacityReservationInstancePlatform = "Linux/UNIX"|"Red Hat Enterprise Linux"|"SUSE Linux"|"Windows"|"Windows with SQL Server"|"Windows with SQL Server Enterprise"|"Windows with SQL Server Standard"|"Windows with SQL Server Web"|"Linux with SQL Server Standard"|"Linux with SQL Server Web"|"Linux with SQL Server Enterprise"|"RHEL with SQL Server Standard"|"RHEL with SQL Server Enterprise"|"RHEL with SQL Server Web"|"RHEL with HA"|"RHEL with HA and SQL Server Standard"|"RHEL with HA and SQL Server Enterprise"|"Ubuntu Pro"|string;
|
7508
7524
|
export interface CapacityReservationOptions {
|
7509
7525
|
/**
|
7510
7526
|
* Indicates whether to use unused Capacity Reservations for fulfilling On-Demand capacity. If you specify use-capacity-reservations-first, the fleet uses unused Capacity Reservations to fulfill On-Demand capacity up to the target On-Demand capacity. If multiple instance pools have unused Capacity Reservations, the On-Demand allocation strategy (lowest-price or prioritized) is applied. If the number of unused Capacity Reservations is less than the On-Demand target capacity, the remaining On-Demand target capacity is launched according to the On-Demand allocation strategy (lowest-price or prioritized). If you do not specify a value, the fleet fulfils the On-Demand capacity according to the chosen On-Demand allocation strategy.
|
@@ -14372,7 +14388,7 @@ declare namespace EC2 {
|
|
14372
14388
|
*/
|
14373
14389
|
ExecutableUsers?: ExecutableByStringList;
|
14374
14390
|
/**
|
14375
|
-
* The filters. architecture - The image architecture (i386 | x86_64 | arm64 | x86_64_mac | arm64_mac). block-device-mapping.delete-on-termination - A Boolean value that indicates whether the Amazon EBS volume is deleted on instance termination. block-device-mapping.device-name - The device name specified in the block device mapping (for example, /dev/sdh or xvdh). block-device-mapping.snapshot-id - The ID of the snapshot used for the Amazon EBS volume. block-device-mapping.volume-size - The volume size of the Amazon EBS volume, in GiB. block-device-mapping.volume-type - The volume type of the Amazon EBS volume (io1 | io2 | gp2 | gp3 | sc1 | st1 | standard). block-device-mapping.encrypted - A Boolean that indicates whether the Amazon EBS volume is encrypted. creation-date - The time when the image was created, in the ISO 8601 format in the UTC time zone (YYYY-MM-DDThh:mm:ss.sssZ), for example, 2021-09-29T11:04:43.305Z. You can use a wildcard (*), for example, 2021-09-29T*, which matches an entire day. description - The description of the image (provided during image creation). ena-support - A Boolean that indicates whether enhanced networking with ENA is enabled. hypervisor - The hypervisor type (ovm | xen). image-id - The ID of the image. image-type - The image type (machine | kernel | ramdisk). is-public - A Boolean that indicates whether the image is public. kernel-id - The kernel ID. manifest-location - The location of the image manifest. name - The name of the AMI (provided during image creation). owner-alias - The owner alias (amazon | aws-marketplace). The valid aliases are defined in an Amazon-maintained list. This is not the Amazon Web Services account alias that can be set using the IAM console. We recommend that you use the Owner request parameter instead of this filter. owner-id - The Amazon Web Services account ID of the owner. We recommend that you use the Owner request parameter instead of this filter. platform - The platform. The only supported value is windows. product-code - The product code. product-code.type - The type of the product code (marketplace). ramdisk-id - The RAM disk ID. root-device-name - The device name of the root device volume (for example, /dev/sda1). root-device-type - The type of the root device volume (ebs | instance-store). state - The state of the image (available | pending | failed). state-reason-code - The reason code for the state change. state-reason-message - The message for the state change. sriov-net-support - A value of simple indicates that enhanced networking with the Intel 82599 VF interface is enabled. tag:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value. tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value. virtualization-type - The virtualization type (paravirtual | hvm).
|
14391
|
+
* The filters. architecture - The image architecture (i386 | x86_64 | arm64 | x86_64_mac | arm64_mac). block-device-mapping.delete-on-termination - A Boolean value that indicates whether the Amazon EBS volume is deleted on instance termination. block-device-mapping.device-name - The device name specified in the block device mapping (for example, /dev/sdh or xvdh). block-device-mapping.snapshot-id - The ID of the snapshot used for the Amazon EBS volume. block-device-mapping.volume-size - The volume size of the Amazon EBS volume, in GiB. block-device-mapping.volume-type - The volume type of the Amazon EBS volume (io1 | io2 | gp2 | gp3 | sc1 | st1 | standard). block-device-mapping.encrypted - A Boolean that indicates whether the Amazon EBS volume is encrypted. creation-date - The time when the image was created, in the ISO 8601 format in the UTC time zone (YYYY-MM-DDThh:mm:ss.sssZ), for example, 2021-09-29T11:04:43.305Z. You can use a wildcard (*), for example, 2021-09-29T*, which matches an entire day. description - The description of the image (provided during image creation). ena-support - A Boolean that indicates whether enhanced networking with ENA is enabled. hypervisor - The hypervisor type (ovm | xen). image-id - The ID of the image. image-type - The image type (machine | kernel | ramdisk). is-public - A Boolean that indicates whether the image is public. kernel-id - The kernel ID. manifest-location - The location of the image manifest. name - The name of the AMI (provided during image creation). owner-alias - The owner alias (amazon | aws-marketplace). The valid aliases are defined in an Amazon-maintained list. This is not the Amazon Web Services account alias that can be set using the IAM console. We recommend that you use the Owner request parameter instead of this filter. owner-id - The Amazon Web Services account ID of the owner. We recommend that you use the Owner request parameter instead of this filter. platform - The platform. The only supported value is windows. product-code - The product code. product-code.type - The type of the product code (marketplace). ramdisk-id - The RAM disk ID. root-device-name - The device name of the root device volume (for example, /dev/sda1). root-device-type - The type of the root device volume (ebs | instance-store). source-instance-id - The ID of the instance that the AMI was created from if the AMI was created using CreateImage. This filter is applicable only if the AMI was created using CreateImage. state - The state of the image (available | pending | failed). state-reason-code - The reason code for the state change. state-reason-message - The message for the state change. sriov-net-support - A value of simple indicates that enhanced networking with the Intel 82599 VF interface is enabled. tag:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value. tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value. virtualization-type - The virtualization type (paravirtual | hvm).
|
14376
14392
|
*/
|
14377
14393
|
Filters?: FilterList;
|
14378
14394
|
/**
|
@@ -14387,6 +14403,10 @@ declare namespace EC2 {
|
|
14387
14403
|
* Specifies whether to include deprecated AMIs. Default: No deprecated AMIs are included in the response. If you are the AMI owner, all deprecated AMIs appear in the response regardless of what you specify for this parameter.
|
14388
14404
|
*/
|
14389
14405
|
IncludeDeprecated?: Boolean;
|
14406
|
+
/**
|
14407
|
+
* Specifies whether to include disabled AMIs. Default: No disabled AMIs are included in the response.
|
14408
|
+
*/
|
14409
|
+
IncludeDisabled?: Boolean;
|
14390
14410
|
/**
|
14391
14411
|
* 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.
|
14392
14412
|
*/
|
@@ -16497,7 +16517,7 @@ declare namespace EC2 {
|
|
16497
16517
|
*/
|
16498
16518
|
DryRun?: Boolean;
|
16499
16519
|
/**
|
16500
|
-
* The filters. task-state - Returns tasks in a certain state (InProgress | Completed | Failed) bucket - Returns task information for tasks that targeted a specific bucket. For the filter value, specify the bucket name.
|
16520
|
+
* The filters. task-state - Returns tasks in a certain state (InProgress | Completed | Failed) bucket - Returns task information for tasks that targeted a specific bucket. For the filter value, specify the bucket name. When you specify the ImageIds parameter, any filters that you specify are ignored. To use the filters, you must remove the ImageIds parameter.
|
16501
16521
|
*/
|
16502
16522
|
Filters?: FilterList;
|
16503
16523
|
/**
|
@@ -16505,7 +16525,7 @@ declare namespace EC2 {
|
|
16505
16525
|
*/
|
16506
16526
|
NextToken?: String;
|
16507
16527
|
/**
|
16508
|
-
* The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination. You cannot specify this parameter and the
|
16528
|
+
* The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination. You cannot specify this parameter and the ImageIds parameter in the same call.
|
16509
16529
|
*/
|
16510
16530
|
MaxResults?: DescribeStoreImageTasksRequestMaxResults;
|
16511
16531
|
}
|
@@ -18140,6 +18160,22 @@ declare namespace EC2 {
|
|
18140
18160
|
*/
|
18141
18161
|
Return?: Boolean;
|
18142
18162
|
}
|
18163
|
+
export interface DisableImageRequest {
|
18164
|
+
/**
|
18165
|
+
* The ID of the AMI.
|
18166
|
+
*/
|
18167
|
+
ImageId: ImageId;
|
18168
|
+
/**
|
18169
|
+
* 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.
|
18170
|
+
*/
|
18171
|
+
DryRun?: Boolean;
|
18172
|
+
}
|
18173
|
+
export interface DisableImageResult {
|
18174
|
+
/**
|
18175
|
+
* Returns true if the request succeeds; otherwise, it returns an error.
|
18176
|
+
*/
|
18177
|
+
Return?: Boolean;
|
18178
|
+
}
|
18143
18179
|
export interface DisableIpamOrganizationAdminAccountRequest {
|
18144
18180
|
/**
|
18145
18181
|
* A check for 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.
|
@@ -19217,6 +19253,22 @@ declare namespace EC2 {
|
|
19217
19253
|
*/
|
19218
19254
|
Return?: Boolean;
|
19219
19255
|
}
|
19256
|
+
export interface EnableImageRequest {
|
19257
|
+
/**
|
19258
|
+
* The ID of the AMI.
|
19259
|
+
*/
|
19260
|
+
ImageId: ImageId;
|
19261
|
+
/**
|
19262
|
+
* 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.
|
19263
|
+
*/
|
19264
|
+
DryRun?: Boolean;
|
19265
|
+
}
|
19266
|
+
export interface EnableImageResult {
|
19267
|
+
/**
|
19268
|
+
* Returns true if the request succeeds; otherwise, it returns an error.
|
19269
|
+
*/
|
19270
|
+
Return?: Boolean;
|
19271
|
+
}
|
19220
19272
|
export interface EnableIpamOrganizationAdminAccountRequest {
|
19221
19273
|
/**
|
19222
19274
|
* A check for 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.
|
@@ -22318,7 +22370,7 @@ declare namespace EC2 {
|
|
22318
22370
|
*/
|
22319
22371
|
EnaSupport?: Boolean;
|
22320
22372
|
/**
|
22321
|
-
* The hypervisor type of the image.
|
22373
|
+
* The hypervisor type of the image. Only xen is supported. ovm is not supported.
|
22322
22374
|
*/
|
22323
22375
|
Hypervisor?: HypervisorType;
|
22324
22376
|
/**
|
@@ -22369,6 +22421,10 @@ declare namespace EC2 {
|
|
22369
22421
|
* If v2.0, it indicates that IMDSv2 is specified in the AMI. Instances launched from this AMI will have HttpTokens automatically set to required so that, by default, the instance requires that IMDSv2 is used when requesting instance metadata. In addition, HttpPutResponseHopLimit is set to 2. For more information, see Configure the AMI in the Amazon EC2 User Guide.
|
22370
22422
|
*/
|
22371
22423
|
ImdsSupport?: ImdsSupportValues;
|
22424
|
+
/**
|
22425
|
+
* The ID of the instance that the AMI was created from if the AMI was created using CreateImage. This field only appears if the AMI was created using CreateImage.
|
22426
|
+
*/
|
22427
|
+
SourceInstanceId?: String;
|
22372
22428
|
}
|
22373
22429
|
export interface ImageAttribute {
|
22374
22430
|
/**
|
@@ -22481,7 +22537,7 @@ declare namespace EC2 {
|
|
22481
22537
|
RecycleBinExitTime?: MillisecondDateTime;
|
22482
22538
|
}
|
22483
22539
|
export type ImageRecycleBinInfoList = ImageRecycleBinInfo[];
|
22484
|
-
export type ImageState = "pending"|"available"|"invalid"|"deregistered"|"transient"|"failed"|"error"|string;
|
22540
|
+
export type ImageState = "pending"|"available"|"invalid"|"deregistered"|"transient"|"failed"|"error"|"disabled"|string;
|
22485
22541
|
export type ImageTypeValues = "machine"|"kernel"|"ramdisk"|string;
|
22486
22542
|
export type ImdsSupportValues = "v2.0"|string;
|
22487
22543
|
export interface ImportClientVpnClientCertificateRevocationListRequest {
|
package/clients/elbv2.d.ts
CHANGED
@@ -277,11 +277,11 @@ declare class ELBv2 extends Service {
|
|
277
277
|
*/
|
278
278
|
setSecurityGroups(callback?: (err: AWSError, data: ELBv2.Types.SetSecurityGroupsOutput) => void): Request<ELBv2.Types.SetSecurityGroupsOutput, AWSError>;
|
279
279
|
/**
|
280
|
-
* Enables the Availability Zones for the specified public subnets for the specified Application Load Balancer or
|
280
|
+
* Enables the Availability Zones for the specified public subnets for the specified Application Load Balancer, Network Load Balancer or Gateway Load Balancer. The specified subnets replace the previously enabled subnets. When you specify subnets for a Network Load Balancer, or Gateway Load Balancer you must include all subnets that were enabled previously, with their existing configurations, plus any additional subnets.
|
281
281
|
*/
|
282
282
|
setSubnets(params: ELBv2.Types.SetSubnetsInput, callback?: (err: AWSError, data: ELBv2.Types.SetSubnetsOutput) => void): Request<ELBv2.Types.SetSubnetsOutput, AWSError>;
|
283
283
|
/**
|
284
|
-
* Enables the Availability Zones for the specified public subnets for the specified Application Load Balancer or
|
284
|
+
* Enables the Availability Zones for the specified public subnets for the specified Application Load Balancer, Network Load Balancer or Gateway Load Balancer. The specified subnets replace the previously enabled subnets. When you specify subnets for a Network Load Balancer, or Gateway Load Balancer you must include all subnets that were enabled previously, with their existing configurations, plus any additional subnets.
|
285
285
|
*/
|
286
286
|
setSubnets(callback?: (err: AWSError, data: ELBv2.Types.SetSubnetsOutput) => void): Request<ELBv2.Types.SetSubnetsOutput, AWSError>;
|
287
287
|
/**
|
@@ -1218,7 +1218,7 @@ declare namespace ELBv2 {
|
|
1218
1218
|
export type LoadBalancerArns = LoadBalancerArn[];
|
1219
1219
|
export interface LoadBalancerAttribute {
|
1220
1220
|
/**
|
1221
|
-
* The name of the attribute. The following attributes are supported by all load balancers: deletion_protection.enabled - Indicates whether deletion protection is enabled. The value is true or false. The default is false. load_balancing.cross_zone.enabled - Indicates whether cross-zone load balancing is enabled. The possible values are true and false. The default for Network Load Balancers and Gateway Load Balancers is false. The default for Application Load Balancers is true, and cannot be changed. The following attributes are supported by both Application Load Balancers and Network Load Balancers: access_logs.s3.enabled - Indicates whether access logs are enabled. The value is true or false. The default is false. access_logs.s3.bucket - The name of the S3 bucket for the access logs. This attribute is required if access logs are enabled. The bucket must exist in the same region as the load balancer and have a bucket policy that grants Elastic Load Balancing permissions to write to the bucket. access_logs.s3.prefix - The prefix for the location in the S3 bucket for the access logs. ipv6.deny_all_igw_traffic - Blocks internet gateway (IGW) access to the load balancer. It is set to false for internet-facing load balancers and true for internal load balancers, preventing unintended access to your internal load balancer through an internet gateway. The following attributes are supported by only Application Load Balancers: idle_timeout.timeout_seconds - The idle timeout value, in seconds. The valid range is 1-4000 seconds. The default is 60 seconds. routing.http.desync_mitigation_mode - Determines how the load balancer handles requests that might pose a security risk to your application. The possible values are monitor, defensive, and strictest. The default is defensive. routing.http.drop_invalid_header_fields.enabled - Indicates whether HTTP headers with invalid header fields are removed by the load balancer (true) or routed to targets (false). The default is false. routing.http.preserve_host_header.enabled - Indicates whether the Application Load Balancer should preserve the Host header in the HTTP request and send it to the target without any change. The possible values are true and false. The default is false. routing.http.x_amzn_tls_version_and_cipher_suite.enabled - Indicates whether the two headers (x-amzn-tls-version and x-amzn-tls-cipher-suite), which contain information about the negotiated TLS version and cipher suite, are added to the client request before sending it to the target. The x-amzn-tls-version header has information about the TLS protocol version negotiated with the client, and the x-amzn-tls-cipher-suite header has information about the cipher suite negotiated with the client. Both headers are in OpenSSL format. The possible values for the attribute are true and false. The default is false. routing.http.xff_client_port.enabled - Indicates whether the X-Forwarded-For header should preserve the source port that the client used to connect to the load balancer. The possible values are true and false. The default is false. routing.http.xff_header_processing.mode - Enables you to modify, preserve, or remove the X-Forwarded-For header in the HTTP request before the Application Load Balancer sends the request to the target. The possible values are append, preserve, and remove. The default is append. If the value is append, the Application Load Balancer adds the client IP address (of the last hop) to the X-Forwarded-For header in the HTTP request before it sends it to targets. If the value is preserve the Application Load Balancer preserves the X-Forwarded-For header in the HTTP request, and sends it to targets without any change. If the value is remove, the Application Load Balancer removes the X-Forwarded-For header in the HTTP request before it sends it to targets. routing.http2.enabled - Indicates whether HTTP/2 is enabled. The possible values are true and false. The default is true. Elastic Load Balancing requires that message header names contain only alphanumeric characters and hyphens. waf.fail_open.enabled - Indicates whether to allow a WAF-enabled load balancer to route requests to targets if it is unable to forward the request to Amazon Web Services WAF. The possible values are true and false. The default is false.
|
1221
|
+
* The name of the attribute. The following attributes are supported by all load balancers: deletion_protection.enabled - Indicates whether deletion protection is enabled. The value is true or false. The default is false. load_balancing.cross_zone.enabled - Indicates whether cross-zone load balancing is enabled. The possible values are true and false. The default for Network Load Balancers and Gateway Load Balancers is false. The default for Application Load Balancers is true, and cannot be changed. The following attributes are supported by both Application Load Balancers and Network Load Balancers: access_logs.s3.enabled - Indicates whether access logs are enabled. The value is true or false. The default is false. access_logs.s3.bucket - The name of the S3 bucket for the access logs. This attribute is required if access logs are enabled. The bucket must exist in the same region as the load balancer and have a bucket policy that grants Elastic Load Balancing permissions to write to the bucket. access_logs.s3.prefix - The prefix for the location in the S3 bucket for the access logs. ipv6.deny_all_igw_traffic - Blocks internet gateway (IGW) access to the load balancer. It is set to false for internet-facing load balancers and true for internal load balancers, preventing unintended access to your internal load balancer through an internet gateway. The following attributes are supported by only Application Load Balancers: idle_timeout.timeout_seconds - The idle timeout value, in seconds. The valid range is 1-4000 seconds. The default is 60 seconds. routing.http.desync_mitigation_mode - Determines how the load balancer handles requests that might pose a security risk to your application. The possible values are monitor, defensive, and strictest. The default is defensive. routing.http.drop_invalid_header_fields.enabled - Indicates whether HTTP headers with invalid header fields are removed by the load balancer (true) or routed to targets (false). The default is false. routing.http.preserve_host_header.enabled - Indicates whether the Application Load Balancer should preserve the Host header in the HTTP request and send it to the target without any change. The possible values are true and false. The default is false. routing.http.x_amzn_tls_version_and_cipher_suite.enabled - Indicates whether the two headers (x-amzn-tls-version and x-amzn-tls-cipher-suite), which contain information about the negotiated TLS version and cipher suite, are added to the client request before sending it to the target. The x-amzn-tls-version header has information about the TLS protocol version negotiated with the client, and the x-amzn-tls-cipher-suite header has information about the cipher suite negotiated with the client. Both headers are in OpenSSL format. The possible values for the attribute are true and false. The default is false. routing.http.xff_client_port.enabled - Indicates whether the X-Forwarded-For header should preserve the source port that the client used to connect to the load balancer. The possible values are true and false. The default is false. routing.http.xff_header_processing.mode - Enables you to modify, preserve, or remove the X-Forwarded-For header in the HTTP request before the Application Load Balancer sends the request to the target. The possible values are append, preserve, and remove. The default is append. If the value is append, the Application Load Balancer adds the client IP address (of the last hop) to the X-Forwarded-For header in the HTTP request before it sends it to targets. If the value is preserve the Application Load Balancer preserves the X-Forwarded-For header in the HTTP request, and sends it to targets without any change. If the value is remove, the Application Load Balancer removes the X-Forwarded-For header in the HTTP request before it sends it to targets. routing.http2.enabled - Indicates whether HTTP/2 is enabled. The possible values are true and false. The default is true. Elastic Load Balancing requires that message header names contain only alphanumeric characters and hyphens. waf.fail_open.enabled - Indicates whether to allow a WAF-enabled load balancer to route requests to targets if it is unable to forward the request to Amazon Web Services WAF. The possible values are true and false. The default is false. The following attributes are supported by only Network Load Balancers: dns_record.client_routing_policy - Indicates how traffic is distributed among the load balancer Availability Zones. The possible values are availability_zone_affinity with 100 percent zonal affinity, partial_availability_zone_affinity with 85 percent zonal affinity, and any_availability_zone with 0 percent zonal affinity.
|
1222
1222
|
*/
|
1223
1223
|
Key?: LoadBalancerAttributeKey;
|
1224
1224
|
/**
|
@@ -1626,15 +1626,15 @@ declare namespace ELBv2 {
|
|
1626
1626
|
*/
|
1627
1627
|
LoadBalancerArn: LoadBalancerArn;
|
1628
1628
|
/**
|
1629
|
-
* The IDs of the public subnets. You can specify only one subnet per Availability Zone. You must specify either subnets or subnet mappings. [Application Load Balancers] You must specify subnets from at least two Availability Zones. [Application Load Balancers on Outposts] You must specify one Outpost subnet. [Application Load Balancers on Local Zones] You can specify subnets from one or more Local Zones. [Network Load Balancers] You can specify subnets from one or more Availability Zones.
|
1629
|
+
* The IDs of the public subnets. You can specify only one subnet per Availability Zone. You must specify either subnets or subnet mappings. [Application Load Balancers] You must specify subnets from at least two Availability Zones. [Application Load Balancers on Outposts] You must specify one Outpost subnet. [Application Load Balancers on Local Zones] You can specify subnets from one or more Local Zones. [Network Load Balancers] You can specify subnets from one or more Availability Zones. [Gateway Load Balancers] You can specify subnets from one or more Availability Zones.
|
1630
1630
|
*/
|
1631
1631
|
Subnets?: Subnets;
|
1632
1632
|
/**
|
1633
|
-
* The IDs of the public subnets. You can specify only one subnet per Availability Zone. You must specify either subnets or subnet mappings. [Application Load Balancers] You must specify subnets from at least two Availability Zones. You cannot specify Elastic IP addresses for your subnets. [Application Load Balancers on Outposts] You must specify one Outpost subnet. [Application Load Balancers on Local Zones] You can specify subnets from one or more Local Zones. [Network Load Balancers] You can specify subnets from one or more Availability Zones. You can specify one Elastic IP address per subnet if you need static IP addresses for your internet-facing load balancer. For internal load balancers, you can specify one private IP address per subnet from the IPv4 range of the subnet. For internet-facing load balancer, you can specify one IPv6 address per subnet.
|
1633
|
+
* The IDs of the public subnets. You can specify only one subnet per Availability Zone. You must specify either subnets or subnet mappings. [Application Load Balancers] You must specify subnets from at least two Availability Zones. You cannot specify Elastic IP addresses for your subnets. [Application Load Balancers on Outposts] You must specify one Outpost subnet. [Application Load Balancers on Local Zones] You can specify subnets from one or more Local Zones. [Network Load Balancers] You can specify subnets from one or more Availability Zones. You can specify one Elastic IP address per subnet if you need static IP addresses for your internet-facing load balancer. For internal load balancers, you can specify one private IP address per subnet from the IPv4 range of the subnet. For internet-facing load balancer, you can specify one IPv6 address per subnet. [Gateway Load Balancers] You can specify subnets from one or more Availability Zones.
|
1634
1634
|
*/
|
1635
1635
|
SubnetMappings?: SubnetMappings;
|
1636
1636
|
/**
|
1637
|
-
* [Network Load Balancers] The type of IP addresses used by the subnets for your load balancer. The possible values are ipv4 (for IPv4 addresses) and dualstack (for IPv4 and IPv6 addresses). You can’t specify dualstack for a load balancer with a UDP or TCP_UDP listener.
|
1637
|
+
* [Network Load Balancers] The type of IP addresses used by the subnets for your load balancer. The possible values are ipv4 (for IPv4 addresses) and dualstack (for IPv4 and IPv6 addresses). You can’t specify dualstack for a load balancer with a UDP or TCP_UDP listener. [Gateway Load Balancers] The type of IP addresses used by the subnets for your load balancer. The possible values are ipv4 (for IPv4 addresses) and dualstack (for IPv4 and IPv6 addresses).
|
1638
1638
|
*/
|
1639
1639
|
IpAddressType?: IpAddressType;
|
1640
1640
|
}
|
@@ -1644,7 +1644,7 @@ declare namespace ELBv2 {
|
|
1644
1644
|
*/
|
1645
1645
|
AvailabilityZones?: AvailabilityZones;
|
1646
1646
|
/**
|
1647
|
-
* [Network Load Balancers] The IP address type.
|
1647
|
+
* [Network Load Balancers] The IP address type. [Gateway Load Balancers] The IP address type.
|
1648
1648
|
*/
|
1649
1649
|
IpAddressType?: IpAddressType;
|
1650
1650
|
}
|