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 |
Updates the domain's endpoint options, specifically whether all requests to the domain must arrive over HTTPS. For more information, see Configuring Domain Endpoint Options in the Amazon CloudSearch Developer Guide.
Synopsis
- data UpdateDomainEndpointOptions = UpdateDomainEndpointOptions' {}
- newUpdateDomainEndpointOptions :: Text -> DomainEndpointOptions -> UpdateDomainEndpointOptions
- updateDomainEndpointOptions_domainName :: Lens' UpdateDomainEndpointOptions Text
- updateDomainEndpointOptions_domainEndpointOptions :: Lens' UpdateDomainEndpointOptions DomainEndpointOptions
- data UpdateDomainEndpointOptionsResponse = UpdateDomainEndpointOptionsResponse' {}
- newUpdateDomainEndpointOptionsResponse :: Int -> UpdateDomainEndpointOptionsResponse
- updateDomainEndpointOptionsResponse_domainEndpointOptions :: Lens' UpdateDomainEndpointOptionsResponse (Maybe DomainEndpointOptionsStatus)
- updateDomainEndpointOptionsResponse_httpStatus :: Lens' UpdateDomainEndpointOptionsResponse Int
Creating a Request
data UpdateDomainEndpointOptions Source #
Container for the parameters to the UpdateDomainEndpointOptions
operation. Specifies the name of the domain you want to update and the
domain endpoint options.
See: newUpdateDomainEndpointOptions
smart constructor.
UpdateDomainEndpointOptions' | |
|
Instances
newUpdateDomainEndpointOptions Source #
Create a value of UpdateDomainEndpointOptions
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:domainName:UpdateDomainEndpointOptions'
, updateDomainEndpointOptions_domainName
- A string that represents the name of a domain.
$sel:domainEndpointOptions:UpdateDomainEndpointOptions'
, updateDomainEndpointOptions_domainEndpointOptions
- Whether to require that all requests to the domain arrive over HTTPS. We
recommend Policy-Min-TLS-1-2-2019-07 for TLSSecurityPolicy. For
compatibility with older clients, the default is
Policy-Min-TLS-1-0-2019-07.
Request Lenses
updateDomainEndpointOptions_domainName :: Lens' UpdateDomainEndpointOptions Text Source #
A string that represents the name of a domain.
updateDomainEndpointOptions_domainEndpointOptions :: Lens' UpdateDomainEndpointOptions DomainEndpointOptions Source #
Whether to require that all requests to the domain arrive over HTTPS. We recommend Policy-Min-TLS-1-2-2019-07 for TLSSecurityPolicy. For compatibility with older clients, the default is Policy-Min-TLS-1-0-2019-07.
Destructuring the Response
data UpdateDomainEndpointOptionsResponse Source #
The result of a UpdateDomainEndpointOptions
request. Contains the
configuration and status of the domain's endpoint options.
See: newUpdateDomainEndpointOptionsResponse
smart constructor.
UpdateDomainEndpointOptionsResponse' | |
|
Instances
newUpdateDomainEndpointOptionsResponse Source #
Create a value of UpdateDomainEndpointOptionsResponse
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:domainEndpointOptions:UpdateDomainEndpointOptions'
, updateDomainEndpointOptionsResponse_domainEndpointOptions
- The newly-configured domain endpoint options.
$sel:httpStatus:UpdateDomainEndpointOptionsResponse'
, updateDomainEndpointOptionsResponse_httpStatus
- The response's http status code.
Response Lenses
updateDomainEndpointOptionsResponse_domainEndpointOptions :: Lens' UpdateDomainEndpointOptionsResponse (Maybe DomainEndpointOptionsStatus) Source #
The newly-configured domain endpoint options.
updateDomainEndpointOptionsResponse_httpStatus :: Lens' UpdateDomainEndpointOptionsResponse Int Source #
The response's http status code.