amazonka-redshift-data-2.0: Amazon Redshift Data API Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.RedshiftData

Description

Derived from API version 2019-12-20 of the AWS service descriptions, licensed under Apache 2.0.

You can use the Amazon Redshift Data API to run queries on Amazon Redshift tables. You can run SQL statements, which are committed if the statement succeeds.

For more information about the Amazon Redshift Data API and CLI usage examples, see Using the Amazon Redshift Data API in the Amazon Redshift Management Guide.

Synopsis

Service Configuration

defaultService :: Service Source #

API version 2019-12-20 of the Amazon Redshift Data API Service SDK configuration.

Errors

Error matchers are designed for use with the functions provided by Control.Exception.Lens. This allows catching (and rethrowing) service specific errors returned by RedshiftData.

ActiveStatementsExceededException

_ActiveStatementsExceededException :: AsError a => Fold a ServiceError Source #

The number of active statements exceeds the limit.

BatchExecuteStatementException

_BatchExecuteStatementException :: AsError a => Fold a ServiceError Source #

An SQL statement encountered an environmental error while running.

DatabaseConnectionException

_DatabaseConnectionException :: AsError a => Fold a ServiceError Source #

Connection to a database failed.

ExecuteStatementException

_ExecuteStatementException :: AsError a => Fold a ServiceError Source #

The SQL statement encountered an environmental error while running.

InternalServerException

_InternalServerException :: AsError a => Fold a ServiceError Source #

The Amazon Redshift Data API operation failed due to invalid input.

ResourceNotFoundException

_ResourceNotFoundException :: AsError a => Fold a ServiceError Source #

The Amazon Redshift Data API operation failed due to a missing resource.

ValidationException

_ValidationException :: AsError a => Fold a ServiceError Source #

The Amazon Redshift Data API operation failed due to invalid input.

Waiters

Waiters poll by repeatedly sending a request until some remote success condition configured by the Wait specification is fulfilled. The Wait specification determines how many attempts should be made, in addition to delay and retry strategies.

Operations

Some AWS operations return results that are incomplete and require subsequent requests in order to obtain the entire result set. The process of sending subsequent requests to continue where a previous request left off is called pagination. For example, the ListObjects operation of Amazon S3 returns up to 1000 objects at a time, and you must send subsequent requests with the appropriate Marker in order to retrieve the next page of results.

Operations that have an AWSPager instance can transparently perform subsequent requests, correctly setting Markers and other request facets to iterate through the entire result set of a truncated API operation. Operations which support this have an additional note in the documentation.

Many operations have the ability to filter results on the server side. See the individual operation parameters for details.

BatchExecuteStatement

data BatchExecuteStatement Source #

See: newBatchExecuteStatement smart constructor.

Instances

Instances details
ToJSON BatchExecuteStatement Source # 
Instance details

Defined in Amazonka.RedshiftData.BatchExecuteStatement

ToHeaders BatchExecuteStatement Source # 
Instance details

Defined in Amazonka.RedshiftData.BatchExecuteStatement

ToPath BatchExecuteStatement Source # 
Instance details

Defined in Amazonka.RedshiftData.BatchExecuteStatement

ToQuery BatchExecuteStatement Source # 
Instance details

Defined in Amazonka.RedshiftData.BatchExecuteStatement

AWSRequest BatchExecuteStatement Source # 
Instance details

Defined in Amazonka.RedshiftData.BatchExecuteStatement

Associated Types

type AWSResponse BatchExecuteStatement #

Generic BatchExecuteStatement Source # 
Instance details

Defined in Amazonka.RedshiftData.BatchExecuteStatement

Associated Types

type Rep BatchExecuteStatement :: Type -> Type #

Read BatchExecuteStatement Source # 
Instance details

Defined in Amazonka.RedshiftData.BatchExecuteStatement

Show BatchExecuteStatement Source # 
Instance details

Defined in Amazonka.RedshiftData.BatchExecuteStatement

NFData BatchExecuteStatement Source # 
Instance details

Defined in Amazonka.RedshiftData.BatchExecuteStatement

Methods

rnf :: BatchExecuteStatement -> () #

Eq BatchExecuteStatement Source # 
Instance details

Defined in Amazonka.RedshiftData.BatchExecuteStatement

Hashable BatchExecuteStatement Source # 
Instance details

Defined in Amazonka.RedshiftData.BatchExecuteStatement

type AWSResponse BatchExecuteStatement Source # 
Instance details

Defined in Amazonka.RedshiftData.BatchExecuteStatement

type Rep BatchExecuteStatement Source # 
Instance details

Defined in Amazonka.RedshiftData.BatchExecuteStatement

newBatchExecuteStatement Source #

Create a value of BatchExecuteStatement with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:clientToken:BatchExecuteStatement', batchExecuteStatement_clientToken - A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

BatchExecuteStatement, batchExecuteStatement_clusterIdentifier - The cluster identifier. This parameter is required when connecting to a cluster and authenticating using either Secrets Manager or temporary credentials.

BatchExecuteStatement, batchExecuteStatement_dbUser - The database user name. This parameter is required when connecting to a cluster and authenticating using temporary credentials.

BatchExecuteStatement, batchExecuteStatement_secretArn - The name or ARN of the secret that enables access to the database. This parameter is required when authenticating using Secrets Manager.

BatchExecuteStatement, batchExecuteStatement_statementName - The name of the SQL statements. You can name the SQL statements when you create them to identify the query.

$sel:withEvent:BatchExecuteStatement', batchExecuteStatement_withEvent - A value that indicates whether to send an event to the Amazon EventBridge event bus after the SQL statements run.

BatchExecuteStatement, batchExecuteStatement_workgroupName - The serverless workgroup name. This parameter is required when connecting to a serverless workgroup and authenticating using either Secrets Manager or temporary credentials.

BatchExecuteStatement, batchExecuteStatement_database - The name of the database. This parameter is required when authenticating using either Secrets Manager or temporary credentials.

$sel:sqls:BatchExecuteStatement', batchExecuteStatement_sqls - One or more SQL statements to run.

 The SQL statements are run as a single transaction. They run serially in the order of the array. Subsequent SQL statements don't start until the previous statement in the array completes. If any SQL statement fails, then because they are run as one transaction, all work is rolled back.</p>

data BatchExecuteStatementResponse Source #

See: newBatchExecuteStatementResponse smart constructor.

Instances

Instances details
Generic BatchExecuteStatementResponse Source # 
Instance details

Defined in Amazonka.RedshiftData.BatchExecuteStatement

Associated Types

type Rep BatchExecuteStatementResponse :: Type -> Type #

Read BatchExecuteStatementResponse Source # 
Instance details

Defined in Amazonka.RedshiftData.BatchExecuteStatement

Show BatchExecuteStatementResponse Source # 
Instance details

Defined in Amazonka.RedshiftData.BatchExecuteStatement

NFData BatchExecuteStatementResponse Source # 
Instance details

Defined in Amazonka.RedshiftData.BatchExecuteStatement

Eq BatchExecuteStatementResponse Source # 
Instance details

Defined in Amazonka.RedshiftData.BatchExecuteStatement

type Rep BatchExecuteStatementResponse Source # 
Instance details

Defined in Amazonka.RedshiftData.BatchExecuteStatement

type Rep BatchExecuteStatementResponse = D1 ('MetaData "BatchExecuteStatementResponse" "Amazonka.RedshiftData.BatchExecuteStatement" "amazonka-redshift-data-2.0-Hy9KEgtH5Bc3altuyuPuYo" 'False) (C1 ('MetaCons "BatchExecuteStatementResponse'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "clusterIdentifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "createdAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "database") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "dbUser") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "secretArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "workgroupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

newBatchExecuteStatementResponse Source #

Create a value of BatchExecuteStatementResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

BatchExecuteStatement, batchExecuteStatementResponse_clusterIdentifier - The cluster identifier. This element is not returned when connecting to a serverless workgroup.

BatchExecuteStatementResponse, batchExecuteStatementResponse_createdAt - The date and time (UTC) the statement was created.

BatchExecuteStatement, batchExecuteStatementResponse_database - The name of the database.

BatchExecuteStatement, batchExecuteStatementResponse_dbUser - The database user name.

BatchExecuteStatementResponse, batchExecuteStatementResponse_id - The identifier of the SQL statement whose results are to be fetched. This value is a universally unique identifier (UUID) generated by Amazon Redshift Data API. This identifier is returned by BatchExecuteStatment.

BatchExecuteStatement, batchExecuteStatementResponse_secretArn - The name or ARN of the secret that enables access to the database.

BatchExecuteStatement, batchExecuteStatementResponse_workgroupName - The serverless workgroup name. This element is not returned when connecting to a provisioned cluster.

$sel:httpStatus:BatchExecuteStatementResponse', batchExecuteStatementResponse_httpStatus - The response's http status code.

CancelStatement

data CancelStatement Source #

See: newCancelStatement smart constructor.

Constructors

CancelStatement' Text 

Instances

Instances details
ToJSON CancelStatement Source # 
Instance details

Defined in Amazonka.RedshiftData.CancelStatement

ToHeaders CancelStatement Source # 
Instance details

Defined in Amazonka.RedshiftData.CancelStatement

ToPath CancelStatement Source # 
Instance details

Defined in Amazonka.RedshiftData.CancelStatement

ToQuery CancelStatement Source # 
Instance details

Defined in Amazonka.RedshiftData.CancelStatement

AWSRequest CancelStatement Source # 
Instance details

Defined in Amazonka.RedshiftData.CancelStatement

Associated Types

type AWSResponse CancelStatement #

Generic CancelStatement Source # 
Instance details

Defined in Amazonka.RedshiftData.CancelStatement

Associated Types

type Rep CancelStatement :: Type -> Type #

Read CancelStatement Source # 
Instance details

Defined in Amazonka.RedshiftData.CancelStatement

Show CancelStatement Source # 
Instance details

Defined in Amazonka.RedshiftData.CancelStatement

NFData CancelStatement Source # 
Instance details

Defined in Amazonka.RedshiftData.CancelStatement

Methods

rnf :: CancelStatement -> () #

Eq CancelStatement Source # 
Instance details

Defined in Amazonka.RedshiftData.CancelStatement

Hashable CancelStatement Source # 
Instance details

Defined in Amazonka.RedshiftData.CancelStatement

type AWSResponse CancelStatement Source # 
Instance details

Defined in Amazonka.RedshiftData.CancelStatement

type Rep CancelStatement Source # 
Instance details

Defined in Amazonka.RedshiftData.CancelStatement

type Rep CancelStatement = D1 ('MetaData "CancelStatement" "Amazonka.RedshiftData.CancelStatement" "amazonka-redshift-data-2.0-Hy9KEgtH5Bc3altuyuPuYo" 'False) (C1 ('MetaCons "CancelStatement'" 'PrefixI 'True) (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newCancelStatement Source #

Create a value of CancelStatement with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

CancelStatement, cancelStatement_id - The identifier of the SQL statement to cancel. This value is a universally unique identifier (UUID) generated by Amazon Redshift Data API. This identifier is returned by BatchExecuteStatment, ExecuteStatment, and ListStatements.

data CancelStatementResponse Source #

See: newCancelStatementResponse smart constructor.

Instances

Instances details
Generic CancelStatementResponse Source # 
Instance details

Defined in Amazonka.RedshiftData.CancelStatement

Associated Types

type Rep CancelStatementResponse :: Type -> Type #

Read CancelStatementResponse Source # 
Instance details

Defined in Amazonka.RedshiftData.CancelStatement

Show CancelStatementResponse Source # 
Instance details

Defined in Amazonka.RedshiftData.CancelStatement

NFData CancelStatementResponse Source # 
Instance details

Defined in Amazonka.RedshiftData.CancelStatement

Methods

rnf :: CancelStatementResponse -> () #

Eq CancelStatementResponse Source # 
Instance details

Defined in Amazonka.RedshiftData.CancelStatement

type Rep CancelStatementResponse Source # 
Instance details

Defined in Amazonka.RedshiftData.CancelStatement

type Rep CancelStatementResponse = D1 ('MetaData "CancelStatementResponse" "Amazonka.RedshiftData.CancelStatement" "amazonka-redshift-data-2.0-Hy9KEgtH5Bc3altuyuPuYo" 'False) (C1 ('MetaCons "CancelStatementResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newCancelStatementResponse Source #

Create a value of CancelStatementResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

CancelStatementResponse, cancelStatementResponse_status - A value that indicates whether the cancel statement succeeded (true).

$sel:httpStatus:CancelStatementResponse', cancelStatementResponse_httpStatus - The response's http status code.

DescribeStatement

data DescribeStatement Source #

See: newDescribeStatement smart constructor.

Constructors

DescribeStatement' Text 

Instances

Instances details
ToJSON DescribeStatement Source # 
Instance details

Defined in Amazonka.RedshiftData.DescribeStatement

ToHeaders DescribeStatement Source # 
Instance details

Defined in Amazonka.RedshiftData.DescribeStatement

ToPath DescribeStatement Source # 
Instance details

Defined in Amazonka.RedshiftData.DescribeStatement

ToQuery DescribeStatement Source # 
Instance details

Defined in Amazonka.RedshiftData.DescribeStatement

AWSRequest DescribeStatement Source # 
Instance details

Defined in Amazonka.RedshiftData.DescribeStatement

Associated Types

type AWSResponse DescribeStatement #

Generic DescribeStatement Source # 
Instance details

Defined in Amazonka.RedshiftData.DescribeStatement

Associated Types

type Rep DescribeStatement :: Type -> Type #

Read DescribeStatement Source # 
Instance details

Defined in Amazonka.RedshiftData.DescribeStatement

Show DescribeStatement Source # 
Instance details

Defined in Amazonka.RedshiftData.DescribeStatement

NFData DescribeStatement Source # 
Instance details

Defined in Amazonka.RedshiftData.DescribeStatement

Methods

rnf :: DescribeStatement -> () #

Eq DescribeStatement Source # 
Instance details

Defined in Amazonka.RedshiftData.DescribeStatement

Hashable DescribeStatement Source # 
Instance details

Defined in Amazonka.RedshiftData.DescribeStatement

type AWSResponse DescribeStatement Source # 
Instance details

Defined in Amazonka.RedshiftData.DescribeStatement

type Rep DescribeStatement Source # 
Instance details

Defined in Amazonka.RedshiftData.DescribeStatement

type Rep DescribeStatement = D1 ('MetaData "DescribeStatement" "Amazonka.RedshiftData.DescribeStatement" "amazonka-redshift-data-2.0-Hy9KEgtH5Bc3altuyuPuYo" 'False) (C1 ('MetaCons "DescribeStatement'" 'PrefixI 'True) (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newDescribeStatement Source #

Create a value of DescribeStatement with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

DescribeStatement, describeStatement_id - The identifier of the SQL statement to describe. This value is a universally unique identifier (UUID) generated by Amazon Redshift Data API. A suffix indicates the number of the SQL statement. For example, d9b6c0c9-0747-4bf4-b142-e8883122f766:2 has a suffix of :2 that indicates the second SQL statement of a batch query. This identifier is returned by BatchExecuteStatment, ExecuteStatement, and ListStatements.

data DescribeStatementResponse Source #

See: newDescribeStatementResponse smart constructor.

Instances

Instances details
Generic DescribeStatementResponse Source # 
Instance details

Defined in Amazonka.RedshiftData.DescribeStatement

Associated Types

type Rep DescribeStatementResponse :: Type -> Type #

Read DescribeStatementResponse Source # 
Instance details

Defined in Amazonka.RedshiftData.DescribeStatement

Show DescribeStatementResponse Source # 
Instance details

Defined in Amazonka.RedshiftData.DescribeStatement

NFData DescribeStatementResponse Source # 
Instance details

Defined in Amazonka.RedshiftData.DescribeStatement

Eq DescribeStatementResponse Source # 
Instance details

Defined in Amazonka.RedshiftData.DescribeStatement

type Rep DescribeStatementResponse Source # 
Instance details

Defined in Amazonka.RedshiftData.DescribeStatement

type Rep DescribeStatementResponse = D1 ('MetaData "DescribeStatementResponse" "Amazonka.RedshiftData.DescribeStatement" "amazonka-redshift-data-2.0-Hy9KEgtH5Bc3altuyuPuYo" 'False) (C1 ('MetaCons "DescribeStatementResponse'" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "clusterIdentifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "createdAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "database") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "dbUser") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "duration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer))))) :*: ((S1 ('MetaSel ('Just "error") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "hasResultSet") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "queryParameters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty SqlParameter))) :*: (S1 ('MetaSel ('Just "queryString") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "redshiftPid") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)))))) :*: (((S1 ('MetaSel ('Just "redshiftQueryId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "resultRows") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer))) :*: (S1 ('MetaSel ('Just "resultSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: (S1 ('MetaSel ('Just "secretArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe StatusString))))) :*: ((S1 ('MetaSel ('Just "subStatements") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [SubStatementData])) :*: S1 ('MetaSel ('Just "updatedAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "workgroupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))))

newDescribeStatementResponse Source #

Create a value of DescribeStatementResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:clusterIdentifier:DescribeStatementResponse', describeStatementResponse_clusterIdentifier - The cluster identifier.

DescribeStatementResponse, describeStatementResponse_createdAt - The date and time (UTC) when the SQL statement was submitted to run.

$sel:database:DescribeStatementResponse', describeStatementResponse_database - The name of the database.

$sel:dbUser:DescribeStatementResponse', describeStatementResponse_dbUser - The database user name.

DescribeStatementResponse, describeStatementResponse_duration - The amount of time in nanoseconds that the statement ran.

DescribeStatementResponse, describeStatementResponse_error - The error message from the cluster if the SQL statement encountered an error while running.

DescribeStatementResponse, describeStatementResponse_hasResultSet - A value that indicates whether the statement has a result set. The result set can be empty. The value is true for an empty result set. The value is true if any substatement returns a result set.

DescribeStatementResponse, describeStatementResponse_queryParameters - The parameters for the SQL statement.

DescribeStatementResponse, describeStatementResponse_queryString - The SQL statement text.

$sel:redshiftPid:DescribeStatementResponse', describeStatementResponse_redshiftPid - The process identifier from Amazon Redshift.

DescribeStatementResponse, describeStatementResponse_redshiftQueryId - The identifier of the query generated by Amazon Redshift. These identifiers are also available in the query column of the STL_QUERY system view.

DescribeStatementResponse, describeStatementResponse_resultRows - Either the number of rows returned from the SQL statement or the number of rows affected. If result size is greater than zero, the result rows can be the number of rows affected by SQL statements such as INSERT, UPDATE, DELETE, COPY, and others. A -1 indicates the value is null.

DescribeStatementResponse, describeStatementResponse_resultSize - The size in bytes of the returned results. A -1 indicates the value is null.

DescribeStatementResponse, describeStatementResponse_secretArn - The name or Amazon Resource Name (ARN) of the secret that enables access to the database.

DescribeStatementResponse, describeStatementResponse_status - The status of the SQL statement being described. Status values are defined as follows:

  • ABORTED - The query run was stopped by the user.
  • ALL - A status value that includes all query statuses. This value can be used to filter results.
  • FAILED - The query run failed.
  • FINISHED - The query has finished running.
  • PICKED - The query has been chosen to be run.
  • STARTED - The query run has started.
  • SUBMITTED - The query was submitted, but not yet processed.

$sel:subStatements:DescribeStatementResponse', describeStatementResponse_subStatements - The SQL statements from a multiple statement run.

DescribeStatementResponse, describeStatementResponse_updatedAt - The date and time (UTC) that the metadata for the SQL statement was last updated. An example is the time the status last changed.

$sel:workgroupName:DescribeStatementResponse', describeStatementResponse_workgroupName - The serverless workgroup name.

$sel:httpStatus:DescribeStatementResponse', describeStatementResponse_httpStatus - The response's http status code.

DescribeStatement, describeStatementResponse_id - The identifier of the SQL statement described. This value is a universally unique identifier (UUID) generated by Amazon Redshift Data API.

DescribeTable (Paginated)

data DescribeTable Source #

See: newDescribeTable smart constructor.

Instances

Instances details
ToJSON DescribeTable Source # 
Instance details

Defined in Amazonka.RedshiftData.DescribeTable

ToHeaders DescribeTable Source # 
Instance details

Defined in Amazonka.RedshiftData.DescribeTable

ToPath DescribeTable Source # 
Instance details

Defined in Amazonka.RedshiftData.DescribeTable

ToQuery DescribeTable Source # 
Instance details

Defined in Amazonka.RedshiftData.DescribeTable

AWSPager DescribeTable Source # 
Instance details

Defined in Amazonka.RedshiftData.DescribeTable

AWSRequest DescribeTable Source # 
Instance details

Defined in Amazonka.RedshiftData.DescribeTable

Associated Types

type AWSResponse DescribeTable #

Generic DescribeTable Source # 
Instance details

Defined in Amazonka.RedshiftData.DescribeTable

Associated Types

type Rep DescribeTable :: Type -> Type #

Read DescribeTable Source # 
Instance details

Defined in Amazonka.RedshiftData.DescribeTable

Show DescribeTable Source # 
Instance details

Defined in Amazonka.RedshiftData.DescribeTable

NFData DescribeTable Source # 
Instance details

Defined in Amazonka.RedshiftData.DescribeTable

Methods

rnf :: DescribeTable -> () #

Eq DescribeTable Source # 
Instance details

Defined in Amazonka.RedshiftData.DescribeTable

Hashable DescribeTable Source # 
Instance details

Defined in Amazonka.RedshiftData.DescribeTable

type AWSResponse DescribeTable Source # 
Instance details

Defined in Amazonka.RedshiftData.DescribeTable

type Rep DescribeTable Source # 
Instance details

Defined in Amazonka.RedshiftData.DescribeTable

newDescribeTable Source #

Create a value of DescribeTable with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:clusterIdentifier:DescribeTable', describeTable_clusterIdentifier - The cluster identifier. This parameter is required when connecting to a cluster and authenticating using either Secrets Manager or temporary credentials.

$sel:connectedDatabase:DescribeTable', describeTable_connectedDatabase - A database name. The connected database is specified when you connect with your authentication credentials.

$sel:dbUser:DescribeTable', describeTable_dbUser - The database user name. This parameter is required when connecting to a cluster and authenticating using temporary credentials.

$sel:maxResults:DescribeTable', describeTable_maxResults - The maximum number of tables to return in the response. If more tables exist than fit in one response, then NextToken is returned to page through the results.

DescribeTable, describeTable_nextToken - A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned NextToken value in the next NextToken parameter and retrying the command. If the NextToken field is empty, all response records have been retrieved for the request.

DescribeTable, describeTable_schema - The schema that contains the table. If no schema is specified, then matching tables for all schemas are returned.

DescribeTable, describeTable_secretArn - The name or ARN of the secret that enables access to the database. This parameter is required when authenticating using Secrets Manager.

$sel:table:DescribeTable', describeTable_table - The table name. If no table is specified, then all tables for all matching schemas are returned. If no table and no schema is specified, then all tables for all schemas in the database are returned

$sel:workgroupName:DescribeTable', describeTable_workgroupName - The serverless workgroup name. This parameter is required when connecting to a serverless workgroup and authenticating using either Secrets Manager or temporary credentials.

$sel:database:DescribeTable', describeTable_database - The name of the database that contains the tables to be described. If ConnectedDatabase is not specified, this is also the database to connect to with your authentication credentials.

data DescribeTableResponse Source #

See: newDescribeTableResponse smart constructor.

Instances

Instances details
Generic DescribeTableResponse Source # 
Instance details

Defined in Amazonka.RedshiftData.DescribeTable

Associated Types

type Rep DescribeTableResponse :: Type -> Type #

Read DescribeTableResponse Source # 
Instance details

Defined in Amazonka.RedshiftData.DescribeTable

Show DescribeTableResponse Source # 
Instance details

Defined in Amazonka.RedshiftData.DescribeTable

NFData DescribeTableResponse Source # 
Instance details

Defined in Amazonka.RedshiftData.DescribeTable

Methods

rnf :: DescribeTableResponse -> () #

Eq DescribeTableResponse Source # 
Instance details

Defined in Amazonka.RedshiftData.DescribeTable

type Rep DescribeTableResponse Source # 
Instance details

Defined in Amazonka.RedshiftData.DescribeTable

type Rep DescribeTableResponse = D1 ('MetaData "DescribeTableResponse" "Amazonka.RedshiftData.DescribeTable" "amazonka-redshift-data-2.0-Hy9KEgtH5Bc3altuyuPuYo" 'False) (C1 ('MetaCons "DescribeTableResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "columnList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ColumnMetadata])) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "tableName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newDescribeTableResponse Source #

Create a value of DescribeTableResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:columnList:DescribeTableResponse', describeTableResponse_columnList - A list of columns in the table.

DescribeTable, describeTableResponse_nextToken - A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned NextToken value in the next NextToken parameter and retrying the command. If the NextToken field is empty, all response records have been retrieved for the request.

DescribeTableResponse, describeTableResponse_tableName - The table name.

$sel:httpStatus:DescribeTableResponse', describeTableResponse_httpStatus - The response's http status code.

ExecuteStatement

data ExecuteStatement Source #

See: newExecuteStatement smart constructor.

Instances

Instances details
ToJSON ExecuteStatement Source # 
Instance details

Defined in Amazonka.RedshiftData.ExecuteStatement

ToHeaders ExecuteStatement Source # 
Instance details

Defined in Amazonka.RedshiftData.ExecuteStatement

ToPath ExecuteStatement Source # 
Instance details

Defined in Amazonka.RedshiftData.ExecuteStatement

ToQuery ExecuteStatement Source # 
Instance details

Defined in Amazonka.RedshiftData.ExecuteStatement

AWSRequest ExecuteStatement Source # 
Instance details

Defined in Amazonka.RedshiftData.ExecuteStatement

Associated Types

type AWSResponse ExecuteStatement #

Generic ExecuteStatement Source # 
Instance details

Defined in Amazonka.RedshiftData.ExecuteStatement

Associated Types

type Rep ExecuteStatement :: Type -> Type #

Read ExecuteStatement Source # 
Instance details

Defined in Amazonka.RedshiftData.ExecuteStatement

Show ExecuteStatement Source # 
Instance details

Defined in Amazonka.RedshiftData.ExecuteStatement

NFData ExecuteStatement Source # 
Instance details

Defined in Amazonka.RedshiftData.ExecuteStatement

Methods

rnf :: ExecuteStatement -> () #

Eq ExecuteStatement Source # 
Instance details

Defined in Amazonka.RedshiftData.ExecuteStatement

Hashable ExecuteStatement Source # 
Instance details

Defined in Amazonka.RedshiftData.ExecuteStatement

type AWSResponse ExecuteStatement Source # 
Instance details

Defined in Amazonka.RedshiftData.ExecuteStatement

type Rep ExecuteStatement Source # 
Instance details

Defined in Amazonka.RedshiftData.ExecuteStatement

newExecuteStatement Source #

Create a value of ExecuteStatement with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:clientToken:ExecuteStatement', executeStatement_clientToken - A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

ExecuteStatement, executeStatement_clusterIdentifier - The cluster identifier. This parameter is required when connecting to a cluster and authenticating using either Secrets Manager or temporary credentials.

ExecuteStatement, executeStatement_dbUser - The database user name. This parameter is required when connecting to a cluster and authenticating using temporary credentials.

$sel:parameters:ExecuteStatement', executeStatement_parameters - The parameters for the SQL statement.

ExecuteStatement, executeStatement_secretArn - The name or ARN of the secret that enables access to the database. This parameter is required when authenticating using Secrets Manager.

ExecuteStatement, executeStatement_statementName - The name of the SQL statement. You can name the SQL statement when you create it to identify the query.

$sel:withEvent:ExecuteStatement', executeStatement_withEvent - A value that indicates whether to send an event to the Amazon EventBridge event bus after the SQL statement runs.

ExecuteStatement, executeStatement_workgroupName - The serverless workgroup name. This parameter is required when connecting to a serverless workgroup and authenticating using either Secrets Manager or temporary credentials.

ExecuteStatement, executeStatement_database - The name of the database. This parameter is required when authenticating using either Secrets Manager or temporary credentials.

$sel:sql:ExecuteStatement', executeStatement_sql - The SQL statement text to run.

data ExecuteStatementResponse Source #

See: newExecuteStatementResponse smart constructor.

Instances

Instances details
Generic ExecuteStatementResponse Source # 
Instance details

Defined in Amazonka.RedshiftData.ExecuteStatement

Associated Types

type Rep ExecuteStatementResponse :: Type -> Type #

Read ExecuteStatementResponse Source # 
Instance details

Defined in Amazonka.RedshiftData.ExecuteStatement

Show ExecuteStatementResponse Source # 
Instance details

Defined in Amazonka.RedshiftData.ExecuteStatement

NFData ExecuteStatementResponse Source # 
Instance details

Defined in Amazonka.RedshiftData.ExecuteStatement

Eq ExecuteStatementResponse Source # 
Instance details

Defined in Amazonka.RedshiftData.ExecuteStatement

type Rep ExecuteStatementResponse Source # 
Instance details

Defined in Amazonka.RedshiftData.ExecuteStatement

type Rep ExecuteStatementResponse = D1 ('MetaData "ExecuteStatementResponse" "Amazonka.RedshiftData.ExecuteStatement" "amazonka-redshift-data-2.0-Hy9KEgtH5Bc3altuyuPuYo" 'False) (C1 ('MetaCons "ExecuteStatementResponse'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "clusterIdentifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "createdAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "database") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "dbUser") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "secretArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "workgroupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

newExecuteStatementResponse Source #

Create a value of ExecuteStatementResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

ExecuteStatement, executeStatementResponse_clusterIdentifier - The cluster identifier. This element is not returned when connecting to a serverless workgroup.

ExecuteStatementResponse, executeStatementResponse_createdAt - The date and time (UTC) the statement was created.

ExecuteStatement, executeStatementResponse_database - The name of the database.

ExecuteStatement, executeStatementResponse_dbUser - The database user name.

ExecuteStatementResponse, executeStatementResponse_id - The identifier of the SQL statement whose results are to be fetched. This value is a universally unique identifier (UUID) generated by Amazon Redshift Data API.

ExecuteStatement, executeStatementResponse_secretArn - The name or ARN of the secret that enables access to the database.

ExecuteStatement, executeStatementResponse_workgroupName - The serverless workgroup name. This element is not returned when connecting to a provisioned cluster.

$sel:httpStatus:ExecuteStatementResponse', executeStatementResponse_httpStatus - The response's http status code.

GetStatementResult (Paginated)

data GetStatementResult Source #

See: newGetStatementResult smart constructor.

Instances

Instances details
ToJSON GetStatementResult Source # 
Instance details

Defined in Amazonka.RedshiftData.GetStatementResult

ToHeaders GetStatementResult Source # 
Instance details

Defined in Amazonka.RedshiftData.GetStatementResult

ToPath GetStatementResult Source # 
Instance details

Defined in Amazonka.RedshiftData.GetStatementResult

ToQuery GetStatementResult Source # 
Instance details

Defined in Amazonka.RedshiftData.GetStatementResult

AWSPager GetStatementResult Source # 
Instance details

Defined in Amazonka.RedshiftData.GetStatementResult

AWSRequest GetStatementResult Source # 
Instance details

Defined in Amazonka.RedshiftData.GetStatementResult

Associated Types

type AWSResponse GetStatementResult #

Generic GetStatementResult Source # 
Instance details

Defined in Amazonka.RedshiftData.GetStatementResult

Associated Types

type Rep GetStatementResult :: Type -> Type #

Read GetStatementResult Source # 
Instance details

Defined in Amazonka.RedshiftData.GetStatementResult

Show GetStatementResult Source # 
Instance details

Defined in Amazonka.RedshiftData.GetStatementResult

NFData GetStatementResult Source # 
Instance details

Defined in Amazonka.RedshiftData.GetStatementResult

Methods

rnf :: GetStatementResult -> () #

Eq GetStatementResult Source # 
Instance details

Defined in Amazonka.RedshiftData.GetStatementResult

Hashable GetStatementResult Source # 
Instance details

Defined in Amazonka.RedshiftData.GetStatementResult

type AWSResponse GetStatementResult Source # 
Instance details

Defined in Amazonka.RedshiftData.GetStatementResult

type Rep GetStatementResult Source # 
Instance details

Defined in Amazonka.RedshiftData.GetStatementResult

type Rep GetStatementResult = D1 ('MetaData "GetStatementResult" "Amazonka.RedshiftData.GetStatementResult" "amazonka-redshift-data-2.0-Hy9KEgtH5Bc3altuyuPuYo" 'False) (C1 ('MetaCons "GetStatementResult'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newGetStatementResult Source #

Create a value of GetStatementResult with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

GetStatementResult, getStatementResult_nextToken - A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned NextToken value in the next NextToken parameter and retrying the command. If the NextToken field is empty, all response records have been retrieved for the request.

GetStatementResult, getStatementResult_id - The identifier of the SQL statement whose results are to be fetched. This value is a universally unique identifier (UUID) generated by Amazon Redshift Data API. A suffix indicates then number of the SQL statement. For example, d9b6c0c9-0747-4bf4-b142-e8883122f766:2 has a suffix of :2 that indicates the second SQL statement of a batch query. This identifier is returned by BatchExecuteStatment, ExecuteStatment, and ListStatements.

data GetStatementResultResponse Source #

See: newGetStatementResultResponse smart constructor.

Instances

Instances details
Generic GetStatementResultResponse Source # 
Instance details

Defined in Amazonka.RedshiftData.GetStatementResult

Associated Types

type Rep GetStatementResultResponse :: Type -> Type #

Read GetStatementResultResponse Source # 
Instance details

Defined in Amazonka.RedshiftData.GetStatementResult

Show GetStatementResultResponse Source # 
Instance details

Defined in Amazonka.RedshiftData.GetStatementResult

NFData GetStatementResultResponse Source # 
Instance details

Defined in Amazonka.RedshiftData.GetStatementResult

Eq GetStatementResultResponse Source # 
Instance details

Defined in Amazonka.RedshiftData.GetStatementResult

type Rep GetStatementResultResponse Source # 
Instance details

Defined in Amazonka.RedshiftData.GetStatementResult

type Rep GetStatementResultResponse = D1 ('MetaData "GetStatementResultResponse" "Amazonka.RedshiftData.GetStatementResult" "amazonka-redshift-data-2.0-Hy9KEgtH5Bc3altuyuPuYo" 'False) (C1 ('MetaCons "GetStatementResultResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "columnMetadata") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ColumnMetadata])) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "totalNumRows") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "records") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [[Field]])))))

newGetStatementResultResponse Source #

Create a value of GetStatementResultResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:columnMetadata:GetStatementResultResponse', getStatementResultResponse_columnMetadata - The properties (metadata) of a column.

GetStatementResult, getStatementResultResponse_nextToken - A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned NextToken value in the next NextToken parameter and retrying the command. If the NextToken field is empty, all response records have been retrieved for the request.

$sel:totalNumRows:GetStatementResultResponse', getStatementResultResponse_totalNumRows - The total number of rows in the result set returned from a query. You can use this number to estimate the number of calls to the GetStatementResult operation needed to page through the results.

$sel:httpStatus:GetStatementResultResponse', getStatementResultResponse_httpStatus - The response's http status code.

$sel:records:GetStatementResultResponse', getStatementResultResponse_records - The results of the SQL statement.

ListDatabases (Paginated)

data ListDatabases Source #

See: newListDatabases smart constructor.

Instances

Instances details
ToJSON ListDatabases Source # 
Instance details

Defined in Amazonka.RedshiftData.ListDatabases

ToHeaders ListDatabases Source # 
Instance details

Defined in Amazonka.RedshiftData.ListDatabases

ToPath ListDatabases Source # 
Instance details

Defined in Amazonka.RedshiftData.ListDatabases

ToQuery ListDatabases Source # 
Instance details

Defined in Amazonka.RedshiftData.ListDatabases

AWSPager ListDatabases Source # 
Instance details

Defined in Amazonka.RedshiftData.ListDatabases

AWSRequest ListDatabases Source # 
Instance details

Defined in Amazonka.RedshiftData.ListDatabases

Associated Types

type AWSResponse ListDatabases #

Generic ListDatabases Source # 
Instance details

Defined in Amazonka.RedshiftData.ListDatabases

Associated Types

type Rep ListDatabases :: Type -> Type #

Read ListDatabases Source # 
Instance details

Defined in Amazonka.RedshiftData.ListDatabases

Show ListDatabases Source # 
Instance details

Defined in Amazonka.RedshiftData.ListDatabases

NFData ListDatabases Source # 
Instance details

Defined in Amazonka.RedshiftData.ListDatabases

Methods

rnf :: ListDatabases -> () #

Eq ListDatabases Source # 
Instance details

Defined in Amazonka.RedshiftData.ListDatabases

Hashable ListDatabases Source # 
Instance details

Defined in Amazonka.RedshiftData.ListDatabases

type AWSResponse ListDatabases Source # 
Instance details

Defined in Amazonka.RedshiftData.ListDatabases

type Rep ListDatabases Source # 
Instance details

Defined in Amazonka.RedshiftData.ListDatabases

type Rep ListDatabases = D1 ('MetaData "ListDatabases" "Amazonka.RedshiftData.ListDatabases" "amazonka-redshift-data-2.0-Hy9KEgtH5Bc3altuyuPuYo" 'False) (C1 ('MetaCons "ListDatabases'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "clusterIdentifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "dbUser") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)))) :*: ((S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "secretArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "workgroupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "database") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newListDatabases Source #

Create a value of ListDatabases with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:clusterIdentifier:ListDatabases', listDatabases_clusterIdentifier - The cluster identifier. This parameter is required when connecting to a cluster and authenticating using either Secrets Manager or temporary credentials.

$sel:dbUser:ListDatabases', listDatabases_dbUser - The database user name. This parameter is required when connecting to a cluster and authenticating using temporary credentials.

$sel:maxResults:ListDatabases', listDatabases_maxResults - The maximum number of databases to return in the response. If more databases exist than fit in one response, then NextToken is returned to page through the results.

ListDatabases, listDatabases_nextToken - A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned NextToken value in the next NextToken parameter and retrying the command. If the NextToken field is empty, all response records have been retrieved for the request.

ListDatabases, listDatabases_secretArn - The name or ARN of the secret that enables access to the database. This parameter is required when authenticating using Secrets Manager.

$sel:workgroupName:ListDatabases', listDatabases_workgroupName - The serverless workgroup name. This parameter is required when connecting to a serverless workgroup and authenticating using either Secrets Manager or temporary credentials.

$sel:database:ListDatabases', listDatabases_database - The name of the database. This parameter is required when authenticating using either Secrets Manager or temporary credentials.

data ListDatabasesResponse Source #

See: newListDatabasesResponse smart constructor.

Instances

Instances details
Generic ListDatabasesResponse Source # 
Instance details

Defined in Amazonka.RedshiftData.ListDatabases

Associated Types

type Rep ListDatabasesResponse :: Type -> Type #

Read ListDatabasesResponse Source # 
Instance details

Defined in Amazonka.RedshiftData.ListDatabases

Show ListDatabasesResponse Source # 
Instance details

Defined in Amazonka.RedshiftData.ListDatabases

NFData ListDatabasesResponse Source # 
Instance details

Defined in Amazonka.RedshiftData.ListDatabases

Methods

rnf :: ListDatabasesResponse -> () #

Eq ListDatabasesResponse Source # 
Instance details

Defined in Amazonka.RedshiftData.ListDatabases

type Rep ListDatabasesResponse Source # 
Instance details

Defined in Amazonka.RedshiftData.ListDatabases

type Rep ListDatabasesResponse = D1 ('MetaData "ListDatabasesResponse" "Amazonka.RedshiftData.ListDatabases" "amazonka-redshift-data-2.0-Hy9KEgtH5Bc3altuyuPuYo" 'False) (C1 ('MetaCons "ListDatabasesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "databases") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListDatabasesResponse Source #

Create a value of ListDatabasesResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:databases:ListDatabasesResponse', listDatabasesResponse_databases - The names of databases.

ListDatabases, listDatabasesResponse_nextToken - A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned NextToken value in the next NextToken parameter and retrying the command. If the NextToken field is empty, all response records have been retrieved for the request.

$sel:httpStatus:ListDatabasesResponse', listDatabasesResponse_httpStatus - The response's http status code.

ListSchemas (Paginated)

data ListSchemas Source #

See: newListSchemas smart constructor.

Instances

Instances details
ToJSON ListSchemas Source # 
Instance details

Defined in Amazonka.RedshiftData.ListSchemas

ToHeaders ListSchemas Source # 
Instance details

Defined in Amazonka.RedshiftData.ListSchemas

Methods

toHeaders :: ListSchemas -> [Header] #

ToPath ListSchemas Source # 
Instance details

Defined in Amazonka.RedshiftData.ListSchemas

ToQuery ListSchemas Source # 
Instance details

Defined in Amazonka.RedshiftData.ListSchemas

AWSPager ListSchemas Source # 
Instance details

Defined in Amazonka.RedshiftData.ListSchemas

AWSRequest ListSchemas Source # 
Instance details

Defined in Amazonka.RedshiftData.ListSchemas

Associated Types

type AWSResponse ListSchemas #

Generic ListSchemas Source # 
Instance details

Defined in Amazonka.RedshiftData.ListSchemas

Associated Types

type Rep ListSchemas :: Type -> Type #

Read ListSchemas Source # 
Instance details

Defined in Amazonka.RedshiftData.ListSchemas

Show ListSchemas Source # 
Instance details

Defined in Amazonka.RedshiftData.ListSchemas

NFData ListSchemas Source # 
Instance details

Defined in Amazonka.RedshiftData.ListSchemas

Methods

rnf :: ListSchemas -> () #

Eq ListSchemas Source # 
Instance details

Defined in Amazonka.RedshiftData.ListSchemas

Hashable ListSchemas Source # 
Instance details

Defined in Amazonka.RedshiftData.ListSchemas

type AWSResponse ListSchemas Source # 
Instance details

Defined in Amazonka.RedshiftData.ListSchemas

type Rep ListSchemas Source # 
Instance details

Defined in Amazonka.RedshiftData.ListSchemas

newListSchemas Source #

Create a value of ListSchemas with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:clusterIdentifier:ListSchemas', listSchemas_clusterIdentifier - The cluster identifier. This parameter is required when connecting to a cluster and authenticating using either Secrets Manager or temporary credentials.

$sel:connectedDatabase:ListSchemas', listSchemas_connectedDatabase - A database name. The connected database is specified when you connect with your authentication credentials.

$sel:dbUser:ListSchemas', listSchemas_dbUser - The database user name. This parameter is required when connecting to a cluster and authenticating using temporary credentials.

$sel:maxResults:ListSchemas', listSchemas_maxResults - The maximum number of schemas to return in the response. If more schemas exist than fit in one response, then NextToken is returned to page through the results.

ListSchemas, listSchemas_nextToken - A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned NextToken value in the next NextToken parameter and retrying the command. If the NextToken field is empty, all response records have been retrieved for the request.

$sel:schemaPattern:ListSchemas', listSchemas_schemaPattern - A pattern to filter results by schema name. Within a schema pattern, "%" means match any substring of 0 or more characters and "_" means match any one character. Only schema name entries matching the search pattern are returned.

ListSchemas, listSchemas_secretArn - The name or ARN of the secret that enables access to the database. This parameter is required when authenticating using Secrets Manager.

$sel:workgroupName:ListSchemas', listSchemas_workgroupName - The serverless workgroup name. This parameter is required when connecting to a serverless workgroup and authenticating using either Secrets Manager or temporary credentials.

$sel:database:ListSchemas', listSchemas_database - The name of the database that contains the schemas to list. If ConnectedDatabase is not specified, this is also the database to connect to with your authentication credentials.

data ListSchemasResponse Source #

See: newListSchemasResponse smart constructor.

Instances

Instances details
Generic ListSchemasResponse Source # 
Instance details

Defined in Amazonka.RedshiftData.ListSchemas

Associated Types

type Rep ListSchemasResponse :: Type -> Type #

Read ListSchemasResponse Source # 
Instance details

Defined in Amazonka.RedshiftData.ListSchemas

Show ListSchemasResponse Source # 
Instance details

Defined in Amazonka.RedshiftData.ListSchemas

NFData ListSchemasResponse Source # 
Instance details

Defined in Amazonka.RedshiftData.ListSchemas

Methods

rnf :: ListSchemasResponse -> () #

Eq ListSchemasResponse Source # 
Instance details

Defined in Amazonka.RedshiftData.ListSchemas

type Rep ListSchemasResponse Source # 
Instance details

Defined in Amazonka.RedshiftData.ListSchemas

type Rep ListSchemasResponse = D1 ('MetaData "ListSchemasResponse" "Amazonka.RedshiftData.ListSchemas" "amazonka-redshift-data-2.0-Hy9KEgtH5Bc3altuyuPuYo" 'False) (C1 ('MetaCons "ListSchemasResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "schemas") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListSchemasResponse Source #

Create a value of ListSchemasResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

ListSchemas, listSchemasResponse_nextToken - A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned NextToken value in the next NextToken parameter and retrying the command. If the NextToken field is empty, all response records have been retrieved for the request.

$sel:schemas:ListSchemasResponse', listSchemasResponse_schemas - The schemas that match the request pattern.

$sel:httpStatus:ListSchemasResponse', listSchemasResponse_httpStatus - The response's http status code.

ListStatements (Paginated)

data ListStatements Source #

See: newListStatements smart constructor.

Instances

Instances details
ToJSON ListStatements Source # 
Instance details

Defined in Amazonka.RedshiftData.ListStatements

ToHeaders ListStatements Source # 
Instance details

Defined in Amazonka.RedshiftData.ListStatements

ToPath ListStatements Source # 
Instance details

Defined in Amazonka.RedshiftData.ListStatements

ToQuery ListStatements Source # 
Instance details

Defined in Amazonka.RedshiftData.ListStatements

AWSPager ListStatements Source # 
Instance details

Defined in Amazonka.RedshiftData.ListStatements

AWSRequest ListStatements Source # 
Instance details

Defined in Amazonka.RedshiftData.ListStatements

Associated Types

type AWSResponse ListStatements #

Generic ListStatements Source # 
Instance details

Defined in Amazonka.RedshiftData.ListStatements

Associated Types

type Rep ListStatements :: Type -> Type #

Read ListStatements Source # 
Instance details

Defined in Amazonka.RedshiftData.ListStatements

Show ListStatements Source # 
Instance details

Defined in Amazonka.RedshiftData.ListStatements

NFData ListStatements Source # 
Instance details

Defined in Amazonka.RedshiftData.ListStatements

Methods

rnf :: ListStatements -> () #

Eq ListStatements Source # 
Instance details

Defined in Amazonka.RedshiftData.ListStatements

Hashable ListStatements Source # 
Instance details

Defined in Amazonka.RedshiftData.ListStatements

type AWSResponse ListStatements Source # 
Instance details

Defined in Amazonka.RedshiftData.ListStatements

type Rep ListStatements Source # 
Instance details

Defined in Amazonka.RedshiftData.ListStatements

type Rep ListStatements = D1 ('MetaData "ListStatements" "Amazonka.RedshiftData.ListStatements" "amazonka-redshift-data-2.0-Hy9KEgtH5Bc3altuyuPuYo" 'False) (C1 ('MetaCons "ListStatements'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "roleLevel") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "statementName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe StatusString))))))

newListStatements :: ListStatements Source #

Create a value of ListStatements with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:maxResults:ListStatements', listStatements_maxResults - The maximum number of SQL statements to return in the response. If more SQL statements exist than fit in one response, then NextToken is returned to page through the results.

ListStatements, listStatements_nextToken - A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned NextToken value in the next NextToken parameter and retrying the command. If the NextToken field is empty, all response records have been retrieved for the request.

$sel:roleLevel:ListStatements', listStatements_roleLevel - A value that filters which statements to return in the response. If true, all statements run by the caller's IAM role are returned. If false, only statements run by the caller's IAM role in the current IAM session are returned. The default is true.

ListStatements, listStatements_statementName - The name of the SQL statement specified as input to BatchExecuteStatement or ExecuteStatement to identify the query. You can list multiple statements by providing a prefix that matches the beginning of the statement name. For example, to list myStatement1, myStatement2, myStatement3, and so on, then provide the a value of myStatement. Data API does a case-sensitive match of SQL statement names to the prefix value you provide.

ListStatements, listStatements_status - The status of the SQL statement to list. Status values are defined as follows:

  • ABORTED - The query run was stopped by the user.
  • ALL - A status value that includes all query statuses. This value can be used to filter results.
  • FAILED - The query run failed.
  • FINISHED - The query has finished running.
  • PICKED - The query has been chosen to be run.
  • STARTED - The query run has started.
  • SUBMITTED - The query was submitted, but not yet processed.

data ListStatementsResponse Source #

See: newListStatementsResponse smart constructor.

Instances

Instances details
Generic ListStatementsResponse Source # 
Instance details

Defined in Amazonka.RedshiftData.ListStatements

Associated Types

type Rep ListStatementsResponse :: Type -> Type #

Read ListStatementsResponse Source # 
Instance details

Defined in Amazonka.RedshiftData.ListStatements

Show ListStatementsResponse Source # 
Instance details

Defined in Amazonka.RedshiftData.ListStatements

NFData ListStatementsResponse Source # 
Instance details

Defined in Amazonka.RedshiftData.ListStatements

Methods

rnf :: ListStatementsResponse -> () #

Eq ListStatementsResponse Source # 
Instance details

Defined in Amazonka.RedshiftData.ListStatements

type Rep ListStatementsResponse Source # 
Instance details

Defined in Amazonka.RedshiftData.ListStatements

type Rep ListStatementsResponse = D1 ('MetaData "ListStatementsResponse" "Amazonka.RedshiftData.ListStatements" "amazonka-redshift-data-2.0-Hy9KEgtH5Bc3altuyuPuYo" 'False) (C1 ('MetaCons "ListStatementsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "statements") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [StatementData]))))

newListStatementsResponse Source #

Create a value of ListStatementsResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

ListStatements, listStatementsResponse_nextToken - A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned NextToken value in the next NextToken parameter and retrying the command. If the NextToken field is empty, all response records have been retrieved for the request.

$sel:httpStatus:ListStatementsResponse', listStatementsResponse_httpStatus - The response's http status code.

$sel:statements:ListStatementsResponse', listStatementsResponse_statements - The SQL statements.

ListTables (Paginated)

data ListTables Source #

See: newListTables smart constructor.

Instances

Instances details
ToJSON ListTables Source # 
Instance details

Defined in Amazonka.RedshiftData.ListTables

ToHeaders ListTables Source # 
Instance details

Defined in Amazonka.RedshiftData.ListTables

Methods

toHeaders :: ListTables -> [Header] #

ToPath ListTables Source # 
Instance details

Defined in Amazonka.RedshiftData.ListTables

ToQuery ListTables Source # 
Instance details

Defined in Amazonka.RedshiftData.ListTables

AWSPager ListTables Source # 
Instance details

Defined in Amazonka.RedshiftData.ListTables

AWSRequest ListTables Source # 
Instance details

Defined in Amazonka.RedshiftData.ListTables

Associated Types

type AWSResponse ListTables #

Generic ListTables Source # 
Instance details

Defined in Amazonka.RedshiftData.ListTables

Associated Types

type Rep ListTables :: Type -> Type #

Read ListTables Source # 
Instance details

Defined in Amazonka.RedshiftData.ListTables

Show ListTables Source # 
Instance details

Defined in Amazonka.RedshiftData.ListTables

NFData ListTables Source # 
Instance details

Defined in Amazonka.RedshiftData.ListTables

Methods

rnf :: ListTables -> () #

Eq ListTables Source # 
Instance details

Defined in Amazonka.RedshiftData.ListTables

Hashable ListTables Source # 
Instance details

Defined in Amazonka.RedshiftData.ListTables

type AWSResponse ListTables Source # 
Instance details

Defined in Amazonka.RedshiftData.ListTables

type Rep ListTables Source # 
Instance details

Defined in Amazonka.RedshiftData.ListTables

newListTables Source #

Create a value of ListTables with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:clusterIdentifier:ListTables', listTables_clusterIdentifier - The cluster identifier. This parameter is required when connecting to a cluster and authenticating using either Secrets Manager or temporary credentials.

$sel:connectedDatabase:ListTables', listTables_connectedDatabase - A database name. The connected database is specified when you connect with your authentication credentials.

$sel:dbUser:ListTables', listTables_dbUser - The database user name. This parameter is required when connecting to a cluster and authenticating using temporary credentials.

$sel:maxResults:ListTables', listTables_maxResults - The maximum number of tables to return in the response. If more tables exist than fit in one response, then NextToken is returned to page through the results.

ListTables, listTables_nextToken - A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned NextToken value in the next NextToken parameter and retrying the command. If the NextToken field is empty, all response records have been retrieved for the request.

$sel:schemaPattern:ListTables', listTables_schemaPattern - A pattern to filter results by schema name. Within a schema pattern, "%" means match any substring of 0 or more characters and "_" means match any one character. Only schema name entries matching the search pattern are returned. If SchemaPattern is not specified, then all tables that match TablePattern are returned. If neither SchemaPattern or TablePattern are specified, then all tables are returned.

ListTables, listTables_secretArn - The name or ARN of the secret that enables access to the database. This parameter is required when authenticating using Secrets Manager.

$sel:tablePattern:ListTables', listTables_tablePattern - A pattern to filter results by table name. Within a table pattern, "%" means match any substring of 0 or more characters and "_" means match any one character. Only table name entries matching the search pattern are returned. If TablePattern is not specified, then all tables that match SchemaPatternare returned. If neither SchemaPattern or TablePattern are specified, then all tables are returned.

$sel:workgroupName:ListTables', listTables_workgroupName - The serverless workgroup name. This parameter is required when connecting to a serverless workgroup and authenticating using either Secrets Manager or temporary credentials.

$sel:database:ListTables', listTables_database - The name of the database that contains the tables to list. If ConnectedDatabase is not specified, this is also the database to connect to with your authentication credentials.

data ListTablesResponse Source #

See: newListTablesResponse smart constructor.

Instances

Instances details
Generic ListTablesResponse Source # 
Instance details

Defined in Amazonka.RedshiftData.ListTables

Associated Types

type Rep ListTablesResponse :: Type -> Type #

Read ListTablesResponse Source # 
Instance details

Defined in Amazonka.RedshiftData.ListTables

Show ListTablesResponse Source # 
Instance details

Defined in Amazonka.RedshiftData.ListTables

NFData ListTablesResponse Source # 
Instance details

Defined in Amazonka.RedshiftData.ListTables

Methods

rnf :: ListTablesResponse -> () #

Eq ListTablesResponse Source # 
Instance details

Defined in Amazonka.RedshiftData.ListTables

type Rep ListTablesResponse Source # 
Instance details

Defined in Amazonka.RedshiftData.ListTables

type Rep ListTablesResponse = D1 ('MetaData "ListTablesResponse" "Amazonka.RedshiftData.ListTables" "amazonka-redshift-data-2.0-Hy9KEgtH5Bc3altuyuPuYo" 'False) (C1 ('MetaCons "ListTablesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "tables") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [TableMember])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListTablesResponse Source #

Create a value of ListTablesResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

ListTables, listTablesResponse_nextToken - A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned NextToken value in the next NextToken parameter and retrying the command. If the NextToken field is empty, all response records have been retrieved for the request.

$sel:tables:ListTablesResponse', listTablesResponse_tables - The tables that match the request pattern.

$sel:httpStatus:ListTablesResponse', listTablesResponse_httpStatus - The response's http status code.

Types

StatementStatusString

newtype StatementStatusString Source #

Instances

Instances details
FromJSON StatementStatusString Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.StatementStatusString

FromJSONKey StatementStatusString Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.StatementStatusString

ToJSON StatementStatusString Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.StatementStatusString

ToJSONKey StatementStatusString Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.StatementStatusString

ToByteString StatementStatusString Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.StatementStatusString

ToHeader StatementStatusString Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.StatementStatusString

ToLog StatementStatusString Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.StatementStatusString

ToQuery StatementStatusString Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.StatementStatusString

FromText StatementStatusString Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.StatementStatusString

ToText StatementStatusString Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.StatementStatusString

FromXML StatementStatusString Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.StatementStatusString

ToXML StatementStatusString Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.StatementStatusString

Generic StatementStatusString Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.StatementStatusString

Associated Types

type Rep StatementStatusString :: Type -> Type #

Read StatementStatusString Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.StatementStatusString

Show StatementStatusString Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.StatementStatusString

NFData StatementStatusString Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.StatementStatusString

Methods

rnf :: StatementStatusString -> () #

Eq StatementStatusString Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.StatementStatusString

Ord StatementStatusString Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.StatementStatusString

Hashable StatementStatusString Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.StatementStatusString

type Rep StatementStatusString Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.StatementStatusString

type Rep StatementStatusString = D1 ('MetaData "StatementStatusString" "Amazonka.RedshiftData.Types.StatementStatusString" "amazonka-redshift-data-2.0-Hy9KEgtH5Bc3altuyuPuYo" 'True) (C1 ('MetaCons "StatementStatusString'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromStatementStatusString") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

StatusString

newtype StatusString Source #

Constructors

StatusString' 

Instances

Instances details
FromJSON StatusString Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.StatusString

FromJSONKey StatusString Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.StatusString

ToJSON StatusString Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.StatusString

ToJSONKey StatusString Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.StatusString

ToByteString StatusString Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.StatusString

ToHeader StatusString Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.StatusString

ToLog StatusString Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.StatusString

ToQuery StatusString Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.StatusString

FromText StatusString Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.StatusString

ToText StatusString Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.StatusString

Methods

toText :: StatusString -> Text #

FromXML StatusString Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.StatusString

ToXML StatusString Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.StatusString

Methods

toXML :: StatusString -> XML #

Generic StatusString Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.StatusString

Associated Types

type Rep StatusString :: Type -> Type #

Read StatusString Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.StatusString

Show StatusString Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.StatusString

NFData StatusString Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.StatusString

Methods

rnf :: StatusString -> () #

Eq StatusString Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.StatusString

Ord StatusString Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.StatusString

Hashable StatusString Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.StatusString

type Rep StatusString Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.StatusString

type Rep StatusString = D1 ('MetaData "StatusString" "Amazonka.RedshiftData.Types.StatusString" "amazonka-redshift-data-2.0-Hy9KEgtH5Bc3altuyuPuYo" 'True) (C1 ('MetaCons "StatusString'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromStatusString") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

ColumnMetadata

data ColumnMetadata Source #

The properties (metadata) of a column.

See: newColumnMetadata smart constructor.

Instances

Instances details
FromJSON ColumnMetadata Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.ColumnMetadata

Generic ColumnMetadata Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.ColumnMetadata

Associated Types

type Rep ColumnMetadata :: Type -> Type #

Read ColumnMetadata Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.ColumnMetadata

Show ColumnMetadata Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.ColumnMetadata

NFData ColumnMetadata Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.ColumnMetadata

Methods

rnf :: ColumnMetadata -> () #

Eq ColumnMetadata Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.ColumnMetadata

Hashable ColumnMetadata Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.ColumnMetadata

type Rep ColumnMetadata Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.ColumnMetadata

type Rep ColumnMetadata = D1 ('MetaData "ColumnMetadata" "Amazonka.RedshiftData.Types.ColumnMetadata" "amazonka-redshift-data-2.0-Hy9KEgtH5Bc3altuyuPuYo" 'False) (C1 ('MetaCons "ColumnMetadata'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "columnDefault") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "isCaseSensitive") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "isCurrency") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))) :*: (S1 ('MetaSel ('Just "isSigned") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "label") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "length") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))))) :*: ((S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "nullable") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "precision") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)))) :*: ((S1 ('MetaSel ('Just "scale") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "schemaName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "tableName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "typeName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))))

newColumnMetadata :: ColumnMetadata Source #

Create a value of ColumnMetadata with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:columnDefault:ColumnMetadata', columnMetadata_columnDefault - The default value of the column.

$sel:isCaseSensitive:ColumnMetadata', columnMetadata_isCaseSensitive - A value that indicates whether the column is case-sensitive.

$sel:isCurrency:ColumnMetadata', columnMetadata_isCurrency - A value that indicates whether the column contains currency values.

$sel:isSigned:ColumnMetadata', columnMetadata_isSigned - A value that indicates whether an integer column is signed.

$sel:label:ColumnMetadata', columnMetadata_label - The label for the column.

$sel:length:ColumnMetadata', columnMetadata_length - The length of the column.

$sel:name:ColumnMetadata', columnMetadata_name - The name of the column.

$sel:nullable:ColumnMetadata', columnMetadata_nullable - A value that indicates whether the column is nullable.

$sel:precision:ColumnMetadata', columnMetadata_precision - The precision value of a decimal number column.

$sel:scale:ColumnMetadata', columnMetadata_scale - The scale value of a decimal number column.

$sel:schemaName:ColumnMetadata', columnMetadata_schemaName - The name of the schema that contains the table that includes the column.

$sel:tableName:ColumnMetadata', columnMetadata_tableName - The name of the table that includes the column.

$sel:typeName:ColumnMetadata', columnMetadata_typeName - The database-specific data type of the column.

Field

data Field Source #

A data value in a column.

See: newField smart constructor.

Instances

Instances details
FromJSON Field Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.Field

Generic Field Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.Field

Associated Types

type Rep Field :: Type -> Type #

Methods

from :: Field -> Rep Field x #

to :: Rep Field x -> Field #

Read Field Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.Field

Show Field Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.Field

Methods

showsPrec :: Int -> Field -> ShowS #

show :: Field -> String #

showList :: [Field] -> ShowS #

NFData Field Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.Field

Methods

rnf :: Field -> () #

Eq Field Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.Field

Methods

(==) :: Field -> Field -> Bool #

(/=) :: Field -> Field -> Bool #

Hashable Field Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.Field

Methods

hashWithSalt :: Int -> Field -> Int #

hash :: Field -> Int #

type Rep Field Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.Field

type Rep Field = D1 ('MetaData "Field" "Amazonka.RedshiftData.Types.Field" "amazonka-redshift-data-2.0-Hy9KEgtH5Bc3altuyuPuYo" 'False) (C1 ('MetaCons "Field'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "blobValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Base64)) :*: (S1 ('MetaSel ('Just "booleanValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "doubleValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)))) :*: (S1 ('MetaSel ('Just "isNull") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "longValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "stringValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newField :: Field Source #

Create a value of Field with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:blobValue:Field', field_blobValue - A value of the BLOB data type.-- -- Note: This Lens automatically encodes and decodes Base64 data. -- The underlying isomorphism will encode to Base64 representation during -- serialisation, and decode from Base64 representation during deserialisation. -- This Lens accepts and returns only raw unencoded data.

$sel:booleanValue:Field', field_booleanValue - A value of the Boolean data type.

$sel:doubleValue:Field', field_doubleValue - A value of the double data type.

$sel:isNull:Field', field_isNull - A value that indicates whether the data is NULL.

$sel:longValue:Field', field_longValue - A value of the long data type.

$sel:stringValue:Field', field_stringValue - A value of the string data type.

SqlParameter

data SqlParameter Source #

A parameter used in a SQL statement.

See: newSqlParameter smart constructor.

Constructors

SqlParameter' Text Text 

Instances

Instances details
FromJSON SqlParameter Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.SqlParameter

ToJSON SqlParameter Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.SqlParameter

Generic SqlParameter Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.SqlParameter

Associated Types

type Rep SqlParameter :: Type -> Type #

Read SqlParameter Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.SqlParameter

Show SqlParameter Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.SqlParameter

NFData SqlParameter Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.SqlParameter

Methods

rnf :: SqlParameter -> () #

Eq SqlParameter Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.SqlParameter

Hashable SqlParameter Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.SqlParameter

type Rep SqlParameter Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.SqlParameter

type Rep SqlParameter = D1 ('MetaData "SqlParameter" "Amazonka.RedshiftData.Types.SqlParameter" "amazonka-redshift-data-2.0-Hy9KEgtH5Bc3altuyuPuYo" 'False) (C1 ('MetaCons "SqlParameter'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newSqlParameter Source #

Create a value of SqlParameter with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:name:SqlParameter', sqlParameter_name - The name of the parameter.

$sel:value:SqlParameter', sqlParameter_value - The value of the parameter. Amazon Redshift implicitly converts to the proper data type. For more information, see Data types in the Amazon Redshift Database Developer Guide.

StatementData

data StatementData Source #

The SQL statement to run.

See: newStatementData smart constructor.

Instances

Instances details
FromJSON StatementData Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.StatementData

Generic StatementData Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.StatementData

Associated Types

type Rep StatementData :: Type -> Type #

Read StatementData Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.StatementData

Show StatementData Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.StatementData

NFData StatementData Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.StatementData

Methods

rnf :: StatementData -> () #

Eq StatementData Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.StatementData

Hashable StatementData Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.StatementData

type Rep StatementData Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.StatementData

newStatementData Source #

Create a value of StatementData with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:createdAt:StatementData', statementData_createdAt - The date and time (UTC) the statement was created.

$sel:isBatchStatement:StatementData', statementData_isBatchStatement - A value that indicates whether the statement is a batch query request.

$sel:queryParameters:StatementData', statementData_queryParameters - The parameters used in a SQL statement.

$sel:queryString:StatementData', statementData_queryString - The SQL statement.

$sel:queryStrings:StatementData', statementData_queryStrings - One or more SQL statements. Each query string in the array corresponds to one of the queries in a batch query request.

$sel:secretArn:StatementData', statementData_secretArn - The name or Amazon Resource Name (ARN) of the secret that enables access to the database.

$sel:statementName:StatementData', statementData_statementName - The name of the SQL statement.

$sel:status:StatementData', statementData_status - The status of the SQL statement. An example is the that the SQL statement finished.

$sel:updatedAt:StatementData', statementData_updatedAt - The date and time (UTC) that the statement metadata was last updated.

$sel:id:StatementData', statementData_id - The SQL statement identifier. This value is a universally unique identifier (UUID) generated by Amazon Redshift Data API.

SubStatementData

data SubStatementData Source #

Information about an SQL statement.

See: newSubStatementData smart constructor.

Instances

Instances details
FromJSON SubStatementData Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.SubStatementData

Generic SubStatementData Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.SubStatementData

Associated Types

type Rep SubStatementData :: Type -> Type #

Read SubStatementData Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.SubStatementData

Show SubStatementData Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.SubStatementData

NFData SubStatementData Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.SubStatementData

Methods

rnf :: SubStatementData -> () #

Eq SubStatementData Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.SubStatementData

Hashable SubStatementData Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.SubStatementData

type Rep SubStatementData Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.SubStatementData

type Rep SubStatementData = D1 ('MetaData "SubStatementData" "Amazonka.RedshiftData.Types.SubStatementData" "amazonka-redshift-data-2.0-Hy9KEgtH5Bc3altuyuPuYo" 'False) (C1 ('MetaCons "SubStatementData'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "createdAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "duration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer))) :*: (S1 ('MetaSel ('Just "error") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "hasResultSet") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "queryString") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "redshiftQueryId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: (S1 ('MetaSel ('Just "resultRows") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "resultSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)))) :*: (S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe StatementStatusString)) :*: (S1 ('MetaSel ('Just "updatedAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))))

newSubStatementData Source #

Create a value of SubStatementData with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:createdAt:SubStatementData', subStatementData_createdAt - The date and time (UTC) the statement was created.

$sel:duration:SubStatementData', subStatementData_duration - The amount of time in nanoseconds that the statement ran.

$sel:error:SubStatementData', subStatementData_error - The error message from the cluster if the SQL statement encountered an error while running.

$sel:hasResultSet:SubStatementData', subStatementData_hasResultSet - A value that indicates whether the statement has a result set. The result set can be empty. The value is true for an empty result set.

$sel:queryString:SubStatementData', subStatementData_queryString - The SQL statement text.

$sel:redshiftQueryId:SubStatementData', subStatementData_redshiftQueryId - The SQL statement identifier. This value is a universally unique identifier (UUID) generated by Amazon Redshift Data API.

$sel:resultRows:SubStatementData', subStatementData_resultRows - Either the number of rows returned from the SQL statement or the number of rows affected. If result size is greater than zero, the result rows can be the number of rows affected by SQL statements such as INSERT, UPDATE, DELETE, COPY, and others. A -1 indicates the value is null.

$sel:resultSize:SubStatementData', subStatementData_resultSize - The size in bytes of the returned results. A -1 indicates the value is null.

$sel:status:SubStatementData', subStatementData_status - The status of the SQL statement. An example is the that the SQL statement finished.

$sel:updatedAt:SubStatementData', subStatementData_updatedAt - The date and time (UTC) that the statement metadata was last updated.

$sel:id:SubStatementData', subStatementData_id - The identifier of the SQL statement. This value is a universally unique identifier (UUID) generated by Amazon Redshift Data API. A suffix indicates the number of the SQL statement. For example, d9b6c0c9-0747-4bf4-b142-e8883122f766:2 has a suffix of :2 that indicates the second SQL statement of a batch query.

TableMember

data TableMember Source #

The properties of a table.

See: newTableMember smart constructor.

Constructors

TableMember' (Maybe Text) (Maybe Text) (Maybe Text) 

Instances

Instances details
FromJSON TableMember Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.TableMember

Generic TableMember Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.TableMember

Associated Types

type Rep TableMember :: Type -> Type #

Read TableMember Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.TableMember

Show TableMember Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.TableMember

NFData TableMember Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.TableMember

Methods

rnf :: TableMember -> () #

Eq TableMember Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.TableMember

Hashable TableMember Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.TableMember

type Rep TableMember Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.TableMember

type Rep TableMember = D1 ('MetaData "TableMember" "Amazonka.RedshiftData.Types.TableMember" "amazonka-redshift-data-2.0-Hy9KEgtH5Bc3altuyuPuYo" 'False) (C1 ('MetaCons "TableMember'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "schema") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newTableMember :: TableMember Source #

Create a value of TableMember with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:name:TableMember', tableMember_name - The name of the table.

$sel:schema:TableMember', tableMember_schema - The schema containing the table.

$sel:type':TableMember', tableMember_type - The type of the table. Possible values include TABLE, VIEW, SYSTEM TABLE, GLOBAL TEMPORARY, LOCAL TEMPORARY, ALIAS, and SYNONYM.