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.ListReportPlans

Description

Returns a list of your report plans. For detailed information about a single report plan, use DescribeReportPlan.

Synopsis

Creating a Request

data ListReportPlans Source #

See: newListReportPlans smart constructor.

Constructors

ListReportPlans' 

Fields

  • nextToken :: Maybe Text

    An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.

  • maxResults :: Maybe Natural

    The number of desired results from 1 to 1000. Optional. If unspecified, the query will return 1 MB of data.

Instances

Instances details
Eq ListReportPlans Source # 
Instance details

Defined in Amazonka.Backup.ListReportPlans

Read ListReportPlans Source # 
Instance details

Defined in Amazonka.Backup.ListReportPlans

Show ListReportPlans Source # 
Instance details

Defined in Amazonka.Backup.ListReportPlans

Generic ListReportPlans Source # 
Instance details

Defined in Amazonka.Backup.ListReportPlans

Associated Types

type Rep ListReportPlans :: Type -> Type #

NFData ListReportPlans Source # 
Instance details

Defined in Amazonka.Backup.ListReportPlans

Methods

rnf :: ListReportPlans -> () #

Hashable ListReportPlans Source # 
Instance details

Defined in Amazonka.Backup.ListReportPlans

AWSRequest ListReportPlans Source # 
Instance details

Defined in Amazonka.Backup.ListReportPlans

Associated Types

type AWSResponse ListReportPlans #

ToHeaders ListReportPlans Source # 
Instance details

Defined in Amazonka.Backup.ListReportPlans

ToPath ListReportPlans Source # 
Instance details

Defined in Amazonka.Backup.ListReportPlans

ToQuery ListReportPlans Source # 
Instance details

Defined in Amazonka.Backup.ListReportPlans

type Rep ListReportPlans Source # 
Instance details

Defined in Amazonka.Backup.ListReportPlans

type Rep ListReportPlans = D1 ('MetaData "ListReportPlans" "Amazonka.Backup.ListReportPlans" "libZSservicesZSamazonka-backupZSamazonka-backup" 'False) (C1 ('MetaCons "ListReportPlans'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))))
type AWSResponse ListReportPlans Source # 
Instance details

Defined in Amazonka.Backup.ListReportPlans

newListReportPlans :: ListReportPlans Source #

Create a value of ListReportPlans 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:nextToken:ListReportPlans', listReportPlans_nextToken - An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.

$sel:maxResults:ListReportPlans', listReportPlans_maxResults - The number of desired results from 1 to 1000. Optional. If unspecified, the query will return 1 MB of data.

Request Lenses

listReportPlans_nextToken :: Lens' ListReportPlans (Maybe Text) Source #

An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.

listReportPlans_maxResults :: Lens' ListReportPlans (Maybe Natural) Source #

The number of desired results from 1 to 1000. Optional. If unspecified, the query will return 1 MB of data.

Destructuring the Response

data ListReportPlansResponse Source #

See: newListReportPlansResponse smart constructor.

Constructors

ListReportPlansResponse' 

Fields

  • reportPlans :: Maybe [ReportPlan]

    A list of your report plans with detailed information for each plan. This information includes the Amazon Resource Name (ARN), report plan name, description, settings, delivery channel, deployment status, creation time, and last times the report plan attempted to and successfully ran.

  • nextToken :: Maybe Text

    An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq ListReportPlansResponse Source # 
Instance details

Defined in Amazonka.Backup.ListReportPlans

Read ListReportPlansResponse Source # 
Instance details

Defined in Amazonka.Backup.ListReportPlans

Show ListReportPlansResponse Source # 
Instance details

Defined in Amazonka.Backup.ListReportPlans

Generic ListReportPlansResponse Source # 
Instance details

Defined in Amazonka.Backup.ListReportPlans

Associated Types

type Rep ListReportPlansResponse :: Type -> Type #

NFData ListReportPlansResponse Source # 
Instance details

Defined in Amazonka.Backup.ListReportPlans

Methods

rnf :: ListReportPlansResponse -> () #

type Rep ListReportPlansResponse Source # 
Instance details

Defined in Amazonka.Backup.ListReportPlans

type Rep ListReportPlansResponse = D1 ('MetaData "ListReportPlansResponse" "Amazonka.Backup.ListReportPlans" "libZSservicesZSamazonka-backupZSamazonka-backup" 'False) (C1 ('MetaCons "ListReportPlansResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "reportPlans") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ReportPlan])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListReportPlansResponse Source #

Create a value of ListReportPlansResponse 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:reportPlans:ListReportPlansResponse', listReportPlansResponse_reportPlans - A list of your report plans with detailed information for each plan. This information includes the Amazon Resource Name (ARN), report plan name, description, settings, delivery channel, deployment status, creation time, and last times the report plan attempted to and successfully ran.

$sel:nextToken:ListReportPlans', listReportPlansResponse_nextToken - An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.

$sel:httpStatus:ListReportPlansResponse', listReportPlansResponse_httpStatus - The response's http status code.

Response Lenses

listReportPlansResponse_reportPlans :: Lens' ListReportPlansResponse (Maybe [ReportPlan]) Source #

A list of your report plans with detailed information for each plan. This information includes the Amazon Resource Name (ARN), report plan name, description, settings, delivery channel, deployment status, creation time, and last times the report plan attempted to and successfully ran.

listReportPlansResponse_nextToken :: Lens' ListReportPlansResponse (Maybe Text) Source #

An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.