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

Description

Retrieves a list of runs for a specified canary.

Synopsis

Creating a Request

data GetCanaryRuns Source #

See: newGetCanaryRuns smart constructor.

Constructors

GetCanaryRuns' 

Fields

  • nextToken :: Maybe Text

    A token that indicates that there is more data available. You can use this token in a subsequent GetCanaryRuns 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 GetCanaryRuns operation. If you omit this parameter, the default of 100 is used.

  • name :: Text

    The name of the canary that you want to see runs for.

Instances

Instances details
Eq GetCanaryRuns Source # 
Instance details

Defined in Amazonka.Synthetics.GetCanaryRuns

Read GetCanaryRuns Source # 
Instance details

Defined in Amazonka.Synthetics.GetCanaryRuns

Show GetCanaryRuns Source # 
Instance details

Defined in Amazonka.Synthetics.GetCanaryRuns

Generic GetCanaryRuns Source # 
Instance details

Defined in Amazonka.Synthetics.GetCanaryRuns

Associated Types

type Rep GetCanaryRuns :: Type -> Type #

NFData GetCanaryRuns Source # 
Instance details

Defined in Amazonka.Synthetics.GetCanaryRuns

Methods

rnf :: GetCanaryRuns -> () #

Hashable GetCanaryRuns Source # 
Instance details

Defined in Amazonka.Synthetics.GetCanaryRuns

ToJSON GetCanaryRuns Source # 
Instance details

Defined in Amazonka.Synthetics.GetCanaryRuns

AWSRequest GetCanaryRuns Source # 
Instance details

Defined in Amazonka.Synthetics.GetCanaryRuns

Associated Types

type AWSResponse GetCanaryRuns #

ToHeaders GetCanaryRuns Source # 
Instance details

Defined in Amazonka.Synthetics.GetCanaryRuns

ToPath GetCanaryRuns Source # 
Instance details

Defined in Amazonka.Synthetics.GetCanaryRuns

ToQuery GetCanaryRuns Source # 
Instance details

Defined in Amazonka.Synthetics.GetCanaryRuns

type Rep GetCanaryRuns Source # 
Instance details

Defined in Amazonka.Synthetics.GetCanaryRuns

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

Defined in Amazonka.Synthetics.GetCanaryRuns

newGetCanaryRuns Source #

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

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

$sel:name:GetCanaryRuns', getCanaryRuns_name - The name of the canary that you want to see runs for.

Request Lenses

getCanaryRuns_nextToken :: Lens' GetCanaryRuns (Maybe Text) Source #

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

getCanaryRuns_maxResults :: Lens' GetCanaryRuns (Maybe Natural) Source #

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

getCanaryRuns_name :: Lens' GetCanaryRuns Text Source #

The name of the canary that you want to see runs for.

Destructuring the Response

data GetCanaryRunsResponse Source #

See: newGetCanaryRunsResponse smart constructor.

Constructors

GetCanaryRunsResponse' 

Fields

  • nextToken :: Maybe Text

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

  • canaryRuns :: Maybe [CanaryRun]

    An array of structures. Each structure contains the details of one of the retrieved canary runs.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq GetCanaryRunsResponse Source # 
Instance details

Defined in Amazonka.Synthetics.GetCanaryRuns

Read GetCanaryRunsResponse Source # 
Instance details

Defined in Amazonka.Synthetics.GetCanaryRuns

Show GetCanaryRunsResponse Source # 
Instance details

Defined in Amazonka.Synthetics.GetCanaryRuns

Generic GetCanaryRunsResponse Source # 
Instance details

Defined in Amazonka.Synthetics.GetCanaryRuns

Associated Types

type Rep GetCanaryRunsResponse :: Type -> Type #

NFData GetCanaryRunsResponse Source # 
Instance details

Defined in Amazonka.Synthetics.GetCanaryRuns

Methods

rnf :: GetCanaryRunsResponse -> () #

type Rep GetCanaryRunsResponse Source # 
Instance details

Defined in Amazonka.Synthetics.GetCanaryRuns

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

newGetCanaryRunsResponse Source #

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

$sel:canaryRuns:GetCanaryRunsResponse', getCanaryRunsResponse_canaryRuns - An array of structures. Each structure contains the details of one of the retrieved canary runs.

$sel:httpStatus:GetCanaryRunsResponse', getCanaryRunsResponse_httpStatus - The response's http status code.

Response Lenses

getCanaryRunsResponse_nextToken :: Lens' GetCanaryRunsResponse (Maybe Text) Source #

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

getCanaryRunsResponse_canaryRuns :: Lens' GetCanaryRunsResponse (Maybe [CanaryRun]) Source #

An array of structures. Each structure contains the details of one of the retrieved canary runs.