[][src]Struct rusoto_organizations::EnablePolicyTypeRequest

pub struct EnablePolicyTypeRequest {
    pub policy_type: String,
    pub root_id: String,
}

Fields

policy_type: String

The policy type that you want to enable. 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

root_id: String

The unique identifier (ID) of the root in which you want to enable a policy type. You can get the ID from the ListRoots operation.

The regex pattern for a root ID string requires "r-" followed by from 4 to 32 lowercase letters or digits.

Trait Implementations

impl Clone for EnablePolicyTypeRequest[src]

impl Debug for EnablePolicyTypeRequest[src]

impl Default for EnablePolicyTypeRequest[src]

impl PartialEq<EnablePolicyTypeRequest> for EnablePolicyTypeRequest[src]

impl Serialize for EnablePolicyTypeRequest[src]

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