libZSservicesZSamazonka-syntheticsZSamazonka-synthetics
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.Synthetics.DescribeCanariesLastRun

Description

Use this operation to see information from the most recent run of each canary that you have created.

Synopsis

Creating a Request

data DescribeCanariesLastRun Source #

See: newDescribeCanariesLastRun smart constructor.

Constructors

DescribeCanariesLastRun' 

Fields

  • nextToken :: Maybe Text

    A token that indicates that there is more data available. You can use this token in a subsequent DescribeCanaries operation to retrieve the next set of results.

  • maxResults :: Maybe Natural

    Specify this parameter to limit how many runs are returned each time you use the DescribeLastRun operation. If you omit this parameter, the default of 100 is used.

Instances

Instances details
Eq DescribeCanariesLastRun Source # 
Instance details

Defined in Amazonka.Synthetics.DescribeCanariesLastRun

Read DescribeCanariesLastRun Source # 
Instance details

Defined in Amazonka.Synthetics.DescribeCanariesLastRun

Show DescribeCanariesLastRun Source # 
Instance details

Defined in Amazonka.Synthetics.DescribeCanariesLastRun

Generic DescribeCanariesLastRun Source # 
Instance details

Defined in Amazonka.Synthetics.DescribeCanariesLastRun

Associated Types

type Rep DescribeCanariesLastRun :: Type -> Type #

NFData DescribeCanariesLastRun Source # 
Instance details

Defined in Amazonka.Synthetics.DescribeCanariesLastRun

Methods

rnf :: DescribeCanariesLastRun -> () #

Hashable DescribeCanariesLastRun Source # 
Instance details

Defined in Amazonka.Synthetics.DescribeCanariesLastRun

ToJSON DescribeCanariesLastRun Source # 
Instance details

Defined in Amazonka.Synthetics.DescribeCanariesLastRun

AWSRequest DescribeCanariesLastRun Source # 
Instance details

Defined in Amazonka.Synthetics.DescribeCanariesLastRun

ToHeaders DescribeCanariesLastRun Source # 
Instance details

Defined in Amazonka.Synthetics.DescribeCanariesLastRun

ToPath DescribeCanariesLastRun Source # 
Instance details

Defined in Amazonka.Synthetics.DescribeCanariesLastRun

ToQuery DescribeCanariesLastRun Source # 
Instance details

Defined in Amazonka.Synthetics.DescribeCanariesLastRun

type Rep DescribeCanariesLastRun Source # 
Instance details

Defined in Amazonka.Synthetics.DescribeCanariesLastRun

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

Defined in Amazonka.Synthetics.DescribeCanariesLastRun

newDescribeCanariesLastRun :: DescribeCanariesLastRun Source #

Create a value of DescribeCanariesLastRun 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:DescribeCanariesLastRun', describeCanariesLastRun_nextToken - A token that indicates that there is more data available. You can use this token in a subsequent DescribeCanaries operation to retrieve the next set of results.

$sel:maxResults:DescribeCanariesLastRun', describeCanariesLastRun_maxResults - Specify this parameter to limit how many runs are returned each time you use the DescribeLastRun operation. If you omit this parameter, the default of 100 is used.

Request Lenses

describeCanariesLastRun_nextToken :: Lens' DescribeCanariesLastRun (Maybe Text) Source #

A token that indicates that there is more data available. You can use this token in a subsequent DescribeCanaries operation to retrieve the next set of results.

describeCanariesLastRun_maxResults :: Lens' DescribeCanariesLastRun (Maybe Natural) Source #

Specify this parameter to limit how many runs are returned each time you use the DescribeLastRun operation. If you omit this parameter, the default of 100 is used.

Destructuring the Response

data DescribeCanariesLastRunResponse Source #

See: newDescribeCanariesLastRunResponse smart constructor.

Constructors

DescribeCanariesLastRunResponse' 

Fields

  • nextToken :: Maybe Text

    A token that indicates that there is more data available. You can use this token in a subsequent DescribeCanariesLastRun operation to retrieve the next set of results.

  • canariesLastRun :: Maybe [CanaryLastRun]

    An array that contains the information from the most recent run of each canary.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq DescribeCanariesLastRunResponse Source # 
Instance details

Defined in Amazonka.Synthetics.DescribeCanariesLastRun

Read DescribeCanariesLastRunResponse Source # 
Instance details

Defined in Amazonka.Synthetics.DescribeCanariesLastRun

Show DescribeCanariesLastRunResponse Source # 
Instance details

Defined in Amazonka.Synthetics.DescribeCanariesLastRun

Generic DescribeCanariesLastRunResponse Source # 
Instance details

Defined in Amazonka.Synthetics.DescribeCanariesLastRun

Associated Types

type Rep DescribeCanariesLastRunResponse :: Type -> Type #

NFData DescribeCanariesLastRunResponse Source # 
Instance details

Defined in Amazonka.Synthetics.DescribeCanariesLastRun

type Rep DescribeCanariesLastRunResponse Source # 
Instance details

Defined in Amazonka.Synthetics.DescribeCanariesLastRun

type Rep DescribeCanariesLastRunResponse = D1 ('MetaData "DescribeCanariesLastRunResponse" "Amazonka.Synthetics.DescribeCanariesLastRun" "libZSservicesZSamazonka-syntheticsZSamazonka-synthetics" 'False) (C1 ('MetaCons "DescribeCanariesLastRunResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "canariesLastRun") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [CanaryLastRun])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newDescribeCanariesLastRunResponse Source #

Create a value of DescribeCanariesLastRunResponse 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:DescribeCanariesLastRun', describeCanariesLastRunResponse_nextToken - A token that indicates that there is more data available. You can use this token in a subsequent DescribeCanariesLastRun operation to retrieve the next set of results.

$sel:canariesLastRun:DescribeCanariesLastRunResponse', describeCanariesLastRunResponse_canariesLastRun - An array that contains the information from the most recent run of each canary.

$sel:httpStatus:DescribeCanariesLastRunResponse', describeCanariesLastRunResponse_httpStatus - The response's http status code.

Response Lenses

describeCanariesLastRunResponse_nextToken :: Lens' DescribeCanariesLastRunResponse (Maybe Text) Source #

A token that indicates that there is more data available. You can use this token in a subsequent DescribeCanariesLastRun operation to retrieve the next set of results.

describeCanariesLastRunResponse_canariesLastRun :: Lens' DescribeCanariesLastRunResponse (Maybe [CanaryLastRun]) Source #

An array that contains the information from the most recent run of each canary.