Copyright | (c) 2013-2021 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 |
Synopsis
- data AwsS3BucketWebsiteConfigurationRedirectTo = AwsS3BucketWebsiteConfigurationRedirectTo' {}
- newAwsS3BucketWebsiteConfigurationRedirectTo :: AwsS3BucketWebsiteConfigurationRedirectTo
- awsS3BucketWebsiteConfigurationRedirectTo_hostname :: Lens' AwsS3BucketWebsiteConfigurationRedirectTo (Maybe Text)
- awsS3BucketWebsiteConfigurationRedirectTo_protocol :: Lens' AwsS3BucketWebsiteConfigurationRedirectTo (Maybe Text)
Documentation
data AwsS3BucketWebsiteConfigurationRedirectTo Source #
The redirect behavior for requests to the website.
See: newAwsS3BucketWebsiteConfigurationRedirectTo
smart constructor.
Instances
newAwsS3BucketWebsiteConfigurationRedirectTo :: AwsS3BucketWebsiteConfigurationRedirectTo Source #
Create a value of AwsS3BucketWebsiteConfigurationRedirectTo
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:hostname:AwsS3BucketWebsiteConfigurationRedirectTo'
, awsS3BucketWebsiteConfigurationRedirectTo_hostname
- The name of the host to redirect requests to.
$sel:protocol:AwsS3BucketWebsiteConfigurationRedirectTo'
, awsS3BucketWebsiteConfigurationRedirectTo_protocol
- The protocol to use when redirecting requests. By default, uses the same
protocol as the original request.
awsS3BucketWebsiteConfigurationRedirectTo_hostname :: Lens' AwsS3BucketWebsiteConfigurationRedirectTo (Maybe Text) Source #
The name of the host to redirect requests to.
awsS3BucketWebsiteConfigurationRedirectTo_protocol :: Lens' AwsS3BucketWebsiteConfigurationRedirectTo (Maybe Text) Source #
The protocol to use when redirecting requests. By default, uses the same protocol as the original request.