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.StartLifecyclePolicyPreview

Description

Starts a preview of a lifecycle policy for the specified repository. This allows you to see the results before associating the lifecycle policy with the repository.

Synopsis

Creating a Request

data StartLifecyclePolicyPreview Source #

See: newStartLifecyclePolicyPreview smart constructor.

Constructors

StartLifecyclePolicyPreview' 

Fields

  • registryId :: Maybe Text

    The Amazon Web Services account ID associated with the registry that contains the repository. If you do not specify a registry, the default registry is assumed.

  • lifecyclePolicyText :: Maybe Text

    The policy to be evaluated against. If you do not specify a policy, the current policy for the repository is used.

  • repositoryName :: Text

    The name of the repository to be evaluated.

Instances

Instances details
Eq StartLifecyclePolicyPreview Source # 
Instance details

Defined in Amazonka.ECR.StartLifecyclePolicyPreview

Read StartLifecyclePolicyPreview Source # 
Instance details

Defined in Amazonka.ECR.StartLifecyclePolicyPreview

Show StartLifecyclePolicyPreview Source # 
Instance details

Defined in Amazonka.ECR.StartLifecyclePolicyPreview

Generic StartLifecyclePolicyPreview Source # 
Instance details

Defined in Amazonka.ECR.StartLifecyclePolicyPreview

Associated Types

type Rep StartLifecyclePolicyPreview :: Type -> Type #

NFData StartLifecyclePolicyPreview Source # 
Instance details

Defined in Amazonka.ECR.StartLifecyclePolicyPreview

Hashable StartLifecyclePolicyPreview Source # 
Instance details

Defined in Amazonka.ECR.StartLifecyclePolicyPreview

ToJSON StartLifecyclePolicyPreview Source # 
Instance details

Defined in Amazonka.ECR.StartLifecyclePolicyPreview

AWSRequest StartLifecyclePolicyPreview Source # 
Instance details

Defined in Amazonka.ECR.StartLifecyclePolicyPreview

ToHeaders StartLifecyclePolicyPreview Source # 
Instance details

Defined in Amazonka.ECR.StartLifecyclePolicyPreview

ToPath StartLifecyclePolicyPreview Source # 
Instance details

Defined in Amazonka.ECR.StartLifecyclePolicyPreview

ToQuery StartLifecyclePolicyPreview Source # 
Instance details

Defined in Amazonka.ECR.StartLifecyclePolicyPreview

type Rep StartLifecyclePolicyPreview Source # 
Instance details

Defined in Amazonka.ECR.StartLifecyclePolicyPreview

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

Defined in Amazonka.ECR.StartLifecyclePolicyPreview

newStartLifecyclePolicyPreview Source #

Create a value of StartLifecyclePolicyPreview 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:StartLifecyclePolicyPreview', startLifecyclePolicyPreview_registryId - The Amazon Web Services account ID associated with the registry that contains the repository. If you do not specify a registry, the default registry is assumed.

$sel:lifecyclePolicyText:StartLifecyclePolicyPreview', startLifecyclePolicyPreview_lifecyclePolicyText - The policy to be evaluated against. If you do not specify a policy, the current policy for the repository is used.

$sel:repositoryName:StartLifecyclePolicyPreview', startLifecyclePolicyPreview_repositoryName - The name of the repository to be evaluated.

Request Lenses

startLifecyclePolicyPreview_registryId :: Lens' StartLifecyclePolicyPreview (Maybe Text) Source #

The Amazon Web Services account ID associated with the registry that contains the repository. If you do not specify a registry, the default registry is assumed.

startLifecyclePolicyPreview_lifecyclePolicyText :: Lens' StartLifecyclePolicyPreview (Maybe Text) Source #

The policy to be evaluated against. If you do not specify a policy, the current policy for the repository is used.

Destructuring the Response

data StartLifecyclePolicyPreviewResponse Source #

Constructors

StartLifecyclePolicyPreviewResponse' 

Fields

Instances

Instances details
Eq StartLifecyclePolicyPreviewResponse Source # 
Instance details

Defined in Amazonka.ECR.StartLifecyclePolicyPreview

Read StartLifecyclePolicyPreviewResponse Source # 
Instance details

Defined in Amazonka.ECR.StartLifecyclePolicyPreview

Show StartLifecyclePolicyPreviewResponse Source # 
Instance details

Defined in Amazonka.ECR.StartLifecyclePolicyPreview

Generic StartLifecyclePolicyPreviewResponse Source # 
Instance details

Defined in Amazonka.ECR.StartLifecyclePolicyPreview

NFData StartLifecyclePolicyPreviewResponse Source # 
Instance details

Defined in Amazonka.ECR.StartLifecyclePolicyPreview

type Rep StartLifecyclePolicyPreviewResponse Source # 
Instance details

Defined in Amazonka.ECR.StartLifecyclePolicyPreview

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

newStartLifecyclePolicyPreviewResponse Source #

Create a value of StartLifecyclePolicyPreviewResponse 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:status:StartLifecyclePolicyPreviewResponse', startLifecyclePolicyPreviewResponse_status - The status of the lifecycle policy preview request.

$sel:registryId:StartLifecyclePolicyPreview', startLifecyclePolicyPreviewResponse_registryId - The registry ID associated with the request.

$sel:lifecyclePolicyText:StartLifecyclePolicyPreview', startLifecyclePolicyPreviewResponse_lifecyclePolicyText - The JSON repository policy text.

$sel:repositoryName:StartLifecyclePolicyPreview', startLifecyclePolicyPreviewResponse_repositoryName - The repository name associated with the request.

$sel:httpStatus:StartLifecyclePolicyPreviewResponse', startLifecyclePolicyPreviewResponse_httpStatus - The response's http status code.

Response Lenses