[][src]Struct aws_iam::model::arn::ARN

pub struct ARN { /* fields omitted */ }

Amazon Resource Names (ARNs) uniquely identify AWS resources. We require an ARN when you need to specify a resource unambiguously across all of AWS, such as in IAM policies, Amazon Relational Database Service (Amazon RDS) tags, and API calls.

The following are the general formats for ARNs; the specific components and values used depend on the AWS service.

arn:partition:service:region:account-id:resource-id
arn:partition:service:region:account-id:resource-type/resource-id
arn:partition:service:region:account-id:resource-type:resource-id

Methods

impl ARN[src]

pub fn validate(
    &self,
    validators: Option<&ArnValidators>
) -> Result<(), ArnError>
[src]

Validate this ARN, if provided the validators struct will be used to also provide any service-specific validation.

Trait Implementations

impl Clone for ARN[src]

impl Display for ARN[src]

impl Debug for ARN[src]

Auto Trait Implementations

impl Send for ARN

impl Sync for ARN

impl Unpin for ARN

impl UnwindSafe for ARN

impl RefUnwindSafe for ARN

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

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.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,