amazonka-ecr-2.0: Amazon EC2 Container Registry SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.ECR.DeletePullThroughCacheRule

Description

Deletes a pull through cache rule.

Synopsis

Creating a Request

data DeletePullThroughCacheRule Source #

See: newDeletePullThroughCacheRule smart constructor.

Constructors

DeletePullThroughCacheRule' 

Fields

  • registryId :: Maybe Text

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

  • ecrRepositoryPrefix :: Text

    The Amazon ECR repository prefix associated with the pull through cache rule to delete.

Instances

Instances details
ToJSON DeletePullThroughCacheRule Source # 
Instance details

Defined in Amazonka.ECR.DeletePullThroughCacheRule

ToHeaders DeletePullThroughCacheRule Source # 
Instance details

Defined in Amazonka.ECR.DeletePullThroughCacheRule

ToPath DeletePullThroughCacheRule Source # 
Instance details

Defined in Amazonka.ECR.DeletePullThroughCacheRule

ToQuery DeletePullThroughCacheRule Source # 
Instance details

Defined in Amazonka.ECR.DeletePullThroughCacheRule

AWSRequest DeletePullThroughCacheRule Source # 
Instance details

Defined in Amazonka.ECR.DeletePullThroughCacheRule

Generic DeletePullThroughCacheRule Source # 
Instance details

Defined in Amazonka.ECR.DeletePullThroughCacheRule

Associated Types

type Rep DeletePullThroughCacheRule :: Type -> Type #

Read DeletePullThroughCacheRule Source # 
Instance details

Defined in Amazonka.ECR.DeletePullThroughCacheRule

Show DeletePullThroughCacheRule Source # 
Instance details

Defined in Amazonka.ECR.DeletePullThroughCacheRule

NFData DeletePullThroughCacheRule Source # 
Instance details

Defined in Amazonka.ECR.DeletePullThroughCacheRule

Eq DeletePullThroughCacheRule Source # 
Instance details

Defined in Amazonka.ECR.DeletePullThroughCacheRule

Hashable DeletePullThroughCacheRule Source # 
Instance details

Defined in Amazonka.ECR.DeletePullThroughCacheRule

type AWSResponse DeletePullThroughCacheRule Source # 
Instance details

Defined in Amazonka.ECR.DeletePullThroughCacheRule

type Rep DeletePullThroughCacheRule Source # 
Instance details

Defined in Amazonka.ECR.DeletePullThroughCacheRule

type Rep DeletePullThroughCacheRule = D1 ('MetaData "DeletePullThroughCacheRule" "Amazonka.ECR.DeletePullThroughCacheRule" "amazonka-ecr-2.0-BqgZWPod2JCFn2nq69DCrJ" 'False) (C1 ('MetaCons "DeletePullThroughCacheRule'" 'PrefixI 'True) (S1 ('MetaSel ('Just "registryId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "ecrRepositoryPrefix") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newDeletePullThroughCacheRule Source #

Create a value of DeletePullThroughCacheRule 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:

DeletePullThroughCacheRule, deletePullThroughCacheRule_registryId - The Amazon Web Services account ID associated with the registry that contains the pull through cache rule. If you do not specify a registry, the default registry is assumed.

DeletePullThroughCacheRule, deletePullThroughCacheRule_ecrRepositoryPrefix - The Amazon ECR repository prefix associated with the pull through cache rule to delete.

Request Lenses

deletePullThroughCacheRule_registryId :: Lens' DeletePullThroughCacheRule (Maybe Text) Source #

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

deletePullThroughCacheRule_ecrRepositoryPrefix :: Lens' DeletePullThroughCacheRule Text Source #

The Amazon ECR repository prefix associated with the pull through cache rule to delete.

Destructuring the Response

data DeletePullThroughCacheRuleResponse Source #

Constructors

DeletePullThroughCacheRuleResponse' 

Fields

Instances

Instances details
Generic DeletePullThroughCacheRuleResponse Source # 
Instance details

Defined in Amazonka.ECR.DeletePullThroughCacheRule

Associated Types

type Rep DeletePullThroughCacheRuleResponse :: Type -> Type #

Read DeletePullThroughCacheRuleResponse Source # 
Instance details

Defined in Amazonka.ECR.DeletePullThroughCacheRule

Show DeletePullThroughCacheRuleResponse Source # 
Instance details

Defined in Amazonka.ECR.DeletePullThroughCacheRule

NFData DeletePullThroughCacheRuleResponse Source # 
Instance details

Defined in Amazonka.ECR.DeletePullThroughCacheRule

Eq DeletePullThroughCacheRuleResponse Source # 
Instance details

Defined in Amazonka.ECR.DeletePullThroughCacheRule

type Rep DeletePullThroughCacheRuleResponse Source # 
Instance details

Defined in Amazonka.ECR.DeletePullThroughCacheRule

type Rep DeletePullThroughCacheRuleResponse = D1 ('MetaData "DeletePullThroughCacheRuleResponse" "Amazonka.ECR.DeletePullThroughCacheRule" "amazonka-ecr-2.0-BqgZWPod2JCFn2nq69DCrJ" 'False) (C1 ('MetaCons "DeletePullThroughCacheRuleResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "createdAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "ecrRepositoryPrefix") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "registryId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "upstreamRegistryUrl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

newDeletePullThroughCacheRuleResponse Source #

Create a value of DeletePullThroughCacheRuleResponse 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:

DeletePullThroughCacheRuleResponse, deletePullThroughCacheRuleResponse_createdAt - The timestamp associated with the pull through cache rule.

DeletePullThroughCacheRule, deletePullThroughCacheRuleResponse_ecrRepositoryPrefix - The Amazon ECR repository prefix associated with the request.

DeletePullThroughCacheRule, deletePullThroughCacheRuleResponse_registryId - The registry ID associated with the request.

DeletePullThroughCacheRuleResponse, deletePullThroughCacheRuleResponse_upstreamRegistryUrl - The upstream registry URL associated with the pull through cache rule.

$sel:httpStatus:DeletePullThroughCacheRuleResponse', deletePullThroughCacheRuleResponse_httpStatus - The response's http status code.

Response Lenses

deletePullThroughCacheRuleResponse_createdAt :: Lens' DeletePullThroughCacheRuleResponse (Maybe UTCTime) Source #

The timestamp associated with the pull through cache rule.

deletePullThroughCacheRuleResponse_upstreamRegistryUrl :: Lens' DeletePullThroughCacheRuleResponse (Maybe Text) Source #

The upstream registry URL associated with the pull through cache rule.