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

Description

Retrieves complete information about one canary. You must specify the name of the canary that you want. To get a list of canaries and their names, use DescribeCanaries.

Synopsis

Creating a Request

data GetCanary Source #

See: newGetCanary smart constructor.

Constructors

GetCanary' 

Fields

  • name :: Text

    The name of the canary that you want details for.

Instances

Instances details
Eq GetCanary Source # 
Instance details

Defined in Amazonka.Synthetics.GetCanary

Read GetCanary Source # 
Instance details

Defined in Amazonka.Synthetics.GetCanary

Show GetCanary Source # 
Instance details

Defined in Amazonka.Synthetics.GetCanary

Generic GetCanary Source # 
Instance details

Defined in Amazonka.Synthetics.GetCanary

Associated Types

type Rep GetCanary :: Type -> Type #

NFData GetCanary Source # 
Instance details

Defined in Amazonka.Synthetics.GetCanary

Methods

rnf :: GetCanary -> () #

Hashable GetCanary Source # 
Instance details

Defined in Amazonka.Synthetics.GetCanary

AWSRequest GetCanary Source # 
Instance details

Defined in Amazonka.Synthetics.GetCanary

Associated Types

type AWSResponse GetCanary #

ToHeaders GetCanary Source # 
Instance details

Defined in Amazonka.Synthetics.GetCanary

Methods

toHeaders :: GetCanary -> [Header] #

ToPath GetCanary Source # 
Instance details

Defined in Amazonka.Synthetics.GetCanary

ToQuery GetCanary Source # 
Instance details

Defined in Amazonka.Synthetics.GetCanary

type Rep GetCanary Source # 
Instance details

Defined in Amazonka.Synthetics.GetCanary

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

Defined in Amazonka.Synthetics.GetCanary

newGetCanary Source #

Create a value of GetCanary 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:name:GetCanary', getCanary_name - The name of the canary that you want details for.

Request Lenses

getCanary_name :: Lens' GetCanary Text Source #

The name of the canary that you want details for.

Destructuring the Response

data GetCanaryResponse Source #

See: newGetCanaryResponse smart constructor.

Constructors

GetCanaryResponse' 

Fields

Instances

Instances details
Eq GetCanaryResponse Source # 
Instance details

Defined in Amazonka.Synthetics.GetCanary

Read GetCanaryResponse Source # 
Instance details

Defined in Amazonka.Synthetics.GetCanary

Show GetCanaryResponse Source # 
Instance details

Defined in Amazonka.Synthetics.GetCanary

Generic GetCanaryResponse Source # 
Instance details

Defined in Amazonka.Synthetics.GetCanary

Associated Types

type Rep GetCanaryResponse :: Type -> Type #

NFData GetCanaryResponse Source # 
Instance details

Defined in Amazonka.Synthetics.GetCanary

Methods

rnf :: GetCanaryResponse -> () #

type Rep GetCanaryResponse Source # 
Instance details

Defined in Amazonka.Synthetics.GetCanary

type Rep GetCanaryResponse = D1 ('MetaData "GetCanaryResponse" "Amazonka.Synthetics.GetCanary" "libZSservicesZSamazonka-syntheticsZSamazonka-synthetics" 'False) (C1 ('MetaCons "GetCanaryResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "canary") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Canary)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newGetCanaryResponse Source #

Create a value of GetCanaryResponse 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:canary:GetCanaryResponse', getCanaryResponse_canary - A strucure that contains the full information about the canary.

$sel:httpStatus:GetCanaryResponse', getCanaryResponse_httpStatus - The response's http status code.

Response Lenses

getCanaryResponse_canary :: Lens' GetCanaryResponse (Maybe Canary) Source #

A strucure that contains the full information about the canary.

getCanaryResponse_httpStatus :: Lens' GetCanaryResponse Int Source #

The response's http status code.