AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

UpdateCrawlerInput

import "github.com/aws/aws-sdk-go/service/glue"

type UpdateCrawlerInput struct { Classifiers []*string `type:"list"` Configuration *string `type:"string"` CrawlerSecurityConfiguration *string `type:"string"` DatabaseName *string `type:"string"` Description *string `type:"string"` Name *string `min:"1" type:"string" required:"true"` Role *string `type:"string"` Schedule *string `type:"string"` SchemaChangePolicy *SchemaChangePolicy `type:"structure"` TablePrefix *string `type:"string"` Targets *CrawlerTargets `type:"structure"` }

Classifiers

Type: []*string

A list of custom classifiers that the user has registered. By default, all built-in classifiers are included in a crawl, but these custom classifiers always override the default classifiers for a given classification.

Configuration

Type: *string

Crawler configuration information. This versioned JSON string allows users to specify aspects of a crawler's behavior. For more information, see Configuring a Crawler (https://docs.aws.amazon.com/glue/latest/dg/crawler-configuration.html).

CrawlerSecurityConfiguration

Type: *string

The name of the SecurityConfiguration structure to be used by this Crawler.

DatabaseName

Type: *string

The AWS Glue database where results are stored, such as: arn:aws:daylight:us-east-1::database/sometable/*.

Description

Type: *string

A description of the new crawler.

Name

Type: *string

Name of the new crawler.

Name is a required field

Role

Type: *string

The IAM role (or ARN of an IAM role) used by the new crawler to access customer resources.

Schedule

Type: *string

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 * * ? *).

SchemaChangePolicy

Crawler policy for update and deletion behavior.

TablePrefix

Type: *string

The table prefix used for catalog tables that are created.

Targets

Specifies data stores to crawl.

Method

GoString

func (s UpdateCrawlerInput) GoString() string

GoString returns the string representation

SetClassifiers

func (s *UpdateCrawlerInput) SetClassifiers(v []*string) *UpdateCrawlerInput

SetClassifiers sets the Classifiers field's value.

SetConfiguration

func (s *UpdateCrawlerInput) SetConfiguration(v string) *UpdateCrawlerInput

SetConfiguration sets the Configuration field's value.

SetCrawlerSecurityConfiguration

func (s *UpdateCrawlerInput) SetCrawlerSecurityConfiguration(v string) *UpdateCrawlerInput

SetCrawlerSecurityConfiguration sets the CrawlerSecurityConfiguration field's value.

SetDatabaseName

func (s *UpdateCrawlerInput) SetDatabaseName(v string) *UpdateCrawlerInput

SetDatabaseName sets the DatabaseName field's value.

SetDescription

func (s *UpdateCrawlerInput) SetDescription(v string) *UpdateCrawlerInput

SetDescription sets the Description field's value.

SetName

func (s *UpdateCrawlerInput) SetName(v string) *UpdateCrawlerInput

SetName sets the Name field's value.

SetRole

func (s *UpdateCrawlerInput) SetRole(v string) *UpdateCrawlerInput

SetRole sets the Role field's value.

SetSchedule

func (s *UpdateCrawlerInput) SetSchedule(v string) *UpdateCrawlerInput

SetSchedule sets the Schedule field's value.

SetSchemaChangePolicy

func (s *UpdateCrawlerInput) SetSchemaChangePolicy(v *SchemaChangePolicy) *UpdateCrawlerInput

SetSchemaChangePolicy sets the SchemaChangePolicy field's value.

SetTablePrefix

func (s *UpdateCrawlerInput) SetTablePrefix(v string) *UpdateCrawlerInput

SetTablePrefix sets the TablePrefix field's value.

SetTargets

func (s *UpdateCrawlerInput) SetTargets(v *CrawlerTargets) *UpdateCrawlerInput

SetTargets sets the Targets field's value.

String

func (s UpdateCrawlerInput) String() string

String returns the string representation

Validate

func (s *UpdateCrawlerInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

On this page: