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]

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"
)