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.

GetTablesInput

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

type GetTablesInput struct { CatalogId *string `min:"1" type:"string"` DatabaseName *string `min:"1" type:"string" required:"true"` Expression *string `type:"string"` MaxResults *int64 `min:"1" type:"integer"` NextToken *string `type:"string"` }

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 whose tables to list. For Hive compatibility, this name is entirely lowercase.

DatabaseName is a required field

Expression

Type: *string

A regular expression pattern. If present, only those tables whose names match the pattern are returned.

MaxResults

Type: *int64

The maximum number of tables to return in a single response.

NextToken

Type: *string

A continuation token, included if this is a continuation call.

Method

GoString

func (s GetTablesInput) GoString() string

GoString returns the string representation

SetCatalogId

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

SetCatalogId sets the CatalogId field's value.

SetDatabaseName

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

SetDatabaseName sets the DatabaseName field's value.

SetExpression

func (s *GetTablesInput) SetExpression(v string) *GetTablesInput

SetExpression sets the Expression field's value.

SetMaxResults

func (s *GetTablesInput) SetMaxResults(v int64) *GetTablesInput

SetMaxResults sets the MaxResults field's value.

SetNextToken

func (s *GetTablesInput) SetNextToken(v string) *GetTablesInput

SetNextToken sets the NextToken field's value.

String

func (s GetTablesInput) String() string

String returns the string representation

Validate

func (s *GetTablesInput) Validate() error

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

On this page: