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 |
Adds or modifies account-level configurations in ACM.
The supported configuration option is DaysBeforeExpiry
. This option
specifies the number of days prior to certificate expiration when ACM
starts generating EventBridge
events. ACM sends one event per day per
certificate until the certificate expires. By default, accounts receive
events starting 45 days before certificate expiration.
Synopsis
- data PutAccountConfiguration = PutAccountConfiguration' {}
- newPutAccountConfiguration :: Text -> PutAccountConfiguration
- putAccountConfiguration_expiryEvents :: Lens' PutAccountConfiguration (Maybe ExpiryEventsConfiguration)
- putAccountConfiguration_idempotencyToken :: Lens' PutAccountConfiguration Text
- data PutAccountConfigurationResponse = PutAccountConfigurationResponse' {
- newPutAccountConfigurationResponse :: PutAccountConfigurationResponse
Creating a Request
data PutAccountConfiguration Source #
See: newPutAccountConfiguration
smart constructor.
PutAccountConfiguration' | |
|
Instances
newPutAccountConfiguration Source #
Create a value of PutAccountConfiguration
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:expiryEvents:PutAccountConfiguration'
, putAccountConfiguration_expiryEvents
- Specifies expiration events associated with an account.
$sel:idempotencyToken:PutAccountConfiguration'
, putAccountConfiguration_idempotencyToken
- Customer-chosen string used to distinguish between calls to
PutAccountConfiguration
. Idempotency tokens time out after one hour.
If you call PutAccountConfiguration
multiple times with the same
unexpired idempotency token, ACM treats it as the same request and
returns the original result. If you change the idempotency token for
each call, ACM treats each call as a new request.
Request Lenses
putAccountConfiguration_expiryEvents :: Lens' PutAccountConfiguration (Maybe ExpiryEventsConfiguration) Source #
Specifies expiration events associated with an account.
putAccountConfiguration_idempotencyToken :: Lens' PutAccountConfiguration Text Source #
Customer-chosen string used to distinguish between calls to
PutAccountConfiguration
. Idempotency tokens time out after one hour.
If you call PutAccountConfiguration
multiple times with the same
unexpired idempotency token, ACM treats it as the same request and
returns the original result. If you change the idempotency token for
each call, ACM treats each call as a new request.
Destructuring the Response
data PutAccountConfigurationResponse Source #
See: newPutAccountConfigurationResponse
smart constructor.
Instances
Eq PutAccountConfigurationResponse Source # | |
Read PutAccountConfigurationResponse Source # | |
Show PutAccountConfigurationResponse Source # | |
Generic PutAccountConfigurationResponse Source # | |
NFData PutAccountConfigurationResponse Source # | |
Defined in Amazonka.CertificateManager.PutAccountConfiguration rnf :: PutAccountConfigurationResponse -> () # | |
type Rep PutAccountConfigurationResponse Source # | |
Defined in Amazonka.CertificateManager.PutAccountConfiguration type Rep PutAccountConfigurationResponse = D1 ('MetaData "PutAccountConfigurationResponse" "Amazonka.CertificateManager.PutAccountConfiguration" "libZSservicesZSamazonka-certificatemanagerZSamazonka-certificatemanager" 'False) (C1 ('MetaCons "PutAccountConfigurationResponse'" 'PrefixI 'False) (U1 :: Type -> Type)) |
newPutAccountConfigurationResponse :: PutAccountConfigurationResponse Source #
Create a value of PutAccountConfigurationResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.