Enum rusoto_codedeploy::RegisterOnPremisesInstanceError [] [src]

pub enum RegisterOnPremisesInstanceError {
    IamArnRequired(String),
    IamSessionArnAlreadyRegistered(String),
    IamUserArnAlreadyRegistered(String),
    IamUserArnRequired(String),
    InstanceNameAlreadyRegistered(String),
    InstanceNameRequired(String),
    InvalidIamSessionArn(String),
    InvalidIamUserArn(String),
    InvalidInstanceName(String),
    MultipleIamArnsProvided(String),
    HttpDispatch(HttpDispatchError),
    Credentials(CredentialsError),
    Validation(String),
    Unknown(String),
}

Errors returned by RegisterOnPremisesInstance

Variants

No IAM ARN was included in the request. You must use an IAM session ARN or IAM user ARN in the request.

The request included an IAM session ARN that has already been used to register a different instance.

The specified IAM user ARN is already registered with an on-premises instance.

An IAM user ARN was not specified.

The specified on-premises instance name is already registered.

An on-premises instance name was not specified.

The IAM session ARN was specified in an invalid format.

The IAM user ARN was specified in an invalid format.

The specified on-premises instance name was specified in an invalid format.

Both an IAM user ARN and an IAM session ARN were included in the request. Use only one ARN type.

An error occurred dispatching the HTTP request

An error was encountered with AWS credentials.

A validation error occurred. Details from AWS are provided.

An unknown error occurred. The raw HTTP response is provided.

Methods

impl RegisterOnPremisesInstanceError
[src]

Trait Implementations

impl Debug for RegisterOnPremisesInstanceError
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for RegisterOnPremisesInstanceError
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl From<Error> for RegisterOnPremisesInstanceError
[src]

[src]

Performs the conversion.

impl From<CredentialsError> for RegisterOnPremisesInstanceError
[src]

[src]

Performs the conversion.

impl From<HttpDispatchError> for RegisterOnPremisesInstanceError
[src]

[src]

Performs the conversion.

impl From<Error> for RegisterOnPremisesInstanceError
[src]

[src]

Performs the conversion.

impl Display for RegisterOnPremisesInstanceError
[src]

[src]

Formats the value using the given formatter. Read more

impl Error for RegisterOnPremisesInstanceError
[src]

[src]

A short description of the error. Read more

1.0.0
[src]

The lower-level cause of this error, if any. Read more