Skip to content

Get Resource Policies

glue_get_resource_policies R Documentation

Retrieves the resource policies set on individual resources by Resource Access Manager during cross-account permission grants

Description

Retrieves the resource policies set on individual resources by Resource Access Manager during cross-account permission grants. Also retrieves the Data Catalog resource policy.

If you enabled metadata encryption in Data Catalog settings, and you do not have permission on the KMS key, the operation can't return the Data Catalog resource policy.

Usage

glue_get_resource_policies(NextToken, MaxResults)

Arguments

NextToken

A continuation token, if this is a continuation request.

MaxResults

The maximum size of a list to return.

Value

A list with the following syntax:

list(
  GetResourcePoliciesResponseList = list(
    list(
      PolicyInJson = "string",
      PolicyHash = "string",
      CreateTime = as.POSIXct(
        "2015-01-01"
      ),
      UpdateTime = as.POSIXct(
        "2015-01-01"
      )
    )
  ),
  NextToken = "string"
)

Request syntax

svc$get_resource_policies(
  NextToken = "string",
  MaxResults = 123
)