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)
This traffic policy can't be created because the current account has reached the limit on the number of traffic policies.
For information about default limits, see Limits in the Amazon Route 53 Developer Guide.
To get the current limit for an account, see GetAccountLimit.
To request a higher limit, create a case with the AWS Support Center.
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