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

Description

Retrieves the names of all trigger resources in this Amazon Web Services account, or the resources with the specified tag. This operation allows you to see which resources are available in your account, and their names.

This operation takes the optional Tags field, which you can use as a filter on the response so that tagged resources can be retrieved as a group. If you choose to use tags filtering, only resources with the tag are retrieved.

Synopsis

Creating a Request

data ListTriggers Source #

See: newListTriggers smart constructor.

Constructors

ListTriggers' 

Fields

Instances

Instances details
Eq ListTriggers Source # 
Instance details

Defined in Amazonka.Glue.ListTriggers

Read ListTriggers Source # 
Instance details

Defined in Amazonka.Glue.ListTriggers

Show ListTriggers Source # 
Instance details

Defined in Amazonka.Glue.ListTriggers

Generic ListTriggers Source # 
Instance details

Defined in Amazonka.Glue.ListTriggers

Associated Types

type Rep ListTriggers :: Type -> Type #

NFData ListTriggers Source # 
Instance details

Defined in Amazonka.Glue.ListTriggers

Methods

rnf :: ListTriggers -> () #

Hashable ListTriggers Source # 
Instance details

Defined in Amazonka.Glue.ListTriggers

ToJSON ListTriggers Source # 
Instance details

Defined in Amazonka.Glue.ListTriggers

AWSRequest ListTriggers Source # 
Instance details

Defined in Amazonka.Glue.ListTriggers

Associated Types

type AWSResponse ListTriggers #

ToHeaders ListTriggers Source # 
Instance details

Defined in Amazonka.Glue.ListTriggers

ToPath ListTriggers Source # 
Instance details

Defined in Amazonka.Glue.ListTriggers

ToQuery ListTriggers Source # 
Instance details

Defined in Amazonka.Glue.ListTriggers

type Rep ListTriggers Source # 
Instance details

Defined in Amazonka.Glue.ListTriggers

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

Defined in Amazonka.Glue.ListTriggers

newListTriggers :: ListTriggers Source #

Create a value of ListTriggers 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:ListTriggers', listTriggers_nextToken - A continuation token, if this is a continuation request.

$sel:maxResults:ListTriggers', listTriggers_maxResults - The maximum size of a list to return.

$sel:tags:ListTriggers', listTriggers_tags - Specifies to return only these tagged resources.

$sel:dependentJobName:ListTriggers', listTriggers_dependentJobName - The name of the job for which to retrieve triggers. The trigger that can start this job is returned. If there is no such trigger, all triggers are returned.

Request Lenses

listTriggers_nextToken :: Lens' ListTriggers (Maybe Text) Source #

A continuation token, if this is a continuation request.

listTriggers_maxResults :: Lens' ListTriggers (Maybe Natural) Source #

The maximum size of a list to return.

listTriggers_tags :: Lens' ListTriggers (Maybe (HashMap Text Text)) Source #

Specifies to return only these tagged resources.

listTriggers_dependentJobName :: Lens' ListTriggers (Maybe Text) Source #

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

Destructuring the Response

data ListTriggersResponse Source #

See: newListTriggersResponse smart constructor.

Constructors

ListTriggersResponse' 

Fields

  • triggerNames :: Maybe [Text]

    The names of all triggers in the account, or the triggers with the specified tags.

  • nextToken :: Maybe Text

    A continuation token, if the returned list does not contain the last metric available.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq ListTriggersResponse Source # 
Instance details

Defined in Amazonka.Glue.ListTriggers

Read ListTriggersResponse Source # 
Instance details

Defined in Amazonka.Glue.ListTriggers

Show ListTriggersResponse Source # 
Instance details

Defined in Amazonka.Glue.ListTriggers

Generic ListTriggersResponse Source # 
Instance details

Defined in Amazonka.Glue.ListTriggers

Associated Types

type Rep ListTriggersResponse :: Type -> Type #

NFData ListTriggersResponse Source # 
Instance details

Defined in Amazonka.Glue.ListTriggers

Methods

rnf :: ListTriggersResponse -> () #

type Rep ListTriggersResponse Source # 
Instance details

Defined in Amazonka.Glue.ListTriggers

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

newListTriggersResponse Source #

Create a value of ListTriggersResponse 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:triggerNames:ListTriggersResponse', listTriggersResponse_triggerNames - The names of all triggers in the account, or the triggers with the specified tags.

$sel:nextToken:ListTriggers', listTriggersResponse_nextToken - A continuation token, if the returned list does not contain the last metric available.

$sel:httpStatus:ListTriggersResponse', listTriggersResponse_httpStatus - The response's http status code.

Response Lenses

listTriggersResponse_triggerNames :: Lens' ListTriggersResponse (Maybe [Text]) Source #

The names of all triggers in the account, or the triggers with the specified tags.

listTriggersResponse_nextToken :: Lens' ListTriggersResponse (Maybe Text) Source #

A continuation token, if the returned list does not contain the last metric available.