Struct aws_sdk_cloudfront::error::CreateDistributionError [−][src]
#[non_exhaustive]pub struct CreateDistributionError {
pub kind: CreateDistributionErrorKind,
// some fields omitted
}
Expand description
Error type for the CreateDistribution
operation.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.kind: CreateDistributionErrorKind
Kind of error that occurred.
Implementations
Creates a new CreateDistributionError
.
Creates the CreateDistributionError::Unhandled
variant from any error type.
Creates the CreateDistributionError::Unhandled
variant from a aws_smithy_types::Error
.
Returns error metadata, which includes the error code, message, request ID, and potentially additional information.
Returns the request ID if it’s available.
Returns true
if the error kind is CreateDistributionErrorKind::AccessDenied
.
Returns true
if the error kind is CreateDistributionErrorKind::CnameAlreadyExists
.
Returns true
if the error kind is CreateDistributionErrorKind::DistributionAlreadyExists
.
Returns true
if the error kind is CreateDistributionErrorKind::IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior
.
Returns true
if the error kind is CreateDistributionErrorKind::InconsistentQuantities
.
Returns true
if the error kind is CreateDistributionErrorKind::InvalidArgument
.
Returns true
if the error kind is CreateDistributionErrorKind::InvalidDefaultRootObject
.
Returns true
if the error kind is CreateDistributionErrorKind::InvalidErrorCode
.
Returns true
if the error kind is CreateDistributionErrorKind::InvalidForwardCookies
.
Returns true
if the error kind is CreateDistributionErrorKind::InvalidFunctionAssociation
.
Returns true
if the error kind is CreateDistributionErrorKind::InvalidGeoRestrictionParameter
.
Returns true
if the error kind is CreateDistributionErrorKind::InvalidHeadersForS3Origin
.
Returns true
if the error kind is CreateDistributionErrorKind::InvalidLambdaFunctionAssociation
.
Returns true
if the error kind is CreateDistributionErrorKind::InvalidLocationCode
.
Returns true
if the error kind is CreateDistributionErrorKind::InvalidMinimumProtocolVersion
.
Returns true
if the error kind is CreateDistributionErrorKind::InvalidOrigin
.
Returns true
if the error kind is CreateDistributionErrorKind::InvalidOriginAccessIdentity
.
Returns true
if the error kind is CreateDistributionErrorKind::InvalidOriginKeepaliveTimeout
.
Returns true
if the error kind is CreateDistributionErrorKind::InvalidOriginReadTimeout
.
Returns true
if the error kind is CreateDistributionErrorKind::InvalidProtocolSettings
.
Returns true
if the error kind is CreateDistributionErrorKind::InvalidQueryStringParameters
.
Returns true
if the error kind is CreateDistributionErrorKind::InvalidRelativePath
.
Returns true
if the error kind is CreateDistributionErrorKind::InvalidRequiredProtocol
.
Returns true
if the error kind is CreateDistributionErrorKind::InvalidResponseCode
.
Returns true
if the error kind is CreateDistributionErrorKind::InvalidTtlOrder
.
Returns true
if the error kind is CreateDistributionErrorKind::InvalidViewerCertificate
.
Returns true
if the error kind is CreateDistributionErrorKind::InvalidWebAclId
.
Returns true
if the error kind is CreateDistributionErrorKind::MissingBody
.
Returns true
if the error kind is CreateDistributionErrorKind::NoSuchCachePolicy
.
Returns true
if the error kind is CreateDistributionErrorKind::NoSuchFieldLevelEncryptionConfig
.
Returns true
if the error kind is CreateDistributionErrorKind::NoSuchOrigin
.
Returns true
if the error kind is CreateDistributionErrorKind::NoSuchOriginRequestPolicy
.
Returns true
if the error kind is CreateDistributionErrorKind::NoSuchRealtimeLogConfig
.
Returns true
if the error kind is CreateDistributionErrorKind::NoSuchResponseHeadersPolicy
.
Returns true
if the error kind is CreateDistributionErrorKind::RealtimeLogConfigOwnerMismatch
.
Returns true
if the error kind is CreateDistributionErrorKind::TooManyCacheBehaviors
.
Returns true
if the error kind is CreateDistributionErrorKind::TooManyCertificates
.
Returns true
if the error kind is CreateDistributionErrorKind::TooManyCookieNamesInWhiteList
.
Returns true
if the error kind is CreateDistributionErrorKind::TooManyDistributionCnamEs
.
Returns true
if the error kind is CreateDistributionErrorKind::TooManyDistributions
.
Returns true
if the error kind is CreateDistributionErrorKind::TooManyDistributionsAssociatedToCachePolicy
.
Returns true
if the error kind is CreateDistributionErrorKind::TooManyDistributionsAssociatedToFieldLevelEncryptionConfig
.
Returns true
if the error kind is CreateDistributionErrorKind::TooManyDistributionsAssociatedToKeyGroup
.
Returns true
if the error kind is CreateDistributionErrorKind::TooManyDistributionsAssociatedToOriginRequestPolicy
.
Returns true
if the error kind is CreateDistributionErrorKind::TooManyDistributionsAssociatedToResponseHeadersPolicy
.
Returns true
if the error kind is CreateDistributionErrorKind::TooManyDistributionsWithFunctionAssociations
.
Returns true
if the error kind is CreateDistributionErrorKind::TooManyDistributionsWithLambdaAssociations
.
Returns true
if the error kind is CreateDistributionErrorKind::TooManyDistributionsWithSingleFunctionArn
.
Returns true
if the error kind is CreateDistributionErrorKind::TooManyFunctionAssociations
.
Returns true
if the error kind is CreateDistributionErrorKind::TooManyHeadersInForwardedValues
.
Returns true
if the error kind is CreateDistributionErrorKind::TooManyKeyGroupsAssociatedToDistribution
.
Returns true
if the error kind is CreateDistributionErrorKind::TooManyLambdaFunctionAssociations
.
Returns true
if the error kind is CreateDistributionErrorKind::TooManyOriginCustomHeaders
.
Returns true
if the error kind is CreateDistributionErrorKind::TooManyOriginGroupsPerDistribution
.
Returns true
if the error kind is CreateDistributionErrorKind::TooManyOrigins
.
Returns true
if the error kind is CreateDistributionErrorKind::TooManyQueryStringParameters
.
Returns true
if the error kind is CreateDistributionErrorKind::TooManyTrustedSigners
.
Returns true
if the error kind is CreateDistributionErrorKind::TrustedKeyGroupDoesNotExist
.
Returns true
if the error kind is CreateDistributionErrorKind::TrustedSignerDoesNotExist
.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for CreateDistributionError
impl Send for CreateDistributionError
impl Sync for CreateDistributionError
impl Unpin for CreateDistributionError
impl !UnwindSafe for CreateDistributionError
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more