libZSservicesZSamazonka-redshift-dataZSamazonka-redshift-data
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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, see Using the Amazon Redshift Data API in the Amazon Redshift Cluster 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.

ValidationException

_ValidationException :: AsError a => Getting (First ServiceError) a ServiceError Source #

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

ExecuteStatementException

_ExecuteStatementException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The SQL statement encountered an environmental error while running.

InternalServerException

_InternalServerException :: AsError a => Getting (First ServiceError) a ServiceError Source #

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

ActiveStatementsExceededException

_ActiveStatementsExceededException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The number of active statements exceeds the limit.

ResourceNotFoundException

_ResourceNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #

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

BatchExecuteStatementException

_BatchExecuteStatementException :: AsError a => Getting (First ServiceError) a ServiceError Source #

An SQL statement encountered an environmental error while running.

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.

ListStatements (Paginated)

data ListStatements Source #

See: newListStatements smart constructor.

Instances

Instances details
Eq ListStatements Source # 
Instance details

Defined in Amazonka.RedshiftData.ListStatements

Read ListStatements Source # 
Instance details

Defined in Amazonka.RedshiftData.ListStatements

Show ListStatements Source # 
Instance details

Defined in Amazonka.RedshiftData.ListStatements

Generic ListStatements Source # 
Instance details

Defined in Amazonka.RedshiftData.ListStatements

Associated Types

type Rep ListStatements :: Type -> Type #

NFData ListStatements Source # 
Instance details

Defined in Amazonka.RedshiftData.ListStatements

Methods

rnf :: ListStatements -> () #

Hashable ListStatements Source # 
Instance details

Defined in Amazonka.RedshiftData.ListStatements

ToJSON 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 #

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

type Rep ListStatements Source # 
Instance details

Defined in Amazonka.RedshiftData.ListStatements

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

Defined in Amazonka.RedshiftData.ListStatements

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:status: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.

$sel:nextToken: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:statementName: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.

$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.

$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.

data ListStatementsResponse Source #

See: newListStatementsResponse smart constructor.

Instances

Instances details
Eq ListStatementsResponse Source # 
Instance details

Defined in Amazonka.RedshiftData.ListStatements

Read ListStatementsResponse Source # 
Instance details

Defined in Amazonka.RedshiftData.ListStatements

Show ListStatementsResponse Source # 
Instance details

Defined in Amazonka.RedshiftData.ListStatements

Generic ListStatementsResponse Source # 
Instance details

Defined in Amazonka.RedshiftData.ListStatements

Associated Types

type Rep ListStatementsResponse :: Type -> Type #

NFData ListStatementsResponse Source # 
Instance details

Defined in Amazonka.RedshiftData.ListStatements

Methods

rnf :: ListStatementsResponse -> () #

type Rep ListStatementsResponse Source # 
Instance details

Defined in Amazonka.RedshiftData.ListStatements

type Rep ListStatementsResponse = D1 ('MetaData "ListStatementsResponse" "Amazonka.RedshiftData.ListStatements" "libZSservicesZSamazonka-redshift-dataZSamazonka-redshift-data" '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:

$sel:nextToken: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.

ListDatabases (Paginated)

data ListDatabases Source #

See: newListDatabases smart constructor.

Instances

Instances details
Eq ListDatabases Source # 
Instance details

Defined in Amazonka.RedshiftData.ListDatabases

Read ListDatabases Source # 
Instance details

Defined in Amazonka.RedshiftData.ListDatabases

Show ListDatabases Source # 
Instance details

Defined in Amazonka.RedshiftData.ListDatabases

Generic ListDatabases Source # 
Instance details

Defined in Amazonka.RedshiftData.ListDatabases

Associated Types

type Rep ListDatabases :: Type -> Type #

NFData ListDatabases Source # 
Instance details

Defined in Amazonka.RedshiftData.ListDatabases

Methods

rnf :: ListDatabases -> () #

Hashable ListDatabases Source # 
Instance details

Defined in Amazonka.RedshiftData.ListDatabases

ToJSON 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 #

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

type Rep ListDatabases Source # 
Instance details

Defined in Amazonka.RedshiftData.ListDatabases

type Rep ListDatabases = D1 ('MetaData "ListDatabases" "Amazonka.RedshiftData.ListDatabases" "libZSservicesZSamazonka-redshift-dataZSamazonka-redshift-data" 'False) (C1 ('MetaCons "ListDatabases'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "dbUser") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "secretArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "clusterIdentifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "database") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse ListDatabases Source # 
Instance details

Defined in Amazonka.RedshiftData.ListDatabases

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:dbUser:ListDatabases', listDatabases_dbUser - The database user name. This parameter is required when authenticating using temporary credentials.

$sel:nextToken: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.

$sel:secretArn: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: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.

$sel:clusterIdentifier:ListDatabases', listDatabases_clusterIdentifier - The cluster identifier. This parameter is required when 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
Eq ListDatabasesResponse Source # 
Instance details

Defined in Amazonka.RedshiftData.ListDatabases

Read ListDatabasesResponse Source # 
Instance details

Defined in Amazonka.RedshiftData.ListDatabases

Show ListDatabasesResponse Source # 
Instance details

Defined in Amazonka.RedshiftData.ListDatabases

Generic ListDatabasesResponse Source # 
Instance details

Defined in Amazonka.RedshiftData.ListDatabases

Associated Types

type Rep ListDatabasesResponse :: Type -> Type #

NFData ListDatabasesResponse Source # 
Instance details

Defined in Amazonka.RedshiftData.ListDatabases

Methods

rnf :: ListDatabasesResponse -> () #

type Rep ListDatabasesResponse Source # 
Instance details

Defined in Amazonka.RedshiftData.ListDatabases

type Rep ListDatabasesResponse = D1 ('MetaData "ListDatabasesResponse" "Amazonka.RedshiftData.ListDatabases" "libZSservicesZSamazonka-redshift-dataZSamazonka-redshift-data" 'False) (C1 ('MetaCons "ListDatabasesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "databases") '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:nextToken: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:databases:ListDatabasesResponse', listDatabasesResponse_databases - The names of databases.

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

ListSchemas (Paginated)

data ListSchemas Source #

See: newListSchemas smart constructor.

Instances

Instances details
Eq ListSchemas Source # 
Instance details

Defined in Amazonka.RedshiftData.ListSchemas

Read ListSchemas Source # 
Instance details

Defined in Amazonka.RedshiftData.ListSchemas

Show ListSchemas Source # 
Instance details

Defined in Amazonka.RedshiftData.ListSchemas

Generic ListSchemas Source # 
Instance details

Defined in Amazonka.RedshiftData.ListSchemas

Associated Types

type Rep ListSchemas :: Type -> Type #

NFData ListSchemas Source # 
Instance details

Defined in Amazonka.RedshiftData.ListSchemas

Methods

rnf :: ListSchemas -> () #

Hashable ListSchemas Source # 
Instance details

Defined in Amazonka.RedshiftData.ListSchemas

ToJSON 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 #

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

type Rep ListSchemas Source # 
Instance details

Defined in Amazonka.RedshiftData.ListSchemas

type Rep ListSchemas = D1 ('MetaData "ListSchemas" "Amazonka.RedshiftData.ListSchemas" "libZSservicesZSamazonka-redshift-dataZSamazonka-redshift-data" 'False) (C1 ('MetaCons "ListSchemas'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "dbUser") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "connectedDatabase") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "secretArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "schemaPattern") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "clusterIdentifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "database") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse 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:dbUser:ListSchemas', listSchemas_dbUser - The database user name. This parameter is required when authenticating using temporary credentials.

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

$sel:nextToken: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:secretArn: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: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.

$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.

$sel:clusterIdentifier:ListSchemas', listSchemas_clusterIdentifier - The cluster identifier. This parameter is required when 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
Eq ListSchemasResponse Source # 
Instance details

Defined in Amazonka.RedshiftData.ListSchemas

Read ListSchemasResponse Source # 
Instance details

Defined in Amazonka.RedshiftData.ListSchemas

Show ListSchemasResponse Source # 
Instance details

Defined in Amazonka.RedshiftData.ListSchemas

Generic ListSchemasResponse Source # 
Instance details

Defined in Amazonka.RedshiftData.ListSchemas

Associated Types

type Rep ListSchemasResponse :: Type -> Type #

NFData ListSchemasResponse Source # 
Instance details

Defined in Amazonka.RedshiftData.ListSchemas

Methods

rnf :: ListSchemasResponse -> () #

type Rep ListSchemasResponse Source # 
Instance details

Defined in Amazonka.RedshiftData.ListSchemas

type Rep ListSchemasResponse = D1 ('MetaData "ListSchemasResponse" "Amazonka.RedshiftData.ListSchemas" "libZSservicesZSamazonka-redshift-dataZSamazonka-redshift-data" 'False) (C1 ('MetaCons "ListSchemasResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "schemas") '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))))

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:

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

$sel:nextToken: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:httpStatus:ListSchemasResponse', listSchemasResponse_httpStatus - The response's http status code.

DescribeStatement

data DescribeStatement Source #

See: newDescribeStatement smart constructor.

Constructors

DescribeStatement' Text 

Instances

Instances details
Eq DescribeStatement Source # 
Instance details

Defined in Amazonka.RedshiftData.DescribeStatement

Read DescribeStatement Source # 
Instance details

Defined in Amazonka.RedshiftData.DescribeStatement

Show DescribeStatement Source # 
Instance details

Defined in Amazonka.RedshiftData.DescribeStatement

Generic DescribeStatement Source # 
Instance details

Defined in Amazonka.RedshiftData.DescribeStatement

Associated Types

type Rep DescribeStatement :: Type -> Type #

NFData DescribeStatement Source # 
Instance details

Defined in Amazonka.RedshiftData.DescribeStatement

Methods

rnf :: DescribeStatement -> () #

Hashable DescribeStatement Source # 
Instance details

Defined in Amazonka.RedshiftData.DescribeStatement

ToJSON DescribeStatement Source # 
Instance details

Defined in Amazonka.RedshiftData.DescribeStatement

AWSRequest DescribeStatement Source # 
Instance details

Defined in Amazonka.RedshiftData.DescribeStatement

Associated Types

type AWSResponse 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

type Rep DescribeStatement Source # 
Instance details

Defined in Amazonka.RedshiftData.DescribeStatement

type Rep DescribeStatement = D1 ('MetaData "DescribeStatement" "Amazonka.RedshiftData.DescribeStatement" "libZSservicesZSamazonka-redshift-dataZSamazonka-redshift-data" 'False) (C1 ('MetaCons "DescribeStatement'" 'PrefixI 'True) (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DescribeStatement Source # 
Instance details

Defined in Amazonka.RedshiftData.DescribeStatement

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:

$sel:id: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
Eq DescribeStatementResponse Source # 
Instance details

Defined in Amazonka.RedshiftData.DescribeStatement

Read DescribeStatementResponse Source # 
Instance details

Defined in Amazonka.RedshiftData.DescribeStatement

Show DescribeStatementResponse Source # 
Instance details

Defined in Amazonka.RedshiftData.DescribeStatement

Generic DescribeStatementResponse Source # 
Instance details

Defined in Amazonka.RedshiftData.DescribeStatement

Associated Types

type Rep DescribeStatementResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-redshift-dataZSamazonka-redshift-data" 'False) (C1 ('MetaCons "DescribeStatementResponse'" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe StatusString)) :*: S1 ('MetaSel ('Just "redshiftQueryId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer))) :*: (S1 ('MetaSel ('Just "resultSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "dbUser") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "subStatements") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [SubStatementData])) :*: S1 ('MetaSel ('Just "database") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "createdAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "queryParameters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty SqlParameter))) :*: S1 ('MetaSel ('Just "error") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))) :*: (((S1 ('MetaSel ('Just "resultRows") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "redshiftPid") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer))) :*: (S1 ('MetaSel ('Just "clusterIdentifier") '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 "updatedAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "secretArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "duration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: (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:status: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:redshiftQueryId: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.

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

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

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

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

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

$sel:queryParameters:DescribeStatementResponse', describeStatementResponse_queryParameters - The parameters for the SQL statement.

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

$sel:resultRows: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.

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

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

$sel:hasResultSet:DescribeStatementResponse', describeStatementResponse_hasResultSet - A value that indicates whether the statement has a result set. The result set can be empty.

$sel:queryString:DescribeStatementResponse', describeStatementResponse_queryString - The SQL statement text.

$sel:updatedAt: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:secretArn:DescribeStatementResponse', describeStatementResponse_secretArn - The name or Amazon Resource Name (ARN) of the secret that enables access to the database.

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

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

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

CancelStatement

data CancelStatement Source #

See: newCancelStatement smart constructor.

Constructors

CancelStatement' Text 

Instances

Instances details
Eq CancelStatement Source # 
Instance details

Defined in Amazonka.RedshiftData.CancelStatement

Read CancelStatement Source # 
Instance details

Defined in Amazonka.RedshiftData.CancelStatement

Show CancelStatement Source # 
Instance details

Defined in Amazonka.RedshiftData.CancelStatement

Generic CancelStatement Source # 
Instance details

Defined in Amazonka.RedshiftData.CancelStatement

Associated Types

type Rep CancelStatement :: Type -> Type #

NFData CancelStatement Source # 
Instance details

Defined in Amazonka.RedshiftData.CancelStatement

Methods

rnf :: CancelStatement -> () #

Hashable CancelStatement Source # 
Instance details

Defined in Amazonka.RedshiftData.CancelStatement

ToJSON CancelStatement Source # 
Instance details

Defined in Amazonka.RedshiftData.CancelStatement

AWSRequest CancelStatement Source # 
Instance details

Defined in Amazonka.RedshiftData.CancelStatement

Associated Types

type AWSResponse 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

type Rep CancelStatement Source # 
Instance details

Defined in Amazonka.RedshiftData.CancelStatement

type Rep CancelStatement = D1 ('MetaData "CancelStatement" "Amazonka.RedshiftData.CancelStatement" "libZSservicesZSamazonka-redshift-dataZSamazonka-redshift-data" 'False) (C1 ('MetaCons "CancelStatement'" 'PrefixI 'True) (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse CancelStatement Source # 
Instance details

Defined in Amazonka.RedshiftData.CancelStatement

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:

$sel:id: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
Eq CancelStatementResponse Source # 
Instance details

Defined in Amazonka.RedshiftData.CancelStatement

Read CancelStatementResponse Source # 
Instance details

Defined in Amazonka.RedshiftData.CancelStatement

Show CancelStatementResponse Source # 
Instance details

Defined in Amazonka.RedshiftData.CancelStatement

Generic CancelStatementResponse Source # 
Instance details

Defined in Amazonka.RedshiftData.CancelStatement

Associated Types

type Rep CancelStatementResponse :: Type -> Type #

NFData CancelStatementResponse Source # 
Instance details

Defined in Amazonka.RedshiftData.CancelStatement

Methods

rnf :: CancelStatementResponse -> () #

type Rep CancelStatementResponse Source # 
Instance details

Defined in Amazonka.RedshiftData.CancelStatement

type Rep CancelStatementResponse = D1 ('MetaData "CancelStatementResponse" "Amazonka.RedshiftData.CancelStatement" "libZSservicesZSamazonka-redshift-dataZSamazonka-redshift-data" '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:

$sel:status:CancelStatementResponse', cancelStatementResponse_status - A value that indicates whether the cancel statement succeeded (true).

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

DescribeTable (Paginated)

data DescribeTable Source #

See: newDescribeTable smart constructor.

Instances

Instances details
Eq DescribeTable Source # 
Instance details

Defined in Amazonka.RedshiftData.DescribeTable

Read DescribeTable Source # 
Instance details

Defined in Amazonka.RedshiftData.DescribeTable

Show DescribeTable Source # 
Instance details

Defined in Amazonka.RedshiftData.DescribeTable

Generic DescribeTable Source # 
Instance details

Defined in Amazonka.RedshiftData.DescribeTable

Associated Types

type Rep DescribeTable :: Type -> Type #

NFData DescribeTable Source # 
Instance details

Defined in Amazonka.RedshiftData.DescribeTable

Methods

rnf :: DescribeTable -> () #

Hashable DescribeTable Source # 
Instance details

Defined in Amazonka.RedshiftData.DescribeTable

ToJSON 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 #

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

type Rep DescribeTable Source # 
Instance details

Defined in Amazonka.RedshiftData.DescribeTable

type AWSResponse 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:dbUser:DescribeTable', describeTable_dbUser - The database user name. This parameter is required when authenticating using temporary credentials.

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

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

$sel:nextToken: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.

$sel:secretArn: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: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.

$sel:clusterIdentifier:DescribeTable', describeTable_clusterIdentifier - The cluster identifier. This parameter is required when 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
Eq DescribeTableResponse Source # 
Instance details

Defined in Amazonka.RedshiftData.DescribeTable

Read DescribeTableResponse Source # 
Instance details

Defined in Amazonka.RedshiftData.DescribeTable

Show DescribeTableResponse Source # 
Instance details

Defined in Amazonka.RedshiftData.DescribeTable

Generic DescribeTableResponse Source # 
Instance details

Defined in Amazonka.RedshiftData.DescribeTable

Associated Types

type Rep DescribeTableResponse :: Type -> Type #

NFData DescribeTableResponse Source # 
Instance details

Defined in Amazonka.RedshiftData.DescribeTable

Methods

rnf :: DescribeTableResponse -> () #

type Rep DescribeTableResponse Source # 
Instance details

Defined in Amazonka.RedshiftData.DescribeTable

type Rep DescribeTableResponse = D1 ('MetaData "DescribeTableResponse" "Amazonka.RedshiftData.DescribeTable" "libZSservicesZSamazonka-redshift-dataZSamazonka-redshift-data" '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.

$sel:nextToken: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.

$sel:tableName:DescribeTableResponse', describeTableResponse_tableName - The table name.

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

BatchExecuteStatement

data BatchExecuteStatement Source #

See: newBatchExecuteStatement smart constructor.

Instances

Instances details
Eq BatchExecuteStatement Source # 
Instance details

Defined in Amazonka.RedshiftData.BatchExecuteStatement

Read BatchExecuteStatement Source # 
Instance details

Defined in Amazonka.RedshiftData.BatchExecuteStatement

Show BatchExecuteStatement Source # 
Instance details

Defined in Amazonka.RedshiftData.BatchExecuteStatement

Generic BatchExecuteStatement Source # 
Instance details

Defined in Amazonka.RedshiftData.BatchExecuteStatement

Associated Types

type Rep BatchExecuteStatement :: Type -> Type #

NFData BatchExecuteStatement Source # 
Instance details

Defined in Amazonka.RedshiftData.BatchExecuteStatement

Methods

rnf :: BatchExecuteStatement -> () #

Hashable BatchExecuteStatement Source # 
Instance details

Defined in Amazonka.RedshiftData.BatchExecuteStatement

ToJSON BatchExecuteStatement Source # 
Instance details

Defined in Amazonka.RedshiftData.BatchExecuteStatement

AWSRequest BatchExecuteStatement Source # 
Instance details

Defined in Amazonka.RedshiftData.BatchExecuteStatement

Associated Types

type AWSResponse 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

type Rep BatchExecuteStatement Source # 
Instance details

Defined in Amazonka.RedshiftData.BatchExecuteStatement

type Rep BatchExecuteStatement = D1 ('MetaData "BatchExecuteStatement" "Amazonka.RedshiftData.BatchExecuteStatement" "libZSservicesZSamazonka-redshift-dataZSamazonka-redshift-data" 'False) (C1 ('MetaCons "BatchExecuteStatement'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "dbUser") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "statementName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "secretArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "withEvent") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "clusterIdentifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "database") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "sqls") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty Text))))))
type AWSResponse 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:dbUser:BatchExecuteStatement', batchExecuteStatement_dbUser - The database user name. This parameter is required when authenticating using temporary credentials.

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

$sel:secretArn: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.

$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.

$sel:clusterIdentifier:BatchExecuteStatement', batchExecuteStatement_clusterIdentifier - The cluster identifier. This parameter is required when authenticating using either Secrets Manager or temporary credentials.

$sel:database: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.

data BatchExecuteStatementResponse Source #

See: newBatchExecuteStatementResponse smart constructor.

Instances

Instances details
Eq BatchExecuteStatementResponse Source # 
Instance details

Defined in Amazonka.RedshiftData.BatchExecuteStatement

Read BatchExecuteStatementResponse Source # 
Instance details

Defined in Amazonka.RedshiftData.BatchExecuteStatement

Show BatchExecuteStatementResponse Source # 
Instance details

Defined in Amazonka.RedshiftData.BatchExecuteStatement

Generic BatchExecuteStatementResponse Source # 
Instance details

Defined in Amazonka.RedshiftData.BatchExecuteStatement

Associated Types

type Rep BatchExecuteStatementResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-redshift-dataZSamazonka-redshift-data" 'False) (C1 ('MetaCons "BatchExecuteStatementResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "dbUser") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "database") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "createdAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))) :*: ((S1 ('MetaSel ('Just "clusterIdentifier") '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 "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:

$sel:dbUser:BatchExecuteStatement', batchExecuteStatementResponse_dbUser - The database user name.

$sel:database:BatchExecuteStatement', batchExecuteStatementResponse_database - The name of the database.

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

$sel:clusterIdentifier:BatchExecuteStatement', batchExecuteStatementResponse_clusterIdentifier - The cluster identifier.

$sel:id: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.

$sel:secretArn:BatchExecuteStatement', batchExecuteStatementResponse_secretArn - The name or ARN of the secret that enables access to the database.

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

ListTables (Paginated)

data ListTables Source #

See: newListTables smart constructor.

Instances

Instances details
Eq ListTables Source # 
Instance details

Defined in Amazonka.RedshiftData.ListTables

Read ListTables Source # 
Instance details

Defined in Amazonka.RedshiftData.ListTables

Show ListTables Source # 
Instance details

Defined in Amazonka.RedshiftData.ListTables

Generic ListTables Source # 
Instance details

Defined in Amazonka.RedshiftData.ListTables

Associated Types

type Rep ListTables :: Type -> Type #

NFData ListTables Source # 
Instance details

Defined in Amazonka.RedshiftData.ListTables

Methods

rnf :: ListTables -> () #

Hashable ListTables Source # 
Instance details

Defined in Amazonka.RedshiftData.ListTables

ToJSON 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 #

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

type Rep ListTables Source # 
Instance details

Defined in Amazonka.RedshiftData.ListTables

type AWSResponse 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:dbUser:ListTables', listTables_dbUser - The database user name. This parameter is required when authenticating using temporary credentials.

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

$sel:nextToken: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:secretArn: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: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.

$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.

$sel:clusterIdentifier:ListTables', listTables_clusterIdentifier - The cluster identifier. This parameter is required when 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
Eq ListTablesResponse Source # 
Instance details

Defined in Amazonka.RedshiftData.ListTables

Read ListTablesResponse Source # 
Instance details

Defined in Amazonka.RedshiftData.ListTables

Show ListTablesResponse Source # 
Instance details

Defined in Amazonka.RedshiftData.ListTables

Generic ListTablesResponse Source # 
Instance details

Defined in Amazonka.RedshiftData.ListTables

Associated Types

type Rep ListTablesResponse :: Type -> Type #

NFData ListTablesResponse Source # 
Instance details

Defined in Amazonka.RedshiftData.ListTables

Methods

rnf :: ListTablesResponse -> () #

type Rep ListTablesResponse Source # 
Instance details

Defined in Amazonka.RedshiftData.ListTables

type Rep ListTablesResponse = D1 ('MetaData "ListTablesResponse" "Amazonka.RedshiftData.ListTables" "libZSservicesZSamazonka-redshift-dataZSamazonka-redshift-data" '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:

$sel:nextToken: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.

ExecuteStatement

data ExecuteStatement Source #

See: newExecuteStatement smart constructor.

Instances

Instances details
Eq ExecuteStatement Source # 
Instance details

Defined in Amazonka.RedshiftData.ExecuteStatement

Read ExecuteStatement Source # 
Instance details

Defined in Amazonka.RedshiftData.ExecuteStatement

Show ExecuteStatement Source # 
Instance details

Defined in Amazonka.RedshiftData.ExecuteStatement

Generic ExecuteStatement Source # 
Instance details

Defined in Amazonka.RedshiftData.ExecuteStatement

Associated Types

type Rep ExecuteStatement :: Type -> Type #

NFData ExecuteStatement Source # 
Instance details

Defined in Amazonka.RedshiftData.ExecuteStatement

Methods

rnf :: ExecuteStatement -> () #

Hashable ExecuteStatement Source # 
Instance details

Defined in Amazonka.RedshiftData.ExecuteStatement

ToJSON ExecuteStatement Source # 
Instance details

Defined in Amazonka.RedshiftData.ExecuteStatement

AWSRequest ExecuteStatement Source # 
Instance details

Defined in Amazonka.RedshiftData.ExecuteStatement

Associated Types

type AWSResponse 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

type Rep ExecuteStatement Source # 
Instance details

Defined in Amazonka.RedshiftData.ExecuteStatement

type AWSResponse 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:dbUser:ExecuteStatement', executeStatement_dbUser - The database user name. This parameter is required when authenticating using temporary credentials.

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

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

$sel:secretArn: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.

$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.

$sel:clusterIdentifier:ExecuteStatement', executeStatement_clusterIdentifier - The cluster identifier. This parameter is required when authenticating using either Secrets Manager or temporary credentials.

$sel:database: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
Eq ExecuteStatementResponse Source # 
Instance details

Defined in Amazonka.RedshiftData.ExecuteStatement

Read ExecuteStatementResponse Source # 
Instance details

Defined in Amazonka.RedshiftData.ExecuteStatement

Show ExecuteStatementResponse Source # 
Instance details

Defined in Amazonka.RedshiftData.ExecuteStatement

Generic ExecuteStatementResponse Source # 
Instance details

Defined in Amazonka.RedshiftData.ExecuteStatement

Associated Types

type Rep ExecuteStatementResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-redshift-dataZSamazonka-redshift-data" 'False) (C1 ('MetaCons "ExecuteStatementResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "dbUser") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "database") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "createdAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))) :*: ((S1 ('MetaSel ('Just "clusterIdentifier") '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 "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:

$sel:dbUser:ExecuteStatement', executeStatementResponse_dbUser - The database user name.

$sel:database:ExecuteStatement', executeStatementResponse_database - The name of the database.

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

$sel:clusterIdentifier:ExecuteStatement', executeStatementResponse_clusterIdentifier - The cluster identifier.

$sel:id: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.

$sel:secretArn:ExecuteStatement', executeStatementResponse_secretArn - The name or ARN of the secret that enables access to the database.

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

GetStatementResult (Paginated)

data GetStatementResult Source #

See: newGetStatementResult smart constructor.

Instances

Instances details
Eq GetStatementResult Source # 
Instance details

Defined in Amazonka.RedshiftData.GetStatementResult

Read GetStatementResult Source # 
Instance details

Defined in Amazonka.RedshiftData.GetStatementResult

Show GetStatementResult Source # 
Instance details

Defined in Amazonka.RedshiftData.GetStatementResult

Generic GetStatementResult Source # 
Instance details

Defined in Amazonka.RedshiftData.GetStatementResult

Associated Types

type Rep GetStatementResult :: Type -> Type #

NFData GetStatementResult Source # 
Instance details

Defined in Amazonka.RedshiftData.GetStatementResult

Methods

rnf :: GetStatementResult -> () #

Hashable GetStatementResult Source # 
Instance details

Defined in Amazonka.RedshiftData.GetStatementResult

ToJSON 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 #

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

type Rep GetStatementResult Source # 
Instance details

Defined in Amazonka.RedshiftData.GetStatementResult

type Rep GetStatementResult = D1 ('MetaData "GetStatementResult" "Amazonka.RedshiftData.GetStatementResult" "libZSservicesZSamazonka-redshift-dataZSamazonka-redshift-data" '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)))
type AWSResponse GetStatementResult Source # 
Instance details

Defined in Amazonka.RedshiftData.GetStatementResult

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:

$sel:nextToken: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.

$sel:id: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
Eq GetStatementResultResponse Source # 
Instance details

Defined in Amazonka.RedshiftData.GetStatementResult

Read GetStatementResultResponse Source # 
Instance details

Defined in Amazonka.RedshiftData.GetStatementResult

Show GetStatementResultResponse Source # 
Instance details

Defined in Amazonka.RedshiftData.GetStatementResult

Generic GetStatementResultResponse Source # 
Instance details

Defined in Amazonka.RedshiftData.GetStatementResult

Associated Types

type Rep GetStatementResultResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-redshift-dataZSamazonka-redshift-data" 'False) (C1 ('MetaCons "GetStatementResultResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "totalNumRows") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "columnMetadata") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ColumnMetadata])) :*: (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: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:nextToken: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:columnMetadata:GetStatementResultResponse', getStatementResultResponse_columnMetadata - The properties (metadata) of a column.

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

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

Types

StatementStatusString

newtype StatementStatusString Source #

Instances

Instances details
Eq StatementStatusString Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.StatementStatusString

Ord StatementStatusString Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.StatementStatusString

Read StatementStatusString Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.StatementStatusString

Show 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 #

NFData StatementStatusString Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.StatementStatusString

Methods

rnf :: StatementStatusString -> () #

Hashable 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

FromJSON StatementStatusString Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.StatementStatusString

FromJSONKey StatementStatusString Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.StatementStatusString

ToLog StatementStatusString Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.StatementStatusString

ToHeader StatementStatusString Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.StatementStatusString

ToQuery 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

ToByteString 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

type Rep StatementStatusString Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.StatementStatusString

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

StatusString

newtype StatusString Source #

Constructors

StatusString' 

Instances

Instances details
Eq StatusString Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.StatusString

Ord StatusString Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.StatusString

Read StatusString Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.StatusString

Show StatusString Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.StatusString

Generic StatusString Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.StatusString

Associated Types

type Rep StatusString :: Type -> Type #

NFData StatusString Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.StatusString

Methods

rnf :: StatusString -> () #

Hashable 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

FromJSON StatusString Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.StatusString

FromJSONKey StatusString Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.StatusString

ToLog StatusString Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.StatusString

ToHeader StatusString Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.StatusString

ToQuery StatusString Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.StatusString

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 #

ToByteString 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 #

type Rep StatusString Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.StatusString

type Rep StatusString = D1 ('MetaData "StatusString" "Amazonka.RedshiftData.Types.StatusString" "libZSservicesZSamazonka-redshift-dataZSamazonka-redshift-data" '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
Eq ColumnMetadata Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.ColumnMetadata

Read ColumnMetadata Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.ColumnMetadata

Show 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 #

NFData ColumnMetadata Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.ColumnMetadata

Methods

rnf :: ColumnMetadata -> () #

Hashable ColumnMetadata Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.ColumnMetadata

FromJSON 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" "libZSservicesZSamazonka-redshift-dataZSamazonka-redshift-data" 'False) (C1 ('MetaCons "ColumnMetadata'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "length") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "typeName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "isCaseSensitive") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))) :*: (S1 ('MetaSel ('Just "columnDefault") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "isCurrency") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "scale") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))))) :*: ((S1 ('MetaSel ('Just "precision") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "schemaName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "isSigned") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "label") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "nullable") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "tableName") '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:length:ColumnMetadata', columnMetadata_length - The length of the column.

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

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

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

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

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

$sel:precision:ColumnMetadata', columnMetadata_precision - The precision 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:name:ColumnMetadata', columnMetadata_name - The name of the column.

$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:nullable:ColumnMetadata', columnMetadata_nullable - A value that indicates whether the column is nullable.

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

Field

data Field Source #

A data value in a column.

See: newField smart constructor.

Instances

Instances details
Eq Field Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.Field

Methods

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

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

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 #

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 #

NFData Field Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.Field

Methods

rnf :: Field -> () #

Hashable Field Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.Field

Methods

hashWithSalt :: Int -> Field -> Int #

hash :: Field -> Int #

FromJSON Field Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.Field

type Rep Field Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.Field

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

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:doubleValue:Field', field_doubleValue - A value of the double data type.

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

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

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

$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:isNull:Field', field_isNull - A value that indicates whether the data is NULL.

SqlParameter

data SqlParameter Source #

A parameter used in a SQL statement.

See: newSqlParameter smart constructor.

Constructors

SqlParameter' Text Text 

Instances

Instances details
Eq SqlParameter Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.SqlParameter

Read SqlParameter Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.SqlParameter

Show 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 #

NFData SqlParameter Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.SqlParameter

Methods

rnf :: SqlParameter -> () #

Hashable SqlParameter Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.SqlParameter

ToJSON SqlParameter Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.SqlParameter

FromJSON 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" "libZSservicesZSamazonka-redshift-dataZSamazonka-redshift-data" '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 inforation, 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
Eq StatementData Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.StatementData

Read StatementData Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.StatementData

Show 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 #

NFData StatementData Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.StatementData

Methods

rnf :: StatementData -> () #

Hashable StatementData Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.StatementData

FromJSON 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:status:StatementData', statementData_status - The status of the SQL statement. An example is the that the SQL statement finished.

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

$sel:queryParameters:StatementData', statementData_queryParameters - The parameters used in a 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:queryString:StatementData', statementData_queryString - The SQL statement.

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

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

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

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

$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
Eq SubStatementData Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.SubStatementData

Read SubStatementData Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.SubStatementData

Show 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 #

NFData SubStatementData Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.SubStatementData

Methods

rnf :: SubStatementData -> () #

Hashable SubStatementData Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.SubStatementData

FromJSON 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" "libZSservicesZSamazonka-redshift-dataZSamazonka-redshift-data" 'False) (C1 ('MetaCons "SubStatementData'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe StatementStatusString)) :*: S1 ('MetaSel ('Just "redshiftQueryId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer))) :*: (S1 ('MetaSel ('Just "resultSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: (S1 ('MetaSel ('Just "createdAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "error") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "resultRows") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: (S1 ('MetaSel ('Just "hasResultSet") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "queryString") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "updatedAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "duration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: 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:status:SubStatementData', subStatementData_status - The status of the SQL statement. An example is the that the SQL statement finished.

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

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

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

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

$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:hasResultSet:SubStatementData', subStatementData_hasResultSet - A value that indicates whether the statement has a result set. The result set can be empty.

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

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

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

$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
Eq TableMember Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.TableMember

Read TableMember Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.TableMember

Show 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 #

NFData TableMember Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.TableMember

Methods

rnf :: TableMember -> () #

Hashable TableMember Source # 
Instance details

Defined in Amazonka.RedshiftData.Types.TableMember

FromJSON 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" "libZSservicesZSamazonka-redshift-dataZSamazonka-redshift-data" 'False) (C1 ('MetaCons "TableMember'" 'PrefixI 'True) (S1 ('MetaSel ('Just "schema") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "name") '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:schema:TableMember', tableMember_schema - The schema containing the table.

$sel:name:TableMember', tableMember_name - The name of 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.