Enum rusoto_route53::CreateTrafficPolicyError
[−]
[src]
pub enum CreateTrafficPolicyError { InvalidInput(String), InvalidTrafficPolicyDocument(String), TooManyTrafficPolicies(String), TrafficPolicyAlreadyExists(String), HttpDispatch(HttpDispatchError), Credentials(CredentialsError), Validation(String), Unknown(String), }
Errors returned by CreateTrafficPolicy
Variants
InvalidInput(String)
The input is not valid.
InvalidTrafficPolicyDocument(String)
The format of the traffic policy document that you specified in the Document
element is invalid.
TooManyTrafficPolicies(String)
You've created the maximum number of traffic policies that can be created for the current AWS account. You can request an increase to the limit on the Contact Us page.
TrafficPolicyAlreadyExists(String)
A traffic policy that has the same value for Name
already exists.
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 CreateTrafficPolicyError
[src]
pub fn from_body(body: &str) -> CreateTrafficPolicyError
[src]
Trait Implementations
impl Debug for CreateTrafficPolicyError
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl PartialEq for CreateTrafficPolicyError
[src]
fn eq(&self, __arg_0: &CreateTrafficPolicyError) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &CreateTrafficPolicyError) -> bool
[src]
This method tests for !=
.
impl From<XmlParseError> for CreateTrafficPolicyError
[src]
fn from(err: XmlParseError) -> CreateTrafficPolicyError
[src]
Performs the conversion.
impl From<CredentialsError> for CreateTrafficPolicyError
[src]
fn from(err: CredentialsError) -> CreateTrafficPolicyError
[src]
Performs the conversion.
impl From<HttpDispatchError> for CreateTrafficPolicyError
[src]
fn from(err: HttpDispatchError) -> CreateTrafficPolicyError
[src]
Performs the conversion.
impl From<Error> for CreateTrafficPolicyError
[src]
fn from(err: Error) -> CreateTrafficPolicyError
[src]
Performs the conversion.
impl Display for CreateTrafficPolicyError
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more