amazonka-synthetics-2.0: Amazon Synthetics SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Synthetics.DescribeRuntimeVersions

Description

Returns a list of Synthetics canary runtime versions. For more information, see Canary Runtime Versions.

Synopsis

Creating a Request

data DescribeRuntimeVersions Source #

See: newDescribeRuntimeVersions smart constructor.

Constructors

DescribeRuntimeVersions' 

Fields

  • maxResults :: Maybe Natural

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

  • nextToken :: Maybe Text

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

Instances

Instances details
ToJSON DescribeRuntimeVersions Source # 
Instance details

Defined in Amazonka.Synthetics.DescribeRuntimeVersions

ToHeaders DescribeRuntimeVersions Source # 
Instance details

Defined in Amazonka.Synthetics.DescribeRuntimeVersions

ToPath DescribeRuntimeVersions Source # 
Instance details

Defined in Amazonka.Synthetics.DescribeRuntimeVersions

ToQuery DescribeRuntimeVersions Source # 
Instance details

Defined in Amazonka.Synthetics.DescribeRuntimeVersions

AWSRequest DescribeRuntimeVersions Source # 
Instance details

Defined in Amazonka.Synthetics.DescribeRuntimeVersions

Generic DescribeRuntimeVersions Source # 
Instance details

Defined in Amazonka.Synthetics.DescribeRuntimeVersions

Associated Types

type Rep DescribeRuntimeVersions :: Type -> Type #

Read DescribeRuntimeVersions Source # 
Instance details

Defined in Amazonka.Synthetics.DescribeRuntimeVersions

Show DescribeRuntimeVersions Source # 
Instance details

Defined in Amazonka.Synthetics.DescribeRuntimeVersions

NFData DescribeRuntimeVersions Source # 
Instance details

Defined in Amazonka.Synthetics.DescribeRuntimeVersions

Methods

rnf :: DescribeRuntimeVersions -> () #

Eq DescribeRuntimeVersions Source # 
Instance details

Defined in Amazonka.Synthetics.DescribeRuntimeVersions

Hashable DescribeRuntimeVersions Source # 
Instance details

Defined in Amazonka.Synthetics.DescribeRuntimeVersions

type AWSResponse DescribeRuntimeVersions Source # 
Instance details

Defined in Amazonka.Synthetics.DescribeRuntimeVersions

type Rep DescribeRuntimeVersions Source # 
Instance details

Defined in Amazonka.Synthetics.DescribeRuntimeVersions

type Rep DescribeRuntimeVersions = D1 ('MetaData "DescribeRuntimeVersions" "Amazonka.Synthetics.DescribeRuntimeVersions" "amazonka-synthetics-2.0-3I8gICXDswl2F1HDbijRHZ" 'False) (C1 ('MetaCons "DescribeRuntimeVersions'" 'PrefixI 'True) (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newDescribeRuntimeVersions :: DescribeRuntimeVersions Source #

Create a value of DescribeRuntimeVersions 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:maxResults:DescribeRuntimeVersions', describeRuntimeVersions_maxResults - Specify this parameter to limit how many runs are returned each time you use the DescribeRuntimeVersions operation. If you omit this parameter, the default of 100 is used.

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

Request Lenses

describeRuntimeVersions_maxResults :: Lens' DescribeRuntimeVersions (Maybe Natural) Source #

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

describeRuntimeVersions_nextToken :: Lens' DescribeRuntimeVersions (Maybe Text) Source #

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

Destructuring the Response

data DescribeRuntimeVersionsResponse Source #

See: newDescribeRuntimeVersionsResponse smart constructor.

Constructors

DescribeRuntimeVersionsResponse' 

Fields

  • nextToken :: Maybe Text

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

  • runtimeVersions :: Maybe [RuntimeVersion]

    An array of objects that display the details about each Synthetics canary runtime version.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic DescribeRuntimeVersionsResponse Source # 
Instance details

Defined in Amazonka.Synthetics.DescribeRuntimeVersions

Associated Types

type Rep DescribeRuntimeVersionsResponse :: Type -> Type #

Read DescribeRuntimeVersionsResponse Source # 
Instance details

Defined in Amazonka.Synthetics.DescribeRuntimeVersions

Show DescribeRuntimeVersionsResponse Source # 
Instance details

Defined in Amazonka.Synthetics.DescribeRuntimeVersions

NFData DescribeRuntimeVersionsResponse Source # 
Instance details

Defined in Amazonka.Synthetics.DescribeRuntimeVersions

Eq DescribeRuntimeVersionsResponse Source # 
Instance details

Defined in Amazonka.Synthetics.DescribeRuntimeVersions

type Rep DescribeRuntimeVersionsResponse Source # 
Instance details

Defined in Amazonka.Synthetics.DescribeRuntimeVersions

type Rep DescribeRuntimeVersionsResponse = D1 ('MetaData "DescribeRuntimeVersionsResponse" "Amazonka.Synthetics.DescribeRuntimeVersions" "amazonka-synthetics-2.0-3I8gICXDswl2F1HDbijRHZ" 'False) (C1 ('MetaCons "DescribeRuntimeVersionsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "runtimeVersions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [RuntimeVersion])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newDescribeRuntimeVersionsResponse Source #

Create a value of DescribeRuntimeVersionsResponse 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:

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

$sel:runtimeVersions:DescribeRuntimeVersionsResponse', describeRuntimeVersionsResponse_runtimeVersions - An array of objects that display the details about each Synthetics canary runtime version.

$sel:httpStatus:DescribeRuntimeVersionsResponse', describeRuntimeVersionsResponse_httpStatus - The response's http status code.

Response Lenses

describeRuntimeVersionsResponse_nextToken :: Lens' DescribeRuntimeVersionsResponse (Maybe Text) Source #

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

describeRuntimeVersionsResponse_runtimeVersions :: Lens' DescribeRuntimeVersionsResponse (Maybe [RuntimeVersion]) Source #

An array of objects that display the details about each Synthetics canary runtime version.