pub enum PrincipalError {
Show 16 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),
InvalidServiceName(String),
InvalidSessionName(String),
InvalidUserName(String),
InvalidUserId(String),
}Expand description
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.
InvalidServiceName(String)
Invalid service name. The argument contains the specified service name. Requires the service feature.
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.