Skip to content

Create Domain

cloudsearch_create_domain R Documentation

Creates a new search domain

Description

Creates a new search domain. For more information, see Creating a Search Domain in the Amazon CloudSearch Developer Guide.

Usage

cloudsearch_create_domain(DomainName)

Arguments

DomainName

[required] A name for the domain you are creating. Allowed characters are a-z (lower-case letters), 0-9, and hyphen (-). Domain names must start with a letter or number and be at least 3 and no more than 28 characters long.

Value

A list with the following syntax:

list(
  DomainStatus = list(
    DomainId = "string",
    DomainName = "string",
    ARN = "string",
    Created = TRUE|FALSE,
    Deleted = TRUE|FALSE,
    DocService = list(
      Endpoint = "string"
    ),
    SearchService = list(
      Endpoint = "string"
    ),
    RequiresIndexDocuments = TRUE|FALSE,
    Processing = TRUE|FALSE,
    SearchInstanceType = "string",
    SearchPartitionCount = 123,
    SearchInstanceCount = 123,
    Limits = list(
      MaximumReplicationCount = 123,
      MaximumPartitionCount = 123
    )
  )
)

Request syntax

svc$create_domain(
  DomainName = "string"
)