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.

UpdatePartitionInput

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

type UpdatePartitionInput struct { CatalogId *string `min:"1" type:"string"` DatabaseName *string `min:"1" type:"string" required:"true"` PartitionInput *PartitionInput `type:"structure" required:"true"` PartitionValueList []*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 to be updated 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 in question resides.

DatabaseName is a required field

PartitionInput

The structure used to create and update a partion.

PartitionValueList

Type: []*string

A list of the values defining the partition.

PartitionValueList is a required field

TableName

Type: *string

The name of the table where the partition to be updated is located.

TableName is a required field

Method

GoString

func (s UpdatePartitionInput) GoString() string

GoString returns the string representation

SetCatalogId

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

SetCatalogId sets the CatalogId field's value.

SetDatabaseName

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

SetDatabaseName sets the DatabaseName field's value.

SetPartitionInput

func (s *UpdatePartitionInput) SetPartitionInput(v *PartitionInput) *UpdatePartitionInput

SetPartitionInput sets the PartitionInput field's value.

SetPartitionValueList

func (s *UpdatePartitionInput) SetPartitionValueList(v []*string) *UpdatePartitionInput

SetPartitionValueList sets the PartitionValueList field's value.

SetTableName

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

SetTableName sets the TableName field's value.

String

func (s UpdatePartitionInput) String() string

String returns the string representation

Validate

func (s *UpdatePartitionInput) Validate() error

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

On this page: