aws-sdk 2.990.0 → 2.991.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.
package/CHANGELOG.md CHANGED
@@ -1,7 +1,12 @@
1
1
  # Changelog for AWS SDK for JavaScript
2
- <!--LATEST=2.990.0-->
2
+ <!--LATEST=2.991.0-->
3
3
  <!--ENTRYINSERT-->
4
4
 
5
+ ## 2.991.0
6
+ * feature: DMS: Optional flag force-planned-failover added to reboot-replication-instance API call. This flag can be used to test a planned failover scenario used during some maintenance operations.
7
+ * feature: ES: This release adds an optional parameter in the ListDomainNames API to filter domains based on the engine type (OpenSearch/Elasticsearch).
8
+ * feature: OpenSearch: This release adds an optional parameter in the ListDomainNames API to filter domains based on the engine type (OpenSearch/Elasticsearch).
9
+
5
10
  ## 2.990.0
6
11
  * feature: KafkaConnect: This is the initial SDK release for Amazon Managed Streaming for Apache Kafka Connect (MSK Connect).
7
12
  * feature: Macie2: This release adds support for specifying which managed data identifiers are used by a classification job, and retrieving a list of managed data identifiers that are available.
package/README.md CHANGED
@@ -29,7 +29,7 @@ For release notes, see the [CHANGELOG](https://github.com/aws/aws-sdk-js/blob/ma
29
29
  To use the SDK in the browser, simply add the following script tag to your
30
30
  HTML pages:
31
31
 
32
- <script src="https://sdk.amazonaws.com/js/aws-sdk-2.990.0.min.js"></script>
32
+ <script src="https://sdk.amazonaws.com/js/aws-sdk-2.991.0.min.js"></script>
33
33
 
34
34
  You can also build a custom browser SDK with your specified set of AWS services.
35
35
  This can allow you to reduce the SDK's size, specify different API versions of
@@ -1482,6 +1482,9 @@
1482
1482
  "ReplicationInstanceArn": {},
1483
1483
  "ForceFailover": {
1484
1484
  "type": "boolean"
1485
+ },
1486
+ "ForcePlannedFailover": {
1487
+ "type": "boolean"
1485
1488
  }
1486
1489
  }
1487
1490
  },
@@ -1002,6 +1002,15 @@
1002
1002
  "method": "GET",
1003
1003
  "requestUri": "/2015-01-01/domain"
1004
1004
  },
1005
+ "input": {
1006
+ "type": "structure",
1007
+ "members": {
1008
+ "EngineType": {
1009
+ "location": "querystring",
1010
+ "locationName": "engineType"
1011
+ }
1012
+ }
1013
+ },
1005
1014
  "output": {
1006
1015
  "type": "structure",
1007
1016
  "members": {
@@ -1010,7 +1019,8 @@
1010
1019
  "member": {
1011
1020
  "type": "structure",
1012
1021
  "members": {
1013
- "DomainName": {}
1022
+ "DomainName": {},
1023
+ "EngineType": {}
1014
1024
  }
1015
1025
  }
1016
1026
  }
@@ -1047,7 +1057,7 @@
1047
1057
  "type": "structure",
1048
1058
  "members": {
1049
1059
  "DomainPackageDetailsList": {
1050
- "shape": "S6s"
1060
+ "shape": "S6u"
1051
1061
  },
1052
1062
  "NextToken": {}
1053
1063
  }
@@ -1153,7 +1163,7 @@
1153
1163
  "type": "structure",
1154
1164
  "members": {
1155
1165
  "DomainPackageDetailsList": {
1156
- "shape": "S6s"
1166
+ "shape": "S6u"
1157
1167
  },
1158
1168
  "NextToken": {}
1159
1169
  }
@@ -2173,7 +2183,7 @@
2173
2183
  "type": "list",
2174
2184
  "member": {}
2175
2185
  },
2176
- "S6s": {
2186
+ "S6u": {
2177
2187
  "type": "list",
2178
2188
  "member": {
2179
2189
  "shape": "Sl"
@@ -999,6 +999,15 @@
999
999
  "method": "GET",
1000
1000
  "requestUri": "/2021-01-01/domain"
1001
1001
  },
1002
+ "input": {
1003
+ "type": "structure",
1004
+ "members": {
1005
+ "EngineType": {
1006
+ "location": "querystring",
1007
+ "locationName": "engineType"
1008
+ }
1009
+ }
1010
+ },
1002
1011
  "output": {
1003
1012
  "type": "structure",
1004
1013
  "members": {
@@ -1007,7 +1016,8 @@
1007
1016
  "member": {
1008
1017
  "type": "structure",
1009
1018
  "members": {
1010
- "DomainName": {}
1019
+ "DomainName": {},
1020
+ "EngineType": {}
1011
1021
  }
1012
1022
  }
1013
1023
  }
@@ -1044,7 +1054,7 @@
1044
1054
  "type": "structure",
1045
1055
  "members": {
1046
1056
  "DomainPackageDetailsList": {
1047
- "shape": "S6u"
1057
+ "shape": "S6w"
1048
1058
  },
1049
1059
  "NextToken": {}
1050
1060
  }
@@ -1145,7 +1155,7 @@
1145
1155
  "type": "structure",
1146
1156
  "members": {
1147
1157
  "DomainPackageDetailsList": {
1148
- "shape": "S6u"
1158
+ "shape": "S6w"
1149
1159
  },
1150
1160
  "NextToken": {}
1151
1161
  }
@@ -2206,7 +2216,7 @@
2206
2216
  "type": "list",
2207
2217
  "member": {}
2208
2218
  },
2209
- "S6u": {
2219
+ "S6w": {
2210
2220
  "type": "list",
2211
2221
  "member": {
2212
2222
  "shape": "Sm"
package/clients/dms.d.ts CHANGED
@@ -61,11 +61,11 @@ declare class DMS extends Service {
61
61
  */
62
62
  createReplicationInstance(callback?: (err: AWSError, data: DMS.Types.CreateReplicationInstanceResponse) => void): Request<DMS.Types.CreateReplicationInstanceResponse, AWSError>;
63
63
  /**
64
- * Creates a replication subnet group given a list of the subnet IDs in a VPC.
64
+ * Creates a replication subnet group given a list of the subnet IDs in a VPC. The VPC needs to have at least one subnet in at least two availability zones in the Amazon Web Services Region, otherwise the service will throw a ReplicationSubnetGroupDoesNotCoverEnoughAZs exception.
65
65
  */
66
66
  createReplicationSubnetGroup(params: DMS.Types.CreateReplicationSubnetGroupMessage, callback?: (err: AWSError, data: DMS.Types.CreateReplicationSubnetGroupResponse) => void): Request<DMS.Types.CreateReplicationSubnetGroupResponse, AWSError>;
67
67
  /**
68
- * Creates a replication subnet group given a list of the subnet IDs in a VPC.
68
+ * Creates a replication subnet group given a list of the subnet IDs in a VPC. The VPC needs to have at least one subnet in at least two availability zones in the Amazon Web Services Region, otherwise the service will throw a ReplicationSubnetGroupDoesNotCoverEnoughAZs exception.
69
69
  */
70
70
  createReplicationSubnetGroup(callback?: (err: AWSError, data: DMS.Types.CreateReplicationSubnetGroupResponse) => void): Request<DMS.Types.CreateReplicationSubnetGroupResponse, AWSError>;
71
71
  /**
@@ -397,11 +397,11 @@ declare class DMS extends Service {
397
397
  */
398
398
  refreshSchemas(callback?: (err: AWSError, data: DMS.Types.RefreshSchemasResponse) => void): Request<DMS.Types.RefreshSchemasResponse, AWSError>;
399
399
  /**
400
- * Reloads the target database table with the source data.
400
+ * Reloads the target database table with the source data. You can only use this operation with a task in the RUNNING state, otherwise the service will throw an InvalidResourceStateFault exception.
401
401
  */
402
402
  reloadTables(params: DMS.Types.ReloadTablesMessage, callback?: (err: AWSError, data: DMS.Types.ReloadTablesResponse) => void): Request<DMS.Types.ReloadTablesResponse, AWSError>;
403
403
  /**
404
- * Reloads the target database table with the source data.
404
+ * Reloads the target database table with the source data. You can only use this operation with a task in the RUNNING state, otherwise the service will throw an InvalidResourceStateFault exception.
405
405
  */
406
406
  reloadTables(callback?: (err: AWSError, data: DMS.Types.ReloadTablesResponse) => void): Request<DMS.Types.ReloadTablesResponse, AWSError>;
407
407
  /**
@@ -551,7 +551,7 @@ declare namespace DMS {
551
551
  */
552
552
  ReplicationInstanceArn: String;
553
553
  /**
554
- * The pending maintenance action to apply to this resource.
554
+ * The pending maintenance action to apply to this resource. Valid values: os-upgrade, system-update, db-upgrade
555
555
  */
556
556
  ApplyAction: String;
557
557
  /**
@@ -733,7 +733,7 @@ declare namespace DMS {
733
733
  */
734
734
  S3Settings?: S3Settings;
735
735
  /**
736
- * The settings in JSON format for the DMS transfer type of source endpoint. Possible settings include the following: ServiceAccessRoleArn - The IAM role that has permission to access the Amazon S3 bucket. The role must allow the iam:PassRole action. BucketName - The name of the S3 bucket to use. Shorthand syntax for these settings is as follows: ServiceAccessRoleArn=string,BucketName=string JSON syntax for these settings is as follows: { "ServiceAccessRoleArn": "string", "BucketName": "string", }
736
+ * The settings in JSON format for the DMS transfer type of source endpoint. Possible settings include the following: ServiceAccessRoleArn - The Amazon Resource Name (ARN) used by the service access IAM role. The role must allow the iam:PassRole action. BucketName - The name of the S3 bucket to use. Shorthand syntax for these settings is as follows: ServiceAccessRoleArn=string,BucketName=string JSON syntax for these settings is as follows: { "ServiceAccessRoleArn": "string", "BucketName": "string", }
737
737
  */
738
738
  DmsTransferSettings?: DmsTransferSettings;
739
739
  /**
@@ -1647,7 +1647,7 @@ declare namespace DMS {
1647
1647
  export type DmsSslModeValue = "none"|"require"|"verify-ca"|"verify-full"|string;
1648
1648
  export interface DmsTransferSettings {
1649
1649
  /**
1650
- * The IAM role that has permission to access the Amazon S3 bucket. When specified as part of request syntax, such as for the CreateEndpoint and ModifyEndpoint actions, the role must allow the iam:PassRole action.
1650
+ * The Amazon Resource Name (ARN) used by the service access IAM role. The role must allow the iam:PassRole action.
1651
1651
  */
1652
1652
  ServiceAccessRoleArn?: String;
1653
1653
  /**
@@ -1805,7 +1805,7 @@ declare namespace DMS {
1805
1805
  */
1806
1806
  S3Settings?: S3Settings;
1807
1807
  /**
1808
- * The settings in JSON format for the DMS transfer type of source endpoint. Possible settings include the following: ServiceAccessRoleArn - The IAM role that has permission to access the Amazon S3 bucket. The role must allow the iam:PassRole action. BucketName - The name of the S3 bucket to use. Shorthand syntax for these settings is as follows: ServiceAccessRoleArn=string,BucketName=string, JSON syntax for these settings is as follows: { "ServiceAccessRoleArn": "string", "BucketName": "string"}
1808
+ * The settings in JSON format for the DMS transfer type of source endpoint. Possible settings include the following: ServiceAccessRoleArn - - The Amazon Resource Name (ARN) used by the service access IAM role. The role must allow the iam:PassRole action. BucketName - The name of the S3 bucket to use. Shorthand syntax for these settings is as follows: ServiceAccessRoleArn=string,BucketName=string, JSON syntax for these settings is as follows: { "ServiceAccessRoleArn": "string", "BucketName": "string"}
1809
1809
  */
1810
1810
  DmsTransferSettings?: DmsTransferSettings;
1811
1811
  /**
@@ -2323,7 +2323,7 @@ declare namespace DMS {
2323
2323
  */
2324
2324
  S3Settings?: S3Settings;
2325
2325
  /**
2326
- * The settings in JSON format for the DMS transfer type of source endpoint. Attributes include the following: serviceAccessRoleArn - The Identity and Access Management (IAM) role that has permission to access the Amazon S3 bucket. The role must allow the iam:PassRole action. BucketName - The name of the S3 bucket to use. Shorthand syntax for these settings is as follows: ServiceAccessRoleArn=string ,BucketName=string JSON syntax for these settings is as follows: { "ServiceAccessRoleArn": "string", "BucketName": "string"}
2326
+ * The settings in JSON format for the DMS transfer type of source endpoint. Attributes include the following: serviceAccessRoleArn - The Amazon Resource Name (ARN) used by the service access IAM role. The role must allow the iam:PassRole action. BucketName - The name of the S3 bucket to use. Shorthand syntax for these settings is as follows: ServiceAccessRoleArn=string ,BucketName=string JSON syntax for these settings is as follows: { "ServiceAccessRoleArn": "string", "BucketName": "string"}
2327
2327
  */
2328
2328
  DmsTransferSettings?: DmsTransferSettings;
2329
2329
  /**
@@ -3008,9 +3008,13 @@ declare namespace DMS {
3008
3008
  */
3009
3009
  ReplicationInstanceArn: String;
3010
3010
  /**
3011
- * If this parameter is true, the reboot is conducted through a Multi-AZ failover. (If the instance isn't configured for Multi-AZ, then you can't specify true.)
3011
+ * If this parameter is true, the reboot is conducted through a Multi-AZ failover. If the instance isn't configured for Multi-AZ, then you can't specify true. ( --force-planned-failover and --force-failover can't both be set to true.)
3012
3012
  */
3013
3013
  ForceFailover?: BooleanOptional;
3014
+ /**
3015
+ * If this parameter is true, the reboot is conducted through a planned Multi-AZ failover where resources are released and cleaned up prior to conducting the failover. If the instance isn''t configured for Multi-AZ, then you can't specify true. ( --force-planned-failover and --force-failover can't both be set to true.)
3016
+ */
3017
+ ForcePlannedFailover?: BooleanOptional;
3014
3018
  }
3015
3019
  export interface RebootReplicationInstanceResponse {
3016
3020
  /**
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
  }
@@ -219,6 +219,10 @@ declare class OpenSearch extends Service {
219
219
  * Retrieves the latest status of the last upgrade or upgrade eligibility check performed on the domain.
220
220
  */
221
221
  getUpgradeStatus(callback?: (err: AWSError, data: OpenSearch.Types.GetUpgradeStatusResponse) => void): Request<OpenSearch.Types.GetUpgradeStatusResponse, AWSError>;
222
+ /**
223
+ * Returns the names of all domains owned by the current user's account.
224
+ */
225
+ listDomainNames(params: OpenSearch.Types.ListDomainNamesRequest, callback?: (err: AWSError, data: OpenSearch.Types.ListDomainNamesResponse) => void): Request<OpenSearch.Types.ListDomainNamesResponse, AWSError>;
222
226
  /**
223
227
  * Returns the names of all domains owned by the current user's account.
224
228
  */
@@ -598,6 +602,9 @@ declare namespace OpenSearch {
598
602
  * The number of UltraWarm nodes in the cluster.
599
603
  */
600
604
  WarmCount?: IntegerClass;
605
+ /**
606
+ * Specifies the ColdStorageOptions config for a Domain
607
+ */
601
608
  ColdStorageOptions?: ColdStorageOptions;
602
609
  }
603
610
  export interface ClusterConfigStatus {
@@ -639,6 +646,9 @@ declare namespace OpenSearch {
639
646
  Status: OptionStatus;
640
647
  }
641
648
  export interface ColdStorageOptions {
649
+ /**
650
+ * Enable cold storage option. Accepted values true or false
651
+ */
642
652
  Enabled: Boolean;
643
653
  }
644
654
  export type CommitMessage = string;
@@ -1156,6 +1166,10 @@ declare namespace OpenSearch {
1156
1166
  * The DomainName.
1157
1167
  */
1158
1168
  DomainName?: DomainName;
1169
+ /**
1170
+ * Specifies the EngineType of the domain.
1171
+ */
1172
+ EngineType?: EngineType;
1159
1173
  }
1160
1174
  export type DomainInfoList = DomainInfo[];
1161
1175
  export interface DomainInformationContainer {
@@ -1358,6 +1372,7 @@ declare namespace OpenSearch {
1358
1372
  Status: OptionStatus;
1359
1373
  }
1360
1374
  export type EndpointsMap = {[key: string]: ServiceUrl};
1375
+ export type EngineType = "OpenSearch"|"Elasticsearch"|string;
1361
1376
  export interface ErrorDetails {
1362
1377
  ErrorType?: ErrorType;
1363
1378
  ErrorMessage?: ErrorMessage;
@@ -1511,9 +1526,15 @@ declare namespace OpenSearch {
1511
1526
  AdditionalLimits?: AdditionalLimitList;
1512
1527
  }
1513
1528
  export type LimitsByRole = {[key: string]: Limits};
1529
+ export interface ListDomainNamesRequest {
1530
+ /**
1531
+ * Optional parameter to filter the output by domain engine type. Acceptable values are 'Elasticsearch' and 'OpenSearch'.
1532
+ */
1533
+ EngineType?: EngineType;
1534
+ }
1514
1535
  export interface ListDomainNamesResponse {
1515
1536
  /**
1516
- * List of domain names.
1537
+ * List of domain names and respective engine types.
1517
1538
  */
1518
1539
  DomainNames?: DomainInfoList;
1519
1540
  }
@@ -83,7 +83,7 @@ return /******/ (function(modules) { // webpackBootstrap
83
83
  /**
84
84
  * @constant
85
85
  */
86
- VERSION: '2.990.0',
86
+ VERSION: '2.991.0',
87
87
 
88
88
  /**
89
89
  * @api private