[−][src]Struct rusoto_organizations::AttachPolicyRequest
Fields
policy_id: String
The unique identifier (ID) of the policy that you want to attach to the target. You can get the ID for the policy by calling the ListPolicies operation.
The regex pattern for a policy ID string requires "p-" followed by from 8 to 128 lowercase or uppercase letters, digits, or the underscore character (_).
target_id: String
The unique identifier (ID) of the root, OU, or account that you want to attach the policy to. You can get the ID by calling the ListRoots, ListOrganizationalUnitsForParent, or ListAccounts operations.
The regex pattern for a target ID string requires one of the following:
-
Root - A string that begins with "r-" followed by from 4 to 32 lowercase letters or digits.
-
Account - A string that consists of exactly 12 digits.
-
Organizational unit (OU) - A string that begins with "ou-" followed by from 4 to 32 lowercase letters or digits (the ID of the root that the OU is in). This string is followed by a second "-" dash and from 8 to 32 additional lowercase letters or digits.
Trait Implementations
impl Clone for AttachPolicyRequest
[src]
pub fn clone(&self) -> AttachPolicyRequest
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for AttachPolicyRequest
[src]
impl Default for AttachPolicyRequest
[src]
pub fn default() -> AttachPolicyRequest
[src]
impl PartialEq<AttachPolicyRequest> for AttachPolicyRequest
[src]
pub fn eq(&self, other: &AttachPolicyRequest) -> bool
[src]
pub fn ne(&self, other: &AttachPolicyRequest) -> bool
[src]
impl Serialize for AttachPolicyRequest
[src]
pub fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralPartialEq for AttachPolicyRequest
[src]
Auto Trait Implementations
impl RefUnwindSafe for AttachPolicyRequest
[src]
impl Send for AttachPolicyRequest
[src]
impl Sync for AttachPolicyRequest
[src]
impl Unpin for AttachPolicyRequest
[src]
impl UnwindSafe for AttachPolicyRequest
[src]
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,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[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> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub 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.
pub 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>,