| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.ECR.DeletePullThroughCacheRule
Description
Deletes a pull through cache rule.
Synopsis
- data DeletePullThroughCacheRule = DeletePullThroughCacheRule' {}
- newDeletePullThroughCacheRule :: Text -> DeletePullThroughCacheRule
- deletePullThroughCacheRule_registryId :: Lens' DeletePullThroughCacheRule (Maybe Text)
- deletePullThroughCacheRule_ecrRepositoryPrefix :: Lens' DeletePullThroughCacheRule Text
- data DeletePullThroughCacheRuleResponse = DeletePullThroughCacheRuleResponse' {}
- newDeletePullThroughCacheRuleResponse :: Int -> DeletePullThroughCacheRuleResponse
- deletePullThroughCacheRuleResponse_createdAt :: Lens' DeletePullThroughCacheRuleResponse (Maybe UTCTime)
- deletePullThroughCacheRuleResponse_ecrRepositoryPrefix :: Lens' DeletePullThroughCacheRuleResponse (Maybe Text)
- deletePullThroughCacheRuleResponse_registryId :: Lens' DeletePullThroughCacheRuleResponse (Maybe Text)
- deletePullThroughCacheRuleResponse_upstreamRegistryUrl :: Lens' DeletePullThroughCacheRuleResponse (Maybe Text)
- deletePullThroughCacheRuleResponse_httpStatus :: Lens' DeletePullThroughCacheRuleResponse Int
Creating a Request
data DeletePullThroughCacheRule Source #
See: newDeletePullThroughCacheRule smart constructor.
Constructors
| DeletePullThroughCacheRule' | |
Fields
| |
Instances
newDeletePullThroughCacheRule Source #
Arguments
| :: Text | |
| -> DeletePullThroughCacheRule |
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 #
See: newDeletePullThroughCacheRuleResponse smart constructor.
Constructors
| DeletePullThroughCacheRuleResponse' | |
Fields
| |
Instances
newDeletePullThroughCacheRuleResponse Source #
Arguments
| :: Int | |
| -> DeletePullThroughCacheRuleResponse |
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_ecrRepositoryPrefix :: Lens' DeletePullThroughCacheRuleResponse (Maybe Text) Source #
The Amazon ECR repository prefix associated with the request.
deletePullThroughCacheRuleResponse_registryId :: Lens' DeletePullThroughCacheRuleResponse (Maybe Text) Source #
The registry ID associated with the request.
deletePullThroughCacheRuleResponse_upstreamRegistryUrl :: Lens' DeletePullThroughCacheRuleResponse (Maybe Text) Source #
The upstream registry URL associated with the pull through cache rule.
deletePullThroughCacheRuleResponse_httpStatus :: Lens' DeletePullThroughCacheRuleResponse Int Source #
The response's http status code.