text:
package finspacedata

import (
	"fmt"

	"k8s.io/autoscaler/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/aws"
	"k8s.io/autoscaler/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/aws/awsutil"
	"k8s.io/autoscaler/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/aws/request"
	"k8s.io/autoscaler/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/private/protocol"
)

const opCreateChangeset = "CreateChangeset"

// CreateChangesetRequest generates a "aws/request.Request" representing the
// client's request for the CreateChangeset 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 CreateChangeset for more information on using the CreateChangeset
// 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 CreateChangesetRequest method.
//	req, resp := client.CreateChangesetRequest(params)
//
//	err := req.Send()
//	if err == nil { // resp is now filled
//	    fmt.Println(resp)
//	}
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/CreateChangeset
func (c *FinSpaceData) CreateChangesetRequest(input *CreateChangesetInput) (req *request.Request, output *CreateChangesetOutput) {
	op := &request.Operation{
		Name:       opCreateChangeset,
		HTTPMethod: "POST",
		HTTPPath:   "/datasets/{datasetId}/changesetsv2",
	}

	if input == nil {
		input = &CreateChangesetInput{}
	}

	output = &CreateChangesetOutput{}
	req = c.newRequest(op, input, output)
	return
}

// CreateChangeset API operation for FinSpace Public API.
//
// Creates a new Changeset in a FinSpace Dataset.
//
// 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 FinSpace Public API's
// API operation CreateChangeset for usage and error information.
//
// Returned Error Types:
//
//   - ResourceNotFoundException
//     One or more resources can't be found.
//
//   - InternalServerException
//     The request processing has failed because of an unknown error, exception
//     or failure.
//
//   - ValidationException
//     The input fails to satisfy the constraints specified by an AWS service.
//
//   - ThrottlingException
//     The request was denied due to request throttling.
//
//   - AccessDeniedException
//     You do not have sufficient access to perform this action.
//
//   - LimitExceededException
//     A limit has exceeded.
//
//   - ConflictException
//     The request conflicts with an existing resource.
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/CreateChangeset
func (c *FinSpaceData) CreateChangeset(input *CreateChangesetInput) (*CreateChangesetOutput, error) {
	req, out := c.CreateChangesetRequest(input)
	return out, req.Send()
}

// CreateChangesetWithContext is the same as CreateChangeset with the addition of
// the ability to pass a context and additional request options.
//
// See CreateChangeset 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 (c *FinSpaceData) CreateChangesetWithContext(ctx aws.Context, input *CreateChangesetInput, opts ...request.Option) (*CreateChangesetOutput, error) {
	req, out := c.CreateChangesetRequest(input)
	req.SetContext(ctx)
	req.ApplyOptions(opts...)
	return out, req.Send()
}

const opCreateDataView = "CreateDataView"

// CreateDataViewRequest generates a "aws/request.Request" representing the
// client's request for the CreateDataView 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 CreateDataView for more information on using the CreateDataView
// 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 CreateDataViewRequest method.
//	req, resp := client.CreateDataViewRequest(params)
//
//	err := req.Send()
//	if err == nil { // resp is now filled
//	    fmt.Println(resp)
//	}
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/CreateDataView
func (c *FinSpaceData) CreateDataViewRequest(input *CreateDataViewInput) (req *request.Request, output *CreateDataViewOutput) {
	op := &request.Operation{
		Name:       opCreateDataView,
		HTTPMethod: "POST",
		HTTPPath:   "/datasets/{datasetId}/dataviewsv2",
	}

	if input == nil {
		input = &CreateDataViewInput{}
	}

	output = &CreateDataViewOutput{}
	req = c.newRequest(op, input, output)
	return
}

// CreateDataView API operation for FinSpace Public API.
//
// Creates a Dataview for a Dataset.
//
// 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 FinSpace Public API's
// API operation CreateDataView for usage and error information.
//
// Returned Error Types:
//
//   - InternalServerException
//     The request processing has failed because of an unknown error, exception
//     or failure.
//
//   - ThrottlingException
//     The request was denied due to request throttling.
//
//   - ValidationException
//     The input fails to satisfy the constraints specified by an AWS service.
//
//   - LimitExceededException
//     A limit has exceeded.
//
//   - ConflictException
//     The request conflicts with an existing resource.
//
//   - ResourceNotFoundException
//     One or more resources can't be found.
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/CreateDataView
func (c *FinSpaceData) CreateDataView(input *CreateDataViewInput) (*CreateDataViewOutput, error) {
	req, out := c.CreateDataViewRequest(input)
	return out, req.Send()
}

// CreateDataViewWithContext is the same as CreateDataView with the addition of
// the ability to pass a context and additional request options.
//
// See CreateDataView 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 (c *FinSpaceData) CreateDataViewWithContext(ctx aws.Context, input *CreateDataViewInput, opts ...request.Option) (*CreateDataViewOutput, error) {
	req, out := c.CreateDataViewRequest(input)
	req.SetContext(ctx)
	req.ApplyOptions(opts...)
	return out, req.Send()
}

const opCreateDataset = "CreateDataset"

// CreateDatasetRequest generates a "aws/request.Request" representing the
// client's request for the CreateDataset 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 CreateDataset for more information on using the CreateDataset
// 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 CreateDatasetRequest method.
//	req, resp := client.CreateDatasetRequest(params)
//
//	err := req.Send()
//	if err == nil { // resp is now filled
//	    fmt.Println(resp)
//	}
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/CreateDataset
func (c *FinSpaceData) CreateDatasetRequest(input *CreateDatasetInput) (req *request.Request, output *CreateDatasetOutput) {
	op := &request.Operation{
		Name:       opCreateDataset,
		HTTPMethod: "POST",
		HTTPPath:   "/datasetsv2",
	}

	if input == nil {
		input = &CreateDatasetInput{}
	}

	output = &CreateDatasetOutput{}
	req = c.newRequest(op, input, output)
	return
}

// CreateDataset API operation for FinSpace Public API.
//
// Creates a new FinSpace Dataset.
//
// 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 FinSpace Public API's
// API operation CreateDataset for usage and error information.
//
// Returned Error Types:
//
//   - InternalServerException
//     The request processing has failed because of an unknown error, exception
//     or failure.
//
//   - ValidationException
//     The input fails to satisfy the constraints specified by an AWS service.
//
//   - ThrottlingException
//     The request was denied due to request throttling.
//
//   - AccessDeniedException
//     You do not have sufficient access to perform this action.
//
//   - LimitExceededException
//     A limit has exceeded.
//
//   - ConflictException
//     The request conflicts with an existing resource.
//
//   - ResourceNotFoundException
//     One or more resources can't be found.
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/CreateDataset
func (c *FinSpaceData) CreateDataset(input *CreateDatasetInput) (*CreateDatasetOutput, error) {
	req, out := c.CreateDatasetRequest(input)
	return out, req.Send()
}

// CreateDatasetWithContext is the same as CreateDataset with the addition of
// the ability to pass a context and additional request options.
//
// See CreateDataset 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 (c *FinSpaceData) CreateDatasetWithContext(ctx aws.Context, input *CreateDatasetInput, opts ...request.Option) (*CreateDatasetOutput, error) {
	req, out := c.CreateDatasetRequest(input)
	req.SetContext(ctx)
	req.ApplyOptions(opts...)
	return out, req.Send()
}

const opCreatePermissionGroup = "CreatePermissionGroup"

// CreatePermissionGroupRequest generates a "aws/request.Request" representing the
// client's request for the CreatePermissionGroup 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 CreatePermissionGroup for more information on using the CreatePermissionGroup
// 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 CreatePermissionGroupRequest method.
//	req, resp := client.CreatePermissionGroupRequest(params)
//
//	err := req.Send()
//	if err == nil { // resp is now filled
//	    fmt.Println(resp)
//	}
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/CreatePermissionGroup
func (c *FinSpaceData) CreatePermissionGroupRequest(input *CreatePermissionGroupInput) (req *request.Request, output *CreatePermissionGroupOutput) {
	op := &request.Operation{
		Name:       opCreatePermissionGroup,
		HTTPMethod: "POST",
		HTTPPath:   "/permission-group",
	}

	if input == nil {
		input = &CreatePermissionGroupInput{}
	}

	output = &CreatePermissionGroupOutput{}
	req = c.newRequest(op, input, output)
	return
}

// CreatePermissionGroup API operation for FinSpace Public API.
//
// Creates a group of permissions for various actions that a user can perform
// in FinSpace.
//
// 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 FinSpace Public API's
// API operation CreatePermissionGroup for usage and error information.
//
// Returned Error Types:
//
//   - InternalServerException
//     The request processing has failed because of an unknown error, exception
//     or failure.
//
//   - ValidationException
//     The input fails to satisfy the constraints specified by an AWS service.
//
//   - ThrottlingException
//     The request was denied due to request throttling.
//
//   - AccessDeniedException
//     You do not have sufficient access to perform this action.
//
//   - LimitExceededException
//     A limit has exceeded.
//
//   - ConflictException
//     The request conflicts with an existing resource.
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/CreatePermissionGroup
func (c *FinSpaceData) CreatePermissionGroup(input *CreatePermissionGroupInput) (*CreatePermissionGroupOutput, error) {
	req, out := c.CreatePermissionGroupRequest(input)
	return out, req.Send()
}

// CreatePermissionGroupWithContext is the same as CreatePermissionGroup with the addition of
// the ability to pass a context and additional request options.
//
// See CreatePermissionGroup 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 (c *FinSpaceData) CreatePermissionGroupWithContext(ctx aws.Context, input *CreatePermissionGroupInput, opts ...request.Option) (*CreatePermissionGroupOutput, error) {
	req, out := c.CreatePermissionGroupRequest(input)
	req.SetContext(ctx)
	req.ApplyOptions(opts...)
	return out, req.Send()
}

const opCreateUser = "CreateUser"

// CreateUserRequest generates a "aws/request.Request" representing the
// client's request for the CreateUser 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 CreateUser for more information on using the CreateUser
// 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 CreateUserRequest method.
//	req, resp := client.CreateUserRequest(params)
//
//	err := req.Send()
//	if err == nil { // resp is now filled
//	    fmt.Println(resp)
//	}
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/CreateUser
func (c *FinSpaceData) CreateUserRequest(input *CreateUserInput) (req *request.Request, output *CreateUserOutput) {
	op := &request.Operation{
		Name:       opCreateUser,
		HTTPMethod: "POST",
		HTTPPath:   "/user",
	}

	if input == nil {
		input = &CreateUserInput{}
	}

	output = &CreateUserOutput{}
	req = c.newRequest(op, input, output)
	return
}

// CreateUser API operation for FinSpace Public API.
//
// Creates a new user in FinSpace.
//
// 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 FinSpace Public API's
// API operation CreateUser for usage and error information.
//
// Returned Error Types:
//
//   - InternalServerException
//     The request processing has failed because of an unknown error, exception
//     or failure.
//
//   - ValidationException
//     The input fails to satisfy the constraints specified by an AWS service.
//
//   - ThrottlingException
//     The request was denied due to request throttling.
//
//   - AccessDeniedException
//     You do not have sufficient access to perform this action.
//
//   - LimitExceededException
//     A limit has exceeded.
//
//   - ConflictException
//     The request conflicts with an existing resource.
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/CreateUser
func (c *FinSpaceData) CreateUser(input *CreateUserInput) (*CreateUserOutput, error) {
	req, out := c.CreateUserRequest(input)
	return out, req.Send()
}

// CreateUserWithContext is the same as CreateUser with the addition of
// the ability to pass a context and additional request options.
//
// See CreateUser 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 (c *FinSpaceData) CreateUserWithContext(ctx aws.Context, input *CreateUserInput, opts ...request.Option) (*CreateUserOutput, error) {
	req, out := c.CreateUserRequest(input)
	req.SetContext(ctx)
	req.ApplyOptions(opts...)
	return out, req.Send()
}

const opDeleteDataset = "DeleteDataset"

// DeleteDatasetRequest generates a "aws/request.Request" representing the
// client's request for the DeleteDataset 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 DeleteDataset for more information on using the DeleteDataset
// 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 DeleteDatasetRequest method.
//	req, resp := client.DeleteDatasetRequest(params)
//
//	err := req.Send()
//	if err == nil { // resp is now filled
//	    fmt.Println(resp)
//	}
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/DeleteDataset
func (c *FinSpaceData) DeleteDatasetRequest(input *DeleteDatasetInput) (req *request.Request, output *DeleteDatasetOutput) {
	op := &request.Operation{
		Name:       opDeleteDataset,
		HTTPMethod: "DELETE",
		HTTPPath:   "/datasetsv2/{datasetId}",
	}

	if input == nil {
		input = &DeleteDatasetInput{}
	}

	output = &DeleteDatasetOutput{}
	req = c.newRequest(op, input, output)
	return
}

// DeleteDataset API operation for FinSpace Public API.
//
// Deletes a FinSpace Dataset.
//
// 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 FinSpace Public API's
// API operation DeleteDataset for usage and error information.
//
// Returned Error Types:
//
//   - InternalServerException
//     The request processing has failed because of an unknown error, exception
//     or failure.
//
//   - ValidationException
//     The input fails to satisfy the constraints specified by an AWS service.
//
//   - ThrottlingException
//     The request was denied due to request throttling.
//
//   - AccessDeniedException
//     You do not have sufficient access to perform this action.
//
//   - ResourceNotFoundException
//     One or more resources can't be found.
//
//   - LimitExceededException
//     A limit has exceeded.
//
//   - ConflictException
//     The request conflicts with an existing resource.
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/DeleteDataset
func (c *FinSpaceData) DeleteDataset(input *DeleteDatasetInput) (*DeleteDatasetOutput, error) {
	req, out := c.DeleteDatasetRequest(input)
	return out, req.Send()
}

// DeleteDatasetWithContext is the same as DeleteDataset with the addition of
// the ability to pass a context and additional request options.
//
// See DeleteDataset 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 (c *FinSpaceData) DeleteDatasetWithContext(ctx aws.Context, input *DeleteDatasetInput, opts ...request.Option) (*DeleteDatasetOutput, error) {
	req, out := c.DeleteDatasetRequest(input)
	req.SetContext(ctx)
	req.ApplyOptions(opts...)
	return out, req.Send()
}

const opDeletePermissionGroup = "DeletePermissionGroup"

// DeletePermissionGroupRequest generates a "aws/request.Request" representing the
// client's request for the DeletePermissionGroup 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 DeletePermissionGroup for more information on using the DeletePermissionGroup
// 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 DeletePermissionGroupRequest method.
//	req, resp := client.DeletePermissionGroupRequest(params)
//
//	err := req.Send()
//	if err == nil { // resp is now filled
//	    fmt.Println(resp)
//	}
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/DeletePermissionGroup
func (c *FinSpaceData) DeletePermissionGroupRequest(input *DeletePermissionGroupInput) (req *request.Request, output *DeletePermissionGroupOutput) {
	op := &request.Operation{
		Name:       opDeletePermissionGroup,
		HTTPMethod: "DELETE",
		HTTPPath:   "/permission-group/{permissionGroupId}",
	}

	if input == nil {
		input = &DeletePermissionGroupInput{}
	}

	output = &DeletePermissionGroupOutput{}
	req = c.newRequest(op, input, output)
	return
}

// DeletePermissionGroup API operation for FinSpace Public API.
//
// Deletes a permission group. This action is irreversible.
//
// 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 FinSpace Public API's
// API operation DeletePermissionGroup for usage and error information.
//
// Returned Error Types:
//
//   - InternalServerException
//     The request processing has failed because of an unknown error, exception
//     or failure.
//
//   - ValidationException
//     The input fails to satisfy the constraints specified by an AWS service.
//
//   - ThrottlingException
//     The request was denied due to request throttling.
//
//   - AccessDeniedException
//     You do not have sufficient access to perform this action.
//
//   - ResourceNotFoundException
//     One or more resources can't be found.
//
//   - LimitExceededException
//     A limit has exceeded.
//
//   - ConflictException
//     The request conflicts with an existing resource.
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/DeletePermissionGroup
func (c *FinSpaceData) DeletePermissionGroup(input *DeletePermissionGroupInput) (*DeletePermissionGroupOutput, error) {
	req, out := c.DeletePermissionGroupRequest(input)
	return out, req.Send()
}

// DeletePermissionGroupWithContext is the same as DeletePermissionGroup with the addition of
// the ability to pass a context and additional request options.
//
// See DeletePermissionGroup 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 (c *FinSpaceData) DeletePermissionGroupWithContext(ctx aws.Context, input *DeletePermissionGroupInput, opts ...request.Option) (*DeletePermissionGroupOutput, error) {
	req, out := c.DeletePermissionGroupRequest(input)
	req.SetContext(ctx)
	req.ApplyOptions(opts...)
	return out, req.Send()
}

const opDisableUser = "DisableUser"

// DisableUserRequest generates a "aws/request.Request" representing the
// client's request for the DisableUser 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 DisableUser for more information on using the DisableUser
// 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 DisableUserRequest method.
//	req, resp := client.DisableUserRequest(params)
//
//	err := req.Send()
//	if err == nil { // resp is now filled
//	    fmt.Println(resp)
//	}
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/DisableUser
func (c *FinSpaceData) DisableUserRequest(input *DisableUserInput) (req *request.Request, output *DisableUserOutput) {
	op := &request.Operation{
		Name:       opDisableUser,
		HTTPMethod: "POST",
		HTTPPath:   "/user/{userId}/disable",
	}

	if input == nil {
		input = &DisableUserInput{}
	}

	output = &DisableUserOutput{}
	req = c.newRequest(op, input, output)
	return
}

// DisableUser API operation for FinSpace Public API.
//
// Denies access to the FinSpace web application and API for the specified user.
//
// 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 FinSpace Public API's
// API operation DisableUser for usage and error information.
//
// Returned Error Types:
//
//   - InternalServerException
//     The request processing has failed because of an unknown error, exception
//     or failure.
//
//   - ValidationException
//     The input fails to satisfy the constraints specified by an AWS service.
//
//   - ThrottlingException
//     The request was denied due to request throttling.
//
//   - AccessDeniedException
//     You do not have sufficient access to perform this action.
//
//   - ResourceNotFoundException
//     One or more resources can't be found.
//
//   - ConflictException
//     The request conflicts with an existing resource.
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/DisableUser
func (c *FinSpaceData) DisableUser(input *DisableUserInput) (*DisableUserOutput, error) {
	req, out := c.DisableUserRequest(input)
	return out, req.Send()
}

// DisableUserWithContext is the same as DisableUser with the addition of
// the ability to pass a context and additional request options.
//
// See DisableUser 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 (c *FinSpaceData) DisableUserWithContext(ctx aws.Context, input *DisableUserInput, opts ...request.Option) (*DisableUserOutput, error) {
	req, out := c.DisableUserRequest(input)
	req.SetContext(ctx)
	req.ApplyOptions(opts...)
	return out, req.Send()
}

const opEnableUser = "EnableUser"

// EnableUserRequest generates a "aws/request.Request" representing the
// client's request for the EnableUser 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 EnableUser for more information on using the EnableUser
// 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 EnableUserRequest method.
//	req, resp := client.EnableUserRequest(params)
//
//	err := req.Send()
//	if err == nil { // resp is now filled
//	    fmt.Println(resp)
//	}
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/EnableUser
func (c *FinSpaceData) EnableUserRequest(input *EnableUserInput) (req *request.Request, output *EnableUserOutput) {
	op := &request.Operation{
		Name:       opEnableUser,
		HTTPMethod: "POST",
		HTTPPath:   "/user/{userId}/enable",
	}

	if input == nil {
		input = &EnableUserInput{}
	}

	output = &EnableUserOutput{}
	req = c.newRequest(op, input, output)
	return
}

// EnableUser API operation for FinSpace Public API.
//
// Allows the specified user to access the FinSpace web application and 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 FinSpace Public API's
// API operation EnableUser for usage and error information.
//
// Returned Error Types:
//
//   - InternalServerException
//     The request processing has failed because of an unknown error, exception
//     or failure.
//
//   - ValidationException
//     The input fails to satisfy the constraints specified by an AWS service.
//
//   - ThrottlingException
//     The request was denied due to request throttling.
//
//   - AccessDeniedException
//     You do not have sufficient access to perform this action.
//
//   - ResourceNotFoundException
//     One or more resources can't be found.
//
//   - LimitExceededException
//     A limit has exceeded.
//
//   - ConflictException
//     The request conflicts with an existing resource.
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/EnableUser
func (c *FinSpaceData) EnableUser(input *EnableUserInput) (*EnableUserOutput, error) {
	req, out := c.EnableUserRequest(input)
	return out, req.Send()
}

// EnableUserWithContext is the same as EnableUser with the addition of
// the ability to pass a context and additional request options.
//
// See EnableUser 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 (c *FinSpaceData) EnableUserWithContext(ctx aws.Context, input *EnableUserInput, opts ...request.Option) (*EnableUserOutput, error) {
	req, out := c.EnableUserRequest(input)
	req.SetContext(ctx)
	req.ApplyOptions(opts...)
	return out, req.Send()
}

const opGetChangeset = "GetChangeset"

// GetChangesetRequest generates a "aws/request.Request" representing the
// client's request for the GetChangeset 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 GetChangeset for more information on using the GetChangeset
// 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 GetChangesetRequest method.
//	req, resp := client.GetChangesetRequest(params)
//
//	err := req.Send()
//	if err == nil { // resp is now filled
//	    fmt.Println(resp)
//	}
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/GetChangeset
func (c *FinSpaceData) GetChangesetRequest(input *GetChangesetInput) (req *request.Request, output *GetChangesetOutput) {
	op := &request.Operation{
		Name:       opGetChangeset,
		HTTPMethod: "GET",
		HTTPPath:   "/datasets/{datasetId}/changesetsv2/{changesetId}",
	}

	if input == nil {
		input = &GetChangesetInput{}
	}

	output = &GetChangesetOutput{}
	req = c.newRequest(op, input, output)
	return
}

// GetChangeset API operation for FinSpace Public API.
//
// Get information about a Changeset.
//
// 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 FinSpace Public API's
// API operation GetChangeset for usage and error information.
//
// Returned Error Types:
//
//   - ResourceNotFoundException
//     One or more resources can't be found.
//
//   - InternalServerException
//     The request processing has failed because of an unknown error, exception
//     or failure.
//
//   - ValidationException
//     The input fails to satisfy the constraints specified by an AWS service.
//
//   - ThrottlingException
//     The request was denied due to request throttling.
//
//   - AccessDeniedException
//     You do not have sufficient access to perform this action.
//
//   - ConflictException
//     The request conflicts with an existing resource.
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/GetChangeset
func (c *FinSpaceData) GetChangeset(input *GetChangesetInput) (*GetChangesetOutput, error) {
	req, out := c.GetChangesetRequest(input)
	return out, req.Send()
}

// GetChangesetWithContext is the same as GetChangeset with the addition of
// the ability to pass a context and additional request options.
//
// See GetChangeset 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 (c *FinSpaceData) GetChangesetWithContext(ctx aws.Context, input *GetChangesetInput, opts ...request.Option) (*GetChangesetOutput, error) {
	req, out := c.GetChangesetRequest(input)
	req.SetContext(ctx)
	req.ApplyOptions(opts...)
	return out, req.Send()
}

const opGetDataView = "GetDataView"

// GetDataViewRequest generates a "aws/request.Request" representing the
// client's request for the GetDataView 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 GetDataView for more information on using the GetDataView
// 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 GetDataViewRequest method.
//	req, resp := client.GetDataViewRequest(params)
//
//	err := req.Send()
//	if err == nil { // resp is now filled
//	    fmt.Println(resp)
//	}
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/GetDataView
func (c *FinSpaceData) GetDataViewRequest(input *GetDataViewInput) (req *request.Request, output *GetDataViewOutput) {
	op := &request.Operation{
		Name:       opGetDataView,
		HTTPMethod: "GET",
		HTTPPath:   "/datasets/{datasetId}/dataviewsv2/{dataviewId}",
	}

	if input == nil {
		input = &GetDataViewInput{}
	}

	output = &GetDataViewOutput{}
	req = c.newRequest(op, input, output)
	return
}

// GetDataView API operation for FinSpace Public API.
//
// Gets information about a Dataview.
//
// 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 FinSpace Public API's
// API operation GetDataView for usage and error information.
//
// Returned Error Types:
//
//   - ResourceNotFoundException
//     One or more resources can't be found.
//
//   - InternalServerException
//     The request processing has failed because of an unknown error, exception
//     or failure.
//
//   - ThrottlingException
//     The request was denied due to request throttling.
//
//   - ValidationException
//     The input fails to satisfy the constraints specified by an AWS service.
//
//   - ConflictException
//     The request conflicts with an existing resource.
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/GetDataView
func (c *FinSpaceData) GetDataView(input *GetDataViewInput) (*GetDataViewOutput, error) {
	req, out := c.GetDataViewRequest(input)
	return out, req.Send()
}

// GetDataViewWithContext is the same as GetDataView with the addition of
// the ability to pass a context and additional request options.
//
// See GetDataView 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 (c *FinSpaceData) GetDataViewWithContext(ctx aws.Context, input *GetDataViewInput, opts ...request.Option) (*GetDataViewOutput, error) {
	req, out := c.GetDataViewRequest(input)
	req.SetContext(ctx)
	req.ApplyOptions(opts...)
	return out, req.Send()
}

const opGetDataset = "GetDataset"

// GetDatasetRequest generates a "aws/request.Request" representing the
// client's request for the GetDataset 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 GetDataset for more information on using the GetDataset
// 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 GetDatasetRequest method.
//	req, resp := client.GetDatasetRequest(params)
//
//	err := req.Send()
//	if err == nil { // resp is now filled
//	    fmt.Println(resp)
//	}
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/GetDataset
func (c *FinSpaceData) GetDatasetRequest(input *GetDatasetInput) (req *request.Request, output *GetDatasetOutput) {
	op := &request.Operation{
		Name:       opGetDataset,
		HTTPMethod: "GET",
		HTTPPath:   "/datasetsv2/{datasetId}",
	}

	if input == nil {
		input = &GetDatasetInput{}
	}

	output = &GetDatasetOutput{}
	req = c.newRequest(op, input, output)
	return
}

// GetDataset API operation for FinSpace Public API.
//
// Returns information about a Dataset.
//
// 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 FinSpace Public API's
// API operation GetDataset for usage and error information.
//
// Returned Error Types:
//
//   - InternalServerException
//     The request processing has failed because of an unknown error, exception
//     or failure.
//
//   - ValidationException
//     The input fails to satisfy the constraints specified by an AWS service.
//
//   - ThrottlingException
//     The request was denied due to request throttling.
//
//   - AccessDeniedException
//     You do not have sufficient access to perform this action.
//
//   - ResourceNotFoundException
//     One or more resources can't be found.
//
//   - ConflictException
//     The request conflicts with an existing resource.
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/GetDataset
func (c *FinSpaceData) GetDataset(input *GetDatasetInput) (*GetDatasetOutput, error) {
	req, out := c.GetDatasetRequest(input)
	return out, req.Send()
}

// GetDatasetWithContext is the same as GetDataset with the addition of
// the ability to pass a context and additional request options.
//
// See GetDataset 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 (c *FinSpaceData) GetDatasetWithContext(ctx aws.Context, input *GetDatasetInput, opts ...request.Option) (*GetDatasetOutput, error) {
	req, out := c.GetDatasetRequest(input)
	req.SetContext(ctx)
	req.ApplyOptions(opts...)
	return out, req.Send()
}

const opGetProgrammaticAccessCredentials = "GetProgrammaticAccessCredentials"

// GetProgrammaticAccessCredentialsRequest generates a "aws/request.Request" representing the
// client's request for the GetProgrammaticAccessCredentials 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 GetProgrammaticAccessCredentials for more information on using the GetProgrammaticAccessCredentials
// 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 GetProgrammaticAccessCredentialsRequest method.
//	req, resp := client.GetProgrammaticAccessCredentialsRequest(params)
//
//	err := req.Send()
//	if err == nil { // resp is now filled
//	    fmt.Println(resp)
//	}
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/GetProgrammaticAccessCredentials
func (c *FinSpaceData) GetProgrammaticAccessCredentialsRequest(input *GetProgrammaticAccessCredentialsInput) (req *request.Request, output *GetProgrammaticAccessCredentialsOutput) {
	op := &request.Operation{
		Name:       opGetProgrammaticAccessCredentials,
		HTTPMethod: "GET",
		HTTPPath:   "/credentials/programmatic",
	}

	if input == nil {
		input = &GetProgrammaticAccessCredentialsInput{}
	}

	output = &GetProgrammaticAccessCredentialsOutput{}
	req = c.newRequest(op, input, output)
	return
}

// GetProgrammaticAccessCredentials API operation for FinSpace Public API.
//
// Request programmatic credentials to use with FinSpace SDK.
//
// 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 FinSpace Public API's
// API operation GetProgrammaticAccessCredentials for usage and error information.
//
// Returned Error Types:
//
//   - InternalServerException
//     The request processing has failed because of an unknown error, exception
//     or failure.
//
//   - ValidationException
//     The input fails to satisfy the constraints specified by an AWS service.
//
//   - ThrottlingException
//     The request was denied due to request throttling.
//
//   - AccessDeniedException
//     You do not have sufficient access to perform this action.
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/GetProgrammaticAccessCredentials
func (c *FinSpaceData) GetProgrammaticAccessCredentials(input *GetProgrammaticAccessCredentialsInput) (*GetProgrammaticAccessCredentialsOutput, error) {
	req, out := c.GetProgrammaticAccessCredentialsRequest(input)
	return out, req.Send()
}

// GetProgrammaticAccessCredentialsWithContext is the same as GetProgrammaticAccessCredentials with the addition of
// the ability to pass a context and additional request options.
//
// See GetProgrammaticAccessCredentials 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 (c *FinSpaceData) GetProgrammaticAccessCredentialsWithContext(ctx aws.Context, input *GetProgrammaticAccessCredentialsInput, opts ...request.Option) (*GetProgrammaticAccessCredentialsOutput, error) {
	req, out := c.GetProgrammaticAccessCredentialsRequest(input)
	req.SetContext(ctx)
	req.ApplyOptions(opts...)
	return out, req.Send()
}

const opGetUser = "GetUser"

// GetUserRequest generates a "aws/request.Request" representing the
// client's request for the GetUser 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 GetUser for more information on using the GetUser
// 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 GetUserRequest method.
//	req, resp := client.GetUserRequest(params)
//
//	err := req.Send()
//	if err == nil { // resp is now filled
//	    fmt.Println(resp)
//	}
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/GetUser
func (c *FinSpaceData) GetUserRequest(input *GetUserInput) (req *request.Request, output *GetUserOutput) {
	op := &request.Operation{
		Name:       opGetUser,
		HTTPMethod: "GET",
		HTTPPath:   "/user/{userId}",
	}

	if input == nil {
		input = &GetUserInput{}
	}

	output = &GetUserOutput{}
	req = c.newRequest(op, input, output)
	return
}

// GetUser API operation for FinSpace Public API.
//
// Retrieves details for a specific user.
//
// 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 FinSpace Public API's
// API operation GetUser for usage and error information.
//
// Returned Error Types:
//
//   - InternalServerException
//     The request processing has failed because of an unknown error, exception
//     or failure.
//
//   - ValidationException
//     The input fails to satisfy the constraints specified by an AWS service.
//
//   - ThrottlingException
//     The request was denied due to request throttling.
//
//   - AccessDeniedException
//     You do not have sufficient access to perform this action.
//
//   - ResourceNotFoundException
//     One or more resources can't be found.
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/GetUser
func (c *FinSpaceData) GetUser(input *GetUserInput) (*GetUserOutput, error) {
	req, out := c.GetUserRequest(input)
	return out, req.Send()
}

// GetUserWithContext is the same as GetUser with the addition of
// the ability to pass a context and additional request options.
//
// See GetUser 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 (c *FinSpaceData) GetUserWithContext(ctx aws.Context, input *GetUserInput, opts ...request.Option) (*GetUserOutput, error) {
	req, out := c.GetUserRequest(input)
	req.SetContext(ctx)
	req.ApplyOptions(opts...)
	return out, req.Send()
}

const opGetWorkingLocation = "GetWorkingLocation"

// GetWorkingLocationRequest generates a "aws/request.Request" representing the
// client's request for the GetWorkingLocation 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 GetWorkingLocation for more information on using the GetWorkingLocation
// 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 GetWorkingLocationRequest method.
//	req, resp := client.GetWorkingLocationRequest(params)
//
//	err := req.Send()
//	if err == nil { // resp is now filled
//	    fmt.Println(resp)
//	}
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/GetWorkingLocation
func (c *FinSpaceData) GetWorkingLocationRequest(input *GetWorkingLocationInput) (req *request.Request, output *GetWorkingLocationOutput) {
	op := &request.Operation{
		Name:       opGetWorkingLocation,
		HTTPMethod: "POST",
		HTTPPath:   "/workingLocationV1",
	}

	if input == nil {
		input = &GetWorkingLocationInput{}
	}

	output = &GetWorkingLocationOutput{}
	req = c.newRequest(op, input, output)
	return
}

// GetWorkingLocation API operation for FinSpace Public API.
//
// A temporary Amazon S3 location, where you can copy your files from a source
// location to stage or use as a scratch space in FinSpace notebook.
//
// 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 FinSpace Public API's
// API operation GetWorkingLocation for usage and error information.
//
// Returned Error Types:
//
//   - InternalServerException
//     The request processing has failed because of an unknown error, exception
//     or failure.
//
//   - AccessDeniedException
//     You do not have sufficient access to perform this action.
//
//   - ThrottlingException
//     The request was denied due to request throttling.
//
//   - ValidationException
//     The input fails to satisfy the constraints specified by an AWS service.
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/GetWorkingLocation
func (c *FinSpaceData) GetWorkingLocation(input *GetWorkingLocationInput) (*GetWorkingLocationOutput, error) {
	req, out := c.GetWorkingLocationRequest(input)
	return out, req.Send()
}

// GetWorkingLocationWithContext is the same as GetWorkingLocation with the addition of
// the ability to pass a context and additional request options.
//
// See GetWorkingLocation 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 (c *FinSpaceData) GetWorkingLocationWithContext(ctx aws.Context, input *GetWorkingLocationInput, opts ...request.Option) (*GetWorkingLocationOutput, error) {
	req, out := c.GetWorkingLocationRequest(input)
	req.SetContext(ctx)
	req.ApplyOptions(opts...)
	return out, req.Send()
}

const opListChangesets = "ListChangesets"

// ListChangesetsRequest generates a "aws/request.Request" representing the
// client's request for the ListChangesets 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 ListChangesets for more information on using the ListChangesets
// 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 ListChangesetsRequest method.
//	req, resp := client.ListChangesetsRequest(params)
//
//	err := req.Send()
//	if err == nil { // resp is now filled
//	    fmt.Println(resp)
//	}
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/ListChangesets
func (c *FinSpaceData) ListChangesetsRequest(input *ListChangesetsInput) (req *request.Request, output *ListChangesetsOutput) {
	op := &request.Operation{
		Name:       opListChangesets,
		HTTPMethod: "GET",
		HTTPPath:   "/datasets/{datasetId}/changesetsv2",
		Paginator: &request.Paginator{
			InputTokens:     []string{"nextToken"},
			OutputTokens:    []string{"nextToken"},
			LimitToken:      "maxResults",
			TruncationToken: "",
		},
	}

	if input == nil {
		input = &ListChangesetsInput{}
	}

	output = &ListChangesetsOutput{}
	req = c.newRequest(op, input, output)
	return
}

// ListChangesets API operation for FinSpace Public API.
//
// Lists the FinSpace Changesets for a Dataset.
//
// 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 FinSpace Public API's
// API operation ListChangesets for usage and error information.
//
// Returned Error Types:
//
//   - ResourceNotFoundException
//     One or more resources can't be found.
//
//   - InternalServerException
//     The request processing has failed because of an unknown error, exception
//     or failure.
//
//   - ValidationException
//     The input fails to satisfy the constraints specified by an AWS service.
//
//   - ThrottlingException
//     The request was denied due to request throttling.
//
//   - AccessDeniedException
//     You do not have sufficient access to perform this action.
//
//   - ConflictException
//     The request conflicts with an existing resource.
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/ListChangesets
func (c *FinSpaceData) ListChangesets(input *ListChangesetsInput) (*ListChangesetsOutput, error) {
	req, out := c.ListChangesetsRequest(input)
	return out, req.Send()
}

// ListChangesetsWithContext is the same as ListChangesets with the addition of
// the ability to pass a context and additional request options.
//
// See ListChangesets 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 (c *FinSpaceData) ListChangesetsWithContext(ctx aws.Context, input *ListChangesetsInput, opts ...request.Option) (*ListChangesetsOutput, error) {
	req, out := c.ListChangesetsRequest(input)
	req.SetContext(ctx)
	req.ApplyOptions(opts...)
	return out, req.Send()
}

// ListChangesetsPages iterates over the pages of a ListChangesets operation,
// calling the "fn" function with the response data for each page. To stop
// iterating, return false from the fn function.
//
// See ListChangesets 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 ListChangesets operation.
//	pageNum := 0
//	err := client.ListChangesetsPages(params,
//	    func(page *finspacedata.ListChangesetsOutput, lastPage bool) bool {
//	        pageNum++
//	        fmt.Println(page)
//	        return pageNum <= 3
//	    })
func (c *FinSpaceData) ListChangesetsPages(input *ListChangesetsInput, fn func(*ListChangesetsOutput, bool) bool) error {
	return c.ListChangesetsPagesWithContext(aws.BackgroundContext(), input, fn)
}

// ListChangesetsPagesWithContext same as ListChangesetsPages 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 (c *FinSpaceData) ListChangesetsPagesWithContext(ctx aws.Context, input *ListChangesetsInput, fn func(*ListChangesetsOutput, bool) bool, opts ...request.Option) error {
	p := request.Pagination{
		NewRequest: func() (*request.Request, error) {
			var inCpy *ListChangesetsInput
			if input != nil {
				tmp := *input
				inCpy = &tmp
			}
			req, _ := c.ListChangesetsRequest(inCpy)
			req.SetContext(ctx)
			req.ApplyOptions(opts...)
			return req, nil
		},
	}

	for p.Next() {
		if !fn(p.Page().(*ListChangesetsOutput), !p.HasNextPage()) {
			break
		}
	}

	return p.Err()
}

const opListDataViews = "ListDataViews"

// ListDataViewsRequest generates a "aws/request.Request" representing the
// client's request for the ListDataViews 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 ListDataViews for more information on using the ListDataViews
// 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 ListDataViewsRequest method.
//	req, resp := client.ListDataViewsRequest(params)
//
//	err := req.Send()
//	if err == nil { // resp is now filled
//	    fmt.Println(resp)
//	}
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/ListDataViews
func (c *FinSpaceData) ListDataViewsRequest(input *ListDataViewsInput) (req *request.Request, output *ListDataViewsOutput) {
	op := &request.Operation{
		Name:       opListDataViews,
		HTTPMethod: "GET",
		HTTPPath:   "/datasets/{datasetId}/dataviewsv2",
		Paginator: &request.Paginator{
			InputTokens:     []string{"nextToken"},
			OutputTokens:    []string{"nextToken"},
			LimitToken:      "maxResults",
			TruncationToken: "",
		},
	}

	if input == nil {
		input = &ListDataViewsInput{}
	}

	output = &ListDataViewsOutput{}
	req = c.newRequest(op, input, output)
	return
}

// ListDataViews API operation for FinSpace Public API.
//
// Lists all available Dataviews for a Dataset.
//
// 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 FinSpace Public API's
// API operation ListDataViews for usage and error information.
//
// Returned Error Types:
//
//   - ResourceNotFoundException
//     One or more resources can't be found.
//
//   - InternalServerException
//     The request processing has failed because of an unknown error, exception
//     or failure.
//
//   - ThrottlingException
//     The request was denied due to request throttling.
//
//   - ValidationException
//     The input fails to satisfy the constraints specified by an AWS service.
//
//   - ConflictException
//     The request conflicts with an existing resource.
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/ListDataViews
func (c *FinSpaceData) ListDataViews(input *ListDataViewsInput) (*ListDataViewsOutput, error) {
	req, out := c.ListDataViewsRequest(input)
	return out, req.Send()
}

// ListDataViewsWithContext is the same as ListDataViews with the addition of
// the ability to pass a context and additional request options.
//
// See ListDataViews 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 (c *FinSpaceData) ListDataViewsWithContext(ctx aws.Context, input *ListDataViewsInput, opts ...request.Option) (*ListDataViewsOutput, error) {
	req, out := c.ListDataViewsRequest(input)
	req.SetContext(ctx)
	req.ApplyOptions(opts...)
	return out, req.Send()
}

// ListDataViewsPages iterates over the pages of a ListDataViews operation,
// calling the "fn" function with the response data for each page. To stop
// iterating, return false from the fn function.
//
// See ListDataViews 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 ListDataViews operation.
//	pageNum := 0
//	err := client.ListDataViewsPages(params,
//	    func(page *finspacedata.ListDataViewsOutput, lastPage bool) bool {
//	        pageNum++
//	        fmt.Println(page)
//	        return pageNum <= 3
//	    })
func (c *FinSpaceData) ListDataViewsPages(input *ListDataViewsInput, fn func(*ListDataViewsOutput, bool) bool) error {
	return c.ListDataViewsPagesWithContext(aws.BackgroundContext(), input, fn)
}

// ListDataViewsPagesWithContext same as ListDataViewsPages 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 (c *FinSpaceData) ListDataViewsPagesWithContext(ctx aws.Context, input *ListDataViewsInput, fn func(*ListDataViewsOutput, bool) bool, opts ...request.Option) error {
	p := request.Pagination{
		NewRequest: func() (*request.Request, error) {
			var inCpy *ListDataViewsInput
			if input != nil {
				tmp := *input
				inCpy = &tmp
			}
			req, _ := c.ListDataViewsRequest(inCpy)
			req.SetContext(ctx)
			req.ApplyOptions(opts...)
			return req, nil
		},
	}

	for p.Next() {
		if !fn(p.Page().(*ListDataViewsOutput), !p.HasNextPage()) {
			break
		}
	}

	return p.Err()
}

const opListDatasets = "ListDatasets"

// ListDatasetsRequest generates a "aws/request.Request" representing the
// client's request for the ListDatasets 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 ListDatasets for more information on using the ListDatasets
// 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 ListDatasetsRequest method.
//	req, resp := client.ListDatasetsRequest(params)
//
//	err := req.Send()
//	if err == nil { // resp is now filled
//	    fmt.Println(resp)
//	}
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/ListDatasets
func (c *FinSpaceData) ListDatasetsRequest(input *ListDatasetsInput) (req *request.Request, output *ListDatasetsOutput) {
	op := &request.Operation{
		Name:       opListDatasets,
		HTTPMethod: "GET",
		HTTPPath:   "/datasetsv2",
		Paginator: &request.Paginator{
			InputTokens:     []string{"nextToken"},
			OutputTokens:    []string{"nextToken"},
			LimitToken:      "maxResults",
			TruncationToken: "",
		},
	}

	if input == nil {
		input = &ListDatasetsInput{}
	}

	output = &ListDatasetsOutput{}
	req = c.newRequest(op, input, output)
	return
}

// ListDatasets API operation for FinSpace Public API.
//
// Lists all of the active Datasets that a user has access to.
//
// 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 FinSpace Public API's
// API operation ListDatasets for usage and error information.
//
// Returned Error Types:
//
//   - InternalServerException
//     The request processing has failed because of an unknown error, exception
//     or failure.
//
//   - ThrottlingException
//     The request was denied due to request throttling.
//
//   - ValidationException
//     The input fails to satisfy the constraints specified by an AWS service.
//
//   - ConflictException
//     The request conflicts with an existing resource.
//
//   - ResourceNotFoundException
//     One or more resources can't be found.
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/ListDatasets
func (c *FinSpaceData) ListDatasets(input *ListDatasetsInput) (*ListDatasetsOutput, error) {
	req, out := c.ListDatasetsRequest(input)
	return out, req.Send()
}

// ListDatasetsWithContext is the same as ListDatasets with the addition of
// the ability to pass a context and additional request options.
//
// See ListDatasets 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 (c *FinSpaceData) ListDatasetsWithContext(ctx aws.Context, input *ListDatasetsInput, opts ...request.Option) (*ListDatasetsOutput, error) {
	req, out := c.ListDatasetsRequest(input)
	req.SetContext(ctx)
	req.ApplyOptions(opts...)
	return out, req.Send()
}

// ListDatasetsPages iterates over the pages of a ListDatasets operation,
// calling the "fn" function with the response data for each page. To stop
// iterating, return false from the fn function.
//
// See ListDatasets 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 ListDatasets operation.
//	pageNum := 0
//	err := client.ListDatasetsPages(params,
//	    func(page *finspacedata.ListDatasetsOutput, lastPage bool) bool {
//	        pageNum++
//	        fmt.Println(page)
//	        return pageNum <= 3
//	    })
func (c *FinSpaceData) ListDatasetsPages(input *ListDatasetsInput, fn func(*ListDatasetsOutput, bool) bool) error {
	return c.ListDatasetsPagesWithContext(aws.BackgroundContext(), input, fn)
}

// ListDatasetsPagesWithContext same as ListDatasetsPages 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 (c *FinSpaceData) ListDatasetsPagesWithContext(ctx aws.Context, input *ListDatasetsInput, fn func(*ListDatasetsOutput, bool) bool, opts ...request.Option) error {
	p := request.Pagination{
		NewRequest: func() (*request.Request, error) {
			var inCpy *ListDatasetsInput
			if input != nil {
				tmp := *input
				inCpy = &tmp
			}
			req, _ := c.ListDatasetsRequest(inCpy)
			req.SetContext(ctx)
			req.ApplyOptions(opts...)
			return req, nil
		},
	}

	for p.Next() {
		if !fn(p.Page().(*ListDatasetsOutput), !p.HasNextPage()) {
			break
		}
	}

	return p.Err()
}

const opListPermissionGroups = "ListPermissionGroups"

// ListPermissionGroupsRequest generates a "aws/request.Request" representing the
// client's request for the ListPermissionGroups 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 ListPermissionGroups for more information on using the ListPermissionGroups
// 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 ListPermissionGroupsRequest method.
//	req, resp := client.ListPermissionGroupsRequest(params)
//
//	err := req.Send()
//	if err == nil { // resp is now filled
//	    fmt.Println(resp)
//	}
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/ListPermissionGroups
func (c *FinSpaceData) ListPermissionGroupsRequest(input *ListPermissionGroupsInput) (req *request.Request, output *ListPermissionGroupsOutput) {
	op := &request.Operation{
		Name:       opListPermissionGroups,
		HTTPMethod: "GET",
		HTTPPath:   "/permission-group",
		Paginator: &request.Paginator{
			InputTokens:     []string{"nextToken"},
			OutputTokens:    []string{"nextToken"},
			LimitToken:      "maxResults",
			TruncationToken: "",
		},
	}

	if input == nil {
		input = &ListPermissionGroupsInput{}
	}

	output = &ListPermissionGroupsOutput{}
	req = c.newRequest(op, input, output)
	return
}

// ListPermissionGroups API operation for FinSpace Public API.
//
// Lists all available permission groups in FinSpace.
//
// 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 FinSpace Public API's
// API operation ListPermissionGroups for usage and error information.
//
// Returned Error Types:
//
//   - InternalServerException
//     The request processing has failed because of an unknown error, exception
//     or failure.
//
//   - ValidationException
//     The input fails to satisfy the constraints specified by an AWS service.
//
//   - ThrottlingException
//     The request was denied due to request throttling.
//
//   - AccessDeniedException
//     You do not have sufficient access to perform this action.
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/ListPermissionGroups
func (c *FinSpaceData) ListPermissionGroups(input *ListPermissionGroupsInput) (*ListPermissionGroupsOutput, error) {
	req, out := c.ListPermissionGroupsRequest(input)
	return out, req.Send()
}

// ListPermissionGroupsWithContext is the same as ListPermissionGroups with the addition of
// the ability to pass a context and additional request options.
//
// See ListPermissionGroups 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 (c *FinSpaceData) ListPermissionGroupsWithContext(ctx aws.Context, input *ListPermissionGroupsInput, opts ...request.Option) (*ListPermissionGroupsOutput, error) {
	req, out := c.ListPermissionGroupsRequest(input)
	req.SetContext(ctx)
	req.ApplyOptions(opts...)
	return out, req.Send()
}

// ListPermissionGroupsPages iterates over the pages of a ListPermissionGroups operation,
// calling the "fn" function with the response data for each page. To stop
// iterating, return false from the fn function.
//
// See ListPermissionGroups 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 ListPermissionGroups operation.
//	pageNum := 0
//	err := client.ListPermissionGroupsPages(params,
//	    func(page *finspacedata.ListPermissionGroupsOutput, lastPage bool) bool {
//	        pageNum++
//	        fmt.Println(page)
//	        return pageNum <= 3
//	    })
func (c *FinSpaceData) ListPermissionGroupsPages(input *ListPermissionGroupsInput, fn func(*ListPermissionGroupsOutput, bool) bool) error {
	return c.ListPermissionGroupsPagesWithContext(aws.BackgroundContext(), input, fn)
}

// ListPermissionGroupsPagesWithContext same as ListPermissionGroupsPages 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 (c *FinSpaceData) ListPermissionGroupsPagesWithContext(ctx aws.Context, input *ListPermissionGroupsInput, fn func(*ListPermissionGroupsOutput, bool) bool, opts ...request.Option) error {
	p := request.Pagination{
		NewRequest: func() (*request.Request, error) {
			var inCpy *ListPermissionGroupsInput
			if input != nil {
				tmp := *input
				inCpy = &tmp
			}
			req, _ := c.ListPermissionGroupsRequest(inCpy)
			req.SetContext(ctx)
			req.ApplyOptions(opts...)
			return req, nil
		},
	}

	for p.Next() {
		if !fn(p.Page().(*ListPermissionGroupsOutput), !p.HasNextPage()) {
			break
		}
	}

	return p.Err()
}

const opListUsers = "ListUsers"

// ListUsersRequest generates a "aws/request.Request" representing the
// client's request for the ListUsers 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 ListUsers for more information on using the ListUsers
// 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 ListUsersRequest method.
//	req, resp := client.ListUsersRequest(params)
//
//	err := req.Send()
//	if err == nil { // resp is now filled
//	    fmt.Println(resp)
//	}
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/ListUsers
func (c *FinSpaceData) ListUsersRequest(input *ListUsersInput) (req *request.Request, output *ListUsersOutput) {
	op := &request.Operation{
		Name:       opListUsers,
		HTTPMethod: "GET",
		HTTPPath:   "/user",
		Paginator: &request.Paginator{
			InputTokens:     []string{"nextToken"},
			OutputTokens:    []string{"nextToken"},
			LimitToken:      "maxResults",
			TruncationToken: "",
		},
	}

	if input == nil {
		input = &ListUsersInput{}
	}

	output = &ListUsersOutput{}
	req = c.newRequest(op, input, output)
	return
}

// ListUsers API operation for FinSpace Public API.
//
// Lists all available user accounts in FinSpace.
//
// 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 FinSpace Public API's
// API operation ListUsers for usage and error information.
//
// Returned Error Types:
//
//   - InternalServerException
//     The request processing has failed because of an unknown error, exception
//     or failure.
//
//   - ValidationException
//     The input fails to satisfy the constraints specified by an AWS service.
//
//   - ThrottlingException
//     The request was denied due to request throttling.
//
//   - AccessDeniedException
//     You do not have sufficient access to perform this action.
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/ListUsers
func (c *FinSpaceData) ListUsers(input *ListUsersInput) (*ListUsersOutput, error) {
	req, out := c.ListUsersRequest(input)
	return out, req.Send()
}

// ListUsersWithContext is the same as ListUsers with the addition of
// the ability to pass a context and additional request options.
//
// See ListUsers 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 (c *FinSpaceData) ListUsersWithContext(ctx aws.Context, input *ListUsersInput, opts ...request.Option) (*ListUsersOutput, error) {
	req, out := c.ListUsersRequest(input)
	req.SetContext(ctx)
	req.ApplyOptions(opts...)
	return out, req.Send()
}

// ListUsersPages iterates over the pages of a ListUsers operation,
// calling the "fn" function with the response data for each page. To stop
// iterating, return false from the fn function.
//
// See ListUsers 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 ListUsers operation.
//	pageNum := 0
//	err := client.ListUsersPages(params,
//	    func(page *finspacedata.ListUsersOutput, lastPage bool) bool {
//	        pageNum++
//	        fmt.Println(page)
//	        return pageNum <= 3
//	    })
func (c *FinSpaceData) ListUsersPages(input *ListUsersInput, fn func(*ListUsersOutput, bool) bool) error {
	return c.ListUsersPagesWithContext(aws.BackgroundContext(), input, fn)
}

// ListUsersPagesWithContext same as ListUsersPages 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 (c *FinSpaceData) ListUsersPagesWithContext(ctx aws.Context, input *ListUsersInput, fn func(*ListUsersOutput, bool) bool, opts ...request.Option) error {
	p := request.Pagination{
		NewRequest: func() (*request.Request, error) {
			var inCpy *ListUsersInput
			if input != nil {
				tmp := *input
				inCpy = &tmp
			}
			req, _ := c.ListUsersRequest(inCpy)
			req.SetContext(ctx)
			req.ApplyOptions(opts...)
			return req, nil
		},
	}

	for p.Next() {
		if !fn(p.Page().(*ListUsersOutput), !p.HasNextPage()) {
			break
		}
	}

	return p.Err()
}

const opResetUserPassword = "ResetUserPassword"

// ResetUserPasswordRequest generates a "aws/request.Request" representing the
// client's request for the ResetUserPassword 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 ResetUserPassword for more information on using the ResetUserPassword
// 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 ResetUserPasswordRequest method.
//	req, resp := client.ResetUserPasswordRequest(params)
//
//	err := req.Send()
//	if err == nil { // resp is now filled
//	    fmt.Println(resp)
//	}
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/ResetUserPassword
func (c *FinSpaceData) ResetUserPasswordRequest(input *ResetUserPasswordInput) (req *request.Request, output *ResetUserPasswordOutput) {
	op := &request.Operation{
		Name:       opResetUserPassword,
		HTTPMethod: "POST",
		HTTPPath:   "/user/{userId}/password",
	}

	if input == nil {
		input = &ResetUserPasswordInput{}
	}

	output = &ResetUserPasswordOutput{}
	req = c.newRequest(op, input, output)
	return
}

// ResetUserPassword API operation for FinSpace Public API.
//
// Resets the password for a specified user ID and generates a temporary one.
// Only a superuser can reset password for other users. Resetting the password
// immediately invalidates the previous password associated with the user.
//
// 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 FinSpace Public API's
// API operation ResetUserPassword for usage and error information.
//
// Returned Error Types:
//
//   - InternalServerException
//     The request processing has failed because of an unknown error, exception
//     or failure.
//
//   - ValidationException
//     The input fails to satisfy the constraints specified by an AWS service.
//
//   - ThrottlingException
//     The request was denied due to request throttling.
//
//   - AccessDeniedException
//     You do not have sufficient access to perform this action.
//
//   - ResourceNotFoundException
//     One or more resources can't be found.
//
//   - ConflictException
//     The request conflicts with an existing resource.
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/ResetUserPassword
func (c *FinSpaceData) ResetUserPassword(input *ResetUserPasswordInput) (*ResetUserPasswordOutput, error) {
	req, out := c.ResetUserPasswordRequest(input)
	return out, req.Send()
}

// ResetUserPasswordWithContext is the same as ResetUserPassword with the addition of
// the ability to pass a context and additional request options.
//
// See ResetUserPassword 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 (c *FinSpaceData) ResetUserPasswordWithContext(ctx aws.Context, input *ResetUserPasswordInput, opts ...request.Option) (*ResetUserPasswordOutput, error) {
	req, out := c.ResetUserPasswordRequest(input)
	req.SetContext(ctx)
	req.ApplyOptions(opts...)
	return out, req.Send()
}

const opUpdateChangeset = "UpdateChangeset"

// UpdateChangesetRequest generates a "aws/request.Request" representing the
// client's request for the UpdateChangeset 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 UpdateChangeset for more information on using the UpdateChangeset
// 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 UpdateChangesetRequest method.
//	req, resp := client.UpdateChangesetRequest(params)
//
//	err := req.Send()
//	if err == nil { // resp is now filled
//	    fmt.Println(resp)
//	}
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/UpdateChangeset
func (c *FinSpaceData) UpdateChangesetRequest(input *UpdateChangesetInput) (req *request.Request, output *UpdateChangesetOutput) {
	op := &request.Operation{
		Name:       opUpdateChangeset,
		HTTPMethod: "PUT",
		HTTPPath:   "/datasets/{datasetId}/changesetsv2/{changesetId}",
	}

	if input == nil {
		input = &UpdateChangesetInput{}
	}

	output = &UpdateChangesetOutput{}
	req = c.newRequest(op, input, output)
	return
}

// UpdateChangeset API operation for FinSpace Public API.
//
// Updates a FinSpace Changeset.
//
// 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 FinSpace Public API's
// API operation UpdateChangeset for usage and error information.
//
// Returned Error Types:
//
//   - ResourceNotFoundException
//     One or more resources can't be found.
//
//   - InternalServerException
//     The request processing has failed because of an unknown error, exception
//     or failure.
//
//   - ValidationException
//     The input fails to satisfy the constraints specified by an AWS service.
//
//   - ThrottlingException
//     The request was denied due to request throttling.
//
//   - AccessDeniedException
//     You do not have sufficient access to perform this action.
//
//   - ConflictException
//     The request conflicts with an existing resource.
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/UpdateChangeset
func (c *FinSpaceData) UpdateChangeset(input *UpdateChangesetInput) (*UpdateChangesetOutput, error) {
	req, out := c.UpdateChangesetRequest(input)
	return out, req.Send()
}

// UpdateChangesetWithContext is the same as UpdateChangeset with the addition of
// the ability to pass a context and additional request options.
//
// See UpdateChangeset 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 (c *FinSpaceData) UpdateChangesetWithContext(ctx aws.Context, input *UpdateChangesetInput, opts ...request.Option) (*UpdateChangesetOutput, error) {
	req, out := c.UpdateChangesetRequest(input)
	req.SetContext(ctx)
	req.ApplyOptions(opts...)
	return out, req.Send()
}

const opUpdateDataset = "UpdateDataset"

// UpdateDatasetRequest generates a "aws/request.Request" representing the
// client's request for the UpdateDataset 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 UpdateDataset for more information on using the UpdateDataset
// 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 UpdateDatasetRequest method.
//	req, resp := client.UpdateDatasetRequest(params)
//
//	err := req.Send()
//	if err == nil { // resp is now filled
//	    fmt.Println(resp)
//	}
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/UpdateDataset
func (c *FinSpaceData) UpdateDatasetRequest(input *UpdateDatasetInput) (req *request.Request, output *UpdateDatasetOutput) {
	op := &request.Operation{
		Name:       opUpdateDataset,
		HTTPMethod: "PUT",
		HTTPPath:   "/datasetsv2/{datasetId}",
	}

	if input == nil {
		input = &UpdateDatasetInput{}
	}

	output = &UpdateDatasetOutput{}
	req = c.newRequest(op, input, output)
	return
}

// UpdateDataset API operation for FinSpace Public API.
//
// Updates a FinSpace Dataset.
//
// 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 FinSpace Public API's
// API operation UpdateDataset for usage and error information.
//
// Returned Error Types:
//
//   - InternalServerException
//     The request processing has failed because of an unknown error, exception
//     or failure.
//
//   - ValidationException
//     The input fails to satisfy the constraints specified by an AWS service.
//
//   - ThrottlingException
//     The request was denied due to request throttling.
//
//   - AccessDeniedException
//     You do not have sufficient access to perform this action.
//
//   - ConflictException
//     The request conflicts with an existing resource.
//
//   - ResourceNotFoundException
//     One or more resources can't be found.
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/UpdateDataset
func (c *FinSpaceData) UpdateDataset(input *UpdateDatasetInput) (*UpdateDatasetOutput, error) {
	req, out := c.UpdateDatasetRequest(input)
	return out, req.Send()
}

// UpdateDatasetWithContext is the same as UpdateDataset with the addition of
// the ability to pass a context and additional request options.
//
// See UpdateDataset 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 (c *FinSpaceData) UpdateDatasetWithContext(ctx aws.Context, input *UpdateDatasetInput, opts ...request.Option) (*UpdateDatasetOutput, error) {
	req, out := c.UpdateDatasetRequest(input)
	req.SetContext(ctx)
	req.ApplyOptions(opts...)
	return out, req.Send()
}

const opUpdatePermissionGroup = "UpdatePermissionGroup"

// UpdatePermissionGroupRequest generates a "aws/request.Request" representing the
// client's request for the UpdatePermissionGroup 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 UpdatePermissionGroup for more information on using the UpdatePermissionGroup
// 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 UpdatePermissionGroupRequest method.
//	req, resp := client.UpdatePermissionGroupRequest(params)
//
//	err := req.Send()
//	if err == nil { // resp is now filled
//	    fmt.Println(resp)
//	}
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/UpdatePermissionGroup
func (c *FinSpaceData) UpdatePermissionGroupRequest(input *UpdatePermissionGroupInput) (req *request.Request, output *UpdatePermissionGroupOutput) {
	op := &request.Operation{
		Name:       opUpdatePermissionGroup,
		HTTPMethod: "PUT",
		HTTPPath:   "/permission-group/{permissionGroupId}",
	}

	if input == nil {
		input = &UpdatePermissionGroupInput{}
	}

	output = &UpdatePermissionGroupOutput{}
	req = c.newRequest(op, input, output)
	return
}

// UpdatePermissionGroup API operation for FinSpace Public API.
//
// Modifies the details of a permission group. You cannot modify a permissionGroupID.
//
// 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 FinSpace Public API's
// API operation UpdatePermissionGroup for usage and error information.
//
// Returned Error Types:
//
//   - InternalServerException
//     The request processing has failed because of an unknown error, exception
//     or failure.
//
//   - ValidationException
//     The input fails to satisfy the constraints specified by an AWS service.
//
//   - ThrottlingException
//     The request was denied due to request throttling.
//
//   - AccessDeniedException
//     You do not have sufficient access to perform this action.
//
//   - ResourceNotFoundException
//     One or more resources can't be found.
//
//   - ConflictException
//     The request conflicts with an existing resource.
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/UpdatePermissionGroup
func (c *FinSpaceData) UpdatePermissionGroup(input *UpdatePermissionGroupInput) (*UpdatePermissionGroupOutput, error) {
	req, out := c.UpdatePermissionGroupRequest(input)
	return out, req.Send()
}

// UpdatePermissionGroupWithContext is the same as UpdatePermissionGroup with the addition of
// the ability to pass a context and additional request options.
//
// See UpdatePermissionGroup 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 (c *FinSpaceData) UpdatePermissionGroupWithContext(ctx aws.Context, input *UpdatePermissionGroupInput, opts ...request.Option) (*UpdatePermissionGroupOutput, error) {
	req, out := c.UpdatePermissionGroupRequest(input)
	req.SetContext(ctx)
	req.ApplyOptions(opts...)
	return out, req.Send()
}

const opUpdateUser = "UpdateUser"

// UpdateUserRequest generates a "aws/request.Request" representing the
// client's request for the UpdateUser 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 UpdateUser for more information on using the UpdateUser
// 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 UpdateUserRequest method.
//	req, resp := client.UpdateUserRequest(params)
//
//	err := req.Send()
//	if err == nil { // resp is now filled
//	    fmt.Println(resp)
//	}
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/UpdateUser
func (c *FinSpaceData) UpdateUserRequest(input *UpdateUserInput) (req *request.Request, output *UpdateUserOutput) {
	op := &request.Operation{
		Name:       opUpdateUser,
		HTTPMethod: "PUT",
		HTTPPath:   "/user/{userId}",
	}

	if input == nil {
		input = &UpdateUserInput{}
	}

	output = &UpdateUserOutput{}
	req = c.newRequest(op, input, output)
	return
}

// UpdateUser API operation for FinSpace Public API.
//
// Modifies the details of the specified user account. You cannot update the
// userId for a user.
//
// 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 FinSpace Public API's
// API operation UpdateUser for usage and error information.
//
// Returned Error Types:
//
//   - InternalServerException
//     The request processing has failed because of an unknown error, exception
//     or failure.
//
//   - ValidationException
//     The input fails to satisfy the constraints specified by an AWS service.
//
//   - ThrottlingException
//     The request was denied due to request throttling.
//
//   - AccessDeniedException
//     You do not have sufficient access to perform this action.
//
//   - ResourceNotFoundException
//     One or more resources can't be found.
//
//   - ConflictException
//     The request conflicts with an existing resource.
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/UpdateUser
func (c *FinSpaceData) UpdateUser(input *UpdateUserInput) (*UpdateUserOutput, error) {
	req, out := c.UpdateUserRequest(input)
	return out, req.Send()
}

// UpdateUserWithContext is the same as UpdateUser with the addition of
// the ability to pass a context and additional request options.
//
// See UpdateUser 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 (c *FinSpaceData) UpdateUserWithContext(ctx aws.Context, input *UpdateUserInput, opts ...request.Option) (*UpdateUserOutput, error) {
	req, out := c.UpdateUserRequest(input)
	req.SetContext(ctx)
	req.ApplyOptions(opts...)
	return out, req.Send()
}

// You do not have sufficient access to perform this action.
type AccessDeniedException struct {
	_            struct{}                  `type:"structure"`
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"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 (s AccessDeniedException) String() string {
	return awsutil.Prettify(s)
}

// 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 (s AccessDeniedException) GoString() string {
	return s.String()
}

func newErrorAccessDeniedException(v protocol.ResponseMetadata) error {
	return &AccessDeniedException{
		RespMetadata: v,
	}
}

// Code returns the exception type name.
func (s *AccessDeniedException) Code() string {
	return "AccessDeniedException"
}

// Message returns the exception's message.
func (s *AccessDeniedException) Message() string {
	if s.Message_ != nil {
		return *s.Message_
	}
	return ""
}

// OrigErr always returns nil, satisfies awserr.Error interface.
func (s *AccessDeniedException) OrigErr() error {
	return nil
}

func (s *AccessDeniedException) Error() string {
	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
}

// Status code returns the HTTP status code for the request's response error.
func (s *AccessDeniedException) StatusCode() int {
	return s.RespMetadata.StatusCode
}

// RequestID returns the service's response RequestID for request.
func (s *AccessDeniedException) RequestID() string {
	return s.RespMetadata.RequestID
}

// The structure with error messages.
type ChangesetErrorInfo struct {
	_ struct{} `type:"structure"`

	// The category of the error.
	//
	//    * VALIDATION – The inputs to this request are invalid.
	//
	//    * SERVICE_QUOTA_EXCEEDED – Service quotas have been exceeded. Please
	//    contact AWS support to increase quotas.
	//
	//    * ACCESS_DENIED – Missing required permission to perform this request.
	//
	//    * RESOURCE_NOT_FOUND – One or more inputs to this request were not found.
	//
	//    * THROTTLING – The system temporarily lacks sufficient resources to
	//    process the request.
	//
	//    * INTERNAL_SERVICE_EXCEPTION – An internal service error has occurred.
	//
	//    * CANCELLED – Cancelled.
	//
	//    * USER_RECOVERABLE – A user recoverable error has occurred.
	ErrorCategory *string `locationName:"errorCategory" type:"string" enum:"ErrorCategory"`

	// The text of the error message.
	ErrorMessage *string `locationName:"errorMessage" type:"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 (s ChangesetErrorInfo) String() string {
	return awsutil.Prettify(s)
}

// 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 (s ChangesetErrorInfo) GoString() string {
	return s.String()
}

// SetErrorCategory sets the ErrorCategory field's value.
func (s *ChangesetErrorInfo) SetErrorCategory(v string) *ChangesetErrorInfo {
	s.ErrorCategory = &v
	return s
}

// SetErrorMessage sets the ErrorMessage field's value.
func (s *ChangesetErrorInfo) SetErrorMessage(v string) *ChangesetErrorInfo {
	s.ErrorMessage = &v
	return s
}

// A Changeset is unit of data in a Dataset.
type ChangesetSummary struct {
	_ struct{} `type:"structure"`

	// Beginning time from which the Changeset is active. The value is determined
	// as epoch time in milliseconds. For example, the value for Monday, November
	// 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
	ActiveFromTimestamp *int64 `locationName:"activeFromTimestamp" type:"long"`

	// Time until which the Changeset is active. The value is determined as epoch
	// time in milliseconds. For example, the value for Monday, November 1, 2021
	// 12:00:00 PM UTC is specified as 1635768000000.
	ActiveUntilTimestamp *int64 `locationName:"activeUntilTimestamp" type:"long"`

	// Type that indicates how a Changeset is applied to a Dataset.
	//
	//    * REPLACE – Changeset is considered as a replacement to all prior loaded
	//    Changesets.
	//
	//    * APPEND – Changeset is considered as an addition to the end of all
	//    prior loaded Changesets.
	//
	//    * MODIFY – Changeset is considered as a replacement to a specific prior
	//    ingested Changeset.
	ChangeType *string `locationName:"changeType" type:"string" enum:"ChangeType"`

	// The ARN identifier of the Changeset.
	ChangesetArn *string `locationName:"changesetArn" type:"string"`

	// The unique identifier for a Changeset.
	ChangesetId *string `locationName:"changesetId" min:"1" type:"string"`

	// The timestamp at which the Changeset was created in FinSpace. The value is
	// determined as epoch time in milliseconds. For example, the value for Monday,
	// November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
	CreateTime *int64 `locationName:"createTime" type:"long"`

	// The unique identifier for the FinSpace Dataset in which the Changeset is
	// created.
	DatasetId *string `locationName:"datasetId" min:"1" type:"string"`

	// The structure with error messages.
	ErrorInfo *ChangesetErrorInfo `locationName:"errorInfo" type:"structure"`

	// Options that define the structure of the source file(s).
	FormatParams map[string]*string `locationName:"formatParams" type:"map"`

	// Options that define the location of the data being ingested.
	SourceParams map[string]*string `locationName:"sourceParams" type:"map"`

	// Status of the Changeset ingestion.
	//
	//    * PENDING – Changeset is pending creation.
	//
	//    * FAILED – Changeset creation has failed.
	//
	//    * SUCCESS – Changeset creation has succeeded.
	//
	//    * RUNNING – Changeset creation is running.
	//
	//    * STOP_REQUESTED – User requested Changeset creation to stop.
	Status *string `locationName:"status" type:"string" enum:"IngestionStatus"`

	// The unique identifier of the updated Changeset.
	UpdatedByChangesetId *string `locationName:"updatedByChangesetId" min:"1" type:"string"`

	// The unique identifier of the Changeset that is updated.
	UpdatesChangesetId *string `locationName:"updatesChangesetId" min:"1" type:"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 (s ChangesetSummary) String() string {
	return awsutil.Prettify(s)
}

// 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 (s ChangesetSummary) GoString() string {
	return s.String()
}

// SetActiveFromTimestamp sets the ActiveFromTimestamp field's value.
func (s *ChangesetSummary) SetActiveFromTimestamp(v int64) *ChangesetSummary {
	s.ActiveFromTimestamp = &v
	return s
}

// SetActiveUntilTimestamp sets the ActiveUntilTimestamp field's value.
func (s *ChangesetSummary) SetActiveUntilTimestamp(v int64) *ChangesetSummary {
	s.ActiveUntilTimestamp = &v
	return s
}

// SetChangeType sets the ChangeType field's value.
func (s *ChangesetSummary) SetChangeType(v string) *ChangesetSummary {
	s.ChangeType = &v
	return s
}

// SetChangesetArn sets the ChangesetArn field's value.
func (s *ChangesetSummary) SetChangesetArn(v string) *ChangesetSummary {
	s.ChangesetArn = &v
	return s
}

// SetChangesetId sets the ChangesetId field's value.
func (s *ChangesetSummary) SetChangesetId(v string) *ChangesetSummary {
	s.ChangesetId = &v
	return s
}

// SetCreateTime sets the CreateTime field's value.
func (s *ChangesetSummary) SetCreateTime(v int64) *ChangesetSummary {
	s.CreateTime = &v
	return s
}

// SetDatasetId sets the DatasetId field's value.
func (s *ChangesetSummary) SetDatasetId(v string) *ChangesetSummary {
	s.DatasetId = &v
	return s
}

// SetErrorInfo sets the ErrorInfo field's value.
func (s *ChangesetSummary) SetErrorInfo(v *ChangesetErrorInfo) *ChangesetSummary {
	s.ErrorInfo = v
	return s
}

// SetFormatParams sets the FormatParams field's value.
func (s *ChangesetSummary) SetFormatParams(v map[string]*string) *ChangesetSummary {
	s.FormatParams = v
	return s
}

// SetSourceParams sets the SourceParams field's value.
func (s *ChangesetSummary) SetSourceParams(v map[string]*string) *ChangesetSummary {
	s.SourceParams = v
	return s
}

// SetStatus sets the Status field's value.
func (s *ChangesetSummary) SetStatus(v string) *ChangesetSummary {
	s.Status = &v
	return s
}

// SetUpdatedByChangesetId sets the UpdatedByChangesetId field's value.
func (s *ChangesetSummary) SetUpdatedByChangesetId(v string) *ChangesetSummary {
	s.UpdatedByChangesetId = &v
	return s
}

// SetUpdatesChangesetId sets the UpdatesChangesetId field's value.
func (s *ChangesetSummary) SetUpdatesChangesetId(v string) *ChangesetSummary {
	s.UpdatesChangesetId = &v
	return s
}

// The definition of a column in a tabular Dataset.
type ColumnDefinition struct {
	_ struct{} `type:"structure"`

	// Description for a column.
	ColumnDescription *string `locationName:"columnDescription" type:"string"`

	// The name of a column.
	ColumnName *string `locationName:"columnName" type:"string"`

	// Data type of a column.
	//
	//    * STRING – A String data type. CHAR – A char data type. INTEGER –
	//    An integer data type. TINYINT – A tinyint data type. SMALLINT – A
	//    smallint data type. BIGINT – A bigint data type. FLOAT – A float data
	//    type. DOUBLE – A double data type. DATE – A date data type. DATETIME
	//    – A datetime data type. BOOLEAN – A boolean data type. BINARY –
	//    A binary data type.
	DataType *string `locationName:"dataType" type:"string" enum:"ColumnDataType"`
}

// 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 (s ColumnDefinition) String() string {
	return awsutil.Prettify(s)
}

// 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 (s ColumnDefinition) GoString() string {
	return s.String()
}

// SetColumnDescription sets the ColumnDescription field's value.
func (s *ColumnDefinition) SetColumnDescription(v string) *ColumnDefinition {
	s.ColumnDescription = &v
	return s
}

// SetColumnName sets the ColumnName field's value.
func (s *ColumnDefinition) SetColumnName(v string) *ColumnDefinition {
	s.ColumnName = &v
	return s
}

// SetDataType sets the DataType field's value.
func (s *ColumnDefinition) SetDataType(v string) *ColumnDefinition {
	s.DataType = &v
	return s
}

// The request conflicts with an existing resource.
type ConflictException struct {
	_            struct{}                  `type:"structure"`
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`

	Reason *string `locationName:"reason" type:"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 (s ConflictException) String() string {
	return awsutil.Prettify(s)
}

// 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 (s ConflictException) GoString() string {
	return s.String()
}

func newErrorConflictException(v protocol.ResponseMetadata) error {
	return &ConflictException{
		RespMetadata: v,
	}
}

// Code returns the exception type name.
func (s *ConflictException) Code() string {
	return "ConflictException"
}

// Message returns the exception's message.
func (s *ConflictException) Message() string {
	if s.Message_ != nil {
		return *s.Message_
	}
	return ""
}

// OrigErr always returns nil, satisfies awserr.Error interface.
func (s *ConflictException) OrigErr() error {
	return nil
}

func (s *ConflictException) Error() string {
	return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
}

// Status code returns the HTTP status code for the request's response error.
func (s *ConflictException) StatusCode() int {
	return s.RespMetadata.StatusCode
}

// RequestID returns the service's response RequestID for request.
func (s *ConflictException) RequestID() string {
	return s.RespMetadata.RequestID
}

// The request for a CreateChangeset operation.
type CreateChangesetInput struct {
	_ struct{} `type:"structure"`

	// The option to indicate how a Changeset will be applied to a Dataset.
	//
	//    * REPLACE – Changeset will be considered as a replacement to all prior
	//    loaded Changesets.
	//
	//    * APPEND – Changeset will be considered as an addition to the end of
	//    all prior loaded Changesets.
	//
	//    * MODIFY – Changeset is considered as a replacement to a specific prior
	//    ingested Changeset.
	//
	// ChangeType is a required field
	ChangeType *string `locationName:"changeType" type:"string" required:"true" enum:"ChangeType"`

	// A token that ensures idempotency. This token expires in 10 minutes.
	ClientToken *string `locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"`

	// The unique identifier for the FinSpace Dataset where the Changeset will be
	// created.
	//
	// DatasetId is a required field
	DatasetId *string `location:"uri" locationName:"datasetId" min:"1" type:"string" required:"true"`

	// Options that define the structure of the source file(s) including the format
	// type (formatType), header row (withHeader), data separation character (separator)
	// and the type of compression (compression).
	//
	// formatType is a required attribute and can have the following values:
	//
	//    * PARQUET – Parquet source file format.
	//
	//    * CSV – CSV source file format.
	//
	//    * JSON – JSON source file format.
	//
	//    * XML – XML source file format.
	//
	// Here is an example of how you could specify the formatParams:
	//
	// "formatParams": { "formatType": "CSV", "withHeader": "true", "separator":
	// ",", "compression":"None" }
	//
	// Note that if you only provide formatType as CSV, the rest of the attributes
	// will automatically default to CSV values as following:
	//
	// { "withHeader": "true", "separator": "," }
	//
	// For more information about supported file formats, see Supported Data Types
	// and File Formats (https://docs.aws.amazon.com/finspace/latest/userguide/supported-data-types.html)
	// in the FinSpace User Guide.
	//
	// FormatParams is a required field
	FormatParams map[string]*string `locationName:"formatParams" type:"map" required:"true"`

	// Options that define the location of the data being ingested (s3SourcePath)
	// and the source of the changeset (sourceType).
	//
	// Both s3SourcePath and sourceType are required attributes.
	//
	// Here is an example of how you could specify the sourceParams:
	//
	// "sourceParams": { "s3SourcePath": "s3://finspace-landing-us-east-2-bk7gcfvitndqa6ebnvys4d/scratch/wr5hh8pwkpqqkxa4sxrmcw/ingestion/equity.csv",
	// "sourceType": "S3" }
	//
	// The S3 path that you specify must allow the FinSpace role access. To do that,
	// you first need to configure the IAM policy on S3 bucket. For more information,
	// see Loading data from an Amazon S3 Bucket using the FinSpace API (https://docs.aws.amazon.com/finspace/latest/data-api/fs-using-the-finspace-api.html#access-s3-buckets)
	// section.
	//
	// SourceParams is a required field
	SourceParams map[string]*string `locationName:"sourceParams" type:"map" required:"true"`
}

// 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 (s CreateChangesetInput) String() string {
	return awsutil.Prettify(s)
}

// 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 (s CreateChangesetInput) GoString() string {
	return s.String()
}

// Validate inspects the fields of the type to determine if they are valid.
func (s *CreateChangesetInput) Validate() error {
	invalidParams := request.ErrInvalidParams{Context: "CreateChangesetInput"}
	if s.ChangeType == nil {
		invalidParams.Add(request.NewErrParamRequired("ChangeType"))
	}
	if s.ClientToken != nil && len(*s.ClientToken) < 1 {
		invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1))
	}
	if s.DatasetId == nil {
		invalidParams.Add(request.NewErrParamRequired("DatasetId"))
	}
	if s.DatasetId != nil && len(*s.DatasetId) < 1 {
		invalidParams.Add(request.NewErrParamMinLen("DatasetId", 1))
	}
	if s.FormatParams == nil {
		invalidParams.Add(request.NewErrParamRequired("FormatParams"))
	}
	if s.SourceParams == nil {
		invalidParams.Add(request.NewErrParamRequired("SourceParams"))
	}

	if invalidParams.Len() > 0 {
		return invalidParams
	}
	return nil
}

// SetChangeType sets the ChangeType field's value.
func (s *CreateChangesetInput) SetChangeType(v string) *CreateChangesetInput {
	s.ChangeType = &v
	return s
}

// SetClientToken sets the ClientToken field's value.
func (s *CreateChangesetInput) SetClientToken(v string) *CreateChangesetInput {
	s.ClientToken = &v
	return s
}

// SetDatasetId sets the DatasetId field's value.
func (s *CreateChangesetInput) SetDatasetId(v string) *CreateChangesetInput {
	s.DatasetId = &v
	return s
}

// SetFormatParams sets the FormatParams field's value.
func (s *CreateChangesetInput) SetFormatParams(v map[string]*string) *CreateChangesetInput {
	s.FormatParams = v
	return s
}

// SetSourceParams sets the SourceParams field's value.
func (s *CreateChangesetInput) SetSourceParams(v map[string]*string) *CreateChangesetInput {
	s.SourceParams = v
	return s
}

// The response from a CreateChangeset operation.
type CreateChangesetOutput struct {
	_ struct{} `type:"structure"`

	// The unique identifier of the Changeset that is created.
	ChangesetId *string `locationName:"changesetId" min:"1" type:"string"`

	// The unique identifier for the FinSpace Dataset where the Changeset is created.
	DatasetId *string `locationName:"datasetId" min:"1" type:"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 (s CreateChangesetOutput) String() string {
	return awsutil.Prettify(s)
}

// 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 (s CreateChangesetOutput) GoString() string {
	return s.String()
}

// SetChangesetId sets the ChangesetId field's value.
func (s *CreateChangesetOutput) SetChangesetId(v string) *CreateChangesetOutput {
	s.ChangesetId = &v
	return s
}

// SetDatasetId sets the DatasetId field's value.
func (s *CreateChangesetOutput) SetDatasetId(v string) *CreateChangesetOutput {
	s.DatasetId = &v
	return s
}

// Request for creating a data view.
type CreateDataViewInput struct {
	_ struct{} `type:"structure"`

	// Beginning time to use for the Dataview. The value is determined as epoch
	// time in milliseconds. For example, the value for Monday, November 1, 2021
	// 12:00:00 PM UTC is specified as 1635768000000.
	AsOfTimestamp *int64 `locationName:"asOfTimestamp" type:"long"`

	// Flag to indicate Dataview should be updated automatically.
	AutoUpdate *bool `locationName:"autoUpdate" type:"boolean"`

	// A token that ensures idempotency. This token expires in 10 minutes.
	ClientToken *string `locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"`

	// The unique Dataset identifier that is used to create a Dataview.
	//
	// DatasetId is a required field
	DatasetId *string `location:"uri" locationName:"datasetId" min:"1" type:"string" required:"true"`

	// Options that define the destination type for the Dataview.
	//
	// DestinationTypeParams is a required field
	DestinationTypeParams *DataViewDestinationTypeParams `locationName:"destinationTypeParams" type:"structure" required:"true"`

	// Ordered set of column names used to partition data.
	PartitionColumns []*string `locationName:"partitionColumns" type:"list"`

	// Columns to be used for sorting the data.
	SortColumns []*string `locationName:"sortColumns" type:"list"`
}

// 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 (s CreateDataViewInput) String() string {
	return awsutil.Prettify(s)
}

// 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 (s CreateDataViewInput) GoString() string {
	return s.String()
}

// Validate inspects the fields of the type to determine if they are valid.
func (s *CreateDataViewInput) Validate() error {
	invalidParams := request.ErrInvalidParams{Context: "CreateDataViewInput"}
	if s.ClientToken != nil && len(*s.ClientToken) < 1 {
		invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1))
	}
	if s.DatasetId == nil {
		invalidParams.Add(request.NewErrParamRequired("DatasetId"))
	}
	if s.DatasetId != nil && len(*s.DatasetId) < 1 {
		invalidParams.Add(request.NewErrParamMinLen("DatasetId", 1))
	}
	if s.DestinationTypeParams == nil {
		invalidParams.Add(request.NewErrParamRequired("DestinationTypeParams"))
	}
	if s.DestinationTypeParams != nil {
		if err := s.DestinationTypeParams.Validate(); err != nil {
			invalidParams.AddNested("DestinationTypeParams", err.(request.ErrInvalidParams))
		}
	}

	if invalidParams.Len() > 0 {
		return invalidParams
	}
	return nil
}

// SetAsOfTimestamp sets the AsOfTimestamp field's value.
func (s *CreateDataViewInput) SetAsOfTimestamp(v int64) *CreateDataViewInput {
	s.AsOfTimestamp = &v
	return s
}

// SetAutoUpdate sets the AutoUpdate field's value.
func (s *CreateDataViewInput) SetAutoUpdate(v bool) *CreateDataViewInput {
	s.AutoUpdate = &v
	return s
}

// SetClientToken sets the ClientToken field's value.
func (s *CreateDataViewInput) SetClientToken(v string) *CreateDataViewInput {
	s.ClientToken = &v
	return s
}

// SetDatasetId sets the DatasetId field's value.
func (s *CreateDataViewInput) SetDatasetId(v string) *CreateDataViewInput {
	s.DatasetId = &v
	return s
}

// SetDestinationTypeParams sets the DestinationTypeParams field's value.
func (s *CreateDataViewInput) SetDestinationTypeParams(v *DataViewDestinationTypeParams) *CreateDataViewInput {
	s.DestinationTypeParams = v
	return s
}

// SetPartitionColumns sets the PartitionColumns field's value.
func (s *CreateDataViewInput) SetPartitionColumns(v []*string) *CreateDataViewInput {
	s.PartitionColumns = v
	return s
}

// SetSortColumns sets the SortColumns field's value.
func (s *CreateDataViewInput) SetSortColumns(v []*string) *CreateDataViewInput {
	s.SortColumns = v
	return s
}

// Response for creating a data view.
type CreateDataViewOutput struct {
	_ struct{} `type:"structure"`

	// The unique identifier for the created Dataview.
	DataViewId *string `locationName:"dataViewId" min:"1" type:"string"`

	// The unique identifier of the Dataset used for the Dataview.
	DatasetId *string `locationName:"datasetId" min:"1" type:"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 (s CreateDataViewOutput) String() string {
	return awsutil.Prettify(s)
}

// 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 (s CreateDataViewOutput) GoString() string {
	return s.String()
}

// SetDataViewId sets the DataViewId field's value.
func (s *CreateDataViewOutput) SetDataViewId(v string) *CreateDataViewOutput {
	s.DataViewId = &v
	return s
}

// SetDatasetId sets the DatasetId field's value.
func (s *CreateDataViewOutput) SetDatasetId(v string) *CreateDataViewOutput {
	s.DatasetId = &v
	return s
}

// The request for a CreateDataset operation
type CreateDatasetInput struct {
	_ struct{} `type:"structure"`

	// The unique resource identifier for a Dataset.
	Alias *string `locationName:"alias" min:"1" type:"string"`

	// A token that ensures idempotency. This token expires in 10 minutes.
	ClientToken *string `locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"`

	// Description of a Dataset.
	DatasetDescription *string `locationName:"datasetDescription" min:"1" type:"string"`

	// Display title for a FinSpace Dataset.
	//
	// DatasetTitle is a required field
	DatasetTitle *string `locationName:"datasetTitle" min:"1" type:"string" required:"true"`

	// The format in which Dataset data is structured.
	//
	//    * TABULAR – Data is structured in a tabular format.
	//
	//    * NON_TABULAR – Data is structured in a non-tabular format.
	//
	// Kind is a required field
	Kind *string `locationName:"kind" type:"string" required:"true" enum:"DatasetKind"`

	// Contact information for a Dataset owner.
	OwnerInfo *DatasetOwnerInfo `locationName:"ownerInfo" type:"structure"`

	// Permission group parameters for Dataset permissions.
	//
	// PermissionGroupParams is a required field
	PermissionGroupParams *PermissionGroupParams `locationName:"permissionGroupParams" type:"structure" required:"true"`

	// Definition for a schema on a tabular Dataset.
	SchemaDefinition *SchemaUnion `locationName:"schemaDefinition" type:"structure"`
}

// 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 (s CreateDatasetInput) String() string {
	return awsutil.Prettify(s)
}

// 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 (s CreateDatasetInput) GoString() string {
	return s.String()
}

// Validate inspects the fields of the type to determine if they are valid.
func (s *CreateDatasetInput) Validate() error {
	invalidParams := request.ErrInvalidParams{Context: "CreateDatasetInput"}
	if s.Alias != nil && len(*s.Alias) < 1 {
		invalidParams.Add(request.NewErrParamMinLen("Alias", 1))
	}
	if s.ClientToken != nil && len(*s.ClientToken) < 1 {
		invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1))
	}
	if s.DatasetDescription != nil && len(*s.DatasetDescription) < 1 {
		invalidParams.Add(request.NewErrParamMinLen("DatasetDescription", 1))
	}
	if s.DatasetTitle == nil {
		invalidParams.Add(request.NewErrParamRequired("DatasetTitle"))
	}
	if s.DatasetTitle != nil && len(*s.DatasetTitle) < 1 {
		invalidParams.Add(request.NewErrParamMinLen("DatasetTitle", 1))
	}
	if s.Kind == nil {
		invalidParams.Add(request.NewErrParamRequired("Kind"))
	}
	if s.PermissionGroupParams == nil {
		invalidParams.Add(request.NewErrParamRequired("PermissionGroupParams"))
	}
	if s.OwnerInfo != nil {
		if err := s.OwnerInfo.Validate(); err != nil {
			invalidParams.AddNested("OwnerInfo", err.(request.ErrInvalidParams))
		}
	}
	if s.PermissionGroupParams != nil {
		if err := s.PermissionGroupParams.Validate(); err != nil {
			invalidParams.AddNested("PermissionGroupParams", err.(request.ErrInvalidParams))
		}
	}

	if invalidParams.Len() > 0 {
		return invalidParams
	}
	return nil
}

// SetAlias sets the Alias field's value.
func (s *CreateDatasetInput) SetAlias(v string) *CreateDatasetInput {
	s.Alias = &v
	return s
}

// SetClientToken sets the ClientToken field's value.
func (s *CreateDatasetInput) SetClientToken(v string) *CreateDatasetInput {
	s.ClientToken = &v
	return s
}

// SetDatasetDescription sets the DatasetDescription field's value.
func (s *CreateDatasetInput) SetDatasetDescription(v string) *CreateDatasetInput {
	s.DatasetDescription = &v
	return s
}

// SetDatasetTitle sets the DatasetTitle field's value.
func (s *CreateDatasetInput) SetDatasetTitle(v string) *CreateDatasetInput {
	s.DatasetTitle = &v
	return s
}

// SetKind sets the Kind field's value.
func (s *CreateDatasetInput) SetKind(v string) *CreateDatasetInput {
	s.Kind = &v
	return s
}

// SetOwnerInfo sets the OwnerInfo field's value.
func (s *CreateDatasetInput) SetOwnerInfo(v *DatasetOwnerInfo) *CreateDatasetInput {
	s.OwnerInfo = v
	return s
}

// SetPermissionGroupParams sets the PermissionGroupParams field's value.
func (s *CreateDatasetInput) SetPermissionGroupParams(v *PermissionGroupParams) *CreateDatasetInput {
	s.PermissionGroupParams = v
	return s
}

// SetSchemaDefinition sets the SchemaDefinition field's value.
func (s *CreateDatasetInput) SetSchemaDefinition(v *SchemaUnion) *CreateDatasetInput {
	s.SchemaDefinition = v
	return s
}

// The response from a CreateDataset operation
type CreateDatasetOutput struct {
	_ struct{} `type:"structure"`

	// The unique identifier for the created Dataset.
	DatasetId *string `locationName:"datasetId" min:"1" type:"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 (s CreateDatasetOutput) String() string {
	return awsutil.Prettify(s)
}

// 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 (s CreateDatasetOutput) GoString() string {
	return s.String()
}

// SetDatasetId sets the DatasetId field's value.
func (s *CreateDatasetOutput) SetDatasetId(v string) *CreateDatasetOutput {
	s.DatasetId = &v
	return s
}

type CreatePermissionGroupInput struct {
	_ struct{} `type:"structure"`

	// The option to indicate FinSpace application permissions that are granted
	// to a specific group.
	//
	//    * CreateDataset – Group members can create new datasets.
	//
	//    * ManageClusters – Group members can manage Apache Spark clusters from
	//    FinSpace notebooks.
	//
	//    * ManageUsersAndGroups – Group members can manage users and permission
	//    groups.
	//
	//    * ManageAttributeSets – Group members can manage attribute sets.
	//
	//    * ViewAuditData – Group members can view audit data.
	//
	//    * AccessNotebooks – Group members will have access to FinSpace notebooks.
	//
	//    * GetTemporaryCredentials – Group members can get temporary API credentials.
	//
	// ApplicationPermissions is a required field
	ApplicationPermissions []*string `locationName:"applicationPermissions" type:"list" required:"true" enum:"ApplicationPermission"`

	// A token that ensures idempotency. This token expires in 10 minutes.
	ClientToken *string `locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"`

	// A brief description for the permission group.
	//
	// Description is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by CreatePermissionGroupInput's
	// String and GoString methods.
	Description *string `locationName:"description" min:"1" type:"string" sensitive:"true"`

	// The name of the permission group.
	//
	// Name is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by CreatePermissionGroupInput's
	// String and GoString methods.
	//
	// Name is a required field
	Name *string `locationName:"name" min:"1" type:"string" required:"true" sensitive:"true"`
}

// 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 (s CreatePermissionGroupInput) String() string {
	return awsutil.Prettify(s)
}

// 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 (s CreatePermissionGroupInput) GoString() string {
	return s.String()
}

// Validate inspects the fields of the type to determine if they are valid.
func (s *CreatePermissionGroupInput) Validate() error {
	invalidParams := request.ErrInvalidParams{Context: "CreatePermissionGroupInput"}
	if s.ApplicationPermissions == nil {
		invalidParams.Add(request.NewErrParamRequired("ApplicationPermissions"))
	}
	if s.ClientToken != nil && len(*s.ClientToken) < 1 {
		invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1))
	}
	if s.Description != nil && len(*s.Description) < 1 {
		invalidParams.Add(request.NewErrParamMinLen("Description", 1))
	}
	if s.Name == nil {
		invalidParams.Add(request.NewErrParamRequired("Name"))
	}
	if s.Name != nil && len(*s.Name) < 1 {
		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
	}

	if invalidParams.Len() > 0 {
		return invalidParams
	}
	return nil
}

// SetApplicationPermissions sets the ApplicationPermissions field's value.
func (s *CreatePermissionGroupInput) SetApplicationPermissions(v []*string) *CreatePermissionGroupInput {
	s.ApplicationPermissions = v
	return s
}

// SetClientToken sets the ClientToken field's value.
func (s *CreatePermissionGroupInput) SetClientToken(v string) *CreatePermissionGroupInput {
	s.ClientToken = &v
	return s
}

// SetDescription sets the Description field's value.
func (s *CreatePermissionGroupInput) SetDescription(v string) *CreatePermissionGroupInput {
	s.Description = &v
	return s
}

// SetName sets the Name field's value.
func (s *CreatePermissionGroupInput) SetName(v string) *CreatePermissionGroupInput {
	s.Name = &v
	return s
}

type CreatePermissionGroupOutput struct {
	_ struct{} `type:"structure"`

	// The unique identifier for the permission group.
	PermissionGroupId *string `locationName:"permissionGroupId" min:"1" type:"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 (s CreatePermissionGroupOutput) String() string {
	return awsutil.Prettify(s)
}

// 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 (s CreatePermissionGroupOutput) GoString() string {
	return s.String()
}

// SetPermissionGroupId sets the PermissionGroupId field's value.
func (s *CreatePermissionGroupOutput) SetPermissionGroupId(v string) *CreatePermissionGroupOutput {
	s.PermissionGroupId = &v
	return s
}

type CreateUserInput struct {
	_ struct{} `type:"structure"`

	// The option to indicate whether the user can use the GetProgrammaticAccessCredentials
	// API to obtain credentials that can then be used to access other FinSpace
	// Data API operations.
	//
	//    * ENABLED – The user has permissions to use the APIs.
	//
	//    * DISABLED – The user does not have permissions to use any APIs.
	ApiAccess *string `type:"string" enum:"ApiAccess"`

	// The ARN identifier of an AWS user or role that is allowed to call the GetProgrammaticAccessCredentials
	// API to obtain a credentials token for a specific FinSpace user. This must
	// be an IAM role within your FinSpace account.
	ApiAccessPrincipalArn *string `locationName:"apiAccessPrincipalArn" min:"20" type:"string"`

	// A token that ensures idempotency. This token expires in 10 minutes.
	ClientToken *string `locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"`

	// The email address of the user that you want to register. The email address
	// serves as a uniquer identifier for each user and cannot be changed after
	// it's created.
	//
	// EmailAddress is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by CreateUserInput's
	// String and GoString methods.
	//
	// EmailAddress is a required field
	EmailAddress *string `locationName:"emailAddress" min:"4" type:"string" required:"true" sensitive:"true"`

	// The first name of the user that you want to register.
	//
	// FirstName is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by CreateUserInput's
	// String and GoString methods.
	FirstName *string `locationName:"firstName" min:"1" type:"string" sensitive:"true"`

	// The last name of the user that you want to register.
	//
	// LastName is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by CreateUserInput's
	// String and GoString methods.
	LastName *string `locationName:"lastName" min:"1" type:"string" sensitive:"true"`

	// The option to indicate the type of user. Use one of the following options
	// to specify this parameter:
	//
	//    * SUPER_USER – A user with permission to all the functionality and data
	//    in FinSpace.
	//
	//    * APP_USER – A user with specific permissions in FinSpace. The users
	//    are assigned permissions by adding them to a permission group.
	//
	// Type is a required field
	Type *string `locationName:"type" type:"string" required:"true" enum:"UserType"`
}

// 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 (s CreateUserInput) String() string {
	return awsutil.Prettify(s)
}

// 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 (s CreateUserInput) GoString() string {
	return s.String()
}

// Validate inspects the fields of the type to determine if they are valid.
func (s *CreateUserInput) Validate() error {
	invalidParams := request.ErrInvalidParams{Context: "CreateUserInput"}
	if s.ApiAccessPrincipalArn != nil && len(*s.ApiAccessPrincipalArn) < 20 {
		invalidParams.Add(request.NewErrParamMinLen("ApiAccessPrincipalArn", 20))
	}
	if s.ClientToken != nil && len(*s.ClientToken) < 1 {
		invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1))
	}
	if s.EmailAddress == nil {
		invalidParams.Add(request.NewErrParamRequired("EmailAddress"))
	}
	if s.EmailAddress != nil && len(*s.EmailAddress) < 4 {
		invalidParams.Add(request.NewErrParamMinLen("EmailAddress", 4))
	}
	if s.FirstName != nil && len(*s.FirstName) < 1 {
		invalidParams.Add(request.NewErrParamMinLen("FirstName", 1))
	}
	if s.LastName != nil && len(*s.LastName) < 1 {
		invalidParams.Add(request.NewErrParamMinLen("LastName", 1))
	}
	if s.Type == nil {
		invalidParams.Add(request.NewErrParamRequired("Type"))
	}

	if invalidParams.Len() > 0 {
		return invalidParams
	}
	return nil
}

// SetApiAccess sets the ApiAccess field's value.
func (s *CreateUserInput) SetApiAccess(v string) *CreateUserInput {
	s.ApiAccess = &v
	return s
}

// SetApiAccessPrincipalArn sets the ApiAccessPrincipalArn field's value.
func (s *CreateUserInput) SetApiAccessPrincipalArn(v string) *CreateUserInput {
	s.ApiAccessPrincipalArn = &v
	return s
}

// SetClientToken sets the ClientToken field's value.
func (s *CreateUserInput) SetClientToken(v string) *CreateUserInput {
	s.ClientToken = &v
	return s
}

// SetEmailAddress sets the EmailAddress field's value.
func (s *CreateUserInput) SetEmailAddress(v string) *CreateUserInput {
	s.EmailAddress = &v
	return s
}

// SetFirstName sets the FirstName field's value.
func (s *CreateUserInput) SetFirstName(v string) *CreateUserInput {
	s.FirstName = &v
	return s
}

// SetLastName sets the LastName field's value.
func (s *CreateUserInput) SetLastName(v string) *CreateUserInput {
	s.LastName = &v
	return s
}

// SetType sets the Type field's value.
func (s *CreateUserInput) SetType(v string) *CreateUserInput {
	s.Type = &v
	return s
}

type CreateUserOutput struct {
	_ struct{} `type:"structure"`

	// The unique identifier for the user.
	UserId *string `locationName:"userId" min:"1" type:"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 (s CreateUserOutput) String() string {
	return awsutil.Prettify(s)
}

// 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 (s CreateUserOutput) GoString() string {
	return s.String()
}

// SetUserId sets the UserId field's value.
func (s *CreateUserOutput) SetUserId(v string) *CreateUserOutput {
	s.UserId = &v
	return s
}

// Short term API credentials.
type Credentials struct {
	_ struct{} `type:"structure"`

	// The access key identifier.
	AccessKeyId *string `locationName:"accessKeyId" min:"1" type:"string"`

	// The access key.
	SecretAccessKey *string `locationName:"secretAccessKey" type:"string"`

	// The session token.
	SessionToken *string `locationName:"sessionToken" type:"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 (s Credentials) String() string {
	return awsutil.Prettify(s)
}

// 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 (s Credentials) GoString() string {
	return s.String()
}

// SetAccessKeyId sets the AccessKeyId field's value.
func (s *Credentials) SetAccessKeyId(v string) *Credentials {
	s.AccessKeyId = &v
	return s
}

// SetSecretAccessKey sets the SecretAccessKey field's value.
func (s *Credentials) SetSecretAccessKey(v string) *Credentials {
	s.SecretAccessKey = &v
	return s
}

// SetSessionToken sets the SessionToken field's value.
func (s *Credentials) SetSessionToken(v string) *Credentials {
	s.SessionToken = &v
	return s
}

// Structure for the Dataview destination type parameters.
type DataViewDestinationTypeParams struct {
	_ struct{} `type:"structure"`

	// Destination type for a Dataview.
	//
	//    * GLUE_TABLE – Glue table destination type.
	//
	//    * S3 – S3 destination type.
	//
	// DestinationType is a required field
	DestinationType *string `locationName:"destinationType" type:"string" required:"true"`

	// Data view export file format.
	//
	//    * PARQUET – Parquet export file format.
	//
	//    * DELIMITED_TEXT – Delimited text export file format.
	S3DestinationExportFileFormat *string `locationName:"s3DestinationExportFileFormat" type:"string" enum:"ExportFileFormat"`

	// Format Options for S3 Destination type.
	//
	// Here is an example of how you could specify the s3DestinationExportFileFormatOptions
	//
	// { "header": "true", "delimiter": ",", "compression": "gzip" }
	S3DestinationExportFileFormatOptions map[string]*string `locationName:"s3DestinationExportFileFormatOptions" type:"map"`
}

// 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 (s DataViewDestinationTypeParams) String() string {
	return awsutil.Prettify(s)
}

// 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 (s DataViewDestinationTypeParams) GoString() string {
	return s.String()
}

// Validate inspects the fields of the type to determine if they are valid.
func (s *DataViewDestinationTypeParams) Validate() error {
	invalidParams := request.ErrInvalidParams{Context: "DataViewDestinationTypeParams"}
	if s.DestinationType == nil {
		invalidParams.Add(request.NewErrParamRequired("DestinationType"))
	}

	if invalidParams.Len() > 0 {
		return invalidParams
	}
	return nil
}

// SetDestinationType sets the DestinationType field's value.
func (s *DataViewDestinationTypeParams) SetDestinationType(v string) *DataViewDestinationTypeParams {
	s.DestinationType = &v
	return s
}

// SetS3DestinationExportFileFormat sets the S3DestinationExportFileFormat field's value.
func (s *DataViewDestinationTypeParams) SetS3DestinationExportFileFormat(v string) *DataViewDestinationTypeParams {
	s.S3DestinationExportFileFormat = &v
	return s
}

// SetS3DestinationExportFileFormatOptions sets the S3DestinationExportFileFormatOptions field's value.
func (s *DataViewDestinationTypeParams) SetS3DestinationExportFileFormatOptions(v map[string]*string) *DataViewDestinationTypeParams {
	s.S3DestinationExportFileFormatOptions = v
	return s
}

// The structure with error messages.
type DataViewErrorInfo struct {
	_ struct{} `type:"structure"`

	// The category of the error.
	//
	//    * VALIDATION – The inputs to this request are invalid.
	//
	//    * SERVICE_QUOTA_EXCEEDED – Service quotas have been exceeded. Please
	//    contact AWS support to increase quotas.
	//
	//    * ACCESS_DENIED – Missing required permission to perform this request.
	//
	//    * RESOURCE_NOT_FOUND – One or more inputs to this request were not found.
	//
	//    * THROTTLING – The system temporarily lacks sufficient resources to
	//    process the request.
	//
	//    * INTERNAL_SERVICE_EXCEPTION – An internal service error has occurred.
	//
	//    * CANCELLED – Cancelled.
	//
	//    * USER_RECOVERABLE – A user recoverable error has occurred.
	ErrorCategory *string `locationName:"errorCategory" type:"string" enum:"ErrorCategory"`

	// The text of the error message.
	ErrorMessage *string `locationName:"errorMessage" type:"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 (s DataViewErrorInfo) String() string {
	return awsutil.Prettify(s)
}

// 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 (s DataViewErrorInfo) GoString() string {
	return s.String()
}

// SetErrorCategory sets the ErrorCategory field's value.
func (s *DataViewErrorInfo) SetErrorCategory(v string) *DataViewErrorInfo {
	s.ErrorCategory = &v
	return s
}

// SetErrorMessage sets the ErrorMessage field's value.
func (s *DataViewErrorInfo) SetErrorMessage(v string) *DataViewErrorInfo {
	s.ErrorMessage = &v
	return s
}

// Structure for the summary of a Dataview.
type DataViewSummary struct {
	_ struct{} `type:"structure"`

	// Time range to use for the Dataview. The value is determined as epoch time
	// in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00
	// PM UTC is specified as 1635768000000.
	AsOfTimestamp *int64 `locationName:"asOfTimestamp" type:"long"`

	// The flag to indicate Dataview should be updated automatically.
	AutoUpdate *bool `locationName:"autoUpdate" type:"boolean"`

	// The timestamp at which the Dataview was created in FinSpace. The value is
	// determined as epoch time in milliseconds. For example, the value for Monday,
	// November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
	CreateTime *int64 `locationName:"createTime" type:"long"`

	// The ARN identifier of the Dataview.
	DataViewArn *string `locationName:"dataViewArn" type:"string"`

	// The unique identifier for the Dataview.
	DataViewId *string `locationName:"dataViewId" min:"1" type:"string"`

	// Th unique identifier for the Dataview Dataset.
	DatasetId *string `locationName:"datasetId" min:"1" type:"string"`

	// Information about the Dataview destination.
	DestinationTypeProperties *DataViewDestinationTypeParams `locationName:"destinationTypeProperties" type:"structure"`

	// The structure with error messages.
	ErrorInfo *DataViewErrorInfo `locationName:"errorInfo" type:"structure"`

	// The last time that a Dataview was modified. The value is determined as epoch
	// time in milliseconds. For example, the value for Monday, November 1, 2021
	// 12:00:00 PM UTC is specified as 1635768000000.
	LastModifiedTime *int64 `locationName:"lastModifiedTime" type:"long"`

	// Ordered set of column names used to partition data.
	PartitionColumns []*string `locationName:"partitionColumns" type:"list"`

	// Columns to be used for sorting the data.
	SortColumns []*string `locationName:"sortColumns" type:"list"`

	// The status of a Dataview creation.
	//
	//    * RUNNING – Dataview creation is running.
	//
	//    * STARTING – Dataview creation is starting.
	//
	//    * FAILED – Dataview creation has failed.
	//
	//    * CANCELLED – Dataview creation has been cancelled.
	//
	//    * TIMEOUT – Dataview creation has timed out.
	//
	//    * SUCCESS – Dataview creation has succeeded.
	//
	//    * PENDING – Dataview creation is pending.
	//
	//    * FAILED_CLEANUP_FAILED – Dataview creation failed and resource cleanup
	//    failed.
	Status *string `locationName:"status" type:"string" enum:"DataViewStatus"`
}

// 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 (s DataViewSummary) String() string {
	return awsutil.Prettify(s)
}

// 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 (s DataViewSummary) GoString() string {
	return s.String()
}

// SetAsOfTimestamp sets the AsOfTimestamp field's value.
func (s *DataViewSummary) SetAsOfTimestamp(v int64) *DataViewSummary {
	s.AsOfTimestamp = &v
	return s
}

// SetAutoUpdate sets the AutoUpdate field's value.
func (s *DataViewSummary) SetAutoUpdate(v bool) *DataViewSummary {
	s.AutoUpdate = &v
	return s
}

// SetCreateTime sets the CreateTime field's value.
func (s *DataViewSummary) SetCreateTime(v int64) *DataViewSummary {
	s.CreateTime = &v
	return s
}

// SetDataViewArn sets the DataViewArn field's value.
func (s *DataViewSummary) SetDataViewArn(v string) *DataViewSummary {
	s.DataViewArn = &v
	return s
}

// SetDataViewId sets the DataViewId field's value.
func (s *DataViewSummary) SetDataViewId(v string) *DataViewSummary {
	s.DataViewId = &v
	return s
}

// SetDatasetId sets the DatasetId field's value.
func (s *DataViewSummary) SetDatasetId(v string) *DataViewSummary {
	s.DatasetId = &v
	return s
}

// SetDestinationTypeProperties sets the DestinationTypeProperties field's value.
func (s *DataViewSummary) SetDestinationTypeProperties(v *DataViewDestinationTypeParams) *DataViewSummary {
	s.DestinationTypeProperties = v
	return s
}

// SetErrorInfo sets the ErrorInfo field's value.
func (s *DataViewSummary) SetErrorInfo(v *DataViewErrorInfo) *DataViewSummary {
	s.ErrorInfo = v
	return s
}

// SetLastModifiedTime sets the LastModifiedTime field's value.
func (s *DataViewSummary) SetLastModifiedTime(v int64) *DataViewSummary {
	s.LastModifiedTime = &v
	return s
}

// SetPartitionColumns sets the PartitionColumns field's value.
func (s *DataViewSummary) SetPartitionColumns(v []*string) *DataViewSummary {
	s.PartitionColumns = v
	return s
}

// SetSortColumns sets the SortColumns field's value.
func (s *DataViewSummary) SetSortColumns(v []*string) *DataViewSummary {
	s.SortColumns = v
	return s
}

// SetStatus sets the Status field's value.
func (s *DataViewSummary) SetStatus(v string) *DataViewSummary {
	s.Status = &v
	return s
}

// The structure for a Dataset.
type Dataset struct {
	_ struct{} `type:"structure"`

	// The unique resource identifier for a Dataset.
	Alias *string `locationName:"alias" min:"1" type:"string"`

	// The timestamp at which the Dataset was created in FinSpace. The value is
	// determined as epoch time in milliseconds. For example, the value for Monday,
	// November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
	CreateTime *int64 `locationName:"createTime" type:"long"`

	// The ARN identifier of the Dataset.
	DatasetArn *string `locationName:"datasetArn" type:"string"`

	// Description for a Dataset.
	DatasetDescription *string `locationName:"datasetDescription" min:"1" type:"string"`

	// An identifier for a Dataset.
	DatasetId *string `locationName:"datasetId" min:"1" type:"string"`

	// Display title for a Dataset.
	DatasetTitle *string `locationName:"datasetTitle" min:"1" type:"string"`

	// The format in which Dataset data is structured.
	//
	//    * TABULAR – Data is structured in a tabular format.
	//
	//    * NON_TABULAR – Data is structured in a non-tabular format.
	Kind *string `locationName:"kind" type:"string" enum:"DatasetKind"`

	// The last time that the Dataset was modified. The value is determined as epoch
	// time in milliseconds. For example, the value for Monday, November 1, 2021
	// 12:00:00 PM UTC is specified as 1635768000000.
	LastModifiedTime *int64 `locationName:"lastModifiedTime" type:"long"`

	// Contact information for a Dataset owner.
	OwnerInfo *DatasetOwnerInfo `locationName:"ownerInfo" type:"structure"`

	// Definition for a schema on a tabular Dataset.
	SchemaDefinition *SchemaUnion `locationName:"schemaDefinition" type:"structure"`
}

// 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 (s Dataset) String() string {
	return awsutil.Prettify(s)
}

// 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 (s Dataset) GoString() string {
	return s.String()
}

// SetAlias sets the Alias field's value.
func (s *Dataset) SetAlias(v string) *Dataset {
	s.Alias = &v
	return s
}

// SetCreateTime sets the CreateTime field's value.
func (s *Dataset) SetCreateTime(v int64) *Dataset {
	s.CreateTime = &v
	return s
}

// SetDatasetArn sets the DatasetArn field's value.
func (s *Dataset) SetDatasetArn(v string) *Dataset {
	s.DatasetArn = &v
	return s
}

// SetDatasetDescription sets the DatasetDescription field's value.
func (s *Dataset) SetDatasetDescription(v string) *Dataset {
	s.DatasetDescription = &v
	return s
}

// SetDatasetId sets the DatasetId field's value.
func (s *Dataset) SetDatasetId(v string) *Dataset {
	s.DatasetId = &v
	return s
}

// SetDatasetTitle sets the DatasetTitle field's value.
func (s *Dataset) SetDatasetTitle(v string) *Dataset {
	s.DatasetTitle = &v
	return s
}

// SetKind sets the Kind field's value.
func (s *Dataset) SetKind(v string) *Dataset {
	s.Kind = &v
	return s
}

// SetLastModifiedTime sets the LastModifiedTime field's value.
func (s *Dataset) SetLastModifiedTime(v int64) *Dataset {
	s.LastModifiedTime = &v
	return s
}

// SetOwnerInfo sets the OwnerInfo field's value.
func (s *Dataset) SetOwnerInfo(v *DatasetOwnerInfo) *Dataset {
	s.OwnerInfo = v
	return s
}

// SetSchemaDefinition sets the SchemaDefinition field's value.
func (s *Dataset) SetSchemaDefinition(v *SchemaUnion) *Dataset {
	s.SchemaDefinition = v
	return s
}

// A structure for Dataset owner info.
type DatasetOwnerInfo struct {
	_ struct{} `type:"structure"`

	// Email address for the Dataset owner.
	//
	// Email is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by DatasetOwnerInfo's
	// String and GoString methods.
	Email *string `locationName:"email" min:"4" type:"string" sensitive:"true"`

	// The name of the Dataset owner.
	Name *string `locationName:"name" min:"1" type:"string"`

	// Phone number for the Dataset owner.
	PhoneNumber *string `locationName:"phoneNumber" min:"10" type:"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 (s DatasetOwnerInfo) String() string {
	return awsutil.Prettify(s)
}

// 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 (s DatasetOwnerInfo) GoString() string {
	return s.String()
}

// Validate inspects the fields of the type to determine if they are valid.
func (s *DatasetOwnerInfo) Validate() error {
	invalidParams := request.ErrInvalidParams{Context: "DatasetOwnerInfo"}
	if s.Email != nil && len(*s.Email) < 4 {
		invalidParams.Add(request.NewErrParamMinLen("Email", 4))
	}
	if s.Name != nil && len(*s.Name) < 1 {
		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
	}
	if s.PhoneNumber != nil && len(*s.PhoneNumber) < 10 {
		invalidParams.Add(request.NewErrParamMinLen("PhoneNumber", 10))
	}

	if invalidParams.Len() > 0 {
		return invalidParams
	}
	return nil
}

// SetEmail sets the Email field's value.
func (s *DatasetOwnerInfo) SetEmail(v string) *DatasetOwnerInfo {
	s.Email = &v
	return s
}

// SetName sets the Name field's value.
func (s *DatasetOwnerInfo) SetName(v string) *DatasetOwnerInfo {
	s.Name = &v
	return s
}

// SetPhoneNumber sets the PhoneNumber field's value.
func (s *DatasetOwnerInfo) SetPhoneNumber(v string) *DatasetOwnerInfo {
	s.PhoneNumber = &v
	return s
}

// The request for a DeleteDataset operation.
type DeleteDatasetInput struct {
	_ struct{} `type:"structure" nopayload:"true"`

	// A token that ensures idempotency. This token expires in 10 minutes.
	ClientToken *string `location:"querystring" locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"`

	// The unique identifier of the Dataset to be deleted.
	//
	// DatasetId is a required field
	DatasetId *string `location:"uri" locationName:"datasetId" min:"1" type:"string" required:"true"`
}

// 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 (s DeleteDatasetInput) String() string {
	return awsutil.Prettify(s)
}

// 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 (s DeleteDatasetInput) GoString() string {
	return s.String()
}

// Validate inspects the fields of the type to determine if they are valid.
func (s *DeleteDatasetInput) Validate() error {
	invalidParams := request.ErrInvalidParams{Context: "DeleteDatasetInput"}
	if s.ClientToken != nil && len(*s.ClientToken) < 1 {
		invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1))
	}
	if s.DatasetId == nil {
		invalidParams.Add(request.NewErrParamRequired("DatasetId"))
	}
	if s.DatasetId != nil && len(*s.DatasetId) < 1 {
		invalidParams.Add(request.NewErrParamMinLen("DatasetId", 1))
	}

	if invalidParams.Len() > 0 {
		return invalidParams
	}
	return nil
}

// SetClientToken sets the ClientToken field's value.
func (s *DeleteDatasetInput) SetClientToken(v string) *DeleteDatasetInput {
	s.ClientToken = &v
	return s
}

// SetDatasetId sets the DatasetId field's value.
func (s *DeleteDatasetInput) SetDatasetId(v string) *DeleteDatasetInput {
	s.DatasetId = &v
	return s
}

// The response from an DeleteDataset operation
type DeleteDatasetOutput struct {
	_ struct{} `type:"structure"`

	// The unique identifier for the deleted Dataset.
	DatasetId *string `locationName:"datasetId" min:"1" type:"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 (s DeleteDatasetOutput) String() string {
	return awsutil.Prettify(s)
}

// 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 (s DeleteDatasetOutput) GoString() string {
	return s.String()
}

// SetDatasetId sets the DatasetId field's value.
func (s *DeleteDatasetOutput) SetDatasetId(v string) *DeleteDatasetOutput {
	s.DatasetId = &v
	return s
}

type DeletePermissionGroupInput struct {
	_ struct{} `type:"structure" nopayload:"true"`

	// A token that ensures idempotency. This token expires in 10 minutes.
	ClientToken *string `location:"querystring" locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"`

	// The unique identifier for the permission group that you want to delete.
	//
	// PermissionGroupId is a required field
	PermissionGroupId *string `location:"uri" locationName:"permissionGroupId" min:"1" type:"string" required:"true"`
}

// 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 (s DeletePermissionGroupInput) String() string {
	return awsutil.Prettify(s)
}

// 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 (s DeletePermissionGroupInput) GoString() string {
	return s.String()
}

// Validate inspects the fields of the type to determine if they are valid.
func (s *DeletePermissionGroupInput) Validate() error {
	invalidParams := request.ErrInvalidParams{Context: "DeletePermissionGroupInput"}
	if s.ClientToken != nil && len(*s.ClientToken) < 1 {
		invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1))
	}
	if s.PermissionGroupId == nil {
		invalidParams.Add(request.NewErrParamRequired("PermissionGroupId"))
	}
	if s.PermissionGroupId != nil && len(*s.PermissionGroupId) < 1 {
		invalidParams.Add(request.NewErrParamMinLen("PermissionGroupId", 1))
	}

	if invalidParams.Len() > 0 {
		return invalidParams
	}
	return nil
}

// SetClientToken sets the ClientToken field's value.
func (s *DeletePermissionGroupInput) SetClientToken(v string) *DeletePermissionGroupInput {
	s.ClientToken = &v
	return s
}

// SetPermissionGroupId sets the PermissionGroupId field's value.
func (s *DeletePermissionGroupInput) SetPermissionGroupId(v string) *DeletePermissionGroupInput {
	s.PermissionGroupId = &v
	return s
}

type DeletePermissionGroupOutput struct {
	_ struct{} `type:"structure"`

	// The unique identifier for the deleted permission group.
	PermissionGroupId *string `locationName:"permissionGroupId" min:"1" type:"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 (s DeletePermissionGroupOutput) String() string {
	return awsutil.Prettify(s)
}

// 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 (s DeletePermissionGroupOutput) GoString() string {
	return s.String()
}

// SetPermissionGroupId sets the PermissionGroupId field's value.
func (s *DeletePermissionGroupOutput) SetPermissionGroupId(v string) *DeletePermissionGroupOutput {
	s.PermissionGroupId = &v
	return s
}

type DisableUserInput struct {
	_ struct{} `type:"structure"`

	// A token that ensures idempotency. This token expires in 10 minutes.
	ClientToken *string `locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"`

	// The unique identifier for the user account that you want to disable.
	//
	// UserId is a required field
	UserId *string `location:"uri" locationName:"userId" min:"1" type:"string" required:"true"`
}

// 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 (s DisableUserInput) String() string {
	return awsutil.Prettify(s)
}

// 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 (s DisableUserInput) GoString() string {
	return s.String()
}

// Validate inspects the fields of the type to determine if they are valid.
func (s *DisableUserInput) Validate() error {
	invalidParams := request.ErrInvalidParams{Context: "DisableUserInput"}
	if s.ClientToken != nil && len(*s.ClientToken) < 1 {
		invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1))
	}
	if s.UserId == nil {
		invalidParams.Add(request.NewErrParamRequired("UserId"))
	}
	if s.UserId != nil && len(*s.UserId) < 1 {
		invalidParams.Add(request.NewErrParamMinLen("UserId", 1))
	}

	if invalidParams.Len() > 0 {
		return invalidParams
	}
	return nil
}

// SetClientToken sets the ClientToken field's value.
func (s *DisableUserInput) SetClientToken(v string) *DisableUserInput {
	s.ClientToken = &v
	return s
}

// SetUserId sets the UserId field's value.
func (s *DisableUserInput) SetUserId(v string) *DisableUserInput {
	s.UserId = &v
	return s
}

type DisableUserOutput struct {
	_ struct{} `type:"structure"`

	// The unique identifier for the disabled user account.
	UserId *string `locationName:"userId" min:"1" type:"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 (s DisableUserOutput) String() string {
	return awsutil.Prettify(s)
}

// 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 (s DisableUserOutput) GoString() string {
	return s.String()
}

// SetUserId sets the UserId field's value.
func (s *DisableUserOutput) SetUserId(v string) *DisableUserOutput {
	s.UserId = &v
	return s
}

type EnableUserInput struct {
	_ struct{} `type:"structure"`

	// A token that ensures idempotency. This token expires in 10 minutes.
	ClientToken *string `locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"`

	// The unique identifier for the user account that you want to enable.
	//
	// UserId is a required field
	UserId *string `location:"uri" locationName:"userId" min:"1" type:"string" required:"true"`
}

// 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 (s EnableUserInput) String() string {
	return awsutil.Prettify(s)
}

// 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 (s EnableUserInput) GoString() string {
	return s.String()
}

// Validate inspects the fields of the type to determine if they are valid.
func (s *EnableUserInput) Validate() error {
	invalidParams := request.ErrInvalidParams{Context: "EnableUserInput"}
	if s.ClientToken != nil && len(*s.ClientToken) < 1 {
		invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1))
	}
	if s.UserId == nil {
		invalidParams.Add(request.NewErrParamRequired("UserId"))
	}
	if s.UserId != nil && len(*s.UserId) < 1 {
		invalidParams.Add(request.NewErrParamMinLen("UserId", 1))
	}

	if invalidParams.Len() > 0 {
		return invalidParams
	}
	return nil
}

// SetClientToken sets the ClientToken field's value.
func (s *EnableUserInput) SetClientToken(v string) *EnableUserInput {
	s.ClientToken = &v
	return s
}

// SetUserId sets the UserId field's value.
func (s *EnableUserInput) SetUserId(v string) *EnableUserInput {
	s.UserId = &v
	return s
}

type EnableUserOutput struct {
	_ struct{} `type:"structure"`

	// The unique identifier for the enabled user account.
	UserId *string `locationName:"userId" min:"1" type:"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 (s EnableUserOutput) String() string {
	return awsutil.Prettify(s)
}

// 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 (s EnableUserOutput) GoString() string {
	return s.String()
}

// SetUserId sets the UserId field's value.
func (s *EnableUserOutput) SetUserId(v string) *EnableUserOutput {
	s.UserId = &v
	return s
}

// Request to describe a changeset.
type GetChangesetInput struct {
	_ struct{} `type:"structure" nopayload:"true"`

	// The unique identifier of the Changeset for which to get data.
	//
	// ChangesetId is a required field
	ChangesetId *string `location:"uri" locationName:"changesetId" min:"1" type:"string" required:"true"`

	// The unique identifier for the FinSpace Dataset where the Changeset is created.
	//
	// DatasetId is a required field
	DatasetId *string `location:"uri" locationName:"datasetId" min:"1" type:"string" required:"true"`
}

// 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 (s GetChangesetInput) String() string {
	return awsutil.Prettify(s)
}

// 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 (s GetChangesetInput) GoString() string {
	return s.String()
}

// Validate inspects the fields of the type to determine if they are valid.
func (s *GetChangesetInput) Validate() error {
	invalidParams := request.ErrInvalidParams{Context: "GetChangesetInput"}
	if s.ChangesetId == nil {
		invalidParams.Add(request.NewErrParamRequired("ChangesetId"))
	}
	if s.ChangesetId != nil && len(*s.ChangesetId) < 1 {
		invalidParams.Add(request.NewErrParamMinLen("ChangesetId", 1))
	}
	if s.DatasetId == nil {
		invalidParams.Add(request.NewErrParamRequired("DatasetId"))
	}
	if s.DatasetId != nil && len(*s.DatasetId) < 1 {
		invalidParams.Add(request.NewErrParamMinLen("DatasetId", 1))
	}

	if invalidParams.Len() > 0 {
		return invalidParams
	}
	return nil
}

// SetChangesetId sets the ChangesetId field's value.
func (s *GetChangesetInput) SetChangesetId(v string) *GetChangesetInput {
	s.ChangesetId = &v
	return s
}

// SetDatasetId sets the DatasetId field's value.
func (s *GetChangesetInput) SetDatasetId(v string) *GetChangesetInput {
	s.DatasetId = &v
	return s
}

// The response from a describe changeset operation
type GetChangesetOutput struct {
	_ struct{} `type:"structure"`

	// Beginning time from which the Changeset is active. The value is determined
	// as epoch time in milliseconds. For example, the value for Monday, November
	// 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
	ActiveFromTimestamp *int64 `locationName:"activeFromTimestamp" type:"long"`

	// Time until which the Changeset is active. The value is determined as epoch
	// time in milliseconds. For example, the value for Monday, November 1, 2021
	// 12:00:00 PM UTC is specified as 1635768000000.
	ActiveUntilTimestamp *int64 `locationName:"activeUntilTimestamp" type:"long"`

	// Type that indicates how a Changeset is applied to a Dataset.
	//
	//    * REPLACE – Changeset is considered as a replacement to all prior loaded
	//    Changesets.
	//
	//    * APPEND – Changeset is considered as an addition to the end of all
	//    prior loaded Changesets.
	//
	//    * MODIFY – Changeset is considered as a replacement to a specific prior
	//    ingested Changeset.
	ChangeType *string `locationName:"changeType" type:"string" enum:"ChangeType"`

	// The ARN identifier of the Changeset.
	ChangesetArn *string `locationName:"changesetArn" type:"string"`

	// The unique identifier for a Changeset.
	ChangesetId *string `locationName:"changesetId" min:"1" type:"string"`

	// The timestamp at which the Changeset was created in FinSpace. The value is
	// determined as epoch time in milliseconds. For example, the value for Monday,
	// November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
	CreateTime *int64 `locationName:"createTime" type:"long"`

	// The unique identifier for the FinSpace Dataset where the Changeset is created.
	DatasetId *string `locationName:"datasetId" min:"1" type:"string"`

	// The structure with error messages.
	ErrorInfo *ChangesetErrorInfo `locationName:"errorInfo" type:"structure"`

	// Structure of the source file(s).
	FormatParams map[string]*string `locationName:"formatParams" type:"map"`

	// Options that define the location of the data being ingested.
	SourceParams map[string]*string `locationName:"sourceParams" type:"map"`

	// The status of Changeset creation operation.
	Status *string `locationName:"status" type:"string" enum:"IngestionStatus"`

	// The unique identifier of the updated Changeset.
	UpdatedByChangesetId *string `locationName:"updatedByChangesetId" min:"1" type:"string"`

	// The unique identifier of the Changeset that is being updated.
	UpdatesChangesetId *string `locationName:"updatesChangesetId" min:"1" type:"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 (s GetChangesetOutput) String() string {
	return awsutil.Prettify(s)
}

// 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 (s GetChangesetOutput) GoString() string {
	return s.String()
}

// SetActiveFromTimestamp sets the ActiveFromTimestamp field's value.
func (s *GetChangesetOutput) SetActiveFromTimestamp(v int64) *GetChangesetOutput {
	s.ActiveFromTimestamp = &v
	return s
}

// SetActiveUntilTimestamp sets the ActiveUntilTimestamp field's value.
func (s *GetChangesetOutput) SetActiveUntilTimestamp(v int64) *GetChangesetOutput {
	s.ActiveUntilTimestamp = &v
	return s
}

// SetChangeType sets the ChangeType field's value.
func (s *GetChangesetOutput) SetChangeType(v string) *GetChangesetOutput {
	s.ChangeType = &v
	return s
}

// SetChangesetArn sets the ChangesetArn field's value.
func (s *GetChangesetOutput) SetChangesetArn(v string) *GetChangesetOutput {
	s.ChangesetArn = &v
	return s
}

// SetChangesetId sets the ChangesetId field's value.
func (s *GetChangesetOutput) SetChangesetId(v string) *GetChangesetOutput {
	s.ChangesetId = &v
	return s
}

// SetCreateTime sets the CreateTime field's value.
func (s *GetChangesetOutput) SetCreateTime(v int64) *GetChangesetOutput {
	s.CreateTime = &v
	return s
}

// SetDatasetId sets the DatasetId field's value.
func (s *GetChangesetOutput) SetDatasetId(v string) *GetChangesetOutput {
	s.DatasetId = &v
	return s
}

// SetErrorInfo sets the ErrorInfo field's value.
func (s *GetChangesetOutput) SetErrorInfo(v *ChangesetErrorInfo) *GetChangesetOutput {
	s.ErrorInfo = v
	return s
}

// SetFormatParams sets the FormatParams field's value.
func (s *GetChangesetOutput) SetFormatParams(v map[string]*string) *GetChangesetOutput {
	s.FormatParams = v
	return s
}

// SetSourceParams sets the SourceParams field's value.
func (s *GetChangesetOutput) SetSourceParams(v map[string]*string) *GetChangesetOutput {
	s.SourceParams = v
	return s
}

// SetStatus sets the Status field's value.
func (s *GetChangesetOutput) SetStatus(v string) *GetChangesetOutput {
	s.Status = &v
	return s
}

// SetUpdatedByChangesetId sets the UpdatedByChangesetId field's value.
func (s *GetChangesetOutput) SetUpdatedByChangesetId(v string) *GetChangesetOutput {
	s.UpdatedByChangesetId = &v
	return s
}

// SetUpdatesChangesetId sets the UpdatesChangesetId field's value.
func (s *GetChangesetOutput) SetUpdatesChangesetId(v string) *GetChangesetOutput {
	s.UpdatesChangesetId = &v
	return s
}

// Request for retrieving a data view detail. Grouped / accessible within a
// dataset by its dataset id.
type GetDataViewInput struct {
	_ struct{} `type:"structure" nopayload:"true"`

	// The unique identifier for the Dataview.
	//
	// DataViewId is a required field
	DataViewId *string `location:"uri" locationName:"dataviewId" min:"1" type:"string" required:"true"`

	// The unique identifier for the Dataset used in the Dataview.
	//
	// DatasetId is a required field
	DatasetId *string `location:"uri" locationName:"datasetId" min:"1" type:"string" required:"true"`
}

// 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 (s GetDataViewInput) String() string {
	return awsutil.Prettify(s)
}

// 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 (s GetDataViewInput) GoString() string {
	return s.String()
}

// Validate inspects the fields of the type to determine if they are valid.
func (s *GetDataViewInput) Validate() error {
	invalidParams := request.ErrInvalidParams{Context: "GetDataViewInput"}
	if s.DataViewId == nil {
		invalidParams.Add(request.NewErrParamRequired("DataViewId"))
	}
	if s.DataViewId != nil && len(*s.DataViewId) < 1 {
		invalidParams.Add(request.NewErrParamMinLen("DataViewId", 1))
	}
	if s.DatasetId == nil {
		invalidParams.Add(request.NewErrParamRequired("DatasetId"))
	}
	if s.DatasetId != nil && len(*s.DatasetId) < 1 {
		invalidParams.Add(request.NewErrParamMinLen("DatasetId", 1))
	}

	if invalidParams.Len() > 0 {
		return invalidParams
	}
	return nil
}

// SetDataViewId sets the DataViewId field's value.
func (s *GetDataViewInput) SetDataViewId(v string) *GetDataViewInput {
	s.DataViewId = &v
	return s
}

// SetDatasetId sets the DatasetId field's value.
func (s *GetDataViewInput) SetDatasetId(v string) *GetDataViewInput {
	s.DatasetId = &v
	return s
}

// Response from retrieving a dataview, which includes details on the target
// database and table name
type GetDataViewOutput struct {
	_ struct{} `type:"structure"`

	// Time range to use for the Dataview. The value is determined as epoch time
	// in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00
	// PM UTC is specified as 1635768000000.
	AsOfTimestamp *int64 `locationName:"asOfTimestamp" type:"long"`

	// Flag to indicate Dataview should be updated automatically.
	AutoUpdate *bool `locationName:"autoUpdate" type:"boolean"`

	// The timestamp at which the Dataview was created in FinSpace. The value is
	// determined as epoch time in milliseconds. For example, the value for Monday,
	// November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
	CreateTime *int64 `locationName:"createTime" type:"long"`

	// The ARN identifier of the Dataview.
	DataViewArn *string `locationName:"dataViewArn" type:"string"`

	// The unique identifier for the Dataview.
	DataViewId *string `locationName:"dataViewId" min:"1" type:"string"`

	// The unique identifier for the Dataset used in the Dataview.
	DatasetId *string `locationName:"datasetId" min:"1" type:"string"`

	// Options that define the destination type for the Dataview.
	DestinationTypeParams *DataViewDestinationTypeParams `locationName:"destinationTypeParams" type:"structure"`

	// Information about an error that occurred for the Dataview.
	ErrorInfo *DataViewErrorInfo `locationName:"errorInfo" type:"structure"`

	// The last time that a Dataview was modified. The value is determined as epoch
	// time in milliseconds. For example, the value for Monday, November 1, 2021
	// 12:00:00 PM UTC is specified as 1635768000000.
	LastModifiedTime *int64 `locationName:"lastModifiedTime" type:"long"`

	// Ordered set of column names used to partition data.
	PartitionColumns []*string `locationName:"partitionColumns" type:"list"`

	// Columns to be used for sorting the data.
	SortColumns []*string `locationName:"sortColumns" type:"list"`

	// The status of a Dataview creation.
	//
	//    * RUNNING – Dataview creation is running.
	//
	//    * STARTING – Dataview creation is starting.
	//
	//    * FAILED – Dataview creation has failed.
	//
	//    * CANCELLED – Dataview creation has been cancelled.
	//
	//    * TIMEOUT – Dataview creation has timed out.
	//
	//    * SUCCESS – Dataview creation has succeeded.
	//
	//    * PENDING – Dataview creation is pending.
	//
	//    * FAILED_CLEANUP_FAILED – Dataview creation failed and resource cleanup
	//    failed.
	Status *string `locationName:"status" type:"string" enum:"DataViewStatus"`
}

// 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 (s GetDataViewOutput) String() string {
	return awsutil.Prettify(s)
}

// 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 (s GetDataViewOutput) GoString() string {
	return s.String()
}

// SetAsOfTimestamp sets the AsOfTimestamp field's value.
func (s *GetDataViewOutput) SetAsOfTimestamp(v int64) *GetDataViewOutput {
	s.AsOfTimestamp = &v
	return s
}

// SetAutoUpdate sets the AutoUpdate field's value.
func (s *GetDataViewOutput) SetAutoUpdate(v bool) *GetDataViewOutput {
	s.AutoUpdate = &v
	return s
}

// SetCreateTime sets the CreateTime field's value.
func (s *GetDataViewOutput) SetCreateTime(v int64) *GetDataViewOutput {
	s.CreateTime = &v
	return s
}

// SetDataViewArn sets the DataViewArn field's value.
func (s *GetDataViewOutput) SetDataViewArn(v string) *GetDataViewOutput {
	s.DataViewArn = &v
	return s
}

// SetDataViewId sets the DataViewId field's value.
func (s *GetDataViewOutput) SetDataViewId(v string) *GetDataViewOutput {
	s.DataViewId = &v
	return s
}

// SetDatasetId sets the DatasetId field's value.
func (s *GetDataViewOutput) SetDatasetId(v string) *GetDataViewOutput {
	s.DatasetId = &v
	return s
}

// SetDestinationTypeParams sets the DestinationTypeParams field's value.
func (s *GetDataViewOutput) SetDestinationTypeParams(v *DataViewDestinationTypeParams) *GetDataViewOutput {
	s.DestinationTypeParams = v
	return s
}

// SetErrorInfo sets the ErrorInfo field's value.
func (s *GetDataViewOutput) SetErrorInfo(v *DataViewErrorInfo) *GetDataViewOutput {
	s.ErrorInfo = v
	return s
}

// SetLastModifiedTime sets the LastModifiedTime field's value.
func (s *GetDataViewOutput) SetLastModifiedTime(v int64) *GetDataViewOutput {
	s.LastModifiedTime = &v
	return s
}

// SetPartitionColumns sets the PartitionColumns field's value.
func (s *GetDataViewOutput) SetPartitionColumns(v []*string) *GetDataViewOutput {
	s.PartitionColumns = v
	return s
}

// SetSortColumns sets the SortColumns field's value.
func (s *GetDataViewOutput) SetSortColumns(v []*string) *GetDataViewOutput {
	s.SortColumns = v
	return s
}

// SetStatus sets the Status field's value.
func (s *GetDataViewOutput) SetStatus(v string) *GetDataViewOutput {
	s.Status = &v
	return s
}

// Request for the GetDataset operation.
type GetDatasetInput struct {
	_ struct{} `type:"structure" nopayload:"true"`

	// The unique identifier for a Dataset.
	//
	// DatasetId is a required field
	DatasetId *string `location:"uri" locationName:"datasetId" min:"1" type:"string" required:"true"`
}

// 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 (s GetDatasetInput) String() string {
	return awsutil.Prettify(s)
}

// 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 (s GetDatasetInput) GoString() string {
	return s.String()
}

// Validate inspects the fields of the type to determine if they are valid.
func (s *GetDatasetInput) Validate() error {
	invalidParams := request.ErrInvalidParams{Context: "GetDatasetInput"}
	if s.DatasetId == nil {
		invalidParams.Add(request.NewErrParamRequired("DatasetId"))
	}
	if s.DatasetId != nil && len(*s.DatasetId) < 1 {
		invalidParams.Add(request.NewErrParamMinLen("DatasetId", 1))
	}

	if invalidParams.Len() > 0 {
		return invalidParams
	}
	return nil
}

// SetDatasetId sets the DatasetId field's value.
func (s *GetDatasetInput) SetDatasetId(v string) *GetDatasetInput {
	s.DatasetId = &v
	return s
}

// Response for the GetDataset operation
type GetDatasetOutput struct {
	_ struct{} `type:"structure"`

	// The unique resource identifier for a Dataset.
	Alias *string `locationName:"alias" min:"1" type:"string"`

	// The timestamp at which the Dataset was created in FinSpace. The value is
	// determined as epoch time in milliseconds. For example, the value for Monday,
	// November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
	CreateTime *int64 `locationName:"createTime" type:"long"`

	// The ARN identifier of the Dataset.
	DatasetArn *string `locationName:"datasetArn" type:"string"`

	// A description of the Dataset.
	DatasetDescription *string `locationName:"datasetDescription" min:"1" type:"string"`

	// The unique identifier for a Dataset.
	DatasetId *string `locationName:"datasetId" min:"1" type:"string"`

	// Display title for a Dataset.
	DatasetTitle *string `locationName:"datasetTitle" min:"1" type:"string"`

	// The format in which Dataset data is structured.
	//
	//    * TABULAR – Data is structured in a tabular format.
	//
	//    * NON_TABULAR – Data is structured in a non-tabular format.
	Kind *string `locationName:"kind" type:"string" enum:"DatasetKind"`

	// The last time that the Dataset was modified. The value is determined as epoch
	// time in milliseconds. For example, the value for Monday, November 1, 2021
	// 12:00:00 PM UTC is specified as 1635768000000.
	LastModifiedTime *int64 `locationName:"lastModifiedTime" type:"long"`

	// Definition for a schema on a tabular Dataset.
	SchemaDefinition *SchemaUnion `locationName:"schemaDefinition" type:"structure"`

	// Status of the Dataset creation.
	//
	//    * PENDING – Dataset is pending creation.
	//
	//    * FAILED – Dataset creation has failed.
	//
	//    * SUCCESS – Dataset creation has succeeded.
	//
	//    * RUNNING – Dataset creation is running.
	Status *string `locationName:"status" type:"string" enum:"DatasetStatus"`
}

// 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 (s GetDatasetOutput) String() string {
	return awsutil.Prettify(s)
}

// 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 (s GetDatasetOutput) GoString() string {
	return s.String()
}

// SetAlias sets the Alias field's value.
func (s *GetDatasetOutput) SetAlias(v string) *GetDatasetOutput {
	s.Alias = &v
	return s
}

// SetCreateTime sets the CreateTime field's value.
func (s *GetDatasetOutput) SetCreateTime(v int64) *GetDatasetOutput {
	s.CreateTime = &v
	return s
}

// SetDatasetArn sets the DatasetArn field's value.
func (s *GetDatasetOutput) SetDatasetArn(v string) *GetDatasetOutput {
	s.DatasetArn = &v
	return s
}

// SetDatasetDescription sets the DatasetDescription field's value.
func (s *GetDatasetOutput) SetDatasetDescription(v string) *GetDatasetOutput {
	s.DatasetDescription = &v
	return s
}

// SetDatasetId sets the DatasetId field's value.
func (s *GetDatasetOutput) SetDatasetId(v string) *GetDatasetOutput {
	s.DatasetId = &v
	return s
}

// SetDatasetTitle sets the DatasetTitle field's value.
func (s *GetDatasetOutput) SetDatasetTitle(v string) *GetDatasetOutput {
	s.DatasetTitle = &v
	return s
}

// SetKind sets the Kind field's value.
func (s *GetDatasetOutput) SetKind(v string) *GetDatasetOutput {
	s.Kind = &v
	return s
}

// SetLastModifiedTime sets the LastModifiedTime field's value.
func (s *GetDatasetOutput) SetLastModifiedTime(v int64) *GetDatasetOutput {
	s.LastModifiedTime = &v
	return s
}

// SetSchemaDefinition sets the SchemaDefinition field's value.
func (s *GetDatasetOutput) SetSchemaDefinition(v *SchemaUnion) *GetDatasetOutput {
	s.SchemaDefinition = v
	return s
}

// SetStatus sets the Status field's value.
func (s *GetDatasetOutput) SetStatus(v string) *GetDatasetOutput {
	s.Status = &v
	return s
}

// Request for GetProgrammaticAccessCredentials operation
type GetProgrammaticAccessCredentialsInput struct {
	_ struct{} `type:"structure" nopayload:"true"`

	// The time duration in which the credentials remain valid.
	DurationInMinutes *int64 `location:"querystring" locationName:"durationInMinutes" min:"60" type:"long"`

	// The FinSpace environment identifier.
	//
	// EnvironmentId is a required field
	EnvironmentId *string `location:"querystring" locationName:"environmentId" min:"1" type:"string" required:"true"`
}

// 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 (s GetProgrammaticAccessCredentialsInput) String() string {
	return awsutil.Prettify(s)
}

// 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 (s GetProgrammaticAccessCredentialsInput) GoString() string {
	return s.String()
}

// Validate inspects the fields of the type to determine if they are valid.
func (s *GetProgrammaticAccessCredentialsInput) Validate() error {
	invalidParams := request.ErrInvalidParams{Context: "GetProgrammaticAccessCredentialsInput"}
	if s.DurationInMinutes != nil && *s.DurationInMinutes < 60 {
		invalidParams.Add(request.NewErrParamMinValue("DurationInMinutes", 60))
	}
	if s.EnvironmentId == nil {
		invalidParams.Add(request.NewErrParamRequired("EnvironmentId"))
	}
	if s.EnvironmentId != nil && len(*s.EnvironmentId) < 1 {
		invalidParams.Add(request.NewErrParamMinLen("EnvironmentId", 1))
	}

	if invalidParams.Len() > 0 {
		return invalidParams
	}
	return nil
}

// SetDurationInMinutes sets the DurationInMinutes field's value.
func (s *GetProgrammaticAccessCredentialsInput) SetDurationInMinutes(v int64) *GetProgrammaticAccessCredentialsInput {
	s.DurationInMinutes = &v
	return s
}

// SetEnvironmentId sets the EnvironmentId field's value.
func (s *GetProgrammaticAccessCredentialsInput) SetEnvironmentId(v string) *GetProgrammaticAccessCredentialsInput {
	s.EnvironmentId = &v
	return s
}

// Response for GetProgrammaticAccessCredentials operation
type GetProgrammaticAccessCredentialsOutput struct {
	_ struct{} `type:"structure"`

	// Returns the programmatic credentials.
	Credentials *Credentials `locationName:"credentials" type:"structure"`

	// Returns the duration in which the credentials will remain valid.
	DurationInMinutes *int64 `locationName:"durationInMinutes" min:"60" type:"long"`
}

// 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 (s GetProgrammaticAccessCredentialsOutput) String() string {
	return awsutil.Prettify(s)
}

// 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 (s GetProgrammaticAccessCredentialsOutput) GoString() string {
	return s.String()
}

// SetCredentials sets the Credentials field's value.
func (s *GetProgrammaticAccessCredentialsOutput) SetCredentials(v *Credentials) *GetProgrammaticAccessCredentialsOutput {
	s.Credentials = v
	return s
}

// SetDurationInMinutes sets the DurationInMinutes field's value.
func (s *GetProgrammaticAccessCredentialsOutput) SetDurationInMinutes(v int64) *GetProgrammaticAccessCredentialsOutput {
	s.DurationInMinutes = &v
	return s
}

type GetUserInput struct {
	_ struct{} `type:"structure" nopayload:"true"`

	// The unique identifier of the user to get data for.
	//
	// UserId is a required field
	UserId *string `location:"uri" locationName:"userId" min:"1" type:"string" required:"true"`
}

// 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 (s GetUserInput) String() string {
	return awsutil.Prettify(s)
}

// 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 (s GetUserInput) GoString() string {
	return s.String()
}

// Validate inspects the fields of the type to determine if they are valid.
func (s *GetUserInput) Validate() error {
	invalidParams := request.ErrInvalidParams{Context: "GetUserInput"}
	if s.UserId == nil {
		invalidParams.Add(request.NewErrParamRequired("UserId"))
	}
	if s.UserId != nil && len(*s.UserId) < 1 {
		invalidParams.Add(request.NewErrParamMinLen("UserId", 1))
	}

	if invalidParams.Len() > 0 {
		return invalidParams
	}
	return nil
}

// SetUserId sets the UserId field's value.
func (s *GetUserInput) SetUserId(v string) *GetUserInput {
	s.UserId = &v
	return s
}

type GetUserOutput struct {
	_ struct{} `type:"structure"`

	// Indicates whether the user can use the GetProgrammaticAccessCredentials API
	// to obtain credentials that can then be used to access other FinSpace Data
	// API operations.
	//
	//    * ENABLED – The user has permissions to use the APIs.
	//
	//    * DISABLED – The user does not have permissions to use any APIs.
	ApiAccess *string `locationName:"apiAccess" type:"string" enum:"ApiAccess"`

	// The ARN identifier of an AWS user or role that is allowed to call the GetProgrammaticAccessCredentials
	// API to obtain a credentials token for a specific FinSpace user. This must
	// be an IAM role within your FinSpace account.
	ApiAccessPrincipalArn *string `locationName:"apiAccessPrincipalArn" min:"20" type:"string"`

	// The timestamp at which the user account was created in FinSpace. The value
	// is determined as epoch time in milliseconds.
	CreateTime *int64 `locationName:"createTime" type:"long"`

	// The email address that is associated with the user.
	//
	// EmailAddress is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by GetUserOutput's
	// String and GoString methods.
	EmailAddress *string `locationName:"emailAddress" min:"4" type:"string" sensitive:"true"`

	// The first name of the user.
	//
	// FirstName is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by GetUserOutput's
	// String and GoString methods.
	FirstName *string `locationName:"firstName" min:"1" type:"string" sensitive:"true"`

	// Describes the last time the user account was disabled. The value is determined
	// as epoch time in milliseconds.
	LastDisabledTime *int64 `locationName:"lastDisabledTime" type:"long"`

	// Describes the last time the user account was enabled. The value is determined
	// as epoch time in milliseconds.
	LastEnabledTime *int64 `locationName:"lastEnabledTime" type:"long"`

	// Describes the last time that the user logged into their account. The value
	// is determined as epoch time in milliseconds.
	LastLoginTime *int64 `locationName:"lastLoginTime" type:"long"`

	// Describes the last time the user account was updated. The value is determined
	// as epoch time in milliseconds.
	LastModifiedTime *int64 `locationName:"lastModifiedTime" type:"long"`

	// The last name of the user.
	//
	// LastName is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by GetUserOutput's
	// String and GoString methods.
	LastName *string `locationName:"lastName" min:"1" type:"string" sensitive:"true"`

	// The current status of the user account.
	//
	//    * CREATING – The user account creation is in progress.
	//
	//    * ENABLED – The user account is created and is currently active.
	//
	//    * DISABLED – The user account is currently inactive.
	Status *string `locationName:"status" type:"string" enum:"UserStatus"`

	// Indicates the type of user.
	//
	//    * SUPER_USER – A user with permission to all the functionality and data
	//    in FinSpace.
	//
	//    * APP_USER – A user with specific permissions in FinSpace. The users
	//    are assigned permissions by adding them to a permissions group.
	Type *string `locationName:"type" type:"string" enum:"UserType"`

	// The unique identifier for the user account that is retrieved.
	UserId *string `locationName:"userId" min:"1" type:"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 (s GetUserOutput) String() string {
	return awsutil.Prettify(s)
}

// 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 (s GetUserOutput) GoString() string {
	return s.String()
}

// SetApiAccess sets the ApiAccess field's value.
func (s *GetUserOutput) SetApiAccess(v string) *GetUserOutput {
	s.ApiAccess = &v
	return s
}

// SetApiAccessPrincipalArn sets the ApiAccessPrincipalArn field's value.
func (s *GetUserOutput) SetApiAccessPrincipalArn(v string) *GetUserOutput {
	s.ApiAccessPrincipalArn = &v
	return s
}

// SetCreateTime sets the CreateTime field's value.
func (s *GetUserOutput) SetCreateTime(v int64) *GetUserOutput {
	s.CreateTime = &v
	return s
}

// SetEmailAddress sets the EmailAddress field's value.
func (s *GetUserOutput) SetEmailAddress(v string) *GetUserOutput {
	s.EmailAddress = &v
	return s
}

// SetFirstName sets the FirstName field's value.
func (s *GetUserOutput) SetFirstName(v string) *GetUserOutput {
	s.FirstName = &v
	return s
}

// SetLastDisabledTime sets the LastDisabledTime field's value.
func (s *GetUserOutput) SetLastDisabledTime(v int64) *GetUserOutput {
	s.LastDisabledTime = &v
	return s
}

// SetLastEnabledTime sets the LastEnabledTime field's value.
func (s *GetUserOutput) SetLastEnabledTime(v int64) *GetUserOutput {
	s.LastEnabledTime = &v
	return s
}

// SetLastLoginTime sets the LastLoginTime field's value.
func (s *GetUserOutput) SetLastLoginTime(v int64) *GetUserOutput {
	s.LastLoginTime = &v
	return s
}

// SetLastModifiedTime sets the LastModifiedTime field's value.
func (s *GetUserOutput) SetLastModifiedTime(v int64) *GetUserOutput {
	s.LastModifiedTime = &v
	return s
}

// SetLastName sets the LastName field's value.
func (s *GetUserOutput) SetLastName(v string) *GetUserOutput {
	s.LastName = &v
	return s
}

// SetStatus sets the Status field's value.
func (s *GetUserOutput) SetStatus(v string) *GetUserOutput {
	s.Status = &v
	return s
}

// SetType sets the Type field's value.
func (s *GetUserOutput) SetType(v string) *GetUserOutput {
	s.Type = &v
	return s
}

// SetUserId sets the UserId field's value.
func (s *GetUserOutput) SetUserId(v string) *GetUserOutput {
	s.UserId = &v
	return s
}

type GetWorkingLocationInput struct {
	_ struct{} `type:"structure"`

	// Specify the type of the working location.
	//
	//    * SAGEMAKER – Use the Amazon S3 location as a temporary location to
	//    store data content when working with FinSpace Notebooks that run on SageMaker
	//    studio.
	//
	//    * INGESTION – Use the Amazon S3 location as a staging location to copy
	//    your data content and then use the location with the Changeset creation
	//    operation.
	LocationType *string `locationName:"locationType" type:"string" enum:"LocationType"`
}

// 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 (s GetWorkingLocationInput) String() string {
	return awsutil.Prettify(s)
}

// 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 (s GetWorkingLocationInput) GoString() string {
	return s.String()
}

// SetLocationType sets the LocationType field's value.
func (s *GetWorkingLocationInput) SetLocationType(v string) *GetWorkingLocationInput {
	s.LocationType = &v
	return s
}

type GetWorkingLocationOutput struct {
	_ struct{} `type:"structure"`

	// Returns the Amazon S3 bucket name for the working location.
	S3Bucket *string `locationName:"s3Bucket" min:"1" type:"string"`

	// Returns the Amazon S3 Path for the working location.
	S3Path *string `locationName:"s3Path" min:"1" type:"string"`

	// Returns the Amazon S3 URI for the working location.
	S3Uri *string `locationName:"s3Uri" min:"1" type:"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 (s GetWorkingLocationOutput) String() string {
	return awsutil.Prettify(s)
}

// 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 (s GetWorkingLocationOutput) GoString() string {
	return s.String()
}

// SetS3Bucket sets the S3Bucket field's value.
func (s *GetWorkingLocationOutput) SetS3Bucket(v string) *GetWorkingLocationOutput {
	s.S3Bucket = &v
	return s
}

// SetS3Path sets the S3Path field's value.
func (s *GetWorkingLocationOutput) SetS3Path(v string) *GetWorkingLocationOutput {
	s.S3Path = &v
	return s
}

// SetS3Uri sets the S3Uri field's value.
func (s *GetWorkingLocationOutput) SetS3Uri(v string) *GetWorkingLocationOutput {
	s.S3Uri = &v
	return s
}

// The request processing has failed because of an unknown error, exception
// or failure.
type InternalServerException struct {
	_            struct{}                  `type:"structure"`
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"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 (s InternalServerException) String() string {
	return awsutil.Prettify(s)
}

// 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 (s InternalServerException) GoString() string {
	return s.String()
}

func newErrorInternalServerException(v protocol.ResponseMetadata) error {
	return &InternalServerException{
		RespMetadata: v,
	}
}

// Code returns the exception type name.
func (s *InternalServerException) Code() string {
	return "InternalServerException"
}

// Message returns the exception's message.
func (s *InternalServerException) Message() string {
	if s.Message_ != nil {
		return *s.Message_
	}
	return ""
}

// OrigErr always returns nil, satisfies awserr.Error interface.
func (s *InternalServerException) OrigErr() error {
	return nil
}

func (s *InternalServerException) Error() string {
	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
}

// Status code returns the HTTP status code for the request's response error.
func (s *InternalServerException) StatusCode() int {
	return s.RespMetadata.StatusCode
}

// RequestID returns the service's response RequestID for request.
func (s *InternalServerException) RequestID() string {
	return s.RespMetadata.RequestID
}

// A limit has exceeded.
type LimitExceededException struct {
	_            struct{}                  `type:"structure"`
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"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 (s LimitExceededException) String() string {
	return awsutil.Prettify(s)
}

// 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 (s LimitExceededException) GoString() string {
	return s.String()
}

func newErrorLimitExceededException(v protocol.ResponseMetadata) error {
	return &LimitExceededException{
		RespMetadata: v,
	}
}

// Code returns the exception type name.
func (s *LimitExceededException) Code() string {
	return "LimitExceededException"
}

// Message returns the exception's message.
func (s *LimitExceededException) Message() string {
	if s.Message_ != nil {
		return *s.Message_
	}
	return ""
}

// OrigErr always returns nil, satisfies awserr.Error interface.
func (s *LimitExceededException) OrigErr() error {
	return nil
}

func (s *LimitExceededException) Error() string {
	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
}

// Status code returns the HTTP status code for the request's response error.
func (s *LimitExceededException) StatusCode() int {
	return s.RespMetadata.StatusCode
}

// RequestID returns the service's response RequestID for request.
func (s *LimitExceededException) RequestID() string {
	return s.RespMetadata.RequestID
}

// Request to ListChangesetsRequest. It exposes minimal query filters.
type ListChangesetsInput struct {
	_ struct{} `type:"structure" nopayload:"true"`

	// The unique identifier for the FinSpace Dataset to which the Changeset belongs.
	//
	// DatasetId is a required field
	DatasetId *string `location:"uri" locationName:"datasetId" min:"1" type:"string" required:"true"`

	// The maximum number of results per page.
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	// A token that indicates where a results page should begin.
	NextToken *string `location:"querystring" locationName:"nextToken" type:"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 (s ListChangesetsInput) String() string {
	return awsutil.Prettify(s)
}

// 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 (s ListChangesetsInput) GoString() string {
	return s.String()
}

// Validate inspects the fields of the type to determine if they are valid.
func (s *ListChangesetsInput) Validate() error {
	invalidParams := request.ErrInvalidParams{Context: "ListChangesetsInput"}
	if s.DatasetId == nil {
		invalidParams.Add(request.NewErrParamRequired("DatasetId"))
	}
	if s.DatasetId != nil && len(*s.DatasetId) < 1 {
		invalidParams.Add(request.NewErrParamMinLen("DatasetId", 1))
	}
	if s.MaxResults != nil && *s.MaxResults < 1 {
		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
	}

	if invalidParams.Len() > 0 {
		return invalidParams
	}
	return nil
}

// SetDatasetId sets the DatasetId field's value.
func (s *ListChangesetsInput) SetDatasetId(v string) *ListChangesetsInput {
	s.DatasetId = &v
	return s
}

// SetMaxResults sets the MaxResults field's value.
func (s *ListChangesetsInput) SetMaxResults(v int64) *ListChangesetsInput {
	s.MaxResults = &v
	return s
}

// SetNextToken sets the NextToken field's value.
func (s *ListChangesetsInput) SetNextToken(v string) *ListChangesetsInput {
	s.NextToken = &v
	return s
}

// Response to ListChangesetsResponse. This returns a list of dataset changesets
// that match the query criteria.
type ListChangesetsOutput struct {
	_ struct{} `type:"structure"`

	// List of Changesets found.
	Changesets []*ChangesetSummary `locationName:"changesets" type:"list"`

	// A token that indicates where a results page should begin.
	NextToken *string `locationName:"nextToken" type:"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 (s ListChangesetsOutput) String() string {
	return awsutil.Prettify(s)
}

// 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 (s ListChangesetsOutput) GoString() string {
	return s.String()
}

// SetChangesets sets the Changesets field's value.
func (s *ListChangesetsOutput) SetChangesets(v []*ChangesetSummary) *ListChangesetsOutput {
	s.Changesets = v
	return s
}

// SetNextToken sets the NextToken field's value.
func (s *ListChangesetsOutput) SetNextToken(v string) *ListChangesetsOutput {
	s.NextToken = &v
	return s
}

// Request for a list data views.
type ListDataViewsInput struct {
	_ struct{} `type:"structure" nopayload:"true"`

	// The unique identifier of the Dataset for which to retrieve Dataviews.
	//
	// DatasetId is a required field
	DatasetId *string `location:"uri" locationName:"datasetId" min:"1" type:"string" required:"true"`

	// The maximum number of results per page.
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	// A token that indicates where a results page should begin.
	NextToken *string `location:"querystring" locationName:"nextToken" type:"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 (s ListDataViewsInput) String() string {
	return awsutil.Prettify(s)
}

// 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 (s ListDataViewsInput) GoString() string {
	return s.String()
}

// Validate inspects the fields of the type to determine if they are valid.
func (s *ListDataViewsInput) Validate() error {
	invalidParams := request.ErrInvalidParams{Context: "ListDataViewsInput"}
	if s.DatasetId == nil {
		invalidParams.Add(request.NewErrParamRequired("DatasetId"))
	}
	if s.DatasetId != nil && len(*s.DatasetId) < 1 {
		invalidParams.Add(request.NewErrParamMinLen("DatasetId", 1))
	}
	if s.MaxResults != nil && *s.MaxResults < 1 {
		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
	}

	if invalidParams.Len() > 0 {
		return invalidParams
	}
	return nil
}

// SetDatasetId sets the DatasetId field's value.
func (s *ListDataViewsInput) SetDatasetId(v string) *ListDataViewsInput {
	s.DatasetId = &v
	return s
}

// SetMaxResults sets the MaxResults field's value.
func (s *ListDataViewsInput) SetMaxResults(v int64) *ListDataViewsInput {
	s.MaxResults = &v
	return s
}

// SetNextToken sets the NextToken field's value.
func (s *ListDataViewsInput) SetNextToken(v string) *ListDataViewsInput {
	s.NextToken = &v
	return s
}

type ListDataViewsOutput struct {
	_ struct{} `type:"structure"`

	// A list of Dataviews.
	DataViews []*DataViewSummary `locationName:"dataViews" type:"list"`

	// A token that indicates where a results page should begin.
	NextToken *string `locationName:"nextToken" type:"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 (s ListDataViewsOutput) String() string {
	return awsutil.Prettify(s)
}

// 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 (s ListDataViewsOutput) GoString() string {
	return s.String()
}

// SetDataViews sets the DataViews field's value.
func (s *ListDataViewsOutput) SetDataViews(v []*DataViewSummary) *ListDataViewsOutput {
	s.DataViews = v
	return s
}

// SetNextToken sets the NextToken field's value.
func (s *ListDataViewsOutput) SetNextToken(v string) *ListDataViewsOutput {
	s.NextToken = &v
	return s
}

// Request for the ListDatasets operation.
type ListDatasetsInput struct {
	_ struct{} `type:"structure" nopayload:"true"`

	// The maximum number of results per page.
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	// A token that indicates where a results page should begin.
	NextToken *string `location:"querystring" locationName:"nextToken" type:"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 (s ListDatasetsInput) String() string {
	return awsutil.Prettify(s)
}

// 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 (s ListDatasetsInput) GoString() string {
	return s.String()
}

// Validate inspects the fields of the type to determine if they are valid.
func (s *ListDatasetsInput) Validate() error {
	invalidParams := request.ErrInvalidParams{Context: "ListDatasetsInput"}
	if s.MaxResults != nil && *s.MaxResults < 1 {
		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
	}

	if invalidParams.Len() > 0 {
		return invalidParams
	}
	return nil
}

// SetMaxResults sets the MaxResults field's value.
func (s *ListDatasetsInput) SetMaxResults(v int64) *ListDatasetsInput {
	s.MaxResults = &v
	return s
}

// SetNextToken sets the NextToken field's value.
func (s *ListDatasetsInput) SetNextToken(v string) *ListDatasetsInput {
	s.NextToken = &v
	return s
}

// Response for the ListDatasets operation
type ListDatasetsOutput struct {
	_ struct{} `type:"structure"`

	// List of Datasets.
	Datasets []*Dataset `locationName:"datasets" type:"list"`

	// A token that indicates where a results page should begin.
	NextToken *string `locationName:"nextToken" type:"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 (s ListDatasetsOutput) String() string {
	return awsutil.Prettify(s)
}

// 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 (s ListDatasetsOutput) GoString() string {
	return s.String()
}

// SetDatasets sets the Datasets field's value.
func (s *ListDatasetsOutput) SetDatasets(v []*Dataset) *ListDatasetsOutput {
	s.Datasets = v
	return s
}

// SetNextToken sets the NextToken field's value.
func (s *ListDatasetsOutput) SetNextToken(v string) *ListDatasetsOutput {
	s.NextToken = &v
	return s
}

type ListPermissionGroupsInput struct {
	_ struct{} `type:"structure" nopayload:"true"`

	// The maximum number of results per page.
	//
	// MaxResults is a required field
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer" required:"true"`

	// A token that indicates where a results page should begin.
	NextToken *string `location:"querystring" locationName:"nextToken" type:"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 (s ListPermissionGroupsInput) String() string {
	return awsutil.Prettify(s)
}

// 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 (s ListPermissionGroupsInput) GoString() string {
	return s.String()
}

// Validate inspects the fields of the type to determine if they are valid.
func (s *ListPermissionGroupsInput) Validate() error {
	invalidParams := request.ErrInvalidParams{Context: "ListPermissionGroupsInput"}
	if s.MaxResults == nil {
		invalidParams.Add(request.NewErrParamRequired("MaxResults"))
	}
	if s.MaxResults != nil && *s.MaxResults < 1 {
		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
	}

	if invalidParams.Len() > 0 {
		return invalidParams
	}
	return nil
}

// SetMaxResults sets the MaxResults field's value.
func (s *ListPermissionGroupsInput) SetMaxResults(v int64) *ListPermissionGroupsInput {
	s.MaxResults = &v
	return s
}

// SetNextToken sets the NextToken field's value.
func (s *ListPermissionGroupsInput) SetNextToken(v string) *ListPermissionGroupsInput {
	s.NextToken = &v
	return s
}

type ListPermissionGroupsOutput struct {
	_ struct{} `type:"structure"`

	// A token that indicates where a results page should begin.
	NextToken *string `locationName:"nextToken" type:"string"`

	// A list of all the permission groups.
	PermissionGroups []*PermissionGroup `locationName:"permissionGroups" type:"list"`
}

// 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 (s ListPermissionGroupsOutput) String() string {
	return awsutil.Prettify(s)
}

// 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 (s ListPermissionGroupsOutput) GoString() string {
	return s.String()
}

// SetNextToken sets the NextToken field's value.
func (s *ListPermissionGroupsOutput) SetNextToken(v string) *ListPermissionGroupsOutput {
	s.NextToken = &v
	return s
}

// SetPermissionGroups sets the PermissionGroups field's value.
func (s *ListPermissionGroupsOutput) SetPermissionGroups(v []*PermissionGroup) *ListPermissionGroupsOutput {
	s.PermissionGroups = v
	return s
}

type ListUsersInput struct {
	_ struct{} `type:"structure" nopayload:"true"`

	// The maximum number of results per page.
	//
	// MaxResults is a required field
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer" required:"true"`

	// A token that indicates where a results page should begin.
	NextToken *string `location:"querystring" locationName:"nextToken" type:"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 (s ListUsersInput) String() string {
	return awsutil.Prettify(s)
}

// 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 (s ListUsersInput) GoString() string {
	return s.String()
}

// Validate inspects the fields of the type to determine if they are valid.
func (s *ListUsersInput) Validate() error {
	invalidParams := request.ErrInvalidParams{Context: "ListUsersInput"}
	if s.MaxResults == nil {
		invalidParams.Add(request.NewErrParamRequired("MaxResults"))
	}
	if s.MaxResults != nil && *s.MaxResults < 1 {
		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
	}

	if invalidParams.Len() > 0 {
		return invalidParams
	}
	return nil
}

// SetMaxResults sets the MaxResults field's value.
func (s *ListUsersInput) SetMaxResults(v int64) *ListUsersInput {
	s.MaxResults = &v
	return s
}

// SetNextToken sets the NextToken field's value.
func (s *ListUsersInput) SetNextToken(v string) *ListUsersInput {
	s.NextToken = &v
	return s
}

type ListUsersOutput struct {
	_ struct{} `type:"structure"`

	// A token that indicates where a results page should begin.
	NextToken *string `locationName:"nextToken" type:"string"`

	// A list of all the user accounts.
	Users []*User `locationName:"users" type:"list"`
}

// 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 (s ListUsersOutput) String() string {
	return awsutil.Prettify(s)
}

// 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 (s ListUsersOutput) GoString() string {
	return s.String()
}

// SetNextToken sets the NextToken field's value.
func (s *ListUsersOutput) SetNextToken(v string) *ListUsersOutput {
	s.NextToken = &v
	return s
}

// SetUsers sets the Users field's value.
func (s *ListUsersOutput) SetUsers(v []*User) *ListUsersOutput {
	s.Users = v
	return s
}

// The structure for a permission group.
type PermissionGroup struct {
	_ struct{} `type:"structure"`

	// Indicates the permissions that are granted to a specific group for accessing
	// the FinSpace application.
	//
	//    * CreateDataset – Group members can create new datasets.
	//
	//    * ManageClusters – Group members can manage Apache Spark clusters from
	//    FinSpace notebooks.
	//
	//    * ManageUsersAndGroups – Group members can manage users and permission
	//    groups.
	//
	//    * ManageAttributeSets – Group members can manage attribute sets.
	//
	//    * ViewAuditData – Group members can view audit data.
	//
	//    * AccessNotebooks – Group members will have access to FinSpace notebooks.
	//
	//    * GetTemporaryCredentials – Group members can get temporary API credentials.
	ApplicationPermissions []*string `locationName:"applicationPermissions" type:"list" enum:"ApplicationPermission"`

	// The timestamp at which the group was created in FinSpace. The value is determined
	// as epoch time in milliseconds.
	CreateTime *int64 `locationName:"createTime" type:"long"`

	// A brief description for the permission group.
	//
	// Description is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by PermissionGroup's
	// String and GoString methods.
	Description *string `locationName:"description" min:"1" type:"string" sensitive:"true"`

	// Describes the last time the permission group was updated. The value is determined
	// as epoch time in milliseconds.
	LastModifiedTime *int64 `locationName:"lastModifiedTime" type:"long"`

	// The name of the permission group.
	//
	// Name is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by PermissionGroup's
	// String and GoString methods.
	Name *string `locationName:"name" min:"1" type:"string" sensitive:"true"`

	// The unique identifier for the permission group.
	PermissionGroupId *string `locationName:"permissionGroupId" min:"1" type:"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 (s PermissionGroup) String() string {
	return awsutil.Prettify(s)
}

// 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 (s PermissionGroup) GoString() string {
	return s.String()
}

// SetApplicationPermissions sets the ApplicationPermissions field's value.
func (s *PermissionGroup) SetApplicationPermissions(v []*string) *PermissionGroup {
	s.ApplicationPermissions = v
	return s
}

// SetCreateTime sets the CreateTime field's value.
func (s *PermissionGroup) SetCreateTime(v int64) *PermissionGroup {
	s.CreateTime = &v
	return s
}

// SetDescription sets the Description field's value.
func (s *PermissionGroup) SetDescription(v string) *PermissionGroup {
	s.Description = &v
	return s
}

// SetLastModifiedTime sets the LastModifiedTime field's value.
func (s *PermissionGroup) SetLastModifiedTime(v int64) *PermissionGroup {
	s.LastModifiedTime = &v
	return s
}

// SetName sets the Name field's value.
func (s *PermissionGroup) SetName(v string) *PermissionGroup {
	s.Name = &v
	return s
}

// SetPermissionGroupId sets the PermissionGroupId field's value.
func (s *PermissionGroup) SetPermissionGroupId(v string) *PermissionGroup {
	s.PermissionGroupId = &v
	return s
}

// Permission group parameters for Dataset permissions.
//
// Here is an example of how you could specify the PermissionGroupParams:
//
// { "permissionGroupId": "0r6fCRtSTUk4XPfXQe3M0g", "datasetPermissions": [
// {"permission": "ViewDatasetDetails"}, {"permission": "AddDatasetData"}, {"permission":
// "EditDatasetMetadata"}, {"permission": "DeleteDataset"} ] }
type PermissionGroupParams struct {
	_ struct{} `type:"structure"`

	// List of resource permissions.
	DatasetPermissions []*ResourcePermission `locationName:"datasetPermissions" type:"list"`

	// The unique identifier for the PermissionGroup.
	PermissionGroupId *string `locationName:"permissionGroupId" min:"1" type:"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 (s PermissionGroupParams) String() string {
	return awsutil.Prettify(s)
}

// 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 (s PermissionGroupParams) GoString() string {
	return s.String()
}

// Validate inspects the fields of the type to determine if they are valid.
func (s *PermissionGroupParams) Validate() error {
	invalidParams := request.ErrInvalidParams{Context: "PermissionGroupParams"}
	if s.PermissionGroupId != nil && len(*s.PermissionGroupId) < 1 {
		invalidParams.Add(request.NewErrParamMinLen("PermissionGroupId", 1))
	}
	if s.DatasetPermissions != nil {
		for i, v := range s.DatasetPermissions {
			if v == nil {
				continue
			}
			if err := v.Validate(); err != nil {
				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "DatasetPermissions", i), err.(request.ErrInvalidParams))
			}
		}
	}

	if invalidParams.Len() > 0 {
		return invalidParams
	}
	return nil
}

// SetDatasetPermissions sets the DatasetPermissions field's value.
func (s *PermissionGroupParams) SetDatasetPermissions(v []*ResourcePermission) *PermissionGroupParams {
	s.DatasetPermissions = v
	return s
}

// SetPermissionGroupId sets the PermissionGroupId field's value.
func (s *PermissionGroupParams) SetPermissionGroupId(v string) *PermissionGroupParams {
	s.PermissionGroupId = &v
	return s
}

type ResetUserPasswordInput struct {
	_ struct{} `type:"structure"`

	// A token that ensures idempotency. This token expires in 10 minutes.
	ClientToken *string `locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"`

	// The unique identifier of the user that a temporary password is requested
	// for.
	//
	// UserId is a required field
	UserId *string `location:"uri" locationName:"userId" min:"1" type:"string" required:"true"`
}

// 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 (s ResetUserPasswordInput) String() string {
	return awsutil.Prettify(s)
}

// 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 (s ResetUserPasswordInput) GoString() string {
	return s.String()
}

// Validate inspects the fields of the type to determine if they are valid.
func (s *ResetUserPasswordInput) Validate() error {
	invalidParams := request.ErrInvalidParams{Context: "ResetUserPasswordInput"}
	if s.ClientToken != nil && len(*s.ClientToken) < 1 {
		invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1))
	}
	if s.UserId == nil {
		invalidParams.Add(request.NewErrParamRequired("UserId"))
	}
	if s.UserId != nil && len(*s.UserId) < 1 {
		invalidParams.Add(request.NewErrParamMinLen("UserId", 1))
	}

	if invalidParams.Len() > 0 {
		return invalidParams
	}
	return nil
}

// SetClientToken sets the ClientToken field's value.
func (s *ResetUserPasswordInput) SetClientToken(v string) *ResetUserPasswordInput {
	s.ClientToken = &v
	return s
}

// SetUserId sets the UserId field's value.
func (s *ResetUserPasswordInput) SetUserId(v string) *ResetUserPasswordInput {
	s.UserId = &v
	return s
}

type ResetUserPasswordOutput struct {
	_ struct{} `type:"structure"`

	// A randomly generated temporary password for the requested user account. This
	// password expires in 7 days.
	//
	// TemporaryPassword is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by ResetUserPasswordOutput's
	// String and GoString methods.
	TemporaryPassword *string `locationName:"temporaryPassword" min:"8" type:"string" sensitive:"true"`

	// The unique identifier of the user that a new password is generated for.
	UserId *string `locationName:"userId" min:"1" type:"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 (s ResetUserPasswordOutput) String() string {
	return awsutil.Prettify(s)
}

// 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 (s ResetUserPasswordOutput) GoString() string {
	return s.String()
}

// SetTemporaryPassword sets the TemporaryPassword field's value.
func (s *ResetUserPasswordOutput) SetTemporaryPassword(v string) *ResetUserPasswordOutput {
	s.TemporaryPassword = &v
	return s
}

// SetUserId sets the UserId field's value.
func (s *ResetUserPasswordOutput) SetUserId(v string) *ResetUserPasswordOutput {
	s.UserId = &v
	return s
}

// One or more resources can't be found.
type ResourceNotFoundException struct {
	_            struct{}                  `type:"structure"`
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`

	Reason *string `locationName:"reason" type:"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 (s ResourceNotFoundException) String() string {
	return awsutil.Prettify(s)
}

// 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 (s ResourceNotFoundException) GoString() string {
	return s.String()
}

func newErrorResourceNotFoundException(v protocol.ResponseMetadata) error {
	return &ResourceNotFoundException{
		RespMetadata: v,
	}
}

// Code returns the exception type name.
func (s *ResourceNotFoundException) Code() string {
	return "ResourceNotFoundException"
}

// Message returns the exception's message.
func (s *ResourceNotFoundException) Message() string {
	if s.Message_ != nil {
		return *s.Message_
	}
	return ""
}

// OrigErr always returns nil, satisfies awserr.Error interface.
func (s *ResourceNotFoundException) OrigErr() error {
	return nil
}

func (s *ResourceNotFoundException) Error() string {
	return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
}

// Status code returns the HTTP status code for the request's response error.
func (s *ResourceNotFoundException) StatusCode() int {
	return s.RespMetadata.StatusCode
}

// RequestID returns the service's response RequestID for request.
func (s *ResourceNotFoundException) RequestID() string {
	return s.RespMetadata.RequestID
}

// Resource permission for a dataset. When you create a dataset, all the other
// members of the same user group inherit access to the dataset. You can only
// create a dataset if your user group has application permission for Create
// Datasets.
//
// The following is a list of valid dataset permissions that you can apply:
//
//   - ViewDatasetDetails
//
//   - ReadDatasetDetails
//
//   - AddDatasetData
//
//   - CreateDataView
//
//   - EditDatasetMetadata
//
//   - DeleteDataset
//
// For more information on the dataset permissions, see Supported Dataset Permissions
// (https://docs.aws.amazon.com/finspace/latest/userguide/managing-user-permissions.html#supported-dataset-permissions)
// in the FinSpace User Guide.
type ResourcePermission struct {
	_ struct{} `type:"structure"`

	// Permission for a resource.
	Permission *string `locationName:"permission" min:"1" type:"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 (s ResourcePermission) String() string {
	return awsutil.Prettify(s)
}

// 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 (s ResourcePermission) GoString() string {
	return s.String()
}

// Validate inspects the fields of the type to determine if they are valid.
func (s *ResourcePermission) Validate() error {
	invalidParams := request.ErrInvalidParams{Context: "ResourcePermission"}
	if s.Permission != nil && len(*s.Permission) < 1 {
		invalidParams.Add(request.NewErrParamMinLen("Permission", 1))
	}

	if invalidParams.Len() > 0 {
		return invalidParams
	}
	return nil
}

// SetPermission sets the Permission field's value.
func (s *ResourcePermission) SetPermission(v string) *ResourcePermission {
	s.Permission = &v
	return s
}

// Definition for a schema on a tabular Dataset.
type SchemaDefinition struct {
	_ struct{} `type:"structure"`

	// List of column definitions.
	Columns []*ColumnDefinition `locationName:"columns" type:"list"`

	// List of column names used for primary key.
	PrimaryKeyColumns []*string `locationName:"primaryKeyColumns" type:"list"`
}

// 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 (s SchemaDefinition) String() string {
	return awsutil.Prettify(s)
}

// 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 (s SchemaDefinition) GoString() string {
	return s.String()
}

// SetColumns sets the Columns field's value.
func (s *SchemaDefinition) SetColumns(v []*ColumnDefinition) *SchemaDefinition {
	s.Columns = v
	return s
}

// SetPrimaryKeyColumns sets the PrimaryKeyColumns field's value.
func (s *SchemaDefinition) SetPrimaryKeyColumns(v []*string) *SchemaDefinition {
	s.PrimaryKeyColumns = v
	return s
}

// A union of schema types.
type SchemaUnion struct {
	_ struct{} `type:"structure"`

	// The configuration for a schema on a tabular Dataset.
	TabularSchemaConfig *SchemaDefinition `locationName:"tabularSchemaConfig" type:"structure"`
}

// 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 (s SchemaUnion) String() string {
	return awsutil.Prettify(s)
}

// 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 (s SchemaUnion) GoString() string {
	return s.String()
}

// SetTabularSchemaConfig sets the TabularSchemaConfig field's value.
func (s *SchemaUnion) SetTabularSchemaConfig(v *SchemaDefinition) *SchemaUnion {
	s.TabularSchemaConfig = v
	return s
}

// The request was denied due to request throttling.
type ThrottlingException struct {
	_            struct{}                  `type:"structure"`
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"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 (s ThrottlingException) String() string {
	return awsutil.Prettify(s)
}

// 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 (s ThrottlingException) GoString() string {
	return s.String()
}

func newErrorThrottlingException(v protocol.ResponseMetadata) error {
	return &ThrottlingException{
		RespMetadata: v,
	}
}

// Code returns the exception type name.
func (s *ThrottlingException) Code() string {
	return "ThrottlingException"
}

// Message returns the exception's message.
func (s *ThrottlingException) Message() string {
	if s.Message_ != nil {
		return *s.Message_
	}
	return ""
}

// OrigErr always returns nil, satisfies awserr.Error interface.
func (s *ThrottlingException) OrigErr() error {
	return nil
}

func (s *ThrottlingException) Error() string {
	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
}

// Status code returns the HTTP status code for the request's response error.
func (s *ThrottlingException) StatusCode() int {
	return s.RespMetadata.StatusCode
}

// RequestID returns the service's response RequestID for request.
func (s *ThrottlingException) RequestID() string {
	return s.RespMetadata.RequestID
}

// Request to update an existing changeset.
type UpdateChangesetInput struct {
	_ struct{} `type:"structure"`

	// The unique identifier for the Changeset to update.
	//
	// ChangesetId is a required field
	ChangesetId *string `location:"uri" locationName:"changesetId" min:"1" type:"string" required:"true"`

	// A token that ensures idempotency. This token expires in 10 minutes.
	ClientToken *string `locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"`

	// The unique identifier for the FinSpace Dataset in which the Changeset is
	// created.
	//
	// DatasetId is a required field
	DatasetId *string `location:"uri" locationName:"datasetId" min:"1" type:"string" required:"true"`

	// Options that define the structure of the source file(s) including the format
	// type (formatType), header row (withHeader), data separation character (separator)
	// and the type of compression (compression).
	//
	// formatType is a required attribute and can have the following values:
	//
	//    * PARQUET – Parquet source file format.
	//
	//    * CSV – CSV source file format.
	//
	//    * JSON – JSON source file format.
	//
	//    * XML – XML source file format.
	//
	// Here is an example of how you could specify the formatParams:
	//
	// "formatParams": { "formatType": "CSV", "withHeader": "true", "separator":
	// ",", "compression":"None" }
	//
	// Note that if you only provide formatType as CSV, the rest of the attributes
	// will automatically default to CSV values as following:
	//
	// { "withHeader": "true", "separator": "," }
	//
	// For more information about supported file formats, see Supported Data Types
	// and File Formats (https://docs.aws.amazon.com/finspace/latest/userguide/supported-data-types.html)
	// in the FinSpace User Guide.
	//
	// FormatParams is a required field
	FormatParams map[string]*string `locationName:"formatParams" type:"map" required:"true"`

	// Options that define the location of the data being ingested (s3SourcePath)
	// and the source of the changeset (sourceType).
	//
	// Both s3SourcePath and sourceType are required attributes.
	//
	// Here is an example of how you could specify the sourceParams:
	//
	// "sourceParams": { "s3SourcePath": "s3://finspace-landing-us-east-2-bk7gcfvitndqa6ebnvys4d/scratch/wr5hh8pwkpqqkxa4sxrmcw/ingestion/equity.csv",
	// "sourceType": "S3" }
	//
	// The S3 path that you specify must allow the FinSpace role access. To do that,
	// you first need to configure the IAM policy on S3 bucket. For more information,
	// see Loading data from an Amazon S3 Bucket using the FinSpace API (https://docs.aws.amazon.com/finspace/latest/data-api/fs-using-the-finspace-api.html#access-s3-buckets)section.
	//
	// SourceParams is a required field
	SourceParams map[string]*string `locationName:"sourceParams" type:"map" required:"true"`
}

// 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 (s UpdateChangesetInput) String() string {
	return awsutil.Prettify(s)
}

// 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 (s UpdateChangesetInput) GoString() string {
	return s.String()
}

// Validate inspects the fields of the type to determine if they are valid.
func (s *UpdateChangesetInput) Validate() error {
	invalidParams := request.ErrInvalidParams{Context: "UpdateChangesetInput"}
	if s.ChangesetId == nil {
		invalidParams.Add(request.NewErrParamRequired("ChangesetId"))
	}
	if s.ChangesetId != nil && len(*s.ChangesetId) < 1 {
		invalidParams.Add(request.NewErrParamMinLen("ChangesetId", 1))
	}
	if s.ClientToken != nil && len(*s.ClientToken) < 1 {
		invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1))
	}
	if s.DatasetId == nil {
		invalidParams.Add(request.NewErrParamRequired("DatasetId"))
	}
	if s.DatasetId != nil && len(*s.DatasetId) < 1 {
		invalidParams.Add(request.NewErrParamMinLen("DatasetId", 1))
	}
	if s.FormatParams == nil {
		invalidParams.Add(request.NewErrParamRequired("FormatParams"))
	}
	if s.SourceParams == nil {
		invalidParams.Add(request.NewErrParamRequired("SourceParams"))
	}

	if invalidParams.Len() > 0 {
		return invalidParams
	}
	return nil
}

// SetChangesetId sets the ChangesetId field's value.
func (s *UpdateChangesetInput) SetChangesetId(v string) *UpdateChangesetInput {
	s.ChangesetId = &v
	return s
}

// SetClientToken sets the ClientToken field's value.
func (s *UpdateChangesetInput) SetClientToken(v string) *UpdateChangesetInput {
	s.ClientToken = &v
	return s
}

// SetDatasetId sets the DatasetId field's value.
func (s *UpdateChangesetInput) SetDatasetId(v string) *UpdateChangesetInput {
	s.DatasetId = &v
	return s
}

// SetFormatParams sets the FormatParams field's value.
func (s *UpdateChangesetInput) SetFormatParams(v map[string]*string) *UpdateChangesetInput {
	s.FormatParams = v
	return s
}

// SetSourceParams sets the SourceParams field's value.
func (s *UpdateChangesetInput) SetSourceParams(v map[string]*string) *UpdateChangesetInput {
	s.SourceParams = v
	return s
}

// The response from a update changeset operation.
type UpdateChangesetOutput struct {
	_ struct{} `type:"structure"`

	// The unique identifier for the Changeset to update.
	ChangesetId *string `locationName:"changesetId" min:"1" type:"string"`

	// The unique identifier for the FinSpace Dataset in which the Changeset is
	// created.
	DatasetId *string `locationName:"datasetId" min:"1" type:"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 (s UpdateChangesetOutput) String() string {
	return awsutil.Prettify(s)
}

// 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 (s UpdateChangesetOutput) GoString() string {
	return s.String()
}

// SetChangesetId sets the ChangesetId field's value.
func (s *UpdateChangesetOutput) SetChangesetId(v string) *UpdateChangesetOutput {
	s.ChangesetId = &v
	return s
}

// SetDatasetId sets the DatasetId field's value.
func (s *UpdateChangesetOutput) SetDatasetId(v string) *UpdateChangesetOutput {
	s.DatasetId = &v
	return s
}

// The request for an UpdateDataset operation
type UpdateDatasetInput struct {
	_ struct{} `type:"structure"`

	// The unique resource identifier for a Dataset.
	Alias *string `locationName:"alias" min:"1" type:"string"`

	// A token that ensures idempotency. This token expires in 10 minutes.
	ClientToken *string `locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"`

	// A description for the Dataset.
	DatasetDescription *string `locationName:"datasetDescription" min:"1" type:"string"`

	// The unique identifier for the Dataset to update.
	//
	// DatasetId is a required field
	DatasetId *string `location:"uri" locationName:"datasetId" min:"1" type:"string" required:"true"`

	// A display title for the Dataset.
	//
	// DatasetTitle is a required field
	DatasetTitle *string `locationName:"datasetTitle" min:"1" type:"string" required:"true"`

	// The format in which the Dataset data is structured.
	//
	//    * TABULAR – Data is structured in a tabular format.
	//
	//    * NON_TABULAR – Data is structured in a non-tabular format.
	//
	// Kind is a required field
	Kind *string `locationName:"kind" type:"string" required:"true" enum:"DatasetKind"`

	// Definition for a schema on a tabular Dataset.
	SchemaDefinition *SchemaUnion `locationName:"schemaDefinition" type:"structure"`
}

// 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 (s UpdateDatasetInput) String() string {
	return awsutil.Prettify(s)
}

// 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 (s UpdateDatasetInput) GoString() string {
	return s.String()
}

// Validate inspects the fields of the type to determine if they are valid.
func (s *UpdateDatasetInput) Validate() error {
	invalidParams := request.ErrInvalidParams{Context: "UpdateDatasetInput"}
	if s.Alias != nil && len(*s.Alias) < 1 {
		invalidParams.Add(request.NewErrParamMinLen("Alias", 1))
	}
	if s.ClientToken != nil && len(*s.ClientToken) < 1 {
		invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1))
	}
	if s.DatasetDescription != nil && len(*s.DatasetDescription) < 1 {
		invalidParams.Add(request.NewErrParamMinLen("DatasetDescription", 1))
	}
	if s.DatasetId == nil {
		invalidParams.Add(request.NewErrParamRequired("DatasetId"))
	}
	if s.DatasetId != nil && len(*s.DatasetId) < 1 {
		invalidParams.Add(request.NewErrParamMinLen("DatasetId", 1))
	}
	if s.DatasetTitle == nil {
		invalidParams.Add(request.NewErrParamRequired("DatasetTitle"))
	}
	if s.DatasetTitle != nil && len(*s.DatasetTitle) < 1 {
		invalidParams.Add(request.NewErrParamMinLen("DatasetTitle", 1))
	}
	if s.Kind == nil {
		invalidParams.Add(request.NewErrParamRequired("Kind"))
	}

	if invalidParams.Len() > 0 {
		return invalidParams
	}
	return nil
}

// SetAlias sets the Alias field's value.
func (s *UpdateDatasetInput) SetAlias(v string) *UpdateDatasetInput {
	s.Alias = &v
	return s
}

// SetClientToken sets the ClientToken field's value.
func (s *UpdateDatasetInput) SetClientToken(v string) *UpdateDatasetInput {
	s.ClientToken = &v
	return s
}

// SetDatasetDescription sets the DatasetDescription field's value.
func (s *UpdateDatasetInput) SetDatasetDescription(v string) *UpdateDatasetInput {
	s.DatasetDescription = &v
	return s
}

// SetDatasetId sets the DatasetId field's value.
func (s *UpdateDatasetInput) SetDatasetId(v string) *UpdateDatasetInput {
	s.DatasetId = &v
	return s
}

// SetDatasetTitle sets the DatasetTitle field's value.
func (s *UpdateDatasetInput) SetDatasetTitle(v string) *UpdateDatasetInput {
	s.DatasetTitle = &v
	return s
}

// SetKind sets the Kind field's value.
func (s *UpdateDatasetInput) SetKind(v string) *UpdateDatasetInput {
	s.Kind = &v
	return s
}

// SetSchemaDefinition sets the SchemaDefinition field's value.
func (s *UpdateDatasetInput) SetSchemaDefinition(v *SchemaUnion) *UpdateDatasetInput {
	s.SchemaDefinition = v
	return s
}

// The response from an UpdateDataset operation
type UpdateDatasetOutput struct {
	_ struct{} `type:"structure"`

	// The unique identifier for updated Dataset.
	DatasetId *string `locationName:"datasetId" min:"1" type:"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 (s UpdateDatasetOutput) String() string {
	return awsutil.Prettify(s)
}

// 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 (s UpdateDatasetOutput) GoString() string {
	return s.String()
}

// SetDatasetId sets the DatasetId field's value.
func (s *UpdateDatasetOutput) SetDatasetId(v string) *UpdateDatasetOutput {
	s.DatasetId = &v
	return s
}

type UpdatePermissionGroupInput struct {
	_ struct{} `type:"structure"`

	// The permissions that are granted to a specific group for accessing the FinSpace
	// application.
	//
	//    * CreateDataset – Group members can create new datasets.
	//
	//    * ManageClusters – Group members can manage Apache Spark clusters from
	//    FinSpace notebooks.
	//
	//    * ManageUsersAndGroups – Group members can manage users and permission
	//    groups.
	//
	//    * ManageAttributeSets – Group members can manage attribute sets.
	//
	//    * ViewAuditData – Group members can view audit data.
	//
	//    * AccessNotebooks – Group members will have access to FinSpace notebooks.
	//
	//    * GetTemporaryCredentials – Group members can get temporary API credentials.
	ApplicationPermissions []*string `locationName:"applicationPermissions" type:"list" enum:"ApplicationPermission"`

	// A token that ensures idempotency. This token expires in 10 minutes.
	ClientToken *string `locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"`

	// A brief description for the permission group.
	//
	// Description is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by UpdatePermissionGroupInput's
	// String and GoString methods.
	Description *string `locationName:"description" min:"1" type:"string" sensitive:"true"`

	// The name of the permission group.
	//
	// Name is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by UpdatePermissionGroupInput's
	// String and GoString methods.
	Name *string `locationName:"name" min:"1" type:"string" sensitive:"true"`

	// The unique identifier for the permission group to update.
	//
	// PermissionGroupId is a required field
	PermissionGroupId *string `location:"uri" locationName:"permissionGroupId" min:"1" type:"string" required:"true"`
}

// 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 (s UpdatePermissionGroupInput) String() string {
	return awsutil.Prettify(s)
}

// 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 (s UpdatePermissionGroupInput) GoString() string {
	return s.String()
}

// Validate inspects the fields of the type to determine if they are valid.
func (s *UpdatePermissionGroupInput) Validate() error {
	invalidParams := request.ErrInvalidParams{Context: "UpdatePermissionGroupInput"}
	if s.ClientToken != nil && len(*s.ClientToken) < 1 {
		invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1))
	}
	if s.Description != nil && len(*s.Description) < 1 {
		invalidParams.Add(request.NewErrParamMinLen("Description", 1))
	}
	if s.Name != nil && len(*s.Name) < 1 {
		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
	}
	if s.PermissionGroupId == nil {
		invalidParams.Add(request.NewErrParamRequired("PermissionGroupId"))
	}
	if s.PermissionGroupId != nil && len(*s.PermissionGroupId) < 1 {
		invalidParams.Add(request.NewErrParamMinLen("PermissionGroupId", 1))
	}

	if invalidParams.Len() > 0 {
		return invalidParams
	}
	return nil
}

// SetApplicationPermissions sets the ApplicationPermissions field's value.
func (s *UpdatePermissionGroupInput) SetApplicationPermissions(v []*string) *UpdatePermissionGroupInput {
	s.ApplicationPermissions = v
	return s
}

// SetClientToken sets the ClientToken field's value.
func (s *UpdatePermissionGroupInput) SetClientToken(v string) *UpdatePermissionGroupInput {
	s.ClientToken = &v
	return s
}

// SetDescription sets the Description field's value.
func (s *UpdatePermissionGroupInput) SetDescription(v string) *UpdatePermissionGroupInput {
	s.Description = &v
	return s
}

// SetName sets the Name field's value.
func (s *UpdatePermissionGroupInput) SetName(v string) *UpdatePermissionGroupInput {
	s.Name = &v
	return s
}

// SetPermissionGroupId sets the PermissionGroupId field's value.
func (s *UpdatePermissionGroupInput) SetPermissionGroupId(v string) *UpdatePermissionGroupInput {
	s.PermissionGroupId = &v
	return s
}

type UpdatePermissionGroupOutput struct {
	_ struct{} `type:"structure"`

	// The unique identifier for the updated permission group.
	PermissionGroupId *string `locationName:"permissionGroupId" min:"1" type:"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 (s UpdatePermissionGroupOutput) String() string {
	return awsutil.Prettify(s)
}

// 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 (s UpdatePermissionGroupOutput) GoString() string {
	return s.String()
}

// SetPermissionGroupId sets the PermissionGroupId field's value.
func (s *UpdatePermissionGroupOutput) SetPermissionGroupId(v string) *UpdatePermissionGroupOutput {
	s.PermissionGroupId = &v
	return s
}

type UpdateUserInput struct {
	_ struct{} `type:"structure"`

	// The option to indicate whether the user can use the GetProgrammaticAccessCredentials
	// API to obtain credentials that can then be used to access other FinSpace
	// Data API operations.
	//
	//    * ENABLED – The user has permissions to use the APIs.
	//
	//    * DISABLED – The user does not have permissions to use any APIs.
	ApiAccess *string `locationName:"apiAccess" type:"string" enum:"ApiAccess"`

	// The ARN identifier of an AWS user or role that is allowed to call the GetProgrammaticAccessCredentials
	// API to obtain a credentials token for a specific FinSpace user. This must
	// be an IAM role within your FinSpace account.
	ApiAccessPrincipalArn *string `locationName:"apiAccessPrincipalArn" min:"20" type:"string"`

	// A token that ensures idempotency. This token expires in 10 minutes.
	ClientToken *string `locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"`

	// The first name of the user.
	//
	// FirstName is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by UpdateUserInput's
	// String and GoString methods.
	FirstName *string `locationName:"firstName" min:"1" type:"string" sensitive:"true"`

	// The last name of the user.
	//
	// LastName is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by UpdateUserInput's
	// String and GoString methods.
	LastName *string `locationName:"lastName" min:"1" type:"string" sensitive:"true"`

	// The option to indicate the type of user.
	//
	//    * SUPER_USER– A user with permission to all the functionality and data
	//    in FinSpace.
	//
	//    * APP_USER – A user with specific permissions in FinSpace. The users
	//    are assigned permissions by adding them to a permissions group.
	Type *string `locationName:"type" type:"string" enum:"UserType"`

	// The unique identifier for the user account to update.
	//
	// UserId is a required field
	UserId *string `location:"uri" locationName:"userId" min:"1" type:"string" required:"true"`
}

// 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 (s UpdateUserInput) String() string {
	return awsutil.Prettify(s)
}

// 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 (s UpdateUserInput) GoString() string {
	return s.String()
}

// Validate inspects the fields of the type to determine if they are valid.
func (s *UpdateUserInput) Validate() error {
	invalidParams := request.ErrInvalidParams{Context: "UpdateUserInput"}
	if s.ApiAccessPrincipalArn != nil && len(*s.ApiAccessPrincipalArn) < 20 {
		invalidParams.Add(request.NewErrParamMinLen("ApiAccessPrincipalArn", 20))
	}
	if s.ClientToken != nil && len(*s.ClientToken) < 1 {
		invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1))
	}
	if s.FirstName != nil && len(*s.FirstName) < 1 {
		invalidParams.Add(request.NewErrParamMinLen("FirstName", 1))
	}
	if s.LastName != nil && len(*s.LastName) < 1 {
		invalidParams.Add(request.NewErrParamMinLen("LastName", 1))
	}
	if s.UserId == nil {
		invalidParams.Add(request.NewErrParamRequired("UserId"))
	}
	if s.UserId != nil && len(*s.UserId) < 1 {
		invalidParams.Add(request.NewErrParamMinLen("UserId", 1))
	}

	if invalidParams.Len() > 0 {
		return invalidParams
	}
	return nil
}

// SetApiAccess sets the ApiAccess field's value.
func (s *UpdateUserInput) SetApiAccess(v string) *UpdateUserInput {
	s.ApiAccess = &v
	return s
}

// SetApiAccessPrincipalArn sets the ApiAccessPrincipalArn field's value.
func (s *UpdateUserInput) SetApiAccessPrincipalArn(v string) *UpdateUserInput {
	s.ApiAccessPrincipalArn = &v
	return s
}

// SetClientToken sets the ClientToken field's value.
func (s *UpdateUserInput) SetClientToken(v string) *UpdateUserInput {
	s.ClientToken = &v
	return s
}

// SetFirstName sets the FirstName field's value.
func (s *UpdateUserInput) SetFirstName(v string) *UpdateUserInput {
	s.FirstName = &v
	return s
}

// SetLastName sets the LastName field's value.
func (s *UpdateUserInput) SetLastName(v string) *UpdateUserInput {
	s.LastName = &v
	return s
}

// SetType sets the Type field's value.
func (s *UpdateUserInput) SetType(v string) *UpdateUserInput {
	s.Type = &v
	return s
}

// SetUserId sets the UserId field's value.
func (s *UpdateUserInput) SetUserId(v string) *UpdateUserInput {
	s.UserId = &v
	return s
}

type UpdateUserOutput struct {
	_ struct{} `type:"structure"`

	// The unique identifier of the updated user account.
	UserId *string `locationName:"userId" min:"1" type:"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 (s UpdateUserOutput) String() string {
	return awsutil.Prettify(s)
}

// 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 (s UpdateUserOutput) GoString() string {
	return s.String()
}

// SetUserId sets the UserId field's value.
func (s *UpdateUserOutput) SetUserId(v string) *UpdateUserOutput {
	s.UserId = &v
	return s
}

// The details of the user account.
type User struct {
	_ struct{} `type:"structure"`

	// Indicates whether the user can use the GetProgrammaticAccessCredentials API
	// to obtain credentials that can then be used to access other FinSpace Data
	// API operations.
	//
	//    * ENABLED – The user has permissions to use the APIs.
	//
	//    * DISABLED – The user does not have permissions to use any APIs.
	ApiAccess *string `locationName:"apiAccess" type:"string" enum:"ApiAccess"`

	// The ARN identifier of an AWS user or role that is allowed to call the GetProgrammaticAccessCredentials
	// API to obtain a credentials token for a specific FinSpace user. This must
	// be an IAM role within your FinSpace account.
	ApiAccessPrincipalArn *string `locationName:"apiAccessPrincipalArn" min:"20" type:"string"`

	// The timestamp at which the user account was created in FinSpace. The value
	// is determined as epoch time in milliseconds.
	CreateTime *int64 `locationName:"createTime" type:"long"`

	// The email address of the user. The email address serves as a uniquer identifier
	// for each user and cannot be changed after it's created.
	//
	// EmailAddress is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by User's
	// String and GoString methods.
	EmailAddress *string `locationName:"emailAddress" min:"4" type:"string" sensitive:"true"`

	// The first name of the user.
	//
	// FirstName is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by User's
	// String and GoString methods.
	FirstName *string `locationName:"firstName" min:"1" type:"string" sensitive:"true"`

	// Describes the last time the user account was disabled. The value is determined
	// as epoch time in milliseconds.
	LastDisabledTime *int64 `locationName:"lastDisabledTime" type:"long"`

	// Describes the last time the user account was enabled. The value is determined
	// as epoch time in milliseconds.
	LastEnabledTime *int64 `locationName:"lastEnabledTime" type:"long"`

	// Describes the last time that the user logged into their account. The value
	// is determined as epoch time in milliseconds.
	LastLoginTime *int64 `locationName:"lastLoginTime" type:"long"`

	// Describes the last time the user account was updated. The value is determined
	// as epoch time in milliseconds.
	LastModifiedTime *int64 `locationName:"lastModifiedTime" type:"long"`

	// The last name of the user.
	//
	// LastName is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by User's
	// String and GoString methods.
	LastName *string `locationName:"lastName" min:"1" type:"string" sensitive:"true"`

	// The current status of the user account.
	//
	//    * CREATING – The user account creation is in progress.
	//
	//    * ENABLED – The user account is created and is currently active.
	//
	//    * DISABLED – The user account is currently inactive.
	Status *string `locationName:"status" type:"string" enum:"UserStatus"`

	// Indicates the type of user.
	//
	//    * SUPER_USER – A user with permission to all the functionality and data
	//    in FinSpace.
	//
	//    * APP_USER – A user with specific permissions in FinSpace. The users
	//    are assigned permissions by adding them to a permissions group.
	Type *string `locationName:"type" type:"string" enum:"UserType"`

	// The unique identifier for the user.
	UserId *string `locationName:"userId" min:"1" type:"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 (s User) String() string {
	return awsutil.Prettify(s)
}

// 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 (s User) GoString() string {
	return s.String()
}

// SetApiAccess sets the ApiAccess field's value.
func (s *User) SetApiAccess(v string) *User {
	s.ApiAccess = &v
	return s
}

// SetApiAccessPrincipalArn sets the ApiAccessPrincipalArn field's value.
func (s *User) SetApiAccessPrincipalArn(v string) *User {
	s.ApiAccessPrincipalArn = &v
	return s
}

// SetCreateTime sets the CreateTime field's value.
func (s *User) SetCreateTime(v int64) *User {
	s.CreateTime = &v
	return s
}

// SetEmailAddress sets the EmailAddress field's value.
func (s *User) SetEmailAddress(v string) *User {
	s.EmailAddress = &v
	return s
}

// SetFirstName sets the FirstName field's value.
func (s *User) SetFirstName(v string) *User {
	s.FirstName = &v
	return s
}

// SetLastDisabledTime sets the LastDisabledTime field's value.
func (s *User) SetLastDisabledTime(v int64) *User {
	s.LastDisabledTime = &v
	return s
}

// SetLastEnabledTime sets the LastEnabledTime field's value.
func (s *User) SetLastEnabledTime(v int64) *User {
	s.LastEnabledTime = &v
	return s
}

// SetLastLoginTime sets the LastLoginTime field's value.
func (s *User) SetLastLoginTime(v int64) *User {
	s.LastLoginTime = &v
	return s
}

// SetLastModifiedTime sets the LastModifiedTime field's value.
func (s *User) SetLastModifiedTime(v int64) *User {
	s.LastModifiedTime = &v
	return s
}

// SetLastName sets the LastName field's value.
func (s *User) SetLastName(v string) *User {
	s.LastName = &v
	return s
}

// SetStatus sets the Status field's value.
func (s *User) SetStatus(v string) *User {
	s.Status = &v
	return s
}

// SetType sets the Type field's value.
func (s *User) SetType(v string) *User {
	s.Type = &v
	return s
}

// SetUserId sets the UserId field's value.
func (s *User) SetUserId(v string) *User {
	s.UserId = &v
	return s
}

// The input fails to satisfy the constraints specified by an AWS service.
type ValidationException struct {
	_            struct{}                  `type:"structure"`
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`

	Reason *string `locationName:"reason" type:"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 (s ValidationException) String() string {
	return awsutil.Prettify(s)
}

// 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 (s ValidationException) GoString() string {
	return s.String()
}

func newErrorValidationException(v protocol.ResponseMetadata) error {
	return &ValidationException{
		RespMetadata: v,
	}
}

// Code returns the exception type name.
func (s *ValidationException) Code() string {
	return "ValidationException"
}

// Message returns the exception's message.
func (s *ValidationException) Message() string {
	if s.Message_ != nil {
		return *s.Message_
	}
	return ""
}

// OrigErr always returns nil, satisfies awserr.Error interface.
func (s *ValidationException) OrigErr() error {
	return nil
}

func (s *ValidationException) Error() string {
	return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
}

// Status code returns the HTTP status code for the request's response error.
func (s *ValidationException) StatusCode() int {
	return s.RespMetadata.StatusCode
}

// RequestID returns the service's response RequestID for request.
func (s *ValidationException) RequestID() string {
	return s.RespMetadata.RequestID
}

const (
	// ApiAccessEnabled is a ApiAccess enum value
	ApiAccessEnabled = "ENABLED"

	// ApiAccessDisabled is a ApiAccess enum value
	ApiAccessDisabled = "DISABLED"
)

// ApiAccess_Values returns all elements of the ApiAccess enum
func ApiAccess_Values() []string {
	return []string{
		ApiAccessEnabled,
		ApiAccessDisabled,
	}
}

const (
	// ApplicationPermissionCreateDataset is a ApplicationPermission enum value
	ApplicationPermissionCreateDataset = "CreateDataset"

	// ApplicationPermissionManageClusters is a ApplicationPermission enum value
	ApplicationPermissionManageClusters = "ManageClusters"

	// ApplicationPermissionManageUsersAndGroups is a ApplicationPermission enum value
	ApplicationPermissionManageUsersAndGroups = "ManageUsersAndGroups"

	// ApplicationPermissionManageAttributeSets is a ApplicationPermission enum value
	ApplicationPermissionManageAttributeSets = "ManageAttributeSets"

	// ApplicationPermissionViewAuditData is a ApplicationPermission enum value
	ApplicationPermissionViewAuditData = "ViewAuditData"

	// ApplicationPermissionAccessNotebooks is a ApplicationPermission enum value
	ApplicationPermissionAccessNotebooks = "AccessNotebooks"

	// ApplicationPermissionGetTemporaryCredentials is a ApplicationPermission enum value
	ApplicationPermissionGetTemporaryCredentials = "GetTemporaryCredentials"
)

// ApplicationPermission_Values returns all elements of the ApplicationPermission enum
func ApplicationPermission_Values() []string {
	return []string{
		ApplicationPermissionCreateDataset,
		ApplicationPermissionManageClusters,
		ApplicationPermissionManageUsersAndGroups,
		ApplicationPermissionManageAttributeSets,
		ApplicationPermissionViewAuditData,
		ApplicationPermissionAccessNotebooks,
		ApplicationPermissionGetTemporaryCredentials,
	}
}

// Indicates how the given change will be applied to the dataset.
const (
	// ChangeTypeReplace is a ChangeType enum value
	ChangeTypeReplace = "REPLACE"

	// ChangeTypeAppend is a ChangeType enum value
	ChangeTypeAppend = "APPEND"

	// ChangeTypeModify is a ChangeType enum value
	ChangeTypeModify = "MODIFY"
)

// ChangeType_Values returns all elements of the ChangeType enum
func ChangeType_Values() []string {
	return []string{
		ChangeTypeReplace,
		ChangeTypeAppend,
		ChangeTypeModify,
	}
}

// Data type of a column.
const (
	// ColumnDataTypeString is a ColumnDataType enum value
	ColumnDataTypeString = "STRING"

	// ColumnDataTypeChar is a ColumnDataType enum value
	ColumnDataTypeChar = "CHAR"

	// ColumnDataTypeInteger is a ColumnDataType enum value
	ColumnDataTypeInteger = "INTEGER"

	// ColumnDataTypeTinyint is a ColumnDataType enum value
	ColumnDataTypeTinyint = "TINYINT"

	// ColumnDataTypeSmallint is a ColumnDataType enum value
	ColumnDataTypeSmallint = "SMALLINT"

	// ColumnDataTypeBigint is a ColumnDataType enum value
	ColumnDataTypeBigint = "BIGINT"

	// ColumnDataTypeFloat is a ColumnDataType enum value
	ColumnDataTypeFloat = "FLOAT"

	// ColumnDataTypeDouble is a ColumnDataType enum value
	ColumnDataTypeDouble = "DOUBLE"

	// ColumnDataTypeDate is a ColumnDataType enum value
	ColumnDataTypeDate = "DATE"

	// ColumnDataTypeDatetime is a ColumnDataType enum value
	ColumnDataTypeDatetime = "DATETIME"

	// ColumnDataTypeBoolean is a ColumnDataType enum value
	ColumnDataTypeBoolean = "BOOLEAN"

	// ColumnDataTypeBinary is a ColumnDataType enum value
	ColumnDataTypeBinary = "BINARY"
)

// ColumnDataType_Values returns all elements of the ColumnDataType enum
func ColumnDataType_Values() []string {
	return []string{
		ColumnDataTypeString,
		ColumnDataTypeChar,
		ColumnDataTypeInteger,
		ColumnDataTypeTinyint,
		ColumnDataTypeSmallint,
		ColumnDataTypeBigint,
		ColumnDataTypeFloat,
		ColumnDataTypeDouble,
		ColumnDataTypeDate,
		ColumnDataTypeDatetime,
		ColumnDataTypeBoolean,
		ColumnDataTypeBinary,
	}
}

// Status of a DataView
const (
	// DataViewStatusRunning is a DataViewStatus enum value
	DataViewStatusRunning = "RUNNING"

	// DataViewStatusStarting is a DataViewStatus enum value
	DataViewStatusStarting = "STARTING"

	// DataViewStatusFailed is a DataViewStatus enum value
	DataViewStatusFailed = "FAILED"

	// DataViewStatusCancelled is a DataViewStatus enum value
	DataViewStatusCancelled = "CANCELLED"

	// DataViewStatusTimeout is a DataViewStatus enum value
	DataViewStatusTimeout = "TIMEOUT"

	// DataViewStatusSuccess is a DataViewStatus enum value
	DataViewStatusSuccess = "SUCCESS"

	// DataViewStatusPending is a DataViewStatus enum value
	DataViewStatusPending = "PENDING"

	// DataViewStatusFailedCleanupFailed is a DataViewStatus enum value
	DataViewStatusFailedCleanupFailed = "FAILED_CLEANUP_FAILED"
)

// DataViewStatus_Values returns all elements of the DataViewStatus enum
func DataViewStatus_Values() []string {
	return []string{
		DataViewStatusRunning,
		DataViewStatusStarting,
		DataViewStatusFailed,
		DataViewStatusCancelled,
		DataViewStatusTimeout,
		DataViewStatusSuccess,
		DataViewStatusPending,
		DataViewStatusFailedCleanupFailed,
	}
}

// Dataset Kind
const (
	// DatasetKindTabular is a DatasetKind enum value
	DatasetKindTabular = "TABULAR"

	// DatasetKindNonTabular is a DatasetKind enum value
	DatasetKindNonTabular = "NON_TABULAR"
)

// DatasetKind_Values returns all elements of the DatasetKind enum
func DatasetKind_Values() []string {
	return []string{
		DatasetKindTabular,
		DatasetKindNonTabular,
	}
}

// Status of the dataset process returned from scheduler service.
const (
	// DatasetStatusPending is a DatasetStatus enum value
	DatasetStatusPending = "PENDING"

	// DatasetStatusFailed is a DatasetStatus enum value
	DatasetStatusFailed = "FAILED"

	// DatasetStatusSuccess is a DatasetStatus enum value
	DatasetStatusSuccess = "SUCCESS"

	// DatasetStatusRunning is a DatasetStatus enum value
	DatasetStatusRunning = "RUNNING"
)

// DatasetStatus_Values returns all elements of the DatasetStatus enum
func DatasetStatus_Values() []string {
	return []string{
		DatasetStatusPending,
		DatasetStatusFailed,
		DatasetStatusSuccess,
		DatasetStatusRunning,
	}
}

// Changeset Error Category
const (
	// ErrorCategoryValidation is a ErrorCategory enum value
	ErrorCategoryValidation = "VALIDATION"

	// ErrorCategoryServiceQuotaExceeded is a ErrorCategory enum value
	ErrorCategoryServiceQuotaExceeded = "SERVICE_QUOTA_EXCEEDED"

	// ErrorCategoryAccessDenied is a ErrorCategory enum value
	ErrorCategoryAccessDenied = "ACCESS_DENIED"

	// ErrorCategoryResourceNotFound is a ErrorCategory enum value
	ErrorCategoryResourceNotFound = "RESOURCE_NOT_FOUND"

	// ErrorCategoryThrottling is a ErrorCategory enum value
	ErrorCategoryThrottling = "THROTTLING"

	// ErrorCategoryInternalServiceException is a ErrorCategory enum value
	ErrorCategoryInternalServiceException = "INTERNAL_SERVICE_EXCEPTION"

	// ErrorCategoryCancelled is a ErrorCategory enum value
	ErrorCategoryCancelled = "CANCELLED"

	// ErrorCategoryUserRecoverable is a ErrorCategory enum value
	ErrorCategoryUserRecoverable = "USER_RECOVERABLE"
)

// ErrorCategory_Values returns all elements of the ErrorCategory enum
func ErrorCategory_Values() []string {
	return []string{
		ErrorCategoryValidation,
		ErrorCategoryServiceQuotaExceeded,
		ErrorCategoryAccessDenied,
		ErrorCategoryResourceNotFound,
		ErrorCategoryThrottling,
		ErrorCategoryInternalServiceException,
		ErrorCategoryCancelled,
		ErrorCategoryUserRecoverable,
	}
}

// Data View Export File Format
const (
	// ExportFileFormatParquet is a ExportFileFormat enum value
	ExportFileFormatParquet = "PARQUET"

	// ExportFileFormatDelimitedText is a ExportFileFormat enum value
	ExportFileFormatDelimitedText = "DELIMITED_TEXT"
)

// ExportFileFormat_Values returns all elements of the ExportFileFormat enum
func ExportFileFormat_Values() []string {
	return []string{
		ExportFileFormatParquet,
		ExportFileFormatDelimitedText,
	}
}

// Status of the ingestion process returned from scheduler service.
const (
	// IngestionStatusPending is a IngestionStatus enum value
	IngestionStatusPending = "PENDING"

	// IngestionStatusFailed is a IngestionStatus enum value
	IngestionStatusFailed = "FAILED"

	// IngestionStatusSuccess is a IngestionStatus enum value
	IngestionStatusSuccess = "SUCCESS"

	// IngestionStatusRunning is a IngestionStatus enum value
	IngestionStatusRunning = "RUNNING"

	// IngestionStatusStopRequested is a IngestionStatus enum value
	IngestionStatusStopRequested = "STOP_REQUESTED"
)

// IngestionStatus_Values returns all elements of the IngestionStatus enum
func IngestionStatus_Values() []string {
	return []string{
		IngestionStatusPending,
		IngestionStatusFailed,
		IngestionStatusSuccess,
		IngestionStatusRunning,
		IngestionStatusStopRequested,
	}
}

const (
	// LocationTypeIngestion is a LocationType enum value
	LocationTypeIngestion = "INGESTION"

	// LocationTypeSagemaker is a LocationType enum value
	LocationTypeSagemaker = "SAGEMAKER"
)

// LocationType_Values returns all elements of the LocationType enum
func LocationType_Values() []string {
	return []string{
		LocationTypeIngestion,
		LocationTypeSagemaker,
	}
}

const (
	// UserStatusCreating is a UserStatus enum value
	UserStatusCreating = "CREATING"

	// UserStatusEnabled is a UserStatus enum value
	UserStatusEnabled = "ENABLED"

	// UserStatusDisabled is a UserStatus enum value
	UserStatusDisabled = "DISABLED"
)

// UserStatus_Values returns all elements of the UserStatus enum
func UserStatus_Values() []string {
	return []string{
		UserStatusCreating,
		UserStatusEnabled,
		UserStatusDisabled,
	}
}

const (
	// UserTypeSuperUser is a UserType enum value
	UserTypeSuperUser = "SUPER_USER"

	// UserTypeAppUser is a UserType enum value
	UserTypeAppUser = "APP_USER"
)

// UserType_Values returns all elements of the UserType enum
func UserType_Values() []string {
	return []string{
		UserTypeSuperUser,
		UserTypeAppUser,
	}
}