Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
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' {
- description :: Maybe Text
- registryArn :: Maybe Text
- registryName :: Maybe Text
- tags :: Maybe (HashMap Text Text)
- httpStatus :: Int
- newUpdateRegistryResponse :: Int -> UpdateRegistryResponse
- updateRegistryResponse_description :: Lens' UpdateRegistryResponse (Maybe Text)
- updateRegistryResponse_registryArn :: Lens' UpdateRegistryResponse (Maybe Text)
- updateRegistryResponse_registryName :: 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:
UpdateRegistry
, updateRegistry_description
- The description of the registry to update.
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:
UpdateRegistry
, updateRegistryResponse_description
- The description of the registry.
UpdateRegistryResponse
, updateRegistryResponse_registryArn
- The ARN of the registry.
UpdateRegistry
, updateRegistryResponse_registryName
- The name of the registry.
UpdateRegistryResponse
, updateRegistryResponse_tags
- Tags associated with the registry.
$sel:httpStatus:UpdateRegistryResponse'
, updateRegistryResponse_httpStatus
- The response's http status code.
Response Lenses
updateRegistryResponse_description :: Lens' UpdateRegistryResponse (Maybe Text) Source #
The description of the registry.
updateRegistryResponse_registryArn :: Lens' UpdateRegistryResponse (Maybe Text) Source #
The ARN of the registry.
updateRegistryResponse_registryName :: Lens' UpdateRegistryResponse (Maybe Text) Source #
The name 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.