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.

BatchCreatePartitionInput

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

type BatchCreatePartitionInput struct { CatalogId *string `min:"1" type:"string"` DatabaseName *string `min:"1" type:"string" required:"true"` PartitionInputList []*PartitionInput `type:"list" 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

PartitionInputList

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 BatchCreatePartitionInput) GoString() string

GoString returns the string representation

SetCatalogId

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

SetCatalogId sets the CatalogId field's value.

SetDatabaseName

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

SetDatabaseName sets the DatabaseName field's value.

SetPartitionInputList

func (s *BatchCreatePartitionInput) SetPartitionInputList(v []*PartitionInput) *BatchCreatePartitionInput

SetPartitionInputList sets the PartitionInputList field's value.

SetTableName

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

SetTableName sets the TableName field's value.

String

func (s BatchCreatePartitionInput) String() string

String returns the string representation

Validate

func (s *BatchCreatePartitionInput) Validate() error

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

On this page: