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 |
Creates a registry.
Synopsis
- data CreateRegistry = CreateRegistry' {
- description :: Maybe Text
- tags :: Maybe (HashMap Text Text)
- registryName :: Text
- newCreateRegistry :: Text -> CreateRegistry
- createRegistry_description :: Lens' CreateRegistry (Maybe Text)
- createRegistry_tags :: Lens' CreateRegistry (Maybe (HashMap Text Text))
- createRegistry_registryName :: Lens' CreateRegistry Text
- data CreateRegistryResponse = CreateRegistryResponse' {
- registryName :: Maybe Text
- registryArn :: Maybe Text
- description :: Maybe Text
- tags :: Maybe (HashMap Text Text)
- httpStatus :: Int
- newCreateRegistryResponse :: Int -> CreateRegistryResponse
- createRegistryResponse_registryName :: Lens' CreateRegistryResponse (Maybe Text)
- createRegistryResponse_registryArn :: Lens' CreateRegistryResponse (Maybe Text)
- createRegistryResponse_description :: Lens' CreateRegistryResponse (Maybe Text)
- createRegistryResponse_tags :: Lens' CreateRegistryResponse (Maybe (HashMap Text Text))
- createRegistryResponse_httpStatus :: Lens' CreateRegistryResponse Int
Creating a Request
data CreateRegistry Source #
See: newCreateRegistry
smart constructor.
CreateRegistry' | |
|
Instances
Create a value of CreateRegistry
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:CreateRegistry'
, createRegistry_description
- A description of the registry to be created.
$sel:tags:CreateRegistry'
, createRegistry_tags
- Tags to associate with the registry.
$sel:registryName:CreateRegistry'
, createRegistry_registryName
- The name of the registry.
Request Lenses
createRegistry_description :: Lens' CreateRegistry (Maybe Text) Source #
A description of the registry to be created.
createRegistry_tags :: Lens' CreateRegistry (Maybe (HashMap Text Text)) Source #
Tags to associate with the registry.
createRegistry_registryName :: Lens' CreateRegistry Text Source #
The name of the registry.
Destructuring the Response
data CreateRegistryResponse Source #
See: newCreateRegistryResponse
smart constructor.
CreateRegistryResponse' | |
|
Instances
newCreateRegistryResponse Source #
Create a value of CreateRegistryResponse
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:CreateRegistry'
, createRegistryResponse_registryName
- The name of the registry.
$sel:registryArn:CreateRegistryResponse'
, createRegistryResponse_registryArn
- The ARN of the registry.
$sel:description:CreateRegistry'
, createRegistryResponse_description
- The description of the registry.
$sel:tags:CreateRegistry'
, createRegistryResponse_tags
- Tags associated with the registry.
$sel:httpStatus:CreateRegistryResponse'
, createRegistryResponse_httpStatus
- The response's http status code.
Response Lenses
createRegistryResponse_registryName :: Lens' CreateRegistryResponse (Maybe Text) Source #
The name of the registry.
createRegistryResponse_registryArn :: Lens' CreateRegistryResponse (Maybe Text) Source #
The ARN of the registry.
createRegistryResponse_description :: Lens' CreateRegistryResponse (Maybe Text) Source #
The description of the registry.
createRegistryResponse_tags :: Lens' CreateRegistryResponse (Maybe (HashMap Text Text)) Source #
Tags associated with the registry.
createRegistryResponse_httpStatus :: Lens' CreateRegistryResponse Int Source #
The response's http status code.