libZSservicesZSamazonka-s3ZSamazonka-s3
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.S3.Types.WebsiteConfiguration

Description

 
Synopsis

Documentation

data WebsiteConfiguration Source #

Specifies website configuration parameters for an Amazon S3 bucket.

See: newWebsiteConfiguration smart constructor.

Constructors

WebsiteConfiguration' 

Fields

Instances

Instances details
Eq WebsiteConfiguration Source # 
Instance details

Defined in Amazonka.S3.Types.WebsiteConfiguration

Read WebsiteConfiguration Source # 
Instance details

Defined in Amazonka.S3.Types.WebsiteConfiguration

Show WebsiteConfiguration Source # 
Instance details

Defined in Amazonka.S3.Types.WebsiteConfiguration

Generic WebsiteConfiguration Source # 
Instance details

Defined in Amazonka.S3.Types.WebsiteConfiguration

Associated Types

type Rep WebsiteConfiguration :: Type -> Type #

NFData WebsiteConfiguration Source # 
Instance details

Defined in Amazonka.S3.Types.WebsiteConfiguration

Methods

rnf :: WebsiteConfiguration -> () #

Hashable WebsiteConfiguration Source # 
Instance details

Defined in Amazonka.S3.Types.WebsiteConfiguration

ToXML WebsiteConfiguration Source # 
Instance details

Defined in Amazonka.S3.Types.WebsiteConfiguration

type Rep WebsiteConfiguration Source # 
Instance details

Defined in Amazonka.S3.Types.WebsiteConfiguration

type Rep WebsiteConfiguration = D1 ('MetaData "WebsiteConfiguration" "Amazonka.S3.Types.WebsiteConfiguration" "libZSservicesZSamazonka-s3ZSamazonka-s3" 'False) (C1 ('MetaCons "WebsiteConfiguration'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "redirectAllRequestsTo") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RedirectAllRequestsTo)) :*: S1 ('MetaSel ('Just "errorDocument") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ErrorDocument))) :*: (S1 ('MetaSel ('Just "indexDocument") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe IndexDocument)) :*: S1 ('MetaSel ('Just "routingRules") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [RoutingRule])))))

newWebsiteConfiguration :: WebsiteConfiguration Source #

Create a value of WebsiteConfiguration with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:redirectAllRequestsTo:WebsiteConfiguration', websiteConfiguration_redirectAllRequestsTo - The redirect behavior for every request to this bucket's website endpoint.

If you specify this property, you can't specify any other property.

$sel:errorDocument:WebsiteConfiguration', websiteConfiguration_errorDocument - The name of the error document for the website.

$sel:indexDocument:WebsiteConfiguration', websiteConfiguration_indexDocument - The name of the index document for the website.

$sel:routingRules:WebsiteConfiguration', websiteConfiguration_routingRules - Rules that define when a redirect is applied and the redirect behavior.

websiteConfiguration_redirectAllRequestsTo :: Lens' WebsiteConfiguration (Maybe RedirectAllRequestsTo) Source #

The redirect behavior for every request to this bucket's website endpoint.

If you specify this property, you can't specify any other property.

websiteConfiguration_errorDocument :: Lens' WebsiteConfiguration (Maybe ErrorDocument) Source #

The name of the error document for the website.

websiteConfiguration_indexDocument :: Lens' WebsiteConfiguration (Maybe IndexDocument) Source #

The name of the index document for the website.

websiteConfiguration_routingRules :: Lens' WebsiteConfiguration (Maybe [RoutingRule]) Source #

Rules that define when a redirect is applied and the redirect behavior.