libZSservicesZSamazonka-ecrZSamazonka-ecr
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.ECR.PutImageTagMutability

Description

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

Creating a Request

data PutImageTagMutability Source #

See: newPutImageTagMutability smart constructor.

Constructors

PutImageTagMutability' 

Fields

  • registryId :: Maybe Text

    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.

  • repositoryName :: Text

    The name of the repository in which to update the image tag mutability settings.

  • imageTagMutability :: 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.

Instances

Instances details
Eq PutImageTagMutability Source # 
Instance details

Defined in Amazonka.ECR.PutImageTagMutability

Read PutImageTagMutability Source # 
Instance details

Defined in Amazonka.ECR.PutImageTagMutability

Show PutImageTagMutability Source # 
Instance details

Defined in Amazonka.ECR.PutImageTagMutability

Generic PutImageTagMutability Source # 
Instance details

Defined in Amazonka.ECR.PutImageTagMutability

Associated Types

type Rep PutImageTagMutability :: Type -> Type #

NFData PutImageTagMutability Source # 
Instance details

Defined in Amazonka.ECR.PutImageTagMutability

Methods

rnf :: PutImageTagMutability -> () #

Hashable PutImageTagMutability Source # 
Instance details

Defined in Amazonka.ECR.PutImageTagMutability

ToJSON PutImageTagMutability Source # 
Instance details

Defined in Amazonka.ECR.PutImageTagMutability

AWSRequest PutImageTagMutability Source # 
Instance details

Defined in Amazonka.ECR.PutImageTagMutability

Associated Types

type AWSResponse PutImageTagMutability #

ToHeaders PutImageTagMutability Source # 
Instance details

Defined in Amazonka.ECR.PutImageTagMutability

ToPath PutImageTagMutability Source # 
Instance details

Defined in Amazonka.ECR.PutImageTagMutability

ToQuery PutImageTagMutability Source # 
Instance details

Defined in Amazonka.ECR.PutImageTagMutability

type Rep PutImageTagMutability Source # 
Instance details

Defined in Amazonka.ECR.PutImageTagMutability

type Rep PutImageTagMutability = D1 ('MetaData "PutImageTagMutability" "Amazonka.ECR.PutImageTagMutability" "libZSservicesZSamazonka-ecrZSamazonka-ecr" 'False) (C1 ('MetaCons "PutImageTagMutability'" 'PrefixI 'True) (S1 ('MetaSel ('Just "registryId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "repositoryName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "imageTagMutability") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ImageTagMutability))))
type AWSResponse PutImageTagMutability Source # 
Instance details

Defined in Amazonka.ECR.PutImageTagMutability

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.

Constructors

PutImageTagMutabilityResponse' 

Fields

Instances

Instances details
Eq PutImageTagMutabilityResponse Source # 
Instance details

Defined in Amazonka.ECR.PutImageTagMutability

Read PutImageTagMutabilityResponse Source # 
Instance details

Defined in Amazonka.ECR.PutImageTagMutability

Show PutImageTagMutabilityResponse Source # 
Instance details

Defined in Amazonka.ECR.PutImageTagMutability

Generic PutImageTagMutabilityResponse Source # 
Instance details

Defined in Amazonka.ECR.PutImageTagMutability

Associated Types

type Rep PutImageTagMutabilityResponse :: Type -> Type #

NFData PutImageTagMutabilityResponse Source # 
Instance details

Defined in Amazonka.ECR.PutImageTagMutability

type Rep PutImageTagMutabilityResponse Source # 
Instance details

Defined in Amazonka.ECR.PutImageTagMutability

type Rep PutImageTagMutabilityResponse = D1 ('MetaData "PutImageTagMutabilityResponse" "Amazonka.ECR.PutImageTagMutability" "libZSservicesZSamazonka-ecrZSamazonka-ecr" 'False) (C1 ('MetaCons "PutImageTagMutabilityResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "registryId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "repositoryName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "imageTagMutability") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ImageTagMutability)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

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