Documentation ¶
Overview ¶
Package lakeformation provides the client and types for making API requests to AWS Lake Formation.
Defines the public endpoint for the AWS Lake Formation service.
See https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31 for more information on this service.
See lakeformation package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/lakeformation/
Using the Client ¶
To contact AWS Lake Formation with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.
See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/
See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config
See the AWS Lake Formation client LakeFormation for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/lakeformation/#New
Index ¶
- Constants
- func ComparisonOperator_Values() []string
- func DataLakeResourceType_Values() []string
- func FieldNameString_Values() []string
- func Permission_Values() []string
- func ResourceShareType_Values() []string
- func ResourceType_Values() []string
- type AccessDeniedException
- func (s *AccessDeniedException) Code() string
- func (s *AccessDeniedException) Error() string
- func (s AccessDeniedException) GoString() string
- func (s *AccessDeniedException) Message() string
- func (s *AccessDeniedException) OrigErr() error
- func (s *AccessDeniedException) RequestID() string
- func (s *AccessDeniedException) StatusCode() int
- func (s AccessDeniedException) String() string
- type AddLFTagsToResourceInput
- func (s AddLFTagsToResourceInput) GoString() string
- func (s *AddLFTagsToResourceInput) SetCatalogId(v string) *AddLFTagsToResourceInput
- func (s *AddLFTagsToResourceInput) SetLFTags(v []*LFTagPair) *AddLFTagsToResourceInput
- func (s *AddLFTagsToResourceInput) SetResource(v *Resource) *AddLFTagsToResourceInput
- func (s AddLFTagsToResourceInput) String() string
- func (s *AddLFTagsToResourceInput) Validate() error
- type AddLFTagsToResourceOutput
- type AlreadyExistsException
- func (s *AlreadyExistsException) Code() string
- func (s *AlreadyExistsException) Error() string
- func (s AlreadyExistsException) GoString() string
- func (s *AlreadyExistsException) Message() string
- func (s *AlreadyExistsException) OrigErr() error
- func (s *AlreadyExistsException) RequestID() string
- func (s *AlreadyExistsException) StatusCode() int
- func (s AlreadyExistsException) String() string
- type BatchGrantPermissionsInput
- func (s BatchGrantPermissionsInput) GoString() string
- func (s *BatchGrantPermissionsInput) SetCatalogId(v string) *BatchGrantPermissionsInput
- func (s *BatchGrantPermissionsInput) SetEntries(v []*BatchPermissionsRequestEntry) *BatchGrantPermissionsInput
- func (s BatchGrantPermissionsInput) String() string
- func (s *BatchGrantPermissionsInput) Validate() error
- type BatchGrantPermissionsOutput
- type BatchPermissionsFailureEntry
- func (s BatchPermissionsFailureEntry) GoString() string
- func (s *BatchPermissionsFailureEntry) SetError(v *ErrorDetail) *BatchPermissionsFailureEntry
- func (s *BatchPermissionsFailureEntry) SetRequestEntry(v *BatchPermissionsRequestEntry) *BatchPermissionsFailureEntry
- func (s BatchPermissionsFailureEntry) String() string
- type BatchPermissionsRequestEntry
- func (s BatchPermissionsRequestEntry) GoString() string
- func (s *BatchPermissionsRequestEntry) SetId(v string) *BatchPermissionsRequestEntry
- func (s *BatchPermissionsRequestEntry) SetPermissions(v []*string) *BatchPermissionsRequestEntry
- func (s *BatchPermissionsRequestEntry) SetPermissionsWithGrantOption(v []*string) *BatchPermissionsRequestEntry
- func (s *BatchPermissionsRequestEntry) SetPrincipal(v *DataLakePrincipal) *BatchPermissionsRequestEntry
- func (s *BatchPermissionsRequestEntry) SetResource(v *Resource) *BatchPermissionsRequestEntry
- func (s BatchPermissionsRequestEntry) String() string
- func (s *BatchPermissionsRequestEntry) Validate() error
- type BatchRevokePermissionsInput
- func (s BatchRevokePermissionsInput) GoString() string
- func (s *BatchRevokePermissionsInput) SetCatalogId(v string) *BatchRevokePermissionsInput
- func (s *BatchRevokePermissionsInput) SetEntries(v []*BatchPermissionsRequestEntry) *BatchRevokePermissionsInput
- func (s BatchRevokePermissionsInput) String() string
- func (s *BatchRevokePermissionsInput) Validate() error
- type BatchRevokePermissionsOutput
- type CatalogResource
- type ColumnLFTag
- type ColumnWildcard
- type ConcurrentModificationException
- func (s *ConcurrentModificationException) Code() string
- func (s *ConcurrentModificationException) Error() string
- func (s ConcurrentModificationException) GoString() string
- func (s *ConcurrentModificationException) Message() string
- func (s *ConcurrentModificationException) OrigErr() error
- func (s *ConcurrentModificationException) RequestID() string
- func (s *ConcurrentModificationException) StatusCode() int
- func (s ConcurrentModificationException) String() string
- type CreateLFTagInput
- func (s CreateLFTagInput) GoString() string
- func (s *CreateLFTagInput) SetCatalogId(v string) *CreateLFTagInput
- func (s *CreateLFTagInput) SetTagKey(v string) *CreateLFTagInput
- func (s *CreateLFTagInput) SetTagValues(v []*string) *CreateLFTagInput
- func (s CreateLFTagInput) String() string
- func (s *CreateLFTagInput) Validate() error
- type CreateLFTagOutput
- type DataLakePrincipal
- type DataLakeSettings
- func (s DataLakeSettings) GoString() string
- func (s *DataLakeSettings) SetCreateDatabaseDefaultPermissions(v []*PrincipalPermissions) *DataLakeSettings
- func (s *DataLakeSettings) SetCreateTableDefaultPermissions(v []*PrincipalPermissions) *DataLakeSettings
- func (s *DataLakeSettings) SetDataLakeAdmins(v []*DataLakePrincipal) *DataLakeSettings
- func (s *DataLakeSettings) SetTrustedResourceOwners(v []*string) *DataLakeSettings
- func (s DataLakeSettings) String() string
- func (s *DataLakeSettings) Validate() error
- type DataLocationResource
- type DatabaseResource
- type DeleteLFTagInput
- type DeleteLFTagOutput
- type DeregisterResourceInput
- type DeregisterResourceOutput
- type DescribeResourceInput
- type DescribeResourceOutput
- type DetailsMap
- type EntityNotFoundException
- func (s *EntityNotFoundException) Code() string
- func (s *EntityNotFoundException) Error() string
- func (s EntityNotFoundException) GoString() string
- func (s *EntityNotFoundException) Message() string
- func (s *EntityNotFoundException) OrigErr() error
- func (s *EntityNotFoundException) RequestID() string
- func (s *EntityNotFoundException) StatusCode() int
- func (s EntityNotFoundException) String() string
- type ErrorDetail
- type FilterCondition
- type GetDataLakeSettingsInput
- type GetDataLakeSettingsOutput
- type GetEffectivePermissionsForPathInput
- func (s GetEffectivePermissionsForPathInput) GoString() string
- func (s *GetEffectivePermissionsForPathInput) SetCatalogId(v string) *GetEffectivePermissionsForPathInput
- func (s *GetEffectivePermissionsForPathInput) SetMaxResults(v int64) *GetEffectivePermissionsForPathInput
- func (s *GetEffectivePermissionsForPathInput) SetNextToken(v string) *GetEffectivePermissionsForPathInput
- func (s *GetEffectivePermissionsForPathInput) SetResourceArn(v string) *GetEffectivePermissionsForPathInput
- func (s GetEffectivePermissionsForPathInput) String() string
- func (s *GetEffectivePermissionsForPathInput) Validate() error
- type GetEffectivePermissionsForPathOutput
- func (s GetEffectivePermissionsForPathOutput) GoString() string
- func (s *GetEffectivePermissionsForPathOutput) SetNextToken(v string) *GetEffectivePermissionsForPathOutput
- func (s *GetEffectivePermissionsForPathOutput) SetPermissions(v []*PrincipalResourcePermissions) *GetEffectivePermissionsForPathOutput
- func (s GetEffectivePermissionsForPathOutput) String() string
- type GetLFTagInput
- type GetLFTagOutput
- type GetResourceLFTagsInput
- func (s GetResourceLFTagsInput) GoString() string
- func (s *GetResourceLFTagsInput) SetCatalogId(v string) *GetResourceLFTagsInput
- func (s *GetResourceLFTagsInput) SetResource(v *Resource) *GetResourceLFTagsInput
- func (s *GetResourceLFTagsInput) SetShowAssignedLFTags(v bool) *GetResourceLFTagsInput
- func (s GetResourceLFTagsInput) String() string
- func (s *GetResourceLFTagsInput) Validate() error
- type GetResourceLFTagsOutput
- func (s GetResourceLFTagsOutput) GoString() string
- func (s *GetResourceLFTagsOutput) SetLFTagOnDatabase(v []*LFTagPair) *GetResourceLFTagsOutput
- func (s *GetResourceLFTagsOutput) SetLFTagsOnColumns(v []*ColumnLFTag) *GetResourceLFTagsOutput
- func (s *GetResourceLFTagsOutput) SetLFTagsOnTable(v []*LFTagPair) *GetResourceLFTagsOutput
- func (s GetResourceLFTagsOutput) String() string
- type GlueEncryptionException
- func (s *GlueEncryptionException) Code() string
- func (s *GlueEncryptionException) Error() string
- func (s GlueEncryptionException) GoString() string
- func (s *GlueEncryptionException) Message() string
- func (s *GlueEncryptionException) OrigErr() error
- func (s *GlueEncryptionException) RequestID() string
- func (s *GlueEncryptionException) StatusCode() int
- func (s GlueEncryptionException) String() string
- type GrantPermissionsInput
- func (s GrantPermissionsInput) GoString() string
- func (s *GrantPermissionsInput) SetCatalogId(v string) *GrantPermissionsInput
- func (s *GrantPermissionsInput) SetPermissions(v []*string) *GrantPermissionsInput
- func (s *GrantPermissionsInput) SetPermissionsWithGrantOption(v []*string) *GrantPermissionsInput
- func (s *GrantPermissionsInput) SetPrincipal(v *DataLakePrincipal) *GrantPermissionsInput
- func (s *GrantPermissionsInput) SetResource(v *Resource) *GrantPermissionsInput
- func (s GrantPermissionsInput) String() string
- func (s *GrantPermissionsInput) Validate() error
- type GrantPermissionsOutput
- type InternalServiceException
- func (s *InternalServiceException) Code() string
- func (s *InternalServiceException) Error() string
- func (s InternalServiceException) GoString() string
- func (s *InternalServiceException) Message() string
- func (s *InternalServiceException) OrigErr() error
- func (s *InternalServiceException) RequestID() string
- func (s *InternalServiceException) StatusCode() int
- func (s InternalServiceException) String() string
- type InvalidInputException
- func (s *InvalidInputException) Code() string
- func (s *InvalidInputException) Error() string
- func (s InvalidInputException) GoString() string
- func (s *InvalidInputException) Message() string
- func (s *InvalidInputException) OrigErr() error
- func (s *InvalidInputException) RequestID() string
- func (s *InvalidInputException) StatusCode() int
- func (s InvalidInputException) String() string
- type LFTag
- type LFTagError
- type LFTagKeyResource
- func (s LFTagKeyResource) GoString() string
- func (s *LFTagKeyResource) SetCatalogId(v string) *LFTagKeyResource
- func (s *LFTagKeyResource) SetTagKey(v string) *LFTagKeyResource
- func (s *LFTagKeyResource) SetTagValues(v []*string) *LFTagKeyResource
- func (s LFTagKeyResource) String() string
- func (s *LFTagKeyResource) Validate() error
- type LFTagPair
- type LFTagPolicyResource
- func (s LFTagPolicyResource) GoString() string
- func (s *LFTagPolicyResource) SetCatalogId(v string) *LFTagPolicyResource
- func (s *LFTagPolicyResource) SetExpression(v []*LFTag) *LFTagPolicyResource
- func (s *LFTagPolicyResource) SetResourceType(v string) *LFTagPolicyResource
- func (s LFTagPolicyResource) String() string
- func (s *LFTagPolicyResource) Validate() error
- type LakeFormation
- func (c *LakeFormation) AddLFTagsToResource(input *AddLFTagsToResourceInput) (*AddLFTagsToResourceOutput, error)
- func (c *LakeFormation) AddLFTagsToResourceRequest(input *AddLFTagsToResourceInput) (req *request.Request, output *AddLFTagsToResourceOutput)
- func (c *LakeFormation) AddLFTagsToResourceWithContext(ctx aws.Context, input *AddLFTagsToResourceInput, opts ...request.Option) (*AddLFTagsToResourceOutput, error)
- func (c *LakeFormation) BatchGrantPermissions(input *BatchGrantPermissionsInput) (*BatchGrantPermissionsOutput, error)
- func (c *LakeFormation) BatchGrantPermissionsRequest(input *BatchGrantPermissionsInput) (req *request.Request, output *BatchGrantPermissionsOutput)
- func (c *LakeFormation) BatchGrantPermissionsWithContext(ctx aws.Context, input *BatchGrantPermissionsInput, opts ...request.Option) (*BatchGrantPermissionsOutput, error)
- func (c *LakeFormation) BatchRevokePermissions(input *BatchRevokePermissionsInput) (*BatchRevokePermissionsOutput, error)
- func (c *LakeFormation) BatchRevokePermissionsRequest(input *BatchRevokePermissionsInput) (req *request.Request, output *BatchRevokePermissionsOutput)
- func (c *LakeFormation) BatchRevokePermissionsWithContext(ctx aws.Context, input *BatchRevokePermissionsInput, opts ...request.Option) (*BatchRevokePermissionsOutput, error)
- func (c *LakeFormation) CreateLFTag(input *CreateLFTagInput) (*CreateLFTagOutput, error)
- func (c *LakeFormation) CreateLFTagRequest(input *CreateLFTagInput) (req *request.Request, output *CreateLFTagOutput)
- func (c *LakeFormation) CreateLFTagWithContext(ctx aws.Context, input *CreateLFTagInput, opts ...request.Option) (*CreateLFTagOutput, error)
- func (c *LakeFormation) DeleteLFTag(input *DeleteLFTagInput) (*DeleteLFTagOutput, error)
- func (c *LakeFormation) DeleteLFTagRequest(input *DeleteLFTagInput) (req *request.Request, output *DeleteLFTagOutput)
- func (c *LakeFormation) DeleteLFTagWithContext(ctx aws.Context, input *DeleteLFTagInput, opts ...request.Option) (*DeleteLFTagOutput, error)
- func (c *LakeFormation) DeregisterResource(input *DeregisterResourceInput) (*DeregisterResourceOutput, error)
- func (c *LakeFormation) DeregisterResourceRequest(input *DeregisterResourceInput) (req *request.Request, output *DeregisterResourceOutput)
- func (c *LakeFormation) DeregisterResourceWithContext(ctx aws.Context, input *DeregisterResourceInput, opts ...request.Option) (*DeregisterResourceOutput, error)
- func (c *LakeFormation) DescribeResource(input *DescribeResourceInput) (*DescribeResourceOutput, error)
- func (c *LakeFormation) DescribeResourceRequest(input *DescribeResourceInput) (req *request.Request, output *DescribeResourceOutput)
- func (c *LakeFormation) DescribeResourceWithContext(ctx aws.Context, input *DescribeResourceInput, opts ...request.Option) (*DescribeResourceOutput, error)
- func (c *LakeFormation) GetDataLakeSettings(input *GetDataLakeSettingsInput) (*GetDataLakeSettingsOutput, error)
- func (c *LakeFormation) GetDataLakeSettingsRequest(input *GetDataLakeSettingsInput) (req *request.Request, output *GetDataLakeSettingsOutput)
- func (c *LakeFormation) GetDataLakeSettingsWithContext(ctx aws.Context, input *GetDataLakeSettingsInput, opts ...request.Option) (*GetDataLakeSettingsOutput, error)
- func (c *LakeFormation) GetEffectivePermissionsForPath(input *GetEffectivePermissionsForPathInput) (*GetEffectivePermissionsForPathOutput, error)
- func (c *LakeFormation) GetEffectivePermissionsForPathPages(input *GetEffectivePermissionsForPathInput, ...) error
- func (c *LakeFormation) GetEffectivePermissionsForPathPagesWithContext(ctx aws.Context, input *GetEffectivePermissionsForPathInput, ...) error
- func (c *LakeFormation) GetEffectivePermissionsForPathRequest(input *GetEffectivePermissionsForPathInput) (req *request.Request, output *GetEffectivePermissionsForPathOutput)
- func (c *LakeFormation) GetEffectivePermissionsForPathWithContext(ctx aws.Context, input *GetEffectivePermissionsForPathInput, ...) (*GetEffectivePermissionsForPathOutput, error)
- func (c *LakeFormation) GetLFTag(input *GetLFTagInput) (*GetLFTagOutput, error)
- func (c *LakeFormation) GetLFTagRequest(input *GetLFTagInput) (req *request.Request, output *GetLFTagOutput)
- func (c *LakeFormation) GetLFTagWithContext(ctx aws.Context, input *GetLFTagInput, opts ...request.Option) (*GetLFTagOutput, error)
- func (c *LakeFormation) GetResourceLFTags(input *GetResourceLFTagsInput) (*GetResourceLFTagsOutput, error)
- func (c *LakeFormation) GetResourceLFTagsRequest(input *GetResourceLFTagsInput) (req *request.Request, output *GetResourceLFTagsOutput)
- func (c *LakeFormation) GetResourceLFTagsWithContext(ctx aws.Context, input *GetResourceLFTagsInput, opts ...request.Option) (*GetResourceLFTagsOutput, error)
- func (c *LakeFormation) GrantPermissions(input *GrantPermissionsInput) (*GrantPermissionsOutput, error)
- func (c *LakeFormation) GrantPermissionsRequest(input *GrantPermissionsInput) (req *request.Request, output *GrantPermissionsOutput)
- func (c *LakeFormation) GrantPermissionsWithContext(ctx aws.Context, input *GrantPermissionsInput, opts ...request.Option) (*GrantPermissionsOutput, error)
- func (c *LakeFormation) ListLFTags(input *ListLFTagsInput) (*ListLFTagsOutput, error)
- func (c *LakeFormation) ListLFTagsRequest(input *ListLFTagsInput) (req *request.Request, output *ListLFTagsOutput)
- func (c *LakeFormation) ListLFTagsWithContext(ctx aws.Context, input *ListLFTagsInput, opts ...request.Option) (*ListLFTagsOutput, error)
- func (c *LakeFormation) ListPermissions(input *ListPermissionsInput) (*ListPermissionsOutput, error)
- func (c *LakeFormation) ListPermissionsPages(input *ListPermissionsInput, fn func(*ListPermissionsOutput, bool) bool) error
- func (c *LakeFormation) ListPermissionsPagesWithContext(ctx aws.Context, input *ListPermissionsInput, ...) error
- func (c *LakeFormation) ListPermissionsRequest(input *ListPermissionsInput) (req *request.Request, output *ListPermissionsOutput)
- func (c *LakeFormation) ListPermissionsWithContext(ctx aws.Context, input *ListPermissionsInput, opts ...request.Option) (*ListPermissionsOutput, error)
- func (c *LakeFormation) ListResources(input *ListResourcesInput) (*ListResourcesOutput, error)
- func (c *LakeFormation) ListResourcesPages(input *ListResourcesInput, fn func(*ListResourcesOutput, bool) bool) error
- func (c *LakeFormation) ListResourcesPagesWithContext(ctx aws.Context, input *ListResourcesInput, ...) error
- func (c *LakeFormation) ListResourcesRequest(input *ListResourcesInput) (req *request.Request, output *ListResourcesOutput)
- func (c *LakeFormation) ListResourcesWithContext(ctx aws.Context, input *ListResourcesInput, opts ...request.Option) (*ListResourcesOutput, error)
- func (c *LakeFormation) PutDataLakeSettings(input *PutDataLakeSettingsInput) (*PutDataLakeSettingsOutput, error)
- func (c *LakeFormation) PutDataLakeSettingsRequest(input *PutDataLakeSettingsInput) (req *request.Request, output *PutDataLakeSettingsOutput)
- func (c *LakeFormation) PutDataLakeSettingsWithContext(ctx aws.Context, input *PutDataLakeSettingsInput, opts ...request.Option) (*PutDataLakeSettingsOutput, error)
- func (c *LakeFormation) RegisterResource(input *RegisterResourceInput) (*RegisterResourceOutput, error)
- func (c *LakeFormation) RegisterResourceRequest(input *RegisterResourceInput) (req *request.Request, output *RegisterResourceOutput)
- func (c *LakeFormation) RegisterResourceWithContext(ctx aws.Context, input *RegisterResourceInput, opts ...request.Option) (*RegisterResourceOutput, error)
- func (c *LakeFormation) RemoveLFTagsFromResource(input *RemoveLFTagsFromResourceInput) (*RemoveLFTagsFromResourceOutput, error)
- func (c *LakeFormation) RemoveLFTagsFromResourceRequest(input *RemoveLFTagsFromResourceInput) (req *request.Request, output *RemoveLFTagsFromResourceOutput)
- func (c *LakeFormation) RemoveLFTagsFromResourceWithContext(ctx aws.Context, input *RemoveLFTagsFromResourceInput, opts ...request.Option) (*RemoveLFTagsFromResourceOutput, error)
- func (c *LakeFormation) RevokePermissions(input *RevokePermissionsInput) (*RevokePermissionsOutput, error)
- func (c *LakeFormation) RevokePermissionsRequest(input *RevokePermissionsInput) (req *request.Request, output *RevokePermissionsOutput)
- func (c *LakeFormation) RevokePermissionsWithContext(ctx aws.Context, input *RevokePermissionsInput, opts ...request.Option) (*RevokePermissionsOutput, error)
- func (c *LakeFormation) SearchDatabasesByLFTags(input *SearchDatabasesByLFTagsInput) (*SearchDatabasesByLFTagsOutput, error)
- func (c *LakeFormation) SearchDatabasesByLFTagsRequest(input *SearchDatabasesByLFTagsInput) (req *request.Request, output *SearchDatabasesByLFTagsOutput)
- func (c *LakeFormation) SearchDatabasesByLFTagsWithContext(ctx aws.Context, input *SearchDatabasesByLFTagsInput, opts ...request.Option) (*SearchDatabasesByLFTagsOutput, error)
- func (c *LakeFormation) SearchTablesByLFTags(input *SearchTablesByLFTagsInput) (*SearchTablesByLFTagsOutput, error)
- func (c *LakeFormation) SearchTablesByLFTagsRequest(input *SearchTablesByLFTagsInput) (req *request.Request, output *SearchTablesByLFTagsOutput)
- func (c *LakeFormation) SearchTablesByLFTagsWithContext(ctx aws.Context, input *SearchTablesByLFTagsInput, opts ...request.Option) (*SearchTablesByLFTagsOutput, error)
- func (c *LakeFormation) UpdateLFTag(input *UpdateLFTagInput) (*UpdateLFTagOutput, error)
- func (c *LakeFormation) UpdateLFTagRequest(input *UpdateLFTagInput) (req *request.Request, output *UpdateLFTagOutput)
- func (c *LakeFormation) UpdateLFTagWithContext(ctx aws.Context, input *UpdateLFTagInput, opts ...request.Option) (*UpdateLFTagOutput, error)
- func (c *LakeFormation) UpdateResource(input *UpdateResourceInput) (*UpdateResourceOutput, error)
- func (c *LakeFormation) UpdateResourceRequest(input *UpdateResourceInput) (req *request.Request, output *UpdateResourceOutput)
- func (c *LakeFormation) UpdateResourceWithContext(ctx aws.Context, input *UpdateResourceInput, opts ...request.Option) (*UpdateResourceOutput, error)
- type ListLFTagsInput
- func (s ListLFTagsInput) GoString() string
- func (s *ListLFTagsInput) SetCatalogId(v string) *ListLFTagsInput
- func (s *ListLFTagsInput) SetMaxResults(v int64) *ListLFTagsInput
- func (s *ListLFTagsInput) SetNextToken(v string) *ListLFTagsInput
- func (s *ListLFTagsInput) SetResourceShareType(v string) *ListLFTagsInput
- func (s ListLFTagsInput) String() string
- func (s *ListLFTagsInput) Validate() error
- type ListLFTagsOutput
- type ListPermissionsInput
- func (s ListPermissionsInput) GoString() string
- func (s *ListPermissionsInput) SetCatalogId(v string) *ListPermissionsInput
- func (s *ListPermissionsInput) SetMaxResults(v int64) *ListPermissionsInput
- func (s *ListPermissionsInput) SetNextToken(v string) *ListPermissionsInput
- func (s *ListPermissionsInput) SetPrincipal(v *DataLakePrincipal) *ListPermissionsInput
- func (s *ListPermissionsInput) SetResource(v *Resource) *ListPermissionsInput
- func (s *ListPermissionsInput) SetResourceType(v string) *ListPermissionsInput
- func (s ListPermissionsInput) String() string
- func (s *ListPermissionsInput) Validate() error
- type ListPermissionsOutput
- type ListResourcesInput
- func (s ListResourcesInput) GoString() string
- func (s *ListResourcesInput) SetFilterConditionList(v []*FilterCondition) *ListResourcesInput
- func (s *ListResourcesInput) SetMaxResults(v int64) *ListResourcesInput
- func (s *ListResourcesInput) SetNextToken(v string) *ListResourcesInput
- func (s ListResourcesInput) String() string
- func (s *ListResourcesInput) Validate() error
- type ListResourcesOutput
- type OperationTimeoutException
- func (s *OperationTimeoutException) Code() string
- func (s *OperationTimeoutException) Error() string
- func (s OperationTimeoutException) GoString() string
- func (s *OperationTimeoutException) Message() string
- func (s *OperationTimeoutException) OrigErr() error
- func (s *OperationTimeoutException) RequestID() string
- func (s *OperationTimeoutException) StatusCode() int
- func (s OperationTimeoutException) String() string
- type PrincipalPermissions
- func (s PrincipalPermissions) GoString() string
- func (s *PrincipalPermissions) SetPermissions(v []*string) *PrincipalPermissions
- func (s *PrincipalPermissions) SetPrincipal(v *DataLakePrincipal) *PrincipalPermissions
- func (s PrincipalPermissions) String() string
- func (s *PrincipalPermissions) Validate() error
- type PrincipalResourcePermissions
- func (s PrincipalResourcePermissions) GoString() string
- func (s *PrincipalResourcePermissions) SetAdditionalDetails(v *DetailsMap) *PrincipalResourcePermissions
- func (s *PrincipalResourcePermissions) SetPermissions(v []*string) *PrincipalResourcePermissions
- func (s *PrincipalResourcePermissions) SetPermissionsWithGrantOption(v []*string) *PrincipalResourcePermissions
- func (s *PrincipalResourcePermissions) SetPrincipal(v *DataLakePrincipal) *PrincipalResourcePermissions
- func (s *PrincipalResourcePermissions) SetResource(v *Resource) *PrincipalResourcePermissions
- func (s PrincipalResourcePermissions) String() string
- type PutDataLakeSettingsInput
- func (s PutDataLakeSettingsInput) GoString() string
- func (s *PutDataLakeSettingsInput) SetCatalogId(v string) *PutDataLakeSettingsInput
- func (s *PutDataLakeSettingsInput) SetDataLakeSettings(v *DataLakeSettings) *PutDataLakeSettingsInput
- func (s PutDataLakeSettingsInput) String() string
- func (s *PutDataLakeSettingsInput) Validate() error
- type PutDataLakeSettingsOutput
- type RegisterResourceInput
- func (s RegisterResourceInput) GoString() string
- func (s *RegisterResourceInput) SetResourceArn(v string) *RegisterResourceInput
- func (s *RegisterResourceInput) SetRoleArn(v string) *RegisterResourceInput
- func (s *RegisterResourceInput) SetUseServiceLinkedRole(v bool) *RegisterResourceInput
- func (s RegisterResourceInput) String() string
- func (s *RegisterResourceInput) Validate() error
- type RegisterResourceOutput
- type RemoveLFTagsFromResourceInput
- func (s RemoveLFTagsFromResourceInput) GoString() string
- func (s *RemoveLFTagsFromResourceInput) SetCatalogId(v string) *RemoveLFTagsFromResourceInput
- func (s *RemoveLFTagsFromResourceInput) SetLFTags(v []*LFTagPair) *RemoveLFTagsFromResourceInput
- func (s *RemoveLFTagsFromResourceInput) SetResource(v *Resource) *RemoveLFTagsFromResourceInput
- func (s RemoveLFTagsFromResourceInput) String() string
- func (s *RemoveLFTagsFromResourceInput) Validate() error
- type RemoveLFTagsFromResourceOutput
- type Resource
- func (s Resource) GoString() string
- func (s *Resource) SetCatalog(v *CatalogResource) *Resource
- func (s *Resource) SetDataLocation(v *DataLocationResource) *Resource
- func (s *Resource) SetDatabase(v *DatabaseResource) *Resource
- func (s *Resource) SetLFTag(v *LFTagKeyResource) *Resource
- func (s *Resource) SetLFTagPolicy(v *LFTagPolicyResource) *Resource
- func (s *Resource) SetTable(v *TableResource) *Resource
- func (s *Resource) SetTableWithColumns(v *TableWithColumnsResource) *Resource
- func (s Resource) String() string
- func (s *Resource) Validate() error
- type ResourceInfo
- type ResourceNumberLimitExceededException
- func (s *ResourceNumberLimitExceededException) Code() string
- func (s *ResourceNumberLimitExceededException) Error() string
- func (s ResourceNumberLimitExceededException) GoString() string
- func (s *ResourceNumberLimitExceededException) Message() string
- func (s *ResourceNumberLimitExceededException) OrigErr() error
- func (s *ResourceNumberLimitExceededException) RequestID() string
- func (s *ResourceNumberLimitExceededException) StatusCode() int
- func (s ResourceNumberLimitExceededException) String() string
- type RevokePermissionsInput
- func (s RevokePermissionsInput) GoString() string
- func (s *RevokePermissionsInput) SetCatalogId(v string) *RevokePermissionsInput
- func (s *RevokePermissionsInput) SetPermissions(v []*string) *RevokePermissionsInput
- func (s *RevokePermissionsInput) SetPermissionsWithGrantOption(v []*string) *RevokePermissionsInput
- func (s *RevokePermissionsInput) SetPrincipal(v *DataLakePrincipal) *RevokePermissionsInput
- func (s *RevokePermissionsInput) SetResource(v *Resource) *RevokePermissionsInput
- func (s RevokePermissionsInput) String() string
- func (s *RevokePermissionsInput) Validate() error
- type RevokePermissionsOutput
- type SearchDatabasesByLFTagsInput
- func (s SearchDatabasesByLFTagsInput) GoString() string
- func (s *SearchDatabasesByLFTagsInput) SetCatalogId(v string) *SearchDatabasesByLFTagsInput
- func (s *SearchDatabasesByLFTagsInput) SetExpression(v []*LFTag) *SearchDatabasesByLFTagsInput
- func (s *SearchDatabasesByLFTagsInput) SetMaxResults(v int64) *SearchDatabasesByLFTagsInput
- func (s *SearchDatabasesByLFTagsInput) SetNextToken(v string) *SearchDatabasesByLFTagsInput
- func (s SearchDatabasesByLFTagsInput) String() string
- func (s *SearchDatabasesByLFTagsInput) Validate() error
- type SearchDatabasesByLFTagsOutput
- func (s SearchDatabasesByLFTagsOutput) GoString() string
- func (s *SearchDatabasesByLFTagsOutput) SetDatabaseList(v []*TaggedDatabase) *SearchDatabasesByLFTagsOutput
- func (s *SearchDatabasesByLFTagsOutput) SetNextToken(v string) *SearchDatabasesByLFTagsOutput
- func (s SearchDatabasesByLFTagsOutput) String() string
- type SearchTablesByLFTagsInput
- func (s SearchTablesByLFTagsInput) GoString() string
- func (s *SearchTablesByLFTagsInput) SetCatalogId(v string) *SearchTablesByLFTagsInput
- func (s *SearchTablesByLFTagsInput) SetExpression(v []*LFTag) *SearchTablesByLFTagsInput
- func (s *SearchTablesByLFTagsInput) SetMaxResults(v int64) *SearchTablesByLFTagsInput
- func (s *SearchTablesByLFTagsInput) SetNextToken(v string) *SearchTablesByLFTagsInput
- func (s SearchTablesByLFTagsInput) String() string
- func (s *SearchTablesByLFTagsInput) Validate() error
- type SearchTablesByLFTagsOutput
- type TableResource
- func (s TableResource) GoString() string
- func (s *TableResource) SetCatalogId(v string) *TableResource
- func (s *TableResource) SetDatabaseName(v string) *TableResource
- func (s *TableResource) SetName(v string) *TableResource
- func (s *TableResource) SetTableWildcard(v *TableWildcard) *TableResource
- func (s TableResource) String() string
- func (s *TableResource) Validate() error
- type TableWildcard
- type TableWithColumnsResource
- func (s TableWithColumnsResource) GoString() string
- func (s *TableWithColumnsResource) SetCatalogId(v string) *TableWithColumnsResource
- func (s *TableWithColumnsResource) SetColumnNames(v []*string) *TableWithColumnsResource
- func (s *TableWithColumnsResource) SetColumnWildcard(v *ColumnWildcard) *TableWithColumnsResource
- func (s *TableWithColumnsResource) SetDatabaseName(v string) *TableWithColumnsResource
- func (s *TableWithColumnsResource) SetName(v string) *TableWithColumnsResource
- func (s TableWithColumnsResource) String() string
- func (s *TableWithColumnsResource) Validate() error
- type TaggedDatabase
- type TaggedTable
- func (s TaggedTable) GoString() string
- func (s *TaggedTable) SetLFTagOnDatabase(v []*LFTagPair) *TaggedTable
- func (s *TaggedTable) SetLFTagsOnColumns(v []*ColumnLFTag) *TaggedTable
- func (s *TaggedTable) SetLFTagsOnTable(v []*LFTagPair) *TaggedTable
- func (s *TaggedTable) SetTable(v *TableResource) *TaggedTable
- func (s TaggedTable) String() string
- type UpdateLFTagInput
- func (s UpdateLFTagInput) GoString() string
- func (s *UpdateLFTagInput) SetCatalogId(v string) *UpdateLFTagInput
- func (s *UpdateLFTagInput) SetTagKey(v string) *UpdateLFTagInput
- func (s *UpdateLFTagInput) SetTagValuesToAdd(v []*string) *UpdateLFTagInput
- func (s *UpdateLFTagInput) SetTagValuesToDelete(v []*string) *UpdateLFTagInput
- func (s UpdateLFTagInput) String() string
- func (s *UpdateLFTagInput) Validate() error
- type UpdateLFTagOutput
- type UpdateResourceInput
- type UpdateResourceOutput
Constants ¶
const ( // ComparisonOperatorEq is a ComparisonOperator enum value ComparisonOperatorEq = "EQ" // ComparisonOperatorNe is a ComparisonOperator enum value ComparisonOperatorNe = "NE" // ComparisonOperatorLe is a ComparisonOperator enum value ComparisonOperatorLe = "LE" // ComparisonOperatorLt is a ComparisonOperator enum value ComparisonOperatorLt = "LT" // ComparisonOperatorGe is a ComparisonOperator enum value ComparisonOperatorGe = "GE" // ComparisonOperatorGt is a ComparisonOperator enum value ComparisonOperatorGt = "GT" // ComparisonOperatorContains is a ComparisonOperator enum value ComparisonOperatorContains = "CONTAINS" // ComparisonOperatorNotContains is a ComparisonOperator enum value ComparisonOperatorNotContains = "NOT_CONTAINS" // ComparisonOperatorBeginsWith is a ComparisonOperator enum value ComparisonOperatorBeginsWith = "BEGINS_WITH" // ComparisonOperatorIn is a ComparisonOperator enum value ComparisonOperatorIn = "IN" // ComparisonOperatorBetween is a ComparisonOperator enum value ComparisonOperatorBetween = "BETWEEN" )
const ( // DataLakeResourceTypeCatalog is a DataLakeResourceType enum value DataLakeResourceTypeCatalog = "CATALOG" // DataLakeResourceTypeDatabase is a DataLakeResourceType enum value DataLakeResourceTypeDatabase = "DATABASE" // DataLakeResourceTypeTable is a DataLakeResourceType enum value DataLakeResourceTypeTable = "TABLE" // DataLakeResourceTypeDataLocation is a DataLakeResourceType enum value DataLakeResourceTypeDataLocation = "DATA_LOCATION" // DataLakeResourceTypeLfTag is a DataLakeResourceType enum value DataLakeResourceTypeLfTag = "LF_TAG" // DataLakeResourceTypeLfTagPolicy is a DataLakeResourceType enum value DataLakeResourceTypeLfTagPolicy = "LF_TAG_POLICY" // DataLakeResourceTypeLfTagPolicyDatabase is a DataLakeResourceType enum value DataLakeResourceTypeLfTagPolicyDatabase = "LF_TAG_POLICY_DATABASE" // DataLakeResourceTypeLfTagPolicyTable is a DataLakeResourceType enum value DataLakeResourceTypeLfTagPolicyTable = "LF_TAG_POLICY_TABLE" )
const ( // FieldNameStringResourceArn is a FieldNameString enum value FieldNameStringResourceArn = "RESOURCE_ARN" // FieldNameStringRoleArn is a FieldNameString enum value FieldNameStringRoleArn = "ROLE_ARN" // FieldNameStringLastModified is a FieldNameString enum value FieldNameStringLastModified = "LAST_MODIFIED" )
const ( // PermissionAll is a Permission enum value PermissionAll = "ALL" // PermissionSelect is a Permission enum value PermissionSelect = "SELECT" // PermissionAlter is a Permission enum value PermissionAlter = "ALTER" // PermissionDrop is a Permission enum value PermissionDrop = "DROP" // PermissionDelete is a Permission enum value PermissionDelete = "DELETE" // PermissionInsert is a Permission enum value PermissionInsert = "INSERT" // PermissionDescribe is a Permission enum value PermissionDescribe = "DESCRIBE" // PermissionCreateDatabase is a Permission enum value PermissionCreateDatabase = "CREATE_DATABASE" // PermissionCreateTable is a Permission enum value PermissionCreateTable = "CREATE_TABLE" // PermissionDataLocationAccess is a Permission enum value PermissionDataLocationAccess = "DATA_LOCATION_ACCESS" // PermissionCreateTag is a Permission enum value PermissionCreateTag = "CREATE_TAG" // PermissionAlterTag is a Permission enum value PermissionAlterTag = "ALTER_TAG" // PermissionDeleteTag is a Permission enum value PermissionDeleteTag = "DELETE_TAG" // PermissionDescribeTag is a Permission enum value PermissionDescribeTag = "DESCRIBE_TAG" // PermissionAssociateTag is a Permission enum value PermissionAssociateTag = "ASSOCIATE_TAG" )
const (ResourceShareTypeForeign = "FOREIGN" ResourceShareTypeAll = "ALL" )
const ( // ResourceTypeDatabase is a ResourceType enum value ResourceTypeDatabase = "DATABASE" // ResourceTypeTable is a ResourceType enum value ResourceTypeTable = "TABLE" )
const ( // ErrCodeAccessDeniedException for service response error code // "AccessDeniedException". // // Access to a resource was denied. ErrCodeAccessDeniedException = "AccessDeniedException" // ErrCodeAlreadyExistsException for service response error code // "AlreadyExistsException". // // A resource to be created or added already exists. ErrCodeAlreadyExistsException = "AlreadyExistsException" // ErrCodeConcurrentModificationException for service response error code // "ConcurrentModificationException". // // Two processes are trying to modify a resource simultaneously. ErrCodeConcurrentModificationException = "ConcurrentModificationException" // ErrCodeEntityNotFoundException for service response error code // "EntityNotFoundException". // // A specified entity does not exist ErrCodeEntityNotFoundException = "EntityNotFoundException" // ErrCodeGlueEncryptionException for service response error code // "GlueEncryptionException". // // An encryption operation failed. ErrCodeGlueEncryptionException = "GlueEncryptionException" // ErrCodeInternalServiceException for service response error code // "InternalServiceException". // // An internal service error occurred. ErrCodeInternalServiceException = "InternalServiceException" // ErrCodeInvalidInputException for service response error code // "InvalidInputException". // // The input provided was not valid. ErrCodeInvalidInputException = "InvalidInputException" // ErrCodeOperationTimeoutException for service response error code // "OperationTimeoutException". // // The operation timed out. ErrCodeOperationTimeoutException = "OperationTimeoutException" // ErrCodeResourceNumberLimitExceededException for service response error code // "ResourceNumberLimitExceededException". // // A resource numerical limit was exceeded. ErrCodeResourceNumberLimitExceededException = "ResourceNumberLimitExceededException" )
const ( ServiceName = "LakeFormation" // Name of service. EndpointsID = "lakeformation" // ID to lookup a service endpoint with. ServiceID = "LakeFormation" // ServiceID is a unique identifier of a specific service. )
Service information constants
Variables ¶
This section is empty.
Functions ¶
func ComparisonOperator_Values ¶ added in v1.34.3
func ComparisonOperator_Values() []string
ComparisonOperator_Values returns all elements of the ComparisonOperator enum
func DataLakeResourceType_Values ¶ added in v1.34.3
func DataLakeResourceType_Values() []string
DataLakeResourceType_Values returns all elements of the DataLakeResourceType enum
func FieldNameString_Values ¶ added in v1.34.3
func FieldNameString_Values() []string
FieldNameString_Values returns all elements of the FieldNameString enum
func Permission_Values ¶ added in v1.34.3
func Permission_Values() []string
Permission_Values returns all elements of the Permission enum
func ResourceShareType_Values ¶ added in v1.38.36
func ResourceShareType_Values() []string
ResourceShareType_Values returns all elements of the ResourceShareType enum
func ResourceType_Values ¶ added in v1.38.36
func ResourceType_Values() []string
ResourceType_Values returns all elements of the ResourceType enum
Types ¶
type AccessDeniedException ¶ added in v1.38.36
type AccessDeniedException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` // A message describing the problem. Message_ *string `locationName:"Message" type:"string"` // contains filtered or unexported fields }
Access to a resource was denied.
func (*AccessDeniedException) Code ¶ added in v1.38.36
func (s *AccessDeniedException) Code() string
Code returns the exception type name.
func (*AccessDeniedException) Error ¶ added in v1.38.36
func (s *AccessDeniedException) Error() string
func (AccessDeniedException) GoString ¶ added in v1.38.36
func (s AccessDeniedException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*AccessDeniedException) Message ¶ added in v1.38.36
func (s *AccessDeniedException) Message() string
Message returns the exception's message.
func (*AccessDeniedException) OrigErr ¶ added in v1.38.36
func (s *AccessDeniedException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*AccessDeniedException) RequestID ¶ added in v1.38.36
func (s *AccessDeniedException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*AccessDeniedException) StatusCode ¶ added in v1.38.36
func (s *AccessDeniedException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (AccessDeniedException) String ¶ added in v1.38.36
func (s AccessDeniedException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type AddLFTagsToResourceInput ¶ added in v1.38.36
type AddLFTagsToResourceInput struct { // 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. CatalogId *string `min:"1" type:"string"` // The tags to attach to the resource. // // LFTags is a required field LFTags []*LFTagPair `min:"1" type:"list" required:"true"` // The resource to which to attach a tag. // // Resource is a required field Resource *Resource `type:"structure" required:"true"` // contains filtered or unexported fields }
func (AddLFTagsToResourceInput) GoString ¶ added in v1.38.36
func (s AddLFTagsToResourceInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*AddLFTagsToResourceInput) SetCatalogId ¶ added in v1.38.36
func (s *AddLFTagsToResourceInput) SetCatalogId(v string) *AddLFTagsToResourceInput
SetCatalogId sets the CatalogId field's value.
func (*AddLFTagsToResourceInput) SetLFTags ¶ added in v1.38.36
func (s *AddLFTagsToResourceInput) SetLFTags(v []*LFTagPair) *AddLFTagsToResourceInput
SetLFTags sets the LFTags field's value.
func (*AddLFTagsToResourceInput) SetResource ¶ added in v1.38.36
func (s *AddLFTagsToResourceInput) SetResource(v *Resource) *AddLFTagsToResourceInput
SetResource sets the Resource field's value.
func (AddLFTagsToResourceInput) String ¶ added in v1.38.36
func (s AddLFTagsToResourceInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*AddLFTagsToResourceInput) Validate ¶ added in v1.38.36
func (s *AddLFTagsToResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AddLFTagsToResourceOutput ¶ added in v1.38.36
type AddLFTagsToResourceOutput struct { // A list of failures to tag the resource. Failures []*LFTagError `type:"list"` // contains filtered or unexported fields }
func (AddLFTagsToResourceOutput) GoString ¶ added in v1.38.36
func (s AddLFTagsToResourceOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*AddLFTagsToResourceOutput) SetFailures ¶ added in v1.38.36
func (s *AddLFTagsToResourceOutput) SetFailures(v []*LFTagError) *AddLFTagsToResourceOutput
SetFailures sets the Failures field's value.
func (AddLFTagsToResourceOutput) String ¶ added in v1.38.36
func (s AddLFTagsToResourceOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type AlreadyExistsException ¶ added in v1.28.0
type AlreadyExistsException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` // A message describing the problem. Message_ *string `locationName:"Message" type:"string"` // contains filtered or unexported fields }
A resource to be created or added already exists.
func (*AlreadyExistsException) Code ¶ added in v1.28.0
func (s *AlreadyExistsException) Code() string
Code returns the exception type name.
func (*AlreadyExistsException) Error ¶ added in v1.28.0
func (s *AlreadyExistsException) Error() string
func (AlreadyExistsException) GoString ¶ added in v1.28.0
func (s AlreadyExistsException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*AlreadyExistsException) Message ¶ added in v1.28.0
func (s *AlreadyExistsException) Message() string
Message returns the exception's message.
func (*AlreadyExistsException) OrigErr ¶ added in v1.28.0
func (s *AlreadyExistsException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*AlreadyExistsException) RequestID ¶ added in v1.28.0
func (s *AlreadyExistsException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*AlreadyExistsException) StatusCode ¶ added in v1.28.0
func (s *AlreadyExistsException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (AlreadyExistsException) String ¶ added in v1.28.0
func (s AlreadyExistsException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type BatchGrantPermissionsInput ¶
type BatchGrantPermissionsInput struct { // 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. CatalogId *string `min:"1" type:"string"` // A list of up to 20 entries for resource permissions to be granted by batch // operation to the principal. // // Entries is a required field Entries []*BatchPermissionsRequestEntry `type:"list" required:"true"` // contains filtered or unexported fields }
func (BatchGrantPermissionsInput) GoString ¶
func (s BatchGrantPermissionsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*BatchGrantPermissionsInput) SetCatalogId ¶
func (s *BatchGrantPermissionsInput) SetCatalogId(v string) *BatchGrantPermissionsInput
SetCatalogId sets the CatalogId field's value.
func (*BatchGrantPermissionsInput) SetEntries ¶
func (s *BatchGrantPermissionsInput) SetEntries(v []*BatchPermissionsRequestEntry) *BatchGrantPermissionsInput
SetEntries sets the Entries field's value.
func (BatchGrantPermissionsInput) String ¶
func (s BatchGrantPermissionsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*BatchGrantPermissionsInput) Validate ¶
func (s *BatchGrantPermissionsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type BatchGrantPermissionsOutput ¶
type BatchGrantPermissionsOutput struct { // A list of failures to grant permissions to the resources. Failures []*BatchPermissionsFailureEntry `type:"list"` // contains filtered or unexported fields }
func (BatchGrantPermissionsOutput) GoString ¶
func (s BatchGrantPermissionsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*BatchGrantPermissionsOutput) SetFailures ¶
func (s *BatchGrantPermissionsOutput) SetFailures(v []*BatchPermissionsFailureEntry) *BatchGrantPermissionsOutput
SetFailures sets the Failures field's value.
func (BatchGrantPermissionsOutput) String ¶
func (s BatchGrantPermissionsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type BatchPermissionsFailureEntry ¶
type BatchPermissionsFailureEntry struct { // An error message that applies to the failure of the entry. Error *ErrorDetail `type:"structure"` // An identifier for an entry of the batch request. RequestEntry *BatchPermissionsRequestEntry `type:"structure"` // contains filtered or unexported fields }
A list of failures when performing a batch grant or batch revoke operation.
func (BatchPermissionsFailureEntry) GoString ¶
func (s BatchPermissionsFailureEntry) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*BatchPermissionsFailureEntry) SetError ¶
func (s *BatchPermissionsFailureEntry) SetError(v *ErrorDetail) *BatchPermissionsFailureEntry
SetError sets the Error field's value.
func (*BatchPermissionsFailureEntry) SetRequestEntry ¶
func (s *BatchPermissionsFailureEntry) SetRequestEntry(v *BatchPermissionsRequestEntry) *BatchPermissionsFailureEntry
SetRequestEntry sets the RequestEntry field's value.
func (BatchPermissionsFailureEntry) String ¶
func (s BatchPermissionsFailureEntry) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type BatchPermissionsRequestEntry ¶
type BatchPermissionsRequestEntry struct { // A unique identifier for the batch permissions request entry. // // Id is a required field Id *string `min:"1" type:"string" required:"true"` // The permissions to be granted. Permissions []*string `type:"list"` // Indicates if the option to pass permissions is granted. PermissionsWithGrantOption []*string `type:"list"` // The principal to be granted a permission. Principal *DataLakePrincipal `type:"structure"` // The resource to which the principal is to be granted a permission. Resource *Resource `type:"structure"` // contains filtered or unexported fields }
A permission to a resource granted by batch operation to the principal.
func (BatchPermissionsRequestEntry) GoString ¶
func (s BatchPermissionsRequestEntry) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*BatchPermissionsRequestEntry) SetId ¶
func (s *BatchPermissionsRequestEntry) SetId(v string) *BatchPermissionsRequestEntry
SetId sets the Id field's value.
func (*BatchPermissionsRequestEntry) SetPermissions ¶
func (s *BatchPermissionsRequestEntry) SetPermissions(v []*string) *BatchPermissionsRequestEntry
SetPermissions sets the Permissions field's value.
func (*BatchPermissionsRequestEntry) SetPermissionsWithGrantOption ¶
func (s *BatchPermissionsRequestEntry) SetPermissionsWithGrantOption(v []*string) *BatchPermissionsRequestEntry
SetPermissionsWithGrantOption sets the PermissionsWithGrantOption field's value.
func (*BatchPermissionsRequestEntry) SetPrincipal ¶
func (s *BatchPermissionsRequestEntry) SetPrincipal(v *DataLakePrincipal) *BatchPermissionsRequestEntry
SetPrincipal sets the Principal field's value.
func (*BatchPermissionsRequestEntry) SetResource ¶
func (s *BatchPermissionsRequestEntry) SetResource(v *Resource) *BatchPermissionsRequestEntry
SetResource sets the Resource field's value.
func (BatchPermissionsRequestEntry) String ¶
func (s BatchPermissionsRequestEntry) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*BatchPermissionsRequestEntry) Validate ¶
func (s *BatchPermissionsRequestEntry) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type BatchRevokePermissionsInput ¶
type BatchRevokePermissionsInput struct { // 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. CatalogId *string `min:"1" type:"string"` // A list of up to 20 entries for resource permissions to be revoked by batch // operation to the principal. // // Entries is a required field Entries []*BatchPermissionsRequestEntry `type:"list" required:"true"` // contains filtered or unexported fields }
func (BatchRevokePermissionsInput) GoString ¶
func (s BatchRevokePermissionsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*BatchRevokePermissionsInput) SetCatalogId ¶
func (s *BatchRevokePermissionsInput) SetCatalogId(v string) *BatchRevokePermissionsInput
SetCatalogId sets the CatalogId field's value.
func (*BatchRevokePermissionsInput) SetEntries ¶
func (s *BatchRevokePermissionsInput) SetEntries(v []*BatchPermissionsRequestEntry) *BatchRevokePermissionsInput
SetEntries sets the Entries field's value.
func (BatchRevokePermissionsInput) String ¶
func (s BatchRevokePermissionsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*BatchRevokePermissionsInput) Validate ¶
func (s *BatchRevokePermissionsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type BatchRevokePermissionsOutput ¶
type BatchRevokePermissionsOutput struct { // A list of failures to revoke permissions to the resources. Failures []*BatchPermissionsFailureEntry `type:"list"` // contains filtered or unexported fields }
func (BatchRevokePermissionsOutput) GoString ¶
func (s BatchRevokePermissionsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*BatchRevokePermissionsOutput) SetFailures ¶
func (s *BatchRevokePermissionsOutput) SetFailures(v []*BatchPermissionsFailureEntry) *BatchRevokePermissionsOutput
SetFailures sets the Failures field's value.
func (BatchRevokePermissionsOutput) String ¶
func (s BatchRevokePermissionsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type CatalogResource ¶
type CatalogResource struct {
// contains filtered or unexported fields
}
A structure for the catalog object.
func (CatalogResource) GoString ¶
func (s CatalogResource) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (CatalogResource) String ¶
func (s CatalogResource) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ColumnLFTag ¶ added in v1.38.36
type ColumnLFTag struct { // The tags attached to a column resource. LFTags []*LFTagPair `min:"1" type:"list"` // The name of a column resource. Name *string `min:"1" type:"string"` // contains filtered or unexported fields }
A structure containing the name of a column resource and the tags attached to it.
func (ColumnLFTag) GoString ¶ added in v1.38.36
func (s ColumnLFTag) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ColumnLFTag) SetLFTags ¶ added in v1.38.36
func (s *ColumnLFTag) SetLFTags(v []*LFTagPair) *ColumnLFTag
SetLFTags sets the LFTags field's value.
func (*ColumnLFTag) SetName ¶ added in v1.38.36
func (s *ColumnLFTag) SetName(v string) *ColumnLFTag
SetName sets the Name field's value.
func (ColumnLFTag) String ¶ added in v1.38.36
func (s ColumnLFTag) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ColumnWildcard ¶
type ColumnWildcard struct { // Excludes column names. Any column with this name will be excluded. ExcludedColumnNames []*string `type:"list"` // contains filtered or unexported fields }
A wildcard object, consisting of an optional list of excluded column names or indexes.
func (ColumnWildcard) GoString ¶
func (s ColumnWildcard) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ColumnWildcard) SetExcludedColumnNames ¶
func (s *ColumnWildcard) SetExcludedColumnNames(v []*string) *ColumnWildcard
SetExcludedColumnNames sets the ExcludedColumnNames field's value.
func (ColumnWildcard) String ¶
func (s ColumnWildcard) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ConcurrentModificationException ¶ added in v1.28.0
type ConcurrentModificationException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` // A message describing the problem. Message_ *string `locationName:"Message" type:"string"` // contains filtered or unexported fields }
Two processes are trying to modify a resource simultaneously.
func (*ConcurrentModificationException) Code ¶ added in v1.28.0
func (s *ConcurrentModificationException) Code() string
Code returns the exception type name.
func (*ConcurrentModificationException) Error ¶ added in v1.28.0
func (s *ConcurrentModificationException) Error() string
func (ConcurrentModificationException) GoString ¶ added in v1.28.0
func (s ConcurrentModificationException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ConcurrentModificationException) Message ¶ added in v1.28.0
func (s *ConcurrentModificationException) Message() string
Message returns the exception's message.
func (*ConcurrentModificationException) OrigErr ¶ added in v1.28.0
func (s *ConcurrentModificationException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*ConcurrentModificationException) RequestID ¶ added in v1.28.0
func (s *ConcurrentModificationException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*ConcurrentModificationException) StatusCode ¶ added in v1.28.0
func (s *ConcurrentModificationException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (ConcurrentModificationException) String ¶ added in v1.28.0
func (s ConcurrentModificationException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type CreateLFTagInput ¶ added in v1.38.36
type CreateLFTagInput struct { // 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. CatalogId *string `min:"1" type:"string"` // The key-name for the tag. // // TagKey is a required field TagKey *string `min:"1" type:"string" required:"true"` // A list of possible values an attribute can take. // // TagValues is a required field TagValues []*string `min:"1" type:"list" required:"true"` // contains filtered or unexported fields }
func (CreateLFTagInput) GoString ¶ added in v1.38.36
func (s CreateLFTagInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateLFTagInput) SetCatalogId ¶ added in v1.38.36
func (s *CreateLFTagInput) SetCatalogId(v string) *CreateLFTagInput
SetCatalogId sets the CatalogId field's value.
func (*CreateLFTagInput) SetTagKey ¶ added in v1.38.36
func (s *CreateLFTagInput) SetTagKey(v string) *CreateLFTagInput
SetTagKey sets the TagKey field's value.
func (*CreateLFTagInput) SetTagValues ¶ added in v1.38.36
func (s *CreateLFTagInput) SetTagValues(v []*string) *CreateLFTagInput
SetTagValues sets the TagValues field's value.
func (CreateLFTagInput) String ¶ added in v1.38.36
func (s CreateLFTagInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateLFTagInput) Validate ¶ added in v1.38.36
func (s *CreateLFTagInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateLFTagOutput ¶ added in v1.38.36
type CreateLFTagOutput struct {
// contains filtered or unexported fields
}
func (CreateLFTagOutput) GoString ¶ added in v1.38.36
func (s CreateLFTagOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (CreateLFTagOutput) String ¶ added in v1.38.36
func (s CreateLFTagOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DataLakePrincipal ¶
type DataLakePrincipal struct { // An identifier for the AWS Lake Formation principal. DataLakePrincipalIdentifier *string `min:"1" type:"string"` // contains filtered or unexported fields }
The AWS Lake Formation principal. Supported principals are IAM users or IAM roles.
func (DataLakePrincipal) GoString ¶
func (s DataLakePrincipal) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DataLakePrincipal) SetDataLakePrincipalIdentifier ¶
func (s *DataLakePrincipal) SetDataLakePrincipalIdentifier(v string) *DataLakePrincipal
SetDataLakePrincipalIdentifier sets the DataLakePrincipalIdentifier field's value.
func (DataLakePrincipal) String ¶
func (s DataLakePrincipal) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DataLakePrincipal) Validate ¶
func (s *DataLakePrincipal) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DataLakeSettings ¶
type DataLakeSettings struct { // A structure representing a list of up to three principal permissions entries // for default create database permissions. CreateDatabaseDefaultPermissions []*PrincipalPermissions `type:"list"` // A structure representing a list of up to three principal permissions entries // for default create table permissions. CreateTableDefaultPermissions []*PrincipalPermissions `type:"list"` // A list of AWS Lake Formation principals. Supported principals are IAM users // or IAM roles. DataLakeAdmins []*DataLakePrincipal `type:"list"` // 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. // // You may want to specify this property when you are in a high-trust boundary, // such as the same team or company. TrustedResourceOwners []*string `type:"list"` // contains filtered or unexported fields }
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.
func (DataLakeSettings) GoString ¶
func (s DataLakeSettings) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DataLakeSettings) SetCreateDatabaseDefaultPermissions ¶
func (s *DataLakeSettings) SetCreateDatabaseDefaultPermissions(v []*PrincipalPermissions) *DataLakeSettings
SetCreateDatabaseDefaultPermissions sets the CreateDatabaseDefaultPermissions field's value.
func (*DataLakeSettings) SetCreateTableDefaultPermissions ¶
func (s *DataLakeSettings) SetCreateTableDefaultPermissions(v []*PrincipalPermissions) *DataLakeSettings
SetCreateTableDefaultPermissions sets the CreateTableDefaultPermissions field's value.
func (*DataLakeSettings) SetDataLakeAdmins ¶
func (s *DataLakeSettings) SetDataLakeAdmins(v []*DataLakePrincipal) *DataLakeSettings
SetDataLakeAdmins sets the DataLakeAdmins field's value.
func (*DataLakeSettings) SetTrustedResourceOwners ¶ added in v1.33.3
func (s *DataLakeSettings) SetTrustedResourceOwners(v []*string) *DataLakeSettings
SetTrustedResourceOwners sets the TrustedResourceOwners field's value.
func (DataLakeSettings) String ¶
func (s DataLakeSettings) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DataLakeSettings) Validate ¶
func (s *DataLakeSettings) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 `min:"1" type:"string"` // The Amazon Resource Name (ARN) that uniquely identifies the data location // resource. // // ResourceArn is a required field ResourceArn *string `type:"string" required:"true"` // contains filtered or unexported fields }
A structure for a data location object where permissions are granted or revoked.
func (DataLocationResource) GoString ¶
func (s DataLocationResource) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DataLocationResource) SetCatalogId ¶ added in v1.33.3
func (s *DataLocationResource) SetCatalogId(v string) *DataLocationResource
SetCatalogId sets the CatalogId field's value.
func (*DataLocationResource) SetResourceArn ¶
func (s *DataLocationResource) SetResourceArn(v string) *DataLocationResource
SetResourceArn sets the ResourceArn field's value.
func (DataLocationResource) String ¶
func (s DataLocationResource) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DataLocationResource) Validate ¶
func (s *DataLocationResource) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DatabaseResource ¶
type DatabaseResource struct { // The identifier for the Data Catalog. By default, it is the account ID of // the caller. CatalogId *string `min:"1" type:"string"` // The name of the database resource. Unique to the Data Catalog. // // Name is a required field Name *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
A structure for the database object.
func (DatabaseResource) GoString ¶
func (s DatabaseResource) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DatabaseResource) SetCatalogId ¶ added in v1.33.3
func (s *DatabaseResource) SetCatalogId(v string) *DatabaseResource
SetCatalogId sets the CatalogId field's value.
func (*DatabaseResource) SetName ¶
func (s *DatabaseResource) SetName(v string) *DatabaseResource
SetName sets the Name field's value.
func (DatabaseResource) String ¶
func (s DatabaseResource) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DatabaseResource) Validate ¶
func (s *DatabaseResource) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteLFTagInput ¶ added in v1.38.36
type DeleteLFTagInput struct { // 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. CatalogId *string `min:"1" type:"string"` // The key-name for the tag to delete. // // TagKey is a required field TagKey *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (DeleteLFTagInput) GoString ¶ added in v1.38.36
func (s DeleteLFTagInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DeleteLFTagInput) SetCatalogId ¶ added in v1.38.36
func (s *DeleteLFTagInput) SetCatalogId(v string) *DeleteLFTagInput
SetCatalogId sets the CatalogId field's value.
func (*DeleteLFTagInput) SetTagKey ¶ added in v1.38.36
func (s *DeleteLFTagInput) SetTagKey(v string) *DeleteLFTagInput
SetTagKey sets the TagKey field's value.
func (DeleteLFTagInput) String ¶ added in v1.38.36
func (s DeleteLFTagInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DeleteLFTagInput) Validate ¶ added in v1.38.36
func (s *DeleteLFTagInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteLFTagOutput ¶ added in v1.38.36
type DeleteLFTagOutput struct {
// contains filtered or unexported fields
}
func (DeleteLFTagOutput) GoString ¶ added in v1.38.36
func (s DeleteLFTagOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (DeleteLFTagOutput) String ¶ added in v1.38.36
func (s DeleteLFTagOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DeregisterResourceInput ¶
type DeregisterResourceInput struct { // The Amazon Resource Name (ARN) of the resource that you want to deregister. // // ResourceArn is a required field ResourceArn *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (DeregisterResourceInput) GoString ¶
func (s DeregisterResourceInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DeregisterResourceInput) SetResourceArn ¶
func (s *DeregisterResourceInput) SetResourceArn(v string) *DeregisterResourceInput
SetResourceArn sets the ResourceArn field's value.
func (DeregisterResourceInput) String ¶
func (s DeregisterResourceInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DeregisterResourceInput) Validate ¶
func (s *DeregisterResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeregisterResourceOutput ¶
type DeregisterResourceOutput struct {
// contains filtered or unexported fields
}
func (DeregisterResourceOutput) GoString ¶
func (s DeregisterResourceOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (DeregisterResourceOutput) String ¶
func (s DeregisterResourceOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DescribeResourceInput ¶
type DescribeResourceInput struct { // The resource ARN. // // ResourceArn is a required field ResourceArn *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (DescribeResourceInput) GoString ¶
func (s DescribeResourceInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DescribeResourceInput) SetResourceArn ¶
func (s *DescribeResourceInput) SetResourceArn(v string) *DescribeResourceInput
SetResourceArn sets the ResourceArn field's value.
func (DescribeResourceInput) String ¶
func (s DescribeResourceInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DescribeResourceInput) Validate ¶
func (s *DescribeResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeResourceOutput ¶
type DescribeResourceOutput struct { // A structure containing information about an AWS Lake Formation resource. ResourceInfo *ResourceInfo `type:"structure"` // contains filtered or unexported fields }
func (DescribeResourceOutput) GoString ¶
func (s DescribeResourceOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DescribeResourceOutput) SetResourceInfo ¶
func (s *DescribeResourceOutput) SetResourceInfo(v *ResourceInfo) *DescribeResourceOutput
SetResourceInfo sets the ResourceInfo field's value.
func (DescribeResourceOutput) String ¶
func (s DescribeResourceOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DetailsMap ¶ added in v1.34.8
type DetailsMap struct { // Manager (AWS RAM). ResourceShare []*string `type:"list"` // contains filtered or unexported fields }
A structure containing the additional details to be returned in the AdditionalDetails attribute of PrincipalResourcePermissions.
If a catalog resource is shared through AWS Resource Access Manager (AWS RAM), then there will exist a corresponding RAM resource share ARN.
func (DetailsMap) GoString ¶ added in v1.34.8
func (s DetailsMap) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DetailsMap) SetResourceShare ¶ added in v1.34.8
func (s *DetailsMap) SetResourceShare(v []*string) *DetailsMap
SetResourceShare sets the ResourceShare field's value.
func (DetailsMap) String ¶ added in v1.34.8
func (s DetailsMap) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type EntityNotFoundException ¶ added in v1.28.0
type EntityNotFoundException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` // A message describing the problem. Message_ *string `locationName:"Message" type:"string"` // contains filtered or unexported fields }
A specified entity does not exist
func (*EntityNotFoundException) Code ¶ added in v1.28.0
func (s *EntityNotFoundException) Code() string
Code returns the exception type name.
func (*EntityNotFoundException) Error ¶ added in v1.28.0
func (s *EntityNotFoundException) Error() string
func (EntityNotFoundException) GoString ¶ added in v1.28.0
func (s EntityNotFoundException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*EntityNotFoundException) Message ¶ added in v1.28.0
func (s *EntityNotFoundException) Message() string
Message returns the exception's message.
func (*EntityNotFoundException) OrigErr ¶ added in v1.28.0
func (s *EntityNotFoundException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*EntityNotFoundException) RequestID ¶ added in v1.28.0
func (s *EntityNotFoundException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*EntityNotFoundException) StatusCode ¶ added in v1.28.0
func (s *EntityNotFoundException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (EntityNotFoundException) String ¶ added in v1.28.0
func (s EntityNotFoundException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ErrorDetail ¶
type ErrorDetail struct { // The code associated with this error. ErrorCode *string `min:"1" type:"string"` // A message describing the error. ErrorMessage *string `type:"string"` // contains filtered or unexported fields }
Contains details about an error.
func (ErrorDetail) GoString ¶
func (s ErrorDetail) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ErrorDetail) SetErrorCode ¶
func (s *ErrorDetail) SetErrorCode(v string) *ErrorDetail
SetErrorCode sets the ErrorCode field's value.
func (*ErrorDetail) SetErrorMessage ¶
func (s *ErrorDetail) SetErrorMessage(v string) *ErrorDetail
SetErrorMessage sets the ErrorMessage field's value.
func (ErrorDetail) String ¶
func (s ErrorDetail) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type FilterCondition ¶
type FilterCondition struct { // The comparison operator used in the filter condition. ComparisonOperator *string `type:"string" enum:"ComparisonOperator"` // The field to filter in the filter condition. Field *string `type:"string" enum:"FieldNameString"` // A string with values used in evaluating the filter condition. StringValueList []*string `type:"list"` // contains filtered or unexported fields }
This structure describes the filtering of columns in a table based on a filter condition.
func (FilterCondition) GoString ¶
func (s FilterCondition) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*FilterCondition) SetComparisonOperator ¶
func (s *FilterCondition) SetComparisonOperator(v string) *FilterCondition
SetComparisonOperator sets the ComparisonOperator field's value.
func (*FilterCondition) SetField ¶
func (s *FilterCondition) SetField(v string) *FilterCondition
SetField sets the Field field's value.
func (*FilterCondition) SetStringValueList ¶
func (s *FilterCondition) SetStringValueList(v []*string) *FilterCondition
SetStringValueList sets the StringValueList field's value.
func (FilterCondition) String ¶
func (s FilterCondition) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetDataLakeSettingsInput ¶
type GetDataLakeSettingsInput struct { // 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. CatalogId *string `min:"1" type:"string"` // contains filtered or unexported fields }
func (GetDataLakeSettingsInput) GoString ¶
func (s GetDataLakeSettingsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetDataLakeSettingsInput) SetCatalogId ¶
func (s *GetDataLakeSettingsInput) SetCatalogId(v string) *GetDataLakeSettingsInput
SetCatalogId sets the CatalogId field's value.
func (GetDataLakeSettingsInput) String ¶
func (s GetDataLakeSettingsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetDataLakeSettingsInput) Validate ¶
func (s *GetDataLakeSettingsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetDataLakeSettingsOutput ¶
type GetDataLakeSettingsOutput struct { // A structure representing a list of AWS Lake Formation principals designated // as data lake administrators. DataLakeSettings *DataLakeSettings `type:"structure"` // contains filtered or unexported fields }
func (GetDataLakeSettingsOutput) GoString ¶
func (s GetDataLakeSettingsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetDataLakeSettingsOutput) SetDataLakeSettings ¶
func (s *GetDataLakeSettingsOutput) SetDataLakeSettings(v *DataLakeSettings) *GetDataLakeSettingsOutput
SetDataLakeSettings sets the DataLakeSettings field's value.
func (GetDataLakeSettingsOutput) String ¶
func (s GetDataLakeSettingsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetEffectivePermissionsForPathInput ¶
type GetEffectivePermissionsForPathInput struct { // 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. CatalogId *string `min:"1" type:"string"` // The maximum number of results to return. MaxResults *int64 `min:"1" type:"integer"` // A continuation token, if this is not the first call to retrieve this list. NextToken *string `type:"string"` // The Amazon Resource Name (ARN) of the resource for which you want to get // permissions. // // ResourceArn is a required field ResourceArn *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (GetEffectivePermissionsForPathInput) GoString ¶
func (s GetEffectivePermissionsForPathInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetEffectivePermissionsForPathInput) SetCatalogId ¶
func (s *GetEffectivePermissionsForPathInput) SetCatalogId(v string) *GetEffectivePermissionsForPathInput
SetCatalogId sets the CatalogId field's value.
func (*GetEffectivePermissionsForPathInput) SetMaxResults ¶
func (s *GetEffectivePermissionsForPathInput) SetMaxResults(v int64) *GetEffectivePermissionsForPathInput
SetMaxResults sets the MaxResults field's value.
func (*GetEffectivePermissionsForPathInput) SetNextToken ¶
func (s *GetEffectivePermissionsForPathInput) SetNextToken(v string) *GetEffectivePermissionsForPathInput
SetNextToken sets the NextToken field's value.
func (*GetEffectivePermissionsForPathInput) SetResourceArn ¶
func (s *GetEffectivePermissionsForPathInput) SetResourceArn(v string) *GetEffectivePermissionsForPathInput
SetResourceArn sets the ResourceArn field's value.
func (GetEffectivePermissionsForPathInput) String ¶
func (s GetEffectivePermissionsForPathInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetEffectivePermissionsForPathInput) Validate ¶
func (s *GetEffectivePermissionsForPathInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetEffectivePermissionsForPathOutput ¶
type GetEffectivePermissionsForPathOutput struct { // A continuation token, if this is not the first call to retrieve this list. NextToken *string `type:"string"` // A list of the permissions for the specified table or database resource located // at the path in Amazon S3. Permissions []*PrincipalResourcePermissions `type:"list"` // contains filtered or unexported fields }
func (GetEffectivePermissionsForPathOutput) GoString ¶
func (s GetEffectivePermissionsForPathOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetEffectivePermissionsForPathOutput) SetNextToken ¶
func (s *GetEffectivePermissionsForPathOutput) SetNextToken(v string) *GetEffectivePermissionsForPathOutput
SetNextToken sets the NextToken field's value.
func (*GetEffectivePermissionsForPathOutput) SetPermissions ¶
func (s *GetEffectivePermissionsForPathOutput) SetPermissions(v []*PrincipalResourcePermissions) *GetEffectivePermissionsForPathOutput
SetPermissions sets the Permissions field's value.
func (GetEffectivePermissionsForPathOutput) String ¶
func (s GetEffectivePermissionsForPathOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetLFTagInput ¶ added in v1.38.36
type GetLFTagInput struct { // 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. CatalogId *string `min:"1" type:"string"` // The key-name for the tag. // // TagKey is a required field TagKey *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (GetLFTagInput) GoString ¶ added in v1.38.36
func (s GetLFTagInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetLFTagInput) SetCatalogId ¶ added in v1.38.36
func (s *GetLFTagInput) SetCatalogId(v string) *GetLFTagInput
SetCatalogId sets the CatalogId field's value.
func (*GetLFTagInput) SetTagKey ¶ added in v1.38.36
func (s *GetLFTagInput) SetTagKey(v string) *GetLFTagInput
SetTagKey sets the TagKey field's value.
func (GetLFTagInput) String ¶ added in v1.38.36
func (s GetLFTagInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetLFTagInput) Validate ¶ added in v1.38.36
func (s *GetLFTagInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetLFTagOutput ¶ added in v1.38.36
type GetLFTagOutput struct { // 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. CatalogId *string `min:"1" type:"string"` // The key-name for the tag. TagKey *string `min:"1" type:"string"` // A list of possible values an attribute can take. TagValues []*string `min:"1" type:"list"` // contains filtered or unexported fields }
func (GetLFTagOutput) GoString ¶ added in v1.38.36
func (s GetLFTagOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetLFTagOutput) SetCatalogId ¶ added in v1.38.36
func (s *GetLFTagOutput) SetCatalogId(v string) *GetLFTagOutput
SetCatalogId sets the CatalogId field's value.
func (*GetLFTagOutput) SetTagKey ¶ added in v1.38.36
func (s *GetLFTagOutput) SetTagKey(v string) *GetLFTagOutput
SetTagKey sets the TagKey field's value.
func (*GetLFTagOutput) SetTagValues ¶ added in v1.38.36
func (s *GetLFTagOutput) SetTagValues(v []*string) *GetLFTagOutput
SetTagValues sets the TagValues field's value.
func (GetLFTagOutput) String ¶ added in v1.38.36
func (s GetLFTagOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetResourceLFTagsInput ¶ added in v1.38.36
type GetResourceLFTagsInput struct { // 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. CatalogId *string `min:"1" type:"string"` // The resource for which you want to return tags. // // Resource is a required field Resource *Resource `type:"structure" required:"true"` // Indicates whether to show the assigned tags. ShowAssignedLFTags *bool `type:"boolean"` // contains filtered or unexported fields }
func (GetResourceLFTagsInput) GoString ¶ added in v1.38.36
func (s GetResourceLFTagsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetResourceLFTagsInput) SetCatalogId ¶ added in v1.38.36
func (s *GetResourceLFTagsInput) SetCatalogId(v string) *GetResourceLFTagsInput
SetCatalogId sets the CatalogId field's value.
func (*GetResourceLFTagsInput) SetResource ¶ added in v1.38.36
func (s *GetResourceLFTagsInput) SetResource(v *Resource) *GetResourceLFTagsInput
SetResource sets the Resource field's value.
func (*GetResourceLFTagsInput) SetShowAssignedLFTags ¶ added in v1.38.36
func (s *GetResourceLFTagsInput) SetShowAssignedLFTags(v bool) *GetResourceLFTagsInput
SetShowAssignedLFTags sets the ShowAssignedLFTags field's value.
func (GetResourceLFTagsInput) String ¶ added in v1.38.36
func (s GetResourceLFTagsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetResourceLFTagsInput) Validate ¶ added in v1.38.36
func (s *GetResourceLFTagsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetResourceLFTagsOutput ¶ added in v1.38.36
type GetResourceLFTagsOutput struct { // A list of tags applied to a database resource. LFTagOnDatabase []*LFTagPair `min:"1" type:"list"` // A list of tags applied to a column resource. LFTagsOnColumns []*ColumnLFTag `type:"list"` // A list of tags applied to a table resource. LFTagsOnTable []*LFTagPair `min:"1" type:"list"` // contains filtered or unexported fields }
func (GetResourceLFTagsOutput) GoString ¶ added in v1.38.36
func (s GetResourceLFTagsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetResourceLFTagsOutput) SetLFTagOnDatabase ¶ added in v1.38.36
func (s *GetResourceLFTagsOutput) SetLFTagOnDatabase(v []*LFTagPair) *GetResourceLFTagsOutput
SetLFTagOnDatabase sets the LFTagOnDatabase field's value.
func (*GetResourceLFTagsOutput) SetLFTagsOnColumns ¶ added in v1.38.36
func (s *GetResourceLFTagsOutput) SetLFTagsOnColumns(v []*ColumnLFTag) *GetResourceLFTagsOutput
SetLFTagsOnColumns sets the LFTagsOnColumns field's value.
func (*GetResourceLFTagsOutput) SetLFTagsOnTable ¶ added in v1.38.36
func (s *GetResourceLFTagsOutput) SetLFTagsOnTable(v []*LFTagPair) *GetResourceLFTagsOutput
SetLFTagsOnTable sets the LFTagsOnTable field's value.
func (GetResourceLFTagsOutput) String ¶ added in v1.38.36
func (s GetResourceLFTagsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GlueEncryptionException ¶ added in v1.38.36
type GlueEncryptionException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` // A message describing the problem. Message_ *string `locationName:"Message" type:"string"` // contains filtered or unexported fields }
An encryption operation failed.
func (*GlueEncryptionException) Code ¶ added in v1.38.36
func (s *GlueEncryptionException) Code() string
Code returns the exception type name.
func (*GlueEncryptionException) Error ¶ added in v1.38.36
func (s *GlueEncryptionException) Error() string
func (GlueEncryptionException) GoString ¶ added in v1.38.36
func (s GlueEncryptionException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GlueEncryptionException) Message ¶ added in v1.38.36
func (s *GlueEncryptionException) Message() string
Message returns the exception's message.
func (*GlueEncryptionException) OrigErr ¶ added in v1.38.36
func (s *GlueEncryptionException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*GlueEncryptionException) RequestID ¶ added in v1.38.36
func (s *GlueEncryptionException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*GlueEncryptionException) StatusCode ¶ added in v1.38.36
func (s *GlueEncryptionException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (GlueEncryptionException) String ¶ added in v1.38.36
func (s GlueEncryptionException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GrantPermissionsInput ¶
type GrantPermissionsInput struct { // 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. CatalogId *string `min:"1" type:"string"` // The permissions granted to the principal on the resource. AWS Lake Formation // defines privileges to grant and revoke access to metadata in the Data Catalog // and data organized in underlying data storage such as Amazon S3. AWS Lake // Formation requires that each principal be authorized to perform a specific // task on AWS Lake Formation resources. // // Permissions is a required field Permissions []*string `type:"list" required:"true"` // Indicates a list of the granted permissions that the principal may pass to // other users. These permissions may only be a subset of the permissions granted // in the Privileges. PermissionsWithGrantOption []*string `type:"list"` // The principal to be granted the permissions on the resource. Supported principals // are IAM users or IAM roles, and they are defined by their principal type // and their ARN. // // Note that if you define a resource with a particular ARN, then later delete, // and recreate a resource with that same ARN, the resource maintains the permissions // already granted. // // Principal is a required field Principal *DataLakePrincipal `type:"structure" required:"true"` // The resource to which permissions are to be granted. Resources in AWS Lake // Formation are the Data Catalog, databases, and tables. // // Resource is a required field Resource *Resource `type:"structure" required:"true"` // contains filtered or unexported fields }
func (GrantPermissionsInput) GoString ¶
func (s GrantPermissionsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GrantPermissionsInput) SetCatalogId ¶
func (s *GrantPermissionsInput) SetCatalogId(v string) *GrantPermissionsInput
SetCatalogId sets the CatalogId field's value.
func (*GrantPermissionsInput) SetPermissions ¶
func (s *GrantPermissionsInput) SetPermissions(v []*string) *GrantPermissionsInput
SetPermissions sets the Permissions field's value.
func (*GrantPermissionsInput) SetPermissionsWithGrantOption ¶
func (s *GrantPermissionsInput) SetPermissionsWithGrantOption(v []*string) *GrantPermissionsInput
SetPermissionsWithGrantOption sets the PermissionsWithGrantOption field's value.
func (*GrantPermissionsInput) SetPrincipal ¶
func (s *GrantPermissionsInput) SetPrincipal(v *DataLakePrincipal) *GrantPermissionsInput
SetPrincipal sets the Principal field's value.
func (*GrantPermissionsInput) SetResource ¶
func (s *GrantPermissionsInput) SetResource(v *Resource) *GrantPermissionsInput
SetResource sets the Resource field's value.
func (GrantPermissionsInput) String ¶
func (s GrantPermissionsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GrantPermissionsInput) Validate ¶
func (s *GrantPermissionsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GrantPermissionsOutput ¶
type GrantPermissionsOutput struct {
// contains filtered or unexported fields
}
func (GrantPermissionsOutput) GoString ¶
func (s GrantPermissionsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (GrantPermissionsOutput) String ¶
func (s GrantPermissionsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type InternalServiceException ¶ added in v1.28.0
type InternalServiceException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` // A message describing the problem. Message_ *string `locationName:"Message" type:"string"` // contains filtered or unexported fields }
An internal service error occurred.
func (*InternalServiceException) Code ¶ added in v1.28.0
func (s *InternalServiceException) Code() string
Code returns the exception type name.
func (*InternalServiceException) Error ¶ added in v1.28.0
func (s *InternalServiceException) Error() string
func (InternalServiceException) GoString ¶ added in v1.28.0
func (s InternalServiceException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*InternalServiceException) Message ¶ added in v1.28.0
func (s *InternalServiceException) Message() string
Message returns the exception's message.
func (*InternalServiceException) OrigErr ¶ added in v1.28.0
func (s *InternalServiceException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*InternalServiceException) RequestID ¶ added in v1.28.0
func (s *InternalServiceException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*InternalServiceException) StatusCode ¶ added in v1.28.0
func (s *InternalServiceException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (InternalServiceException) String ¶ added in v1.28.0
func (s InternalServiceException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type InvalidInputException ¶ added in v1.28.0
type InvalidInputException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` // A message describing the problem. Message_ *string `locationName:"Message" type:"string"` // contains filtered or unexported fields }
The input provided was not valid.
func (*InvalidInputException) Code ¶ added in v1.28.0
func (s *InvalidInputException) Code() string
Code returns the exception type name.
func (*InvalidInputException) Error ¶ added in v1.28.0
func (s *InvalidInputException) Error() string
func (InvalidInputException) GoString ¶ added in v1.28.0
func (s InvalidInputException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*InvalidInputException) Message ¶ added in v1.28.0
func (s *InvalidInputException) Message() string
Message returns the exception's message.
func (*InvalidInputException) OrigErr ¶ added in v1.28.0
func (s *InvalidInputException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*InvalidInputException) RequestID ¶ added in v1.28.0
func (s *InvalidInputException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*InvalidInputException) StatusCode ¶ added in v1.28.0
func (s *InvalidInputException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (InvalidInputException) String ¶ added in v1.28.0
func (s InvalidInputException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type LFTag ¶ added in v1.38.36
type LFTag struct { // The key-name for the tag. // // TagKey is a required field TagKey *string `min:"1" type:"string" required:"true"` // A list of possible values an attribute can take. // // TagValues is a required field TagValues []*string `min:"1" type:"list" required:"true"` // contains filtered or unexported fields }
A structure that allows an admin to grant user permissions on certain conditions. For example, granting a role access to all columns not tagged 'PII' of tables tagged 'Prod'.
func (LFTag) GoString ¶ added in v1.38.36
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*LFTag) SetTagValues ¶ added in v1.38.36
SetTagValues sets the TagValues field's value.
type LFTagError ¶ added in v1.38.36
type LFTagError struct { // An error that occurred with the attachment or detachment of the tag. Error *ErrorDetail `type:"structure"` // The key-name of the tag. LFTag *LFTagPair `type:"structure"` // contains filtered or unexported fields }
A structure containing an error related to a TagResource or UnTagResource operation.
func (LFTagError) GoString ¶ added in v1.38.36
func (s LFTagError) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*LFTagError) SetError ¶ added in v1.38.36
func (s *LFTagError) SetError(v *ErrorDetail) *LFTagError
SetError sets the Error field's value.
func (*LFTagError) SetLFTag ¶ added in v1.38.36
func (s *LFTagError) SetLFTag(v *LFTagPair) *LFTagError
SetLFTag sets the LFTag field's value.
func (LFTagError) String ¶ added in v1.38.36
func (s LFTagError) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type LFTagKeyResource ¶ added in v1.38.36
type LFTagKeyResource struct { // 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. CatalogId *string `min:"1" type:"string"` // The key-name for the tag. // // TagKey is a required field TagKey *string `min:"1" type:"string" required:"true"` // A list of possible values an attribute can take. // // TagValues is a required field TagValues []*string `min:"1" type:"list" required:"true"` // contains filtered or unexported fields }
A structure containing a tag key and values for a resource.
func (LFTagKeyResource) GoString ¶ added in v1.38.36
func (s LFTagKeyResource) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*LFTagKeyResource) SetCatalogId ¶ added in v1.38.36
func (s *LFTagKeyResource) SetCatalogId(v string) *LFTagKeyResource
SetCatalogId sets the CatalogId field's value.
func (*LFTagKeyResource) SetTagKey ¶ added in v1.38.36
func (s *LFTagKeyResource) SetTagKey(v string) *LFTagKeyResource
SetTagKey sets the TagKey field's value.
func (*LFTagKeyResource) SetTagValues ¶ added in v1.38.36
func (s *LFTagKeyResource) SetTagValues(v []*string) *LFTagKeyResource
SetTagValues sets the TagValues field's value.
func (LFTagKeyResource) String ¶ added in v1.38.36
func (s LFTagKeyResource) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*LFTagKeyResource) Validate ¶ added in v1.38.36
func (s *LFTagKeyResource) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type LFTagPair ¶ added in v1.38.36
type LFTagPair struct { // 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. CatalogId *string `min:"1" type:"string"` // The key-name for the tag. // // TagKey is a required field TagKey *string `min:"1" type:"string" required:"true"` // A list of possible values an attribute can take. // // TagValues is a required field TagValues []*string `min:"1" type:"list" required:"true"` // contains filtered or unexported fields }
A structure containing a tag key-value pair.
func (LFTagPair) GoString ¶ added in v1.38.36
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*LFTagPair) SetCatalogId ¶ added in v1.38.36
SetCatalogId sets the CatalogId field's value.
func (*LFTagPair) SetTagValues ¶ added in v1.38.36
SetTagValues sets the TagValues field's value.
type LFTagPolicyResource ¶ added in v1.38.36
type LFTagPolicyResource struct { // 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. CatalogId *string `min:"1" type:"string"` // A list of tag conditions that apply to the resource's tag policy. // // Expression is a required field Expression []*LFTag `min:"1" type:"list" required:"true"` // The resource type for which the tag policy applies. // // ResourceType is a required field ResourceType *string `type:"string" required:"true" enum:"ResourceType"` // contains filtered or unexported fields }
A structure containing a list of tag conditions that apply to a resource's tag policy.
func (LFTagPolicyResource) GoString ¶ added in v1.38.36
func (s LFTagPolicyResource) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*LFTagPolicyResource) SetCatalogId ¶ added in v1.38.36
func (s *LFTagPolicyResource) SetCatalogId(v string) *LFTagPolicyResource
SetCatalogId sets the CatalogId field's value.
func (*LFTagPolicyResource) SetExpression ¶ added in v1.38.36
func (s *LFTagPolicyResource) SetExpression(v []*LFTag) *LFTagPolicyResource
SetExpression sets the Expression field's value.
func (*LFTagPolicyResource) SetResourceType ¶ added in v1.38.36
func (s *LFTagPolicyResource) SetResourceType(v string) *LFTagPolicyResource
SetResourceType sets the ResourceType field's value.
func (LFTagPolicyResource) String ¶ added in v1.38.36
func (s LFTagPolicyResource) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*LFTagPolicyResource) Validate ¶ added in v1.38.36
func (s *LFTagPolicyResource) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type LakeFormation ¶
LakeFormation provides the API operation methods for making requests to AWS Lake Formation. See this package's package overview docs for details on the service.
LakeFormation methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.
func New ¶
func New(p client.ConfigProvider, cfgs ...*aws.Config) *LakeFormation
New creates a new instance of the LakeFormation client with a session. If additional configuration is needed for the client instance use the optional aws.Config parameter to add your extra config.
Example:
mySession := session.Must(session.NewSession()) // Create a LakeFormation client from just a session. svc := lakeformation.New(mySession) // Create a LakeFormation client with additional configuration svc := lakeformation.New(mySession, aws.NewConfig().WithRegion("us-west-2"))
func (*LakeFormation) AddLFTagsToResource ¶ added in v1.38.36
func (c *LakeFormation) AddLFTagsToResource(input *AddLFTagsToResourceInput) (*AddLFTagsToResourceOutput, error)
AddLFTagsToResource API operation for AWS Lake Formation.
Attaches one or more tags to an existing resource.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Lake Formation's API operation AddLFTagsToResource for usage and error information.
Returned Error Types:
EntityNotFoundException A specified entity does not exist
InvalidInputException The input provided was not valid.
InternalServiceException An internal service error occurred.
OperationTimeoutException The operation timed out.
AccessDeniedException Access to a resource was denied.
ConcurrentModificationException Two processes are trying to modify a resource simultaneously.
See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/AddLFTagsToResource
func (*LakeFormation) AddLFTagsToResourceRequest ¶ added in v1.38.36
func (c *LakeFormation) AddLFTagsToResourceRequest(input *AddLFTagsToResourceInput) (req *request.Request, output *AddLFTagsToResourceOutput)
AddLFTagsToResourceRequest generates a "aws/request.Request" representing the client's request for the AddLFTagsToResource operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See AddLFTagsToResource for more information on using the AddLFTagsToResource API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the AddLFTagsToResourceRequest method. req, resp := client.AddLFTagsToResourceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/AddLFTagsToResource
func (*LakeFormation) AddLFTagsToResourceWithContext ¶ added in v1.38.36
func (c *LakeFormation) AddLFTagsToResourceWithContext(ctx aws.Context, input *AddLFTagsToResourceInput, opts ...request.Option) (*AddLFTagsToResourceOutput, error)
AddLFTagsToResourceWithContext is the same as AddLFTagsToResource with the addition of the ability to pass a context and additional request options.
See AddLFTagsToResource for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*LakeFormation) BatchGrantPermissions ¶
func (c *LakeFormation) BatchGrantPermissions(input *BatchGrantPermissionsInput) (*BatchGrantPermissionsOutput, error)
BatchGrantPermissions API operation for AWS Lake Formation.
Batch operation to grant permissions to the principal.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Lake Formation's API operation BatchGrantPermissions for usage and error information.
Returned Error Types:
InvalidInputException The input provided was not valid.
OperationTimeoutException The operation timed out.
See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/BatchGrantPermissions
func (*LakeFormation) BatchGrantPermissionsRequest ¶
func (c *LakeFormation) BatchGrantPermissionsRequest(input *BatchGrantPermissionsInput) (req *request.Request, output *BatchGrantPermissionsOutput)
BatchGrantPermissionsRequest generates a "aws/request.Request" representing the client's request for the BatchGrantPermissions operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See BatchGrantPermissions for more information on using the BatchGrantPermissions API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the BatchGrantPermissionsRequest method. req, resp := client.BatchGrantPermissionsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/BatchGrantPermissions
func (*LakeFormation) BatchGrantPermissionsWithContext ¶
func (c *LakeFormation) BatchGrantPermissionsWithContext(ctx aws.Context, input *BatchGrantPermissionsInput, opts ...request.Option) (*BatchGrantPermissionsOutput, error)
BatchGrantPermissionsWithContext is the same as BatchGrantPermissions with the addition of the ability to pass a context and additional request options.
See BatchGrantPermissions for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*LakeFormation) BatchRevokePermissions ¶
func (c *LakeFormation) BatchRevokePermissions(input *BatchRevokePermissionsInput) (*BatchRevokePermissionsOutput, error)
BatchRevokePermissions API operation for AWS Lake Formation.
Batch operation to revoke permissions from the principal.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Lake Formation's API operation BatchRevokePermissions for usage and error information.
Returned Error Types:
InvalidInputException The input provided was not valid.
OperationTimeoutException The operation timed out.
See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/BatchRevokePermissions
func (*LakeFormation) BatchRevokePermissionsRequest ¶
func (c *LakeFormation) BatchRevokePermissionsRequest(input *BatchRevokePermissionsInput) (req *request.Request, output *BatchRevokePermissionsOutput)
BatchRevokePermissionsRequest generates a "aws/request.Request" representing the client's request for the BatchRevokePermissions operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See BatchRevokePermissions for more information on using the BatchRevokePermissions API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the BatchRevokePermissionsRequest method. req, resp := client.BatchRevokePermissionsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/BatchRevokePermissions
func (*LakeFormation) BatchRevokePermissionsWithContext ¶
func (c *LakeFormation) BatchRevokePermissionsWithContext(ctx aws.Context, input *BatchRevokePermissionsInput, opts ...request.Option) (*BatchRevokePermissionsOutput, error)
BatchRevokePermissionsWithContext is the same as BatchRevokePermissions with the addition of the ability to pass a context and additional request options.
See BatchRevokePermissions for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*LakeFormation) CreateLFTag ¶ added in v1.38.36
func (c *LakeFormation) CreateLFTag(input *CreateLFTagInput) (*CreateLFTagOutput, error)
CreateLFTag API operation for AWS Lake Formation.
Creates a tag with the specified name and values.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Lake Formation's API operation CreateLFTag for usage and error information.
Returned Error Types:
EntityNotFoundException A specified entity does not exist
InvalidInputException The input provided was not valid.
ResourceNumberLimitExceededException A resource numerical limit was exceeded.
InternalServiceException An internal service error occurred.
OperationTimeoutException The operation timed out.
AccessDeniedException Access to a resource was denied.
See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/CreateLFTag
func (*LakeFormation) CreateLFTagRequest ¶ added in v1.38.36
func (c *LakeFormation) CreateLFTagRequest(input *CreateLFTagInput) (req *request.Request, output *CreateLFTagOutput)
CreateLFTagRequest generates a "aws/request.Request" representing the client's request for the CreateLFTag operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See CreateLFTag for more information on using the CreateLFTag API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the CreateLFTagRequest method. req, resp := client.CreateLFTagRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/CreateLFTag
func (*LakeFormation) CreateLFTagWithContext ¶ added in v1.38.36
func (c *LakeFormation) CreateLFTagWithContext(ctx aws.Context, input *CreateLFTagInput, opts ...request.Option) (*CreateLFTagOutput, error)
CreateLFTagWithContext is the same as CreateLFTag with the addition of the ability to pass a context and additional request options.
See CreateLFTag for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*LakeFormation) DeleteLFTag ¶ added in v1.38.36
func (c *LakeFormation) DeleteLFTag(input *DeleteLFTagInput) (*DeleteLFTagOutput, error)
DeleteLFTag API operation for AWS Lake Formation.
Deletes the specified tag key name. If the attribute key does not exist or the tag does not exist, then the operation will not do anything. If the attribute key exists, then the operation checks if any resources are tagged with this attribute key, if yes, the API throws a 400 Exception with the message "Delete not allowed" as the tag key is still attached with resources. You can consider untagging resources with this tag key.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Lake Formation's API operation DeleteLFTag for usage and error information.
Returned Error Types:
EntityNotFoundException A specified entity does not exist
InvalidInputException The input provided was not valid.
InternalServiceException An internal service error occurred.
OperationTimeoutException The operation timed out.
AccessDeniedException Access to a resource was denied.
See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/DeleteLFTag
func (*LakeFormation) DeleteLFTagRequest ¶ added in v1.38.36
func (c *LakeFormation) DeleteLFTagRequest(input *DeleteLFTagInput) (req *request.Request, output *DeleteLFTagOutput)
DeleteLFTagRequest generates a "aws/request.Request" representing the client's request for the DeleteLFTag operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeleteLFTag for more information on using the DeleteLFTag API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DeleteLFTagRequest method. req, resp := client.DeleteLFTagRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/DeleteLFTag
func (*LakeFormation) DeleteLFTagWithContext ¶ added in v1.38.36
func (c *LakeFormation) DeleteLFTagWithContext(ctx aws.Context, input *DeleteLFTagInput, opts ...request.Option) (*DeleteLFTagOutput, error)
DeleteLFTagWithContext is the same as DeleteLFTag with the addition of the ability to pass a context and additional request options.
See DeleteLFTag for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*LakeFormation) DeregisterResource ¶
func (c *LakeFormation) DeregisterResource(input *DeregisterResourceInput) (*DeregisterResourceOutput, error)
DeregisterResource API operation for AWS Lake Formation.
Deregisters the resource as managed by the Data Catalog.
When you deregister a path, Lake Formation removes the path from the inline policy attached to your service-linked role.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Lake Formation's API operation DeregisterResource for usage and error information.
Returned Error Types:
InvalidInputException The input provided was not valid.
InternalServiceException An internal service error occurred.
OperationTimeoutException The operation timed out.
EntityNotFoundException A specified entity does not exist
See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/DeregisterResource
func (*LakeFormation) DeregisterResourceRequest ¶
func (c *LakeFormation) DeregisterResourceRequest(input *DeregisterResourceInput) (req *request.Request, output *DeregisterResourceOutput)
DeregisterResourceRequest generates a "aws/request.Request" representing the client's request for the DeregisterResource operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeregisterResource for more information on using the DeregisterResource API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DeregisterResourceRequest method. req, resp := client.DeregisterResourceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/DeregisterResource
func (*LakeFormation) DeregisterResourceWithContext ¶
func (c *LakeFormation) DeregisterResourceWithContext(ctx aws.Context, input *DeregisterResourceInput, opts ...request.Option) (*DeregisterResourceOutput, error)
DeregisterResourceWithContext is the same as DeregisterResource with the addition of the ability to pass a context and additional request options.
See DeregisterResource for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*LakeFormation) DescribeResource ¶
func (c *LakeFormation) DescribeResource(input *DescribeResourceInput) (*DescribeResourceOutput, error)
DescribeResource API operation for AWS Lake Formation.
Retrieves the current data access role for the given resource registered in AWS Lake Formation.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Lake Formation's API operation DescribeResource for usage and error information.
Returned Error Types:
InvalidInputException The input provided was not valid.
InternalServiceException An internal service error occurred.
OperationTimeoutException The operation timed out.
EntityNotFoundException A specified entity does not exist
See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/DescribeResource
func (*LakeFormation) DescribeResourceRequest ¶
func (c *LakeFormation) DescribeResourceRequest(input *DescribeResourceInput) (req *request.Request, output *DescribeResourceOutput)
DescribeResourceRequest generates a "aws/request.Request" representing the client's request for the DescribeResource operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DescribeResource for more information on using the DescribeResource API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DescribeResourceRequest method. req, resp := client.DescribeResourceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/DescribeResource
func (*LakeFormation) DescribeResourceWithContext ¶
func (c *LakeFormation) DescribeResourceWithContext(ctx aws.Context, input *DescribeResourceInput, opts ...request.Option) (*DescribeResourceOutput, error)
DescribeResourceWithContext is the same as DescribeResource with the addition of the ability to pass a context and additional request options.
See DescribeResource for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*LakeFormation) GetDataLakeSettings ¶
func (c *LakeFormation) GetDataLakeSettings(input *GetDataLakeSettingsInput) (*GetDataLakeSettingsOutput, error)
GetDataLakeSettings API operation for AWS Lake Formation.
Retrieves the list of the data lake administrators of a Lake Formation-managed data lake.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Lake Formation's API operation GetDataLakeSettings for usage and error information.
Returned Error Types:
InternalServiceException An internal service error occurred.
InvalidInputException The input provided was not valid.
EntityNotFoundException A specified entity does not exist
See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/GetDataLakeSettings
func (*LakeFormation) GetDataLakeSettingsRequest ¶
func (c *LakeFormation) GetDataLakeSettingsRequest(input *GetDataLakeSettingsInput) (req *request.Request, output *GetDataLakeSettingsOutput)
GetDataLakeSettingsRequest generates a "aws/request.Request" representing the client's request for the GetDataLakeSettings operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetDataLakeSettings for more information on using the GetDataLakeSettings API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetDataLakeSettingsRequest method. req, resp := client.GetDataLakeSettingsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/GetDataLakeSettings
func (*LakeFormation) GetDataLakeSettingsWithContext ¶
func (c *LakeFormation) GetDataLakeSettingsWithContext(ctx aws.Context, input *GetDataLakeSettingsInput, opts ...request.Option) (*GetDataLakeSettingsOutput, error)
GetDataLakeSettingsWithContext is the same as GetDataLakeSettings with the addition of the ability to pass a context and additional request options.
See GetDataLakeSettings for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*LakeFormation) GetEffectivePermissionsForPath ¶
func (c *LakeFormation) GetEffectivePermissionsForPath(input *GetEffectivePermissionsForPathInput) (*GetEffectivePermissionsForPathOutput, error)
GetEffectivePermissionsForPath API operation for AWS Lake Formation.
Returns the Lake Formation permissions for a specified table or database resource located at a path in Amazon S3. GetEffectivePermissionsForPath will not return databases and tables if the catalog is encrypted.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Lake Formation's API operation GetEffectivePermissionsForPath for usage and error information.
Returned Error Types:
InvalidInputException The input provided was not valid.
EntityNotFoundException A specified entity does not exist
OperationTimeoutException The operation timed out.
InternalServiceException An internal service error occurred.
See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/GetEffectivePermissionsForPath
func (*LakeFormation) GetEffectivePermissionsForPathPages ¶
func (c *LakeFormation) GetEffectivePermissionsForPathPages(input *GetEffectivePermissionsForPathInput, fn func(*GetEffectivePermissionsForPathOutput, bool) bool) error
GetEffectivePermissionsForPathPages iterates over the pages of a GetEffectivePermissionsForPath operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See GetEffectivePermissionsForPath method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a GetEffectivePermissionsForPath operation. pageNum := 0 err := client.GetEffectivePermissionsForPathPages(params, func(page *lakeformation.GetEffectivePermissionsForPathOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*LakeFormation) GetEffectivePermissionsForPathPagesWithContext ¶
func (c *LakeFormation) GetEffectivePermissionsForPathPagesWithContext(ctx aws.Context, input *GetEffectivePermissionsForPathInput, fn func(*GetEffectivePermissionsForPathOutput, bool) bool, opts ...request.Option) error
GetEffectivePermissionsForPathPagesWithContext same as GetEffectivePermissionsForPathPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*LakeFormation) GetEffectivePermissionsForPathRequest ¶
func (c *LakeFormation) GetEffectivePermissionsForPathRequest(input *GetEffectivePermissionsForPathInput) (req *request.Request, output *GetEffectivePermissionsForPathOutput)
GetEffectivePermissionsForPathRequest generates a "aws/request.Request" representing the client's request for the GetEffectivePermissionsForPath operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetEffectivePermissionsForPath for more information on using the GetEffectivePermissionsForPath API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetEffectivePermissionsForPathRequest method. req, resp := client.GetEffectivePermissionsForPathRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/GetEffectivePermissionsForPath
func (*LakeFormation) GetEffectivePermissionsForPathWithContext ¶
func (c *LakeFormation) GetEffectivePermissionsForPathWithContext(ctx aws.Context, input *GetEffectivePermissionsForPathInput, opts ...request.Option) (*GetEffectivePermissionsForPathOutput, error)
GetEffectivePermissionsForPathWithContext is the same as GetEffectivePermissionsForPath with the addition of the ability to pass a context and additional request options.
See GetEffectivePermissionsForPath for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*LakeFormation) GetLFTag ¶ added in v1.38.36
func (c *LakeFormation) GetLFTag(input *GetLFTagInput) (*GetLFTagOutput, error)
GetLFTag API operation for AWS Lake Formation.
Returns a tag definition.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Lake Formation's API operation GetLFTag for usage and error information.
Returned Error Types:
EntityNotFoundException A specified entity does not exist
InvalidInputException The input provided was not valid.
InternalServiceException An internal service error occurred.
OperationTimeoutException The operation timed out.
AccessDeniedException Access to a resource was denied.
See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/GetLFTag
func (*LakeFormation) GetLFTagRequest ¶ added in v1.38.36
func (c *LakeFormation) GetLFTagRequest(input *GetLFTagInput) (req *request.Request, output *GetLFTagOutput)
GetLFTagRequest generates a "aws/request.Request" representing the client's request for the GetLFTag operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetLFTag for more information on using the GetLFTag API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetLFTagRequest method. req, resp := client.GetLFTagRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/GetLFTag
func (*LakeFormation) GetLFTagWithContext ¶ added in v1.38.36
func (c *LakeFormation) GetLFTagWithContext(ctx aws.Context, input *GetLFTagInput, opts ...request.Option) (*GetLFTagOutput, error)
GetLFTagWithContext is the same as GetLFTag with the addition of the ability to pass a context and additional request options.
See GetLFTag for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*LakeFormation) GetResourceLFTags ¶ added in v1.38.36
func (c *LakeFormation) GetResourceLFTags(input *GetResourceLFTagsInput) (*GetResourceLFTagsOutput, error)
GetResourceLFTags API operation for AWS Lake Formation.
Returns the tags applied to a resource.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Lake Formation's API operation GetResourceLFTags for usage and error information.
Returned Error Types:
EntityNotFoundException A specified entity does not exist
InvalidInputException The input provided was not valid.
InternalServiceException An internal service error occurred.
OperationTimeoutException The operation timed out.
GlueEncryptionException An encryption operation failed.
AccessDeniedException Access to a resource was denied.
See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/GetResourceLFTags
func (*LakeFormation) GetResourceLFTagsRequest ¶ added in v1.38.36
func (c *LakeFormation) GetResourceLFTagsRequest(input *GetResourceLFTagsInput) (req *request.Request, output *GetResourceLFTagsOutput)
GetResourceLFTagsRequest generates a "aws/request.Request" representing the client's request for the GetResourceLFTags operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetResourceLFTags for more information on using the GetResourceLFTags API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetResourceLFTagsRequest method. req, resp := client.GetResourceLFTagsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/GetResourceLFTags
func (*LakeFormation) GetResourceLFTagsWithContext ¶ added in v1.38.36
func (c *LakeFormation) GetResourceLFTagsWithContext(ctx aws.Context, input *GetResourceLFTagsInput, opts ...request.Option) (*GetResourceLFTagsOutput, error)
GetResourceLFTagsWithContext is the same as GetResourceLFTags with the addition of the ability to pass a context and additional request options.
See GetResourceLFTags for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*LakeFormation) GrantPermissions ¶
func (c *LakeFormation) GrantPermissions(input *GrantPermissionsInput) (*GrantPermissionsOutput, error)
GrantPermissions API operation for AWS Lake Formation.
Grants permissions to the principal to access metadata in the Data Catalog and data organized in underlying data storage such as Amazon S3.
For information about permissions, see Security and Access Control to Metadata and Data (https://docs-aws.amazon.com/lake-formation/latest/dg/security-data-access.html).
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Lake Formation's API operation GrantPermissions for usage and error information.
Returned Error Types:
ConcurrentModificationException Two processes are trying to modify a resource simultaneously.
EntityNotFoundException A specified entity does not exist
InvalidInputException The input provided was not valid.
See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/GrantPermissions
func (*LakeFormation) GrantPermissionsRequest ¶
func (c *LakeFormation) GrantPermissionsRequest(input *GrantPermissionsInput) (req *request.Request, output *GrantPermissionsOutput)
GrantPermissionsRequest generates a "aws/request.Request" representing the client's request for the GrantPermissions operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GrantPermissions for more information on using the GrantPermissions API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GrantPermissionsRequest method. req, resp := client.GrantPermissionsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/GrantPermissions
func (*LakeFormation) GrantPermissionsWithContext ¶
func (c *LakeFormation) GrantPermissionsWithContext(ctx aws.Context, input *GrantPermissionsInput, opts ...request.Option) (*GrantPermissionsOutput, error)
GrantPermissionsWithContext is the same as GrantPermissions with the addition of the ability to pass a context and additional request options.
See GrantPermissions for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*LakeFormation) ListLFTags ¶ added in v1.38.36
func (c *LakeFormation) ListLFTags(input *ListLFTagsInput) (*ListLFTagsOutput, error)
ListLFTags API operation for AWS Lake Formation.
Lists tags that the requester has permission to view.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Lake Formation's API operation ListLFTags for usage and error information.
Returned Error Types:
EntityNotFoundException A specified entity does not exist
InvalidInputException The input provided was not valid.
InternalServiceException An internal service error occurred.
OperationTimeoutException The operation timed out.
See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/ListLFTags
func (*LakeFormation) ListLFTagsRequest ¶ added in v1.38.36
func (c *LakeFormation) ListLFTagsRequest(input *ListLFTagsInput) (req *request.Request, output *ListLFTagsOutput)
ListLFTagsRequest generates a "aws/request.Request" representing the client's request for the ListLFTags operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListLFTags for more information on using the ListLFTags API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListLFTagsRequest method. req, resp := client.ListLFTagsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/ListLFTags
func (*LakeFormation) ListLFTagsWithContext ¶ added in v1.38.36
func (c *LakeFormation) ListLFTagsWithContext(ctx aws.Context, input *ListLFTagsInput, opts ...request.Option) (*ListLFTagsOutput, error)
ListLFTagsWithContext is the same as ListLFTags with the addition of the ability to pass a context and additional request options.
See ListLFTags for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*LakeFormation) ListPermissions ¶
func (c *LakeFormation) ListPermissions(input *ListPermissionsInput) (*ListPermissionsOutput, error)
ListPermissions API operation for AWS Lake Formation.
Returns a list of the principal permissions on the resource, filtered by the permissions of the caller. For example, if you are granted an ALTER permission, you are able to see only the principal permissions for ALTER.
This operation returns only those permissions that have been explicitly granted.
For information about permissions, see Security and Access Control to Metadata and Data (https://docs-aws.amazon.com/lake-formation/latest/dg/security-data-access.html).
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Lake Formation's API operation ListPermissions for usage and error information.
Returned Error Types:
InvalidInputException The input provided was not valid.
OperationTimeoutException The operation timed out.
InternalServiceException An internal service error occurred.
See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/ListPermissions
func (*LakeFormation) ListPermissionsPages ¶
func (c *LakeFormation) ListPermissionsPages(input *ListPermissionsInput, fn func(*ListPermissionsOutput, bool) bool) error
ListPermissionsPages iterates over the pages of a ListPermissions operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListPermissions method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListPermissions operation. pageNum := 0 err := client.ListPermissionsPages(params, func(page *lakeformation.ListPermissionsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*LakeFormation) ListPermissionsPagesWithContext ¶
func (c *LakeFormation) ListPermissionsPagesWithContext(ctx aws.Context, input *ListPermissionsInput, fn func(*ListPermissionsOutput, bool) bool, opts ...request.Option) error
ListPermissionsPagesWithContext same as ListPermissionsPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*LakeFormation) ListPermissionsRequest ¶
func (c *LakeFormation) ListPermissionsRequest(input *ListPermissionsInput) (req *request.Request, output *ListPermissionsOutput)
ListPermissionsRequest generates a "aws/request.Request" representing the client's request for the ListPermissions operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListPermissions for more information on using the ListPermissions API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListPermissionsRequest method. req, resp := client.ListPermissionsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/ListPermissions
func (*LakeFormation) ListPermissionsWithContext ¶
func (c *LakeFormation) ListPermissionsWithContext(ctx aws.Context, input *ListPermissionsInput, opts ...request.Option) (*ListPermissionsOutput, error)
ListPermissionsWithContext is the same as ListPermissions with the addition of the ability to pass a context and additional request options.
See ListPermissions for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*LakeFormation) ListResources ¶
func (c *LakeFormation) ListResources(input *ListResourcesInput) (*ListResourcesOutput, error)
ListResources API operation for AWS Lake Formation.
Lists the resources registered to be managed by the Data Catalog.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Lake Formation's API operation ListResources for usage and error information.
Returned Error Types:
InvalidInputException The input provided was not valid.
InternalServiceException An internal service error occurred.
OperationTimeoutException The operation timed out.
See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/ListResources
func (*LakeFormation) ListResourcesPages ¶
func (c *LakeFormation) ListResourcesPages(input *ListResourcesInput, fn func(*ListResourcesOutput, bool) bool) error
ListResourcesPages iterates over the pages of a ListResources operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListResources method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListResources operation. pageNum := 0 err := client.ListResourcesPages(params, func(page *lakeformation.ListResourcesOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*LakeFormation) ListResourcesPagesWithContext ¶
func (c *LakeFormation) ListResourcesPagesWithContext(ctx aws.Context, input *ListResourcesInput, fn func(*ListResourcesOutput, bool) bool, opts ...request.Option) error
ListResourcesPagesWithContext same as ListResourcesPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*LakeFormation) ListResourcesRequest ¶
func (c *LakeFormation) ListResourcesRequest(input *ListResourcesInput) (req *request.Request, output *ListResourcesOutput)
ListResourcesRequest generates a "aws/request.Request" representing the client's request for the ListResources operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListResources for more information on using the ListResources API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListResourcesRequest method. req, resp := client.ListResourcesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/ListResources
func (*LakeFormation) ListResourcesWithContext ¶
func (c *LakeFormation) ListResourcesWithContext(ctx aws.Context, input *ListResourcesInput, opts ...request.Option) (*ListResourcesOutput, error)
ListResourcesWithContext is the same as ListResources with the addition of the ability to pass a context and additional request options.
See ListResources for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*LakeFormation) PutDataLakeSettings ¶
func (c *LakeFormation) PutDataLakeSettings(input *PutDataLakeSettingsInput) (*PutDataLakeSettingsOutput, error)
PutDataLakeSettings API operation for AWS Lake Formation.
Sets the list of data lake administrators who have admin privileges on all resources managed by Lake Formation. For more information on admin privileges, see Granting Lake Formation Permissions (https://docs.aws.amazon.com/lake-formation/latest/dg/lake-formation-permissions.html).
This API replaces the current list of data lake admins with the new list being passed. To add an admin, fetch the current list and add the new admin to that list and pass that list in this API.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Lake Formation's API operation PutDataLakeSettings for usage and error information.
Returned Error Types:
InternalServiceException An internal service error occurred.
InvalidInputException The input provided was not valid.
See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/PutDataLakeSettings
func (*LakeFormation) PutDataLakeSettingsRequest ¶
func (c *LakeFormation) PutDataLakeSettingsRequest(input *PutDataLakeSettingsInput) (req *request.Request, output *PutDataLakeSettingsOutput)
PutDataLakeSettingsRequest generates a "aws/request.Request" representing the client's request for the PutDataLakeSettings operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See PutDataLakeSettings for more information on using the PutDataLakeSettings API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the PutDataLakeSettingsRequest method. req, resp := client.PutDataLakeSettingsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/PutDataLakeSettings
func (*LakeFormation) PutDataLakeSettingsWithContext ¶
func (c *LakeFormation) PutDataLakeSettingsWithContext(ctx aws.Context, input *PutDataLakeSettingsInput, opts ...request.Option) (*PutDataLakeSettingsOutput, error)
PutDataLakeSettingsWithContext is the same as PutDataLakeSettings with the addition of the ability to pass a context and additional request options.
See PutDataLakeSettings for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*LakeFormation) RegisterResource ¶
func (c *LakeFormation) RegisterResource(input *RegisterResourceInput) (*RegisterResourceOutput, error)
RegisterResource API operation for AWS Lake Formation.
Registers the resource as managed by the Data Catalog.
To add or update data, Lake Formation needs read/write access to the chosen Amazon S3 path. Choose a role that you know has permission to do this, or choose the AWSServiceRoleForLakeFormationDataAccess service-linked role. When you register the first Amazon S3 path, the service-linked role and a new inline policy are created on your behalf. Lake Formation adds the first path to the inline policy and attaches it to the service-linked role. When you register subsequent paths, Lake Formation adds the path to the existing policy.
The following request registers a new location and gives AWS Lake Formation permission to use the service-linked role to access that location.
ResourceArn = arn:aws:s3:::my-bucket UseServiceLinkedRole = true
If UseServiceLinkedRole is not set to true, you must provide or set the RoleArn:
arn:aws:iam::12345:role/my-data-access-role
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Lake Formation's API operation RegisterResource for usage and error information.
Returned Error Types:
InvalidInputException The input provided was not valid.
InternalServiceException An internal service error occurred.
OperationTimeoutException The operation timed out.
AlreadyExistsException A resource to be created or added already exists.
See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/RegisterResource
func (*LakeFormation) RegisterResourceRequest ¶
func (c *LakeFormation) RegisterResourceRequest(input *RegisterResourceInput) (req *request.Request, output *RegisterResourceOutput)
RegisterResourceRequest generates a "aws/request.Request" representing the client's request for the RegisterResource operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See RegisterResource for more information on using the RegisterResource API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the RegisterResourceRequest method. req, resp := client.RegisterResourceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/RegisterResource
func (*LakeFormation) RegisterResourceWithContext ¶
func (c *LakeFormation) RegisterResourceWithContext(ctx aws.Context, input *RegisterResourceInput, opts ...request.Option) (*RegisterResourceOutput, error)
RegisterResourceWithContext is the same as RegisterResource with the addition of the ability to pass a context and additional request options.
See RegisterResource for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*LakeFormation) RemoveLFTagsFromResource ¶ added in v1.38.36
func (c *LakeFormation) RemoveLFTagsFromResource(input *RemoveLFTagsFromResourceInput) (*RemoveLFTagsFromResourceOutput, error)
RemoveLFTagsFromResource API operation for AWS Lake Formation.
Removes a tag from the resource. Only database, table, or tableWithColumns resource are allowed. To tag columns, use the column inclusion list in tableWithColumns to specify column input.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Lake Formation's API operation RemoveLFTagsFromResource for usage and error information.
Returned Error Types:
EntityNotFoundException A specified entity does not exist
InvalidInputException The input provided was not valid.
InternalServiceException An internal service error occurred.
OperationTimeoutException The operation timed out.
GlueEncryptionException An encryption operation failed.
AccessDeniedException Access to a resource was denied.
ConcurrentModificationException Two processes are trying to modify a resource simultaneously.
See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/RemoveLFTagsFromResource
func (*LakeFormation) RemoveLFTagsFromResourceRequest ¶ added in v1.38.36
func (c *LakeFormation) RemoveLFTagsFromResourceRequest(input *RemoveLFTagsFromResourceInput) (req *request.Request, output *RemoveLFTagsFromResourceOutput)
RemoveLFTagsFromResourceRequest generates a "aws/request.Request" representing the client's request for the RemoveLFTagsFromResource operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See RemoveLFTagsFromResource for more information on using the RemoveLFTagsFromResource API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the RemoveLFTagsFromResourceRequest method. req, resp := client.RemoveLFTagsFromResourceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/RemoveLFTagsFromResource
func (*LakeFormation) RemoveLFTagsFromResourceWithContext ¶ added in v1.38.36
func (c *LakeFormation) RemoveLFTagsFromResourceWithContext(ctx aws.Context, input *RemoveLFTagsFromResourceInput, opts ...request.Option) (*RemoveLFTagsFromResourceOutput, error)
RemoveLFTagsFromResourceWithContext is the same as RemoveLFTagsFromResource with the addition of the ability to pass a context and additional request options.
See RemoveLFTagsFromResource for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*LakeFormation) RevokePermissions ¶
func (c *LakeFormation) RevokePermissions(input *RevokePermissionsInput) (*RevokePermissionsOutput, error)
RevokePermissions API operation for AWS Lake Formation.
Revokes permissions to the principal to access metadata in the Data Catalog and data organized in underlying data storage such as Amazon S3.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Lake Formation's API operation RevokePermissions for usage and error information.
Returned Error Types:
ConcurrentModificationException Two processes are trying to modify a resource simultaneously.
EntityNotFoundException A specified entity does not exist
InvalidInputException The input provided was not valid.
See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/RevokePermissions
func (*LakeFormation) RevokePermissionsRequest ¶
func (c *LakeFormation) RevokePermissionsRequest(input *RevokePermissionsInput) (req *request.Request, output *RevokePermissionsOutput)
RevokePermissionsRequest generates a "aws/request.Request" representing the client's request for the RevokePermissions operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See RevokePermissions for more information on using the RevokePermissions API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the RevokePermissionsRequest method. req, resp := client.RevokePermissionsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/RevokePermissions
func (*LakeFormation) RevokePermissionsWithContext ¶
func (c *LakeFormation) RevokePermissionsWithContext(ctx aws.Context, input *RevokePermissionsInput, opts ...request.Option) (*RevokePermissionsOutput, error)
RevokePermissionsWithContext is the same as RevokePermissions with the addition of the ability to pass a context and additional request options.
See RevokePermissions for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*LakeFormation) SearchDatabasesByLFTags ¶ added in v1.38.36
func (c *LakeFormation) SearchDatabasesByLFTags(input *SearchDatabasesByLFTagsInput) (*SearchDatabasesByLFTagsOutput, error)
SearchDatabasesByLFTags API operation for AWS Lake Formation.
This operation allows a search on DATABASE resources by TagCondition. This operation is used by admins who want to grant user permissions on certain TagConditions. Before making a grant, the admin can use SearchDatabasesByTags to find all resources where the given TagConditions are valid to verify whether the returned resources can be shared.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Lake Formation's API operation SearchDatabasesByLFTags for usage and error information.
Returned Error Types:
EntityNotFoundException A specified entity does not exist
InternalServiceException An internal service error occurred.
InvalidInputException The input provided was not valid.
OperationTimeoutException The operation timed out.
GlueEncryptionException An encryption operation failed.
AccessDeniedException Access to a resource was denied.
See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/SearchDatabasesByLFTags
func (*LakeFormation) SearchDatabasesByLFTagsRequest ¶ added in v1.38.36
func (c *LakeFormation) SearchDatabasesByLFTagsRequest(input *SearchDatabasesByLFTagsInput) (req *request.Request, output *SearchDatabasesByLFTagsOutput)
SearchDatabasesByLFTagsRequest generates a "aws/request.Request" representing the client's request for the SearchDatabasesByLFTags operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See SearchDatabasesByLFTags for more information on using the SearchDatabasesByLFTags API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the SearchDatabasesByLFTagsRequest method. req, resp := client.SearchDatabasesByLFTagsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/SearchDatabasesByLFTags
func (*LakeFormation) SearchDatabasesByLFTagsWithContext ¶ added in v1.38.36
func (c *LakeFormation) SearchDatabasesByLFTagsWithContext(ctx aws.Context, input *SearchDatabasesByLFTagsInput, opts ...request.Option) (*SearchDatabasesByLFTagsOutput, error)
SearchDatabasesByLFTagsWithContext is the same as SearchDatabasesByLFTags with the addition of the ability to pass a context and additional request options.
See SearchDatabasesByLFTags for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*LakeFormation) SearchTablesByLFTags ¶ added in v1.38.36
func (c *LakeFormation) SearchTablesByLFTags(input *SearchTablesByLFTagsInput) (*SearchTablesByLFTagsOutput, error)
SearchTablesByLFTags API operation for AWS Lake Formation.
This operation allows a search on TABLE resources by LFTags. This will be used by admins who want to grant user permissions on certain LFTags. Before making a grant, the admin can use SearchTablesByLFTags to find all resources where the given LFTags are valid to verify whether the returned resources can be shared.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Lake Formation's API operation SearchTablesByLFTags for usage and error information.
Returned Error Types:
EntityNotFoundException A specified entity does not exist
InternalServiceException An internal service error occurred.
InvalidInputException The input provided was not valid.
OperationTimeoutException The operation timed out.
GlueEncryptionException An encryption operation failed.
AccessDeniedException Access to a resource was denied.
See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/SearchTablesByLFTags
func (*LakeFormation) SearchTablesByLFTagsRequest ¶ added in v1.38.36
func (c *LakeFormation) SearchTablesByLFTagsRequest(input *SearchTablesByLFTagsInput) (req *request.Request, output *SearchTablesByLFTagsOutput)
SearchTablesByLFTagsRequest generates a "aws/request.Request" representing the client's request for the SearchTablesByLFTags operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See SearchTablesByLFTags for more information on using the SearchTablesByLFTags API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the SearchTablesByLFTagsRequest method. req, resp := client.SearchTablesByLFTagsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/SearchTablesByLFTags
func (*LakeFormation) SearchTablesByLFTagsWithContext ¶ added in v1.38.36
func (c *LakeFormation) SearchTablesByLFTagsWithContext(ctx aws.Context, input *SearchTablesByLFTagsInput, opts ...request.Option) (*SearchTablesByLFTagsOutput, error)
SearchTablesByLFTagsWithContext is the same as SearchTablesByLFTags with the addition of the ability to pass a context and additional request options.
See SearchTablesByLFTags for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*LakeFormation) UpdateLFTag ¶ added in v1.38.36
func (c *LakeFormation) UpdateLFTag(input *UpdateLFTagInput) (*UpdateLFTagOutput, error)
UpdateLFTag API operation for AWS Lake Formation.
Updates the list of possible values for the specified tag key. If the tag does not exist, the operation throws an EntityNotFoundException. The values in the delete key values will be deleted from list of possible values. If any value in the delete key values is attached to a resource, then API errors out with a 400 Exception - "Update not allowed". Untag the attribute before deleting the tag key's value.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Lake Formation's API operation UpdateLFTag for usage and error information.
Returned Error Types:
EntityNotFoundException A specified entity does not exist
InvalidInputException The input provided was not valid.
InternalServiceException An internal service error occurred.
OperationTimeoutException The operation timed out.
ConcurrentModificationException Two processes are trying to modify a resource simultaneously.
AccessDeniedException Access to a resource was denied.
See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/UpdateLFTag
func (*LakeFormation) UpdateLFTagRequest ¶ added in v1.38.36
func (c *LakeFormation) UpdateLFTagRequest(input *UpdateLFTagInput) (req *request.Request, output *UpdateLFTagOutput)
UpdateLFTagRequest generates a "aws/request.Request" representing the client's request for the UpdateLFTag operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See UpdateLFTag for more information on using the UpdateLFTag API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the UpdateLFTagRequest method. req, resp := client.UpdateLFTagRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/UpdateLFTag
func (*LakeFormation) UpdateLFTagWithContext ¶ added in v1.38.36
func (c *LakeFormation) UpdateLFTagWithContext(ctx aws.Context, input *UpdateLFTagInput, opts ...request.Option) (*UpdateLFTagOutput, error)
UpdateLFTagWithContext is the same as UpdateLFTag with the addition of the ability to pass a context and additional request options.
See UpdateLFTag for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*LakeFormation) UpdateResource ¶
func (c *LakeFormation) UpdateResource(input *UpdateResourceInput) (*UpdateResourceOutput, error)
UpdateResource API operation for AWS Lake Formation.
Updates the data access role used for vending access to the given (registered) resource in AWS Lake Formation.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Lake Formation's API operation UpdateResource for usage and error information.
Returned Error Types:
InvalidInputException The input provided was not valid.
InternalServiceException An internal service error occurred.
OperationTimeoutException The operation timed out.
EntityNotFoundException A specified entity does not exist
See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/UpdateResource
func (*LakeFormation) UpdateResourceRequest ¶
func (c *LakeFormation) UpdateResourceRequest(input *UpdateResourceInput) (req *request.Request, output *UpdateResourceOutput)
UpdateResourceRequest generates a "aws/request.Request" representing the client's request for the UpdateResource operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See UpdateResource for more information on using the UpdateResource API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the UpdateResourceRequest method. req, resp := client.UpdateResourceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/UpdateResource
func (*LakeFormation) UpdateResourceWithContext ¶
func (c *LakeFormation) UpdateResourceWithContext(ctx aws.Context, input *UpdateResourceInput, opts ...request.Option) (*UpdateResourceOutput, error)
UpdateResourceWithContext is the same as UpdateResource with the addition of the ability to pass a context and additional request options.
See UpdateResource for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
type ListLFTagsInput ¶ added in v1.38.36
type ListLFTagsInput struct { // 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. CatalogId *string `min:"1" type:"string"` // The maximum number of results to return. MaxResults *int64 `min:"1" type:"integer"` // A continuation token, if this is not the first call to retrieve this list. NextToken *string `type:"string"` // that the requester has permission to view. If resource share type is FOREIGN, // returns all share tags that the requester can view. If no resource share // type is passed, lists tags in the given catalog ID that the requester has // permission to view. ResourceShareType *string `type:"string" enum:"ResourceShareType"` // contains filtered or unexported fields }
func (ListLFTagsInput) GoString ¶ added in v1.38.36
func (s ListLFTagsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListLFTagsInput) SetCatalogId ¶ added in v1.38.36
func (s *ListLFTagsInput) SetCatalogId(v string) *ListLFTagsInput
SetCatalogId sets the CatalogId field's value.
func (*ListLFTagsInput) SetMaxResults ¶ added in v1.38.36
func (s *ListLFTagsInput) SetMaxResults(v int64) *ListLFTagsInput
SetMaxResults sets the MaxResults field's value.
func (*ListLFTagsInput) SetNextToken ¶ added in v1.38.36
func (s *ListLFTagsInput) SetNextToken(v string) *ListLFTagsInput
SetNextToken sets the NextToken field's value.
func (*ListLFTagsInput) SetResourceShareType ¶ added in v1.38.36
func (s *ListLFTagsInput) SetResourceShareType(v string) *ListLFTagsInput
SetResourceShareType sets the ResourceShareType field's value.
func (ListLFTagsInput) String ¶ added in v1.38.36
func (s ListLFTagsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListLFTagsInput) Validate ¶ added in v1.38.36
func (s *ListLFTagsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListLFTagsOutput ¶ added in v1.38.36
type ListLFTagsOutput struct { // A list of tags that the requested has permission to view. LFTags []*LFTagPair `min:"1" type:"list"` // A continuation token, present if the current list segment is not the last. NextToken *string `type:"string"` // contains filtered or unexported fields }
func (ListLFTagsOutput) GoString ¶ added in v1.38.36
func (s ListLFTagsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListLFTagsOutput) SetLFTags ¶ added in v1.38.36
func (s *ListLFTagsOutput) SetLFTags(v []*LFTagPair) *ListLFTagsOutput
SetLFTags sets the LFTags field's value.
func (*ListLFTagsOutput) SetNextToken ¶ added in v1.38.36
func (s *ListLFTagsOutput) SetNextToken(v string) *ListLFTagsOutput
SetNextToken sets the NextToken field's value.
func (ListLFTagsOutput) String ¶ added in v1.38.36
func (s ListLFTagsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListPermissionsInput ¶
type ListPermissionsInput struct { // 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. CatalogId *string `min:"1" type:"string"` // The maximum number of results to return. MaxResults *int64 `min:"1" type:"integer"` // A continuation token, if this is not the first call to retrieve this list. NextToken *string `type:"string"` // Specifies a principal to filter the permissions returned. Principal *DataLakePrincipal `type:"structure"` // A resource where you will get a list of the principal permissions. // // This operation does not support getting privileges on a table with columns. // Instead, call this operation on the table, and the operation returns the // table and the table w columns. Resource *Resource `type:"structure"` // Specifies a resource type to filter the permissions returned. ResourceType *string `type:"string" enum:"DataLakeResourceType"` // contains filtered or unexported fields }
func (ListPermissionsInput) GoString ¶
func (s ListPermissionsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListPermissionsInput) SetCatalogId ¶
func (s *ListPermissionsInput) SetCatalogId(v string) *ListPermissionsInput
SetCatalogId sets the CatalogId field's value.
func (*ListPermissionsInput) SetMaxResults ¶
func (s *ListPermissionsInput) SetMaxResults(v int64) *ListPermissionsInput
SetMaxResults sets the MaxResults field's value.
func (*ListPermissionsInput) SetNextToken ¶
func (s *ListPermissionsInput) SetNextToken(v string) *ListPermissionsInput
SetNextToken sets the NextToken field's value.
func (*ListPermissionsInput) SetPrincipal ¶
func (s *ListPermissionsInput) SetPrincipal(v *DataLakePrincipal) *ListPermissionsInput
SetPrincipal sets the Principal field's value.
func (*ListPermissionsInput) SetResource ¶
func (s *ListPermissionsInput) SetResource(v *Resource) *ListPermissionsInput
SetResource sets the Resource field's value.
func (*ListPermissionsInput) SetResourceType ¶
func (s *ListPermissionsInput) SetResourceType(v string) *ListPermissionsInput
SetResourceType sets the ResourceType field's value.
func (ListPermissionsInput) String ¶
func (s ListPermissionsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListPermissionsInput) Validate ¶
func (s *ListPermissionsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListPermissionsOutput ¶
type ListPermissionsOutput struct { // A continuation token, if this is not the first call to retrieve this list. NextToken *string `type:"string"` // A list of principals and their permissions on the resource for the specified // principal and resource types. PrincipalResourcePermissions []*PrincipalResourcePermissions `type:"list"` // contains filtered or unexported fields }
func (ListPermissionsOutput) GoString ¶
func (s ListPermissionsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListPermissionsOutput) SetNextToken ¶
func (s *ListPermissionsOutput) SetNextToken(v string) *ListPermissionsOutput
SetNextToken sets the NextToken field's value.
func (*ListPermissionsOutput) SetPrincipalResourcePermissions ¶
func (s *ListPermissionsOutput) SetPrincipalResourcePermissions(v []*PrincipalResourcePermissions) *ListPermissionsOutput
SetPrincipalResourcePermissions sets the PrincipalResourcePermissions field's value.
func (ListPermissionsOutput) String ¶
func (s ListPermissionsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListResourcesInput ¶
type ListResourcesInput struct { // Any applicable row-level and/or column-level filtering conditions for the // resources. FilterConditionList []*FilterCondition `min:"1" type:"list"` // The maximum number of resource results. MaxResults *int64 `min:"1" type:"integer"` // A continuation token, if this is not the first call to retrieve these resources. NextToken *string `type:"string"` // contains filtered or unexported fields }
func (ListResourcesInput) GoString ¶
func (s ListResourcesInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListResourcesInput) SetFilterConditionList ¶
func (s *ListResourcesInput) SetFilterConditionList(v []*FilterCondition) *ListResourcesInput
SetFilterConditionList sets the FilterConditionList field's value.
func (*ListResourcesInput) SetMaxResults ¶
func (s *ListResourcesInput) SetMaxResults(v int64) *ListResourcesInput
SetMaxResults sets the MaxResults field's value.
func (*ListResourcesInput) SetNextToken ¶
func (s *ListResourcesInput) SetNextToken(v string) *ListResourcesInput
SetNextToken sets the NextToken field's value.
func (ListResourcesInput) String ¶
func (s ListResourcesInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListResourcesInput) Validate ¶
func (s *ListResourcesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListResourcesOutput ¶
type ListResourcesOutput struct { // A continuation token, if this is not the first call to retrieve these resources. NextToken *string `type:"string"` // A summary of the data lake resources. ResourceInfoList []*ResourceInfo `type:"list"` // contains filtered or unexported fields }
func (ListResourcesOutput) GoString ¶
func (s ListResourcesOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListResourcesOutput) SetNextToken ¶
func (s *ListResourcesOutput) SetNextToken(v string) *ListResourcesOutput
SetNextToken sets the NextToken field's value.
func (*ListResourcesOutput) SetResourceInfoList ¶
func (s *ListResourcesOutput) SetResourceInfoList(v []*ResourceInfo) *ListResourcesOutput
SetResourceInfoList sets the ResourceInfoList field's value.
func (ListResourcesOutput) String ¶
func (s ListResourcesOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type OperationTimeoutException ¶ added in v1.28.0
type OperationTimeoutException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` // A message describing the problem. Message_ *string `locationName:"Message" type:"string"` // contains filtered or unexported fields }
The operation timed out.
func (*OperationTimeoutException) Code ¶ added in v1.28.0
func (s *OperationTimeoutException) Code() string
Code returns the exception type name.
func (*OperationTimeoutException) Error ¶ added in v1.28.0
func (s *OperationTimeoutException) Error() string
func (OperationTimeoutException) GoString ¶ added in v1.28.0
func (s OperationTimeoutException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*OperationTimeoutException) Message ¶ added in v1.28.0
func (s *OperationTimeoutException) Message() string
Message returns the exception's message.
func (*OperationTimeoutException) OrigErr ¶ added in v1.28.0
func (s *OperationTimeoutException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*OperationTimeoutException) RequestID ¶ added in v1.28.0
func (s *OperationTimeoutException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*OperationTimeoutException) StatusCode ¶ added in v1.28.0
func (s *OperationTimeoutException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (OperationTimeoutException) String ¶ added in v1.28.0
func (s OperationTimeoutException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type PrincipalPermissions ¶
type PrincipalPermissions struct { // The permissions that are granted to the principal. Permissions []*string `type:"list"` // The principal who is granted permissions. Principal *DataLakePrincipal `type:"structure"` // contains filtered or unexported fields }
Permissions granted to a principal.
func (PrincipalPermissions) GoString ¶
func (s PrincipalPermissions) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*PrincipalPermissions) SetPermissions ¶
func (s *PrincipalPermissions) SetPermissions(v []*string) *PrincipalPermissions
SetPermissions sets the Permissions field's value.
func (*PrincipalPermissions) SetPrincipal ¶
func (s *PrincipalPermissions) SetPrincipal(v *DataLakePrincipal) *PrincipalPermissions
SetPrincipal sets the Principal field's value.
func (PrincipalPermissions) String ¶
func (s PrincipalPermissions) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*PrincipalPermissions) Validate ¶
func (s *PrincipalPermissions) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type PrincipalResourcePermissions ¶
type PrincipalResourcePermissions struct { // This attribute can be used to return any additional details of PrincipalResourcePermissions. // Currently returns only as a RAM resource share ARN. AdditionalDetails *DetailsMap `type:"structure"` // The permissions to be granted or revoked on the resource. Permissions []*string `type:"list"` // Indicates whether to grant the ability to grant permissions (as a subset // of permissions granted). PermissionsWithGrantOption []*string `type:"list"` // The Data Lake principal to be granted or revoked permissions. Principal *DataLakePrincipal `type:"structure"` // The resource where permissions are to be granted or revoked. Resource *Resource `type:"structure"` // contains filtered or unexported fields }
The permissions granted or revoked on a resource.
func (PrincipalResourcePermissions) GoString ¶
func (s PrincipalResourcePermissions) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*PrincipalResourcePermissions) SetAdditionalDetails ¶ added in v1.34.8
func (s *PrincipalResourcePermissions) SetAdditionalDetails(v *DetailsMap) *PrincipalResourcePermissions
SetAdditionalDetails sets the AdditionalDetails field's value.
func (*PrincipalResourcePermissions) SetPermissions ¶
func (s *PrincipalResourcePermissions) SetPermissions(v []*string) *PrincipalResourcePermissions
SetPermissions sets the Permissions field's value.
func (*PrincipalResourcePermissions) SetPermissionsWithGrantOption ¶
func (s *PrincipalResourcePermissions) SetPermissionsWithGrantOption(v []*string) *PrincipalResourcePermissions
SetPermissionsWithGrantOption sets the PermissionsWithGrantOption field's value.
func (*PrincipalResourcePermissions) SetPrincipal ¶
func (s *PrincipalResourcePermissions) SetPrincipal(v *DataLakePrincipal) *PrincipalResourcePermissions
SetPrincipal sets the Principal field's value.
func (*PrincipalResourcePermissions) SetResource ¶
func (s *PrincipalResourcePermissions) SetResource(v *Resource) *PrincipalResourcePermissions
SetResource sets the Resource field's value.
func (PrincipalResourcePermissions) String ¶
func (s PrincipalResourcePermissions) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type PutDataLakeSettingsInput ¶
type PutDataLakeSettingsInput struct { // 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. CatalogId *string `min:"1" type:"string"` // A structure representing a list of AWS Lake Formation principals designated // as data lake administrators. // // DataLakeSettings is a required field DataLakeSettings *DataLakeSettings `type:"structure" required:"true"` // contains filtered or unexported fields }
func (PutDataLakeSettingsInput) GoString ¶
func (s PutDataLakeSettingsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*PutDataLakeSettingsInput) SetCatalogId ¶
func (s *PutDataLakeSettingsInput) SetCatalogId(v string) *PutDataLakeSettingsInput
SetCatalogId sets the CatalogId field's value.
func (*PutDataLakeSettingsInput) SetDataLakeSettings ¶
func (s *PutDataLakeSettingsInput) SetDataLakeSettings(v *DataLakeSettings) *PutDataLakeSettingsInput
SetDataLakeSettings sets the DataLakeSettings field's value.
func (PutDataLakeSettingsInput) String ¶
func (s PutDataLakeSettingsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*PutDataLakeSettingsInput) Validate ¶
func (s *PutDataLakeSettingsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type PutDataLakeSettingsOutput ¶
type PutDataLakeSettingsOutput struct {
// contains filtered or unexported fields
}
func (PutDataLakeSettingsOutput) GoString ¶
func (s PutDataLakeSettingsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (PutDataLakeSettingsOutput) String ¶
func (s PutDataLakeSettingsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type RegisterResourceInput ¶
type RegisterResourceInput struct { // The Amazon Resource Name (ARN) of the resource that you want to register. // // ResourceArn is a required field ResourceArn *string `type:"string" required:"true"` // The identifier for the role that registers the resource. RoleArn *string `type:"string"` // Designates an AWS Identity and Access Management (IAM) service-linked role // by registering this role with the Data Catalog. A service-linked role is // a unique type of IAM role that is linked directly to Lake Formation. // // For more information, see Using Service-Linked Roles for Lake Formation (https://docs-aws.amazon.com/lake-formation/latest/dg/service-linked-roles.html). UseServiceLinkedRole *bool `type:"boolean"` // contains filtered or unexported fields }
func (RegisterResourceInput) GoString ¶
func (s RegisterResourceInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*RegisterResourceInput) SetResourceArn ¶
func (s *RegisterResourceInput) SetResourceArn(v string) *RegisterResourceInput
SetResourceArn sets the ResourceArn field's value.
func (*RegisterResourceInput) SetRoleArn ¶
func (s *RegisterResourceInput) SetRoleArn(v string) *RegisterResourceInput
SetRoleArn sets the RoleArn field's value.
func (*RegisterResourceInput) SetUseServiceLinkedRole ¶
func (s *RegisterResourceInput) SetUseServiceLinkedRole(v bool) *RegisterResourceInput
SetUseServiceLinkedRole sets the UseServiceLinkedRole field's value.
func (RegisterResourceInput) String ¶
func (s RegisterResourceInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*RegisterResourceInput) Validate ¶
func (s *RegisterResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type RegisterResourceOutput ¶
type RegisterResourceOutput struct {
// contains filtered or unexported fields
}
func (RegisterResourceOutput) GoString ¶
func (s RegisterResourceOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (RegisterResourceOutput) String ¶
func (s RegisterResourceOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type RemoveLFTagsFromResourceInput ¶ added in v1.38.36
type RemoveLFTagsFromResourceInput struct { // 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. CatalogId *string `min:"1" type:"string"` // The tags to be removed from the resource. // // LFTags is a required field LFTags []*LFTagPair `min:"1" type:"list" required:"true"` // The resource where you want to remove a tag. // // Resource is a required field Resource *Resource `type:"structure" required:"true"` // contains filtered or unexported fields }
func (RemoveLFTagsFromResourceInput) GoString ¶ added in v1.38.36
func (s RemoveLFTagsFromResourceInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*RemoveLFTagsFromResourceInput) SetCatalogId ¶ added in v1.38.36
func (s *RemoveLFTagsFromResourceInput) SetCatalogId(v string) *RemoveLFTagsFromResourceInput
SetCatalogId sets the CatalogId field's value.
func (*RemoveLFTagsFromResourceInput) SetLFTags ¶ added in v1.38.36
func (s *RemoveLFTagsFromResourceInput) SetLFTags(v []*LFTagPair) *RemoveLFTagsFromResourceInput
SetLFTags sets the LFTags field's value.
func (*RemoveLFTagsFromResourceInput) SetResource ¶ added in v1.38.36
func (s *RemoveLFTagsFromResourceInput) SetResource(v *Resource) *RemoveLFTagsFromResourceInput
SetResource sets the Resource field's value.
func (RemoveLFTagsFromResourceInput) String ¶ added in v1.38.36
func (s RemoveLFTagsFromResourceInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*RemoveLFTagsFromResourceInput) Validate ¶ added in v1.38.36
func (s *RemoveLFTagsFromResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type RemoveLFTagsFromResourceOutput ¶ added in v1.38.36
type RemoveLFTagsFromResourceOutput struct { // A list of failures to untag a resource. Failures []*LFTagError `type:"list"` // contains filtered or unexported fields }
func (RemoveLFTagsFromResourceOutput) GoString ¶ added in v1.38.36
func (s RemoveLFTagsFromResourceOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*RemoveLFTagsFromResourceOutput) SetFailures ¶ added in v1.38.36
func (s *RemoveLFTagsFromResourceOutput) SetFailures(v []*LFTagError) *RemoveLFTagsFromResourceOutput
SetFailures sets the Failures field's value.
func (RemoveLFTagsFromResourceOutput) String ¶ added in v1.38.36
func (s RemoveLFTagsFromResourceOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type Resource ¶
type Resource struct { // 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 `type:"structure"` // The location of an Amazon S3 path where permissions are granted or revoked. DataLocation *DataLocationResource `type:"structure"` // 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 `type:"structure"` // The tag key and values attached to a resource. LFTag *LFTagKeyResource `type:"structure"` // A list of tag conditions that define a resource's tag policy. LFTagPolicy *LFTagPolicyResource `type:"structure"` // 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 `type:"structure"` // 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 `type:"structure"` // contains filtered or unexported fields }
A structure for the resource.
func (Resource) GoString ¶
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*Resource) SetCatalog ¶
func (s *Resource) SetCatalog(v *CatalogResource) *Resource
SetCatalog sets the Catalog field's value.
func (*Resource) SetDataLocation ¶
func (s *Resource) SetDataLocation(v *DataLocationResource) *Resource
SetDataLocation sets the DataLocation field's value.
func (*Resource) SetDatabase ¶
func (s *Resource) SetDatabase(v *DatabaseResource) *Resource
SetDatabase sets the Database field's value.
func (*Resource) SetLFTag ¶ added in v1.38.36
func (s *Resource) SetLFTag(v *LFTagKeyResource) *Resource
SetLFTag sets the LFTag field's value.
func (*Resource) SetLFTagPolicy ¶ added in v1.38.36
func (s *Resource) SetLFTagPolicy(v *LFTagPolicyResource) *Resource
SetLFTagPolicy sets the LFTagPolicy field's value.
func (*Resource) SetTable ¶
func (s *Resource) SetTable(v *TableResource) *Resource
SetTable sets the Table field's value.
func (*Resource) SetTableWithColumns ¶
func (s *Resource) SetTableWithColumns(v *TableWithColumnsResource) *Resource
SetTableWithColumns sets the TableWithColumns field's value.
type ResourceInfo ¶
type ResourceInfo struct { // The date and time the resource was last modified. LastModified *time.Time `type:"timestamp"` // The Amazon Resource Name (ARN) of the resource. ResourceArn *string `type:"string"` // The IAM role that registered a resource. RoleArn *string `type:"string"` // contains filtered or unexported fields }
A structure containing information about an AWS Lake Formation resource.
func (ResourceInfo) GoString ¶
func (s ResourceInfo) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ResourceInfo) SetLastModified ¶
func (s *ResourceInfo) SetLastModified(v time.Time) *ResourceInfo
SetLastModified sets the LastModified field's value.
func (*ResourceInfo) SetResourceArn ¶
func (s *ResourceInfo) SetResourceArn(v string) *ResourceInfo
SetResourceArn sets the ResourceArn field's value.
func (*ResourceInfo) SetRoleArn ¶
func (s *ResourceInfo) SetRoleArn(v string) *ResourceInfo
SetRoleArn sets the RoleArn field's value.
func (ResourceInfo) String ¶
func (s ResourceInfo) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ResourceNumberLimitExceededException ¶ added in v1.38.36
type ResourceNumberLimitExceededException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` // A message describing the problem. Message_ *string `locationName:"Message" type:"string"` // contains filtered or unexported fields }
A resource numerical limit was exceeded.
func (*ResourceNumberLimitExceededException) Code ¶ added in v1.38.36
func (s *ResourceNumberLimitExceededException) Code() string
Code returns the exception type name.
func (*ResourceNumberLimitExceededException) Error ¶ added in v1.38.36
func (s *ResourceNumberLimitExceededException) Error() string
func (ResourceNumberLimitExceededException) GoString ¶ added in v1.38.36
func (s ResourceNumberLimitExceededException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ResourceNumberLimitExceededException) Message ¶ added in v1.38.36
func (s *ResourceNumberLimitExceededException) Message() string
Message returns the exception's message.
func (*ResourceNumberLimitExceededException) OrigErr ¶ added in v1.38.36
func (s *ResourceNumberLimitExceededException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*ResourceNumberLimitExceededException) RequestID ¶ added in v1.38.36
func (s *ResourceNumberLimitExceededException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*ResourceNumberLimitExceededException) StatusCode ¶ added in v1.38.36
func (s *ResourceNumberLimitExceededException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (ResourceNumberLimitExceededException) String ¶ added in v1.38.36
func (s ResourceNumberLimitExceededException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type RevokePermissionsInput ¶
type RevokePermissionsInput struct { // 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. CatalogId *string `min:"1" type:"string"` // The permissions revoked to the principal on the resource. For information // about permissions, see Security and Access Control to Metadata and Data (https://docs-aws.amazon.com/lake-formation/latest/dg/security-data-access.html). // // Permissions is a required field Permissions []*string `type:"list" required:"true"` // Indicates a list of permissions for which to revoke the grant option allowing // the principal to pass permissions to other principals. PermissionsWithGrantOption []*string `type:"list"` // The principal to be revoked permissions on the resource. // // Principal is a required field Principal *DataLakePrincipal `type:"structure" required:"true"` // The resource to which permissions are to be revoked. // // Resource is a required field Resource *Resource `type:"structure" required:"true"` // contains filtered or unexported fields }
func (RevokePermissionsInput) GoString ¶
func (s RevokePermissionsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*RevokePermissionsInput) SetCatalogId ¶
func (s *RevokePermissionsInput) SetCatalogId(v string) *RevokePermissionsInput
SetCatalogId sets the CatalogId field's value.
func (*RevokePermissionsInput) SetPermissions ¶
func (s *RevokePermissionsInput) SetPermissions(v []*string) *RevokePermissionsInput
SetPermissions sets the Permissions field's value.
func (*RevokePermissionsInput) SetPermissionsWithGrantOption ¶
func (s *RevokePermissionsInput) SetPermissionsWithGrantOption(v []*string) *RevokePermissionsInput
SetPermissionsWithGrantOption sets the PermissionsWithGrantOption field's value.
func (*RevokePermissionsInput) SetPrincipal ¶
func (s *RevokePermissionsInput) SetPrincipal(v *DataLakePrincipal) *RevokePermissionsInput
SetPrincipal sets the Principal field's value.
func (*RevokePermissionsInput) SetResource ¶
func (s *RevokePermissionsInput) SetResource(v *Resource) *RevokePermissionsInput
SetResource sets the Resource field's value.
func (RevokePermissionsInput) String ¶
func (s RevokePermissionsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*RevokePermissionsInput) Validate ¶
func (s *RevokePermissionsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type RevokePermissionsOutput ¶
type RevokePermissionsOutput struct {
// contains filtered or unexported fields
}
func (RevokePermissionsOutput) GoString ¶
func (s RevokePermissionsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (RevokePermissionsOutput) String ¶
func (s RevokePermissionsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type SearchDatabasesByLFTagsInput ¶ added in v1.38.36
type SearchDatabasesByLFTagsInput struct { // 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. CatalogId *string `min:"1" type:"string"` // A list of conditions (LFTag structures) to search for in database resources. // // Expression is a required field Expression []*LFTag `min:"1" type:"list" required:"true"` // The maximum number of results to return. MaxResults *int64 `min:"1" type:"integer"` // A continuation token, if this is not the first call to retrieve this list. NextToken *string `type:"string"` // contains filtered or unexported fields }
func (SearchDatabasesByLFTagsInput) GoString ¶ added in v1.38.36
func (s SearchDatabasesByLFTagsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*SearchDatabasesByLFTagsInput) SetCatalogId ¶ added in v1.38.36
func (s *SearchDatabasesByLFTagsInput) SetCatalogId(v string) *SearchDatabasesByLFTagsInput
SetCatalogId sets the CatalogId field's value.
func (*SearchDatabasesByLFTagsInput) SetExpression ¶ added in v1.38.36
func (s *SearchDatabasesByLFTagsInput) SetExpression(v []*LFTag) *SearchDatabasesByLFTagsInput
SetExpression sets the Expression field's value.
func (*SearchDatabasesByLFTagsInput) SetMaxResults ¶ added in v1.38.36
func (s *SearchDatabasesByLFTagsInput) SetMaxResults(v int64) *SearchDatabasesByLFTagsInput
SetMaxResults sets the MaxResults field's value.
func (*SearchDatabasesByLFTagsInput) SetNextToken ¶ added in v1.38.36
func (s *SearchDatabasesByLFTagsInput) SetNextToken(v string) *SearchDatabasesByLFTagsInput
SetNextToken sets the NextToken field's value.
func (SearchDatabasesByLFTagsInput) String ¶ added in v1.38.36
func (s SearchDatabasesByLFTagsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*SearchDatabasesByLFTagsInput) Validate ¶ added in v1.38.36
func (s *SearchDatabasesByLFTagsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type SearchDatabasesByLFTagsOutput ¶ added in v1.38.36
type SearchDatabasesByLFTagsOutput struct { // A list of databases that meet the tag conditions. DatabaseList []*TaggedDatabase `type:"list"` // A continuation token, present if the current list segment is not the last. NextToken *string `type:"string"` // contains filtered or unexported fields }
func (SearchDatabasesByLFTagsOutput) GoString ¶ added in v1.38.36
func (s SearchDatabasesByLFTagsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*SearchDatabasesByLFTagsOutput) SetDatabaseList ¶ added in v1.38.36
func (s *SearchDatabasesByLFTagsOutput) SetDatabaseList(v []*TaggedDatabase) *SearchDatabasesByLFTagsOutput
SetDatabaseList sets the DatabaseList field's value.
func (*SearchDatabasesByLFTagsOutput) SetNextToken ¶ added in v1.38.36
func (s *SearchDatabasesByLFTagsOutput) SetNextToken(v string) *SearchDatabasesByLFTagsOutput
SetNextToken sets the NextToken field's value.
func (SearchDatabasesByLFTagsOutput) String ¶ added in v1.38.36
func (s SearchDatabasesByLFTagsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type SearchTablesByLFTagsInput ¶ added in v1.38.36
type SearchTablesByLFTagsInput struct { // 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. CatalogId *string `min:"1" type:"string"` // A list of conditions (LFTag structures) to search for in table resources. // // Expression is a required field Expression []*LFTag `min:"1" type:"list" required:"true"` // The maximum number of results to return. MaxResults *int64 `min:"1" type:"integer"` // A continuation token, if this is not the first call to retrieve this list. NextToken *string `type:"string"` // contains filtered or unexported fields }
func (SearchTablesByLFTagsInput) GoString ¶ added in v1.38.36
func (s SearchTablesByLFTagsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*SearchTablesByLFTagsInput) SetCatalogId ¶ added in v1.38.36
func (s *SearchTablesByLFTagsInput) SetCatalogId(v string) *SearchTablesByLFTagsInput
SetCatalogId sets the CatalogId field's value.
func (*SearchTablesByLFTagsInput) SetExpression ¶ added in v1.38.36
func (s *SearchTablesByLFTagsInput) SetExpression(v []*LFTag) *SearchTablesByLFTagsInput
SetExpression sets the Expression field's value.
func (*SearchTablesByLFTagsInput) SetMaxResults ¶ added in v1.38.36
func (s *SearchTablesByLFTagsInput) SetMaxResults(v int64) *SearchTablesByLFTagsInput
SetMaxResults sets the MaxResults field's value.
func (*SearchTablesByLFTagsInput) SetNextToken ¶ added in v1.38.36
func (s *SearchTablesByLFTagsInput) SetNextToken(v string) *SearchTablesByLFTagsInput
SetNextToken sets the NextToken field's value.
func (SearchTablesByLFTagsInput) String ¶ added in v1.38.36
func (s SearchTablesByLFTagsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*SearchTablesByLFTagsInput) Validate ¶ added in v1.38.36
func (s *SearchTablesByLFTagsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type SearchTablesByLFTagsOutput ¶ added in v1.38.36
type SearchTablesByLFTagsOutput struct { // A continuation token, present if the current list segment is not the last. NextToken *string `type:"string"` // A list of tables that meet the tag conditions. TableList []*TaggedTable `type:"list"` // contains filtered or unexported fields }
func (SearchTablesByLFTagsOutput) GoString ¶ added in v1.38.36
func (s SearchTablesByLFTagsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*SearchTablesByLFTagsOutput) SetNextToken ¶ added in v1.38.36
func (s *SearchTablesByLFTagsOutput) SetNextToken(v string) *SearchTablesByLFTagsOutput
SetNextToken sets the NextToken field's value.
func (*SearchTablesByLFTagsOutput) SetTableList ¶ added in v1.38.36
func (s *SearchTablesByLFTagsOutput) SetTableList(v []*TaggedTable) *SearchTablesByLFTagsOutput
SetTableList sets the TableList field's value.
func (SearchTablesByLFTagsOutput) String ¶ added in v1.38.36
func (s SearchTablesByLFTagsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type TableResource ¶
type TableResource struct { // The identifier for the Data Catalog. By default, it is the account ID of // the caller. CatalogId *string `min:"1" type:"string"` // 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 is a required field DatabaseName *string `min:"1" type:"string" required:"true"` // The name of the table. Name *string `min:"1" type:"string"` // A wildcard object representing every table under a database. // // At least one of TableResource$Name or TableResource$TableWildcard is required. TableWildcard *TableWildcard `type:"structure"` // contains filtered or unexported fields }
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.
func (TableResource) GoString ¶
func (s TableResource) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*TableResource) SetCatalogId ¶ added in v1.33.3
func (s *TableResource) SetCatalogId(v string) *TableResource
SetCatalogId sets the CatalogId field's value.
func (*TableResource) SetDatabaseName ¶
func (s *TableResource) SetDatabaseName(v string) *TableResource
SetDatabaseName sets the DatabaseName field's value.
func (*TableResource) SetName ¶
func (s *TableResource) SetName(v string) *TableResource
SetName sets the Name field's value.
func (*TableResource) SetTableWildcard ¶ added in v1.33.3
func (s *TableResource) SetTableWildcard(v *TableWildcard) *TableResource
SetTableWildcard sets the TableWildcard field's value.
func (TableResource) String ¶
func (s TableResource) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*TableResource) Validate ¶
func (s *TableResource) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type TableWildcard ¶ added in v1.33.3
type TableWildcard struct {
// contains filtered or unexported fields
}
A wildcard object representing every table under a database.
func (TableWildcard) GoString ¶ added in v1.33.3
func (s TableWildcard) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (TableWildcard) String ¶ added in v1.33.3
func (s TableWildcard) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type TableWithColumnsResource ¶
type TableWithColumnsResource struct { // The identifier for the Data Catalog. By default, it is the account ID of // the caller. CatalogId *string `min:"1" type:"string"` // The list of column names for the table. At least one of ColumnNames or ColumnWildcard // is required. ColumnNames []*string `type:"list"` // A wildcard specified by a ColumnWildcard object. At least one of ColumnNames // or ColumnWildcard is required. ColumnWildcard *ColumnWildcard `type:"structure"` // 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 is a required field DatabaseName *string `min:"1" type:"string" required:"true"` // 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 is a required field Name *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
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.
func (TableWithColumnsResource) GoString ¶
func (s TableWithColumnsResource) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*TableWithColumnsResource) SetCatalogId ¶ added in v1.33.3
func (s *TableWithColumnsResource) SetCatalogId(v string) *TableWithColumnsResource
SetCatalogId sets the CatalogId field's value.
func (*TableWithColumnsResource) SetColumnNames ¶
func (s *TableWithColumnsResource) SetColumnNames(v []*string) *TableWithColumnsResource
SetColumnNames sets the ColumnNames field's value.
func (*TableWithColumnsResource) SetColumnWildcard ¶
func (s *TableWithColumnsResource) SetColumnWildcard(v *ColumnWildcard) *TableWithColumnsResource
SetColumnWildcard sets the ColumnWildcard field's value.
func (*TableWithColumnsResource) SetDatabaseName ¶
func (s *TableWithColumnsResource) SetDatabaseName(v string) *TableWithColumnsResource
SetDatabaseName sets the DatabaseName field's value.
func (*TableWithColumnsResource) SetName ¶
func (s *TableWithColumnsResource) SetName(v string) *TableWithColumnsResource
SetName sets the Name field's value.
func (TableWithColumnsResource) String ¶
func (s TableWithColumnsResource) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*TableWithColumnsResource) Validate ¶
func (s *TableWithColumnsResource) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type TaggedDatabase ¶ added in v1.38.36
type TaggedDatabase struct { // A database that has tags attached to it. Database *DatabaseResource `type:"structure"` // A list of tags attached to the database. LFTags []*LFTagPair `min:"1" type:"list"` // contains filtered or unexported fields }
A structure describing a database resource with tags.
func (TaggedDatabase) GoString ¶ added in v1.38.36
func (s TaggedDatabase) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*TaggedDatabase) SetDatabase ¶ added in v1.38.36
func (s *TaggedDatabase) SetDatabase(v *DatabaseResource) *TaggedDatabase
SetDatabase sets the Database field's value.
func (*TaggedDatabase) SetLFTags ¶ added in v1.38.36
func (s *TaggedDatabase) SetLFTags(v []*LFTagPair) *TaggedDatabase
SetLFTags sets the LFTags field's value.
func (TaggedDatabase) String ¶ added in v1.38.36
func (s TaggedDatabase) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type TaggedTable ¶ added in v1.38.36
type TaggedTable struct { // A list of tags attached to the database where the table resides. LFTagOnDatabase []*LFTagPair `min:"1" type:"list"` // A list of tags attached to columns in the table. LFTagsOnColumns []*ColumnLFTag `type:"list"` // A list of tags attached to the table. LFTagsOnTable []*LFTagPair `min:"1" type:"list"` // A table that has tags attached to it. Table *TableResource `type:"structure"` // contains filtered or unexported fields }
A structure describing a table resource with tags.
func (TaggedTable) GoString ¶ added in v1.38.36
func (s TaggedTable) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*TaggedTable) SetLFTagOnDatabase ¶ added in v1.38.36
func (s *TaggedTable) SetLFTagOnDatabase(v []*LFTagPair) *TaggedTable
SetLFTagOnDatabase sets the LFTagOnDatabase field's value.
func (*TaggedTable) SetLFTagsOnColumns ¶ added in v1.38.36
func (s *TaggedTable) SetLFTagsOnColumns(v []*ColumnLFTag) *TaggedTable
SetLFTagsOnColumns sets the LFTagsOnColumns field's value.
func (*TaggedTable) SetLFTagsOnTable ¶ added in v1.38.36
func (s *TaggedTable) SetLFTagsOnTable(v []*LFTagPair) *TaggedTable
SetLFTagsOnTable sets the LFTagsOnTable field's value.
func (*TaggedTable) SetTable ¶ added in v1.38.36
func (s *TaggedTable) SetTable(v *TableResource) *TaggedTable
SetTable sets the Table field's value.
func (TaggedTable) String ¶ added in v1.38.36
func (s TaggedTable) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type UpdateLFTagInput ¶ added in v1.38.36
type UpdateLFTagInput struct { // 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. CatalogId *string `min:"1" type:"string"` // The key-name for the tag for which to add or delete values. // // TagKey is a required field TagKey *string `min:"1" type:"string" required:"true"` // A list of tag values to add from the tag. TagValuesToAdd []*string `min:"1" type:"list"` // A list of tag values to delete from the tag. TagValuesToDelete []*string `min:"1" type:"list"` // contains filtered or unexported fields }
func (UpdateLFTagInput) GoString ¶ added in v1.38.36
func (s UpdateLFTagInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UpdateLFTagInput) SetCatalogId ¶ added in v1.38.36
func (s *UpdateLFTagInput) SetCatalogId(v string) *UpdateLFTagInput
SetCatalogId sets the CatalogId field's value.
func (*UpdateLFTagInput) SetTagKey ¶ added in v1.38.36
func (s *UpdateLFTagInput) SetTagKey(v string) *UpdateLFTagInput
SetTagKey sets the TagKey field's value.
func (*UpdateLFTagInput) SetTagValuesToAdd ¶ added in v1.38.36
func (s *UpdateLFTagInput) SetTagValuesToAdd(v []*string) *UpdateLFTagInput
SetTagValuesToAdd sets the TagValuesToAdd field's value.
func (*UpdateLFTagInput) SetTagValuesToDelete ¶ added in v1.38.36
func (s *UpdateLFTagInput) SetTagValuesToDelete(v []*string) *UpdateLFTagInput
SetTagValuesToDelete sets the TagValuesToDelete field's value.
func (UpdateLFTagInput) String ¶ added in v1.38.36
func (s UpdateLFTagInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UpdateLFTagInput) Validate ¶ added in v1.38.36
func (s *UpdateLFTagInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateLFTagOutput ¶ added in v1.38.36
type UpdateLFTagOutput struct {
// contains filtered or unexported fields
}
func (UpdateLFTagOutput) GoString ¶ added in v1.38.36
func (s UpdateLFTagOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (UpdateLFTagOutput) String ¶ added in v1.38.36
func (s UpdateLFTagOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type UpdateResourceInput ¶
type UpdateResourceInput struct { // The resource ARN. // // ResourceArn is a required field ResourceArn *string `type:"string" required:"true"` // The new role to use for the given resource registered in AWS Lake Formation. // // RoleArn is a required field RoleArn *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (UpdateResourceInput) GoString ¶
func (s UpdateResourceInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UpdateResourceInput) SetResourceArn ¶
func (s *UpdateResourceInput) SetResourceArn(v string) *UpdateResourceInput
SetResourceArn sets the ResourceArn field's value.
func (*UpdateResourceInput) SetRoleArn ¶
func (s *UpdateResourceInput) SetRoleArn(v string) *UpdateResourceInput
SetRoleArn sets the RoleArn field's value.
func (UpdateResourceInput) String ¶
func (s UpdateResourceInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UpdateResourceInput) Validate ¶
func (s *UpdateResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateResourceOutput ¶
type UpdateResourceOutput struct {
// contains filtered or unexported fields
}
func (UpdateResourceOutput) GoString ¶
func (s UpdateResourceOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (UpdateResourceOutput) String ¶
func (s UpdateResourceOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
Directories ¶
Path | Synopsis |
---|---|
Package lakeformationiface provides an interface to enable mocking the AWS Lake Formation service client for testing your code.
|
Package lakeformationiface provides an interface to enable mocking the AWS Lake Formation service client for testing your code. |