| 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 |
Amazonka.Signer.RevokeSignature
Description
Changes the state of a signing job to REVOKED. This indicates that the signature is no longer valid.
Synopsis
- data RevokeSignature = RevokeSignature' {}
- newRevokeSignature :: Text -> Text -> RevokeSignature
- revokeSignature_jobOwner :: Lens' RevokeSignature (Maybe Text)
- revokeSignature_reason :: Lens' RevokeSignature Text
- revokeSignature_jobId :: Lens' RevokeSignature Text
- data RevokeSignatureResponse = RevokeSignatureResponse' {
- newRevokeSignatureResponse :: RevokeSignatureResponse
Creating a Request
data RevokeSignature Source #
See: newRevokeSignature smart constructor.
Constructors
| RevokeSignature' | |
Instances
Create a value of RevokeSignature 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:jobOwner:RevokeSignature', revokeSignature_jobOwner - AWS account ID of the job owner.
$sel:reason:RevokeSignature', revokeSignature_reason - The reason for revoking the signing job.
$sel:jobId:RevokeSignature', revokeSignature_jobId - ID of the signing job to be revoked.
Request Lenses
revokeSignature_jobOwner :: Lens' RevokeSignature (Maybe Text) Source #
AWS account ID of the job owner.
revokeSignature_reason :: Lens' RevokeSignature Text Source #
The reason for revoking the signing job.
revokeSignature_jobId :: Lens' RevokeSignature Text Source #
ID of the signing job to be revoked.
Destructuring the Response
data RevokeSignatureResponse Source #
See: newRevokeSignatureResponse smart constructor.
Constructors
| RevokeSignatureResponse' | |
Instances
| Eq RevokeSignatureResponse Source # | |
Defined in Amazonka.Signer.RevokeSignature Methods (==) :: RevokeSignatureResponse -> RevokeSignatureResponse -> Bool # (/=) :: RevokeSignatureResponse -> RevokeSignatureResponse -> Bool # | |
| Read RevokeSignatureResponse Source # | |
Defined in Amazonka.Signer.RevokeSignature | |
| Show RevokeSignatureResponse Source # | |
Defined in Amazonka.Signer.RevokeSignature Methods showsPrec :: Int -> RevokeSignatureResponse -> ShowS # show :: RevokeSignatureResponse -> String # showList :: [RevokeSignatureResponse] -> ShowS # | |
| Generic RevokeSignatureResponse Source # | |
Defined in Amazonka.Signer.RevokeSignature Associated Types type Rep RevokeSignatureResponse :: Type -> Type # Methods from :: RevokeSignatureResponse -> Rep RevokeSignatureResponse x # to :: Rep RevokeSignatureResponse x -> RevokeSignatureResponse # | |
| NFData RevokeSignatureResponse Source # | |
Defined in Amazonka.Signer.RevokeSignature Methods rnf :: RevokeSignatureResponse -> () # | |
| type Rep RevokeSignatureResponse Source # | |
newRevokeSignatureResponse :: RevokeSignatureResponse Source #
Create a value of RevokeSignatureResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.