Get Access Policy
opensearchserviceserverless_get_access_policy | R Documentation |
Returns an OpenSearch Serverless access policy¶
Description¶
Returns an OpenSearch Serverless access policy. For more information, see Data access control for Amazon OpenSearch Serverless.
Usage¶
opensearchserviceserverless_get_access_policy(type, name)
Arguments¶
type |
[required] Tye type of policy. Currently, the only supported
value is |
name |
[required] The name of the access policy. |
Value¶
A list with the following syntax:
list(
accessPolicyDetail = list(
type = "data",
name = "string",
policyVersion = "string",
description = "string",
policy = list(),
createdDate = 123,
lastModifiedDate = 123
)
)
Request syntax¶
svc$get_access_policy(
type = "data",
name = "string"
)