From bd6c71a898ce79383e0be842b58718ddf48888a2 Mon Sep 17 00:00:00 2001
From: awstools An error occured because the client wanted to access a not supported operation. An error occured because the client wanted to access an unsupported operation. An exception for trying to create more than the allowed number of resources or sub-resources. An exception for accessing or deleting a resource that does not exist.. An exception for accessing or deleting a resource that doesn't exist. Base exception class for all service exceptions from OpenSearch service. Request processing failed because of an unknown error, exception, or internal failure. An exception for accessing or deleting a resource that does not exist.. An exception for accessing or deleting a resource that doesn't exist. An exception for accessing or deleting a resource that doesn't exist. An error occurred while processing the request. An error occured because the client wanted to access a not supported operation. An error occured because the client wanted to access an unsupported operation. Request processing failed because of an unknown error, exception, or internal failure. An exception for trying to create more than the allowed number of resources or sub-resources. An exception for accessing or deleting a resource that does not exist.. An exception for accessing or deleting a resource that doesn't exist. An exception for accessing or deleting a resource that doesn't exist. Request processing failed because of an unknown error, exception, or internal failure. An exception for accessing or deleting a resource that does not exist.. An exception for accessing or deleting a resource that doesn't exist. An exception for accessing or deleting a resource that doesn't exist. An error occurred while processing the request. An error occured because the client wanted to access a not supported operation. An error occured because the client wanted to access an unsupported operation. Request processing failed because of an unknown error, exception, or internal failure. An error occured because the client wanted to access a not supported operation. An error occured because the client wanted to access an unsupported operation. Request processing failed because of an unknown error, exception, or internal failure. An error occurred because the client attempts to remove a resource that is currently in use. An error occured because the client wanted to access a not supported operation. An error occured because the client wanted to access an unsupported operation. Request processing failed because of an unknown error, exception, or internal failure. Request processing failed because of an unknown error, exception, or internal failure. An exception for accessing or deleting a resource that does not exist.. An exception for accessing or deleting a resource that doesn't exist. An exception for accessing or deleting a resource that doesn't exist. An error occured because the client wanted to access a not supported operation. An error occured because the client wanted to access an unsupported operation. An exception for accessing or deleting a resource that does not exist.. An exception for accessing or deleting a resource that doesn't exist. Base exception class for all service exceptions from OpenSearch service. An error occured because the client wanted to access a not supported operation. An error occured because the client wanted to access an unsupported operation. An exception for accessing or deleting a resource that does not exist.. An exception for accessing or deleting a resource that doesn't exist. Base exception class for all service exceptions from OpenSearch service. Request processing failed because of an unknown error, exception, or internal failure. An exception for accessing or deleting a resource that does not exist.. An exception for accessing or deleting a resource that doesn't exist. An exception for accessing or deleting a resource that doesn't exist. An error occurred while processing the request. An error occured because the client wanted to access a not supported operation. An error occured because the client wanted to access an unsupported operation. Request processing failed because of an unknown error, exception, or internal failure. An exception for accessing or deleting a resource that does not exist.. An exception for accessing or deleting a resource that doesn't exist. Base exception class for all service exceptions from OpenSearch service. Request processing failed because of an unknown error, exception, or internal failure. An exception for accessing or deleting a resource that does not exist.. An exception for accessing or deleting a resource that doesn't exist. An exception for accessing or deleting a resource that doesn't exist. Request processing failed because of an unknown error, exception, or internal failure. An exception for accessing or deleting a resource that does not exist.. An exception for accessing or deleting a resource that doesn't exist. An exception for accessing or deleting a resource that doesn't exist. Request processing failed because of an unknown error, exception, or internal failure. An exception for accessing or deleting a resource that does not exist.. An exception for accessing or deleting a resource that doesn't exist. An exception for accessing or deleting a resource that doesn't exist. Request processing failed because of an unknown error, exception, or internal failure. An exception for accessing or deleting a resource that does not exist.. An exception for accessing or deleting a resource that doesn't exist. An exception for accessing or deleting a resource that doesn't exist. Returns information about domain and node health, the standby Availability Zone, number of nodes per Availability Zone, and shard count per node. An error occurred while processing the request. An error occured because the client wanted to access an unsupported operation. Request processing failed because of an unknown error, exception, or internal failure. An exception for accessing or deleting a resource that doesn't exist. An exception for accessing or deleting a resource that doesn't exist. Base exception class for all service exceptions from OpenSearch service. An error occurred while processing the request. An error occured because the client wanted to access a not supported operation. An error occured because the client wanted to access an unsupported operation. Request processing failed because of an unknown error, exception, or internal failure. An exception for accessing or deleting a resource that does not exist.. An exception for accessing or deleting a resource that doesn't exist. An exception for accessing or deleting a resource that doesn't exist. An error occured because the client wanted to access a not supported operation. An error occured because the client wanted to access an unsupported operation. The request processing has failed because you provided an invalid pagination token. Request processing failed because you provided an invalid pagination token. Base exception class for all service exceptions from OpenSearch service. An exception for trying to create more than the allowed number of resources or sub-resources. An exception for accessing or deleting a resource that does not exist.. An exception for accessing or deleting a resource that doesn't exist. An exception for accessing or deleting a resource that doesn't exist. An error occured because the client wanted to access a not supported operation. An error occured because the client wanted to access an unsupported operation. The request processing has failed because you provided an invalid pagination token. Request processing failed because you provided an invalid pagination token. Base exception class for all service exceptions from OpenSearch service. Request processing failed because of an unknown error, exception, or internal failure. An exception for accessing or deleting a resource that does not exist.. An exception for accessing or deleting a resource that doesn't exist. An exception for accessing or deleting a resource that doesn't exist. An error occured because the client wanted to access a not supported operation. An error occured because the client wanted to access an unsupported operation. Request processing failed because of an unknown error, exception, or internal failure. An exception for accessing or deleting a resource that does not exist.. An exception for accessing or deleting a resource that doesn't exist. An exception for accessing or deleting a resource that doesn't exist. An error occured because the client wanted to access a not supported operation. An error occured because the client wanted to access an unsupported operation. Request processing failed because of an unknown error, exception, or internal failure. An exception for accessing or deleting a resource that does not exist.. An exception for accessing or deleting a resource that doesn't exist. An exception for accessing or deleting a resource that doesn't exist. An error occurred while processing the request. An error occured because the client wanted to access a not supported operation. An error occured because the client wanted to access an unsupported operation. Request processing failed because of an unknown error, exception, or internal failure. Request processing failed because of an unknown error, exception, or internal failure. An exception for accessing or deleting a resource that does not exist.. An exception for accessing or deleting a resource that doesn't exist. An exception for accessing or deleting a resource that doesn't exist. An error occurred while processing the request. An error occured because the client wanted to access a not supported operation. An error occured because the client wanted to access an unsupported operation. Request processing failed because of an unknown error, exception, or internal failure. An exception for accessing or deleting a resource that does not exist.. An exception for accessing or deleting a resource that doesn't exist. An exception for accessing or deleting a resource that doesn't exist. Returns a list of Amazon OpenSearch Service package versions, along with their creation time
- * and commit message. For more information, see Custom packages for Amazon
+ * Returns a list of Amazon OpenSearch Service package versions, along with their creation time, commit message, and plugin properties (if the
+ * package is a zip plugin package). For more information, see Custom packages for Amazon
* OpenSearch Service. Request processing failed because of an unknown error, exception, or internal failure. An exception for accessing or deleting a resource that does not exist.. An exception for accessing or deleting a resource that doesn't exist. An exception for accessing or deleting a resource that doesn't exist. An error occurred while processing the request. An error occured because the client wanted to access a not supported operation. An error occured because the client wanted to access an unsupported operation. Request processing failed because of an unknown error, exception, or internal failure. An exception for accessing or deleting a resource that does not exist.. An exception for accessing or deleting a resource that doesn't exist. An exception for accessing or deleting a resource that doesn't exist. An error occurred while processing the request. An error occured because the client wanted to access a not supported operation. An error occured because the client wanted to access an unsupported operation. Request processing failed because of an unknown error, exception, or internal failure. An exception for accessing or deleting a resource that does not exist.. An exception for accessing or deleting a resource that doesn't exist. An exception for accessing or deleting a resource that doesn't exist. Request processing failed because of an unknown error, exception, or internal failure. An exception for accessing or deleting a resource that does not exist.. An exception for accessing or deleting a resource that doesn't exist. An exception for accessing or deleting a resource that doesn't exist. Request processing failed because of an unknown error, exception, or internal failure. An exception for accessing or deleting a resource that does not exist.. An exception for accessing or deleting a resource that doesn't exist. An exception for accessing or deleting a resource that doesn't exist. Request processing failed because of an unknown error, exception, or internal failure. An exception for accessing or deleting a resource that does not exist.. An exception for accessing or deleting a resource that doesn't exist. An exception for accessing or deleting a resource that doesn't exist. Request processing failed because of an unknown error, exception, or internal failure. The request processing has failed because you provided an invalid pagination token. Request processing failed because you provided an invalid pagination token. An exception for accessing or deleting a resource that does not exist.. An exception for accessing or deleting a resource that doesn't exist. An exception for accessing or deleting a resource that doesn't exist. Request processing failed because of an unknown error, exception, or internal failure. An exception for accessing or deleting a resource that does not exist.. An exception for accessing or deleting a resource that doesn't exist. An exception for accessing or deleting a resource that doesn't exist. Request processing failed because of an unknown error, exception, or internal failure. An exception for accessing or deleting a resource that does not exist.. An exception for accessing or deleting a resource that doesn't exist. An exception for accessing or deleting a resource that doesn't exist. An error occurred while processing the request. An error occured because the client wanted to access a not supported operation. An error occured because the client wanted to access an unsupported operation. Request processing failed because of an unknown error, exception, or internal failure. An exception for accessing or deleting a resource that does not exist.. An exception for accessing or deleting a resource that doesn't exist. Base exception class for all service exceptions from OpenSearch service. An error occurred while processing the request. An error occured because the client wanted to access a not supported operation. An error occured because the client wanted to access an unsupported operation. Request processing failed because of an unknown error, exception, or internal failure. An error occurred while processing the request. An error occured because the client wanted to access a not supported operation. An error occured because the client wanted to access an unsupported operation. Request processing failed because of an unknown error, exception, or internal failure. An exception for accessing or deleting a resource that does not exist.. An exception for accessing or deleting a resource that doesn't exist. Base exception class for all service exceptions from OpenSearch service. An error occured because the client wanted to access a not supported operation. An error occured because the client wanted to access an unsupported operation. Request processing failed because of an unknown error, exception, or internal failure. An exception for creating a resource that already exists. An exception for accessing or deleting a resource that does not exist.. An exception for accessing or deleting a resource that doesn't exist. An exception for accessing or deleting a resource that doesn't exist. An error occured because the client wanted to access a not supported operation. An error occured because the client wanted to access an unsupported operation. An exception for accessing or deleting a resource that does not exist.. An exception for accessing or deleting a resource that doesn't exist. Base exception class for all service exceptions from OpenSearch service. An error occurred while processing the request. An error occured because the client wanted to access a not supported operation. An error occured because the client wanted to access an unsupported operation. Request processing failed because of an unknown error, exception, or internal failure. An exception for accessing or deleting a resource that does not exist.. An exception for accessing or deleting a resource that doesn't exist. An exception for accessing or deleting a resource that doesn't exist. Request processing failed because of an unknown error, exception, or internal failure. An exception for accessing or deleting a resource that does not exist.. An exception for accessing or deleting a resource that doesn't exist. An exception for accessing or deleting a resource that doesn't exist. An exception for trying to create more than the allowed number of resources or sub-resources. An exception for accessing or deleting a resource that does not exist.. An exception for accessing or deleting a resource that doesn't exist. An exception for accessing or deleting a resource that doesn't exist. An exception for trying to create more than the allowed number of resources or sub-resources. An exception for accessing or deleting a resource that does not exist.. An exception for accessing or deleting a resource that doesn't exist. An exception for accessing or deleting a resource that doesn't exist. An exception for trying to create more than the allowed number of resources or sub-resources. An exception for accessing or deleting a resource that does not exist.. An exception for accessing or deleting a resource that doesn't exist. An exception for attempting to schedule a domain action during an unavailable time slot. An error occurred because the client attempts to remove a resource that is currently in use. An error occured because the client wanted to access a not supported operation. An error occured because the client wanted to access an unsupported operation. Request processing failed because of an unknown error, exception, or internal failure. An exception for accessing or deleting a resource that does not exist.. An exception for accessing or deleting a resource that doesn't exist. An exception for accessing or deleting a resource that doesn't exist. An error occurred while processing the request. An error occured because the client wanted to access a not supported operation. An error occured because the client wanted to access an unsupported operation. Request processing failed because of an unknown error, exception, or internal failure. An exception for creating a resource that already exists. An exception for accessing or deleting a resource that does not exist.. An exception for accessing or deleting a resource that doesn't exist. An exception for accessing or deleting a resource that doesn't exist. An error occured because the client wanted to access a not supported operation. An error occured because the client wanted to access an unsupported operation. An exception for accessing or deleting a resource that does not exist.. An exception for accessing or deleting a resource that doesn't exist. Denotes the location of the package on the OpenSearch Service cluster nodes. It's the same
- * as The relative path of the package on the OpenSearch Service cluster nodes. This is Number of dedicated master nodes in the cluster. This number must be greater than 1,
+ * Number of dedicated master nodes in the cluster. This number must be greater than 2 and not 4,
* otherwise you receive a validation exception. Container for cold storage configuration options. A boolean that indicates whether a multi-AZ domain is turned on with a standby AZ. For more information, see Configuring a multi-AZ domain in Amazon OpenSearch Service. Whether to enable an off-peak window. This option is only available when modifying a domain created prior to February 13, 2023, not when creating a new domain.
- * All domains created after this date have the off-peak window enabled by default. You can't disable the off-peak window after it's enabled for a domain. This option is only available when modifying a domain created prior to February 16, 2023,
+ * not when creating a new domain. All domains created after this date have the off-peak window
+ * enabled by default. You can't disable the off-peak window after it's enabled for a domain. Type of package. The type of package. User-specified name of the package. The user-specified name of the package. Current status of the package. The current status of the package. The available options are Container for the parameters to the The name of the domain. Information about an Availability Zone on a domain. The name of the Availability Zone. The current state of the Availability Zone. Current options are
+ *
+ *
+ * The total number of data nodes configured in the Availability Zone. The number of data nodes active in the Availability Zone. The total number of primary and replica shards in the Availability Zone. The total number of primary and replica shards that aren't allocated to any of the nodes in the Availability Zone. Information about the active domain environment. A list of The result of a The current state of the domain.
+ *
+ * The number of Availability Zones configured for the domain. If the service is unable to fetch this information, it will return The number of active Availability Zones configured for the domain. If the service is unable to fetch this information, it will return The number of standby Availability Zones configured for the domain. If the service is unable to fetch this information, it will return The number of data nodes configured for the domain. If the service is unable to fetch this information, it will return A boolean that indicates if dedicated master nodes are activated for the domain. The number of nodes that can be elected as a master node. If dedicated master nodes is turned on, this value is the number of dedicated master nodes configured for the domain.
+ * If the service is unable to fetch this information, it will return The number of warm nodes configured for the domain. Indicates whether the domain has an elected master node.
+ * Available - The domain has an elected master node.
+ * UnAvailable - The master node hasn't yet been elected, and a quorum to elect a new master node hasn't been reached. The current health status of your cluster.
+ *
+ *
+ *
+ * The total number of primary and replica shards for the domain. The total number of primary and replica shards not allocated to any of the nodes for the cluster. A list of Container for the parameters to the The request processing has failed because you provided an invalid pagination token. Request processing failed because you provided an invalid pagination token. Version of OpenSearch or Elasticsearch, in the format Elasticsearch_X.Y or OpenSearch_X.Y.
+ * The version of OpenSearch or Elasticsearch, in the format Elasticsearch_X.Y or OpenSearch_X.Y.
* Defaults to the latest version of OpenSearch. Name of the domain to list instance type details for. The name of the domain. An optional parameter that specifies the Availability Zones for the domain. An optional parameter that lists information for a given instance type.
+DescribeDomainHealth
+
+
+[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-opensearch/classes/describedomainhealthcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-opensearch/interfaces/describedomainhealthcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-opensearch/interfaces/describedomainhealthcommandoutput.html)
+
diff --git a/clients/client-opensearch/src/OpenSearch.ts b/clients/client-opensearch/src/OpenSearch.ts
index 7507c34e3428..8f2221c374c9 100644
--- a/clients/client-opensearch/src/OpenSearch.ts
+++ b/clients/client-opensearch/src/OpenSearch.ts
@@ -88,6 +88,11 @@ import {
DescribeDomainConfigCommandInput,
DescribeDomainConfigCommandOutput,
} from "./commands/DescribeDomainConfigCommand";
+import {
+ DescribeDomainHealthCommand,
+ DescribeDomainHealthCommandInput,
+ DescribeDomainHealthCommandOutput,
+} from "./commands/DescribeDomainHealthCommand";
import {
DescribeDomainsCommand,
DescribeDomainsCommandInput,
@@ -271,6 +276,7 @@ const commands = {
DescribeDomainAutoTunesCommand,
DescribeDomainChangeProgressCommand,
DescribeDomainConfigCommand,
+ DescribeDomainHealthCommand,
DescribeDomainsCommand,
DescribeDryRunProgressCommand,
DescribeInboundConnectionsCommand,
@@ -581,6 +587,23 @@ export interface OpenSearch {
cb: (err: any, data?: DescribeDomainConfigCommandOutput) => void
): void;
+ /**
+ * @see {@link DescribeDomainHealthCommand}
+ */
+ describeDomainHealth(
+ args: DescribeDomainHealthCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise
synonym_path
for dictionary files.synonym_path
+ * when the package is for synonym files.AVAILABLE
, COPYING
, COPY_FAILED
, VALIDATNG
, VALIDATION_FAILED
, DELETING
, and DELETE_FAILED
.DescribeDomainHealth
operation.Active
and StandBy
.
+ *
+ */
+ ZoneStatus?: ZoneStatus | string;
+
+ /**
+ * Active
- Data nodes in the Availability Zone are in use.StandBy
- Data nodes in the Availability Zone are in a standby state.NotAvailable
- Unable to retrieve information.AvailabilityZoneInfo
for the domain.DescribeDomainHealth
request. Contains health information for the requested domain.
+ *
+ */
+ DomainState?: DomainState | string;
+
+ /**
+ * Processing
- The domain has updates in progress.Active
- Requested changes have been processed and deployed to the domain.NotAvailable
.NotAvailable
.NotAvailable
.NotAvailable
.NotAvailable
.
+ *
+ */
+ MasterNode?: MasterNodeStatus | string;
+
+ /**
+ *
+ *
+ */
+ ClusterHealth?: DomainHealth | string;
+
+ /**
+ * Red
- At least one primary shard is not allocated to any node.Yellow
- All primary shards are allocated to nodes, but some replicas aren’t.Green
- All primary shards and their replicas are allocated to nodes.NotAvailable
- Unable to retrieve cluster health.EnvironmentInfo
for the domain. DescribeDomains
operation.ListInstanceTypeDetails
operations, which returns results in the next page.
The supported Availability Zones for the instance type.
+ */ + AvailabilityZones?: string[]; } /** @@ -5244,13 +5507,6 @@ export interface UpdateDomainConfigRequest { * query. Default is 1,024. Queries with more than the permitted number of clauses result in a *TooManyClauses
error.
*
- *
- * "override_main_response_version": "true" | "false"
- Note the use of a string
- * rather than a boolean. Specifies whether the domain reports its version as 7.10 to allow
- * Elasticsearch OSS clients and plugins to continue working with it. Default is false when
- * creating a domain and true when upgrading a domain.
For more information, see Advanced cluster parameters.
*/ diff --git a/clients/client-opensearch/src/protocols/Aws_restJson1.ts b/clients/client-opensearch/src/protocols/Aws_restJson1.ts index 189dcabd1355..7b54e7daf439 100644 --- a/clients/client-opensearch/src/protocols/Aws_restJson1.ts +++ b/clients/client-opensearch/src/protocols/Aws_restJson1.ts @@ -69,6 +69,10 @@ import { DescribeDomainConfigCommandInput, DescribeDomainConfigCommandOutput, } from "../commands/DescribeDomainConfigCommand"; +import { + DescribeDomainHealthCommandInput, + DescribeDomainHealthCommandOutput, +} from "../commands/DescribeDomainHealthCommand"; import { DescribeDomainsCommandInput, DescribeDomainsCommandOutput } from "../commands/DescribeDomainsCommand"; import { DescribeDryRunProgressCommandInput, @@ -796,6 +800,31 @@ export const se_DescribeDomainConfigCommand = async ( }); }; +/** + * serializeAws_restJson1DescribeDomainHealthCommand + */ +export const se_DescribeDomainHealthCommand = async ( + input: DescribeDomainHealthCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); + const headers: any = {}; + let resolvedPath = + `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + + "/2021-01-01/opensearch/domain/{DomainName}/health"; + resolvedPath = __resolvedPath(resolvedPath, input, "DomainName", () => input.DomainName!, "{DomainName}", false); + let body: any; + return new __HttpRequest({ + protocol, + hostname, + port, + method: "GET", + headers, + path: resolvedPath, + body, + }); +}; + /** * serializeAws_restJson1DescribeDomainsCommand */ @@ -1304,6 +1333,8 @@ export const se_ListInstanceTypeDetailsCommand = async ( domainName: [, input.DomainName!], maxResults: [() => input.MaxResults !== void 0, () => input.MaxResults!.toString()], nextToken: [, input.NextToken!], + retrieveAZs: [() => input.RetrieveAZs !== void 0, () => input.RetrieveAZs!.toString()], + instanceType: [, input.InstanceType!], }); let body: any; return new __HttpRequest({ @@ -2896,6 +2927,77 @@ const de_DescribeDomainConfigCommandError = async ( } }; +/** + * deserializeAws_restJson1DescribeDomainHealthCommand + */ +export const de_DescribeDomainHealthCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): PromiseSpecifies the Auto-Tune type. Valid value is SCHEDULED_ACTION.
" } }, + "com.amazonaws.opensearch#AvailabilityZone": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 15 + } + } + }, + "com.amazonaws.opensearch#AvailabilityZoneInfo": { + "type": "structure", + "members": { + "AvailabilityZoneName": { + "target": "com.amazonaws.opensearch#AvailabilityZone", + "traits": { + "smithy.api#documentation": "The name of the Availability Zone.
" + } + }, + "ZoneStatus": { + "target": "com.amazonaws.opensearch#ZoneStatus", + "traits": { + "smithy.api#documentation": "The current state of the Availability Zone. Current options are Active
and StandBy
.
\n Active
- Data nodes in the Availability Zone are in use.
\n StandBy
- Data nodes in the Availability Zone are in a standby state.
\n NotAvailable
- Unable to retrieve information.
The total number of data nodes configured in the Availability Zone.
" + } + }, + "AvailableDataNodeCount": { + "target": "com.amazonaws.opensearch#NumberOfNodes", + "traits": { + "smithy.api#documentation": "The number of data nodes active in the Availability Zone.
" + } + }, + "TotalShards": { + "target": "com.amazonaws.opensearch#NumberOfShards", + "traits": { + "smithy.api#documentation": "The total number of primary and replica shards in the Availability Zone.
" + } + }, + "TotalUnAssignedShards": { + "target": "com.amazonaws.opensearch#NumberOfShards", + "traits": { + "smithy.api#documentation": "The total number of primary and replica shards that aren't allocated to any of the nodes in the Availability Zone.
" + } + } + }, + "traits": { + "smithy.api#documentation": "Information about an Availability Zone on a domain.
" + } + }, + "com.amazonaws.opensearch#AvailabilityZoneInfoList": { + "type": "list", + "member": { + "target": "com.amazonaws.opensearch#AvailabilityZoneInfo" + } + }, + "com.amazonaws.opensearch#AvailabilityZoneList": { + "type": "list", + "member": { + "target": "com.amazonaws.opensearch#AvailabilityZone" + } + }, "com.amazonaws.opensearch#BackendRole": { "type": "string", "traits": { @@ -2419,7 +2537,7 @@ "DedicatedMasterCount": { "target": "com.amazonaws.opensearch#IntegerClass", "traits": { - "smithy.api#documentation": "Number of dedicated master nodes in the cluster. This number must be greater than 1,\n otherwise you receive a validation exception.
" + "smithy.api#documentation": "Number of dedicated master nodes in the cluster. This number must be greater than 2 and not 4,\n otherwise you receive a validation exception.
" } }, "WarmEnabled": { @@ -2445,6 +2563,12 @@ "traits": { "smithy.api#documentation": "Container for cold storage configuration options.
" } + }, + "MultiAZWithStandbyEnabled": { + "target": "com.amazonaws.opensearch#Boolean", + "traits": { + "smithy.api#documentation": "A boolean that indicates whether a multi-AZ domain is turned on with a standby AZ. For more information, see Configuring a multi-AZ domain in Amazon OpenSearch Service.
" + } } }, "traits": { @@ -2993,7 +3117,7 @@ "PackageType": { "target": "com.amazonaws.opensearch#PackageType", "traits": { - "smithy.api#documentation": "Type of package.
", + "smithy.api#documentation": "The type of package.
", "smithy.api#required": {} } }, @@ -3721,6 +3845,144 @@ "smithy.api#output": {} } }, + "com.amazonaws.opensearch#DescribeDomainHealth": { + "type": "operation", + "input": { + "target": "com.amazonaws.opensearch#DescribeDomainHealthRequest" + }, + "output": { + "target": "com.amazonaws.opensearch#DescribeDomainHealthResponse" + }, + "errors": [ + { + "target": "com.amazonaws.opensearch#BaseException" + }, + { + "target": "com.amazonaws.opensearch#DisabledOperationException" + }, + { + "target": "com.amazonaws.opensearch#InternalException" + }, + { + "target": "com.amazonaws.opensearch#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.opensearch#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Returns information about domain and node health, the standby Availability Zone, number of nodes per Availability Zone, and shard count per node.
", + "smithy.api#http": { + "method": "GET", + "uri": "/2021-01-01/opensearch/domain/{DomainName}/health", + "code": 200 + } + } + }, + "com.amazonaws.opensearch#DescribeDomainHealthRequest": { + "type": "structure", + "members": { + "DomainName": { + "target": "com.amazonaws.opensearch#DomainName", + "traits": { + "smithy.api#documentation": "The name of the domain.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "Container for the parameters to the DescribeDomainHealth
operation.
The current state of the domain.
\n\n Processing
- The domain has updates in progress.
\n Active
- Requested changes have been processed and deployed to the domain.
The number of Availability Zones configured for the domain. If the service is unable to fetch this information, it will return NotAvailable
.
The number of active Availability Zones configured for the domain. If the service is unable to fetch this information, it will return NotAvailable
.
The number of standby Availability Zones configured for the domain. If the service is unable to fetch this information, it will return NotAvailable
.
The number of data nodes configured for the domain. If the service is unable to fetch this information, it will return NotAvailable
.
A boolean that indicates if dedicated master nodes are activated for the domain.
" + } + }, + "MasterEligibleNodeCount": { + "target": "com.amazonaws.opensearch#NumberOfNodes", + "traits": { + "smithy.api#documentation": "The number of nodes that can be elected as a master node. If dedicated master nodes is turned on, this value is the number of dedicated master nodes configured for the domain.\n If the service is unable to fetch this information, it will return NotAvailable
.
The number of warm nodes configured for the domain.
" + } + }, + "MasterNode": { + "target": "com.amazonaws.opensearch#MasterNodeStatus", + "traits": { + "smithy.api#documentation": "Indicates whether the domain has an elected master node.
\n\n Available - The domain has an elected master node.
\n\n UnAvailable - The master node hasn't yet been elected, and a quorum to elect a new master node hasn't been reached.
\nThe current health status of your cluster.
\n\n Red
- At least one primary shard is not allocated to any node.
\n Yellow
- All primary shards are allocated to nodes, but some replicas aren’t.
\n Green
- All primary shards and their replicas are allocated to nodes.
\n NotAvailable
- Unable to retrieve cluster health.
The total number of primary and replica shards for the domain.
" + } + }, + "TotalUnAssignedShards": { + "target": "com.amazonaws.opensearch#NumberOfShards", + "traits": { + "smithy.api#documentation": "The total number of primary and replica shards not allocated to any of the nodes for the cluster.
" + } + }, + "EnvironmentInformation": { + "target": "com.amazonaws.opensearch#EnvironmentInfoList", + "traits": { + "smithy.api#documentation": "A list of EnvironmentInfo
for the domain.
The result of a DescribeDomainHealth
request. Contains health information for the requested domain.
An error occured because the client wanted to access a not supported operation.
", + "smithy.api#documentation": "An error occured because the client wanted to access an unsupported operation.
", "smithy.api#error": "client", "smithy.api#httpError": 409 } @@ -4821,6 +5083,35 @@ "smithy.api#documentation": "The configured endpoint options for a domain and their current status.
" } }, + "com.amazonaws.opensearch#DomainHealth": { + "type": "enum", + "members": { + "Red": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Red" + } + }, + "Yellow": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Yellow" + } + }, + "Green": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Green" + } + }, + "NotAvailable": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NotAvailable" + } + } + } + }, "com.amazonaws.opensearch#DomainId": { "type": "string", "traits": { @@ -4952,7 +5243,7 @@ "ReferencePath": { "target": "com.amazonaws.opensearch#ReferencePath", "traits": { - "smithy.api#documentation": "Denotes the location of the package on the OpenSearch Service cluster nodes. It's the same\n as synonym_path
for dictionary files.
The relative path of the package on the OpenSearch Service cluster nodes. This is synonym_path
\n when the package is for synonym files.
A list of AvailabilityZoneInfo
for the domain.
Information about the active domain environment.
" + } + }, + "com.amazonaws.opensearch#EnvironmentInfoList": { + "type": "list", + "member": { + "target": "com.amazonaws.opensearch#EnvironmentInfo" + } + }, "com.amazonaws.opensearch#ErrorDetails": { "type": "structure", "members": { @@ -5594,7 +5928,7 @@ } ], "traits": { - "smithy.api#documentation": "Returns a list of Amazon OpenSearch Service package versions, along with their creation time\n and commit message. For more information, see Custom packages for Amazon\n OpenSearch Service.
", + "smithy.api#documentation": "Returns a list of Amazon OpenSearch Service package versions, along with their creation time, commit message, and plugin properties (if the \n package is a zip plugin package). For more information, see Custom packages for Amazon\n OpenSearch Service.
", "smithy.api#http": { "method": "GET", "uri": "/2021-01-01/packages/{PackageID}/history", @@ -6062,6 +6396,12 @@ "traits": { "smithy.api#documentation": "Whether the instance acts as a data node, a dedicated master node, or an UltraWarm\n node.
" } + }, + "AvailabilityZones": { + "target": "com.amazonaws.opensearch#AvailabilityZoneList", + "traits": { + "smithy.api#documentation": "The supported Availability Zones for the instance type.
" + } } }, "traits": { @@ -6074,6 +6414,16 @@ "target": "com.amazonaws.opensearch#InstanceTypeDetails" } }, + "com.amazonaws.opensearch#InstanceTypeString": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 10, + "max": 40 + }, + "smithy.api#pattern": "^.*\\..*\\.search$" + } + }, "com.amazonaws.opensearch#Integer": { "type": "integer", "traits": { @@ -6110,7 +6460,7 @@ } }, "traits": { - "smithy.api#documentation": "The request processing has failed because you provided an invalid pagination token.
", + "smithy.api#documentation": "Request processing failed because you provided an invalid pagination token.
", "smithy.api#error": "client", "smithy.api#httpError": 400 } @@ -6409,7 +6759,7 @@ "EngineVersion": { "target": "com.amazonaws.opensearch#VersionString", "traits": { - "smithy.api#documentation": "Version of OpenSearch or Elasticsearch, in the format Elasticsearch_X.Y or OpenSearch_X.Y.\n Defaults to the latest version of OpenSearch.
", + "smithy.api#documentation": "The version of OpenSearch or Elasticsearch, in the format Elasticsearch_X.Y or OpenSearch_X.Y.\n Defaults to the latest version of OpenSearch.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -6417,7 +6767,7 @@ "DomainName": { "target": "com.amazonaws.opensearch#DomainName", "traits": { - "smithy.api#documentation": "Name of the domain to list instance type details for.
", + "smithy.api#documentation": "The name of the domain.
", "smithy.api#httpQuery": "domainName" } }, @@ -6435,6 +6785,20 @@ "smithy.api#documentation": "If your initial ListInstanceTypeDetails
operation returns a\n nextToken
, you can include the returned nextToken
in subsequent\n ListInstanceTypeDetails
operations, which returns results in the next page.
An optional parameter that specifies the Availability Zones for the domain.
", + "smithy.api#httpQuery": "retrieveAZs" + } + }, + "InstanceType": { + "target": "com.amazonaws.opensearch#InstanceTypeString", + "traits": { + "smithy.api#documentation": "An optional parameter that lists information for a given instance type.
", + "smithy.api#httpQuery": "instanceType" + } } }, "traits": { @@ -7088,6 +7452,23 @@ "com.amazonaws.opensearch#Long": { "type": "long" }, + "com.amazonaws.opensearch#MasterNodeStatus": { + "type": "enum", + "members": { + "Available": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Available" + } + }, + "UnAvailable": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UnAvailable" + } + } + } + }, "com.amazonaws.opensearch#MasterUserOptions": { "type": "structure", "members": { @@ -7199,6 +7580,24 @@ "smithy.api#pattern": "^[a-zA-Z0-9\\-\\_\\.]+$" } }, + "com.amazonaws.opensearch#NumberOfAZs": { + "type": "string", + "traits": { + "smithy.api#pattern": "^((\\d+)|(NotAvailable))$" + } + }, + "com.amazonaws.opensearch#NumberOfNodes": { + "type": "string", + "traits": { + "smithy.api#pattern": "^((\\d+)|(NotAvailable))$" + } + }, + "com.amazonaws.opensearch#NumberOfShards": { + "type": "string", + "traits": { + "smithy.api#pattern": "^((\\d+)|(NotAvailable))$" + } + }, "com.amazonaws.opensearch#OffPeakWindow": { "type": "structure", "members": { @@ -7219,7 +7618,7 @@ "Enabled": { "target": "com.amazonaws.opensearch#Boolean", "traits": { - "smithy.api#documentation": "Whether to enable an off-peak window.
\nThis option is only available when modifying a domain created prior to February 13, 2023, not when creating a new domain.\n All domains created after this date have the off-peak window enabled by default. You can't disable the off-peak window after it's enabled for a domain.
" + "smithy.api#documentation": "Whether to enable an off-peak window.
\nThis option is only available when modifying a domain created prior to February 16, 2023,\n not when creating a new domain. All domains created after this date have the off-peak window\n enabled by default. You can't disable the off-peak window after it's enabled for a domain.
" } }, "OffPeakWindow": { @@ -8123,7 +8522,7 @@ "PackageName": { "target": "com.amazonaws.opensearch#PackageName", "traits": { - "smithy.api#documentation": "User-specified name of the package.
" + "smithy.api#documentation": "The user-specified name of the package.
" } }, "PackageType": { @@ -8141,7 +8540,7 @@ "PackageStatus": { "target": "com.amazonaws.opensearch#PackageStatus", "traits": { - "smithy.api#documentation": "Current status of the package.
" + "smithy.api#documentation": "The current status of the package. The available options are AVAILABLE
, COPYING
, COPY_FAILED
, VALIDATNG
, VALIDATION_FAILED
, DELETING
, and DELETE_FAILED
.
An exception for accessing or deleting a resource that does not exist..
", + "smithy.api#documentation": "An exception for accessing or deleting a resource that doesn't exist.
", "smithy.api#error": "client", "smithy.api#httpError": 409 } @@ -9774,7 +10173,7 @@ "AdvancedOptions": { "target": "com.amazonaws.opensearch#AdvancedOptions", "traits": { - "smithy.api#documentation": "Key-value pairs to specify advanced configuration options. The following key-value pairs are\n supported:
\n\n \"rest.action.multi.allow_explicit_index\": \"true\" | \"false\"
- Note the use of\n a string rather than a boolean. Specifies whether explicit references to indexes are allowed\n inside the body of HTTP requests. If you want to configure access policies for domain\n sub-resources, such as specific indexes and domain APIs, you must disable this property.\n Default is true.
\n \"indices.fielddata.cache.size\": \"80\"
- Note the use of a string rather than\n a boolean. Specifies the percentage of heap space allocated to field data. Default is\n unbounded.
\n \"indices.query.bool.max_clause_count\": \"1024\"
- Note the use of a string\n rather than a boolean. Specifies the maximum number of clauses allowed in a Lucene boolean\n query. Default is 1,024. Queries with more than the permitted number of clauses result in a\n TooManyClauses
error.
\n \"override_main_response_version\": \"true\" | \"false\"
- Note the use of a string\n rather than a boolean. Specifies whether the domain reports its version as 7.10 to allow\n Elasticsearch OSS clients and plugins to continue working with it. Default is false when\n creating a domain and true when upgrading a domain.
For more information, see Advanced cluster parameters.
" + "smithy.api#documentation": "Key-value pairs to specify advanced configuration options. The following key-value pairs are\n supported:
\n\n \"rest.action.multi.allow_explicit_index\": \"true\" | \"false\"
- Note the use of\n a string rather than a boolean. Specifies whether explicit references to indexes are allowed\n inside the body of HTTP requests. If you want to configure access policies for domain\n sub-resources, such as specific indexes and domain APIs, you must disable this property.\n Default is true.
\n \"indices.fielddata.cache.size\": \"80\"
- Note the use of a string rather than\n a boolean. Specifies the percentage of heap space allocated to field data. Default is\n unbounded.
\n \"indices.query.bool.max_clause_count\": \"1024\"
- Note the use of a string\n rather than a boolean. Specifies the maximum number of clauses allowed in a Lucene boolean\n query. Default is 1,024. Queries with more than the permitted number of clauses result in a\n TooManyClauses
error.
For more information, see Advanced cluster parameters.
" } }, "AccessPolicies": { @@ -10844,6 +11243,29 @@ "traits": { "smithy.api#documentation": "The zone awareness configuration for an Amazon OpenSearch Service domain.
" } + }, + "com.amazonaws.opensearch#ZoneStatus": { + "type": "enum", + "members": { + "Active": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Active" + } + }, + "StandBy": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "StandBy" + } + }, + "NotAvailable": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NotAvailable" + } + } + } } } }