Skip to content

Commit

Permalink
feat(client-opensearch): This release enables customers to create Rou…
Browse files Browse the repository at this point in the history
…te53 A and AAAA alias record types to point custom endpoint domain to OpenSearch domain's dualstack search endpoint.
  • Loading branch information
awstools committed Apr 30, 2024
1 parent 90a9ac3 commit 0d8cad3
Show file tree
Hide file tree
Showing 9 changed files with 40 additions and 6 deletions.
3 changes: 2 additions & 1 deletion clients/client-opensearch/src/commands/AddTagsCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ export interface AddTagsCommandOutput extends __MetadataBearer {}
/**
* <p>Attaches tags to an existing Amazon OpenSearch Service domain. Tags are a set of
* case-sensitive key-value pairs. A domain can have up to 10 tags. For more information, see
* <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/managedomains-awsresourcetagging.html">Tagging Amazon OpenSearch Service domains</a>.</p>
* <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/managedomains-awsresourcetagging.html">Tagging Amazon OpenSearch Service domains</a>.
* </p>
* @example
* Use a bare-bones client and the command you need to make an API call.
* ```javascript
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@ export interface CreateDomainCommandOutput extends CreateDomainResponse, __Metad
* // Endpoints: { // EndpointsMap
* // "<keys>": "STRING_VALUE",
* // },
* // DomainEndpointV2HostedZoneId: "STRING_VALUE",
* // Processing: true || false,
* // UpgradeProcessing: true || false,
* // EngineVersion: "STRING_VALUE",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ export interface DeleteDomainCommandOutput extends DeleteDomainResponse, __Metad
* // Endpoints: { // EndpointsMap
* // "<keys>": "STRING_VALUE",
* // },
* // DomainEndpointV2HostedZoneId: "STRING_VALUE",
* // Processing: true || false,
* // UpgradeProcessing: true || false,
* // EngineVersion: "STRING_VALUE",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ export interface DescribeDomainCommandOutput extends DescribeDomainResponse, __M
* // Endpoints: { // EndpointsMap
* // "<keys>": "STRING_VALUE",
* // },
* // DomainEndpointV2HostedZoneId: "STRING_VALUE",
* // Processing: true || false,
* // UpgradeProcessing: true || false,
* // EngineVersion: "STRING_VALUE",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ export interface DescribeDomainsCommandOutput extends DescribeDomainsResponse, _
* // Endpoints: { // EndpointsMap
* // "<keys>": "STRING_VALUE",
* // },
* // DomainEndpointV2HostedZoneId: "STRING_VALUE",
* // Processing: true || false,
* // UpgradeProcessing: true || false,
* // EngineVersion: "STRING_VALUE",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ export interface DescribeDryRunProgressCommandOutput extends DescribeDryRunProgr
* // Endpoints: { // EndpointsMap
* // "<keys>": "STRING_VALUE",
* // },
* // DomainEndpointV2HostedZoneId: "STRING_VALUE",
* // Processing: true || false,
* // UpgradeProcessing: true || false,
* // EngineVersion: "STRING_VALUE",
Expand Down
24 changes: 21 additions & 3 deletions clients/client-opensearch/src/models/models_0.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2467,13 +2467,31 @@ export interface DomainStatus {
EndpointV2?: string;

/**
* <p>The key-value pair that exists if the OpenSearch Service domain uses VPC endpoints. Example
* <code>key, value</code>:
* <code>'vpc','vpc-endpoint-h2dsd34efgyghrtguk5gt6j2foh4.us-east-1.es.amazonaws.com'</code>.</p>
* <p>The key-value pair that exists if the OpenSearch Service domain uses VPC endpoints. For example:</p>
* <ul>
* <li>
* <p>
* <b>IPv4 IP addresses</b> -
* <code>'vpc','vpc-endpoint-h2dsd34efgyghrtguk5gt6j2foh4.us-east-1.es.amazonaws.com'</code>
* </p>
* </li>
* <li>
* <p>
* <b>Dual stack IP addresses</b> -
* <code>'vpcv2':'vpc-endpoint-h2dsd34efgyghrtguk5gt6j2foh4.aos.us-east-1.on.aws'</code>
* </p>
* </li>
* </ul>
* @public
*/
Endpoints?: Record<string, string>;

/**
* <p>The DualStack Hosted Zone Id for the domain. </p>
* @public
*/
DomainEndpointV2HostedZoneId?: string;

/**
* <p>The status of the domain configuration. True if OpenSearch Service is processing
* configuration changes. False if the configuration is active.</p>
Expand Down
1 change: 1 addition & 0 deletions clients/client-opensearch/src/protocols/Aws_restJson1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3788,6 +3788,7 @@ const de_DomainStatus = (output: any, context: __SerdeContext): DomainStatus =>
Created: __expectBoolean,
Deleted: __expectBoolean,
DomainEndpointOptions: _json,
DomainEndpointV2HostedZoneId: __expectString,
DomainId: __expectString,
DomainName: __expectString,
DomainProcessingStatus: __expectString,
Expand Down
13 changes: 11 additions & 2 deletions codegen/sdk-codegen/aws-models/opensearch.json
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@
}
],
"traits": {
"smithy.api#documentation": "<p>Attaches tags to an existing Amazon OpenSearch Service domain. Tags are a set of\n case-sensitive key-value pairs. A domain can have up to 10 tags. For more information, see\n <a href=\"https://docs.aws.amazon.com/opensearch-service/latest/developerguide/managedomains-awsresourcetagging.html\">Tagging Amazon OpenSearch Service domains</a>.</p>",
"smithy.api#documentation": "<p>Attaches tags to an existing Amazon OpenSearch Service domain. Tags are a set of\n case-sensitive key-value pairs. A domain can have up to 10 tags. For more information, see\n <a href=\"https://docs.aws.amazon.com/opensearch-service/latest/developerguide/managedomains-awsresourcetagging.html\">Tagging Amazon OpenSearch Service domains</a>.\n </p>",
"smithy.api#http": {
"method": "POST",
"uri": "/2021-01-01/tags",
Expand Down Expand Up @@ -6204,7 +6204,13 @@
"Endpoints": {
"target": "com.amazonaws.opensearch#EndpointsMap",
"traits": {
"smithy.api#documentation": "<p>The key-value pair that exists if the OpenSearch Service domain uses VPC endpoints. Example\n <code>key, value</code>:\n <code>'vpc','vpc-endpoint-h2dsd34efgyghrtguk5gt6j2foh4.us-east-1.es.amazonaws.com'</code>.</p>"
"smithy.api#documentation": "<p>The key-value pair that exists if the OpenSearch Service domain uses VPC endpoints. For example:</p>\n <ul>\n <li>\n <p>\n <b>IPv4 IP addresses</b> -\n <code>'vpc','vpc-endpoint-h2dsd34efgyghrtguk5gt6j2foh4.us-east-1.es.amazonaws.com'</code>\n </p>\n </li>\n <li>\n <p>\n <b>Dual stack IP addresses</b> -\n <code>'vpcv2':'vpc-endpoint-h2dsd34efgyghrtguk5gt6j2foh4.aos.us-east-1.on.aws'</code>\n </p>\n </li>\n </ul>"
}
},
"DomainEndpointV2HostedZoneId": {
"target": "com.amazonaws.opensearch#HostedZoneId",
"traits": {
"smithy.api#documentation": "<p>The DualStack Hosted Zone Id for the domain. </p>"
}
},
"Processing": {
Expand Down Expand Up @@ -7229,6 +7235,9 @@
"smithy.api#output": {}
}
},
"com.amazonaws.opensearch#HostedZoneId": {
"type": "string"
},
"com.amazonaws.opensearch#IPAddressType": {
"type": "enum",
"members": {
Expand Down

0 comments on commit 0d8cad3

Please sign in to comment.