package types

import "github.com/aws/aws-sdk-go-v2/service/lakeformation/types"

Index

Types

type AlreadyExistsException

type AlreadyExistsException struct {
	Message *string
}

A resource to be created or added already exists.

func (*AlreadyExistsException) Error

func (e *AlreadyExistsException) Error() string

func (*AlreadyExistsException) ErrorCode

func (e *AlreadyExistsException) ErrorCode() string

func (*AlreadyExistsException) ErrorFault

func (e *AlreadyExistsException) ErrorFault() smithy.ErrorFault

func (*AlreadyExistsException) ErrorMessage

func (e *AlreadyExistsException) ErrorMessage() string

func (*AlreadyExistsException) GetMessage

func (e *AlreadyExistsException) GetMessage() string

func (*AlreadyExistsException) HasMessage

func (e *AlreadyExistsException) HasMessage() bool

type BatchPermissionsFailureEntry

type BatchPermissionsFailureEntry struct {
	// An identifier for an entry of the batch request.
	RequestEntry *BatchPermissionsRequestEntry
	// An error message that applies to the failure of the entry.
	Error *ErrorDetail
}

A list of failures when performing a batch grant or batch revoke operation.

type BatchPermissionsRequestEntry

type BatchPermissionsRequestEntry struct {
	// Indicates if the option to pass permissions is granted.
	PermissionsWithGrantOption []Permission
	// The principal to be granted a permission.
	Principal *DataLakePrincipal
	// A unique identifier for the batch permissions request entry.
	Id *string
	// The resource to which the principal is to be granted a permission.
	Resource *Resource
	// The permissions to be granted.
	Permissions []Permission
}

A permission to a resource granted by batch operation to the principal.

type CatalogResource

type CatalogResource struct {
}

A structure for the catalog object.

type ColumnWildcard

type ColumnWildcard struct {
	// Excludes column names. Any column with this name will be excluded.
	ExcludedColumnNames []*string
}

A wildcard object, consisting of an optional list of excluded column names or indexes.

type ComparisonOperator

type ComparisonOperator string
const (
	ComparisonOperatorEq           ComparisonOperator = "EQ"
	ComparisonOperatorNe           ComparisonOperator = "NE"
	ComparisonOperatorLe           ComparisonOperator = "LE"
	ComparisonOperatorLt           ComparisonOperator = "LT"
	ComparisonOperatorGe           ComparisonOperator = "GE"
	ComparisonOperatorGt           ComparisonOperator = "GT"
	ComparisonOperatorContains     ComparisonOperator = "CONTAINS"
	ComparisonOperatorNot_contains ComparisonOperator = "NOT_CONTAINS"
	ComparisonOperatorBegins_with  ComparisonOperator = "BEGINS_WITH"
	ComparisonOperatorIn           ComparisonOperator = "IN"
	ComparisonOperatorBetween      ComparisonOperator = "BETWEEN"
)

Enum values for ComparisonOperator

type ConcurrentModificationException

type ConcurrentModificationException struct {
	Message *string
}

Two processes are trying to modify a resource simultaneously.

func (*ConcurrentModificationException) Error

func (*ConcurrentModificationException) ErrorCode

func (e *ConcurrentModificationException) ErrorCode() string

func (*ConcurrentModificationException) ErrorFault

func (*ConcurrentModificationException) ErrorMessage

func (e *ConcurrentModificationException) ErrorMessage() string

func (*ConcurrentModificationException) GetMessage

func (e *ConcurrentModificationException) GetMessage() string

func (*ConcurrentModificationException) HasMessage

func (e *ConcurrentModificationException) HasMessage() bool

type DataLakePrincipal

type DataLakePrincipal struct {
	// An identifier for the AWS Lake Formation principal.
	DataLakePrincipalIdentifier *string
}

The AWS Lake Formation principal. Supported principals are IAM users or IAM roles.

type DataLakeResourceType

type DataLakeResourceType string
const (
	DataLakeResourceTypeCatalog       DataLakeResourceType = "CATALOG"
	DataLakeResourceTypeDatabase      DataLakeResourceType = "DATABASE"
	DataLakeResourceTypeTable         DataLakeResourceType = "TABLE"
	DataLakeResourceTypeData_location DataLakeResourceType = "DATA_LOCATION"
)

Enum values for DataLakeResourceType

type DataLakeSettings

type DataLakeSettings struct {
	// A structure representing a list of up to three principal permissions entries for
	// default create table permissions.
	CreateTableDefaultPermissions []*PrincipalPermissions
	// A structure representing a list of up to three principal permissions entries for
	// default create database permissions.
	CreateDatabaseDefaultPermissions []*PrincipalPermissions
	// A list of AWS Lake Formation principals. Supported principals are IAM users or
	// IAM roles.
	DataLakeAdmins []*DataLakePrincipal
	// A list of the resource-owning account IDs that the caller's account can use to
	// share their user access details (user ARNs). The user ARNs can be logged in the
	// resource owner's AWS CloudTrail log.  <p>You may want to specify this property
	// when you are in a high-trust boundary, such as the same team or company. </p>
	TrustedResourceOwners []*string
}

A structure representing a list of AWS Lake Formation principals designated as data lake administrators and lists of principal permission entries for default create database and default create table permissions.

type DataLocationResource

type DataLocationResource struct {
	// The identifier for the Data Catalog where the location is registered with AWS
	// Lake Formation. By default, it is the account ID of the caller.
	CatalogId *string
	// The Amazon Resource Name (ARN) that uniquely identifies the data location
	// resource.
	ResourceArn *string
}

A structure for a data location object where permissions are granted or revoked.

type DatabaseResource

type DatabaseResource struct {
	// The name of the database resource. Unique to the Data Catalog.
	Name *string
	// The identifier for the Data Catalog. By default, it is the account ID of the
	// caller.
	CatalogId *string
}

A structure for the database object.

type EntityNotFoundException

type EntityNotFoundException struct {
	Message *string
}

A specified entity does not exist

func (*EntityNotFoundException) Error

func (e *EntityNotFoundException) Error() string

func (*EntityNotFoundException) ErrorCode

func (e *EntityNotFoundException) ErrorCode() string

func (*EntityNotFoundException) ErrorFault

func (e *EntityNotFoundException) ErrorFault() smithy.ErrorFault

func (*EntityNotFoundException) ErrorMessage

func (e *EntityNotFoundException) ErrorMessage() string

func (*EntityNotFoundException) GetMessage

func (e *EntityNotFoundException) GetMessage() string

func (*EntityNotFoundException) HasMessage

func (e *EntityNotFoundException) HasMessage() bool

type ErrorDetail

type ErrorDetail struct {
	// The code associated with this error.
	ErrorCode *string
	// A message describing the error.
	ErrorMessage *string
}

Contains details about an error.

type FieldNameString

type FieldNameString string
const (
	FieldNameStringResource_arn  FieldNameString = "RESOURCE_ARN"
	FieldNameStringRole_arn      FieldNameString = "ROLE_ARN"
	FieldNameStringLast_modified FieldNameString = "LAST_MODIFIED"
)

Enum values for FieldNameString

type FilterCondition

type FilterCondition struct {
	// The field to filter in the filter condition.
	Field FieldNameString
	// The comparison operator used in the filter condition.
	ComparisonOperator ComparisonOperator
	// A string with values used in evaluating the filter condition.
	StringValueList []*string
}

This structure describes the filtering of columns in a table based on a filter condition.

type InternalServiceException

type InternalServiceException struct {
	Message *string
}

An internal service error occurred.

func (*InternalServiceException) Error

func (e *InternalServiceException) Error() string

func (*InternalServiceException) ErrorCode

func (e *InternalServiceException) ErrorCode() string

func (*InternalServiceException) ErrorFault

func (e *InternalServiceException) ErrorFault() smithy.ErrorFault

func (*InternalServiceException) ErrorMessage

func (e *InternalServiceException) ErrorMessage() string

func (*InternalServiceException) GetMessage

func (e *InternalServiceException) GetMessage() string

func (*InternalServiceException) HasMessage

func (e *InternalServiceException) HasMessage() bool

type InvalidInputException

type InvalidInputException struct {
	Message *string
}

The input provided was not valid.

func (*InvalidInputException) Error

func (e *InvalidInputException) Error() string

func (*InvalidInputException) ErrorCode

func (e *InvalidInputException) ErrorCode() string

func (*InvalidInputException) ErrorFault

func (e *InvalidInputException) ErrorFault() smithy.ErrorFault

func (*InvalidInputException) ErrorMessage

func (e *InvalidInputException) ErrorMessage() string

func (*InvalidInputException) GetMessage

func (e *InvalidInputException) GetMessage() string

func (*InvalidInputException) HasMessage

func (e *InvalidInputException) HasMessage() bool

type OperationTimeoutException

type OperationTimeoutException struct {
	Message *string
}

The operation timed out.

func (*OperationTimeoutException) Error

func (e *OperationTimeoutException) Error() string

func (*OperationTimeoutException) ErrorCode

func (e *OperationTimeoutException) ErrorCode() string

func (*OperationTimeoutException) ErrorFault

func (*OperationTimeoutException) ErrorMessage

func (e *OperationTimeoutException) ErrorMessage() string

func (*OperationTimeoutException) GetMessage

func (e *OperationTimeoutException) GetMessage() string

func (*OperationTimeoutException) HasMessage

func (e *OperationTimeoutException) HasMessage() bool

type Permission

type Permission string
const (
	PermissionAll                  Permission = "ALL"
	PermissionSelect               Permission = "SELECT"
	PermissionAlter                Permission = "ALTER"
	PermissionDrop                 Permission = "DROP"
	PermissionDelete               Permission = "DELETE"
	PermissionInsert               Permission = "INSERT"
	PermissionDescribe             Permission = "DESCRIBE"
	PermissionCreate_database      Permission = "CREATE_DATABASE"
	PermissionCreate_table         Permission = "CREATE_TABLE"
	PermissionData_location_access Permission = "DATA_LOCATION_ACCESS"
)

Enum values for Permission

type PrincipalPermissions

type PrincipalPermissions struct {
	// The permissions that are granted to the principal.
	Permissions []Permission
	// The principal who is granted permissions.
	Principal *DataLakePrincipal
}

Permissions granted to a principal.

type PrincipalResourcePermissions

type PrincipalResourcePermissions struct {
	// The resource where permissions are to be granted or revoked.
	Resource *Resource
	// The permissions to be granted or revoked on the resource.
	Permissions []Permission
	// Indicates whether to grant the ability to grant permissions (as a subset of
	// permissions granted).
	PermissionsWithGrantOption []Permission
	// The Data Lake principal to be granted or revoked permissions.
	Principal *DataLakePrincipal
}

The permissions granted or revoked on a resource.

type Resource

type Resource struct {
	// The table with columns for the resource. A principal with permissions to this
	// resource can select metadata from the columns of a table in the Data Catalog and
	// the underlying data in Amazon S3.
	TableWithColumns *TableWithColumnsResource
	// The location of an Amazon S3 path where permissions are granted or revoked.
	DataLocation *DataLocationResource
	// The table for the resource. A table is a metadata definition that represents
	// your data. You can Grant and Revoke table privileges to a principal.
	Table *TableResource
	// The database for the resource. Unique to the Data Catalog. A database is a set
	// of associated table definitions organized into a logical group. You can Grant
	// and Revoke database permissions to a principal.
	Database *DatabaseResource
	// The identifier for the Data Catalog. By default, the account ID. The Data
	// Catalog is the persistent metadata store. It contains database definitions,
	// table definitions, and other control information to manage your AWS Lake
	// Formation environment.
	Catalog *CatalogResource
}

A structure for the resource.

type ResourceInfo

type ResourceInfo struct {
	// The IAM role that registered a resource.
	RoleArn *string
	// The date and time the resource was last modified.
	LastModified *time.Time
	// The Amazon Resource Name (ARN) of the resource.
	ResourceArn *string
}

A structure containing information about an AWS Lake Formation resource.

type TableResource

type TableResource struct {
	// A wildcard object representing every table under a database.  <p>At least one of
	// <code>TableResource$Name</code> or <code>TableResource$TableWildcard</code> is
	// required.</p>
	TableWildcard *TableWildcard
	// The name of the database for the table. Unique to a Data Catalog. A database is
	// a set of associated table definitions organized into a logical group. You can
	// Grant and Revoke database privileges to a principal.
	DatabaseName *string
	// The name of the table.
	Name *string
	// The identifier for the Data Catalog. By default, it is the account ID of the
	// caller.
	CatalogId *string
}

A structure for the table object. A table is a metadata definition that represents your data. You can Grant and Revoke table privileges to a principal.

type TableWildcard

type TableWildcard struct {
}

A wildcard object representing every table under a database.

type TableWithColumnsResource

type TableWithColumnsResource struct {
	// The name of the database for the table with columns resource. Unique to the Data
	// Catalog. A database is a set of associated table definitions organized into a
	// logical group. You can Grant and Revoke database privileges to a principal.
	DatabaseName *string
	// The list of column names for the table. At least one of ColumnNames or
	// ColumnWildcard is required.
	ColumnNames []*string
	// A wildcard specified by a ColumnWildcard object. At least one of ColumnNames or
	// ColumnWildcard is required.
	ColumnWildcard *ColumnWildcard
	// The name of the table resource. A table is a metadata definition that represents
	// your data. You can Grant and Revoke table privileges to a principal.
	Name *string
	// The identifier for the Data Catalog. By default, it is the account ID of the
	// caller.
	CatalogId *string
}

A structure for a table with columns object. This object is only used when granting a SELECT permission. This object must take a value for at least one of ColumnsNames, ColumnsIndexes, or ColumnsWildcard.

Source Files

enums.go errors.go types.go

Version
v0.1.0
Published
Sep 29, 2020
Platform
linux/amd64
Imports
4 packages
Last checked
2 hours ago

Tools for package owners.