Skip to content

Commit

Permalink
Updates SDK to v2.991.0
Browse files Browse the repository at this point in the history
  • Loading branch information
awstools committed Sep 17, 2021
1 parent 01996f8 commit 58f7d43
Show file tree
Hide file tree
Showing 18 changed files with 200 additions and 55 deletions.
17 changes: 17 additions & 0 deletions .changes/2.991.0.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
[
{
"type": "feature",
"category": "DMS",
"description": "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."
},
{
"type": "feature",
"category": "ES",
"description": "This release adds an optional parameter in the ListDomainNames API to filter domains based on the engine type (OpenSearch/Elasticsearch)."
},
{
"type": "feature",
"category": "OpenSearch",
"description": "This release adds an optional parameter in the ListDomainNames API to filter domains based on the engine type (OpenSearch/Elasticsearch)."
}
]
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
# Changelog for AWS SDK for JavaScript
<!--LATEST=2.990.0-->
<!--LATEST=2.991.0-->
<!--ENTRYINSERT-->

## 2.991.0
* 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.
* feature: ES: This release adds an optional parameter in the ListDomainNames API to filter domains based on the engine type (OpenSearch/Elasticsearch).
* feature: OpenSearch: This release adds an optional parameter in the ListDomainNames API to filter domains based on the engine type (OpenSearch/Elasticsearch).

## 2.990.0
* feature: KafkaConnect: This is the initial SDK release for Amazon Managed Streaming for Apache Kafka Connect (MSK Connect).
* 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.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ For release notes, see the [CHANGELOG](https://github.com/aws/aws-sdk-js/blob/ma
To use the SDK in the browser, simply add the following script tag to your
HTML pages:

<script src="https://sdk.amazonaws.com/js/aws-sdk-2.990.0.min.js"></script>
<script src="https://sdk.amazonaws.com/js/aws-sdk-2.991.0.min.js"></script>

You can also build a custom browser SDK with your specified set of AWS services.
This can allow you to reduce the SDK's size, specify different API versions of
Expand Down
3 changes: 3 additions & 0 deletions apis/dms-2016-01-01.min.json
Original file line number Diff line number Diff line change
Expand Up @@ -1482,6 +1482,9 @@
"ReplicationInstanceArn": {},
"ForceFailover": {
"type": "boolean"
},
"ForcePlannedFailover": {
"type": "boolean"
}
}
},
Expand Down
20 changes: 12 additions & 8 deletions apis/dms-2016-01-01.normal.json
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@
"shape": "InvalidSubnet"
}
],
"documentation": "<p>Creates a replication subnet group given a list of the subnet IDs in a VPC.</p>"
"documentation": "<p>Creates a replication subnet group given a list of the subnet IDs in a VPC.</p> <p>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 <code>ReplicationSubnetGroupDoesNotCoverEnoughAZs</code> exception.</p>"
},
"CreateReplicationTask": {
"name": "CreateReplicationTask",
Expand Down Expand Up @@ -1178,7 +1178,7 @@
"shape": "InvalidResourceStateFault"
}
],
"documentation": "<p>Reloads the target database table with the source data. </p>"
"documentation": "<p>Reloads the target database table with the source data. </p> <p>You can only use this operation with a task in the <code>RUNNING</code> state, otherwise the service will throw an <code>InvalidResourceStateFault</code> exception.</p>"
},
"RemoveTagsFromResource": {
"name": "RemoveTagsFromResource",
Expand Down Expand Up @@ -1414,7 +1414,7 @@
},
"ApplyAction": {
"shape": "String",
"documentation": "<p>The pending maintenance action to apply to this resource.</p>"
"documentation": "<p>The pending maintenance action to apply to this resource.</p> <p>Valid values: <code>os-upgrade</code>, <code>system-update</code>, <code>db-upgrade</code> </p>"
},
"OptInType": {
"shape": "String",
Expand Down Expand Up @@ -1696,7 +1696,7 @@
},
"DmsTransferSettings": {
"shape": "DmsTransferSettings",
"documentation": "<p>The settings in JSON format for the DMS transfer type of source endpoint. </p> <p>Possible settings include the following:</p> <ul> <li> <p> <code>ServiceAccessRoleArn</code> - The IAM role that has permission to access the Amazon S3 bucket. The role must allow the <code>iam:PassRole</code> action.</p> </li> <li> <p> <code>BucketName</code> - The name of the S3 bucket to use.</p> </li> </ul> <p>Shorthand syntax for these settings is as follows: <code>ServiceAccessRoleArn=string,BucketName=string</code> </p> <p>JSON syntax for these settings is as follows: <code>{ \"ServiceAccessRoleArn\": \"string\", \"BucketName\": \"string\", } </code> </p>"
"documentation": "<p>The settings in JSON format for the DMS transfer type of source endpoint. </p> <p>Possible settings include the following:</p> <ul> <li> <p> <code>ServiceAccessRoleArn</code> - The Amazon Resource Name (ARN) used by the service access IAM role. The role must allow the <code>iam:PassRole</code> action.</p> </li> <li> <p> <code>BucketName</code> - The name of the S3 bucket to use.</p> </li> </ul> <p>Shorthand syntax for these settings is as follows: <code>ServiceAccessRoleArn=string,BucketName=string</code> </p> <p>JSON syntax for these settings is as follows: <code>{ \"ServiceAccessRoleArn\": \"string\", \"BucketName\": \"string\", } </code> </p>"
},
"MongoDbSettings": {
"shape": "MongoDbSettings",
Expand Down Expand Up @@ -2976,7 +2976,7 @@
"members": {
"ServiceAccessRoleArn": {
"shape": "String",
"documentation": "<p> The IAM role that has permission to access the Amazon S3 bucket. When specified as part of request syntax, such as for the <code>CreateEndpoint</code> and <code>ModifyEndpoint</code> actions, the role must allow the <code>iam:PassRole</code> action.</p>"
"documentation": "<p>The Amazon Resource Name (ARN) used by the service access IAM role. The role must allow the <code>iam:PassRole</code> action.</p>"
},
"BucketName": {
"shape": "String",
Expand Down Expand Up @@ -3170,7 +3170,7 @@
},
"DmsTransferSettings": {
"shape": "DmsTransferSettings",
"documentation": "<p>The settings in JSON format for the DMS transfer type of source endpoint. </p> <p>Possible settings include the following:</p> <ul> <li> <p> <code>ServiceAccessRoleArn</code> - The IAM role that has permission to access the Amazon S3 bucket. The role must allow the <code>iam:PassRole</code> action.</p> </li> <li> <p> <code>BucketName</code> - The name of the S3 bucket to use.</p> </li> </ul> <p>Shorthand syntax for these settings is as follows: <code>ServiceAccessRoleArn=string,BucketName=string,</code> </p> <p>JSON syntax for these settings is as follows: <code>{ \"ServiceAccessRoleArn\": \"string\", \"BucketName\": \"string\"} </code> </p>"
"documentation": "<p>The settings in JSON format for the DMS transfer type of source endpoint. </p> <p>Possible settings include the following:</p> <ul> <li> <p> <code>ServiceAccessRoleArn</code> - - The Amazon Resource Name (ARN) used by the service access IAM role. The role must allow the <code>iam:PassRole</code> action.</p> </li> <li> <p> <code>BucketName</code> - The name of the S3 bucket to use.</p> </li> </ul> <p>Shorthand syntax for these settings is as follows: <code>ServiceAccessRoleArn=string,BucketName=string,</code> </p> <p>JSON syntax for these settings is as follows: <code>{ \"ServiceAccessRoleArn\": \"string\", \"BucketName\": \"string\"} </code> </p>"
},
"MongoDbSettings": {
"shape": "MongoDbSettings",
Expand Down Expand Up @@ -3859,7 +3859,7 @@
},
"DmsTransferSettings": {
"shape": "DmsTransferSettings",
"documentation": "<p>The settings in JSON format for the DMS transfer type of source endpoint. </p> <p>Attributes include the following:</p> <ul> <li> <p>serviceAccessRoleArn - The Identity and Access Management (IAM) role that has permission to access the Amazon S3 bucket. The role must allow the <code>iam:PassRole</code> action.</p> </li> <li> <p>BucketName - The name of the S3 bucket to use.</p> </li> </ul> <p>Shorthand syntax for these settings is as follows: <code>ServiceAccessRoleArn=string ,BucketName=string</code> </p> <p>JSON syntax for these settings is as follows: <code>{ \"ServiceAccessRoleArn\": \"string\", \"BucketName\": \"string\"} </code> </p>"
"documentation": "<p>The settings in JSON format for the DMS transfer type of source endpoint. </p> <p>Attributes include the following:</p> <ul> <li> <p>serviceAccessRoleArn - The Amazon Resource Name (ARN) used by the service access IAM role. The role must allow the <code>iam:PassRole</code> action.</p> </li> <li> <p>BucketName - The name of the S3 bucket to use.</p> </li> </ul> <p>Shorthand syntax for these settings is as follows: <code>ServiceAccessRoleArn=string ,BucketName=string</code> </p> <p>JSON syntax for these settings is as follows: <code>{ \"ServiceAccessRoleArn\": \"string\", \"BucketName\": \"string\"} </code> </p>"
},
"MongoDbSettings": {
"shape": "MongoDbSettings",
Expand Down Expand Up @@ -4680,7 +4680,11 @@
},
"ForceFailover": {
"shape": "BooleanOptional",
"documentation": "<p>If this parameter is <code>true</code>, the reboot is conducted through a Multi-AZ failover. (If the instance isn't configured for Multi-AZ, then you can't specify <code>true</code>.)</p>"
"documentation": "<p>If this parameter is <code>true</code>, the reboot is conducted through a Multi-AZ failover. If the instance isn't configured for Multi-AZ, then you can't specify <code>true</code>. ( <code>--force-planned-failover</code> and <code>--force-failover</code> can't both be set to <code>true</code>.)</p>"
},
"ForcePlannedFailover": {
"shape": "BooleanOptional",
"documentation": "<p>If this parameter is <code>true</code>, 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 <code>true</code>. ( <code>--force-planned-failover</code> and <code>--force-failover</code> can't both be set to <code>true</code>.)</p>"
}
}
},
Expand Down
18 changes: 14 additions & 4 deletions apis/es-2015-01-01.min.json
Original file line number Diff line number Diff line change
Expand Up @@ -1002,6 +1002,15 @@
"method": "GET",
"requestUri": "/2015-01-01/domain"
},
"input": {
"type": "structure",
"members": {
"EngineType": {
"location": "querystring",
"locationName": "engineType"
}
}
},
"output": {
"type": "structure",
"members": {
Expand All @@ -1010,7 +1019,8 @@
"member": {
"type": "structure",
"members": {
"DomainName": {}
"DomainName": {},
"EngineType": {}
}
}
}
Expand Down Expand Up @@ -1047,7 +1057,7 @@
"type": "structure",
"members": {
"DomainPackageDetailsList": {
"shape": "S6s"
"shape": "S6u"
},
"NextToken": {}
}
Expand Down Expand Up @@ -1153,7 +1163,7 @@
"type": "structure",
"members": {
"DomainPackageDetailsList": {
"shape": "S6s"
"shape": "S6u"
},
"NextToken": {}
}
Expand Down Expand Up @@ -2173,7 +2183,7 @@
"type": "list",
"member": {}
},
"S6s": {
"S6u": {
"type": "list",
"member": {
"shape": "Sl"
Expand Down
39 changes: 33 additions & 6 deletions apis/es-2015-01-01.normal.json
Original file line number Diff line number Diff line change
Expand Up @@ -787,6 +787,9 @@
"method": "GET",
"requestUri": "/2015-01-01/domain"
},
"input": {
"shape": "ListDomainNamesRequest"
},
"output": {
"shape": "ListDomainNamesResponse"
},
Expand Down Expand Up @@ -1625,10 +1628,10 @@
"members": {
"Enabled": {
"shape": "Boolean",
"documentation": "<p>True to enable cold storage for an Elasticsearch domain.</p>"
"documentation": "<p>Enable cold storage option. Accepted values true or false</p>"
}
},
"documentation": "<p>Specifies settings for cold storage.</p>"
"documentation": "<p>Specifies the configuration for cold storage options such as enabled</p>"
},
"CommitMessage": {
"type": "string",
Expand Down Expand Up @@ -2401,6 +2404,10 @@
"DomainName": {
"shape": "DomainName",
"documentation": "<p> Specifies the <code>DomainName</code>.</p>"
},
"EngineType": {
"shape": "EngineType",
"documentation": "<p> Specifies the <code>EngineType</code> of the domain.</p>"
}
}
},
Expand Down Expand Up @@ -2683,7 +2690,7 @@
},
"ColdStorageOptions": {
"shape": "ColdStorageOptions",
"documentation": "<p>Specifies the <code>ColdStorageOptions</code> configuration for an Elasticsearch domain.</p>"
"documentation": "<p>Specifies the <code>ColdStorageOptions</code> config for Elasticsearch Domain</p>"
}
},
"documentation": "<p>Specifies the configuration for the domain cluster, such as the type and number of instances.</p>"
Expand Down Expand Up @@ -2915,7 +2922,8 @@
"documentation": "<p> Status of the Elasticsearch version options for the specified Elasticsearch domain.</p>"
},
"ElasticsearchVersionString": {
"type": "string"
"type": "string",
"pattern": "^[0-9]{1}\\.[0-9]{1,2}$|^OpenSearch_[0-9]{1,2}\\.[0-9]{1,2}$"
},
"EncryptionAtRestOptions": {
"type": "structure",
Expand Down Expand Up @@ -2958,6 +2966,13 @@
"shape": "ServiceUrl"
}
},
"EngineType": {
"type": "string",
"enum": [
"OpenSearch",
"Elasticsearch"
]
},
"ErrorDetails": {
"type": "structure",
"members": {
Expand Down Expand Up @@ -3283,15 +3298,27 @@
},
"documentation": "<p> Map of Role of the Instance and Limits that are applicable. Role performed by given Instance in Elasticsearch can be one of the following: <ul> <li>data: If the given InstanceType is used as data node</li> <li>master: If the given InstanceType is used as master node</li> <li>ultra_warm: If the given InstanceType is used as warm node</li> </ul> </p>"
},
"ListDomainNamesRequest": {
"type": "structure",
"members": {
"EngineType": {
"shape": "EngineType",
"documentation": "<p> Optional parameter to filter the output by domain engine type. Acceptable values are 'Elasticsearch' and 'OpenSearch'. </p>",
"location": "querystring",
"locationName": "engineType"
}
},
"documentation": "<p> Container for the parameters to the <code><a>ListDomainNames</a></code> operation.</p>"
},
"ListDomainNamesResponse": {
"type": "structure",
"members": {
"DomainNames": {
"shape": "DomainInfoList",
"documentation": "<p>List of Elasticsearch domain names.</p>"
"documentation": "<p>List of domain names and respective engine types.</p>"
}
},
"documentation": "<p>The result of a <code>ListDomainNames</code> operation. Contains the names of all Elasticsearch domains owned by this account.</p>"
"documentation": "<p>The result of a <code>ListDomainNames</code> operation. Contains the names of all domains owned by this account and their respective engine types.</p>"
},
"ListDomainsForPackageRequest": {
"type": "structure",
Expand Down
18 changes: 14 additions & 4 deletions apis/opensearch-2021-01-01.min.json
Original file line number Diff line number Diff line change
Expand Up @@ -999,6 +999,15 @@
"method": "GET",
"requestUri": "/2021-01-01/domain"
},
"input": {
"type": "structure",
"members": {
"EngineType": {
"location": "querystring",
"locationName": "engineType"
}
}
},
"output": {
"type": "structure",
"members": {
Expand All @@ -1007,7 +1016,8 @@
"member": {
"type": "structure",
"members": {
"DomainName": {}
"DomainName": {},
"EngineType": {}
}
}
}
Expand Down Expand Up @@ -1044,7 +1054,7 @@
"type": "structure",
"members": {
"DomainPackageDetailsList": {
"shape": "S6u"
"shape": "S6w"
},
"NextToken": {}
}
Expand Down Expand Up @@ -1145,7 +1155,7 @@
"type": "structure",
"members": {
"DomainPackageDetailsList": {
"shape": "S6u"
"shape": "S6w"
},
"NextToken": {}
}
Expand Down Expand Up @@ -2206,7 +2216,7 @@
"type": "list",
"member": {}
},
"S6u": {
"S6w": {
"type": "list",
"member": {
"shape": "Sm"
Expand Down
Loading

0 comments on commit 58f7d43

Please sign in to comment.