capo-redshift-data 0.3.0__tar.gz → 0.5.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {capo_redshift_data-0.3.0/src/capo_redshift_data.egg-info → capo_redshift_data-0.5.0}/PKG-INFO +1 -1
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/pyproject.toml +1 -1
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/src/capo_redshift_data/_operations/redshift_data/batch_execute_statement.py +5 -1
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/src/capo_redshift_data/_operations/redshift_data/cancel_statement.py +5 -1
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/src/capo_redshift_data/_operations/redshift_data/describe_statement.py +5 -1
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/src/capo_redshift_data/_operations/redshift_data/describe_table.py +5 -1
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/src/capo_redshift_data/_operations/redshift_data/execute_statement.py +5 -1
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/src/capo_redshift_data/_operations/redshift_data/get_statement_result.py +5 -1
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/src/capo_redshift_data/_operations/redshift_data/get_statement_result_v2.py +5 -1
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/src/capo_redshift_data/_operations/redshift_data/list_databases.py +5 -1
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/src/capo_redshift_data/_operations/redshift_data/list_schemas.py +5 -1
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/src/capo_redshift_data/_operations/redshift_data/list_sessions.py +5 -1
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/src/capo_redshift_data/_operations/redshift_data/list_statements.py +5 -1
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/src/capo_redshift_data/_operations/redshift_data/list_tables.py +5 -1
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/src/capo_redshift_data/_services/_pipeline.py +2 -0
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/src/capo_redshift_data/_services/async_redshift_data.py +20 -15
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/src/capo_redshift_data/_services/redshift_data.py +20 -15
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/src/capo_redshift_data/types/list_schemas_request.py +1 -1
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/src/capo_redshift_data/types/list_tables_request.py +2 -2
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/src/capo_redshift_data/types/sql_parameter.py +1 -1
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0/src/capo_redshift_data.egg-info}/PKG-INFO +1 -1
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/LICENSE +0 -0
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/README.md +0 -0
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/setup.cfg +0 -0
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/src/capo_redshift_data/__init__.py +0 -0
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/src/capo_redshift_data/_async.py +0 -0
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/src/capo_redshift_data/_auth/_identity.py +0 -0
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/src/capo_redshift_data/_auth/_providers.py +0 -0
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/src/capo_redshift_data/_auth/_signers.py +0 -0
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/src/capo_redshift_data/_auth/_sigv4.py +0 -0
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/src/capo_redshift_data/_auth/_zapros_handler.py +0 -0
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/src/capo_redshift_data/_body.py +0 -0
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/src/capo_redshift_data/_iter.py +0 -0
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/src/capo_redshift_data/_pagination.py +0 -0
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/src/capo_redshift_data/_protocol/__init__.py +0 -0
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/src/capo_redshift_data/_protocol/errors.py +0 -0
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/src/capo_redshift_data/_protocol/eventstream.py +0 -0
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/src/capo_redshift_data/_protocol/serialize.py +0 -0
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/src/capo_redshift_data/_protocol/xml.py +0 -0
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/src/capo_redshift_data/_rule_engine/__init__.py +0 -0
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/src/capo_redshift_data/_rule_engine/_aws_partition.py +0 -0
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/src/capo_redshift_data/_rule_engine/_endpoint_rule_set.py +0 -0
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/src/capo_redshift_data/_rule_engine/_endpoint_runtime.py +0 -0
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/src/capo_redshift_data/_services/_aws_config.py +0 -0
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/src/capo_redshift_data/errors/__init__.py +0 -0
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/src/capo_redshift_data/errors/_base.py +0 -0
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/src/capo_redshift_data/errors/active_sessions_exceeded_exception.py +0 -0
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/src/capo_redshift_data/errors/active_statements_exceeded_exception.py +0 -0
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/src/capo_redshift_data/errors/active_waiting_requests_exceeded_exception.py +0 -0
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/src/capo_redshift_data/errors/batch_execute_statement_exception.py +0 -0
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/src/capo_redshift_data/errors/database_connection_exception.py +0 -0
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/src/capo_redshift_data/errors/execute_statement_exception.py +0 -0
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/src/capo_redshift_data/errors/internal_server_exception.py +0 -0
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/src/capo_redshift_data/errors/query_timeout_exception.py +0 -0
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/src/capo_redshift_data/errors/resource_not_found_exception.py +0 -0
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/src/capo_redshift_data/errors/validation_exception.py +0 -0
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/src/capo_redshift_data/py.typed +0 -0
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/src/capo_redshift_data/types/_prelude/blob.py +0 -0
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/src/capo_redshift_data/types/_prelude/timestamp.py +0 -0
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/src/capo_redshift_data/types/batch_execute_statement_input.py +0 -0
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/src/capo_redshift_data/types/batch_execute_statement_output.py +0 -0
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/src/capo_redshift_data/types/blob.py +0 -0
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/src/capo_redshift_data/types/bool.py +0 -0
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/src/capo_redshift_data/types/boxed_boolean.py +0 -0
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/src/capo_redshift_data/types/boxed_double.py +0 -0
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/src/capo_redshift_data/types/boxed_long.py +0 -0
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/src/capo_redshift_data/types/cancel_statement_request.py +0 -0
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/src/capo_redshift_data/types/cancel_statement_response.py +0 -0
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/src/capo_redshift_data/types/client_token.py +0 -0
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/src/capo_redshift_data/types/cluster_identifier_string.py +0 -0
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/src/capo_redshift_data/types/column_list.py +0 -0
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/src/capo_redshift_data/types/column_metadata.py +0 -0
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/src/capo_redshift_data/types/column_metadata_list.py +0 -0
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/src/capo_redshift_data/types/database_list.py +0 -0
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/src/capo_redshift_data/types/db_group_list.py +0 -0
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/src/capo_redshift_data/types/describe_statement_request.py +0 -0
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/src/capo_redshift_data/types/describe_statement_response.py +0 -0
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/src/capo_redshift_data/types/describe_table_request.py +0 -0
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/src/capo_redshift_data/types/describe_table_response.py +0 -0
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/src/capo_redshift_data/types/execute_statement_input.py +0 -0
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/src/capo_redshift_data/types/execute_statement_output.py +0 -0
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/src/capo_redshift_data/types/execution_mode.py +0 -0
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/src/capo_redshift_data/types/field.py +0 -0
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/src/capo_redshift_data/types/field_list.py +0 -0
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/src/capo_redshift_data/types/formatted_sql_records.py +0 -0
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/src/capo_redshift_data/types/get_statement_result_request.py +0 -0
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/src/capo_redshift_data/types/get_statement_result_response.py +0 -0
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/src/capo_redshift_data/types/get_statement_result_v2_request.py +0 -0
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/src/capo_redshift_data/types/get_statement_result_v2_response.py +0 -0
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/src/capo_redshift_data/types/integer.py +0 -0
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/src/capo_redshift_data/types/list_databases_request.py +0 -0
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/src/capo_redshift_data/types/list_databases_response.py +0 -0
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/src/capo_redshift_data/types/list_schemas_response.py +0 -0
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/src/capo_redshift_data/types/list_sessions_request.py +0 -0
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/src/capo_redshift_data/types/list_sessions_response.py +0 -0
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/src/capo_redshift_data/types/list_statements_limit.py +0 -0
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/src/capo_redshift_data/types/list_statements_request.py +0 -0
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/src/capo_redshift_data/types/list_statements_response.py +0 -0
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/src/capo_redshift_data/types/list_tables_response.py +0 -0
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/src/capo_redshift_data/types/long.py +0 -0
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/src/capo_redshift_data/types/page_size.py +0 -0
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/src/capo_redshift_data/types/parameter_name.py +0 -0
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/src/capo_redshift_data/types/parameter_value.py +0 -0
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/src/capo_redshift_data/types/query_records.py +0 -0
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/src/capo_redshift_data/types/result_format_string.py +0 -0
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/src/capo_redshift_data/types/schema_list.py +0 -0
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/src/capo_redshift_data/types/secret_arn.py +0 -0
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/src/capo_redshift_data/types/session_alive_seconds.py +0 -0
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/src/capo_redshift_data/types/session_data.py +0 -0
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/src/capo_redshift_data/types/session_list.py +0 -0
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/src/capo_redshift_data/types/session_status_string.py +0 -0
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/src/capo_redshift_data/types/sql_list.py +0 -0
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/src/capo_redshift_data/types/sql_parameters_list.py +0 -0
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/src/capo_redshift_data/types/sql_records.py +0 -0
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/src/capo_redshift_data/types/statement_data.py +0 -0
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/src/capo_redshift_data/types/statement_list.py +0 -0
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/src/capo_redshift_data/types/statement_name_string.py +0 -0
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/src/capo_redshift_data/types/statement_status_string.py +0 -0
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/src/capo_redshift_data/types/statement_string.py +0 -0
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/src/capo_redshift_data/types/statement_string_list.py +0 -0
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/src/capo_redshift_data/types/status_string.py +0 -0
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/src/capo_redshift_data/types/string.py +0 -0
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/src/capo_redshift_data/types/sub_statement_data.py +0 -0
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/src/capo_redshift_data/types/sub_statement_list.py +0 -0
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/src/capo_redshift_data/types/table_list.py +0 -0
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/src/capo_redshift_data/types/table_member.py +0 -0
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/src/capo_redshift_data/types/uuid.py +0 -0
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/src/capo_redshift_data/types/wait_time_seconds.py +0 -0
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/src/capo_redshift_data/types/workgroup_name_string.py +0 -0
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/src/capo_redshift_data.egg-info/SOURCES.txt +0 -0
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/src/capo_redshift_data.egg-info/dependency_links.txt +0 -0
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/src/capo_redshift_data.egg-info/requires.txt +0 -0
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/src/capo_redshift_data.egg-info/top_level.txt +0 -0
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/tests/test_body.py +0 -0
- {capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/tests/test_sigv4.py +0 -0
|
@@ -137,7 +137,11 @@ def build_request(
|
|
|
137
137
|
allow_nan=False,
|
|
138
138
|
).encode()
|
|
139
139
|
headers["content-type"] = "application/x-amz-json-1.1"
|
|
140
|
-
signer =
|
|
140
|
+
signer = (
|
|
141
|
+
None
|
|
142
|
+
if options.anonymous
|
|
143
|
+
else get_signer(options, auth_schemes=endpoint.properties.get("authSchemes"))
|
|
144
|
+
)
|
|
141
145
|
normalized_url = zapros.URL(url)
|
|
142
146
|
for k, v in params:
|
|
143
147
|
normalized_url.search_params.append(k, v)
|
|
@@ -129,7 +129,11 @@ def build_request(
|
|
|
129
129
|
allow_nan=False,
|
|
130
130
|
).encode()
|
|
131
131
|
headers["content-type"] = "application/x-amz-json-1.1"
|
|
132
|
-
signer =
|
|
132
|
+
signer = (
|
|
133
|
+
None
|
|
134
|
+
if options.anonymous
|
|
135
|
+
else get_signer(options, auth_schemes=endpoint.properties.get("authSchemes"))
|
|
136
|
+
)
|
|
133
137
|
normalized_url = zapros.URL(url)
|
|
134
138
|
for k, v in params:
|
|
135
139
|
normalized_url.search_params.append(k, v)
|
|
@@ -122,7 +122,11 @@ def build_request(
|
|
|
122
122
|
allow_nan=False,
|
|
123
123
|
).encode()
|
|
124
124
|
headers["content-type"] = "application/x-amz-json-1.1"
|
|
125
|
-
signer =
|
|
125
|
+
signer = (
|
|
126
|
+
None
|
|
127
|
+
if options.anonymous
|
|
128
|
+
else get_signer(options, auth_schemes=endpoint.properties.get("authSchemes"))
|
|
129
|
+
)
|
|
126
130
|
normalized_url = zapros.URL(url)
|
|
127
131
|
for k, v in params:
|
|
128
132
|
normalized_url.search_params.append(k, v)
|
|
@@ -128,7 +128,11 @@ def build_request(
|
|
|
128
128
|
allow_nan=False,
|
|
129
129
|
).encode()
|
|
130
130
|
headers["content-type"] = "application/x-amz-json-1.1"
|
|
131
|
-
signer =
|
|
131
|
+
signer = (
|
|
132
|
+
None
|
|
133
|
+
if options.anonymous
|
|
134
|
+
else get_signer(options, auth_schemes=endpoint.properties.get("authSchemes"))
|
|
135
|
+
)
|
|
132
136
|
normalized_url = zapros.URL(url)
|
|
133
137
|
for k, v in params:
|
|
134
138
|
normalized_url.search_params.append(k, v)
|
|
@@ -134,7 +134,11 @@ def build_request(
|
|
|
134
134
|
allow_nan=False,
|
|
135
135
|
).encode()
|
|
136
136
|
headers["content-type"] = "application/x-amz-json-1.1"
|
|
137
|
-
signer =
|
|
137
|
+
signer = (
|
|
138
|
+
None
|
|
139
|
+
if options.anonymous
|
|
140
|
+
else get_signer(options, auth_schemes=endpoint.properties.get("authSchemes"))
|
|
141
|
+
)
|
|
138
142
|
normalized_url = zapros.URL(url)
|
|
139
143
|
for k, v in params:
|
|
140
144
|
normalized_url.search_params.append(k, v)
|
|
@@ -122,7 +122,11 @@ def build_request(
|
|
|
122
122
|
allow_nan=False,
|
|
123
123
|
).encode()
|
|
124
124
|
headers["content-type"] = "application/x-amz-json-1.1"
|
|
125
|
-
signer =
|
|
125
|
+
signer = (
|
|
126
|
+
None
|
|
127
|
+
if options.anonymous
|
|
128
|
+
else get_signer(options, auth_schemes=endpoint.properties.get("authSchemes"))
|
|
129
|
+
)
|
|
126
130
|
normalized_url = zapros.URL(url)
|
|
127
131
|
for k, v in params:
|
|
128
132
|
normalized_url.search_params.append(k, v)
|
|
@@ -122,7 +122,11 @@ def build_request(
|
|
|
122
122
|
allow_nan=False,
|
|
123
123
|
).encode()
|
|
124
124
|
headers["content-type"] = "application/x-amz-json-1.1"
|
|
125
|
-
signer =
|
|
125
|
+
signer = (
|
|
126
|
+
None
|
|
127
|
+
if options.anonymous
|
|
128
|
+
else get_signer(options, auth_schemes=endpoint.properties.get("authSchemes"))
|
|
129
|
+
)
|
|
126
130
|
normalized_url = zapros.URL(url)
|
|
127
131
|
for k, v in params:
|
|
128
132
|
normalized_url.search_params.append(k, v)
|
|
@@ -128,7 +128,11 @@ def build_request(
|
|
|
128
128
|
allow_nan=False,
|
|
129
129
|
).encode()
|
|
130
130
|
headers["content-type"] = "application/x-amz-json-1.1"
|
|
131
|
-
signer =
|
|
131
|
+
signer = (
|
|
132
|
+
None
|
|
133
|
+
if options.anonymous
|
|
134
|
+
else get_signer(options, auth_schemes=endpoint.properties.get("authSchemes"))
|
|
135
|
+
)
|
|
132
136
|
normalized_url = zapros.URL(url)
|
|
133
137
|
for k, v in params:
|
|
134
138
|
normalized_url.search_params.append(k, v)
|
|
@@ -128,7 +128,11 @@ def build_request(
|
|
|
128
128
|
allow_nan=False,
|
|
129
129
|
).encode()
|
|
130
130
|
headers["content-type"] = "application/x-amz-json-1.1"
|
|
131
|
-
signer =
|
|
131
|
+
signer = (
|
|
132
|
+
None
|
|
133
|
+
if options.anonymous
|
|
134
|
+
else get_signer(options, auth_schemes=endpoint.properties.get("authSchemes"))
|
|
135
|
+
)
|
|
132
136
|
normalized_url = zapros.URL(url)
|
|
133
137
|
for k, v in params:
|
|
134
138
|
normalized_url.search_params.append(k, v)
|
|
@@ -118,7 +118,11 @@ def build_request(
|
|
|
118
118
|
allow_nan=False,
|
|
119
119
|
).encode()
|
|
120
120
|
headers["content-type"] = "application/x-amz-json-1.1"
|
|
121
|
-
signer =
|
|
121
|
+
signer = (
|
|
122
|
+
None
|
|
123
|
+
if options.anonymous
|
|
124
|
+
else get_signer(options, auth_schemes=endpoint.properties.get("authSchemes"))
|
|
125
|
+
)
|
|
122
126
|
normalized_url = zapros.URL(url)
|
|
123
127
|
for k, v in params:
|
|
124
128
|
normalized_url.search_params.append(k, v)
|
|
@@ -118,7 +118,11 @@ def build_request(
|
|
|
118
118
|
allow_nan=False,
|
|
119
119
|
).encode()
|
|
120
120
|
headers["content-type"] = "application/x-amz-json-1.1"
|
|
121
|
-
signer =
|
|
121
|
+
signer = (
|
|
122
|
+
None
|
|
123
|
+
if options.anonymous
|
|
124
|
+
else get_signer(options, auth_schemes=endpoint.properties.get("authSchemes"))
|
|
125
|
+
)
|
|
122
126
|
normalized_url = zapros.URL(url)
|
|
123
127
|
for k, v in params:
|
|
124
128
|
normalized_url.search_params.append(k, v)
|
|
@@ -128,7 +128,11 @@ def build_request(
|
|
|
128
128
|
allow_nan=False,
|
|
129
129
|
).encode()
|
|
130
130
|
headers["content-type"] = "application/x-amz-json-1.1"
|
|
131
|
-
signer =
|
|
131
|
+
signer = (
|
|
132
|
+
None
|
|
133
|
+
if options.anonymous
|
|
134
|
+
else get_signer(options, auth_schemes=endpoint.properties.get("authSchemes"))
|
|
135
|
+
)
|
|
132
136
|
normalized_url = zapros.URL(url)
|
|
133
137
|
for k, v in params:
|
|
134
138
|
normalized_url.search_params.append(k, v)
|
{capo_redshift_data-0.3.0 → capo_redshift_data-0.5.0}/src/capo_redshift_data/_services/_pipeline.py
RENAMED
|
@@ -40,6 +40,7 @@ class OperationOptions:
|
|
|
40
40
|
endpoint: str | None = None
|
|
41
41
|
retry_max_attempts: int | None = None
|
|
42
42
|
credentials_provider: IdentityProvider[Credentials] | None = None
|
|
43
|
+
anonymous: bool | None = None
|
|
43
44
|
|
|
44
45
|
|
|
45
46
|
@dataclass
|
|
@@ -51,6 +52,7 @@ class AsyncOperationOptions:
|
|
|
51
52
|
endpoint: str | None = None
|
|
52
53
|
retry_max_attempts: int | None = None
|
|
53
54
|
credentials_provider: IdentityProvider[Credentials] | None = None
|
|
55
|
+
anonymous: bool | None = None
|
|
54
56
|
|
|
55
57
|
|
|
56
58
|
@dataclass
|
|
@@ -88,6 +88,7 @@ class AsyncRedshiftDataClientConfig(TypedDict, total=False, closed=True):
|
|
|
88
88
|
use_fips: bool | None
|
|
89
89
|
endpoint: str | None
|
|
90
90
|
credentials_provider: IdentityProvider[Credentials] | None
|
|
91
|
+
anonymous: bool | None
|
|
91
92
|
|
|
92
93
|
|
|
93
94
|
class AsyncRedshiftDataClient:
|
|
@@ -103,6 +104,7 @@ class AsyncRedshiftDataClient:
|
|
|
103
104
|
endpoint: The value of the ``SDK::Endpoint`` endpoint parameter.
|
|
104
105
|
credentials: AWS credentials for request signing.
|
|
105
106
|
credentials_provider: Provider that resolves AWS credentials. Takes precedence over ``credentials``.
|
|
107
|
+
anonymous: Send requests unsigned, without resolving credentials, even for operations that require authentication.
|
|
106
108
|
"""
|
|
107
109
|
|
|
108
110
|
def __init__(
|
|
@@ -116,6 +118,7 @@ class AsyncRedshiftDataClient:
|
|
|
116
118
|
endpoint: str | None = None,
|
|
117
119
|
credentials: Credentials | None = None,
|
|
118
120
|
credentials_provider: CredentialsProvider | None = None,
|
|
121
|
+
anonymous: bool | None = None,
|
|
119
122
|
):
|
|
120
123
|
self._client = AsyncClient(http_handler).wrap_with_middleware(
|
|
121
124
|
lambda next: AuthMiddleware(next)
|
|
@@ -142,6 +145,7 @@ class AsyncRedshiftDataClient:
|
|
|
142
145
|
"use_fips": use_fips,
|
|
143
146
|
"endpoint": endpoint,
|
|
144
147
|
"credentials_provider": resolved_credentials_provider,
|
|
148
|
+
"anonymous": anonymous,
|
|
145
149
|
}
|
|
146
150
|
)
|
|
147
151
|
|
|
@@ -170,6 +174,7 @@ class AsyncRedshiftDataClient:
|
|
|
170
174
|
credentials_provider=overrides.get(
|
|
171
175
|
"credentials_provider", self._config.get("credentials_provider")
|
|
172
176
|
),
|
|
177
|
+
anonymous=overrides.get("anonymous", self._config.get("anonymous")),
|
|
173
178
|
)
|
|
174
179
|
return interceptors_, options_
|
|
175
180
|
|
|
@@ -211,7 +216,7 @@ class AsyncRedshiftDataClient:
|
|
|
211
216
|
"capo_redshift_data.types.wait_time_seconds.WaitTimeSeconds"
|
|
212
217
|
] = None,
|
|
213
218
|
) -> "capo_redshift_data.types.batch_execute_statement_output.BatchExecuteStatementOutput":
|
|
214
|
-
|
|
219
|
+
"""<p>Runs one or more SQL statements, which can be data manipulation language (DML) or data definition language (DDL). Depending on the authorization method, use one of the following combinations of request parameters: </p> <ul> <li> <p>Secrets Manager - when connecting to a cluster, provide the <code>secret-arn</code> of a secret stored in Secrets Manager which has <code>username</code> and <code>password</code>. The specified secret contains credentials to connect to the <code>database</code> you specify. When you are connecting to a cluster, you also supply the database name, If you provide a cluster identifier (<code>dbClusterIdentifier</code>), it must match the cluster identifier stored in the secret. When you are connecting to a serverless workgroup, you also supply the database name.</p> </li> <li> <p>Temporary credentials - when connecting to your data warehouse, choose one of the following options:</p> <ul> <li> <p>When connecting to a serverless workgroup, specify the workgroup name and database name. The database user name is derived from the IAM identity. For example, <code>arn:iam::123456789012:user:foo</code> has the database user name <code>IAM:foo</code>. Also, permission to call the <code>redshift-serverless:GetCredentials</code> operation is required.</p> </li> <li> <p>When connecting to a cluster as an IAM identity, specify the cluster identifier and the database name. The database user name is derived from the IAM identity. For example, <code>arn:iam::123456789012:user:foo</code> has the database user name <code>IAM:foo</code>. Also, permission to call the <code>redshift:GetClusterCredentialsWithIAM</code> operation is required.</p> </li> <li> <p>When connecting to a cluster as a database user, specify the cluster identifier, the database name, and the database user name. Also, permission to call the <code>redshift:GetClusterCredentials</code> operation is required.</p> </li> </ul> </li> </ul> <p>For more information about the Amazon Redshift Data API and CLI usage examples, see <a href="https://docs.aws.amazon.com/redshift/latest/mgmt/data-api.html">Using the Amazon Redshift Data API</a> in the <i>Amazon Redshift Management Guide</i>. </p>
|
|
215
220
|
|
|
216
221
|
Args:
|
|
217
222
|
sqls: <p>One or more SQL statements to run. The SQL statements run serially in the order of the array. Subsequent SQL statements don't start until the previous statement in the array completes. By default, the SQL statements are run as a single transaction. If any SQL statement fails, all work is rolled back. To change this behavior, see the <code>ExecutionMode</code> parameter.</p>
|
|
@@ -303,7 +308,7 @@ class AsyncRedshiftDataClient:
|
|
|
303
308
|
*,
|
|
304
309
|
config_overrides: Optional[AsyncRedshiftDataClientConfig] = None,
|
|
305
310
|
) -> "capo_redshift_data.types.cancel_statement_response.CancelStatementResponse":
|
|
306
|
-
|
|
311
|
+
"""<p>Cancels a running query. To be canceled, a query must be running. </p> <p>For more information about the Amazon Redshift Data API and CLI usage examples, see <a href="https://docs.aws.amazon.com/redshift/latest/mgmt/data-api.html">Using the Amazon Redshift Data API</a> in the <i>Amazon Redshift Management Guide</i>. </p>
|
|
307
312
|
|
|
308
313
|
Args:
|
|
309
314
|
id: <p>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 <code>BatchExecuteStatment</code>, <code>ExecuteStatment</code>, and <code>ListStatements</code>. </p>
|
|
@@ -356,7 +361,7 @@ class AsyncRedshiftDataClient:
|
|
|
356
361
|
) -> (
|
|
357
362
|
"capo_redshift_data.types.describe_statement_response.DescribeStatementResponse"
|
|
358
363
|
):
|
|
359
|
-
|
|
364
|
+
"""<p>Describes the details about a specific instance when a query was run by the Amazon Redshift Data API. The information includes when the query started, when it finished, the query status, the number of rows returned, and the SQL statement. </p> <p>For more information about the Amazon Redshift Data API and CLI usage examples, see <a href="https://docs.aws.amazon.com/redshift/latest/mgmt/data-api.html">Using the Amazon Redshift Data API</a> in the <i>Amazon Redshift Management Guide</i>. </p>
|
|
360
365
|
|
|
361
366
|
Args:
|
|
362
367
|
id: <p>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, <code>d9b6c0c9-0747-4bf4-b142-e8883122f766:2</code> has a suffix of <code>:2</code> that indicates the second SQL statement of a batch query. This identifier is returned by <code>BatchExecuteStatment</code>, <code>ExecuteStatement</code>, and <code>ListStatements</code>. </p>
|
|
@@ -419,7 +424,7 @@ class AsyncRedshiftDataClient:
|
|
|
419
424
|
"capo_redshift_data.types.workgroup_name_string.WorkgroupNameString"
|
|
420
425
|
] = None,
|
|
421
426
|
) -> "capo_redshift_data.types.describe_table_response.DescribeTableResponse":
|
|
422
|
-
|
|
427
|
+
"""<p>Describes the detailed information about a table from metadata in the cluster. The information includes its columns. A token is returned to page through the column list. Depending on the authorization method, use one of the following combinations of request parameters: </p> <ul> <li> <p>Secrets Manager - when connecting to a cluster, provide the <code>secret-arn</code> of a secret stored in Secrets Manager which has <code>username</code> and <code>password</code>. The specified secret contains credentials to connect to the <code>database</code> you specify. When you are connecting to a cluster, you also supply the database name, If you provide a cluster identifier (<code>dbClusterIdentifier</code>), it must match the cluster identifier stored in the secret. When you are connecting to a serverless workgroup, you also supply the database name.</p> </li> <li> <p>Temporary credentials - when connecting to your data warehouse, choose one of the following options:</p> <ul> <li> <p>When connecting to a serverless workgroup, specify the workgroup name and database name. The database user name is derived from the IAM identity. For example, <code>arn:iam::123456789012:user:foo</code> has the database user name <code>IAM:foo</code>. Also, permission to call the <code>redshift-serverless:GetCredentials</code> operation is required.</p> </li> <li> <p>When connecting to a cluster as an IAM identity, specify the cluster identifier and the database name. The database user name is derived from the IAM identity. For example, <code>arn:iam::123456789012:user:foo</code> has the database user name <code>IAM:foo</code>. Also, permission to call the <code>redshift:GetClusterCredentialsWithIAM</code> operation is required.</p> </li> <li> <p>When connecting to a cluster as a database user, specify the cluster identifier, the database name, and the database user name. Also, permission to call the <code>redshift:GetClusterCredentials</code> operation is required.</p> </li> </ul> </li> </ul> <p>For more information about the Amazon Redshift Data API and CLI usage examples, see <a href="https://docs.aws.amazon.com/redshift/latest/mgmt/data-api.html">Using the Amazon Redshift Data API</a> in the <i>Amazon Redshift Management Guide</i>. </p>
|
|
423
428
|
|
|
424
429
|
Args:
|
|
425
430
|
cluster_identifier: <p>The cluster identifier. This parameter is required when connecting to a cluster and authenticating using either Secrets Manager or temporary credentials. </p>
|
|
@@ -564,7 +569,7 @@ class AsyncRedshiftDataClient:
|
|
|
564
569
|
"capo_redshift_data.types.wait_time_seconds.WaitTimeSeconds"
|
|
565
570
|
] = None,
|
|
566
571
|
) -> "capo_redshift_data.types.execute_statement_output.ExecuteStatementOutput":
|
|
567
|
-
|
|
572
|
+
"""<p>Runs an SQL statement, which can be data manipulation language (DML) or data definition language (DDL). This statement must be a single SQL statement. Depending on the authorization method, use one of the following combinations of request parameters: </p> <ul> <li> <p>Secrets Manager - when connecting to a cluster, provide the <code>secret-arn</code> of a secret stored in Secrets Manager which has <code>username</code> and <code>password</code>. The specified secret contains credentials to connect to the <code>database</code> you specify. When you are connecting to a cluster, you also supply the database name, If you provide a cluster identifier (<code>dbClusterIdentifier</code>), it must match the cluster identifier stored in the secret. When you are connecting to a serverless workgroup, you also supply the database name.</p> </li> <li> <p>Temporary credentials - when connecting to your data warehouse, choose one of the following options:</p> <ul> <li> <p>When connecting to a serverless workgroup, specify the workgroup name and database name. The database user name is derived from the IAM identity. For example, <code>arn:iam::123456789012:user:foo</code> has the database user name <code>IAM:foo</code>. Also, permission to call the <code>redshift-serverless:GetCredentials</code> operation is required.</p> </li> <li> <p>When connecting to a cluster as an IAM identity, specify the cluster identifier and the database name. The database user name is derived from the IAM identity. For example, <code>arn:iam::123456789012:user:foo</code> has the database user name <code>IAM:foo</code>. Also, permission to call the <code>redshift:GetClusterCredentialsWithIAM</code> operation is required.</p> </li> <li> <p>When connecting to a cluster as a database user, specify the cluster identifier, the database name, and the database user name. Also, permission to call the <code>redshift:GetClusterCredentials</code> operation is required.</p> </li> </ul> </li> </ul> <p>For more information about the Amazon Redshift Data API and CLI usage examples, see <a href="https://docs.aws.amazon.com/redshift/latest/mgmt/data-api.html">Using the Amazon Redshift Data API</a> in the <i>Amazon Redshift Management Guide</i>. </p>
|
|
568
573
|
|
|
569
574
|
Args:
|
|
570
575
|
sql: <p>The SQL statement text to run. </p>
|
|
@@ -657,7 +662,7 @@ class AsyncRedshiftDataClient:
|
|
|
657
662
|
"capo_redshift_data.types.wait_time_seconds.WaitTimeSeconds"
|
|
658
663
|
] = None,
|
|
659
664
|
) -> "capo_redshift_data.types.get_statement_result_response.GetStatementResultResponse":
|
|
660
|
-
|
|
665
|
+
"""<p>Fetches the temporarily cached result of an SQL statement in JSON format. The <code>ExecuteStatement</code> or <code>BatchExecuteStatement</code> operation that ran the SQL statement must have specified <code>ResultFormat</code> as <code>JSON</code> , or let the format default to JSON. A token is returned to page through the statement results.</p> <p>For more information about the Amazon Redshift Data API and CLI usage examples, see <a href="https://docs.aws.amazon.com/redshift/latest/mgmt/data-api.html">Using the Amazon Redshift Data API</a> in the <i>Amazon Redshift Management Guide</i>. </p>
|
|
661
666
|
|
|
662
667
|
Args:
|
|
663
668
|
id: <p>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, <code>d9b6c0c9-0747-4bf4-b142-e8883122f766:2</code> has a suffix of <code>:2</code> that indicates the second SQL statement of a batch query. This identifier is returned by <code>BatchExecuteStatment</code>, <code>ExecuteStatment</code>, and <code>ListStatements</code>. </p>
|
|
@@ -739,7 +744,7 @@ class AsyncRedshiftDataClient:
|
|
|
739
744
|
"capo_redshift_data.types.wait_time_seconds.WaitTimeSeconds"
|
|
740
745
|
] = None,
|
|
741
746
|
) -> "capo_redshift_data.types.get_statement_result_v2_response.GetStatementResultV2Response":
|
|
742
|
-
|
|
747
|
+
"""<p>Fetches the temporarily cached result of an SQL statement in CSV format. The <code>ExecuteStatement</code> or <code>BatchExecuteStatement</code> operation that ran the SQL statement must have specified <code>ResultFormat</code> as <code>CSV</code>. A token is returned to page through the statement results.</p> <p>For more information about the Amazon Redshift Data API and CLI usage examples, see <a href="https://docs.aws.amazon.com/redshift/latest/mgmt/data-api.html">Using the Amazon Redshift Data API</a> in the <i>Amazon Redshift Management Guide</i>. </p>
|
|
743
748
|
|
|
744
749
|
Args:
|
|
745
750
|
id: <p>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, <code>d9b6c0c9-0747-4bf4-b142-e8883122f766:2</code> has a suffix of <code>:2</code> that indicates the second SQL statement of a batch query. This identifier is returned by <code>BatchExecuteStatment</code>, <code>ExecuteStatment</code>, and <code>ListStatements</code>. </p>
|
|
@@ -827,7 +832,7 @@ class AsyncRedshiftDataClient:
|
|
|
827
832
|
"capo_redshift_data.types.workgroup_name_string.WorkgroupNameString"
|
|
828
833
|
] = None,
|
|
829
834
|
) -> "capo_redshift_data.types.list_databases_response.ListDatabasesResponse":
|
|
830
|
-
|
|
835
|
+
"""<p>List the databases in a cluster. A token is returned to page through the database list. Depending on the authorization method, use one of the following combinations of request parameters: </p> <ul> <li> <p>Secrets Manager - when connecting to a cluster, provide the <code>secret-arn</code> of a secret stored in Secrets Manager which has <code>username</code> and <code>password</code>. The specified secret contains credentials to connect to the <code>database</code> you specify. When you are connecting to a cluster, you also supply the database name, If you provide a cluster identifier (<code>dbClusterIdentifier</code>), it must match the cluster identifier stored in the secret. When you are connecting to a serverless workgroup, you also supply the database name.</p> </li> <li> <p>Temporary credentials - when connecting to your data warehouse, choose one of the following options:</p> <ul> <li> <p>When connecting to a serverless workgroup, specify the workgroup name and database name. The database user name is derived from the IAM identity. For example, <code>arn:iam::123456789012:user:foo</code> has the database user name <code>IAM:foo</code>. Also, permission to call the <code>redshift-serverless:GetCredentials</code> operation is required.</p> </li> <li> <p>When connecting to a cluster as an IAM identity, specify the cluster identifier and the database name. The database user name is derived from the IAM identity. For example, <code>arn:iam::123456789012:user:foo</code> has the database user name <code>IAM:foo</code>. Also, permission to call the <code>redshift:GetClusterCredentialsWithIAM</code> operation is required.</p> </li> <li> <p>When connecting to a cluster as a database user, specify the cluster identifier, the database name, and the database user name. Also, permission to call the <code>redshift:GetClusterCredentials</code> operation is required.</p> </li> </ul> </li> </ul> <p>For more information about the Amazon Redshift Data API and CLI usage examples, see <a href="https://docs.aws.amazon.com/redshift/latest/mgmt/data-api.html">Using the Amazon Redshift Data API</a> in the <i>Amazon Redshift Management Guide</i>. </p>
|
|
831
836
|
|
|
832
837
|
Args:
|
|
833
838
|
cluster_identifier: <p>The cluster identifier. This parameter is required when connecting to a cluster and authenticating using either Secrets Manager or temporary credentials. </p>
|
|
@@ -940,7 +945,7 @@ class AsyncRedshiftDataClient:
|
|
|
940
945
|
"capo_redshift_data.types.workgroup_name_string.WorkgroupNameString"
|
|
941
946
|
] = None,
|
|
942
947
|
) -> "capo_redshift_data.types.list_schemas_response.ListSchemasResponse":
|
|
943
|
-
|
|
948
|
+
"""<p>Lists the schemas in a database. A token is returned to page through the schema list. Depending on the authorization method, use one of the following combinations of request parameters: </p> <ul> <li> <p>Secrets Manager - when connecting to a cluster, provide the <code>secret-arn</code> of a secret stored in Secrets Manager which has <code>username</code> and <code>password</code>. The specified secret contains credentials to connect to the <code>database</code> you specify. When you are connecting to a cluster, you also supply the database name, If you provide a cluster identifier (<code>dbClusterIdentifier</code>), it must match the cluster identifier stored in the secret. When you are connecting to a serverless workgroup, you also supply the database name.</p> </li> <li> <p>Temporary credentials - when connecting to your data warehouse, choose one of the following options:</p> <ul> <li> <p>When connecting to a serverless workgroup, specify the workgroup name and database name. The database user name is derived from the IAM identity. For example, <code>arn:iam::123456789012:user:foo</code> has the database user name <code>IAM:foo</code>. Also, permission to call the <code>redshift-serverless:GetCredentials</code> operation is required.</p> </li> <li> <p>When connecting to a cluster as an IAM identity, specify the cluster identifier and the database name. The database user name is derived from the IAM identity. For example, <code>arn:iam::123456789012:user:foo</code> has the database user name <code>IAM:foo</code>. Also, permission to call the <code>redshift:GetClusterCredentialsWithIAM</code> operation is required.</p> </li> <li> <p>When connecting to a cluster as a database user, specify the cluster identifier, the database name, and the database user name. Also, permission to call the <code>redshift:GetClusterCredentials</code> operation is required.</p> </li> </ul> </li> </ul> <p>For more information about the Amazon Redshift Data API and CLI usage examples, see <a href="https://docs.aws.amazon.com/redshift/latest/mgmt/data-api.html">Using the Amazon Redshift Data API</a> in the <i>Amazon Redshift Management Guide</i>. </p>
|
|
944
949
|
|
|
945
950
|
Args:
|
|
946
951
|
cluster_identifier: <p>The cluster identifier. This parameter is required when connecting to a cluster and authenticating using either Secrets Manager or temporary credentials. </p>
|
|
@@ -948,7 +953,7 @@ class AsyncRedshiftDataClient:
|
|
|
948
953
|
db_user: <p>The database user name. This parameter is required when connecting to a cluster as a database user and authenticating using temporary credentials. </p>
|
|
949
954
|
database: <p>The name of the database that contains the schemas to list. If <code>ConnectedDatabase</code> is not specified, this is also the database to connect to with your authentication credentials.</p>
|
|
950
955
|
connected_database: <p>A database name. The connected database is specified when you connect with your authentication credentials. </p>
|
|
951
|
-
schema_pattern: <p>A pattern to filter results by schema name. Within a schema pattern,
|
|
956
|
+
schema_pattern: <p>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. </p>
|
|
952
957
|
next_token: <p>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. </p>
|
|
953
958
|
max_results: <p>The maximum number of schemas to return in the response. If more schemas exist than fit in one response, then <code>NextToken</code> is returned to page through the results. </p>
|
|
954
959
|
workgroup_name: <p>The serverless workgroup name or Amazon Resource Name (ARN). This parameter is required when connecting to a serverless workgroup and authenticating using either Secrets Manager or temporary credentials.</p>
|
|
@@ -1066,7 +1071,7 @@ class AsyncRedshiftDataClient:
|
|
|
1066
1071
|
] = None,
|
|
1067
1072
|
database: Optional["capo_redshift_data.types.string.String"] = None,
|
|
1068
1073
|
) -> "capo_redshift_data.types.list_sessions_response.ListSessionsResponse":
|
|
1069
|
-
|
|
1074
|
+
"""<p>Lists the sessions that the caller created in the last 24 hours. By default, only sessions with a status of <code>AVAILABLE</code> or <code>BUSY</code> are returned. You can filter the results by session status, compute target (cluster or serverless workgroup), or database. To retrieve the metadata for a single session, provide the <code>SessionId</code> parameter. Use <code>NextToken</code> to page through the session list.</p> <p>Returns only the sessions that the caller created. When identity-enhanced role sessions are used, you must provide either the <code>ClusterIdentifier</code> or <code>WorkgroupName</code> parameter to ensure that the IAM Identity Center user can only access the Amazon Redshift IAM Identity Center applications they are assigned. For more information, see <a href="https://docs.aws.amazon.com/singlesignon/latest/userguide/trustedidentitypropagation-overview.html"> Trusted identity propagation overview</a>.</p>
|
|
1070
1075
|
|
|
1071
1076
|
Args:
|
|
1072
1077
|
next_token: <p>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.</p>
|
|
@@ -1189,7 +1194,7 @@ class AsyncRedshiftDataClient:
|
|
|
1189
1194
|
"capo_redshift_data.types.workgroup_name_string.WorkgroupNameString"
|
|
1190
1195
|
] = None,
|
|
1191
1196
|
) -> "capo_redshift_data.types.list_statements_response.ListStatementsResponse":
|
|
1192
|
-
|
|
1197
|
+
"""<p>List of SQL statements. By default, only finished statements are shown. A token is returned to page through the statement list. </p> <p>When you use identity-enhanced role sessions to list statements, you must provide either the <code>cluster-identifier</code> or <code>workgroup-name</code> parameter. This ensures that the IdC user can only access the Amazon Redshift IdC applications they are assigned. For more information, see <a href="https://docs.aws.amazon.com/singlesignon/latest/userguide/trustedidentitypropagation-overview.html"> Trusted identity propagation overview</a>.</p> <p>For more information about the Amazon Redshift Data API and CLI usage examples, see <a href="https://docs.aws.amazon.com/redshift/latest/mgmt/data-api.html">Using the Amazon Redshift Data API</a> in the <i>Amazon Redshift Management Guide</i>. </p>
|
|
1193
1198
|
|
|
1194
1199
|
Args:
|
|
1195
1200
|
next_token: <p>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. </p>
|
|
@@ -1310,7 +1315,7 @@ class AsyncRedshiftDataClient:
|
|
|
1310
1315
|
"capo_redshift_data.types.workgroup_name_string.WorkgroupNameString"
|
|
1311
1316
|
] = None,
|
|
1312
1317
|
) -> "capo_redshift_data.types.list_tables_response.ListTablesResponse":
|
|
1313
|
-
|
|
1318
|
+
"""<p>List the tables in a database. If neither <code>SchemaPattern</code> nor <code>TablePattern</code> are specified, then all tables in the database are returned. A token is returned to page through the table list. Depending on the authorization method, use one of the following combinations of request parameters: </p> <ul> <li> <p>Secrets Manager - when connecting to a cluster, provide the <code>secret-arn</code> of a secret stored in Secrets Manager which has <code>username</code> and <code>password</code>. The specified secret contains credentials to connect to the <code>database</code> you specify. When you are connecting to a cluster, you also supply the database name, If you provide a cluster identifier (<code>dbClusterIdentifier</code>), it must match the cluster identifier stored in the secret. When you are connecting to a serverless workgroup, you also supply the database name.</p> </li> <li> <p>Temporary credentials - when connecting to your data warehouse, choose one of the following options:</p> <ul> <li> <p>When connecting to a serverless workgroup, specify the workgroup name and database name. The database user name is derived from the IAM identity. For example, <code>arn:iam::123456789012:user:foo</code> has the database user name <code>IAM:foo</code>. Also, permission to call the <code>redshift-serverless:GetCredentials</code> operation is required.</p> </li> <li> <p>When connecting to a cluster as an IAM identity, specify the cluster identifier and the database name. The database user name is derived from the IAM identity. For example, <code>arn:iam::123456789012:user:foo</code> has the database user name <code>IAM:foo</code>. Also, permission to call the <code>redshift:GetClusterCredentialsWithIAM</code> operation is required.</p> </li> <li> <p>When connecting to a cluster as a database user, specify the cluster identifier, the database name, and the database user name. Also, permission to call the <code>redshift:GetClusterCredentials</code> operation is required.</p> </li> </ul> </li> </ul> <p>For more information about the Amazon Redshift Data API and CLI usage examples, see <a href="https://docs.aws.amazon.com/redshift/latest/mgmt/data-api.html">Using the Amazon Redshift Data API</a> in the <i>Amazon Redshift Management Guide</i>. </p>
|
|
1314
1319
|
|
|
1315
1320
|
Args:
|
|
1316
1321
|
cluster_identifier: <p>The cluster identifier. This parameter is required when connecting to a cluster and authenticating using either Secrets Manager or temporary credentials. </p>
|
|
@@ -1318,8 +1323,8 @@ class AsyncRedshiftDataClient:
|
|
|
1318
1323
|
db_user: <p>The database user name. This parameter is required when connecting to a cluster as a database user and authenticating using temporary credentials. </p>
|
|
1319
1324
|
database: <p>The name of the database that contains the tables to list. If <code>ConnectedDatabase</code> is not specified, this is also the database to connect to with your authentication credentials.</p>
|
|
1320
1325
|
connected_database: <p>A database name. The connected database is specified when you connect with your authentication credentials. </p>
|
|
1321
|
-
schema_pattern: <p>A pattern to filter results by schema name. Within a schema pattern,
|
|
1322
|
-
table_pattern: <p>A pattern to filter results by table name. Within a table pattern,
|
|
1326
|
+
schema_pattern: <p>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 <code>SchemaPattern</code> is not specified, then all tables that match <code>TablePattern</code> are returned. If neither <code>SchemaPattern</code> or <code>TablePattern</code> are specified, then all tables are returned. </p>
|
|
1327
|
+
table_pattern: <p>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 <code>TablePattern</code> is not specified, then all tables that match <code>SchemaPattern</code>are returned. If neither <code>SchemaPattern</code> or <code>TablePattern</code> are specified, then all tables are returned. </p>
|
|
1323
1328
|
next_token: <p>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. </p>
|
|
1324
1329
|
max_results: <p>The maximum number of tables to return in the response. If more tables exist than fit in one response, then <code>NextToken</code> is returned to page through the results. </p>
|
|
1325
1330
|
workgroup_name: <p>The serverless workgroup name or Amazon Resource Name (ARN). This parameter is required when connecting to a serverless workgroup and authenticating using either Secrets Manager or temporary credentials.</p>
|