| 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 |
Amazonka.Glue.UpdateRegistry
Description
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' {
- registryArn :: Maybe Text
- registryName :: Maybe Text
- httpStatus :: Int
- newUpdateRegistryResponse :: Int -> UpdateRegistryResponse
- updateRegistryResponse_registryArn :: Lens' UpdateRegistryResponse (Maybe Text)
- updateRegistryResponse_registryName :: Lens' UpdateRegistryResponse (Maybe Text)
- updateRegistryResponse_httpStatus :: Lens' UpdateRegistryResponse Int
Creating a Request
data UpdateRegistry Source #
See: newUpdateRegistry smart constructor.
Constructors
| UpdateRegistry' | |
Fields
| |
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:registryId:UpdateRegistry', updateRegistry_registryId - This is a wrapper structure that may contain the registry name and
Amazon Resource Name (ARN).
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.
Constructors
| UpdateRegistryResponse' | |
Fields
| |
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:
UpdateRegistryResponse, updateRegistryResponse_registryArn - The Amazon Resource name (ARN) of the updated registry.
UpdateRegistryResponse, updateRegistryResponse_registryName - The name of the updated registry.
$sel:httpStatus:UpdateRegistryResponse', updateRegistryResponse_httpStatus - The response's http status code.
Response Lenses
updateRegistryResponse_registryArn :: Lens' UpdateRegistryResponse (Maybe Text) Source #
The Amazon Resource name (ARN) of the updated registry.
updateRegistryResponse_registryName :: Lens' UpdateRegistryResponse (Maybe Text) Source #
The name of the updated registry.
updateRegistryResponse_httpStatus :: Lens' UpdateRegistryResponse Int Source #
The response's http status code.