paws.analytics (version 0.1.0)

glue_put_resource_policy: Sets the Data Catalog resource policy for access control

Description

Sets the Data Catalog resource policy for access control.

Usage

glue_put_resource_policy(PolicyInJson, PolicyHashCondition,
  PolicyExistsCondition)

Arguments

PolicyInJson

[required] Contains the policy document to set, in JSON format.

PolicyHashCondition

The hash value returned when the previous policy was set using PutResourcePolicy. Its purpose is to prevent concurrent modifications of a policy. Do not use this parameter if no previous policy has been set.

PolicyExistsCondition

A value of MUST_EXIST is used to update a policy. A value of NOT_EXIST is used to create a new policy. If a value of NONE or a null value is used, the call will not depend on the existence of a policy.

Request syntax

svc$put_resource_policy(
  PolicyInJson = "string",
  PolicyHashCondition = "string",
  PolicyExistsCondition = "MUST_EXIST"|"NOT_EXIST"|"NONE"
)