Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Returns the website configuration for a bucket.
Synopsis
- getBucketWebsite :: BucketName -> GetBucketWebsite
- data GetBucketWebsite
- gbwBucket :: Lens' GetBucketWebsite BucketName
- getBucketWebsiteResponse :: Int -> GetBucketWebsiteResponse
- data GetBucketWebsiteResponse
- gbwrsRedirectAllRequestsTo :: Lens' GetBucketWebsiteResponse (Maybe RedirectAllRequestsTo)
- gbwrsErrorDocument :: Lens' GetBucketWebsiteResponse (Maybe ErrorDocument)
- gbwrsIndexDocument :: Lens' GetBucketWebsiteResponse (Maybe IndexDocument)
- gbwrsRoutingRules :: Lens' GetBucketWebsiteResponse [RoutingRule]
- gbwrsResponseStatus :: Lens' GetBucketWebsiteResponse Int
Creating a Request
Creates a value of GetBucketWebsite
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gbwBucket
- Undocumented member.
data GetBucketWebsite Source #
See: getBucketWebsite
smart constructor.
Instances
Request Lenses
gbwBucket :: Lens' GetBucketWebsite BucketName Source #
Undocumented member.
Destructuring the Response
getBucketWebsiteResponse Source #
Creates a value of GetBucketWebsiteResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gbwrsRedirectAllRequestsTo
- Undocumented member.gbwrsErrorDocument
- Undocumented member.gbwrsIndexDocument
- Undocumented member.gbwrsRoutingRules
- Undocumented member.gbwrsResponseStatus
- -- | The response status code.
data GetBucketWebsiteResponse Source #
See: getBucketWebsiteResponse
smart constructor.
Instances
Response Lenses
gbwrsRedirectAllRequestsTo :: Lens' GetBucketWebsiteResponse (Maybe RedirectAllRequestsTo) Source #
Undocumented member.
gbwrsErrorDocument :: Lens' GetBucketWebsiteResponse (Maybe ErrorDocument) Source #
Undocumented member.
gbwrsIndexDocument :: Lens' GetBucketWebsiteResponse (Maybe IndexDocument) Source #
Undocumented member.
gbwrsRoutingRules :: Lens' GetBucketWebsiteResponse [RoutingRule] Source #
Undocumented member.
gbwrsResponseStatus :: Lens' GetBucketWebsiteResponse Int Source #
- - | The response status code.