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 domain metadata, such as DisplayName.
Synopsis
- data UpdateDomainMetadata = UpdateDomainMetadata' {
- displayName :: Maybe Text
- fleetArn :: Text
- domainName :: Text
- newUpdateDomainMetadata :: Text -> Text -> UpdateDomainMetadata
- updateDomainMetadata_displayName :: Lens' UpdateDomainMetadata (Maybe Text)
- updateDomainMetadata_fleetArn :: Lens' UpdateDomainMetadata Text
- updateDomainMetadata_domainName :: Lens' UpdateDomainMetadata Text
- data UpdateDomainMetadataResponse = UpdateDomainMetadataResponse' {
- httpStatus :: Int
- newUpdateDomainMetadataResponse :: Int -> UpdateDomainMetadataResponse
- updateDomainMetadataResponse_httpStatus :: Lens' UpdateDomainMetadataResponse Int
Creating a Request
data UpdateDomainMetadata Source #
See: newUpdateDomainMetadata
smart constructor.
UpdateDomainMetadata' | |
|
Instances
newUpdateDomainMetadata Source #
:: Text | |
-> Text | |
-> UpdateDomainMetadata |
Create a value of UpdateDomainMetadata
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:displayName:UpdateDomainMetadata'
, updateDomainMetadata_displayName
- The name to display.
$sel:fleetArn:UpdateDomainMetadata'
, updateDomainMetadata_fleetArn
- The ARN of the fleet.
$sel:domainName:UpdateDomainMetadata'
, updateDomainMetadata_domainName
- The name of the domain.
Request Lenses
updateDomainMetadata_displayName :: Lens' UpdateDomainMetadata (Maybe Text) Source #
The name to display.
updateDomainMetadata_fleetArn :: Lens' UpdateDomainMetadata Text Source #
The ARN of the fleet.
updateDomainMetadata_domainName :: Lens' UpdateDomainMetadata Text Source #
The name of the domain.
Destructuring the Response
data UpdateDomainMetadataResponse Source #
See: newUpdateDomainMetadataResponse
smart constructor.
UpdateDomainMetadataResponse' | |
|
Instances
newUpdateDomainMetadataResponse Source #
Create a value of UpdateDomainMetadataResponse
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:httpStatus:UpdateDomainMetadataResponse'
, updateDomainMetadataResponse_httpStatus
- The response's http status code.
Response Lenses
updateDomainMetadataResponse_httpStatus :: Lens' UpdateDomainMetadataResponse Int Source #
The response's http status code.