Struct aws_sdk_s3::output::GetBucketWebsiteOutput [−][src]
#[non_exhaustive]pub struct GetBucketWebsiteOutput {
pub redirect_all_requests_to: Option<RedirectAllRequestsTo>,
pub index_document: Option<IndexDocument>,
pub error_document: Option<ErrorDocument>,
pub routing_rules: Option<Vec<RoutingRule>>,
}
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.redirect_all_requests_to: Option<RedirectAllRequestsTo>
Specifies the redirect behavior of all requests to a website endpoint of an Amazon S3 bucket.
index_document: Option<IndexDocument>
The name of the index document for the website (for example
index.html
).
error_document: Option<ErrorDocument>
The object key name of the website error document to use for 4XX class errors.
routing_rules: Option<Vec<RoutingRule>>
Rules that define when a redirect is applied and the redirect behavior.
Implementations
Specifies the redirect behavior of all requests to a website endpoint of an Amazon S3 bucket.
The name of the index document for the website (for example
index.html
).
The object key name of the website error document to use for 4XX class errors.
Rules that define when a redirect is applied and the redirect behavior.
Creates a new builder-style object to manufacture GetBucketWebsiteOutput
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for GetBucketWebsiteOutput
impl Send for GetBucketWebsiteOutput
impl Sync for GetBucketWebsiteOutput
impl Unpin for GetBucketWebsiteOutput
impl UnwindSafe for GetBucketWebsiteOutput
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