scenarios/basics/opensearch/README.md
This Amazon OpenSearch Service basic scenario demonstrates how to interact with the Amazon OpenSearch service using an AWS SDK. The scenario covers various operations such as creating an OpenSearch domain, modifying a domain, waiting for changes to the domain to enter a complete state, and so on.
Here are the top five service operations this scenario covers.
Create an Amazon OpenSearch Domain:
Describe the Amazon OpenSearch Domain:
describeDomain(domainName) is called to obtain the Amazon Resource Name (ARN) of the specified OpenSearch domain.List the Domains in Your Account:
listAllDomains() is called to retrieve a list of all the OpenSearch domains available in the account.Wait until the Domain's Change Status Reaches a Completed State:
domainChangeProgress(domainName), waits until the change status of the specified domain reaches a completed state, which can take several minutes to several hours, depending on the complexity of the change and the current load on the OpenSearch service.
Note this operation may take up to 20 minutes.Modify the Domain:
updateSpecificDomain(domainName) is called to update the configuration of the specified OpenSearch domain.Note: These steps are not the complete program, but summarizes the 5 high-level steps. See the Eng Spec for a complete listing of operations.
This scenario does not require any additional AWS resources to run.
This scenario example will be implemented in the following languages:
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. SPDX-License-Identifier: Apache-2.0