[][src]Struct rusoto_organizations::UpdatePolicyRequest

pub struct UpdatePolicyRequest {
    pub content: Option<String>,
    pub description: Option<String>,
    pub name: Option<String>,
    pub policy_id: String,
}

Fields

content: Option<String>

If provided, the new content for the policy. The text must be correctly formatted JSON that complies with the syntax for the policy's type. For more information, see Service Control Policy Syntax in the AWS Organizations User Guide.

description: Option<String>

If provided, the new description for the policy.

name: Option<String>

If provided, the new name for the policy.

The regex pattern that is used to validate this parameter is a string of any of the characters in the ASCII character range.

policy_id: String

The unique identifier (ID) of the policy that you want to update.

The regex pattern for a policy ID string requires "p-" followed by from 8 to 128 lowercase or uppercase letters, digits, or the underscore character (_).

Trait Implementations

impl Clone for UpdatePolicyRequest[src]

impl Debug for UpdatePolicyRequest[src]

impl Default for UpdatePolicyRequest[src]

impl PartialEq<UpdatePolicyRequest> for UpdatePolicyRequest[src]

impl Serialize for UpdatePolicyRequest[src]

impl StructuralPartialEq for UpdatePolicyRequest[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> 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.