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.

CreatePartitionInput

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

type CreatePartitionInput struct { CatalogId *string `min:"1" type:"string"` DatabaseName *string `min:"1" type:"string" required:"true"` PartitionInput *PartitionInput `type:"structure" required:"true"` TableName *string `min:"1" type:"string" required:"true"` }

CatalogId

Type: *string

The ID of the catalog in which the partion is to be created. Currently, this should be the AWS account ID.

DatabaseName

Type: *string

The name of the metadata database in which the partition is to be created.

DatabaseName is a required field

PartitionInput

The structure used to create and update a partion.

TableName

Type: *string

The name of the metadata table in which the partition is to be created.

TableName is a required field

Method

GoString

func (s CreatePartitionInput) GoString() string

GoString returns the string representation

SetCatalogId

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

SetCatalogId sets the CatalogId field's value.

SetDatabaseName

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

SetDatabaseName sets the DatabaseName field's value.

SetPartitionInput

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

SetPartitionInput sets the PartitionInput field's value.

SetTableName

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

SetTableName sets the TableName field's value.

String

func (s CreatePartitionInput) String() string

String returns the string representation

Validate

func (s *CreatePartitionInput) Validate() error

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

On this page: