libZSservicesZSamazonka-backupZSamazonka-backup
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.Backup.UpdateReportPlan

Description

Updates an existing report plan identified by its ReportPlanName with the input document in JSON format.

Synopsis

Creating a Request

data UpdateReportPlan Source #

See: newUpdateReportPlan smart constructor.

Constructors

UpdateReportPlan' 

Fields

  • idempotencyToken :: Maybe Text

    A customer-chosen string that you can use to distinguish between otherwise identical calls to UpdateReportPlanInput. Retrying a successful request with the same idempotency token results in a success message with no action taken.

  • reportSetting :: Maybe ReportSetting

    Identifies the report template for the report. Reports are built using a report template. The report templates are:

    RESOURCE_COMPLIANCE_REPORT | CONTROL_COMPLIANCE_REPORT | BACKUP_JOB_REPORT | COPY_JOB_REPORT | RESTORE_JOB_REPORT

    If the report template is RESOURCE_COMPLIANCE_REPORT or CONTROL_COMPLIANCE_REPORT, this API resource also describes the report coverage by Amazon Web Services Regions and frameworks.

  • reportPlanDescription :: Maybe Text

    An optional description of the report plan with a maximum 1,024 characters.

  • reportDeliveryChannel :: Maybe ReportDeliveryChannel

    A structure that contains information about where to deliver your reports, specifically your Amazon S3 bucket name, S3 key prefix, and the formats of your reports.

  • reportPlanName :: Text

    The unique name of the report plan. This name is between 1 and 256 characters, starting with a letter, and consisting of letters (a-z, A-Z), numbers (0-9), and underscores (_).

Instances

Instances details
Eq UpdateReportPlan Source # 
Instance details

Defined in Amazonka.Backup.UpdateReportPlan

Read UpdateReportPlan Source # 
Instance details

Defined in Amazonka.Backup.UpdateReportPlan

Show UpdateReportPlan Source # 
Instance details

Defined in Amazonka.Backup.UpdateReportPlan

Generic UpdateReportPlan Source # 
Instance details

Defined in Amazonka.Backup.UpdateReportPlan

Associated Types

type Rep UpdateReportPlan :: Type -> Type #

NFData UpdateReportPlan Source # 
Instance details

Defined in Amazonka.Backup.UpdateReportPlan

Methods

rnf :: UpdateReportPlan -> () #

Hashable UpdateReportPlan Source # 
Instance details

Defined in Amazonka.Backup.UpdateReportPlan

ToJSON UpdateReportPlan Source # 
Instance details

Defined in Amazonka.Backup.UpdateReportPlan

AWSRequest UpdateReportPlan Source # 
Instance details

Defined in Amazonka.Backup.UpdateReportPlan

Associated Types

type AWSResponse UpdateReportPlan #

ToHeaders UpdateReportPlan Source # 
Instance details

Defined in Amazonka.Backup.UpdateReportPlan

ToPath UpdateReportPlan Source # 
Instance details

Defined in Amazonka.Backup.UpdateReportPlan

ToQuery UpdateReportPlan Source # 
Instance details

Defined in Amazonka.Backup.UpdateReportPlan

type Rep UpdateReportPlan Source # 
Instance details

Defined in Amazonka.Backup.UpdateReportPlan

type Rep UpdateReportPlan = D1 ('MetaData "UpdateReportPlan" "Amazonka.Backup.UpdateReportPlan" "libZSservicesZSamazonka-backupZSamazonka-backup" 'False) (C1 ('MetaCons "UpdateReportPlan'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "idempotencyToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "reportSetting") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ReportSetting))) :*: (S1 ('MetaSel ('Just "reportPlanDescription") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "reportDeliveryChannel") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ReportDeliveryChannel)) :*: S1 ('MetaSel ('Just "reportPlanName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse UpdateReportPlan Source # 
Instance details

Defined in Amazonka.Backup.UpdateReportPlan

newUpdateReportPlan Source #

Create a value of UpdateReportPlan 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:idempotencyToken:UpdateReportPlan', updateReportPlan_idempotencyToken - A customer-chosen string that you can use to distinguish between otherwise identical calls to UpdateReportPlanInput. Retrying a successful request with the same idempotency token results in a success message with no action taken.

$sel:reportSetting:UpdateReportPlan', updateReportPlan_reportSetting - Identifies the report template for the report. Reports are built using a report template. The report templates are:

RESOURCE_COMPLIANCE_REPORT | CONTROL_COMPLIANCE_REPORT | BACKUP_JOB_REPORT | COPY_JOB_REPORT | RESTORE_JOB_REPORT

If the report template is RESOURCE_COMPLIANCE_REPORT or CONTROL_COMPLIANCE_REPORT, this API resource also describes the report coverage by Amazon Web Services Regions and frameworks.

$sel:reportPlanDescription:UpdateReportPlan', updateReportPlan_reportPlanDescription - An optional description of the report plan with a maximum 1,024 characters.

$sel:reportDeliveryChannel:UpdateReportPlan', updateReportPlan_reportDeliveryChannel - A structure that contains information about where to deliver your reports, specifically your Amazon S3 bucket name, S3 key prefix, and the formats of your reports.

$sel:reportPlanName:UpdateReportPlan', updateReportPlan_reportPlanName - The unique name of the report plan. This name is between 1 and 256 characters, starting with a letter, and consisting of letters (a-z, A-Z), numbers (0-9), and underscores (_).

Request Lenses

updateReportPlan_idempotencyToken :: Lens' UpdateReportPlan (Maybe Text) Source #

A customer-chosen string that you can use to distinguish between otherwise identical calls to UpdateReportPlanInput. Retrying a successful request with the same idempotency token results in a success message with no action taken.

updateReportPlan_reportSetting :: Lens' UpdateReportPlan (Maybe ReportSetting) Source #

Identifies the report template for the report. Reports are built using a report template. The report templates are:

RESOURCE_COMPLIANCE_REPORT | CONTROL_COMPLIANCE_REPORT | BACKUP_JOB_REPORT | COPY_JOB_REPORT | RESTORE_JOB_REPORT

If the report template is RESOURCE_COMPLIANCE_REPORT or CONTROL_COMPLIANCE_REPORT, this API resource also describes the report coverage by Amazon Web Services Regions and frameworks.

updateReportPlan_reportPlanDescription :: Lens' UpdateReportPlan (Maybe Text) Source #

An optional description of the report plan with a maximum 1,024 characters.

updateReportPlan_reportDeliveryChannel :: Lens' UpdateReportPlan (Maybe ReportDeliveryChannel) Source #

A structure that contains information about where to deliver your reports, specifically your Amazon S3 bucket name, S3 key prefix, and the formats of your reports.

updateReportPlan_reportPlanName :: Lens' UpdateReportPlan Text Source #

The unique name of the report plan. This name is between 1 and 256 characters, starting with a letter, and consisting of letters (a-z, A-Z), numbers (0-9), and underscores (_).

Destructuring the Response

data UpdateReportPlanResponse Source #

See: newUpdateReportPlanResponse smart constructor.

Constructors

UpdateReportPlanResponse' 

Fields

  • creationTime :: Maybe POSIX

    The date and time that a report plan is created, in Unix format and Coordinated Universal Time (UTC). The value of CreationTime is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.

  • reportPlanName :: Maybe Text

    The unique name of the report plan.

  • reportPlanArn :: Maybe Text

    An Amazon Resource Name (ARN) that uniquely identifies a resource. The format of the ARN depends on the resource type.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq UpdateReportPlanResponse Source # 
Instance details

Defined in Amazonka.Backup.UpdateReportPlan

Read UpdateReportPlanResponse Source # 
Instance details

Defined in Amazonka.Backup.UpdateReportPlan

Show UpdateReportPlanResponse Source # 
Instance details

Defined in Amazonka.Backup.UpdateReportPlan

Generic UpdateReportPlanResponse Source # 
Instance details

Defined in Amazonka.Backup.UpdateReportPlan

Associated Types

type Rep UpdateReportPlanResponse :: Type -> Type #

NFData UpdateReportPlanResponse Source # 
Instance details

Defined in Amazonka.Backup.UpdateReportPlan

type Rep UpdateReportPlanResponse Source # 
Instance details

Defined in Amazonka.Backup.UpdateReportPlan

type Rep UpdateReportPlanResponse = D1 ('MetaData "UpdateReportPlanResponse" "Amazonka.Backup.UpdateReportPlan" "libZSservicesZSamazonka-backupZSamazonka-backup" 'False) (C1 ('MetaCons "UpdateReportPlanResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "creationTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "reportPlanName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "reportPlanArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newUpdateReportPlanResponse Source #

Create a value of UpdateReportPlanResponse 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:creationTime:UpdateReportPlanResponse', updateReportPlanResponse_creationTime - The date and time that a report plan is created, in Unix format and Coordinated Universal Time (UTC). The value of CreationTime is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.

$sel:reportPlanName:UpdateReportPlan', updateReportPlanResponse_reportPlanName - The unique name of the report plan.

$sel:reportPlanArn:UpdateReportPlanResponse', updateReportPlanResponse_reportPlanArn - An Amazon Resource Name (ARN) that uniquely identifies a resource. The format of the ARN depends on the resource type.

$sel:httpStatus:UpdateReportPlanResponse', updateReportPlanResponse_httpStatus - The response's http status code.

Response Lenses

updateReportPlanResponse_creationTime :: Lens' UpdateReportPlanResponse (Maybe UTCTime) Source #

The date and time that a report plan is created, in Unix format and Coordinated Universal Time (UTC). The value of CreationTime is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.

updateReportPlanResponse_reportPlanArn :: Lens' UpdateReportPlanResponse (Maybe Text) Source #

An Amazon Resource Name (ARN) that uniquely identifies a resource. The format of the ARN depends on the resource type.