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

Description

Starts an existing trigger. See Triggering Jobs for information about how different types of trigger are started.

Synopsis

Creating a Request

data StartTrigger Source #

See: newStartTrigger smart constructor.

Constructors

StartTrigger' 

Fields

  • name :: Text

    The name of the trigger to start.

Instances

Instances details
Eq StartTrigger Source # 
Instance details

Defined in Amazonka.Glue.StartTrigger

Read StartTrigger Source # 
Instance details

Defined in Amazonka.Glue.StartTrigger

Show StartTrigger Source # 
Instance details

Defined in Amazonka.Glue.StartTrigger

Generic StartTrigger Source # 
Instance details

Defined in Amazonka.Glue.StartTrigger

Associated Types

type Rep StartTrigger :: Type -> Type #

NFData StartTrigger Source # 
Instance details

Defined in Amazonka.Glue.StartTrigger

Methods

rnf :: StartTrigger -> () #

Hashable StartTrigger Source # 
Instance details

Defined in Amazonka.Glue.StartTrigger

ToJSON StartTrigger Source # 
Instance details

Defined in Amazonka.Glue.StartTrigger

AWSRequest StartTrigger Source # 
Instance details

Defined in Amazonka.Glue.StartTrigger

Associated Types

type AWSResponse StartTrigger #

ToHeaders StartTrigger Source # 
Instance details

Defined in Amazonka.Glue.StartTrigger

ToPath StartTrigger Source # 
Instance details

Defined in Amazonka.Glue.StartTrigger

ToQuery StartTrigger Source # 
Instance details

Defined in Amazonka.Glue.StartTrigger

type Rep StartTrigger Source # 
Instance details

Defined in Amazonka.Glue.StartTrigger

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

Defined in Amazonka.Glue.StartTrigger

newStartTrigger Source #

Create a value of StartTrigger 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:StartTrigger', startTrigger_name - The name of the trigger to start.

Request Lenses

startTrigger_name :: Lens' StartTrigger Text Source #

The name of the trigger to start.

Destructuring the Response

data StartTriggerResponse Source #

See: newStartTriggerResponse smart constructor.

Constructors

StartTriggerResponse' 

Fields

Instances

Instances details
Eq StartTriggerResponse Source # 
Instance details

Defined in Amazonka.Glue.StartTrigger

Read StartTriggerResponse Source # 
Instance details

Defined in Amazonka.Glue.StartTrigger

Show StartTriggerResponse Source # 
Instance details

Defined in Amazonka.Glue.StartTrigger

Generic StartTriggerResponse Source # 
Instance details

Defined in Amazonka.Glue.StartTrigger

Associated Types

type Rep StartTriggerResponse :: Type -> Type #

NFData StartTriggerResponse Source # 
Instance details

Defined in Amazonka.Glue.StartTrigger

Methods

rnf :: StartTriggerResponse -> () #

type Rep StartTriggerResponse Source # 
Instance details

Defined in Amazonka.Glue.StartTrigger

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

newStartTriggerResponse Source #

Create a value of StartTriggerResponse 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:StartTrigger', startTriggerResponse_name - The name of the trigger that was started.

$sel:httpStatus:StartTriggerResponse', startTriggerResponse_httpStatus - The response's http status code.

Response Lenses

startTriggerResponse_name :: Lens' StartTriggerResponse (Maybe Text) Source #

The name of the trigger that was started.