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 the image tag mutability settings for the specified repository. For more information, see Image tag mutability in the Amazon Elastic Container Registry User Guide.
Synopsis
- data PutImageTagMutability = PutImageTagMutability' {}
- newPutImageTagMutability :: Text -> ImageTagMutability -> PutImageTagMutability
- putImageTagMutability_registryId :: Lens' PutImageTagMutability (Maybe Text)
- putImageTagMutability_repositoryName :: Lens' PutImageTagMutability Text
- putImageTagMutability_imageTagMutability :: Lens' PutImageTagMutability ImageTagMutability
- data PutImageTagMutabilityResponse = PutImageTagMutabilityResponse' {}
- newPutImageTagMutabilityResponse :: Int -> PutImageTagMutabilityResponse
- putImageTagMutabilityResponse_registryId :: Lens' PutImageTagMutabilityResponse (Maybe Text)
- putImageTagMutabilityResponse_repositoryName :: Lens' PutImageTagMutabilityResponse (Maybe Text)
- putImageTagMutabilityResponse_imageTagMutability :: Lens' PutImageTagMutabilityResponse (Maybe ImageTagMutability)
- putImageTagMutabilityResponse_httpStatus :: Lens' PutImageTagMutabilityResponse Int
Creating a Request
data PutImageTagMutability Source #
See: newPutImageTagMutability
smart constructor.
PutImageTagMutability' | |
|
Instances
newPutImageTagMutability Source #
Create a value of PutImageTagMutability
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:PutImageTagMutability'
, putImageTagMutability_registryId
- The Amazon Web Services account ID associated with the registry that
contains the repository in which to update the image tag mutability
settings. If you do not specify a registry, the default registry is
assumed.
$sel:repositoryName:PutImageTagMutability'
, putImageTagMutability_repositoryName
- The name of the repository in which to update the image tag mutability
settings.
$sel:imageTagMutability:PutImageTagMutability'
, putImageTagMutability_imageTagMutability
- The tag mutability setting for the repository. If MUTABLE
is
specified, image tags can be overwritten. If IMMUTABLE
is specified,
all image tags within the repository will be immutable which will
prevent them from being overwritten.
Request Lenses
putImageTagMutability_registryId :: Lens' PutImageTagMutability (Maybe Text) Source #
The Amazon Web Services account ID associated with the registry that contains the repository in which to update the image tag mutability settings. If you do not specify a registry, the default registry is assumed.
putImageTagMutability_repositoryName :: Lens' PutImageTagMutability Text Source #
The name of the repository in which to update the image tag mutability settings.
putImageTagMutability_imageTagMutability :: Lens' PutImageTagMutability ImageTagMutability Source #
The tag mutability setting for the repository. If MUTABLE
is
specified, image tags can be overwritten. If IMMUTABLE
is specified,
all image tags within the repository will be immutable which will
prevent them from being overwritten.
Destructuring the Response
data PutImageTagMutabilityResponse Source #
See: newPutImageTagMutabilityResponse
smart constructor.
PutImageTagMutabilityResponse' | |
|
Instances
newPutImageTagMutabilityResponse Source #
Create a value of PutImageTagMutabilityResponse
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:PutImageTagMutability'
, putImageTagMutabilityResponse_registryId
- The registry ID associated with the request.
$sel:repositoryName:PutImageTagMutability'
, putImageTagMutabilityResponse_repositoryName
- The repository name associated with the request.
$sel:imageTagMutability:PutImageTagMutability'
, putImageTagMutabilityResponse_imageTagMutability
- The image tag mutability setting for the repository.
$sel:httpStatus:PutImageTagMutabilityResponse'
, putImageTagMutabilityResponse_httpStatus
- The response's http status code.
Response Lenses
putImageTagMutabilityResponse_registryId :: Lens' PutImageTagMutabilityResponse (Maybe Text) Source #
The registry ID associated with the request.
putImageTagMutabilityResponse_repositoryName :: Lens' PutImageTagMutabilityResponse (Maybe Text) Source #
The repository name associated with the request.
putImageTagMutabilityResponse_imageTagMutability :: Lens' PutImageTagMutabilityResponse (Maybe ImageTagMutability) Source #
The image tag mutability setting for the repository.
putImageTagMutabilityResponse_httpStatus :: Lens' PutImageTagMutabilityResponse Int Source #
The response's http status code.