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
@@ -842,6 +842,18 @@ declare namespace CloudDirectory {
842
842
  */
843
843
  detachedObjectIdentifier?: ObjectIdentifier;
844
844
  }
845
+ export interface BatchDetachPolicy {
846
+ /**
847
+ * Reference that identifies the policy object.
848
+ */
849
+ PolicyReference: ObjectReference;
850
+ /**
851
+ * Reference that identifies the object whose policy object will be detached.
852
+ */
853
+ ObjectReference: ObjectReference;
854
+ }
855
+ export interface BatchDetachPolicyResponse {
856
+ }
845
857
  export interface BatchDetachTypedLink {
846
858
  /**
847
859
  * Used to accept a typed link specifier as input.
@@ -1329,6 +1341,10 @@ declare namespace CloudDirectory {
1329
1341
  * Attaches a policy object to a regular object. An object can have a limited number of attached policies.
1330
1342
  */
1331
1343
  AttachPolicy?: BatchAttachPolicy;
1344
+ /**
1345
+ * Detaches a policy from a Directory.
1346
+ */
1347
+ DetachPolicy?: BatchDetachPolicy;
1332
1348
  /**
1333
1349
  * Creates an index object. See Indexing for more information.
1334
1350
  */
@@ -1384,6 +1400,10 @@ declare namespace CloudDirectory {
1384
1400
  * Attaches a policy object to a regular object. An object can have a limited number of attached policies.
1385
1401
  */
1386
1402
  AttachPolicy?: BatchAttachPolicyResponse;
1403
+ /**
1404
+ * Detaches a policy from a Directory.
1405
+ */
1406
+ DetachPolicy?: BatchDetachPolicyResponse;
1387
1407
  /**
1388
1408
  * Creates an index object. See Indexing for more information.
1389
1409
  */
@@ -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 CloudSearchDomain extends Service {
9
10
  /**
@@ -38,7 +39,7 @@ declare class CloudSearchDomain extends Service {
38
39
  }
39
40
  declare namespace CloudSearchDomain {
40
41
  export type Adds = number;
41
- export type _Blob = Buffer|Uint8Array|Blob|string;
42
+ export type _Blob = Buffer|Uint8Array|Blob|string|Readable;
42
43
  export interface Bucket {
43
44
  /**
44
45
  * The facet value being counted.
@@ -346,7 +346,7 @@ declare namespace CodeBuild {
346
346
  }
347
347
  export type EnvironmentVariables = EnvironmentVariable[];
348
348
  export type KeyInput = string;
349
- export type LanguageType = "JAVA"|"PYTHON"|"NODE_JS"|"RUBY"|"GOLANG"|"DOCKER"|"ANDROID"|"BASE"|string;
349
+ export type LanguageType = "JAVA"|"PYTHON"|"NODE_JS"|"RUBY"|"GOLANG"|"DOCKER"|"ANDROID"|"DOTNET"|"BASE"|string;
350
350
  export interface ListBuildsForProjectInput {
351
351
  /**
352
352
  * The name of the build project.
@@ -583,7 +583,7 @@ declare namespace CodeBuild {
583
583
  resource?: String;
584
584
  }
585
585
  export type SourceAuthType = "OAUTH"|string;
586
- export type SourceType = "CODECOMMIT"|"CODEPIPELINE"|"GITHUB"|"S3"|string;
586
+ export type SourceType = "CODECOMMIT"|"CODEPIPELINE"|"GITHUB"|"S3"|"BITBUCKET"|string;
587
587
  export interface StartBuildInput {
588
588
  /**
589
589
  * The name of the build project to start running a build.
@@ -564,7 +564,7 @@ declare namespace CodeDeploy {
564
564
  /**
565
565
  * The minimum number of healthy instances that should be available at any time during the deployment. There are two parameters expected in the input: type and value. The type parameter takes either of the following values: HOST_COUNT: The value parameter represents the minimum number of healthy instances as an absolute value. FLEET_PERCENT: The value parameter represents the minimum number of healthy instances as a percentage of the total number of instances in the deployment. If you specify FLEET_PERCENT, at the start of the deployment, AWS CodeDeploy converts the percentage to the equivalent number of instance and rounds up fractional instances. The value parameter takes an integer. For example, to set a minimum of 95% healthy instance, specify a type of FLEET_PERCENT and a value of 95.
566
566
  */
567
- minimumHealthyHosts?: MinimumHealthyHosts;
567
+ minimumHealthyHosts: MinimumHealthyHosts;
568
568
  }
569
569
  export interface CreateDeploymentConfigOutput {
570
570
  /**
@@ -586,11 +586,11 @@ declare namespace CodeDeploy {
586
586
  */
587
587
  deploymentConfigName?: DeploymentConfigName;
588
588
  /**
589
- * The Amazon EC2 tags on which to filter. The deployment group will include EC2 instances with any of the specified tags.
589
+ * The Amazon EC2 tags on which to filter. The deployment group will include EC2 instances with any of the specified tags. Cannot be used in the same call as ec2TagSet.
590
590
  */
591
591
  ec2TagFilters?: EC2TagFilterList;
592
592
  /**
593
- * The on-premises instance tags on which to filter. The deployment group will include on-premises instances with any of the specified tags.
593
+ * The on-premises instance tags on which to filter. The deployment group will include on-premises instances with any of the specified tags. Cannot be used in the same call as OnPremisesTagSet.
594
594
  */
595
595
  onPremisesInstanceTagFilters?: TagFilterList;
596
596
  /**
@@ -625,6 +625,14 @@ declare namespace CodeDeploy {
625
625
  * Information about the load balancer used in a deployment.
626
626
  */
627
627
  loadBalancerInfo?: LoadBalancerInfo;
628
+ /**
629
+ * Information about groups of tags applied to EC2 instances. The deployment group will include only EC2 instances identified by all the tag groups. Cannot be used in the same call as ec2TagFilters.
630
+ */
631
+ ec2TagSet?: EC2TagSet;
632
+ /**
633
+ * Information about groups of tags applied to on-premises instances. The deployment group will include only on-premises instances identified by all the tag groups. Cannot be used in the same call as onPremisesInstanceTagFilters.
634
+ */
635
+ onPremisesTagSet?: OnPremisesTagSet;
628
636
  }
629
637
  export interface CreateDeploymentGroupOutput {
630
638
  /**
@@ -749,11 +757,11 @@ declare namespace CodeDeploy {
749
757
  */
750
758
  deploymentConfigName?: DeploymentConfigName;
751
759
  /**
752
- * The Amazon EC2 tags on which to filter.
760
+ * The Amazon EC2 tags on which to filter. The deployment group includes EC2 instances with any of the specified tags.
753
761
  */
754
762
  ec2TagFilters?: EC2TagFilterList;
755
763
  /**
756
- * The on-premises instance tags on which to filter.
764
+ * The on-premises instance tags on which to filter. The deployment group includes on-premises instances with any of the specified tags.
757
765
  */
758
766
  onPremisesInstanceTagFilters?: TagFilterList;
759
767
  /**
@@ -800,6 +808,14 @@ declare namespace CodeDeploy {
800
808
  * Information about the most recent attempted deployment to the deployment group.
801
809
  */
802
810
  lastAttemptedDeployment?: LastDeploymentInfo;
811
+ /**
812
+ * Information about groups of tags applied to an EC2 instance. The deployment group includes only EC2 instances identified by all the tag groups. Cannot be used in the same call as ec2TagFilters.
813
+ */
814
+ ec2TagSet?: EC2TagSet;
815
+ /**
816
+ * Information about groups of tags applied to an on-premises instance. The deployment group includes only on-premises instances identified by all the tag groups. Cannot be used in the same call as onPremisesInstanceTagFilters.
817
+ */
818
+ onPremisesTagSet?: OnPremisesTagSet;
803
819
  }
804
820
  export type DeploymentGroupInfoList = DeploymentGroupInfo[];
805
821
  export type DeploymentGroupName = string;
@@ -1002,9 +1018,16 @@ declare namespace CodeDeploy {
1002
1018
  }
1003
1019
  export type EC2TagFilterList = EC2TagFilter[];
1004
1020
  export type EC2TagFilterType = "KEY_ONLY"|"VALUE_ONLY"|"KEY_AND_VALUE"|string;
1021
+ export interface EC2TagSet {
1022
+ /**
1023
+ * A list containing other lists of EC2 instance tag groups. In order for an instance to be included in the deployment group, it must be identified by all the tag groups in the list.
1024
+ */
1025
+ ec2TagSetList?: EC2TagSetList;
1026
+ }
1027
+ export type EC2TagSetList = EC2TagFilterList[];
1005
1028
  export interface ELBInfo {
1006
1029
  /**
1007
- * For blue/green deployments, the name of the load balancer that will be used to route traffic from original instances to replacement instances in a blue/green deployment. For in-place deployments, the name of the load balancer that instances are deregistered from so they are not serving traffic during a deployment, and then re-registered with after the deployment completes.
1030
+ * For blue/green deployments, the name of the load balancer that will be used to route traffic from original instances to replacement instances in a blue/green deployment. For in-place deployments, the name of the load balancer that instances are deregistered from, so they are not serving traffic during a deployment, and then re-registered with after the deployment completes.
1008
1031
  */
1009
1032
  name?: ELBName;
1010
1033
  }
@@ -1485,9 +1508,13 @@ declare namespace CodeDeploy {
1485
1508
  export type ListStateFilterAction = "include"|"exclude"|"ignore"|string;
1486
1509
  export interface LoadBalancerInfo {
1487
1510
  /**
1488
- * An array containing information about the load balancer in Elastic Load Balancing to use in a deployment.
1511
+ * An array containing information about the load balancer to use for load balancing in a deployment. In Elastic Load Balancing, load balancers are used with Classic Load Balancers.
1489
1512
  */
1490
1513
  elbInfoList?: ELBInfoList;
1514
+ /**
1515
+ * An array containing information about the target group to use for load balancing in a deployment. In Elastic Load Balancing, target groups are used with Application Load Balancers.
1516
+ */
1517
+ targetGroupInfoList?: TargetGroupInfoList;
1491
1518
  }
1492
1519
  export type LogTail = string;
1493
1520
  export type Message = string;
@@ -1505,6 +1532,13 @@ declare namespace CodeDeploy {
1505
1532
  export type MinimumHealthyHostsValue = number;
1506
1533
  export type NextToken = string;
1507
1534
  export type NullableBoolean = boolean;
1535
+ export interface OnPremisesTagSet {
1536
+ /**
1537
+ * A list containing other lists of on-premises instance tag groups. In order for an instance to be included in the deployment group, it must be identified by all the tag groups in the list.
1538
+ */
1539
+ onPremisesTagSetList?: OnPremisesTagSetList;
1540
+ }
1541
+ export type OnPremisesTagSetList = TagFilterList[];
1508
1542
  export interface RegisterApplicationRevisionInput {
1509
1543
  /**
1510
1544
  * The name of an AWS CodeDeploy application associated with the applicable IAM user or AWS account.
@@ -1667,15 +1701,27 @@ declare namespace CodeDeploy {
1667
1701
  export type TagFilterList = TagFilter[];
1668
1702
  export type TagFilterType = "KEY_ONLY"|"VALUE_ONLY"|"KEY_AND_VALUE"|string;
1669
1703
  export type TagList = Tag[];
1704
+ export interface TargetGroupInfo {
1705
+ /**
1706
+ * For blue/green deployments, the name of the target group that instances in the original environment are deregistered from, and instances in the replacement environment registered with. For in-place deployments, the name of the target group that instances are deregistered from, so they are not serving traffic during a deployment, and then re-registered with after the deployment completes.
1707
+ */
1708
+ name?: TargetGroupName;
1709
+ }
1710
+ export type TargetGroupInfoList = TargetGroupInfo[];
1711
+ export type TargetGroupName = string;
1670
1712
  export interface TargetInstances {
1671
1713
  /**
1672
- * The tag filter key, type, and value used to identify Amazon EC2 instances in a replacement environment for a blue/green deployment.
1714
+ * The tag filter key, type, and value used to identify Amazon EC2 instances in a replacement environment for a blue/green deployment. Cannot be used in the same call as ec2TagSet.
1673
1715
  */
1674
1716
  tagFilters?: EC2TagFilterList;
1675
1717
  /**
1676
1718
  * The names of one or more Auto Scaling groups to identify a replacement environment for a blue/green deployment.
1677
1719
  */
1678
1720
  autoScalingGroups?: AutoScalingGroupNameList;
1721
+ /**
1722
+ * Information about the groups of EC2 instance tags that an instance must be identified by in order for it to be included in the replacement environment for a blue/green deployment. Cannot be used in the same call as tagFilters.
1723
+ */
1724
+ ec2TagSet?: EC2TagSet;
1679
1725
  }
1680
1726
  export interface TimeRange {
1681
1727
  /**
@@ -1774,6 +1820,14 @@ declare namespace CodeDeploy {
1774
1820
  * Information about the load balancer used in a deployment.
1775
1821
  */
1776
1822
  loadBalancerInfo?: LoadBalancerInfo;
1823
+ /**
1824
+ * Information about groups of tags applied to on-premises instances. The deployment group will include only EC2 instances identified by all the tag groups.
1825
+ */
1826
+ ec2TagSet?: EC2TagSet;
1827
+ /**
1828
+ * Information about an on-premises instance tag set. The deployment group will include only on-premises instances identified by all the tag groups.
1829
+ */
1830
+ onPremisesTagSet?: OnPremisesTagSet;
1777
1831
  }
1778
1832
  export interface UpdateDeploymentGroupOutput {
1779
1833
  /**