Enum rusoto_codecommit::UpdateDefaultBranchError
[−]
[src]
pub enum UpdateDefaultBranchError { BranchDoesNotExist(String), BranchNameRequired(String), EncryptionIntegrityChecksFailed(String), EncryptionKeyAccessDenied(String), EncryptionKeyDisabled(String), EncryptionKeyNotFound(String), EncryptionKeyUnavailable(String), InvalidBranchName(String), InvalidRepositoryName(String), RepositoryDoesNotExist(String), RepositoryNameRequired(String), HttpDispatch(HttpDispatchError), Credentials(CredentialsError), Validation(String), Unknown(String), }
Errors returned by UpdateDefaultBranch
Variants
BranchDoesNotExist(String)
The specified branch does not exist.
BranchNameRequired(String)
A branch name is required but was not specified.
EncryptionIntegrityChecksFailed(String)
An encryption integrity check failed.
EncryptionKeyAccessDenied(String)
An encryption key could not be accessed.
EncryptionKeyDisabled(String)
The encryption key is disabled.
EncryptionKeyNotFound(String)
No encryption key was found.
The encryption key is not available.
InvalidBranchName(String)
The specified branch name is not valid.
InvalidRepositoryName(String)
At least one specified repository name is not valid.
This exception only occurs when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.
RepositoryDoesNotExist(String)
The specified repository does not exist.
RepositoryNameRequired(String)
A repository name is required but was not specified.
HttpDispatch(HttpDispatchError)
An error occurred dispatching the HTTP request
Credentials(CredentialsError)
An error was encountered with AWS credentials.
Validation(String)
A validation error occurred. Details from AWS are provided.
Unknown(String)
An unknown error occurred. The raw HTTP response is provided.
Methods
impl UpdateDefaultBranchError
[src]
pub fn from_body(body: &str) -> UpdateDefaultBranchError
[src]
Trait Implementations
impl Debug for UpdateDefaultBranchError
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl PartialEq for UpdateDefaultBranchError
[src]
fn eq(&self, __arg_0: &UpdateDefaultBranchError) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &UpdateDefaultBranchError) -> bool
[src]
This method tests for !=
.
impl From<Error> for UpdateDefaultBranchError
[src]
fn from(err: Error) -> UpdateDefaultBranchError
[src]
Performs the conversion.
impl From<CredentialsError> for UpdateDefaultBranchError
[src]
fn from(err: CredentialsError) -> UpdateDefaultBranchError
[src]
Performs the conversion.
impl From<HttpDispatchError> for UpdateDefaultBranchError
[src]
fn from(err: HttpDispatchError) -> UpdateDefaultBranchError
[src]
Performs the conversion.
impl From<Error> for UpdateDefaultBranchError
[src]
fn from(err: Error) -> UpdateDefaultBranchError
[src]
Performs the conversion.
impl Display for UpdateDefaultBranchError
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more