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

Description

Gets all the triggers associated with a job.

This operation returns paginated results.

Synopsis

Creating a Request

data GetTriggers Source #

See: newGetTriggers smart constructor.

Constructors

GetTriggers' 

Fields

Instances

Instances details
Eq GetTriggers Source # 
Instance details

Defined in Amazonka.Glue.GetTriggers

Read GetTriggers Source # 
Instance details

Defined in Amazonka.Glue.GetTriggers

Show GetTriggers Source # 
Instance details

Defined in Amazonka.Glue.GetTriggers

Generic GetTriggers Source # 
Instance details

Defined in Amazonka.Glue.GetTriggers

Associated Types

type Rep GetTriggers :: Type -> Type #

NFData GetTriggers Source # 
Instance details

Defined in Amazonka.Glue.GetTriggers

Methods

rnf :: GetTriggers -> () #

Hashable GetTriggers Source # 
Instance details

Defined in Amazonka.Glue.GetTriggers

ToJSON GetTriggers Source # 
Instance details

Defined in Amazonka.Glue.GetTriggers

AWSPager GetTriggers Source # 
Instance details

Defined in Amazonka.Glue.GetTriggers

AWSRequest GetTriggers Source # 
Instance details

Defined in Amazonka.Glue.GetTriggers

Associated Types

type AWSResponse GetTriggers #

ToHeaders GetTriggers Source # 
Instance details

Defined in Amazonka.Glue.GetTriggers

Methods

toHeaders :: GetTriggers -> [Header] #

ToPath GetTriggers Source # 
Instance details

Defined in Amazonka.Glue.GetTriggers

ToQuery GetTriggers Source # 
Instance details

Defined in Amazonka.Glue.GetTriggers

type Rep GetTriggers Source # 
Instance details

Defined in Amazonka.Glue.GetTriggers

type Rep GetTriggers = D1 ('MetaData "GetTriggers" "Amazonka.Glue.GetTriggers" "libZSservicesZSamazonka-glueZSamazonka-glue" 'False) (C1 ('MetaCons "GetTriggers'" '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 "dependentJobName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))
type AWSResponse GetTriggers Source # 
Instance details

Defined in Amazonka.Glue.GetTriggers

newGetTriggers :: GetTriggers Source #

Create a value of GetTriggers 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:GetTriggers', getTriggers_nextToken - A continuation token, if this is a continuation call.

$sel:maxResults:GetTriggers', getTriggers_maxResults - The maximum size of the response.

$sel:dependentJobName:GetTriggers', getTriggers_dependentJobName - The name of the job to retrieve triggers for. The trigger that can start this job is returned, and if there is no such trigger, all triggers are returned.

Request Lenses

getTriggers_nextToken :: Lens' GetTriggers (Maybe Text) Source #

A continuation token, if this is a continuation call.

getTriggers_maxResults :: Lens' GetTriggers (Maybe Natural) Source #

The maximum size of the response.

getTriggers_dependentJobName :: Lens' GetTriggers (Maybe Text) Source #

The name of the job to retrieve triggers for. The trigger that can start this job is returned, and if there is no such trigger, all triggers are returned.

Destructuring the Response

data GetTriggersResponse Source #

See: newGetTriggersResponse smart constructor.

Constructors

GetTriggersResponse' 

Fields

Instances

Instances details
Eq GetTriggersResponse Source # 
Instance details

Defined in Amazonka.Glue.GetTriggers

Read GetTriggersResponse Source # 
Instance details

Defined in Amazonka.Glue.GetTriggers

Show GetTriggersResponse Source # 
Instance details

Defined in Amazonka.Glue.GetTriggers

Generic GetTriggersResponse Source # 
Instance details

Defined in Amazonka.Glue.GetTriggers

Associated Types

type Rep GetTriggersResponse :: Type -> Type #

NFData GetTriggersResponse Source # 
Instance details

Defined in Amazonka.Glue.GetTriggers

Methods

rnf :: GetTriggersResponse -> () #

type Rep GetTriggersResponse Source # 
Instance details

Defined in Amazonka.Glue.GetTriggers

type Rep GetTriggersResponse = D1 ('MetaData "GetTriggersResponse" "Amazonka.Glue.GetTriggers" "libZSservicesZSamazonka-glueZSamazonka-glue" 'False) (C1 ('MetaCons "GetTriggersResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "triggers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Trigger])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newGetTriggersResponse Source #

Create a value of GetTriggersResponse 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:triggers:GetTriggersResponse', getTriggersResponse_triggers - A list of triggers for the specified job.

$sel:nextToken:GetTriggers', getTriggersResponse_nextToken - A continuation token, if not all the requested triggers have yet been returned.

$sel:httpStatus:GetTriggersResponse', getTriggersResponse_httpStatus - The response's http status code.

Response Lenses

getTriggersResponse_triggers :: Lens' GetTriggersResponse (Maybe [Trigger]) Source #

A list of triggers for the specified job.

getTriggersResponse_nextToken :: Lens' GetTriggersResponse (Maybe Text) Source #

A continuation token, if not all the requested triggers have yet been returned.