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.

GetPartitionInput

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

type GetPartitionInput struct { CatalogId *string `min:"1" type:"string"` DatabaseName *string `min:"1" type:"string" required:"true"` PartitionValues []*string `type:"list" required:"true"` TableName *string `min:"1" type:"string" required:"true"` }

CatalogId

Type: *string

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

DatabaseName

Type: *string

The name of the catalog database where the partition resides.

DatabaseName is a required field

PartitionValues

Type: []*string

The values that define the partition.

PartitionValues is a required field

TableName

Type: *string

The name of the partition's table.

TableName is a required field

Method

GoString

func (s GetPartitionInput) GoString() string

GoString returns the string representation

SetCatalogId

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

SetCatalogId sets the CatalogId field's value.

SetDatabaseName

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

SetDatabaseName sets the DatabaseName field's value.

SetPartitionValues

func (s *GetPartitionInput) SetPartitionValues(v []*string) *GetPartitionInput

SetPartitionValues sets the PartitionValues field's value.

SetTableName

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

SetTableName sets the TableName field's value.

String

func (s GetPartitionInput) String() string

String returns the string representation

Validate

func (s *GetPartitionInput) Validate() error

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

On this page: