[][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 text content to add to the new policy. The text that you supply must adhere to the rules of the policy type you specify in the Type parameter.

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. You can specify one of the following values:

  • AISERVICESOPTOUTPOLICY

  • <a href="http://docs.aws.amazon.com/organizations/latest/userguide/orgsmanagepoliciesbackup.html">BACKUPPOLICY

  • <a href="http://docs.aws.amazon.com/organizations/latest/userguide/orgsmanagepoliciesscp.html">SERVICECONTROLPOLICY

  • TAG_POLICY

Trait Implementations

impl Clone for CreatePolicyRequest[src]

impl Debug for CreatePolicyRequest[src]

impl Default for CreatePolicyRequest[src]

impl PartialEq<CreatePolicyRequest> for CreatePolicyRequest[src]

impl Serialize for CreatePolicyRequest[src]

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