libZSservicesZSamazonka-glueZSamazonka-glue
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.Glue.GetTrigger

Description

Retrieves the definition of a trigger.

Synopsis

Creating a Request

data GetTrigger Source #

See: newGetTrigger smart constructor.

Constructors

GetTrigger' 

Fields

  • name :: Text

    The name of the trigger to retrieve.

Instances

Instances details
Eq GetTrigger Source # 
Instance details

Defined in Amazonka.Glue.GetTrigger

Read GetTrigger Source # 
Instance details

Defined in Amazonka.Glue.GetTrigger

Show GetTrigger Source # 
Instance details

Defined in Amazonka.Glue.GetTrigger

Generic GetTrigger Source # 
Instance details

Defined in Amazonka.Glue.GetTrigger

Associated Types

type Rep GetTrigger :: Type -> Type #

NFData GetTrigger Source # 
Instance details

Defined in Amazonka.Glue.GetTrigger

Methods

rnf :: GetTrigger -> () #

Hashable GetTrigger Source # 
Instance details

Defined in Amazonka.Glue.GetTrigger

ToJSON GetTrigger Source # 
Instance details

Defined in Amazonka.Glue.GetTrigger

AWSRequest GetTrigger Source # 
Instance details

Defined in Amazonka.Glue.GetTrigger

Associated Types

type AWSResponse GetTrigger #

ToHeaders GetTrigger Source # 
Instance details

Defined in Amazonka.Glue.GetTrigger

Methods

toHeaders :: GetTrigger -> [Header] #

ToPath GetTrigger Source # 
Instance details

Defined in Amazonka.Glue.GetTrigger

ToQuery GetTrigger Source # 
Instance details

Defined in Amazonka.Glue.GetTrigger

type Rep GetTrigger Source # 
Instance details

Defined in Amazonka.Glue.GetTrigger

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

Defined in Amazonka.Glue.GetTrigger

newGetTrigger Source #

Create a value of GetTrigger 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:GetTrigger', getTrigger_name - The name of the trigger to retrieve.

Request Lenses

getTrigger_name :: Lens' GetTrigger Text Source #

The name of the trigger to retrieve.

Destructuring the Response

data GetTriggerResponse Source #

See: newGetTriggerResponse smart constructor.

Constructors

GetTriggerResponse' 

Fields

Instances

Instances details
Eq GetTriggerResponse Source # 
Instance details

Defined in Amazonka.Glue.GetTrigger

Read GetTriggerResponse Source # 
Instance details

Defined in Amazonka.Glue.GetTrigger

Show GetTriggerResponse Source # 
Instance details

Defined in Amazonka.Glue.GetTrigger

Generic GetTriggerResponse Source # 
Instance details

Defined in Amazonka.Glue.GetTrigger

Associated Types

type Rep GetTriggerResponse :: Type -> Type #

NFData GetTriggerResponse Source # 
Instance details

Defined in Amazonka.Glue.GetTrigger

Methods

rnf :: GetTriggerResponse -> () #

type Rep GetTriggerResponse Source # 
Instance details

Defined in Amazonka.Glue.GetTrigger

type Rep GetTriggerResponse = D1 ('MetaData "GetTriggerResponse" "Amazonka.Glue.GetTrigger" "libZSservicesZSamazonka-glueZSamazonka-glue" 'False) (C1 ('MetaCons "GetTriggerResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "trigger") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Trigger)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newGetTriggerResponse Source #

Create a value of GetTriggerResponse 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:trigger:GetTriggerResponse', getTriggerResponse_trigger - The requested trigger definition.

$sel:httpStatus:GetTriggerResponse', getTriggerResponse_httpStatus - The response's http status code.

Response Lenses