libZSservicesZSamazonka-certificatemanagerZSamazonka-certificatemanager
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.CertificateManager.PutAccountConfiguration

Description

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

Creating a Request

data PutAccountConfiguration Source #

See: newPutAccountConfiguration smart constructor.

Constructors

PutAccountConfiguration' 

Fields

  • expiryEvents :: Maybe ExpiryEventsConfiguration

    Specifies expiration events associated with an account.

  • idempotencyToken :: Text

    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.

Instances

Instances details
Eq PutAccountConfiguration Source # 
Instance details

Defined in Amazonka.CertificateManager.PutAccountConfiguration

Read PutAccountConfiguration Source # 
Instance details

Defined in Amazonka.CertificateManager.PutAccountConfiguration

Show PutAccountConfiguration Source # 
Instance details

Defined in Amazonka.CertificateManager.PutAccountConfiguration

Generic PutAccountConfiguration Source # 
Instance details

Defined in Amazonka.CertificateManager.PutAccountConfiguration

Associated Types

type Rep PutAccountConfiguration :: Type -> Type #

NFData PutAccountConfiguration Source # 
Instance details

Defined in Amazonka.CertificateManager.PutAccountConfiguration

Methods

rnf :: PutAccountConfiguration -> () #

Hashable PutAccountConfiguration Source # 
Instance details

Defined in Amazonka.CertificateManager.PutAccountConfiguration

ToJSON PutAccountConfiguration Source # 
Instance details

Defined in Amazonka.CertificateManager.PutAccountConfiguration

AWSRequest PutAccountConfiguration Source # 
Instance details

Defined in Amazonka.CertificateManager.PutAccountConfiguration

ToHeaders PutAccountConfiguration Source # 
Instance details

Defined in Amazonka.CertificateManager.PutAccountConfiguration

ToPath PutAccountConfiguration Source # 
Instance details

Defined in Amazonka.CertificateManager.PutAccountConfiguration

ToQuery PutAccountConfiguration Source # 
Instance details

Defined in Amazonka.CertificateManager.PutAccountConfiguration

type Rep PutAccountConfiguration Source # 
Instance details

Defined in Amazonka.CertificateManager.PutAccountConfiguration

type Rep PutAccountConfiguration = D1 ('MetaData "PutAccountConfiguration" "Amazonka.CertificateManager.PutAccountConfiguration" "libZSservicesZSamazonka-certificatemanagerZSamazonka-certificatemanager" 'False) (C1 ('MetaCons "PutAccountConfiguration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "expiryEvents") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ExpiryEventsConfiguration)) :*: S1 ('MetaSel ('Just "idempotencyToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse PutAccountConfiguration Source # 
Instance details

Defined in Amazonka.CertificateManager.PutAccountConfiguration

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_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

Instances details
Eq PutAccountConfigurationResponse Source # 
Instance details

Defined in Amazonka.CertificateManager.PutAccountConfiguration

Read PutAccountConfigurationResponse Source # 
Instance details

Defined in Amazonka.CertificateManager.PutAccountConfiguration

Show PutAccountConfigurationResponse Source # 
Instance details

Defined in Amazonka.CertificateManager.PutAccountConfiguration

Generic PutAccountConfigurationResponse Source # 
Instance details

Defined in Amazonka.CertificateManager.PutAccountConfiguration

Associated Types

type Rep PutAccountConfigurationResponse :: Type -> Type #

NFData PutAccountConfigurationResponse Source # 
Instance details

Defined in Amazonka.CertificateManager.PutAccountConfiguration

type Rep PutAccountConfigurationResponse Source # 
Instance details

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.