Class: Aws::BCMDataExports::Client
- Inherits:
-
Seahorse::Client::Base
- Object
- Seahorse::Client::Base
- Aws::BCMDataExports::Client
- Includes:
- ClientStubs
- Defined in:
- gems/aws-sdk-bcmdataexports/lib/aws-sdk-bcmdataexports/client.rb
Overview
An API client for BCMDataExports. To construct a client, you need to configure a :region
and :credentials
.
client = Aws::BCMDataExports::Client.new(
region: region_name,
credentials: credentials,
# ...
)
For details on configuring region and credentials see the developer guide.
See #initialize for a full list of supported configuration options.
Instance Attribute Summary
Attributes inherited from Seahorse::Client::Base
API Operations collapse
-
#create_export(params = {}) ⇒ Types::CreateExportResponse
Creates a data export and specifies the data query, the delivery preference, and any optional resource tags.
-
#delete_export(params = {}) ⇒ Types::DeleteExportResponse
Deletes an existing data export.
-
#get_execution(params = {}) ⇒ Types::GetExecutionResponse
Exports data based on the source data update.
-
#get_export(params = {}) ⇒ Types::GetExportResponse
Views the definition of an existing data export.
-
#get_table(params = {}) ⇒ Types::GetTableResponse
Returns the metadata for the specified table and table properties.
-
#list_executions(params = {}) ⇒ Types::ListExecutionsResponse
Lists the historical executions for the export.
-
#list_exports(params = {}) ⇒ Types::ListExportsResponse
Lists all data export definitions.
-
#list_tables(params = {}) ⇒ Types::ListTablesResponse
Lists all available tables in data exports.
-
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceResponse
List tags associated with an existing data export.
-
#tag_resource(params = {}) ⇒ Struct
Adds tags for an existing data export definition.
-
#untag_resource(params = {}) ⇒ Struct
Deletes tags associated with an existing data export definition.
-
#update_export(params = {}) ⇒ Types::UpdateExportResponse
Updates an existing data export by overwriting all export parameters.
Instance Method Summary collapse
-
#initialize(options) ⇒ Client
constructor
A new instance of Client.
Methods included from ClientStubs
#api_requests, #stub_data, #stub_responses
Methods inherited from Seahorse::Client::Base
add_plugin, api, clear_plugins, define, new, #operation_names, plugins, remove_plugin, set_api, set_plugins
Methods included from Seahorse::Client::HandlerBuilder
#handle, #handle_request, #handle_response
Constructor Details
#initialize(options) ⇒ Client
Returns a new instance of Client.
441 442 443 |
# File 'gems/aws-sdk-bcmdataexports/lib/aws-sdk-bcmdataexports/client.rb', line 441 def initialize(*args) super end |
Instance Method Details
#create_export(params = {}) ⇒ Types::CreateExportResponse
Creates a data export and specifies the data query, the delivery preference, and any optional resource tags.
A DataQuery
consists of both a QueryStatement
and
TableConfigurations
.
The QueryStatement
is an SQL statement. Data Exports only supports a
limited subset of the SQL syntax. For more information on the SQL
syntax that is supported, see Data query. To view the available
tables and columns, see the Data Exports table dictionary.
The TableConfigurations
is a collection of specified
TableProperties
for the table being queried in the QueryStatement
.
TableProperties are additional configurations you can provide to
change the data and schema of a table. Each table can have different
TableProperties. However, tables are not required to have any
TableProperties. Each table property has a default value that it
assumes if not specified. For more information on table
configurations, see Data query. To view the table properties
available for each table, see the Data Exports table dictionary
or use the ListTables
API to get a response of all tables and their
available properties.
536 537 538 539 |
# File 'gems/aws-sdk-bcmdataexports/lib/aws-sdk-bcmdataexports/client.rb', line 536 def create_export(params = {}, = {}) req = build_request(:create_export, params) req.send_request() end |
#delete_export(params = {}) ⇒ Types::DeleteExportResponse
Deletes an existing data export.
564 565 566 567 |
# File 'gems/aws-sdk-bcmdataexports/lib/aws-sdk-bcmdataexports/client.rb', line 564 def delete_export(params = {}, = {}) req = build_request(:delete_export, params) req.send_request() end |
#get_execution(params = {}) ⇒ Types::GetExecutionResponse
Exports data based on the source data update.
619 620 621 622 |
# File 'gems/aws-sdk-bcmdataexports/lib/aws-sdk-bcmdataexports/client.rb', line 619 def get_execution(params = {}, = {}) req = build_request(:get_execution, params) req.send_request() end |
#get_export(params = {}) ⇒ Types::GetExportResponse
Views the definition of an existing data export.
667 668 669 670 |
# File 'gems/aws-sdk-bcmdataexports/lib/aws-sdk-bcmdataexports/client.rb', line 667 def get_export(params = {}, = {}) req = build_request(:get_export, params) req.send_request() end |
#get_table(params = {}) ⇒ Types::GetTableResponse
Returns the metadata for the specified table and table properties. This includes the list of columns in the table schema, their data types, and column descriptions.
717 718 719 720 |
# File 'gems/aws-sdk-bcmdataexports/lib/aws-sdk-bcmdataexports/client.rb', line 717 def get_table(params = {}, = {}) req = build_request(:get_table, params) req.send_request() end |
#list_executions(params = {}) ⇒ Types::ListExecutionsResponse
Lists the historical executions for the export.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
763 764 765 766 |
# File 'gems/aws-sdk-bcmdataexports/lib/aws-sdk-bcmdataexports/client.rb', line 763 def list_executions(params = {}, = {}) req = build_request(:list_executions, params) req.send_request() end |
#list_exports(params = {}) ⇒ Types::ListExportsResponse
Lists all data export definitions.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
806 807 808 809 |
# File 'gems/aws-sdk-bcmdataexports/lib/aws-sdk-bcmdataexports/client.rb', line 806 def list_exports(params = {}, = {}) req = build_request(:list_exports, params) req.send_request() end |
#list_tables(params = {}) ⇒ Types::ListTablesResponse
Lists all available tables in data exports.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
850 851 852 853 |
# File 'gems/aws-sdk-bcmdataexports/lib/aws-sdk-bcmdataexports/client.rb', line 850 def list_tables(params = {}, = {}) req = build_request(:list_tables, params) req.send_request() end |
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceResponse
List tags associated with an existing data export.
890 891 892 893 |
# File 'gems/aws-sdk-bcmdataexports/lib/aws-sdk-bcmdataexports/client.rb', line 890 def (params = {}, = {}) req = build_request(:list_tags_for_resource, params) req.send_request() end |
#tag_resource(params = {}) ⇒ Struct
Adds tags for an existing data export definition.
922 923 924 925 |
# File 'gems/aws-sdk-bcmdataexports/lib/aws-sdk-bcmdataexports/client.rb', line 922 def tag_resource(params = {}, = {}) req = build_request(:tag_resource, params) req.send_request() end |
#untag_resource(params = {}) ⇒ Struct
Deletes tags associated with an existing data export definition.
948 949 950 951 |
# File 'gems/aws-sdk-bcmdataexports/lib/aws-sdk-bcmdataexports/client.rb', line 948 def untag_resource(params = {}, = {}) req = build_request(:untag_resource, params) req.send_request() end |
#update_export(params = {}) ⇒ Types::UpdateExportResponse
Updates an existing data export by overwriting all export parameters. All export parameters must be provided in the UpdateExport request.
1009 1010 1011 1012 |
# File 'gems/aws-sdk-bcmdataexports/lib/aws-sdk-bcmdataexports/client.rb', line 1009 def update_export(params = {}, = {}) req = build_request(:update_export, params) req.send_request() end |