[][src]Struct rusoto_organizations::CreatePolicyRequest

pub struct CreatePolicyRequest {
    pub content: String,
    pub description: String,
    pub name: String,
    pub type_: String,
}

Fields

content: String

The policy content to add to the new policy. For example, if you create a service control policy (SCP), this string must be JSON text that specifies the permissions that admins in attached accounts can delegate to their users, groups, and roles. For more information about the SCP syntax, see Service Control Policy Syntax in the AWS Organizations User Guide.

description: String

An optional description to assign to the policy.

name: String

The friendly name to assign to 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.

type_: String

The type of policy to create.

In the current release, the only type of policy that you can create is a service control policy (SCP).

Trait Implementations

impl PartialEq<CreatePolicyRequest> for CreatePolicyRequest[src]

impl Default for CreatePolicyRequest[src]

impl Clone for CreatePolicyRequest[src]

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

Performs copy-assignment from source. Read more

impl Debug for CreatePolicyRequest[src]

impl Serialize for CreatePolicyRequest[src]

Auto Trait Implementations

impl Send for CreatePolicyRequest

impl Sync for CreatePolicyRequest

Blanket Implementations

impl<T> From for T[src]

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, U> TryFrom for T where
    T: From<U>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

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

🔬 This is a nightly-only experimental API. (try_from)

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