Class: Aws::DataExchange::Client
- Inherits:
-
Seahorse::Client::Base
- Object
- Seahorse::Client::Base
- Aws::DataExchange::Client
- Includes:
- ClientStubs
- Defined in:
- lib/aws-sdk-dataexchange/client.rb
Overview
An API client for DataExchange. To construct a client, you need to configure a ‘:region` and `:credentials`.
client = Aws::DataExchange::Client.new(
region: region_name,
credentials: credentials,
# ...
)
For details on configuring region and credentials see the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
See #initialize for a full list of supported configuration options.
Class Attribute Summary collapse
- .identifier ⇒ Object readonly private
API Operations collapse
-
#cancel_job(params = {}) ⇒ Struct
This operation cancels a job.
-
#create_data_set(params = {}) ⇒ Types::CreateDataSetResponse
This operation creates a data set.
-
#create_event_action(params = {}) ⇒ Types::CreateEventActionResponse
This operation creates an event action.
-
#create_job(params = {}) ⇒ Types::CreateJobResponse
This operation creates a job.
-
#create_revision(params = {}) ⇒ Types::CreateRevisionResponse
This operation creates a revision for a data set.
-
#delete_asset(params = {}) ⇒ Struct
This operation deletes an asset.
-
#delete_data_set(params = {}) ⇒ Struct
This operation deletes a data set.
-
#delete_event_action(params = {}) ⇒ Struct
This operation deletes the event action.
-
#delete_revision(params = {}) ⇒ Struct
This operation deletes a revision.
-
#get_asset(params = {}) ⇒ Types::GetAssetResponse
This operation returns information about an asset.
-
#get_data_set(params = {}) ⇒ Types::GetDataSetResponse
This operation returns information about a data set.
-
#get_event_action(params = {}) ⇒ Types::GetEventActionResponse
This operation retrieves information about an event action.
-
#get_job(params = {}) ⇒ Types::GetJobResponse
This operation returns information about a job.
-
#get_revision(params = {}) ⇒ Types::GetRevisionResponse
This operation returns information about a revision.
-
#list_data_set_revisions(params = {}) ⇒ Types::ListDataSetRevisionsResponse
This operation lists a data set’s revisions sorted by CreatedAt in descending order.
-
#list_data_sets(params = {}) ⇒ Types::ListDataSetsResponse
This operation lists your data sets.
-
#list_event_actions(params = {}) ⇒ Types::ListEventActionsResponse
This operation lists your event actions.
-
#list_jobs(params = {}) ⇒ Types::ListJobsResponse
This operation lists your jobs sorted by CreatedAt in descending order.
-
#list_revision_assets(params = {}) ⇒ Types::ListRevisionAssetsResponse
This operation lists a revision’s assets sorted alphabetically in descending order.
-
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceResponse
This operation lists the tags on the resource.
-
#revoke_revision(params = {}) ⇒ Types::RevokeRevisionResponse
This operation revokes subscribers’ access to a revision.
-
#send_api_asset(params = {}) ⇒ Types::SendApiAssetResponse
This operation invokes an API Gateway API asset.
-
#send_data_set_notification(params = {}) ⇒ Struct
The type of event associated with the data set.
-
#start_job(params = {}) ⇒ Struct
This operation starts a job.
-
#tag_resource(params = {}) ⇒ Struct
This operation tags a resource.
-
#untag_resource(params = {}) ⇒ Struct
This operation removes one or more tags from a resource.
-
#update_asset(params = {}) ⇒ Types::UpdateAssetResponse
This operation updates an asset.
-
#update_data_set(params = {}) ⇒ Types::UpdateDataSetResponse
This operation updates a data set.
-
#update_event_action(params = {}) ⇒ Types::UpdateEventActionResponse
This operation updates the event action.
-
#update_revision(params = {}) ⇒ Types::UpdateRevisionResponse
This operation updates a revision.
Class Method Summary collapse
- .errors_module ⇒ Object private
Instance Method Summary collapse
- #build_request(operation_name, params = {}) ⇒ Object private
-
#initialize(options) ⇒ Client
constructor
A new instance of Client.
- #waiter_names ⇒ Object deprecated private Deprecated.
Constructor Details
#initialize(options) ⇒ Client
Returns a new instance of Client.
434 435 436 |
# File 'lib/aws-sdk-dataexchange/client.rb', line 434 def initialize(*args) super end |
Class Attribute Details
.identifier ⇒ Object (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
2355 2356 2357 |
# File 'lib/aws-sdk-dataexchange/client.rb', line 2355 def identifier @identifier end |
Class Method Details
.errors_module ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
2358 2359 2360 |
# File 'lib/aws-sdk-dataexchange/client.rb', line 2358 def errors_module Errors end |
Instance Method Details
#build_request(operation_name, params = {}) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 |
# File 'lib/aws-sdk-dataexchange/client.rb', line 2328 def build_request(operation_name, params = {}) handlers = @handlers.for(operation_name) tracer = config.telemetry_provider.tracer_provider.tracer( Aws::Telemetry.module_to_tracer_name('Aws::DataExchange') ) context = Seahorse::Client::RequestContext.new( operation_name: operation_name, operation: config.api.operation(operation_name), client: self, params: params, config: config, tracer: tracer ) context[:gem_name] = 'aws-sdk-dataexchange' context[:gem_version] = '1.53.0' Seahorse::Client::Request.new(handlers, context) end |
#cancel_job(params = {}) ⇒ Struct
This operation cancels a job. Jobs can be cancelled only when they are in the WAITING state.
458 459 460 461 |
# File 'lib/aws-sdk-dataexchange/client.rb', line 458 def cancel_job(params = {}, = {}) req = build_request(:cancel_job, params) req.send_request() end |
#create_data_set(params = {}) ⇒ Types::CreateDataSetResponse
This operation creates a data set.
526 527 528 529 |
# File 'lib/aws-sdk-dataexchange/client.rb', line 526 def create_data_set(params = {}, = {}) req = build_request(:create_data_set, params) req.send_request() end |
#create_event_action(params = {}) ⇒ Types::CreateEventActionResponse
This operation creates an event action.
586 587 588 589 |
# File 'lib/aws-sdk-dataexchange/client.rb', line 586 def create_event_action(params = {}, = {}) req = build_request(:create_event_action, params) req.send_request() end |
#create_job(params = {}) ⇒ Types::CreateJobResponse
This operation creates a job.
822 823 824 825 |
# File 'lib/aws-sdk-dataexchange/client.rb', line 822 def create_job(params = {}, = {}) req = build_request(:create_job, params) req.send_request() end |
#create_revision(params = {}) ⇒ Types::CreateRevisionResponse
This operation creates a revision for a data set.
887 888 889 890 |
# File 'lib/aws-sdk-dataexchange/client.rb', line 887 def create_revision(params = {}, = {}) req = build_request(:create_revision, params) req.send_request() end |
#delete_asset(params = {}) ⇒ Struct
This operation deletes an asset.
917 918 919 920 |
# File 'lib/aws-sdk-dataexchange/client.rb', line 917 def delete_asset(params = {}, = {}) req = build_request(:delete_asset, params) req.send_request() end |
#delete_data_set(params = {}) ⇒ Struct
This operation deletes a data set.
939 940 941 942 |
# File 'lib/aws-sdk-dataexchange/client.rb', line 939 def delete_data_set(params = {}, = {}) req = build_request(:delete_data_set, params) req.send_request() end |
#delete_event_action(params = {}) ⇒ Struct
This operation deletes the event action.
961 962 963 964 |
# File 'lib/aws-sdk-dataexchange/client.rb', line 961 def delete_event_action(params = {}, = {}) req = build_request(:delete_event_action, params) req.send_request() end |
#delete_revision(params = {}) ⇒ Struct
This operation deletes a revision.
987 988 989 990 |
# File 'lib/aws-sdk-dataexchange/client.rb', line 987 def delete_revision(params = {}, = {}) req = build_request(:delete_revision, params) req.send_request() end |
#get_asset(params = {}) ⇒ Types::GetAssetResponse
This operation returns information about an asset.
1074 1075 1076 1077 |
# File 'lib/aws-sdk-dataexchange/client.rb', line 1074 def get_asset(params = {}, = {}) req = build_request(:get_asset, params) req.send_request() end |
#get_data_set(params = {}) ⇒ Types::GetDataSetResponse
This operation returns information about a data set.
1123 1124 1125 1126 |
# File 'lib/aws-sdk-dataexchange/client.rb', line 1123 def get_data_set(params = {}, = {}) req = build_request(:get_data_set, params) req.send_request() end |
#get_event_action(params = {}) ⇒ Types::GetEventActionResponse
This operation retrieves information about an event action.
1164 1165 1166 1167 |
# File 'lib/aws-sdk-dataexchange/client.rb', line 1164 def get_event_action(params = {}, = {}) req = build_request(:get_event_action, params) req.send_request() end |
#get_job(params = {}) ⇒ Types::GetJobResponse
This operation returns information about a job.
1287 1288 1289 1290 |
# File 'lib/aws-sdk-dataexchange/client.rb', line 1287 def get_job(params = {}, = {}) req = build_request(:get_job, params) req.send_request() end |
#get_revision(params = {}) ⇒ Types::GetRevisionResponse
This operation returns information about a revision.
1342 1343 1344 1345 |
# File 'lib/aws-sdk-dataexchange/client.rb', line 1342 def get_revision(params = {}, = {}) req = build_request(:get_revision, params) req.send_request() end |
#list_data_set_revisions(params = {}) ⇒ Types::ListDataSetRevisionsResponse
This operation lists a data set’s revisions sorted by CreatedAt in descending order.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1395 1396 1397 1398 |
# File 'lib/aws-sdk-dataexchange/client.rb', line 1395 def list_data_set_revisions(params = {}, = {}) req = build_request(:list_data_set_revisions, params) req.send_request() end |
#list_data_sets(params = {}) ⇒ Types::ListDataSetsResponse
This operation lists your data sets. When listing by origin OWNED, results are sorted by CreatedAt in descending order. When listing by origin ENTITLED, there is no order and the maxResults parameter is ignored.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1450 1451 1452 1453 |
# File 'lib/aws-sdk-dataexchange/client.rb', line 1450 def list_data_sets(params = {}, = {}) req = build_request(:list_data_sets, params) req.send_request() end |
#list_event_actions(params = {}) ⇒ Types::ListEventActionsResponse
This operation lists your event actions.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1500 1501 1502 1503 |
# File 'lib/aws-sdk-dataexchange/client.rb', line 1500 def list_event_actions(params = {}, = {}) req = build_request(:list_event_actions, params) req.send_request() end |
#list_jobs(params = {}) ⇒ Types::ListJobsResponse
This operation lists your jobs sorted by CreatedAt in descending order.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1635 1636 1637 1638 |
# File 'lib/aws-sdk-dataexchange/client.rb', line 1635 def list_jobs(params = {}, = {}) req = build_request(:list_jobs, params) req.send_request() end |
#list_revision_assets(params = {}) ⇒ Types::ListRevisionAssetsResponse
This operation lists a revision’s assets sorted alphabetically in descending order.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1724 1725 1726 1727 |
# File 'lib/aws-sdk-dataexchange/client.rb', line 1724 def list_revision_assets(params = {}, = {}) req = build_request(:list_revision_assets, params) req.send_request() end |
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceResponse
This operation lists the tags on the resource.
1754 1755 1756 1757 |
# File 'lib/aws-sdk-dataexchange/client.rb', line 1754 def (params = {}, = {}) req = build_request(:list_tags_for_resource, params) req.send_request() end |
#revoke_revision(params = {}) ⇒ Types::RevokeRevisionResponse
This operation revokes subscribers’ access to a revision.
1811 1812 1813 1814 |
# File 'lib/aws-sdk-dataexchange/client.rb', line 1811 def revoke_revision(params = {}, = {}) req = build_request(:revoke_revision, params) req.send_request() end |
#send_api_asset(params = {}) ⇒ Types::SendApiAssetResponse
This operation invokes an API Gateway API asset. The request is proxied to the provider’s API Gateway API.
1881 1882 1883 1884 |
# File 'lib/aws-sdk-dataexchange/client.rb', line 1881 def send_api_asset(params = {}, = {}) req = build_request(:send_api_asset, params) req.send_request() end |
#send_data_set_notification(params = {}) ⇒ Struct
The type of event associated with the data set.
1971 1972 1973 1974 |
# File 'lib/aws-sdk-dataexchange/client.rb', line 1971 def send_data_set_notification(params = {}, = {}) req = build_request(:send_data_set_notification, params) req.send_request() end |
#start_job(params = {}) ⇒ Struct
This operation starts a job.
1993 1994 1995 1996 |
# File 'lib/aws-sdk-dataexchange/client.rb', line 1993 def start_job(params = {}, = {}) req = build_request(:start_job, params) req.send_request() end |
#tag_resource(params = {}) ⇒ Struct
This operation tags a resource.
2022 2023 2024 2025 |
# File 'lib/aws-sdk-dataexchange/client.rb', line 2022 def tag_resource(params = {}, = {}) req = build_request(:tag_resource, params) req.send_request() end |
#untag_resource(params = {}) ⇒ Struct
This operation removes one or more tags from a resource.
2049 2050 2051 2052 |
# File 'lib/aws-sdk-dataexchange/client.rb', line 2049 def untag_resource(params = {}, = {}) req = build_request(:untag_resource, params) req.send_request() end |
#update_asset(params = {}) ⇒ Types::UpdateAssetResponse
This operation updates an asset.
2147 2148 2149 2150 |
# File 'lib/aws-sdk-dataexchange/client.rb', line 2147 def update_asset(params = {}, = {}) req = build_request(:update_asset, params) req.send_request() end |
#update_data_set(params = {}) ⇒ Types::UpdateDataSetResponse
This operation updates a data set.
2201 2202 2203 2204 |
# File 'lib/aws-sdk-dataexchange/client.rb', line 2201 def update_data_set(params = {}, = {}) req = build_request(:update_data_set, params) req.send_request() end |
#update_event_action(params = {}) ⇒ Types::UpdateEventActionResponse
This operation updates the event action.
2257 2258 2259 2260 |
# File 'lib/aws-sdk-dataexchange/client.rb', line 2257 def update_event_action(params = {}, = {}) req = build_request(:update_event_action, params) req.send_request() end |
#update_revision(params = {}) ⇒ Types::UpdateRevisionResponse
This operation updates a revision.
2319 2320 2321 2322 |
# File 'lib/aws-sdk-dataexchange/client.rb', line 2319 def update_revision(params = {}, = {}) req = build_request(:update_revision, params) req.send_request() end |
#waiter_names ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
2348 2349 2350 |
# File 'lib/aws-sdk-dataexchange/client.rb', line 2348 def waiter_names [] end |