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 values stored in the domain configuration. Domain configurations for default endpoints can't be updated.
Requires permission to access the UpdateDomainConfiguration action.
Synopsis
- data UpdateDomainConfiguration = UpdateDomainConfiguration' {}
- newUpdateDomainConfiguration :: Text -> UpdateDomainConfiguration
- updateDomainConfiguration_authorizerConfig :: Lens' UpdateDomainConfiguration (Maybe AuthorizerConfig)
- updateDomainConfiguration_domainConfigurationStatus :: Lens' UpdateDomainConfiguration (Maybe DomainConfigurationStatus)
- updateDomainConfiguration_removeAuthorizerConfig :: Lens' UpdateDomainConfiguration (Maybe Bool)
- updateDomainConfiguration_domainConfigurationName :: Lens' UpdateDomainConfiguration Text
- data UpdateDomainConfigurationResponse = UpdateDomainConfigurationResponse' {}
- newUpdateDomainConfigurationResponse :: Int -> UpdateDomainConfigurationResponse
- updateDomainConfigurationResponse_domainConfigurationName :: Lens' UpdateDomainConfigurationResponse (Maybe Text)
- updateDomainConfigurationResponse_domainConfigurationArn :: Lens' UpdateDomainConfigurationResponse (Maybe Text)
- updateDomainConfigurationResponse_httpStatus :: Lens' UpdateDomainConfigurationResponse Int
Creating a Request
data UpdateDomainConfiguration Source #
See: newUpdateDomainConfiguration
smart constructor.
UpdateDomainConfiguration' | |
|
Instances
newUpdateDomainConfiguration Source #
Create a value of UpdateDomainConfiguration
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:authorizerConfig:UpdateDomainConfiguration'
, updateDomainConfiguration_authorizerConfig
- An object that specifies the authorization service for a domain.
$sel:domainConfigurationStatus:UpdateDomainConfiguration'
, updateDomainConfiguration_domainConfigurationStatus
- The status to which the domain configuration should be updated.
$sel:removeAuthorizerConfig:UpdateDomainConfiguration'
, updateDomainConfiguration_removeAuthorizerConfig
- Removes the authorization configuration from a domain.
$sel:domainConfigurationName:UpdateDomainConfiguration'
, updateDomainConfiguration_domainConfigurationName
- The name of the domain configuration to be updated.
Request Lenses
updateDomainConfiguration_authorizerConfig :: Lens' UpdateDomainConfiguration (Maybe AuthorizerConfig) Source #
An object that specifies the authorization service for a domain.
updateDomainConfiguration_domainConfigurationStatus :: Lens' UpdateDomainConfiguration (Maybe DomainConfigurationStatus) Source #
The status to which the domain configuration should be updated.
updateDomainConfiguration_removeAuthorizerConfig :: Lens' UpdateDomainConfiguration (Maybe Bool) Source #
Removes the authorization configuration from a domain.
updateDomainConfiguration_domainConfigurationName :: Lens' UpdateDomainConfiguration Text Source #
The name of the domain configuration to be updated.
Destructuring the Response
data UpdateDomainConfigurationResponse Source #
See: newUpdateDomainConfigurationResponse
smart constructor.
UpdateDomainConfigurationResponse' | |
|
Instances
newUpdateDomainConfigurationResponse Source #
Create a value of UpdateDomainConfigurationResponse
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:domainConfigurationName:UpdateDomainConfiguration'
, updateDomainConfigurationResponse_domainConfigurationName
- The name of the domain configuration that was updated.
$sel:domainConfigurationArn:UpdateDomainConfigurationResponse'
, updateDomainConfigurationResponse_domainConfigurationArn
- The ARN of the domain configuration that was updated.
$sel:httpStatus:UpdateDomainConfigurationResponse'
, updateDomainConfigurationResponse_httpStatus
- The response's http status code.
Response Lenses
updateDomainConfigurationResponse_domainConfigurationName :: Lens' UpdateDomainConfigurationResponse (Maybe Text) Source #
The name of the domain configuration that was updated.
updateDomainConfigurationResponse_domainConfigurationArn :: Lens' UpdateDomainConfigurationResponse (Maybe Text) Source #
The ARN of the domain configuration that was updated.
updateDomainConfigurationResponse_httpStatus :: Lens' UpdateDomainConfigurationResponse Int Source #
The response's http status code.