[][src]Struct rusoto_glue::PutResourcePolicyRequest

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

Fields

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>

This is 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.

Trait Implementations

impl PartialEq<PutResourcePolicyRequest> for PutResourcePolicyRequest[src]

impl Default for PutResourcePolicyRequest[src]

impl Clone for PutResourcePolicyRequest[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for PutResourcePolicyRequest[src]

impl Serialize for PutResourcePolicyRequest[src]

Auto Trait Implementations

Blanket Implementations

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

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

type Owned = T

impl<T> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

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

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

The type returned in the event of a conversion error.

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

impl<T> Erased for T

impl<T> Same for T

type Output = T

Should always be Self