GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Paws::Glue::CreateTrigger(3) User Contributed Perl Documentation Paws::Glue::CreateTrigger(3)

Paws::Glue::CreateTrigger - Arguments for method CreateTrigger on Paws::Glue

This class represents the parameters used for calling the method CreateTrigger on the AWS Glue service. Use the attributes of this class as arguments to method CreateTrigger.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateTrigger.

    my $glue = Paws->service('Glue');
    my $CreateTriggerResponse = $glue->CreateTrigger(
      Actions => [
        {
          Arguments => { 'MyGenericString' => 'MyGenericString', },   # OPTIONAL
          CrawlerName          => 'MyNameString',   # min: 1, max: 255; OPTIONAL
          JobName              => 'MyNameString',   # min: 1, max: 255; OPTIONAL
          NotificationProperty => {
            NotifyDelayAfter => 1,                  # min: 1; OPTIONAL
          },    # OPTIONAL
          SecurityConfiguration => 'MyNameString',  # min: 1, max: 255; OPTIONAL
          Timeout               => 1,               # min: 1; OPTIONAL
        },
        ...
      ],
      Name        => 'MyNameString',
      Type        => 'SCHEDULED',
      Description => 'MyDescriptionString',    # OPTIONAL
      Predicate   => {
        Conditions => [
          {
            CrawlState => 'RUNNING'
            , # values: RUNNING, CANCELLING, CANCELLED, SUCCEEDED, FAILED; OPTIONAL
            CrawlerName     => 'MyNameString',    # min: 1, max: 255; OPTIONAL
            JobName         => 'MyNameString',    # min: 1, max: 255; OPTIONAL
            LogicalOperator => 'EQUALS',          # values: EQUALS; OPTIONAL
            State           => 'STARTING'
            , # values: STARTING, RUNNING, STOPPING, STOPPED, SUCCEEDED, FAILED, TIMEOUT; OPTIONAL
          },
          ...
        ],    # OPTIONAL
        Logical => 'AND',    # values: AND, ANY; OPTIONAL
      },    # OPTIONAL
      Schedule        => 'MyGenericString',    # OPTIONAL
      StartOnCreation => 1,                    # OPTIONAL
      Tags            => {
        'MyTagKey' => 'MyTagValue',    # key: min: 1, max: 128, value: max: 256
      },    # OPTIONAL
      WorkflowName => 'MyNameString',    # OPTIONAL
    );
    # Results:
    my $Name = $CreateTriggerResponse->Name;
    # Returns a L<Paws::Glue::CreateTriggerResponse> object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see <https://docs.aws.amazon.com/goto/WebAPI/glue/CreateTrigger>

REQUIRED Actions => ArrayRef[Paws::Glue::Action]

The actions initiated by this trigger when it fires.

A description of the new trigger.

REQUIRED Name => Str

The name of the trigger.

A predicate to specify when the new trigger should fire.

This field is required when the trigger type is "CONDITIONAL".

A "cron" expression used to specify the schedule (see Time-Based Schedules for Jobs and Crawlers (https://docs.aws.amazon.com/glue/latest/dg/monitor-data-warehouse-schedule.html). For example, to run something every day at 12:15 UTC, you would specify: "cron(15 12 * * ? *)".

This field is required when the trigger type is SCHEDULED.

Set to "true" to start "SCHEDULED" and "CONDITIONAL" triggers when created. True is not supported for "ON_DEMAND" triggers.

The tags to use with this trigger. You may use tags to limit access to the trigger. For more information about tags in Glue, see Amazon Web Services Tags in Glue (https://docs.aws.amazon.com/glue/latest/dg/monitor-tags.html) in the developer guide.

REQUIRED Type => Str

The type of the new trigger.

Valid values are: "SCHEDULED", "CONDITIONAL", "ON_DEMAND"

The name of the workflow associated with the trigger.

This class forms part of Paws, documenting arguments for method CreateTrigger in Paws::Glue

The source code is located here: <https://github.com/pplu/aws-sdk-perl>

Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>

2022-06-01 perl v5.40.2

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.