aws-sdk 2.990.0 → 2.994.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 (49) hide show
  1. package/CHANGELOG.md +27 -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/dms-2016-01-01.min.json +3 -0
  7. package/apis/ec2-2016-11-15.min.json +125 -54
  8. package/apis/ec2-2016-11-15.paginators.json +6 -0
  9. package/apis/ecr-2015-09-21.min.json +66 -14
  10. package/apis/es-2015-01-01.min.json +14 -4
  11. package/apis/imagebuilder-2019-12-02.min.json +116 -82
  12. package/apis/iot-2015-05-28.min.json +80 -44
  13. package/apis/license-manager-2018-08-01.min.json +184 -71
  14. package/apis/mediaconvert-2017-08-29.min.json +194 -83
  15. package/apis/mediapackage-vod-2018-11-07.min.json +3 -0
  16. package/apis/mediatailor-2018-04-23.min.json +198 -149
  17. package/apis/models.lex.v2-2020-08-07.min.json +179 -22
  18. package/apis/models.lex.v2-2020-08-07.paginators.json +5 -0
  19. package/apis/opensearch-2021-01-01.min.json +14 -4
  20. package/apis/ssm-2014-11-06.min.json +105 -100
  21. package/apis/ssm-2014-11-06.waiters2.json +5 -0
  22. package/apis/wafv2-2019-07-29.min.json +114 -97
  23. package/clients/appsync.d.ts +35 -13
  24. package/clients/comprehend.d.ts +165 -1
  25. package/clients/dms.d.ts +14 -10
  26. package/clients/ec2.d.ts +147 -61
  27. package/clients/ecr.d.ts +76 -4
  28. package/clients/es.d.ts +18 -3
  29. package/clients/iam.d.ts +85 -85
  30. package/clients/imagebuilder.d.ts +73 -25
  31. package/clients/iot.d.ts +55 -5
  32. package/clients/lexmodelsv2.d.ts +188 -0
  33. package/clients/licensemanager.d.ts +211 -42
  34. package/clients/mediaconvert.d.ts +154 -17
  35. package/clients/mediapackagevod.d.ts +4 -0
  36. package/clients/mediatailor.d.ts +47 -1
  37. package/clients/opensearch.d.ts +22 -1
  38. package/clients/ssm.d.ts +40 -19
  39. package/clients/wafv2.d.ts +18 -0
  40. package/dist/aws-sdk-core-react-native.js +4 -4
  41. package/dist/aws-sdk-react-native.js +24 -24
  42. package/dist/aws-sdk.js +608 -341
  43. package/dist/aws-sdk.min.js +72 -72
  44. package/lib/config.js +1 -1
  45. package/lib/core.js +1 -1
  46. package/lib/event_listeners.js +1 -1
  47. package/lib/http_request.d.ts +1 -1
  48. package/lib/signers/v4.js +1 -1
  49. 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[];
package/clients/es.d.ts CHANGED
@@ -223,6 +223,10 @@ declare class ES extends Service {
223
223
  * Retrieves the latest status of the last upgrade or upgrade eligibility check that was performed on the domain.
224
224
  */
225
225
  getUpgradeStatus(callback?: (err: AWSError, data: ES.Types.GetUpgradeStatusResponse) => void): Request<ES.Types.GetUpgradeStatusResponse, AWSError>;
226
+ /**
227
+ * Returns the name of all Elasticsearch domains owned by the current user's account.
228
+ */
229
+ listDomainNames(params: ES.Types.ListDomainNamesRequest, callback?: (err: AWSError, data: ES.Types.ListDomainNamesResponse) => void): Request<ES.Types.ListDomainNamesResponse, AWSError>;
226
230
  /**
227
231
  * Returns the name of all Elasticsearch domains owned by the current user's account.
228
232
  */
@@ -586,7 +590,7 @@ declare namespace ES {
586
590
  }
587
591
  export interface ColdStorageOptions {
588
592
  /**
589
- * True to enable cold storage for an Elasticsearch domain.
593
+ * Enable cold storage option. Accepted values true or false
590
594
  */
591
595
  Enabled: Boolean;
592
596
  }
@@ -1047,6 +1051,10 @@ declare namespace ES {
1047
1051
  * Specifies the DomainName.
1048
1052
  */
1049
1053
  DomainName?: DomainName;
1054
+ /**
1055
+ * Specifies the EngineType of the domain.
1056
+ */
1057
+ EngineType?: EngineType;
1050
1058
  }
1051
1059
  export type DomainInfoList = DomainInfo[];
1052
1060
  export interface DomainInformation {
@@ -1178,7 +1186,7 @@ declare namespace ES {
1178
1186
  */
1179
1187
  WarmCount?: IntegerClass;
1180
1188
  /**
1181
- * Specifies the ColdStorageOptions configuration for an Elasticsearch domain.
1189
+ * Specifies the ColdStorageOptions config for Elasticsearch Domain
1182
1190
  */
1183
1191
  ColdStorageOptions?: ColdStorageOptions;
1184
1192
  }
@@ -1380,6 +1388,7 @@ declare namespace ES {
1380
1388
  Status: OptionStatus;
1381
1389
  }
1382
1390
  export type EndpointsMap = {[key: string]: ServiceUrl};
1391
+ export type EngineType = "OpenSearch"|"Elasticsearch"|string;
1383
1392
  export interface ErrorDetails {
1384
1393
  ErrorType?: ErrorType;
1385
1394
  ErrorMessage?: ErrorMessage;
@@ -1522,9 +1531,15 @@ declare namespace ES {
1522
1531
  AdditionalLimits?: AdditionalLimitList;
1523
1532
  }
1524
1533
  export type LimitsByRole = {[key: string]: Limits};
1534
+ export interface ListDomainNamesRequest {
1535
+ /**
1536
+ * Optional parameter to filter the output by domain engine type. Acceptable values are 'Elasticsearch' and 'OpenSearch'.
1537
+ */
1538
+ EngineType?: EngineType;
1539
+ }
1525
1540
  export interface ListDomainNamesResponse {
1526
1541
  /**
1527
- * List of Elasticsearch domain names.
1542
+ * List of domain names and respective engine types.
1528
1543
  */
1529
1544
  DomainNames?: DomainInfoList;
1530
1545
  }