Class: Aws::PartnerCentralAnalytics::Client
- Inherits:
-
Seahorse::Client::Base
- Object
- Seahorse::Client::Base
- Aws::PartnerCentralAnalytics::Client
- Includes:
- ClientStubs
- Defined in:
- gems/aws-sdk-partnercentralanalytics/lib/aws-sdk-partnercentralanalytics/client.rb
Overview
An API client for PartnerCentralAnalytics. To construct a client, you need to configure a :region and :credentials.
client = Aws::PartnerCentralAnalytics::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_data_subscription(params = {}) ⇒ Types::CreateDataSubscriptionOutput
Creates a data subscription that delivers a partner analytics dataset to an S3 bucket in the caller's AWS account on a schedule.
-
#delete_data_subscription(params = {}) ⇒ Struct
Deletes a data subscription owned by the calling account.
-
#get_data_subscription(params = {}) ⇒ Types::GetDataSubscriptionOutput
Returns the full details of a data subscription owned by the calling account, including its delivery status and how far delivery has progressed.
-
#list_data_subscriptions(params = {}) ⇒ Types::ListDataSubscriptionsOutput
Lists the data subscriptions owned by the calling account in the given catalog.
-
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceOutput
Lists the tags on a data subscription owned by the calling account.
-
#tag_resource(params = {}) ⇒ Struct
Adds or overwrites tags on a data subscription owned by the calling account.
-
#untag_resource(params = {}) ⇒ Struct
Removes the named tag keys from a data subscription owned by the calling account.
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.
479 480 481 |
# File 'gems/aws-sdk-partnercentralanalytics/lib/aws-sdk-partnercentralanalytics/client.rb', line 479 def initialize(*args) super end |
Instance Method Details
#create_data_subscription(params = {}) ⇒ Types::CreateDataSubscriptionOutput
Creates a data subscription that delivers a partner analytics dataset to an S3 bucket in the caller's AWS account on a schedule. The delivery destination is validated before the subscription is created: the service performs a test write to the bucket as its delivery principal using the supplied KMS key. Subscriptions are immutable; delete and recreate to change one.
589 590 591 592 |
# File 'gems/aws-sdk-partnercentralanalytics/lib/aws-sdk-partnercentralanalytics/client.rb', line 589 def create_data_subscription(params = {}, = {}) req = build_request(:create_data_subscription, params) req.send_request() end |
#delete_data_subscription(params = {}) ⇒ Struct
Deletes a data subscription owned by the calling account. Delivery stops immediately; data already delivered stays in the caller's bucket. Deleting an already-deleted subscription succeeds.
632 633 634 635 |
# File 'gems/aws-sdk-partnercentralanalytics/lib/aws-sdk-partnercentralanalytics/client.rb', line 632 def delete_data_subscription(params = {}, = {}) req = build_request(:delete_data_subscription, params) req.send_request() end |
#get_data_subscription(params = {}) ⇒ Types::GetDataSubscriptionOutput
Returns the full details of a data subscription owned by the calling account, including its delivery status and how far delivery has progressed.
724 725 726 727 |
# File 'gems/aws-sdk-partnercentralanalytics/lib/aws-sdk-partnercentralanalytics/client.rb', line 724 def get_data_subscription(params = {}, = {}) req = build_request(:get_data_subscription, params) req.send_request() end |
#list_data_subscriptions(params = {}) ⇒ Types::ListDataSubscriptionsOutput
Lists the data subscriptions owned by the calling account in the given catalog. Deleted subscriptions are not listed; use GetDataSubscription to retrieve a deleted subscription by its ARN.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
808 809 810 811 |
# File 'gems/aws-sdk-partnercentralanalytics/lib/aws-sdk-partnercentralanalytics/client.rb', line 808 def list_data_subscriptions(params = {}, = {}) req = build_request(:list_data_subscriptions, params) req.send_request() end |
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceOutput
Lists the tags on a data subscription owned by the calling account.
859 860 861 862 |
# File 'gems/aws-sdk-partnercentralanalytics/lib/aws-sdk-partnercentralanalytics/client.rb', line 859 def (params = {}, = {}) req = build_request(:list_tags_for_resource, params) req.send_request() end |
#tag_resource(params = {}) ⇒ Struct
Adds or overwrites tags on a data subscription owned by the calling account.
912 913 914 915 |
# File 'gems/aws-sdk-partnercentralanalytics/lib/aws-sdk-partnercentralanalytics/client.rb', line 912 def tag_resource(params = {}, = {}) req = build_request(:tag_resource, params) req.send_request() end |
#untag_resource(params = {}) ⇒ Struct
Removes the named tag keys from a data subscription owned by the calling account.
960 961 962 963 |
# File 'gems/aws-sdk-partnercentralanalytics/lib/aws-sdk-partnercentralanalytics/client.rb', line 960 def untag_resource(params = {}, = {}) req = build_request(:untag_resource, params) req.send_request() end |