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
Documentation
data RedirectAllRequestsTo Source #
Specifies the redirect behavior of all requests to a website endpoint of an Amazon S3 bucket.
See: newRedirectAllRequestsTo
smart constructor.
Instances
newRedirectAllRequestsTo Source #
Create a value of RedirectAllRequestsTo
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:protocol:RedirectAllRequestsTo'
, redirectAllRequestsTo_protocol
- Protocol to use when redirecting requests. The default is the protocol
that is used in the original request.
$sel:hostName:RedirectAllRequestsTo'
, redirectAllRequestsTo_hostName
- Name of the host where requests are redirected.
redirectAllRequestsTo_protocol :: Lens' RedirectAllRequestsTo (Maybe Protocol) Source #
Protocol to use when redirecting requests. The default is the protocol that is used in the original request.
redirectAllRequestsTo_hostName :: Lens' RedirectAllRequestsTo Text Source #
Name of the host where requests are redirected.