aws-sdk 2.624.0 → 2.628.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. package/CHANGELOG.md +24 -1
  2. package/README.md +1 -1
  3. package/apis/ec2-2016-11-15.min.json +1 -0
  4. package/apis/eventbridge-2015-10-07.min.json +8 -5
  5. package/apis/events-2015-10-07.min.json +8 -5
  6. package/apis/fsx-2018-03-01.min.json +28 -19
  7. package/apis/globalaccelerator-2018-08-08.min.json +235 -30
  8. package/apis/kafka-2018-11-14.min.json +118 -37
  9. package/apis/lightsail-2016-11-28.min.json +368 -110
  10. package/apis/outposts-2019-12-03.min.json +44 -0
  11. package/apis/sagemaker-2017-07-24.min.json +163 -147
  12. package/apis/securityhub-2018-10-26.min.json +19 -15
  13. package/apis/snowball-2016-06-30.min.json +36 -13
  14. package/apis/states-2016-11-23.min.json +3 -0
  15. package/apis/transcribe-2017-10-26.min.json +23 -2
  16. package/clients/cloudwatchevents.d.ts +115 -111
  17. package/clients/docdb.d.ts +5 -5
  18. package/clients/ec2.d.ts +7 -7
  19. package/clients/eventbridge.d.ts +117 -113
  20. package/clients/fsx.d.ts +30 -7
  21. package/clients/globalaccelerator.d.ts +240 -23
  22. package/clients/iotevents.d.ts +22 -22
  23. package/clients/kafka.d.ts +25 -0
  24. package/clients/lightsail.d.ts +492 -130
  25. package/clients/outposts.d.ts +26 -0
  26. package/clients/sagemaker.d.ts +47 -28
  27. package/clients/secretsmanager.d.ts +7 -1
  28. package/clients/securityhub.d.ts +31 -25
  29. package/clients/snowball.d.ts +32 -3
  30. package/clients/stepfunctions.d.ts +36 -38
  31. package/clients/transcribeservice.d.ts +33 -5
  32. package/dist/aws-sdk-core-react-native.js +1 -1
  33. package/dist/aws-sdk-react-native.js +15 -15
  34. package/dist/aws-sdk.js +13 -9
  35. package/dist/aws-sdk.min.js +45 -45
  36. package/lib/core.js +1 -1
  37. package/lib/s3/managed_upload.js +1 -1
  38. package/package.json +2 -2
package/clients/fsx.d.ts CHANGED
@@ -314,9 +314,17 @@ declare namespace FSx {
314
314
  */
315
315
  ExportPath?: ArchivePath;
316
316
  /**
317
- * (Optional) For files imported from a data repository, this value determines the stripe count and maximum amount of data per file (in MiB) stored on a single physical disk. The maximum number of disks that a single file can be striped across is limited by the total number of disks that make up the file system. The chunk size default is 1,024 MiB (1 GiB) and can go as high as 512,000 MiB (500 GiB). Amazon S3 objects have a maximum size of 5 TB.
317
+ * (Optional) For files imported from a data repository, this value determines the stripe count and maximum amount of data per file (in MiB) stored on a single physical disk. The maximum number of disks that a single file can be striped across is limited by the total number of disks that make up the file system. The default chunk size is 1,024 MiB (1 GiB) and can go as high as 512,000 MiB (500 GiB). Amazon S3 objects have a maximum size of 5 TB.
318
318
  */
319
319
  ImportedFileChunkSize?: Megabytes;
320
+ /**
321
+ * (Optional) Choose SCRATCH_1 and SCRATCH_2 deployment types when you need temporary storage and shorter-term processing of data. The SCRATCH_2 deployment type provides in-transit encryption of data and higher burst throughput capacity than SCRATCH_1. Choose PERSISTENT_1 deployment type for longer-term storage and workloads and encryption of data in transit. To learn more about deployment types, see FSx for Lustre Deployment Options. Encryption of data in-transit is automatically enabled when you access a SCRATCH_2 or PERSISTENT_1 file system from Amazon EC2 instances that support this feature. (Default = SCRATCH_1) Encryption of data in-transit for SCRATCH_2 and PERSISTENT_1 deployment types is supported when accessed from supported instance types in supported AWS Regions. To learn more, Encrypting Data in Transit.
322
+ */
323
+ DeploymentType?: LustreDeploymentType;
324
+ /**
325
+ * (Optional) For the PERSISTENT_1 deployment type, describes the amount of read and write throughput for each 1 tebibyte of storage, in MB/s/TiB. File system throughput capacity is calculated by multiplying file system storage capacity (TiB) by the PerUnitStorageThroughput (MB/s/TiB). For a 2.4 TiB file system, provisioning 50 MB/s/TiB of PerUnitStorageThroughput yields 120 MB/s of file system throughput. You pay for the amount of throughput that you provision. (Default = 200 MB/s/TiB) Valid values are 50, 100, 200.
326
+ */
327
+ PerUnitStorageThroughput?: PerUnitStorageThroughput;
320
328
  }
321
329
  export interface CreateFileSystemRequest {
322
330
  /**
@@ -324,15 +332,15 @@ declare namespace FSx {
324
332
  */
325
333
  ClientRequestToken?: ClientRequestToken;
326
334
  /**
327
- * The type of Amazon FSx file system to create.
335
+ * The type of Amazon FSx file system to create, either WINDOWS or LUSTRE.
328
336
  */
329
337
  FileSystemType: FileSystemType;
330
338
  /**
331
- * The storage capacity of the file system being created. For Windows file systems, valid values are 32 GiB - 65,536 GiB. For Lustre file systems, valid values are 1,200, 2,400, 3,600, then continuing in increments of 3600 GiB.
339
+ * The storage capacity of the file system being created. For Windows file systems, valid values are 32 GiB - 65,536 GiB. For SCRATCH_1 Lustre file systems, valid values are 1,200, 2,400, 3,600, then continuing in increments of 3600 GiB. For SCRATCH_2 and PERSISTENT_1 file systems, valid values are 1200, 2400, then continuing in increments of 2400 GiB.
332
340
  */
333
341
  StorageCapacity: StorageCapacity;
334
342
  /**
335
- * Specifies the IDs of the subnets that the file system will be accessible from. For Windows MULTI_AZ_1 file system deployment types, provide exactly two subnet IDs, one for the preferred file server and one for the standy file server. You specify one of these subnets as the preferred subnet using the WindowsConfiguration > PreferredSubnetID property. For Windows SINGLE_AZ_1 file system deployment types and Lustre file systems, provide exactly one subnet ID. The file server is launched in that subnet's Availability Zone.
343
+ * Specifies the IDs of the subnets that the file system will be accessible from. For Windows MULTI_AZ_1 file system deployment types, provide exactly two subnet IDs, one for the preferred file server and one for the standby file server. You specify one of these subnets as the preferred subnet using the WindowsConfiguration > PreferredSubnetID property. For Windows SINGLE_AZ_1 file system deployment types and Lustre file systems, provide exactly one subnet ID. The file server is launched in that subnet's Availability Zone.
336
344
  */
337
345
  SubnetIds: SubnetIds;
338
346
  /**
@@ -387,7 +395,7 @@ declare namespace FSx {
387
395
  */
388
396
  AutomaticBackupRetentionDays?: AutomaticBackupRetentionDays;
389
397
  /**
390
- * A boolean flag indicating whether tags for the file system should be copied to backups. This value defaults to false. If it's set to true, all tags for the file system are copied to all automatic and user-initiated backups where the user doesn't specify tags. If this value is true, and you specify one or more tags, only the specified tags are copied to backups.
398
+ * A boolean flag indicating whether tags for the file system should be copied to backups. This value defaults to false. If it's set to true, all tags for the file system are copied to all automatic and user-initiated backups where the user doesn't specify tags. If this value is true, and you specify one or more tags, only the specified tags are copied to backups. If you specify one or more tags when creating a user-initiated backup, no tags are copied from the file system, regardless of this value.
391
399
  */
392
400
  CopyTagsToBackups?: Flag;
393
401
  }
@@ -670,7 +678,7 @@ declare namespace FSx {
670
678
  */
671
679
  DNSName?: DNSName;
672
680
  /**
673
- * The ID of the AWS Key Management Service (AWS KMS) key used to encrypt the file system's data for an Amazon FSx for Windows File Server file system. Amazon FSx for Lustre does not support KMS encryption.
681
+ * The ID of the AWS Key Management Service (AWS KMS) key used to encrypt the file system's data for Amazon FSx for Windows File Server file systems and persistent Amazon FSx for Lustre file systems at rest. In either case, if not specified, the Amazon FSx managed key is used. The scratch Amazon FSx for Lustre file systems are always encrypted at rest using Amazon FSx managed keys. For more information, see Encrypt in the AWS Key Management Service API Reference.
674
682
  */
675
683
  KmsKeyId?: KmsKeyId;
676
684
  /**
@@ -743,13 +751,27 @@ declare namespace FSx {
743
751
  */
744
752
  NextToken?: NextToken;
745
753
  }
754
+ export type LustreDeploymentType = "SCRATCH_1"|"SCRATCH_2"|"PERSISTENT_1"|string;
746
755
  export interface LustreFileSystemConfiguration {
747
756
  /**
748
757
  * The UTC time that you want to begin your weekly maintenance window.
749
758
  */
750
759
  WeeklyMaintenanceStartTime?: WeeklyTime;
751
760
  DataRepositoryConfiguration?: DataRepositoryConfiguration;
761
+ /**
762
+ * The deployment type of the FSX for Lustre file system.
763
+ */
764
+ DeploymentType?: LustreDeploymentType;
765
+ /**
766
+ * Per unit storage throughput represents the megabytes per second of read or write throughput per 1 tebibyte of storage provisioned. File system throughput capacity is equal to Storage capacity (TiB) * PerUnitStorageThroughput (MB/s/TiB). This option is only valid for PERSISTENT_1 deployment types. Valid values are 50, 100, 200.
767
+ */
768
+ PerUnitStorageThroughput?: PerUnitStorageThroughput;
769
+ /**
770
+ * You use the MountName value when mounting the file system. For the SCRATCH_1 deployment type, this value is always "fsx". For SCRATCH_2 and PERSISTENT_1 deployment types, this value is a string that is unique within an AWS Region.
771
+ */
772
+ MountName?: LustreFileSystemMountName;
752
773
  }
774
+ export type LustreFileSystemMountName = string;
753
775
  export type MaxResults = number;
754
776
  export type Megabytes = number;
755
777
  export type MegabytesPerSecond = number;
@@ -757,6 +779,7 @@ declare namespace FSx {
757
779
  export type NetworkInterfaceIds = NetworkInterfaceId[];
758
780
  export type NextToken = string;
759
781
  export type OrganizationalUnitDistinguishedName = string;
782
+ export type PerUnitStorageThroughput = number;
760
783
  export type ProgressPercent = number;
761
784
  export type ReportFormat = "REPORT_CSV_20191124"|string;
762
785
  export type ReportScope = "FAILED_FILES_ONLY"|string;
@@ -959,7 +982,7 @@ declare namespace FSx {
959
982
  */
960
983
  AutomaticBackupRetentionDays?: AutomaticBackupRetentionDays;
961
984
  /**
962
- * A boolean flag indicating whether tags on the file system should be copied to backups. This value defaults to false. If it's set to true, all tags on the file system are copied to all automatic backups and any user-initiated backups where the user doesn't specify any tags. If this value is true, and you specify one or more tags, only the specified tags are copied to backups.
985
+ * A boolean flag indicating whether tags on the file system should be copied to backups. This value defaults to false. If it's set to true, all tags on the file system are copied to all automatic backups and any user-initiated backups where the user doesn't specify any tags. If this value is true, and you specify one or more tags, only the specified tags are copied to backups. If you specify one or more tags when creating a user-initiated backup, no tags are copied from the file system, regardless of this value.
963
986
  */
964
987
  CopyTagsToBackups?: Flag;
965
988
  }
@@ -12,11 +12,19 @@ declare class GlobalAccelerator extends Service {
12
12
  constructor(options?: GlobalAccelerator.Types.ClientConfiguration)
13
13
  config: Config & GlobalAccelerator.Types.ClientConfiguration;
14
14
  /**
15
- * 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. To see an AWS CLI example of creating an accelerator, scroll down to Example. You must specify the US-West-2 (Oregon) Region to create or update accelerators.
15
+ * Advertises an IPv4 address range that is provisioned for use with your AWS resources through bring your own IP addresses (BYOIP). It can take a few minutes before traffic to the specified addresses starts routing to AWS because of propagation delays. To see an AWS CLI example of advertising an address range, scroll down to Example. To stop advertising the BYOIP address range, use WithdrawByoipCidr. For more information, see Bring Your Own IP Addresses (BYOIP) in the AWS Global Accelerator Developer Guide.
16
+ */
17
+ advertiseByoipCidr(params: GlobalAccelerator.Types.AdvertiseByoipCidrRequest, callback?: (err: AWSError, data: GlobalAccelerator.Types.AdvertiseByoipCidrResponse) => void): Request<GlobalAccelerator.Types.AdvertiseByoipCidrResponse, AWSError>;
18
+ /**
19
+ * Advertises an IPv4 address range that is provisioned for use with your AWS resources through bring your own IP addresses (BYOIP). It can take a few minutes before traffic to the specified addresses starts routing to AWS because of propagation delays. To see an AWS CLI example of advertising an address range, scroll down to Example. To stop advertising the BYOIP address range, use WithdrawByoipCidr. For more information, see Bring Your Own IP Addresses (BYOIP) in the AWS Global Accelerator Developer Guide.
20
+ */
21
+ advertiseByoipCidr(callback?: (err: AWSError, data: GlobalAccelerator.Types.AdvertiseByoipCidrResponse) => void): Request<GlobalAccelerator.Types.AdvertiseByoipCidrResponse, AWSError>;
22
+ /**
23
+ * 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. To see an AWS CLI example of creating an accelerator, scroll down to Example. If you bring your own IP address ranges to AWS Global Accelerator (BYOIP), you can assign IP addresses from your own pool to your accelerator as the static IP address entry points. Only one IP address from each of your IP address ranges can be used for each accelerator. You must specify the US West (Oregon) Region to create or update accelerators.
16
24
  */
17
25
  createAccelerator(params: GlobalAccelerator.Types.CreateAcceleratorRequest, callback?: (err: AWSError, data: GlobalAccelerator.Types.CreateAcceleratorResponse) => void): Request<GlobalAccelerator.Types.CreateAcceleratorResponse, AWSError>;
18
26
  /**
19
- * 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. To see an AWS CLI example of creating an accelerator, scroll down to Example. You must specify the US-West-2 (Oregon) Region to create or update accelerators.
27
+ * 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. To see an AWS CLI example of creating an accelerator, scroll down to Example. If you bring your own IP address ranges to AWS Global Accelerator (BYOIP), you can assign IP addresses from your own pool to your accelerator as the static IP address entry points. Only one IP address from each of your IP address ranges can be used for each accelerator. You must specify the US West (Oregon) Region to create or update accelerators.
20
28
  */
21
29
  createAccelerator(callback?: (err: AWSError, data: GlobalAccelerator.Types.CreateAcceleratorResponse) => void): Request<GlobalAccelerator.Types.CreateAcceleratorResponse, AWSError>;
22
30
  /**
@@ -36,11 +44,11 @@ declare class GlobalAccelerator extends Service {
36
44
  */
37
45
  createListener(callback?: (err: AWSError, data: GlobalAccelerator.Types.CreateListenerResponse) => void): Request<GlobalAccelerator.Types.CreateListenerResponse, AWSError>;
38
46
  /**
39
- * Delete an accelerator. Note: before you can delete an accelerator, you must disable it and remove all dependent resources (listeners and endpoint groups).
47
+ * 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 Authentication and Access Control in the AWS Global Accelerator Developer Guide.
40
48
  */
41
49
  deleteAccelerator(params: GlobalAccelerator.Types.DeleteAcceleratorRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
42
50
  /**
43
- * Delete an accelerator. Note: before you can delete an accelerator, you must disable it and remove all dependent resources (listeners and endpoint groups).
51
+ * 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 Authentication and Access Control in the AWS Global Accelerator Developer Guide.
44
52
  */
45
53
  deleteAccelerator(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
46
54
  /**
@@ -59,6 +67,14 @@ declare class GlobalAccelerator extends Service {
59
67
  * Delete a listener from an accelerator.
60
68
  */
61
69
  deleteListener(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
70
+ /**
71
+ * Releases the specified address range that you provisioned to use with your AWS resources through bring your own IP addresses (BYOIP) and deletes the corresponding address pool. To see an AWS CLI example of deprovisioning an address range, scroll down to Example. Before you can release an address range, you must stop advertising it by using WithdrawByoipCidr and you must not have any accelerators that are using static IP addresses allocated from its address range. For more information, see Bring Your Own IP Addresses (BYOIP) in the AWS Global Accelerator Developer Guide.
72
+ */
73
+ deprovisionByoipCidr(params: GlobalAccelerator.Types.DeprovisionByoipCidrRequest, callback?: (err: AWSError, data: GlobalAccelerator.Types.DeprovisionByoipCidrResponse) => void): Request<GlobalAccelerator.Types.DeprovisionByoipCidrResponse, AWSError>;
74
+ /**
75
+ * Releases the specified address range that you provisioned to use with your AWS resources through bring your own IP addresses (BYOIP) and deletes the corresponding address pool. To see an AWS CLI example of deprovisioning an address range, scroll down to Example. Before you can release an address range, you must stop advertising it by using WithdrawByoipCidr and you must not have any accelerators that are using static IP addresses allocated from its address range. For more information, see Bring Your Own IP Addresses (BYOIP) in the AWS Global Accelerator Developer Guide.
76
+ */
77
+ deprovisionByoipCidr(callback?: (err: AWSError, data: GlobalAccelerator.Types.DeprovisionByoipCidrResponse) => void): Request<GlobalAccelerator.Types.DeprovisionByoipCidrResponse, AWSError>;
62
78
  /**
63
79
  * Describe an accelerator. To see an AWS CLI example of describing an accelerator, scroll down to Example.
64
80
  */
@@ -68,11 +84,11 @@ declare class GlobalAccelerator extends Service {
68
84
  */
69
85
  describeAccelerator(callback?: (err: AWSError, data: GlobalAccelerator.Types.DescribeAcceleratorResponse) => void): Request<GlobalAccelerator.Types.DescribeAcceleratorResponse, AWSError>;
70
86
  /**
71
- * Describe the attributes of an accelerator.
87
+ * Describe the attributes of an accelerator. To see an AWS CLI example of describing the attributes of an accelerator, scroll down to Example.
72
88
  */
73
89
  describeAcceleratorAttributes(params: GlobalAccelerator.Types.DescribeAcceleratorAttributesRequest, callback?: (err: AWSError, data: GlobalAccelerator.Types.DescribeAcceleratorAttributesResponse) => void): Request<GlobalAccelerator.Types.DescribeAcceleratorAttributesResponse, AWSError>;
74
90
  /**
75
- * Describe the attributes of an accelerator.
91
+ * Describe the attributes of an accelerator. To see an AWS CLI example of describing the attributes of an accelerator, scroll down to Example.
76
92
  */
77
93
  describeAcceleratorAttributes(callback?: (err: AWSError, data: GlobalAccelerator.Types.DescribeAcceleratorAttributesResponse) => void): Request<GlobalAccelerator.Types.DescribeAcceleratorAttributesResponse, AWSError>;
78
94
  /**
@@ -84,43 +100,83 @@ declare class GlobalAccelerator extends Service {
84
100
  */
85
101
  describeEndpointGroup(callback?: (err: AWSError, data: GlobalAccelerator.Types.DescribeEndpointGroupResponse) => void): Request<GlobalAccelerator.Types.DescribeEndpointGroupResponse, AWSError>;
86
102
  /**
87
- * Describe a listener.
103
+ * Describe a listener. To see an AWS CLI example of describing a listener, scroll down to Example.
88
104
  */
89
105
  describeListener(params: GlobalAccelerator.Types.DescribeListenerRequest, callback?: (err: AWSError, data: GlobalAccelerator.Types.DescribeListenerResponse) => void): Request<GlobalAccelerator.Types.DescribeListenerResponse, AWSError>;
90
106
  /**
91
- * Describe a listener.
107
+ * Describe a listener. To see an AWS CLI example of describing a listener, scroll down to Example.
92
108
  */
93
109
  describeListener(callback?: (err: AWSError, data: GlobalAccelerator.Types.DescribeListenerResponse) => void): Request<GlobalAccelerator.Types.DescribeListenerResponse, AWSError>;
94
110
  /**
95
- * List the accelerators for an AWS account.
111
+ * List the accelerators for an AWS account. To see an AWS CLI example of listing the accelerators for an AWS account, scroll down to Example.
96
112
  */
97
113
  listAccelerators(params: GlobalAccelerator.Types.ListAcceleratorsRequest, callback?: (err: AWSError, data: GlobalAccelerator.Types.ListAcceleratorsResponse) => void): Request<GlobalAccelerator.Types.ListAcceleratorsResponse, AWSError>;
98
114
  /**
99
- * List the accelerators for an AWS account.
115
+ * List the accelerators for an AWS account. To see an AWS CLI example of listing the accelerators for an AWS account, scroll down to Example.
100
116
  */
101
117
  listAccelerators(callback?: (err: AWSError, data: GlobalAccelerator.Types.ListAcceleratorsResponse) => void): Request<GlobalAccelerator.Types.ListAcceleratorsResponse, AWSError>;
102
118
  /**
103
- * List the endpoint groups that are associated with a listener.
119
+ * Lists the IP address ranges that were specified in calls to ProvisionByoipCidr. To see an AWS CLI example of listing BYOIP CIDR addresses, scroll down to Example.
120
+ */
121
+ listByoipCidrs(params: GlobalAccelerator.Types.ListByoipCidrsRequest, callback?: (err: AWSError, data: GlobalAccelerator.Types.ListByoipCidrsResponse) => void): Request<GlobalAccelerator.Types.ListByoipCidrsResponse, AWSError>;
122
+ /**
123
+ * Lists the IP address ranges that were specified in calls to ProvisionByoipCidr. To see an AWS CLI example of listing BYOIP CIDR addresses, scroll down to Example.
124
+ */
125
+ listByoipCidrs(callback?: (err: AWSError, data: GlobalAccelerator.Types.ListByoipCidrsResponse) => void): Request<GlobalAccelerator.Types.ListByoipCidrsResponse, AWSError>;
126
+ /**
127
+ * List the endpoint groups that are associated with a listener. To see an AWS CLI example of listing the endpoint groups for listener, scroll down to Example.
104
128
  */
105
129
  listEndpointGroups(params: GlobalAccelerator.Types.ListEndpointGroupsRequest, callback?: (err: AWSError, data: GlobalAccelerator.Types.ListEndpointGroupsResponse) => void): Request<GlobalAccelerator.Types.ListEndpointGroupsResponse, AWSError>;
106
130
  /**
107
- * List the endpoint groups that are associated with a listener.
131
+ * List the endpoint groups that are associated with a listener. To see an AWS CLI example of listing the endpoint groups for listener, scroll down to Example.
108
132
  */
109
133
  listEndpointGroups(callback?: (err: AWSError, data: GlobalAccelerator.Types.ListEndpointGroupsResponse) => void): Request<GlobalAccelerator.Types.ListEndpointGroupsResponse, AWSError>;
110
134
  /**
111
- * List the listeners for an accelerator.
135
+ * List the listeners for an accelerator. To see an AWS CLI example of listing the listeners for an accelerator, scroll down to Example.
112
136
  */
113
137
  listListeners(params: GlobalAccelerator.Types.ListListenersRequest, callback?: (err: AWSError, data: GlobalAccelerator.Types.ListListenersResponse) => void): Request<GlobalAccelerator.Types.ListListenersResponse, AWSError>;
114
138
  /**
115
- * List the listeners for an accelerator.
139
+ * List the listeners for an accelerator. To see an AWS CLI example of listing the listeners for an accelerator, scroll down to Example.
116
140
  */
117
141
  listListeners(callback?: (err: AWSError, data: GlobalAccelerator.Types.ListListenersResponse) => void): Request<GlobalAccelerator.Types.ListListenersResponse, AWSError>;
118
142
  /**
119
- * Update an accelerator. To see an AWS CLI example of updating an accelerator, scroll down to Example. You must specify the US-West-2 (Oregon) Region to create or update accelerators.
143
+ * List all tags for an accelerator. To see an AWS CLI example of listing tags for an accelerator, scroll down to Example. For more information, see Tagging in AWS Global Accelerator in the AWS Global Accelerator Developer Guide.
144
+ */
145
+ listTagsForResource(params: GlobalAccelerator.Types.ListTagsForResourceRequest, callback?: (err: AWSError, data: GlobalAccelerator.Types.ListTagsForResourceResponse) => void): Request<GlobalAccelerator.Types.ListTagsForResourceResponse, AWSError>;
146
+ /**
147
+ * List all tags for an accelerator. To see an AWS CLI example of listing tags for an accelerator, scroll down to Example. For more information, see Tagging in AWS Global Accelerator in the AWS Global Accelerator Developer Guide.
148
+ */
149
+ listTagsForResource(callback?: (err: AWSError, data: GlobalAccelerator.Types.ListTagsForResourceResponse) => void): Request<GlobalAccelerator.Types.ListTagsForResourceResponse, AWSError>;
150
+ /**
151
+ * Provisions an IP address range to use with your AWS resources through bring your own IP addresses (BYOIP) and creates a corresponding address pool. After the address range is provisioned, it is ready to be advertised using AdvertiseByoipCidr. To see an AWS CLI example of provisioning an address range for BYOIP, scroll down to Example. For more information, see Bring Your Own IP Addresses (BYOIP) in the AWS Global Accelerator Developer Guide.
152
+ */
153
+ provisionByoipCidr(params: GlobalAccelerator.Types.ProvisionByoipCidrRequest, callback?: (err: AWSError, data: GlobalAccelerator.Types.ProvisionByoipCidrResponse) => void): Request<GlobalAccelerator.Types.ProvisionByoipCidrResponse, AWSError>;
154
+ /**
155
+ * Provisions an IP address range to use with your AWS resources through bring your own IP addresses (BYOIP) and creates a corresponding address pool. After the address range is provisioned, it is ready to be advertised using AdvertiseByoipCidr. To see an AWS CLI example of provisioning an address range for BYOIP, scroll down to Example. For more information, see Bring Your Own IP Addresses (BYOIP) in the AWS Global Accelerator Developer Guide.
156
+ */
157
+ provisionByoipCidr(callback?: (err: AWSError, data: GlobalAccelerator.Types.ProvisionByoipCidrResponse) => void): Request<GlobalAccelerator.Types.ProvisionByoipCidrResponse, AWSError>;
158
+ /**
159
+ * Add tags to an accelerator resource. To see an AWS CLI example of adding tags to an accelerator, scroll down to Example. For more information, see Tagging in AWS Global Accelerator in the AWS Global Accelerator Developer Guide.
160
+ */
161
+ tagResource(params: GlobalAccelerator.Types.TagResourceRequest, callback?: (err: AWSError, data: GlobalAccelerator.Types.TagResourceResponse) => void): Request<GlobalAccelerator.Types.TagResourceResponse, AWSError>;
162
+ /**
163
+ * Add tags to an accelerator resource. To see an AWS CLI example of adding tags to an accelerator, scroll down to Example. For more information, see Tagging in AWS Global Accelerator in the AWS Global Accelerator Developer Guide.
164
+ */
165
+ tagResource(callback?: (err: AWSError, data: GlobalAccelerator.Types.TagResourceResponse) => void): Request<GlobalAccelerator.Types.TagResourceResponse, AWSError>;
166
+ /**
167
+ * Remove tags from a Global Accelerator resource. When you specify a tag key, the action removes both that key and its associated value. To see an AWS CLI example of removing tags from an accelerator, scroll down to Example. The operation succeeds even if you attempt to remove tags from an accelerator that was already removed. For more information, see Tagging in AWS Global Accelerator in the AWS Global Accelerator Developer Guide.
168
+ */
169
+ untagResource(params: GlobalAccelerator.Types.UntagResourceRequest, callback?: (err: AWSError, data: GlobalAccelerator.Types.UntagResourceResponse) => void): Request<GlobalAccelerator.Types.UntagResourceResponse, AWSError>;
170
+ /**
171
+ * Remove tags from a Global Accelerator resource. When you specify a tag key, the action removes both that key and its associated value. To see an AWS CLI example of removing tags from an accelerator, scroll down to Example. The operation succeeds even if you attempt to remove tags from an accelerator that was already removed. For more information, see Tagging in AWS Global Accelerator in the AWS Global Accelerator Developer Guide.
172
+ */
173
+ untagResource(callback?: (err: AWSError, data: GlobalAccelerator.Types.UntagResourceResponse) => void): Request<GlobalAccelerator.Types.UntagResourceResponse, AWSError>;
174
+ /**
175
+ * Update an accelerator. To see an AWS CLI example of updating an accelerator, scroll down to Example. You must specify the US West (Oregon) Region to create or update accelerators.
120
176
  */
121
177
  updateAccelerator(params: GlobalAccelerator.Types.UpdateAcceleratorRequest, callback?: (err: AWSError, data: GlobalAccelerator.Types.UpdateAcceleratorResponse) => void): Request<GlobalAccelerator.Types.UpdateAcceleratorResponse, AWSError>;
122
178
  /**
123
- * Update an accelerator. To see an AWS CLI example of updating an accelerator, scroll down to Example. You must specify the US-West-2 (Oregon) Region to create or update accelerators.
179
+ * Update an accelerator. To see an AWS CLI example of updating an accelerator, scroll down to Example. You must specify the US West (Oregon) Region to create or update accelerators.
124
180
  */
125
181
  updateAccelerator(callback?: (err: AWSError, data: GlobalAccelerator.Types.UpdateAcceleratorResponse) => void): Request<GlobalAccelerator.Types.UpdateAcceleratorResponse, AWSError>;
126
182
  /**
@@ -140,13 +196,21 @@ declare class GlobalAccelerator extends Service {
140
196
  */
141
197
  updateEndpointGroup(callback?: (err: AWSError, data: GlobalAccelerator.Types.UpdateEndpointGroupResponse) => void): Request<GlobalAccelerator.Types.UpdateEndpointGroupResponse, AWSError>;
142
198
  /**
143
- * Update a listener.
199
+ * Update a listener. To see an AWS CLI example of updating listener, scroll down to Example.
144
200
  */
145
201
  updateListener(params: GlobalAccelerator.Types.UpdateListenerRequest, callback?: (err: AWSError, data: GlobalAccelerator.Types.UpdateListenerResponse) => void): Request<GlobalAccelerator.Types.UpdateListenerResponse, AWSError>;
146
202
  /**
147
- * Update a listener.
203
+ * Update a listener. To see an AWS CLI example of updating listener, scroll down to Example.
148
204
  */
149
205
  updateListener(callback?: (err: AWSError, data: GlobalAccelerator.Types.UpdateListenerResponse) => void): Request<GlobalAccelerator.Types.UpdateListenerResponse, AWSError>;
206
+ /**
207
+ * Stops advertising an address range that is provisioned as an address pool. You can perform this operation at most once every 10 seconds, even if you specify different address ranges each time. To see an AWS CLI example of withdrawing an address range for BYOIP so it will no longer be advertised by AWS, scroll down to Example. It can take a few minutes before traffic to the specified addresses stops routing to AWS because of propagation delays. For more information, see Bring Your Own IP Addresses (BYOIP) in the AWS Global Accelerator Developer Guide.
208
+ */
209
+ withdrawByoipCidr(params: GlobalAccelerator.Types.WithdrawByoipCidrRequest, callback?: (err: AWSError, data: GlobalAccelerator.Types.WithdrawByoipCidrResponse) => void): Request<GlobalAccelerator.Types.WithdrawByoipCidrResponse, AWSError>;
210
+ /**
211
+ * Stops advertising an address range that is provisioned as an address pool. You can perform this operation at most once every 10 seconds, even if you specify different address ranges each time. To see an AWS CLI example of withdrawing an address range for BYOIP so it will no longer be advertised by AWS, scroll down to Example. It can take a few minutes before traffic to the specified addresses stops routing to AWS because of propagation delays. For more information, see Bring Your Own IP Addresses (BYOIP) in the AWS Global Accelerator Developer Guide.
212
+ */
213
+ withdrawByoipCidr(callback?: (err: AWSError, data: GlobalAccelerator.Types.WithdrawByoipCidrResponse) => void): Request<GlobalAccelerator.Types.WithdrawByoipCidrResponse, AWSError>;
150
214
  }
151
215
  declare namespace GlobalAccelerator {
152
216
  export interface Accelerator {
@@ -171,7 +235,7 @@ declare namespace GlobalAccelerator {
171
235
  */
172
236
  IpSets?: IpSets;
173
237
  /**
174
- * The Domain Name System (DNS) name that Global Accelerator creates that points to your accelerator's static IP addresses. The naming convention for the DNS name is: a lower case letter a, followed by a 16-bit random hex string, followed by .awsglobalaccelerator.com. For example: a1234567890abcdef.awsglobalaccelerator.com. For more information about the default DNS name, see Support for DNS Addressing in Global Accelerator in the AWS Global Accelerator Developer Guide.
238
+ * The Domain Name System (DNS) name that Global Accelerator creates that points to your accelerator's static IP addresses. The naming convention for the DNS name is the following: A lowercase letter a, followed by a 16-bit random hex string, followed by .awsglobalaccelerator.com. For example: a1234567890abcdef.awsglobalaccelerator.com. For more information about the default DNS name, see Support for DNS Addressing in Global Accelerator in the AWS Global Accelerator Developer Guide.
175
239
  */
176
240
  DnsName?: GenericString;
177
241
  /**
@@ -197,12 +261,46 @@ declare namespace GlobalAccelerator {
197
261
  */
198
262
  FlowLogsS3Bucket?: GenericString;
199
263
  /**
200
- * The prefix for the location in the Amazon S3 bucket for the flow logs. Attribute is required if FlowLogsEnabled is true. If you don’t specify a prefix, the flow logs are stored in the root of the bucket.
264
+ * The prefix for the location in the Amazon S3 bucket for the flow logs. Attribute is required if FlowLogsEnabled is true. If you don’t specify a prefix, the flow logs are stored in the root of the bucket. If you specify slash (/) for the S3 bucket prefix, the log file bucket folder structure will include a double slash (//), like the following: s3-bucket_name//AWSLogs/aws_account_id
201
265
  */
202
266
  FlowLogsS3Prefix?: GenericString;
203
267
  }
204
268
  export type AcceleratorStatus = "DEPLOYED"|"IN_PROGRESS"|string;
205
269
  export type Accelerators = Accelerator[];
270
+ export interface AdvertiseByoipCidrRequest {
271
+ /**
272
+ * The address range, in CIDR notation. This must be the exact range that you provisioned. You can't advertise only a portion of the provisioned range.
273
+ */
274
+ Cidr: GenericString;
275
+ }
276
+ export interface AdvertiseByoipCidrResponse {
277
+ /**
278
+ * Information about the address range.
279
+ */
280
+ ByoipCidr?: ByoipCidr;
281
+ }
282
+ export interface ByoipCidr {
283
+ /**
284
+ * The address range, in CIDR notation.
285
+ */
286
+ Cidr?: GenericString;
287
+ /**
288
+ * The state of the address pool.
289
+ */
290
+ State?: ByoipCidrState;
291
+ }
292
+ export type ByoipCidrState = "PENDING_PROVISIONING"|"READY"|"PENDING_ADVERTISING"|"ADVERTISING"|"PENDING_WITHDRAWING"|"PENDING_DEPROVISIONING"|"DEPROVISIONED"|"FAILED_PROVISION"|"FAILED_ADVERTISING"|"FAILED_WITHDRAW"|"FAILED_DEPROVISION"|string;
293
+ export type ByoipCidrs = ByoipCidr[];
294
+ export interface CidrAuthorizationContext {
295
+ /**
296
+ * The plain-text authorization message for the prefix and account.
297
+ */
298
+ Message: GenericString;
299
+ /**
300
+ * The signed authorization message for the prefix and account.
301
+ */
302
+ Signature: GenericString;
303
+ }
206
304
  export type ClientAffinity = "NONE"|"SOURCE_IP"|string;
207
305
  export interface CreateAcceleratorRequest {
208
306
  /**
@@ -213,6 +311,10 @@ declare namespace GlobalAccelerator {
213
311
  * The value for the address type must be IPv4.
214
312
  */
215
313
  IpAddressType?: IpAddressType;
314
+ /**
315
+ * Optionally, if you've added your own IP address pool to Global Accelerator, you can choose IP addresses from your own pool to use for the accelerator's static IP addresses. You can specify one or two addresses, separated by a comma. Do not include the /32 suffix. If you specify only one IP address from your IP address range, Global Accelerator assigns a second static IP address for the accelerator from the AWS IP address pool. For more information, see Bring Your Own IP Addresses (BYOIP) in the AWS Global Accelerator Developer Guide.
316
+ */
317
+ IpAddresses?: IpAddresses;
216
318
  /**
217
319
  * Indicates whether an accelerator is enabled. The value is true or false. The default value is true. If the value is set to true, an accelerator cannot be deleted. If set to false, the accelerator can be deleted.
218
320
  */
@@ -221,6 +323,10 @@ declare namespace GlobalAccelerator {
221
323
  * A unique, case-sensitive identifier that you provide to ensure the idempotency—that is, the uniqueness—of an accelerator.
222
324
  */
223
325
  IdempotencyToken: IdempotencyToken;
326
+ /**
327
+ * Create tags for an accelerator. For more information, see Tagging in AWS Global Accelerator in the AWS Global Accelerator Developer Guide.
328
+ */
329
+ Tags?: Tags;
224
330
  }
225
331
  export interface CreateAcceleratorResponse {
226
332
  /**
@@ -322,6 +428,18 @@ declare namespace GlobalAccelerator {
322
428
  */
323
429
  ListenerArn: GenericString;
324
430
  }
431
+ export interface DeprovisionByoipCidrRequest {
432
+ /**
433
+ * The address range, in CIDR notation. The prefix must be the same prefix that you specified when you provisioned the address range.
434
+ */
435
+ Cidr: GenericString;
436
+ }
437
+ export interface DeprovisionByoipCidrResponse {
438
+ /**
439
+ * Information about the address range.
440
+ */
441
+ ByoipCidr?: ByoipCidr;
442
+ }
325
443
  export interface DescribeAcceleratorAttributesRequest {
326
444
  /**
327
445
  * The Amazon Resource Name (ARN) of the accelerator with the attributes that you want to describe.
@@ -372,7 +490,7 @@ declare namespace GlobalAccelerator {
372
490
  }
373
491
  export interface EndpointConfiguration {
374
492
  /**
375
- * An ID for the endpoint. If the endpoint is a Network Load Balancer or Application Load Balancer, this is the Amazon Resource Name (ARN) of the resource. If the endpoint is an Elastic IP address, this is the Elastic IP address allocation ID.
493
+ * An ID for the endpoint. If the endpoint is a Network Load Balancer or Application Load Balancer, this is the Amazon Resource Name (ARN) of the resource. If the endpoint is an Elastic IP address, this is the Elastic IP address allocation ID. For EC2 instances, this is the EC2 instance ID. An Application Load Balancer can be either internal or internet-facing.
376
494
  */
377
495
  EndpointId?: GenericString;
378
496
  /**
@@ -387,7 +505,7 @@ declare namespace GlobalAccelerator {
387
505
  export type EndpointConfigurations = EndpointConfiguration[];
388
506
  export interface EndpointDescription {
389
507
  /**
390
- * An ID for the endpoint. If the endpoint is a Network Load Balancer or Application Load Balancer, this is the Amazon Resource Name (ARN) of the resource. If the endpoint is an Elastic IP address, this is the Elastic IP address allocation ID. An Application Load Balancer can be either internal or internet-facing.
508
+ * An ID for the endpoint. If the endpoint is a Network Load Balancer or Application Load Balancer, this is the Amazon Resource Name (ARN) of the resource. If the endpoint is an Elastic IP address, this is the Elastic IP address allocation ID. For EC2 instances, this is the EC2 instance ID. An Application Load Balancer can be either internal or internet-facing.
391
509
  */
392
510
  EndpointId?: GenericString;
393
511
  /**
@@ -489,6 +607,26 @@ declare namespace GlobalAccelerator {
489
607
  */
490
608
  NextToken?: GenericString;
491
609
  }
610
+ export interface ListByoipCidrsRequest {
611
+ /**
612
+ * The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.
613
+ */
614
+ MaxResults?: MaxResults;
615
+ /**
616
+ * The token for the next page of results.
617
+ */
618
+ NextToken?: GenericString;
619
+ }
620
+ export interface ListByoipCidrsResponse {
621
+ /**
622
+ * Information about your address ranges.
623
+ */
624
+ ByoipCidrs?: ByoipCidrs;
625
+ /**
626
+ * The token for the next page of results.
627
+ */
628
+ NextToken?: GenericString;
629
+ }
492
630
  export interface ListEndpointGroupsRequest {
493
631
  /**
494
632
  * The Amazon Resource Name (ARN) of the listener.
@@ -537,6 +675,18 @@ declare namespace GlobalAccelerator {
537
675
  */
538
676
  NextToken?: GenericString;
539
677
  }
678
+ export interface ListTagsForResourceRequest {
679
+ /**
680
+ * The Amazon Resource Name (ARN) of the accelerator to list tags for. An ARN uniquely identifies an accelerator.
681
+ */
682
+ ResourceArn: ResourceArn;
683
+ }
684
+ export interface ListTagsForResourceResponse {
685
+ /**
686
+ * Root level tag for the Tags parameters.
687
+ */
688
+ Tags?: Tags;
689
+ }
540
690
  export interface Listener {
541
691
  /**
542
692
  * The Amazon Resource Name (ARN) of the listener.
@@ -570,9 +720,64 @@ declare namespace GlobalAccelerator {
570
720
  }
571
721
  export type PortRanges = PortRange[];
572
722
  export type Protocol = "TCP"|"UDP"|string;
723
+ export interface ProvisionByoipCidrRequest {
724
+ /**
725
+ * The public IPv4 address range, in CIDR notation. The most specific IP prefix that you can specify is /24. The address range cannot overlap with another address range that you've brought to this or another Region.
726
+ */
727
+ Cidr: GenericString;
728
+ /**
729
+ * A signed document that proves that you are authorized to bring the specified IP address range to Amazon using BYOIP.
730
+ */
731
+ CidrAuthorizationContext: CidrAuthorizationContext;
732
+ }
733
+ export interface ProvisionByoipCidrResponse {
734
+ /**
735
+ * Information about the address range.
736
+ */
737
+ ByoipCidr?: ByoipCidr;
738
+ }
739
+ export type ResourceArn = string;
740
+ export interface Tag {
741
+ /**
742
+ * A string that contains a Tag key.
743
+ */
744
+ Key: TagKey;
745
+ /**
746
+ * A string that contains a Tag value.
747
+ */
748
+ Value: TagValue;
749
+ }
750
+ export type TagKey = string;
751
+ export type TagKeys = TagKey[];
752
+ export interface TagResourceRequest {
753
+ /**
754
+ * The Amazon Resource Name (ARN) of the Global Accelerator resource to add tags to. An ARN uniquely identifies a resource.
755
+ */
756
+ ResourceArn: ResourceArn;
757
+ /**
758
+ * The tags to add to a resource. A tag consists of a key and a value that you define.
759
+ */
760
+ Tags: Tags;
761
+ }
762
+ export interface TagResourceResponse {
763
+ }
764
+ export type TagValue = string;
765
+ export type Tags = Tag[];
573
766
  export type ThresholdCount = number;
574
767
  export type Timestamp = Date;
575
768
  export type TrafficDialPercentage = number;
769
+ export interface UntagResourceRequest {
770
+ /**
771
+ * The Amazon Resource Name (ARN) of the Global Accelerator resource to remove tags from. An ARN uniquely identifies a resource.
772
+ */
773
+ ResourceArn: ResourceArn;
774
+ /**
775
+ * The tag key pairs that you want to remove from the specified resources.
776
+ */
777
+ TagKeys: TagKeys;
778
+ }
779
+ export interface UntagResourceResponse {
780
+ }
576
781
  export interface UpdateAcceleratorAttributesRequest {
577
782
  /**
578
783
  * The Amazon Resource Name (ARN) of the accelerator that you want to update.
@@ -587,7 +792,7 @@ declare namespace GlobalAccelerator {
587
792
  */
588
793
  FlowLogsS3Bucket?: GenericString;
589
794
  /**
590
- * Update the prefix for the location in the Amazon S3 bucket for the flow logs. Attribute is required if FlowLogsEnabled is true. If you don’t specify a prefix, the flow logs are stored in the root of the bucket.
795
+ * Update the prefix for the location in the Amazon S3 bucket for the flow logs. Attribute is required if FlowLogsEnabled is true. If you don’t specify a prefix, the flow logs are stored in the root of the bucket. If you specify slash (/) for the S3 bucket prefix, the log file bucket folder structure will include a double slash (//), like the following: s3-bucket_name//AWSLogs/aws_account_id
591
796
  */
592
797
  FlowLogsS3Prefix?: GenericString;
593
798
  }
@@ -685,6 +890,18 @@ declare namespace GlobalAccelerator {
685
890
  */
686
891
  Listener?: Listener;
687
892
  }
893
+ export interface WithdrawByoipCidrRequest {
894
+ /**
895
+ * The address range, in CIDR notation.
896
+ */
897
+ Cidr: GenericString;
898
+ }
899
+ export interface WithdrawByoipCidrResponse {
900
+ /**
901
+ * Information about the address pool.
902
+ */
903
+ ByoipCidr?: ByoipCidr;
904
+ }
688
905
  /**
689
906
  * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
690
907
  */