aws-sdk 2.93.0 → 2.97.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 (46) hide show
  1. package/.changes/2.94.0.json +32 -0
  2. package/.changes/2.95.0.json +17 -0
  3. package/.changes/2.96.0.json +12 -0
  4. package/.changes/2.97.0.json +22 -0
  5. package/CHANGELOG.md +24 -1
  6. package/README.md +1 -1
  7. package/apis/clouddirectory-2016-05-10.min.json +51 -32
  8. package/apis/codedeploy-2014-10-06.min.json +82 -29
  9. package/apis/cognito-idp-2016-04-18.min.json +477 -185
  10. package/apis/config-2014-11-12.min.json +43 -5
  11. package/apis/ec2-2016-11-15.min.json +1 -0
  12. package/apis/ec2-2016-11-15.waiters2.json +5 -0
  13. package/apis/elasticbeanstalk-2010-12-01.min.json +69 -63
  14. package/apis/elasticloadbalancingv2-2015-12-01.waiters2.json +36 -0
  15. package/apis/email-2010-12-01.examples.json +2 -0
  16. package/apis/email-2010-12-01.min.json +54 -45
  17. package/apis/email-2010-12-01.paginators.json +2 -2
  18. package/apis/pinpoint-2016-12-01.min.json +287 -142
  19. package/clients/clouddirectory.d.ts +20 -0
  20. package/clients/cloudsearchdomain.d.ts +2 -1
  21. package/clients/codebuild.d.ts +2 -2
  22. package/clients/codedeploy.d.ts +62 -8
  23. package/clients/cognitoidentityserviceprovider.d.ts +376 -12
  24. package/clients/configservice.d.ts +54 -6
  25. package/clients/ec2.d.ts +12 -8
  26. package/clients/elasticbeanstalk.d.ts +27 -10
  27. package/clients/elbv2.d.ts +16 -0
  28. package/clients/glacier.d.ts +2 -1
  29. package/clients/lambda.d.ts +2 -1
  30. package/clients/lexruntime.d.ts +2 -1
  31. package/clients/pinpoint.d.ts +154 -15
  32. package/clients/polly.d.ts +2 -1
  33. package/clients/rds.d.ts +68 -68
  34. package/clients/s3.d.ts +2 -1
  35. package/clients/ses.d.ts +25 -15
  36. package/dist/aws-sdk-core-react-native.js +868 -574
  37. package/dist/aws-sdk-react-native.js +887 -586
  38. package/dist/aws-sdk.js +798 -333
  39. package/dist/aws-sdk.min.js +43 -43
  40. package/lib/core.js +1 -1
  41. package/lib/credentials/credential_provider_chain.d.ts +4 -0
  42. package/lib/protocol/rest_json.js +8 -0
  43. package/lib/services/s3.js +8 -1
  44. package/lib/util.js +14 -1
  45. package/package.json +1 -1
  46. package/scripts/lib/ts-generator.js +51 -2
@@ -144,19 +144,27 @@ declare class ConfigService extends Service {
144
144
  */
145
145
  getComplianceSummaryByResourceType(callback?: (err: AWSError, data: ConfigService.Types.GetComplianceSummaryByResourceTypeResponse) => void): Request<ConfigService.Types.GetComplianceSummaryByResourceTypeResponse, AWSError>;
146
146
  /**
147
- * Returns a list of configuration items for the specified resource. The list contains details about each state of the resource during the specified time interval. The response is paginated, and by default, AWS Config returns a limit of 10 configuration items per page. You can customize this number with the limit parameter. The response includes a nextToken string, and to get the next page of results, run the request again and enter this string for the nextToken parameter. Each call to the API is limited to span a duration of seven days. It is likely that the number of records returned is smaller than the specified limit. In such cases, you can make another call, using the nextToken.
147
+ * Returns the resource types, the number of each resource type, and the total number of resources that AWS Config is recording in this region for your AWS account. Example AWS Config is recording three resource types in the US East (Ohio) Region for your account: 25 EC2 instances, 20 IAM users, and 15 S3 buckets. You make a call to the GetDiscoveredResourceCounts action and specify that you want all resource types. AWS Config returns the following: The resource types (EC2 instances, IAM users, and S3 buckets) The number of each resource type (25, 20, and 15) The total number of all resources (60) The response is paginated. By default, AWS Config lists 100 ResourceCount objects on each page. You can customize this number with the limit parameter. The response includes a nextToken string. To get the next page of results, run the request again and specify the string for the nextToken parameter. If you make a call to the GetDiscoveredResourceCounts action, you may not immediately receive resource counts in the following situations: You are a new AWS Config customer You just enabled resource recording It may take a few minutes for AWS Config to record and count your resources. Wait a few minutes and then retry the GetDiscoveredResourceCounts action.
148
+ */
149
+ getDiscoveredResourceCounts(params: ConfigService.Types.GetDiscoveredResourceCountsRequest, callback?: (err: AWSError, data: ConfigService.Types.GetDiscoveredResourceCountsResponse) => void): Request<ConfigService.Types.GetDiscoveredResourceCountsResponse, AWSError>;
150
+ /**
151
+ * Returns the resource types, the number of each resource type, and the total number of resources that AWS Config is recording in this region for your AWS account. Example AWS Config is recording three resource types in the US East (Ohio) Region for your account: 25 EC2 instances, 20 IAM users, and 15 S3 buckets. You make a call to the GetDiscoveredResourceCounts action and specify that you want all resource types. AWS Config returns the following: The resource types (EC2 instances, IAM users, and S3 buckets) The number of each resource type (25, 20, and 15) The total number of all resources (60) The response is paginated. By default, AWS Config lists 100 ResourceCount objects on each page. You can customize this number with the limit parameter. The response includes a nextToken string. To get the next page of results, run the request again and specify the string for the nextToken parameter. If you make a call to the GetDiscoveredResourceCounts action, you may not immediately receive resource counts in the following situations: You are a new AWS Config customer You just enabled resource recording It may take a few minutes for AWS Config to record and count your resources. Wait a few minutes and then retry the GetDiscoveredResourceCounts action.
152
+ */
153
+ getDiscoveredResourceCounts(callback?: (err: AWSError, data: ConfigService.Types.GetDiscoveredResourceCountsResponse) => void): Request<ConfigService.Types.GetDiscoveredResourceCountsResponse, AWSError>;
154
+ /**
155
+ * Returns a list of configuration items for the specified resource. The list contains details about each state of the resource during the specified time interval. The response is paginated. By default, AWS Config returns a limit of 10 configuration items per page. You can customize this number with the limit parameter. The response includes a nextToken string. To get the next page of results, run the request again and specify the string for the nextToken parameter. Each call to the API is limited to span a duration of seven days. It is likely that the number of records returned is smaller than the specified limit. In such cases, you can make another call, using the nextToken.
148
156
  */
149
157
  getResourceConfigHistory(params: ConfigService.Types.GetResourceConfigHistoryRequest, callback?: (err: AWSError, data: ConfigService.Types.GetResourceConfigHistoryResponse) => void): Request<ConfigService.Types.GetResourceConfigHistoryResponse, AWSError>;
150
158
  /**
151
- * Returns a list of configuration items for the specified resource. The list contains details about each state of the resource during the specified time interval. The response is paginated, and by default, AWS Config returns a limit of 10 configuration items per page. You can customize this number with the limit parameter. The response includes a nextToken string, and to get the next page of results, run the request again and enter this string for the nextToken parameter. Each call to the API is limited to span a duration of seven days. It is likely that the number of records returned is smaller than the specified limit. In such cases, you can make another call, using the nextToken.
159
+ * Returns a list of configuration items for the specified resource. The list contains details about each state of the resource during the specified time interval. The response is paginated. By default, AWS Config returns a limit of 10 configuration items per page. You can customize this number with the limit parameter. The response includes a nextToken string. To get the next page of results, run the request again and specify the string for the nextToken parameter. Each call to the API is limited to span a duration of seven days. It is likely that the number of records returned is smaller than the specified limit. In such cases, you can make another call, using the nextToken.
152
160
  */
153
161
  getResourceConfigHistory(callback?: (err: AWSError, data: ConfigService.Types.GetResourceConfigHistoryResponse) => void): Request<ConfigService.Types.GetResourceConfigHistoryResponse, AWSError>;
154
162
  /**
155
- * Accepts a resource type and returns a list of resource identifiers for the resources of that type. A resource identifier includes the resource type, ID, and (if available) the custom resource name. The results consist of resources that AWS Config has discovered, including those that AWS Config is not currently recording. You can narrow the results to include only resources that have specific resource IDs or a resource name. You can specify either resource IDs or a resource name but not both in the same request. The response is paginated, and by default AWS Config lists 100 resource identifiers on each page. You can customize this number with the limit parameter. The response includes a nextToken string, and to get the next page of results, run the request again and enter this string for the nextToken parameter.
163
+ * Accepts a resource type and returns a list of resource identifiers for the resources of that type. A resource identifier includes the resource type, ID, and (if available) the custom resource name. The results consist of resources that AWS Config has discovered, including those that AWS Config is not currently recording. You can narrow the results to include only resources that have specific resource IDs or a resource name. You can specify either resource IDs or a resource name but not both in the same request. The response is paginated. By default, AWS Config lists 100 resource identifiers on each page. You can customize this number with the limit parameter. The response includes a nextToken string. To get the next page of results, run the request again and specify the string for the nextToken parameter.
156
164
  */
157
165
  listDiscoveredResources(params: ConfigService.Types.ListDiscoveredResourcesRequest, callback?: (err: AWSError, data: ConfigService.Types.ListDiscoveredResourcesResponse) => void): Request<ConfigService.Types.ListDiscoveredResourcesResponse, AWSError>;
158
166
  /**
159
- * Accepts a resource type and returns a list of resource identifiers for the resources of that type. A resource identifier includes the resource type, ID, and (if available) the custom resource name. The results consist of resources that AWS Config has discovered, including those that AWS Config is not currently recording. You can narrow the results to include only resources that have specific resource IDs or a resource name. You can specify either resource IDs or a resource name but not both in the same request. The response is paginated, and by default AWS Config lists 100 resource identifiers on each page. You can customize this number with the limit parameter. The response includes a nextToken string, and to get the next page of results, run the request again and enter this string for the nextToken parameter.
167
+ * Accepts a resource type and returns a list of resource identifiers for the resources of that type. A resource identifier includes the resource type, ID, and (if available) the custom resource name. The results consist of resources that AWS Config has discovered, including those that AWS Config is not currently recording. You can narrow the results to include only resources that have specific resource IDs or a resource name. You can specify either resource IDs or a resource name but not both in the same request. The response is paginated. By default, AWS Config lists 100 resource identifiers on each page. You can customize this number with the limit parameter. The response includes a nextToken string. To get the next page of results, run the request again and specify the string for the nextToken parameter.
160
168
  */
161
169
  listDiscoveredResources(callback?: (err: AWSError, data: ConfigService.Types.ListDiscoveredResourcesResponse) => void): Request<ConfigService.Types.ListDiscoveredResourcesResponse, AWSError>;
162
170
  /**
@@ -950,6 +958,34 @@ declare namespace ConfigService {
950
958
  */
951
959
  ComplianceSummariesByResourceType?: ComplianceSummariesByResourceType;
952
960
  }
961
+ export interface GetDiscoveredResourceCountsRequest {
962
+ /**
963
+ * The comma-separated list that specifies the resource types that you want the AWS Config to return. For example, ("AWS::EC2::Instance", "AWS::IAM::User"). If a value for resourceTypes is not specified, AWS Config returns all resource types that AWS Config is recording in the region for your account. If the configuration recorder is turned off, AWS Config returns an empty list of ResourceCount objects. If the configuration recorder is not recording a specific resource type (for example, S3 buckets), that resource type is not returned in the list of ResourceCount objects.
964
+ */
965
+ resourceTypes?: ResourceTypes;
966
+ /**
967
+ * The maximum number of ResourceCount objects returned on each page. The default is 100. You cannot specify a limit greater than 100. If you specify 0, AWS Config uses the default.
968
+ */
969
+ limit?: Limit;
970
+ /**
971
+ * The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.
972
+ */
973
+ nextToken?: NextToken;
974
+ }
975
+ export interface GetDiscoveredResourceCountsResponse {
976
+ /**
977
+ * The total number of resources that AWS Config is recording in the region for your account. If you specify resource types in the request, AWS Config returns only the total number of resources for those resource types. Example AWS Config is recording three resource types in the US East (Ohio) Region for your account: 25 EC2 instances, 20 IAM users, and 15 S3 buckets, for a total of 60 resources. You make a call to the GetDiscoveredResourceCounts action and specify the resource type, "AWS::EC2::Instances" in the request. AWS Config returns 25 for totalDiscoveredResources.
978
+ */
979
+ totalDiscoveredResources?: Long;
980
+ /**
981
+ * The list of ResourceCount objects. Each object is listed in descending order by the number of resources.
982
+ */
983
+ resourceCounts?: ResourceCounts;
984
+ /**
985
+ * The string that you use in a subsequent request to get the next page of results in a paginated response.
986
+ */
987
+ nextToken?: NextToken;
988
+ }
953
989
  export interface GetResourceConfigHistoryRequest {
954
990
  /**
955
991
  * The resource type.
@@ -1030,6 +1066,7 @@ declare namespace ConfigService {
1030
1066
  */
1031
1067
  nextToken?: NextToken;
1032
1068
  }
1069
+ export type Long = number;
1033
1070
  export type MaximumExecutionFrequency = "One_Hour"|"Three_Hours"|"Six_Hours"|"Twelve_Hours"|"TwentyFour_Hours"|string;
1034
1071
  export type MessageType = "ConfigurationItemChangeNotification"|"ConfigurationSnapshotDeliveryCompleted"|"ScheduledNotification"|"OversizedConfigurationItemChangeNotification"|string;
1035
1072
  export type Name = string;
@@ -1113,6 +1150,17 @@ declare namespace ConfigService {
1113
1150
  }
1114
1151
  export type RelationshipList = Relationship[];
1115
1152
  export type RelationshipName = string;
1153
+ export interface ResourceCount {
1154
+ /**
1155
+ * The resource type, for example "AWS::EC2::Instance".
1156
+ */
1157
+ resourceType?: ResourceType;
1158
+ /**
1159
+ * The number of resources.
1160
+ */
1161
+ count?: Long;
1162
+ }
1163
+ export type ResourceCounts = ResourceCount[];
1116
1164
  export type ResourceCreationTime = Date;
1117
1165
  export type ResourceDeletionTime = Date;
1118
1166
  export type ResourceId = string;
@@ -1137,7 +1185,7 @@ declare namespace ConfigService {
1137
1185
  }
1138
1186
  export type ResourceIdentifierList = ResourceIdentifier[];
1139
1187
  export type ResourceName = string;
1140
- export type ResourceType = "AWS::EC2::CustomerGateway"|"AWS::EC2::EIP"|"AWS::EC2::Host"|"AWS::EC2::Instance"|"AWS::EC2::InternetGateway"|"AWS::EC2::NetworkAcl"|"AWS::EC2::NetworkInterface"|"AWS::EC2::RouteTable"|"AWS::EC2::SecurityGroup"|"AWS::EC2::Subnet"|"AWS::CloudTrail::Trail"|"AWS::EC2::Volume"|"AWS::EC2::VPC"|"AWS::EC2::VPNConnection"|"AWS::EC2::VPNGateway"|"AWS::IAM::Group"|"AWS::IAM::Policy"|"AWS::IAM::Role"|"AWS::IAM::User"|"AWS::ACM::Certificate"|"AWS::RDS::DBInstance"|"AWS::RDS::DBSubnetGroup"|"AWS::RDS::DBSecurityGroup"|"AWS::RDS::DBSnapshot"|"AWS::RDS::EventSubscription"|"AWS::ElasticLoadBalancingV2::LoadBalancer"|"AWS::S3::Bucket"|"AWS::SSM::ManagedInstanceInventory"|"AWS::Redshift::Cluster"|"AWS::Redshift::ClusterSnapshot"|"AWS::Redshift::ClusterParameterGroup"|"AWS::Redshift::ClusterSecurityGroup"|"AWS::Redshift::ClusterSubnetGroup"|"AWS::Redshift::EventSubscription"|"AWS::CloudWatch::Alarm"|string;
1188
+ export type ResourceType = "AWS::EC2::CustomerGateway"|"AWS::EC2::EIP"|"AWS::EC2::Host"|"AWS::EC2::Instance"|"AWS::EC2::InternetGateway"|"AWS::EC2::NetworkAcl"|"AWS::EC2::NetworkInterface"|"AWS::EC2::RouteTable"|"AWS::EC2::SecurityGroup"|"AWS::EC2::Subnet"|"AWS::CloudTrail::Trail"|"AWS::EC2::Volume"|"AWS::EC2::VPC"|"AWS::EC2::VPNConnection"|"AWS::EC2::VPNGateway"|"AWS::IAM::Group"|"AWS::IAM::Policy"|"AWS::IAM::Role"|"AWS::IAM::User"|"AWS::ACM::Certificate"|"AWS::RDS::DBInstance"|"AWS::RDS::DBSubnetGroup"|"AWS::RDS::DBSecurityGroup"|"AWS::RDS::DBSnapshot"|"AWS::RDS::EventSubscription"|"AWS::ElasticLoadBalancingV2::LoadBalancer"|"AWS::S3::Bucket"|"AWS::SSM::ManagedInstanceInventory"|"AWS::Redshift::Cluster"|"AWS::Redshift::ClusterSnapshot"|"AWS::Redshift::ClusterParameterGroup"|"AWS::Redshift::ClusterSecurityGroup"|"AWS::Redshift::ClusterSubnetGroup"|"AWS::Redshift::EventSubscription"|"AWS::CloudWatch::Alarm"|"AWS::CloudFormation::Stack"|string;
1141
1189
  export type ResourceTypeList = ResourceType[];
1142
1190
  export type ResourceTypes = StringWithCharLimit256[];
1143
1191
  export type RuleLimit = number;
@@ -1165,7 +1213,7 @@ declare namespace ConfigService {
1165
1213
  */
1166
1214
  Owner: Owner;
1167
1215
  /**
1168
- * For AWS Config managed rules, a predefined identifier from a list. For example, IAM_PASSWORD_POLICY is a managed rule. To reference a managed rule, see Using AWS Managed Config Rules. For custom rules, the identifier is the Amazon Resource Name (ARN) of the rule's AWS Lambda function, such as arn:aws:lambda:us-east-1:123456789012:function:custom_rule_name.
1216
+ * For AWS Config managed rules, a predefined identifier from a list. For example, IAM_PASSWORD_POLICY is a managed rule. To reference a managed rule, see Using AWS Managed Config Rules. For custom rules, the identifier is the Amazon Resource Name (ARN) of the rule's AWS Lambda function, such as arn:aws:lambda:us-east-2:123456789012:function:custom_rule_name.
1169
1217
  */
1170
1218
  SourceIdentifier: StringWithCharLimit256;
1171
1219
  /**
package/clients/ec2.d.ts CHANGED
@@ -28,11 +28,11 @@ declare class EC2 extends Service {
28
28
  */
29
29
  acceptVpcPeeringConnection(callback?: (err: AWSError, data: EC2.Types.AcceptVpcPeeringConnectionResult) => void): Request<EC2.Types.AcceptVpcPeeringConnectionResult, AWSError>;
30
30
  /**
31
- * Acquires an Elastic IP address. An Elastic IP address is for use either in the EC2-Classic platform or in a VPC. For more information, see Elastic IP Addresses in the Amazon Elastic Compute Cloud User Guide.
31
+ * Allocates an Elastic IP address. An Elastic IP address is for use either in the EC2-Classic platform or in a VPC. By default, you can allocate 5 Elastic IP addresses for EC2-Classic per region and 5 Elastic IP addresses for EC2-VPC per region. If you release an Elastic IP address for use in a VPC, you might be able to recover it. To recover an Elastic IP address that you released, specify it in the Address parameter. Note that you cannot recover an Elastic IP address that you released after it is allocated to another AWS account. For more information, see Elastic IP Addresses in the Amazon Elastic Compute Cloud User Guide.
32
32
  */
33
33
  allocateAddress(params: EC2.Types.AllocateAddressRequest, callback?: (err: AWSError, data: EC2.Types.AllocateAddressResult) => void): Request<EC2.Types.AllocateAddressResult, AWSError>;
34
34
  /**
35
- * Acquires an Elastic IP address. An Elastic IP address is for use either in the EC2-Classic platform or in a VPC. For more information, see Elastic IP Addresses in the Amazon Elastic Compute Cloud User Guide.
35
+ * Allocates an Elastic IP address. An Elastic IP address is for use either in the EC2-Classic platform or in a VPC. By default, you can allocate 5 Elastic IP addresses for EC2-Classic per region and 5 Elastic IP addresses for EC2-VPC per region. If you release an Elastic IP address for use in a VPC, you might be able to recover it. To recover an Elastic IP address that you released, specify it in the Address parameter. Note that you cannot recover an Elastic IP address that you released after it is allocated to another AWS account. For more information, see Elastic IP Addresses in the Amazon Elastic Compute Cloud User Guide.
36
36
  */
37
37
  allocateAddress(callback?: (err: AWSError, data: EC2.Types.AllocateAddressResult) => void): Request<EC2.Types.AllocateAddressResult, AWSError>;
38
38
  /**
@@ -708,11 +708,11 @@ declare class EC2 extends Service {
708
708
  */
709
709
  deleteVpnGateway(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
710
710
  /**
711
- * Deregisters the specified AMI. After you deregister an AMI, it can't be used to launch new instances. This command does not delete the AMI.
711
+ * Deregisters the specified AMI. After you deregister an AMI, it can't be used to launch new instances; however, it doesn't affect any instances that you've already launched from the AMI. You'll continue to incur usage costs for those instances until you terminate them. When you deregister an Amazon EBS-backed AMI, it doesn't affect the snapshot that was created for the root volume of the instance during the AMI creation process. When you deregister an instance store-backed AMI, it doesn't affect the files that you uploaded to Amazon S3 when you created the AMI.
712
712
  */
713
713
  deregisterImage(params: EC2.Types.DeregisterImageRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
714
714
  /**
715
- * Deregisters the specified AMI. After you deregister an AMI, it can't be used to launch new instances. This command does not delete the AMI.
715
+ * Deregisters the specified AMI. After you deregister an AMI, it can't be used to launch new instances; however, it doesn't affect any instances that you've already launched from the AMI. You'll continue to incur usage costs for those instances until you terminate them. When you deregister an Amazon EBS-backed AMI, it doesn't affect the snapshot that was created for the root volume of the instance during the AMI creation process. When you deregister an instance store-backed AMI, it doesn't affect the files that you uploaded to Amazon S3 when you created the AMI.
716
716
  */
717
717
  deregisterImage(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
718
718
  /**
@@ -1684,11 +1684,11 @@ declare class EC2 extends Service {
1684
1684
  */
1685
1685
  rejectVpcPeeringConnection(callback?: (err: AWSError, data: EC2.Types.RejectVpcPeeringConnectionResult) => void): Request<EC2.Types.RejectVpcPeeringConnectionResult, AWSError>;
1686
1686
  /**
1687
- * Releases the specified Elastic IP address. After releasing an Elastic IP address, it is released to the IP address pool and might be unavailable to you. Be sure to update your DNS records and any servers or devices that communicate with the address. If you attempt to release an Elastic IP address that you already released, you'll get an AuthFailure error if the address is already allocated to another AWS account. [EC2-Classic, default VPC] Releasing an Elastic IP address automatically disassociates it from any instance that it's associated with. To disassociate an Elastic IP address without releasing it, use DisassociateAddress. [Nondefault VPC] You must use DisassociateAddress to disassociate the Elastic IP address before you try to release it. Otherwise, Amazon EC2 returns an error (InvalidIPAddress.InUse).
1687
+ * Releases the specified Elastic IP address. [EC2-Classic, default VPC] Releasing an Elastic IP address automatically disassociates it from any instance that it's associated with. To disassociate an Elastic IP address without releasing it, use DisassociateAddress. [Nondefault VPC] You must use DisassociateAddress to disassociate the Elastic IP address before you can release it. Otherwise, Amazon EC2 returns an error (InvalidIPAddress.InUse). After releasing an Elastic IP address, it is released to the IP address pool. Be sure to update your DNS records and any servers or devices that communicate with the address. If you attempt to release an Elastic IP address that you already released, you'll get an AuthFailure error if the address is already allocated to another AWS account. [EC2-VPC] After you release an Elastic IP address for use in a VPC, you might be able to recover it. For more information, see AllocateAddress.
1688
1688
  */
1689
1689
  releaseAddress(params: EC2.Types.ReleaseAddressRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
1690
1690
  /**
1691
- * Releases the specified Elastic IP address. After releasing an Elastic IP address, it is released to the IP address pool and might be unavailable to you. Be sure to update your DNS records and any servers or devices that communicate with the address. If you attempt to release an Elastic IP address that you already released, you'll get an AuthFailure error if the address is already allocated to another AWS account. [EC2-Classic, default VPC] Releasing an Elastic IP address automatically disassociates it from any instance that it's associated with. To disassociate an Elastic IP address without releasing it, use DisassociateAddress. [Nondefault VPC] You must use DisassociateAddress to disassociate the Elastic IP address before you try to release it. Otherwise, Amazon EC2 returns an error (InvalidIPAddress.InUse).
1691
+ * Releases the specified Elastic IP address. [EC2-Classic, default VPC] Releasing an Elastic IP address automatically disassociates it from any instance that it's associated with. To disassociate an Elastic IP address without releasing it, use DisassociateAddress. [Nondefault VPC] You must use DisassociateAddress to disassociate the Elastic IP address before you can release it. Otherwise, Amazon EC2 returns an error (InvalidIPAddress.InUse). After releasing an Elastic IP address, it is released to the IP address pool. Be sure to update your DNS records and any servers or devices that communicate with the address. If you attempt to release an Elastic IP address that you already released, you'll get an AuthFailure error if the address is already allocated to another AWS account. [EC2-VPC] After you release an Elastic IP address for use in a VPC, you might be able to recover it. For more information, see AllocateAddress.
1692
1692
  */
1693
1693
  releaseAddress(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
1694
1694
  /**
@@ -1812,11 +1812,11 @@ declare class EC2 extends Service {
1812
1812
  */
1813
1813
  revokeSecurityGroupEgress(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
1814
1814
  /**
1815
- * Removes one or more ingress rules from a security group. The values that you specify in the revoke request (for example, ports) must match the existing rule's values for the rule to be removed. Each rule consists of the protocol and the CIDR range or source security group. For the TCP and UDP protocols, you must also specify the destination port or range of ports. For the ICMP protocol, you must also specify the ICMP type and code. Rule changes are propagated to instances within the security group as quickly as possible. However, a small delay might occur.
1815
+ * Removes one or more ingress rules from a security group. The values that you specify in the revoke request (for example, ports) must match the existing rule's values for the rule to be removed. [EC2-Classic security groups only] If the values you specify do not match the existing rule's values, no error is returned. Use DescribeSecurityGroups to verify that the rule has been removed. Each rule consists of the protocol and the CIDR range or source security group. For the TCP and UDP protocols, you must also specify the destination port or range of ports. For the ICMP protocol, you must also specify the ICMP type and code. Rule changes are propagated to instances within the security group as quickly as possible. However, a small delay might occur.
1816
1816
  */
1817
1817
  revokeSecurityGroupIngress(params: EC2.Types.RevokeSecurityGroupIngressRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
1818
1818
  /**
1819
- * Removes one or more ingress rules from a security group. The values that you specify in the revoke request (for example, ports) must match the existing rule's values for the rule to be removed. Each rule consists of the protocol and the CIDR range or source security group. For the TCP and UDP protocols, you must also specify the destination port or range of ports. For the ICMP protocol, you must also specify the ICMP type and code. Rule changes are propagated to instances within the security group as quickly as possible. However, a small delay might occur.
1819
+ * Removes one or more ingress rules from a security group. The values that you specify in the revoke request (for example, ports) must match the existing rule's values for the rule to be removed. [EC2-Classic security groups only] If the values you specify do not match the existing rule's values, no error is returned. Use DescribeSecurityGroups to verify that the rule has been removed. Each rule consists of the protocol and the CIDR range or source security group. For the TCP and UDP protocols, you must also specify the destination port or range of ports. For the ICMP protocol, you must also specify the ICMP type and code. Rule changes are propagated to instances within the security group as quickly as possible. However, a small delay might occur.
1820
1820
  */
1821
1821
  revokeSecurityGroupIngress(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
1822
1822
  /**
@@ -2250,6 +2250,10 @@ declare namespace EC2 {
2250
2250
  * Set to vpc to allocate the address for use with instances in a VPC. Default: The address is for use with instances in EC2-Classic.
2251
2251
  */
2252
2252
  Domain?: DomainType;
2253
+ /**
2254
+ * [EC2-VPC] The Elastic IP address to recover.
2255
+ */
2256
+ Address?: String;
2253
2257
  /**
2254
2258
  * 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.
2255
2259
  */
@@ -482,7 +482,7 @@ declare namespace ElasticBeanstalk {
482
482
  */
483
483
  ApplicationVersions?: ApplicationVersionDescriptionList;
484
484
  /**
485
- * For a paginated request, the token that you can pass in a subsequent request to get the next page.
485
+ * In a paginated request, the token that you can pass in a subsequent request to get the next response page.
486
486
  */
487
487
  NextToken?: Token;
488
488
  }
@@ -714,7 +714,7 @@ declare namespace ElasticBeanstalk {
714
714
  */
715
715
  SolutionStackName?: SolutionStackName;
716
716
  /**
717
- * The ARN of the custom platform.
717
+ * The ARN of the platform.
718
718
  */
719
719
  PlatformArn?: PlatformArn;
720
720
  /**
@@ -728,7 +728,7 @@ declare namespace ElasticBeanstalk {
728
728
  */
729
729
  SolutionStackName?: SolutionStackName;
730
730
  /**
731
- * The ARN of the custom platform.
731
+ * The ARN of the platform.
732
732
  */
733
733
  PlatformArn?: PlatformArn;
734
734
  /**
@@ -867,7 +867,7 @@ declare namespace ElasticBeanstalk {
867
867
  */
868
868
  ApplicationName: ApplicationName;
869
869
  /**
870
- * A unique name for the deployment environment. Used in the application URL. Constraint: Must be from 4 to 40 characters in length. The name can contain only letters, numbers, and hyphens. It cannot start or end with a hyphen. This name must be unique in your account. If the specified name already exists, AWS Elastic Beanstalk returns an InvalidParameterValue error. Default: If the CNAME parameter is not specified, the environment name becomes part of the CNAME, and therefore part of the visible URL for your application.
870
+ * A unique name for the deployment environment. Used in the application URL. Constraint: Must be from 4 to 40 characters in length. The name can contain only letters, numbers, and hyphens. It cannot start or end with a hyphen. This name must be unique within a region in your account. If the specified name already exists in the region, AWS Elastic Beanstalk returns an InvalidParameterValue error. Default: If the CNAME parameter is not specified, the environment name becomes part of the CNAME, and therefore part of the visible URL for your application.
871
871
  */
872
872
  EnvironmentName?: EnvironmentName;
873
873
  /**
@@ -903,7 +903,7 @@ declare namespace ElasticBeanstalk {
903
903
  */
904
904
  SolutionStackName?: SolutionStackName;
905
905
  /**
906
- * The ARN of the custom platform.
906
+ * The ARN of the platform.
907
907
  */
908
908
  PlatformArn?: PlatformArn;
909
909
  /**
@@ -1038,7 +1038,7 @@ declare namespace ElasticBeanstalk {
1038
1038
  */
1039
1039
  Status?: String;
1040
1040
  /**
1041
- * For in-progress deployments, the time that the deloyment started. For completed deployments, the time that the deployment ended.
1041
+ * For in-progress deployments, the time that the deployment started. For completed deployments, the time that the deployment ended.
1042
1042
  */
1043
1043
  DeploymentTime?: DeploymentTimestamp;
1044
1044
  }
@@ -1053,11 +1053,11 @@ declare namespace ElasticBeanstalk {
1053
1053
  */
1054
1054
  VersionLabels?: VersionLabelsList;
1055
1055
  /**
1056
- * Specify a maximum number of application versions to paginate in the request.
1056
+ * For a paginated request. Specify a maximum number of application versions to include in each response. If no MaxRecords is specified, all available application versions are retrieved in a single response.
1057
1057
  */
1058
1058
  MaxRecords?: MaxRecords;
1059
1059
  /**
1060
- * Specify a next token to retrieve the next page in a paginated request.
1060
+ * For a paginated request. Specify a token from a previous response page to retrieve the next response page. All other parameter values must be identical to the ones specified in the initial request. If no NextToken is specified, the first page is retrieved.
1061
1061
  */
1062
1062
  NextToken?: Token;
1063
1063
  }
@@ -1238,6 +1238,14 @@ declare namespace ElasticBeanstalk {
1238
1238
  * If specified when IncludeDeleted is set to true, then environments deleted after this date are displayed.
1239
1239
  */
1240
1240
  IncludedDeletedBackTo?: IncludeDeletedBackTo;
1241
+ /**
1242
+ * For a paginated request. Specify a maximum number of environments to include in each response. If no MaxRecords is specified, all available environments are retrieved in a single response.
1243
+ */
1244
+ MaxRecords?: MaxRecords;
1245
+ /**
1246
+ * For a paginated request. Specify a token from a previous response page to retrieve the next response page. All other parameter values must be identical to the ones specified in the initial request. If no NextToken is specified, the first page is retrieved.
1247
+ */
1248
+ NextToken?: Token;
1241
1249
  }
1242
1250
  export interface DescribeEventsMessage {
1243
1251
  /**
@@ -1336,6 +1344,7 @@ declare namespace ElasticBeanstalk {
1336
1344
  export type Description = string;
1337
1345
  export type Ec2InstanceId = string;
1338
1346
  export type EndpointURL = string;
1347
+ export type EnvironmentArn = string;
1339
1348
  export interface EnvironmentDescription {
1340
1349
  /**
1341
1350
  * The name of this environment.
@@ -1358,7 +1367,7 @@ declare namespace ElasticBeanstalk {
1358
1367
  */
1359
1368
  SolutionStackName?: SolutionStackName;
1360
1369
  /**
1361
- * The ARN of the custom platform.
1370
+ * The ARN of the platform.
1362
1371
  */
1363
1372
  PlatformArn?: PlatformArn;
1364
1373
  /**
@@ -1413,6 +1422,10 @@ declare namespace ElasticBeanstalk {
1413
1422
  * A list of links to other environments in the same group.
1414
1423
  */
1415
1424
  EnvironmentLinks?: EnvironmentLinks;
1425
+ /**
1426
+ * The environment's Amazon Resource Name (ARN), which can be used in other API reuqests that require an ARN.
1427
+ */
1428
+ EnvironmentArn?: EnvironmentArn;
1416
1429
  }
1417
1430
  export type EnvironmentDescriptionsList = EnvironmentDescription[];
1418
1431
  export interface EnvironmentDescriptionsMessage {
@@ -1420,6 +1433,10 @@ declare namespace ElasticBeanstalk {
1420
1433
  * Returns an EnvironmentDescription list.
1421
1434
  */
1422
1435
  Environments?: EnvironmentDescriptionsList;
1436
+ /**
1437
+ * In a paginated request, the token that you can pass in a subsequent request to get the next response page.
1438
+ */
1439
+ NextToken?: Token;
1423
1440
  }
1424
1441
  export type EnvironmentHealth = "Green"|"Yellow"|"Red"|"Grey"|string;
1425
1442
  export type EnvironmentHealthAttribute = "Status"|"Color"|"Causes"|"ApplicationMetrics"|"InstancesHealth"|"All"|"HealthStatus"|"RefreshedAt"|string;
@@ -1544,7 +1561,7 @@ declare namespace ElasticBeanstalk {
1544
1561
  */
1545
1562
  EnvironmentName?: EnvironmentName;
1546
1563
  /**
1547
- * The ARN of the custom platform.
1564
+ * The ARN of the platform.
1548
1565
  */
1549
1566
  PlatformArn?: PlatformArn;
1550
1567
  /**
@@ -283,6 +283,22 @@ declare class ELBv2 extends Service {
283
283
  * Waits for the loadBalancersDeleted state by periodically calling the underlying ELBv2.describeLoadBalancersoperation every 15 seconds (at most 40 times).
284
284
  */
285
285
  waitFor(state: "loadBalancersDeleted", callback?: (err: AWSError, data: ELBv2.Types.DescribeLoadBalancersOutput) => void): Request<ELBv2.Types.DescribeLoadBalancersOutput, AWSError>;
286
+ /**
287
+ * Waits for the targetInService state by periodically calling the underlying ELBv2.describeTargetHealthoperation every 15 seconds (at most 40 times).
288
+ */
289
+ waitFor(state: "targetInService", params: ELBv2.Types.DescribeTargetHealthInput, callback?: (err: AWSError, data: ELBv2.Types.DescribeTargetHealthOutput) => void): Request<ELBv2.Types.DescribeTargetHealthOutput, AWSError>;
290
+ /**
291
+ * Waits for the targetInService state by periodically calling the underlying ELBv2.describeTargetHealthoperation every 15 seconds (at most 40 times).
292
+ */
293
+ waitFor(state: "targetInService", callback?: (err: AWSError, data: ELBv2.Types.DescribeTargetHealthOutput) => void): Request<ELBv2.Types.DescribeTargetHealthOutput, AWSError>;
294
+ /**
295
+ * Waits for the targetDeregistered state by periodically calling the underlying ELBv2.describeTargetHealthoperation every 15 seconds (at most 40 times).
296
+ */
297
+ waitFor(state: "targetDeregistered", params: ELBv2.Types.DescribeTargetHealthInput, callback?: (err: AWSError, data: ELBv2.Types.DescribeTargetHealthOutput) => void): Request<ELBv2.Types.DescribeTargetHealthOutput, AWSError>;
298
+ /**
299
+ * Waits for the targetDeregistered state by periodically calling the underlying ELBv2.describeTargetHealthoperation every 15 seconds (at most 40 times).
300
+ */
301
+ waitFor(state: "targetDeregistered", callback?: (err: AWSError, data: ELBv2.Types.DescribeTargetHealthOutput) => void): Request<ELBv2.Types.DescribeTargetHealthOutput, AWSError>;
286
302
  }
287
303
  declare namespace ELBv2 {
288
304
  export interface Action {
@@ -4,6 +4,7 @@ import {AWSError} from '../lib/error';
4
4
  import {GlacierCustomizations} from '../lib/services/glacier';
5
5
  import {ServiceConfigurationOptions} from '../lib/service';
6
6
  import {ConfigBase as Config} from '../lib/config';
7
+ import {Readable} from 'stream';
7
8
  interface Blob {}
8
9
  declare class Glacier extends GlacierCustomizations {
9
10
  /**
@@ -1113,7 +1114,7 @@ declare namespace Glacier {
1113
1114
  }
1114
1115
  export type Size = number;
1115
1116
  export type StatusCode = "InProgress"|"Succeeded"|"Failed"|string;
1116
- export type Stream = Buffer|Uint8Array|Blob|string;
1117
+ export type Stream = Buffer|Uint8Array|Blob|string|Readable;
1117
1118
  export type TagKey = string;
1118
1119
  export type TagKeyList = string[];
1119
1120
  export type TagMap = {[key: string]: TagValue};
@@ -4,6 +4,7 @@ import {AWSError} from '../lib/error';
4
4
  import {Service} from '../lib/service';
5
5
  import {ServiceConfigurationOptions} from '../lib/service';
6
6
  import {ConfigBase as Config} from '../lib/config';
7
+ import {Readable} from 'stream';
7
8
  interface Blob {}
8
9
  declare class Lambda extends Service {
9
10
  /**
@@ -329,7 +330,7 @@ declare namespace Lambda {
329
330
  export type Arn = string;
330
331
  export type BatchSize = number;
331
332
  export type _Blob = Buffer|Uint8Array|Blob|string;
332
- export type BlobStream = Buffer|Uint8Array|Blob|string;
333
+ export type BlobStream = Buffer|Uint8Array|Blob|string|Readable;
333
334
  export type Boolean = boolean;
334
335
  export interface CreateAliasRequest {
335
336
  /**
@@ -4,6 +4,7 @@ import {AWSError} from '../lib/error';
4
4
  import {Service} from '../lib/service';
5
5
  import {ServiceConfigurationOptions} from '../lib/service';
6
6
  import {ConfigBase as Config} from '../lib/config';
7
+ import {Readable} from 'stream';
7
8
  interface Blob {}
8
9
  declare class LexRuntime extends Service {
9
10
  /**
@@ -30,7 +31,7 @@ declare class LexRuntime extends Service {
30
31
  }
31
32
  declare namespace LexRuntime {
32
33
  export type Accept = string;
33
- export type BlobStream = Buffer|Uint8Array|Blob|string;
34
+ export type BlobStream = Buffer|Uint8Array|Blob|string|Readable;
34
35
  export type BotAlias = string;
35
36
  export type BotName = string;
36
37
  export interface Button {