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 |
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.
RevokeSigningProfile' | |
|
Instances
newRevokeSigningProfile Source #
:: 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:
$sel:profileVersion:RevokeSigningProfile'
, revokeSigningProfile_profileVersion
- The version of the signing profile to be revoked.
$sel:reason: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.
$sel:profileName: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.
Instances
newRevokeSigningProfileResponse :: RevokeSigningProfileResponse Source #
Create a value of RevokeSigningProfileResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.