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 an existing registry which is used to hold a collection of schemas. The updated properties relate to the registry, and do not modify any of the schemas within the registry.
Synopsis
- data UpdateRegistry = UpdateRegistry' {}
- newUpdateRegistry :: RegistryId -> Text -> UpdateRegistry
- updateRegistry_registryId :: Lens' UpdateRegistry RegistryId
- updateRegistry_description :: Lens' UpdateRegistry Text
- data UpdateRegistryResponse = UpdateRegistryResponse' {
- registryName :: Maybe Text
- registryArn :: Maybe Text
- httpStatus :: Int
- newUpdateRegistryResponse :: Int -> UpdateRegistryResponse
- updateRegistryResponse_registryName :: Lens' UpdateRegistryResponse (Maybe Text)
- updateRegistryResponse_registryArn :: Lens' UpdateRegistryResponse (Maybe Text)
- updateRegistryResponse_httpStatus :: Lens' UpdateRegistryResponse Int
Creating a Request
data UpdateRegistry Source #
See: newUpdateRegistry
smart constructor.
UpdateRegistry' | |
|
Instances
:: RegistryId | |
-> Text | |
-> UpdateRegistry |
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:registryId:UpdateRegistry'
, updateRegistry_registryId
- This is a wrapper structure that may contain the registry name and
Amazon Resource Name (ARN).
$sel:description:UpdateRegistry'
, updateRegistry_description
- A description of the registry. If description is not provided, this
field will not be updated.
Request Lenses
updateRegistry_registryId :: Lens' UpdateRegistry RegistryId Source #
This is a wrapper structure that may contain the registry name and Amazon Resource Name (ARN).
updateRegistry_description :: Lens' UpdateRegistry Text Source #
A description of the registry. If description is not provided, this field will not be updated.
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:UpdateRegistryResponse'
, updateRegistryResponse_registryName
- The name of the updated registry.
$sel:registryArn:UpdateRegistryResponse'
, updateRegistryResponse_registryArn
- The Amazon Resource name (ARN) of the updated 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 updated registry.
updateRegistryResponse_registryArn :: Lens' UpdateRegistryResponse (Maybe Text) Source #
The Amazon Resource name (ARN) of the updated registry.
updateRegistryResponse_httpStatus :: Lens' UpdateRegistryResponse Int Source #
The response's http status code.