Struct aws_sdk_cloudfront::error::CreateStreamingDistributionError [−][src]
#[non_exhaustive]pub struct CreateStreamingDistributionError {
pub kind: CreateStreamingDistributionErrorKind,
// some fields omitted
}
Expand description
Error type for the CreateStreamingDistribution
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: CreateStreamingDistributionErrorKind
Kind of error that occurred.
Implementations
Creates a new CreateStreamingDistributionError
.
Creates the CreateStreamingDistributionError::Unhandled
variant from any error type.
Creates the CreateStreamingDistributionError::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 CreateStreamingDistributionErrorKind::AccessDenied
.
Returns true
if the error kind is CreateStreamingDistributionErrorKind::CnameAlreadyExists
.
Returns true
if the error kind is CreateStreamingDistributionErrorKind::InconsistentQuantities
.
Returns true
if the error kind is CreateStreamingDistributionErrorKind::InvalidArgument
.
Returns true
if the error kind is CreateStreamingDistributionErrorKind::InvalidOrigin
.
Returns true
if the error kind is CreateStreamingDistributionErrorKind::InvalidOriginAccessIdentity
.
Returns true
if the error kind is CreateStreamingDistributionErrorKind::MissingBody
.
Returns true
if the error kind is CreateStreamingDistributionErrorKind::StreamingDistributionAlreadyExists
.
Returns true
if the error kind is CreateStreamingDistributionErrorKind::TooManyStreamingDistributionCnamEs
.
Returns true
if the error kind is CreateStreamingDistributionErrorKind::TooManyStreamingDistributions
.
Returns true
if the error kind is CreateStreamingDistributionErrorKind::TooManyTrustedSigners
.
Returns true
if the error kind is CreateStreamingDistributionErrorKind::TrustedSignerDoesNotExist
.
Trait Implementations
Auto Trait Implementations
impl Send for CreateStreamingDistributionError
impl Sync for CreateStreamingDistributionError
impl Unpin for CreateStreamingDistributionError
impl !UnwindSafe for CreateStreamingDistributionError
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