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 a registry.
Synopsis
- data UpdateRegistry = UpdateRegistry' {
- description :: Maybe Text
- registryName :: Text
- newUpdateRegistry :: Text -> UpdateRegistry
- updateRegistry_description :: Lens' UpdateRegistry (Maybe Text)
- updateRegistry_registryName :: Lens' UpdateRegistry Text
- data UpdateRegistryResponse = UpdateRegistryResponse' {
- registryName :: Maybe Text
- registryArn :: Maybe Text
- description :: Maybe Text
- tags :: Maybe (HashMap Text Text)
- httpStatus :: Int
- newUpdateRegistryResponse :: Int -> UpdateRegistryResponse
- updateRegistryResponse_registryName :: Lens' UpdateRegistryResponse (Maybe Text)
- updateRegistryResponse_registryArn :: Lens' UpdateRegistryResponse (Maybe Text)
- updateRegistryResponse_description :: Lens' UpdateRegistryResponse (Maybe Text)
- updateRegistryResponse_tags :: Lens' UpdateRegistryResponse (Maybe (HashMap Text Text))
- updateRegistryResponse_httpStatus :: Lens' UpdateRegistryResponse Int
Creating a Request
data UpdateRegistry Source #
Updates the registry.
See: newUpdateRegistry
smart constructor.
UpdateRegistry' | |
|
Instances
Create a value of UpdateRegistry
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:description:UpdateRegistry'
, updateRegistry_description
- The description of the registry to update.
$sel:registryName:UpdateRegistry'
, updateRegistry_registryName
- The name of the registry.
Request Lenses
updateRegistry_description :: Lens' UpdateRegistry (Maybe Text) Source #
The description of the registry to update.
updateRegistry_registryName :: Lens' UpdateRegistry Text Source #
The name of the registry.
Destructuring the Response
data UpdateRegistryResponse Source #
See: newUpdateRegistryResponse
smart constructor.
UpdateRegistryResponse' | |
|
Instances
newUpdateRegistryResponse Source #
Create a value of UpdateRegistryResponse
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:registryName:UpdateRegistry'
, updateRegistryResponse_registryName
- The name of the registry.
$sel:registryArn:UpdateRegistryResponse'
, updateRegistryResponse_registryArn
- The ARN of the registry.
$sel:description:UpdateRegistry'
, updateRegistryResponse_description
- The description of the registry.
$sel:tags:UpdateRegistryResponse'
, updateRegistryResponse_tags
- Tags associated with the registry.
$sel:httpStatus:UpdateRegistryResponse'
, updateRegistryResponse_httpStatus
- The response's http status code.
Response Lenses
updateRegistryResponse_registryName :: Lens' UpdateRegistryResponse (Maybe Text) Source #
The name of the registry.
updateRegistryResponse_registryArn :: Lens' UpdateRegistryResponse (Maybe Text) Source #
The ARN of the registry.
updateRegistryResponse_description :: Lens' UpdateRegistryResponse (Maybe Text) Source #
The description of the registry.
updateRegistryResponse_tags :: Lens' UpdateRegistryResponse (Maybe (HashMap Text Text)) Source #
Tags associated with the registry.
updateRegistryResponse_httpStatus :: Lens' UpdateRegistryResponse Int Source #
The response's http status code.