aws-sdk 2.991.0 → 2.995.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 (43) hide show
  1. package/CHANGELOG.md +26 -1
  2. package/README.md +1 -1
  3. package/apis/appsync-2017-07-25.min.json +97 -77
  4. package/apis/comprehend-2017-11-27.min.json +205 -123
  5. package/apis/comprehend-2017-11-27.paginators.json +10 -0
  6. package/apis/ec2-2016-11-15.min.json +150 -69
  7. package/apis/ec2-2016-11-15.paginators.json +6 -0
  8. package/apis/ecr-2015-09-21.min.json +66 -14
  9. package/apis/imagebuilder-2019-12-02.min.json +116 -82
  10. package/apis/iot-2015-05-28.min.json +80 -44
  11. package/apis/license-manager-2018-08-01.min.json +186 -72
  12. package/apis/mediaconvert-2017-08-29.min.json +194 -83
  13. package/apis/mediapackage-vod-2018-11-07.min.json +3 -0
  14. package/apis/mediatailor-2018-04-23.min.json +198 -149
  15. package/apis/models.lex.v2-2020-08-07.min.json +179 -22
  16. package/apis/models.lex.v2-2020-08-07.paginators.json +5 -0
  17. package/apis/ssm-2014-11-06.min.json +105 -100
  18. package/apis/ssm-2014-11-06.waiters2.json +5 -0
  19. package/apis/wafv2-2019-07-29.min.json +114 -97
  20. package/clients/appsync.d.ts +35 -13
  21. package/clients/comprehend.d.ts +165 -1
  22. package/clients/ec2.d.ts +164 -66
  23. package/clients/ecr.d.ts +76 -4
  24. package/clients/iam.d.ts +85 -85
  25. package/clients/imagebuilder.d.ts +73 -25
  26. package/clients/iot.d.ts +55 -5
  27. package/clients/lexmodelsv2.d.ts +188 -0
  28. package/clients/licensemanager.d.ts +215 -42
  29. package/clients/mediaconvert.d.ts +154 -17
  30. package/clients/mediapackagevod.d.ts +4 -0
  31. package/clients/mediatailor.d.ts +47 -1
  32. package/clients/ssm.d.ts +40 -19
  33. package/clients/wafv2.d.ts +18 -0
  34. package/dist/aws-sdk-core-react-native.js +4 -4
  35. package/dist/aws-sdk-react-native.js +21 -21
  36. package/dist/aws-sdk.js +633 -356
  37. package/dist/aws-sdk.min.js +72 -72
  38. package/lib/config.js +1 -1
  39. package/lib/core.js +1 -1
  40. package/lib/event_listeners.js +1 -1
  41. package/lib/http_request.d.ts +1 -1
  42. package/lib/signers/v4.js +1 -1
  43. package/package.json +1 -1
package/clients/ecr.d.ts CHANGED
@@ -84,6 +84,14 @@ declare class ECR extends Service {
84
84
  * Deletes the repository policy associated with the specified repository.
85
85
  */
86
86
  deleteRepositoryPolicy(callback?: (err: AWSError, data: ECR.Types.DeleteRepositoryPolicyResponse) => void): Request<ECR.Types.DeleteRepositoryPolicyResponse, AWSError>;
87
+ /**
88
+ * Returns the replication status for a specified image.
89
+ */
90
+ describeImageReplicationStatus(params: ECR.Types.DescribeImageReplicationStatusRequest, callback?: (err: AWSError, data: ECR.Types.DescribeImageReplicationStatusResponse) => void): Request<ECR.Types.DescribeImageReplicationStatusResponse, AWSError>;
91
+ /**
92
+ * Returns the replication status for a specified image.
93
+ */
94
+ describeImageReplicationStatus(callback?: (err: AWSError, data: ECR.Types.DescribeImageReplicationStatusResponse) => void): Request<ECR.Types.DescribeImageReplicationStatusResponse, AWSError>;
87
95
  /**
88
96
  * Returns the scan findings for the specified image.
89
97
  */
@@ -447,6 +455,10 @@ declare namespace ECR {
447
455
  layerDigest?: LayerDigest;
448
456
  }
449
457
  export interface CreateRepositoryRequest {
458
+ /**
459
+ * The AWS account ID associated with the registry to create the repository. If you do not specify a registry, the default registry is assumed.
460
+ */
461
+ registryId?: RegistryId;
450
462
  /**
451
463
  * The name to use for the repository. The repository name may be specified on its own (such as nginx-web-app) or it can be prepended with a namespace to group the repository into a category (such as project-a/nginx-web-app).
452
464
  */
@@ -559,6 +571,28 @@ declare namespace ECR {
559
571
  */
560
572
  repository?: Repository;
561
573
  }
574
+ export interface DescribeImageReplicationStatusRequest {
575
+ /**
576
+ * The name of the repository that the image is in.
577
+ */
578
+ repositoryName: RepositoryName;
579
+ imageId: ImageIdentifier;
580
+ /**
581
+ * The Amazon Web Services account ID associated with the registry. If you do not specify a registry, the default registry is assumed.
582
+ */
583
+ registryId?: RegistryId;
584
+ }
585
+ export interface DescribeImageReplicationStatusResponse {
586
+ /**
587
+ * The repository name associated with the request.
588
+ */
589
+ repositoryName?: RepositoryName;
590
+ imageId?: ImageIdentifier;
591
+ /**
592
+ * The replication status details for the images in the specified repository.
593
+ */
594
+ replicationStatuses?: ImageReplicationStatusList;
595
+ }
562
596
  export interface DescribeImageScanFindingsRequest {
563
597
  /**
564
598
  * The Amazon Web Services account ID associated with the registry that contains the repository in which to describe the image scan findings for. If you do not specify a registry, the default registry is assumed.
@@ -956,6 +990,25 @@ declare namespace ECR {
956
990
  export type ImageIdentifierList = ImageIdentifier[];
957
991
  export type ImageList = Image[];
958
992
  export type ImageManifest = string;
993
+ export interface ImageReplicationStatus {
994
+ /**
995
+ * The destination Region for the image replication.
996
+ */
997
+ region?: Region;
998
+ /**
999
+ * The AWS account ID associated with the registry to which the image belongs.
1000
+ */
1001
+ registryId?: RegistryId;
1002
+ /**
1003
+ * The image replication status.
1004
+ */
1005
+ status?: ReplicationStatus;
1006
+ /**
1007
+ * The failure code for a replication that has failed.
1008
+ */
1009
+ failureCode?: ReplicationError;
1010
+ }
1011
+ export type ImageReplicationStatusList = ImageReplicationStatus[];
959
1012
  export interface ImageScanFinding {
960
1013
  /**
961
1014
  * The name associated with the finding, usually a CVE number.
@@ -1344,28 +1397,34 @@ declare namespace ECR {
1344
1397
  export type RegistryPolicyText = string;
1345
1398
  export interface ReplicationConfiguration {
1346
1399
  /**
1347
- * An array of objects representing the replication rules for a replication configuration. A replication configuration may contain only one replication rule but the rule may contain one or more replication destinations.
1400
+ * An array of objects representing the replication destinations and repository filters for a replication configuration.
1348
1401
  */
1349
1402
  rules: ReplicationRuleList;
1350
1403
  }
1351
1404
  export interface ReplicationDestination {
1352
1405
  /**
1353
- * A Region to replicate to.
1406
+ * The Region to replicate to.
1354
1407
  */
1355
1408
  region: Region;
1356
1409
  /**
1357
- * The account ID of the destination registry to replicate to.
1410
+ * The Amazon Web Services account ID of the Amazon ECR private registry to replicate to. When configuring cross-Region replication within your own registry, specify your own account ID.
1358
1411
  */
1359
1412
  registryId: RegistryId;
1360
1413
  }
1361
1414
  export type ReplicationDestinationList = ReplicationDestination[];
1415
+ export type ReplicationError = string;
1362
1416
  export interface ReplicationRule {
1363
1417
  /**
1364
- * An array of objects representing the details of a replication destination.
1418
+ * An array of objects representing the destination for a replication rule.
1365
1419
  */
1366
1420
  destinations: ReplicationDestinationList;
1421
+ /**
1422
+ * An array of objects representing the filters for a replication rule. Specifying a repository filter for a replication rule provides a method for controlling which repositories in a private registry are replicated.
1423
+ */
1424
+ repositoryFilters?: RepositoryFilterList;
1367
1425
  }
1368
1426
  export type ReplicationRuleList = ReplicationRule[];
1427
+ export type ReplicationStatus = "IN_PROGRESS"|"COMPLETE"|"FAILED"|string;
1369
1428
  export interface Repository {
1370
1429
  /**
1371
1430
  * The Amazon Resource Name (ARN) that identifies the repository. The ARN contains the arn:aws:ecr namespace, followed by the region of the repository, Amazon Web Services account ID of the repository owner, repository namespace, and repository name. For example, arn:aws:ecr:region:012345678910:repository/test.
@@ -1397,6 +1456,19 @@ declare namespace ECR {
1397
1456
  */
1398
1457
  encryptionConfiguration?: EncryptionConfiguration;
1399
1458
  }
1459
+ export interface RepositoryFilter {
1460
+ /**
1461
+ * The repository filter details. When the PREFIX_MATCH filter type is specified, this value is required and should be the repository name prefix to configure replication for.
1462
+ */
1463
+ filter: RepositoryFilterValue;
1464
+ /**
1465
+ * The repository filter type. The only supported value is PREFIX_MATCH, which is a repository name prefix specified with the filter parameter.
1466
+ */
1467
+ filterType: RepositoryFilterType;
1468
+ }
1469
+ export type RepositoryFilterList = RepositoryFilter[];
1470
+ export type RepositoryFilterType = "PREFIX_MATCH"|string;
1471
+ export type RepositoryFilterValue = string;
1400
1472
  export type RepositoryList = Repository[];
1401
1473
  export type RepositoryName = string;
1402
1474
  export type RepositoryNameList = RepositoryName[];