| 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.Signer.RevokeSigningProfile
Description
Changes the state of a signing profile to REVOKED. This indicates that signatures generated using the signing profile after an effective start date are no longer valid.
Synopsis
- data RevokeSigningProfile = RevokeSigningProfile' {
- profileVersion :: Text
- reason :: Text
- effectiveTime :: POSIX
- profileName :: Text
- newRevokeSigningProfile :: Text -> Text -> UTCTime -> Text -> RevokeSigningProfile
- revokeSigningProfile_profileVersion :: Lens' RevokeSigningProfile Text
- revokeSigningProfile_reason :: Lens' RevokeSigningProfile Text
- revokeSigningProfile_effectiveTime :: Lens' RevokeSigningProfile UTCTime
- revokeSigningProfile_profileName :: Lens' RevokeSigningProfile Text
- data RevokeSigningProfileResponse = RevokeSigningProfileResponse' {
- newRevokeSigningProfileResponse :: RevokeSigningProfileResponse
Creating a Request
data RevokeSigningProfile Source #
See: newRevokeSigningProfile smart constructor.
Constructors
| RevokeSigningProfile' | |
Fields
| |
Instances
newRevokeSigningProfile Source #
Arguments
| :: Text | |
| -> Text | |
| -> UTCTime | |
| -> Text | |
| -> RevokeSigningProfile |
Create a value of RevokeSigningProfile 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:
RevokeSigningProfile, revokeSigningProfile_profileVersion - The version of the signing profile to be revoked.
RevokeSigningProfile, revokeSigningProfile_reason - The reason for revoking a signing profile.
$sel:effectiveTime:RevokeSigningProfile', revokeSigningProfile_effectiveTime - A timestamp for when revocation of a Signing Profile should become
effective. Signatures generated using the signing profile after this
timestamp are not trusted.
RevokeSigningProfile, revokeSigningProfile_profileName - The name of the signing profile to be revoked.
Request Lenses
revokeSigningProfile_profileVersion :: Lens' RevokeSigningProfile Text Source #
The version of the signing profile to be revoked.
revokeSigningProfile_reason :: Lens' RevokeSigningProfile Text Source #
The reason for revoking a signing profile.
revokeSigningProfile_effectiveTime :: Lens' RevokeSigningProfile UTCTime Source #
A timestamp for when revocation of a Signing Profile should become effective. Signatures generated using the signing profile after this timestamp are not trusted.
revokeSigningProfile_profileName :: Lens' RevokeSigningProfile Text Source #
The name of the signing profile to be revoked.
Destructuring the Response
data RevokeSigningProfileResponse Source #
See: newRevokeSigningProfileResponse smart constructor.
Constructors
| RevokeSigningProfileResponse' | |
Instances
| Generic RevokeSigningProfileResponse Source # | |
Defined in Amazonka.Signer.RevokeSigningProfile Associated Types type Rep RevokeSigningProfileResponse :: Type -> Type # | |
| Read RevokeSigningProfileResponse Source # | |
| Show RevokeSigningProfileResponse Source # | |
Defined in Amazonka.Signer.RevokeSigningProfile Methods showsPrec :: Int -> RevokeSigningProfileResponse -> ShowS # show :: RevokeSigningProfileResponse -> String # showList :: [RevokeSigningProfileResponse] -> ShowS # | |
| NFData RevokeSigningProfileResponse Source # | |
Defined in Amazonka.Signer.RevokeSigningProfile Methods rnf :: RevokeSigningProfileResponse -> () # | |
| Eq RevokeSigningProfileResponse Source # | |
Defined in Amazonka.Signer.RevokeSigningProfile Methods (==) :: RevokeSigningProfileResponse -> RevokeSigningProfileResponse -> Bool # (/=) :: RevokeSigningProfileResponse -> RevokeSigningProfileResponse -> Bool # | |
| type Rep RevokeSigningProfileResponse Source # | |
Defined in Amazonka.Signer.RevokeSigningProfile | |
newRevokeSigningProfileResponse :: RevokeSigningProfileResponse Source #
Create a value of RevokeSigningProfileResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.