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.

UpdateTableInput

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

type UpdateTableInput struct { CatalogId *string `min:"1" type:"string"` DatabaseName *string `min:"1" type:"string" required:"true"` SkipArchive *bool `type:"boolean"` TableInput *TableInput `type:"structure" required:"true"` }

CatalogId

Type: *string

The ID of the Data Catalog where the table resides. If none is supplied, the AWS account ID is used by default.

DatabaseName

Type: *string

The name of the catalog database in which the table resides. For Hive compatibility, this name is entirely lowercase.

DatabaseName is a required field

SkipArchive

Type: *bool

By default, UpdateTable always creates an archived version of the table before updating it. If skipArchive is set to true, however, UpdateTable does not create the archived version.

TableInput

Structure used to create or update the table.

Method

GoString

func (s UpdateTableInput) GoString() string

GoString returns the string representation

SetCatalogId

func (s *UpdateTableInput) SetCatalogId(v string) *UpdateTableInput

SetCatalogId sets the CatalogId field's value.

SetDatabaseName

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

SetDatabaseName sets the DatabaseName field's value.

SetSkipArchive

func (s *UpdateTableInput) SetSkipArchive(v bool) *UpdateTableInput

SetSkipArchive sets the SkipArchive field's value.

SetTableInput

func (s *UpdateTableInput) SetTableInput(v *TableInput) *UpdateTableInput

SetTableInput sets the TableInput field's value.

String

func (s UpdateTableInput) String() string

String returns the string representation

Validate

func (s *UpdateTableInput) Validate() error

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

On this page: