[−][src]Struct rusoto_organizations::CreatePolicyRequest
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 Clone for CreatePolicyRequest
[src]
fn clone(&self) -> CreatePolicyRequest
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for CreatePolicyRequest
[src]
impl Default for CreatePolicyRequest
[src]
fn default() -> CreatePolicyRequest
[src]
impl PartialEq<CreatePolicyRequest> for CreatePolicyRequest
[src]
fn eq(&self, other: &CreatePolicyRequest) -> bool
[src]
fn ne(&self, other: &CreatePolicyRequest) -> bool
[src]
impl Serialize for CreatePolicyRequest
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralPartialEq for CreatePolicyRequest
[src]
Auto Trait Implementations
impl RefUnwindSafe for CreatePolicyRequest
impl Send for CreatePolicyRequest
impl Sync for CreatePolicyRequest
impl Unpin for CreatePolicyRequest
impl UnwindSafe for CreatePolicyRequest
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> Sealed<T> for T where
T: ?Sized,
T: ?Sized,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,