[][src]Struct rusoto_glue::PutResourcePolicyRequest

pub struct PutResourcePolicyRequest {
    pub enable_hybrid: Option<String>,
    pub policy_exists_condition: Option<String>,
    pub policy_hash_condition: Option<String>,
    pub policy_in_json: String,
    pub resource_arn: Option<String>,
}

Fields

enable_hybrid: Option<String>

Allows you to specify if you want to use both resource-level and account/catalog-level resource policies. A resource-level policy is a policy attached to an individual resource such as a database or a table.

The default value of NO indicates that resource-level policies cannot co-exist with an account-level policy. A value of YES means the use of both resource-level and account/catalog-level resource policies is allowed.

policy_exists_condition: Option<String>

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.

policy_hash_condition: Option<String>

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.

policy_in_json: String

Contains the policy document to set, in JSON format.

resource_arn: Option<String>

The ARN of the AWS Glue resource for the resource policy to be set. For more information about AWS Glue resource ARNs, see the AWS Glue ARN string pattern

Trait Implementations

impl Clone for PutResourcePolicyRequest[src]

impl Debug for PutResourcePolicyRequest[src]

impl Default for PutResourcePolicyRequest[src]

impl PartialEq<PutResourcePolicyRequest> for PutResourcePolicyRequest[src]

impl Serialize for PutResourcePolicyRequest[src]

impl StructuralPartialEq for PutResourcePolicyRequest[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.