[][src]Struct rusoto_organizations::CreatePolicyRequest

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

Fields

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.

An optional description to assign to the policy.

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.

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 Clone for CreatePolicyRequest
[src]

Performs copy-assignment from source. Read more

impl Default for CreatePolicyRequest
[src]

impl PartialEq<CreatePolicyRequest> for CreatePolicyRequest
[src]

impl Debug for CreatePolicyRequest
[src]

impl Serialize for CreatePolicyRequest
[src]

Auto Trait Implementations

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]

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

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

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

The type returned in the event of a conversion error.

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

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

impl<T> Same for T

Should always be Self

impl<T> Erased for T