Skip to content

Update Service Access Policies

cloudsearch_update_service_access_policies R Documentation

Configures the access rules that control access to the domain's document and search endpoints

Description

Configures the access rules that control access to the domain's document and search endpoints. For more information, see Configuring Access for an Amazon CloudSearch Domain.

Usage

cloudsearch_update_service_access_policies(DomainName, AccessPolicies)

Arguments

DomainName

[required] A string that represents the name of a domain. Domain names are unique across the domains owned by an account within an AWS region. Domain names start with a letter or number and can contain the following characters: a-z (lowercase), 0-9, and - (hyphen).

AccessPolicies

[required] The access rules you want to configure. These rules replace any existing rules.

Value

A list with the following syntax:

list(
  AccessPolicies = list(
    Options = "string",
    Status = list(
      CreationDate = as.POSIXct(
        "2015-01-01"
      ),
      UpdateDate = as.POSIXct(
        "2015-01-01"
      ),
      UpdateVersion = 123,
      State = "RequiresIndexDocuments"|"Processing"|"Active"|"FailedToValidate",
      PendingDeletion = TRUE|FALSE
    )
  )
)

Request syntax

svc$update_service_access_policies(
  DomainName = "string",
  AccessPolicies = "string"
)