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.

DeleteTableVersionInput

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

type DeleteTableVersionInput struct { CatalogId *string `min:"1" type:"string"` DatabaseName *string `min:"1" type:"string" required:"true"` TableName *string `min:"1" type:"string" required:"true"` VersionId *string `min:"1" type:"string" required:"true"` }

CatalogId

Type: *string

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

DatabaseName

Type: *string

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

DatabaseName is a required field

TableName

Type: *string

The name of the table. For Hive compatibility, this name is entirely lowercase.

TableName is a required field

VersionId

Type: *string

The ID of the table version to be deleted. A VersionID is a string representation of an integer. Each version is incremented by 1.

VersionId is a required field

Method

GoString

func (s DeleteTableVersionInput) GoString() string

GoString returns the string representation

SetCatalogId

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

SetCatalogId sets the CatalogId field's value.

SetDatabaseName

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

SetDatabaseName sets the DatabaseName field's value.

SetTableName

func (s *DeleteTableVersionInput) SetTableName(v string) *DeleteTableVersionInput

SetTableName sets the TableName field's value.

SetVersionId

func (s *DeleteTableVersionInput) SetVersionId(v string) *DeleteTableVersionInput

SetVersionId sets the VersionId field's value.

String

func (s DeleteTableVersionInput) String() string

String returns the string representation

Validate

func (s *DeleteTableVersionInput) Validate() error

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

On this page: