pub enum CreateOriginRequestPolicyError {
AccessDenied(String),
InconsistentQuantities(String),
InvalidArgument(String),
OriginRequestPolicyAlreadyExists(String),
TooManyCookiesInOriginRequestPolicy(String),
TooManyHeadersInOriginRequestPolicy(String),
TooManyOriginRequestPolicies(String),
TooManyQueryStringsInOriginRequestPolicy(String),
}
Expand description
Errors returned by CreateOriginRequestPolicy
Variants§
AccessDenied(String)
Access denied.
InconsistentQuantities(String)
The value of Quantity
and the size of Items
don't match.
InvalidArgument(String)
An argument is invalid.
OriginRequestPolicyAlreadyExists(String)
An origin request policy with this name already exists. You must provide a unique name. To modify an existing origin request policy, use UpdateOriginRequestPolicy
.
TooManyCookiesInOriginRequestPolicy(String)
The number of cookies in the origin request policy exceeds the maximum. For more information, see Quotas (formerly known as limits) in the Amazon CloudFront Developer Guide.
TooManyHeadersInOriginRequestPolicy(String)
The number of headers in the origin request policy exceeds the maximum. For more information, see Quotas (formerly known as limits) in the Amazon CloudFront Developer Guide.
TooManyOriginRequestPolicies(String)
You have reached the maximum number of origin request policies for this AWS account. For more information, see Quotas (formerly known as limits) in the Amazon CloudFront Developer Guide.
TooManyQueryStringsInOriginRequestPolicy(String)
The number of query strings in the origin request policy exceeds the maximum. For more information, see Quotas (formerly known as limits) in the Amazon CloudFront Developer Guide.
Implementations§
Trait Implementations§
Source§impl Error for CreateOriginRequestPolicyError
impl Error for CreateOriginRequestPolicyError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
Source§impl PartialEq for CreateOriginRequestPolicyError
impl PartialEq for CreateOriginRequestPolicyError
Source§fn eq(&self, other: &CreateOriginRequestPolicyError) -> bool
fn eq(&self, other: &CreateOriginRequestPolicyError) -> bool
self
and other
values to be equal, and is used by ==
.