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

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb

Overview

Note:

When making an API call, you may pass SchemaChangePolicy data as a hash:

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

Crawler policy for update and deletion behavior.

Instance Attribute Summary collapse

Instance Attribute Details

#delete_behaviorString

The deletion behavior when the crawler finds a deleted object.

Returns:

  • (String)


4690
4691
4692
4693
4694
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 4690

class SchemaChangePolicy < Struct.new(
  :update_behavior,
  :delete_behavior)
  include Aws::Structure
end

#update_behaviorString

The update behavior when the crawler finds a changed schema.

Returns:

  • (String)


4690
4691
4692
4693
4694
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 4690

class SchemaChangePolicy < Struct.new(
  :update_behavior,
  :delete_behavior)
  include Aws::Structure
end