Struct rusoto_organizations::PolicyTargetSummary [−][src]
pub struct PolicyTargetSummary { pub arn: Option<String>, pub name: Option<String>, pub target_id: Option<String>, pub type_: Option<String>, }
Contains information about a root, OU, or account that a policy is attached to.
Fields
arn: Option<String>
The Amazon Resource Name (ARN) of the policy target.
For more information about ARNs in Organizations, see ARN Formats Supported by Organizations in the AWS Organizations User Guide.
name: Option<String>
The friendly name of the policy target.
The regex pattern that is used to validate this parameter is a string of any of the characters in the ASCII character range.
target_id: Option<String>
The unique identifier (ID) of the policy target.
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 lower-case 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 lower-case letters or digits (the ID of the root that the OU is in) followed by a second "-" dash and from 8 to 32 additional lower-case letters or digits.
type_: Option<String>
The type of the policy target.
Trait Implementations
impl Default for PolicyTargetSummary
[src]
impl Default for PolicyTargetSummary
fn default() -> PolicyTargetSummary
[src]
fn default() -> PolicyTargetSummary
Returns the "default value" for a type. Read more
impl Debug for PolicyTargetSummary
[src]
impl Debug for PolicyTargetSummary
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for PolicyTargetSummary
[src]
impl Clone for PolicyTargetSummary
fn clone(&self) -> PolicyTargetSummary
[src]
fn clone(&self) -> PolicyTargetSummary
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl PartialEq for PolicyTargetSummary
[src]
impl PartialEq for PolicyTargetSummary
fn eq(&self, other: &PolicyTargetSummary) -> bool
[src]
fn eq(&self, other: &PolicyTargetSummary) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &PolicyTargetSummary) -> bool
[src]
fn ne(&self, other: &PolicyTargetSummary) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for PolicyTargetSummary
impl Send for PolicyTargetSummary
impl Sync for PolicyTargetSummary
impl Sync for PolicyTargetSummary