Skip to content

Commit 0d8cad3

Browse files
author
awstools
committed
feat(client-opensearch): This release enables customers to create Route53 A and AAAA alias record types to point custom endpoint domain to OpenSearch domain's dualstack search endpoint.
1 parent 90a9ac3 commit 0d8cad3

File tree

9 files changed

+40
-6
lines changed

9 files changed

+40
-6
lines changed

clients/client-opensearch/src/commands/AddTagsCommand.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ export interface AddTagsCommandOutput extends __MetadataBearer {}
2929
/**
3030
* <p>Attaches tags to an existing Amazon OpenSearch Service domain. Tags are a set of
3131
* case-sensitive key-value pairs. A domain can have up to 10 tags. For more information, see
32-
* <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/managedomains-awsresourcetagging.html">Tagging Amazon OpenSearch Service domains</a>.</p>
32+
* <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/managedomains-awsresourcetagging.html">Tagging Amazon OpenSearch Service domains</a>.
33+
* </p>
3334
* @example
3435
* Use a bare-bones client and the command you need to make an API call.
3536
* ```javascript

clients/client-opensearch/src/commands/CreateDomainCommand.ts

+1
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,7 @@ export interface CreateDomainCommandOutput extends CreateDomainResponse, __Metad
173173
* // Endpoints: { // EndpointsMap
174174
* // "<keys>": "STRING_VALUE",
175175
* // },
176+
* // DomainEndpointV2HostedZoneId: "STRING_VALUE",
176177
* // Processing: true || false,
177178
* // UpgradeProcessing: true || false,
178179
* // EngineVersion: "STRING_VALUE",

clients/client-opensearch/src/commands/DeleteDomainCommand.ts

+1
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ export interface DeleteDomainCommandOutput extends DeleteDomainResponse, __Metad
5252
* // Endpoints: { // EndpointsMap
5353
* // "<keys>": "STRING_VALUE",
5454
* // },
55+
* // DomainEndpointV2HostedZoneId: "STRING_VALUE",
5556
* // Processing: true || false,
5657
* // UpgradeProcessing: true || false,
5758
* // EngineVersion: "STRING_VALUE",

clients/client-opensearch/src/commands/DescribeDomainCommand.ts

+1
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ export interface DescribeDomainCommandOutput extends DescribeDomainResponse, __M
5252
* // Endpoints: { // EndpointsMap
5353
* // "<keys>": "STRING_VALUE",
5454
* // },
55+
* // DomainEndpointV2HostedZoneId: "STRING_VALUE",
5556
* // Processing: true || false,
5657
* // UpgradeProcessing: true || false,
5758
* // EngineVersion: "STRING_VALUE",

clients/client-opensearch/src/commands/DescribeDomainsCommand.ts

+1
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ export interface DescribeDomainsCommandOutput extends DescribeDomainsResponse, _
5555
* // Endpoints: { // EndpointsMap
5656
* // "<keys>": "STRING_VALUE",
5757
* // },
58+
* // DomainEndpointV2HostedZoneId: "STRING_VALUE",
5859
* // Processing: true || false,
5960
* // UpgradeProcessing: true || false,
6061
* // EngineVersion: "STRING_VALUE",

clients/client-opensearch/src/commands/DescribeDryRunProgressCommand.ts

+1
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ export interface DescribeDryRunProgressCommandOutput extends DescribeDryRunProgr
6666
* // Endpoints: { // EndpointsMap
6767
* // "<keys>": "STRING_VALUE",
6868
* // },
69+
* // DomainEndpointV2HostedZoneId: "STRING_VALUE",
6970
* // Processing: true || false,
7071
* // UpgradeProcessing: true || false,
7172
* // EngineVersion: "STRING_VALUE",

clients/client-opensearch/src/models/models_0.ts

+21-3
Original file line numberDiff line numberDiff line change
@@ -2467,13 +2467,31 @@ export interface DomainStatus {
24672467
EndpointV2?: string;
24682468

24692469
/**
2470-
* <p>The key-value pair that exists if the OpenSearch Service domain uses VPC endpoints. Example
2471-
* <code>key, value</code>:
2472-
* <code>'vpc','vpc-endpoint-h2dsd34efgyghrtguk5gt6j2foh4.us-east-1.es.amazonaws.com'</code>.</p>
2470+
* <p>The key-value pair that exists if the OpenSearch Service domain uses VPC endpoints. For example:</p>
2471+
* <ul>
2472+
* <li>
2473+
* <p>
2474+
* <b>IPv4 IP addresses</b> -
2475+
* <code>'vpc','vpc-endpoint-h2dsd34efgyghrtguk5gt6j2foh4.us-east-1.es.amazonaws.com'</code>
2476+
* </p>
2477+
* </li>
2478+
* <li>
2479+
* <p>
2480+
* <b>Dual stack IP addresses</b> -
2481+
* <code>'vpcv2':'vpc-endpoint-h2dsd34efgyghrtguk5gt6j2foh4.aos.us-east-1.on.aws'</code>
2482+
* </p>
2483+
* </li>
2484+
* </ul>
24732485
* @public
24742486
*/
24752487
Endpoints?: Record<string, string>;
24762488

2489+
/**
2490+
* <p>The DualStack Hosted Zone Id for the domain. </p>
2491+
* @public
2492+
*/
2493+
DomainEndpointV2HostedZoneId?: string;
2494+
24772495
/**
24782496
* <p>The status of the domain configuration. True if OpenSearch Service is processing
24792497
* configuration changes. False if the configuration is active.</p>

clients/client-opensearch/src/protocols/Aws_restJson1.ts

+1
Original file line numberDiff line numberDiff line change
@@ -3788,6 +3788,7 @@ const de_DomainStatus = (output: any, context: __SerdeContext): DomainStatus =>
37883788
Created: __expectBoolean,
37893789
Deleted: __expectBoolean,
37903790
DomainEndpointOptions: _json,
3791+
DomainEndpointV2HostedZoneId: __expectString,
37913792
DomainId: __expectString,
37923793
DomainName: __expectString,
37933794
DomainProcessingStatus: __expectString,

codegen/sdk-codegen/aws-models/opensearch.json

+11-2
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@
373373
}
374374
],
375375
"traits": {
376-
"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>",
376+
"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>",
377377
"smithy.api#http": {
378378
"method": "POST",
379379
"uri": "/2021-01-01/tags",
@@ -6204,7 +6204,13 @@
62046204
"Endpoints": {
62056205
"target": "com.amazonaws.opensearch#EndpointsMap",
62066206
"traits": {
6207-
"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>"
6207+
"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>"
6208+
}
6209+
},
6210+
"DomainEndpointV2HostedZoneId": {
6211+
"target": "com.amazonaws.opensearch#HostedZoneId",
6212+
"traits": {
6213+
"smithy.api#documentation": "<p>The DualStack Hosted Zone Id for the domain. </p>"
62086214
}
62096215
},
62106216
"Processing": {
@@ -7229,6 +7235,9 @@
72297235
"smithy.api#output": {}
72307236
}
72317237
},
7238+
"com.amazonaws.opensearch#HostedZoneId": {
7239+
"type": "string"
7240+
},
72327241
"com.amazonaws.opensearch#IPAddressType": {
72337242
"type": "enum",
72347243
"members": {

0 commit comments

Comments
 (0)