Learn R Programming

paws (version 0.2.0)

opensearchservice: Amazon OpenSearch Service

Description

Amazon OpenSearch Configuration Service

Use the Amazon OpenSearch configuration API to create, configure, and manage Amazon OpenSearch Service domains.

For sample code that uses the configuration API, see the Amazon OpenSearch Service Developer Guide. The guide also contains sample code for sending signed HTTP requests to the OpenSearch APIs.

The endpoint for configuration service requests is region-specific: es.region.amazonaws.com. For example, es.us-east-1.amazonaws.com. For a current list of supported regions and endpoints, see <a href="https://docs.aws.amazon.com/general/latest/gr/rande.html#service-regions" target="_blank">Regions and Endpoints</a>.

Usage

opensearchservice(config = list())

Value

A client for the service. You can call the service's operations using syntax like svc$operation(...), where svc is the name you've assigned to the client. The available operations are listed in the Operations section.

Arguments

config

Optional configuration of credentials, endpoint, and/or region.

  • access_key_id: AWS access key ID

  • secret_access_key: AWS secret access key

  • session_token: AWS temporary session token

  • profile: The name of a profile to use. If not given, then the default profile is used.

  • anonymous: Set anonymous credentials.

  • endpoint: The complete URL to use for the constructed client.

  • region: The AWS Region used in instantiating the client.

  • close_connection: Immediately close all HTTP connections.

  • timeout: The time in seconds till a timeout exception is thrown when attempting to make a connection. The default is 60 seconds.

  • s3_force_path_style: Set this to true to force the request to use path-style addressing, i.e., http://s3.amazonaws.com/BUCKET/KEY.

Service syntax

svc <- opensearchservice(
  config = list(
    credentials = list(
      creds = list(
        access_key_id = "string",
        secret_access_key = "string",
        session_token = "string"
      ),
      profile = "string",
      anonymous = "logical"
    ),
    endpoint = "string",
    region = "string",
    close_connection = "logical",
    timeout = "numeric",
    s3_force_path_style = "logical"
  )
)

Operations

accept_inbound_connectionAllows the remote domain owner to accept an inbound cross-cluster connection request
add_tagsAttaches tags to an existing domain
associate_packageAssociates a package with an Amazon OpenSearch Service domain
cancel_service_software_updateCancels a scheduled service software update for an Amazon OpenSearch Service domain
create_domainCreates a new Amazon OpenSearch Service domain
create_outbound_connectionCreates a new cross-cluster connection from a local OpenSearch domain to a remote OpenSearch domain
create_packageCreate a package for use with Amazon OpenSearch Service domains
delete_domainPermanently deletes the specified domain and all of its data
delete_inbound_connectionAllows the remote domain owner to delete an existing inbound cross-cluster connection
delete_outbound_connectionAllows the local domain owner to delete an existing outbound cross-cluster connection
delete_packageDeletes the package
describe_domainReturns domain configuration information about the specified domain, including the domain ID, domain endpoint, and domain ARN
describe_domain_auto_tunesProvides scheduled Auto-Tune action details for the domain, such as Auto-Tune action type, description, severity, and scheduled date
describe_domain_change_progressReturns information about the current blue/green deployment happening on a domain, including a change ID, status, and progress stages
describe_domain_configProvides cluster configuration information about the specified domain, such as the state, creation date, update version, and update date for cluster options
describe_domainsReturns domain configuration information about the specified domains, including the domain ID, domain endpoint, and domain ARN
describe_inbound_connectionsLists all the inbound cross-cluster connections for a remote domain
describe_instance_type_limitsDescribe the limits for a given instance type and OpenSearch or Elasticsearch version
describe_outbound_connectionsLists all the outbound cross-cluster connections for a local domain
describe_packagesDescribes all packages available to Amazon OpenSearch Service domains
describe_reserved_instance_offeringsLists available reserved OpenSearch instance offerings
describe_reserved_instancesReturns information about reserved OpenSearch instances for this account
dissociate_packageDissociates a package from the Amazon OpenSearch Service domain
get_compatible_versionsReturns a list of upgrade-compatible versions of OpenSearch/Elasticsearch
get_package_version_historyReturns a list of package versions, along with their creation time and commit message
get_upgrade_historyRetrieves the complete history of the last 10 upgrades performed on the domain
get_upgrade_statusRetrieves the latest status of the last upgrade or upgrade eligibility check performed on the domain
list_domain_namesReturns the names of all domains owned by the current user's account
list_domains_for_packageLists all Amazon OpenSearch Service domains associated with the package
list_instance_type_detailsList instance type details
list_packages_for_domainLists all packages associated with the Amazon OpenSearch Service domain
list_tagsReturns all tags for the given domain
list_versionsList all supported versions of OpenSearch and Elasticsearch
purchase_reserved_instance_offeringAllows you to purchase reserved OpenSearch instances
reject_inbound_connectionAllows the remote domain owner to reject an inbound cross-cluster connection request
remove_tagsRemoves the specified set of tags from the given domain
start_service_software_updateSchedules a service software update for an Amazon OpenSearch Service domain
update_domain_configModifies the cluster configuration of the specified domain, such as setting the instance type and the number of instances
update_packageUpdates a package for use with Amazon OpenSearch Service domains
upgrade_domainAllows you to either upgrade your domain or perform an upgrade eligibility check to a compatible version of OpenSearch or Elasticsearch

Examples

Run this code
if (FALSE) {
svc <- opensearchservice()
svc$accept_inbound_connection(
  Foo = 123
)
}

Run the code above in your browser using DataLab