Enum scratchstack_aws_principal::PrincipalError[][src]

pub enum PrincipalError {
Show variants InvalidArn(String), InvalidPartition(String), InvalidAccountId(String), InvalidFederatedUserName(String), InvalidGroupName(String), InvalidGroupId(String), InvalidInstanceProfileName(String), InvalidInstanceProfileId(String), InvalidPath(String), InvalidRegion(String), InvalidRoleName(String), InvalidRoleId(String), InvalidSessionName(String), InvalidUserName(String), InvalidUserId(String),
}

Errors that can be raise during the parsing of principals.

Variants

InvalidArn(String)

Invalid ARN. The argument contains the specified ARN.

InvalidPartition(String)

Invalid partition. The argument contains the specified partition.

InvalidAccountId(String)

Invalid AWS account id. The argument contains the specified account id.

InvalidFederatedUserName(String)

Invalid federated user name. The argument contains the specified user name.

InvalidGroupName(String)

Invalid group name. The argument contains the specified group name.

InvalidGroupId(String)

Invalid group id. The argument contains the specified group id.

InvalidInstanceProfileName(String)

Invalid instance profile name. The argument contains the specified instance profile name.

InvalidInstanceProfileId(String)

Invalid instance profile id. The argument contains the specified instance profile id.

InvalidPath(String)

Invalid IAM path. The argument contains the specified path.

InvalidRegion(String)

Invalid region. The argument contains the specified region.

InvalidRoleName(String)

Invalid role name. The argument contains the specified role name.

InvalidRoleId(String)

Invalid role id. The argument contains the specified role id.

InvalidSessionName(String)

Invalid session name. The argument contains the specified session name.

InvalidUserName(String)

Invalid user name. The argument contains the specified user name.

InvalidUserId(String)

Invalid user id. The argument contains the specified user id.

Trait Implementations

impl Debug for PrincipalError[src]

impl Display for PrincipalError[src]

impl Error for PrincipalError[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, U> Into<U> for T where
    U: From<T>, 
[src]

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.