You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::Glue::Types::SchemaChangePolicy

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing SchemaChangePolicy as input to an Aws::Client method, you can use a vanilla Hash:

{
  update_behavior: "LOG", # accepts LOG, UPDATE_IN_DATABASE
  delete_behavior: "LOG", # accepts LOG, DELETE_FROM_DATABASE, DEPRECATE_IN_DATABASE
}

A policy that specifies update and deletion behaviors for the crawler.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#delete_behaviorString

The deletion behavior when the crawler finds a deleted object.

Possible values:

  • LOG
  • DELETE_FROM_DATABASE
  • DEPRECATE_IN_DATABASE

Returns:

  • (String)

    The deletion behavior when the crawler finds a deleted object.

#update_behaviorString

The update behavior when the crawler finds a changed schema.

Possible values:

  • LOG
  • UPDATE_IN_DATABASE

Returns:

  • (String)

    The update behavior when the crawler finds a changed schema.