Class: Aws::PartnerCentralRevenueMeasurement::Client
- Inherits:
-
Seahorse::Client::Base
- Object
- Seahorse::Client::Base
- Aws::PartnerCentralRevenueMeasurement::Client
- Includes:
- ClientStubs
- Defined in:
- gems/aws-sdk-partnercentralrevenuemeasurement/lib/aws-sdk-partnercentralrevenuemeasurement/client.rb
Overview
An API client for PartnerCentralRevenueMeasurement. To construct a client, you need to configure a :region and :credentials.
client = Aws::PartnerCentralRevenueMeasurement::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_marketplace_revenue_share(params = {}) ⇒ Types::CreateMarketplaceRevenueShareOutput
Creates a new marketplace revenue share resource in the specified catalog.
-
#create_marketplace_revenue_share_allocation(params = {}) ⇒ Types::CreateMarketplaceRevenueShareAllocationOutput
Creates a new allocation under the specified marketplace revenue share.
-
#create_revenue_attribution(params = {}) ⇒ Types::CreateRevenueAttributionOutput
Creates a new revenue attribution record in the specified catalog.
-
#get_marketplace_revenue_share(params = {}) ⇒ Types::GetMarketplaceRevenueShareOutput
Retrieves the details of a specific marketplace revenue share.
-
#get_marketplace_revenue_share_allocation(params = {}) ⇒ Types::GetMarketplaceRevenueShareAllocationOutput
Retrieves the details of a specific marketplace revenue share allocation.
-
#get_revenue_attribution(params = {}) ⇒ Types::GetRevenueAttributionOutput
Retrieves the details of a specific revenue attribution.
-
#get_revenue_attribution_allocation(params = {}) ⇒ Types::GetRevenueAttributionAllocationOutput
Retrieves a single allocation by its RevenueAttributionAllocationId.
-
#get_revenue_attribution_allocations_task(params = {}) ⇒ Types::GetRevenueAttributionAllocationsTaskOutput
Retrieves the current status of a previously submitted allocations task.
-
#list_marketplace_revenue_share_allocations(params = {}) ⇒ Types::ListMarketplaceRevenueShareAllocationsOutput
Returns a paginated list of allocations under a marketplace revenue share, with optional filtering by status and effective date range.
-
#list_marketplace_revenue_shares(params = {}) ⇒ Types::ListMarketplaceRevenueSharesOutput
Returns a paginated list of marketplace revenue shares with optional filters.
-
#list_revenue_attribution_allocations(params = {}) ⇒ Types::ListRevenueAttributionAllocationsOutput
Returns a paginated list of committed allocations with support for filtering by entity, customer, status, or date range.
-
#list_revenue_attributions(params = {}) ⇒ Types::ListRevenueAttributionsOutput
Returns a paginated list of revenue attributions with optional filters.
-
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceOutput
Returns the tags associated with the specified resource.
-
#start_revenue_attribution_allocations_task(params = {}) ⇒ Types::StartRevenueAttributionAllocationsTaskOutput
Submits a batch of up to 250 allocation changes (CREATE and/or UPDATE) for asynchronous processing.
-
#tag_resource(params = {}) ⇒ Struct
Adds or overwrites one or more tags for the specified resource.
-
#untag_resource(params = {}) ⇒ Struct
Removes one or more tags from the specified resource.
-
#update_marketplace_revenue_share(params = {}) ⇒ Types::UpdateMarketplaceRevenueShareOutput
Replaces the products of a marketplace revenue share.
-
#update_marketplace_revenue_share_allocation(params = {}) ⇒ Types::UpdateMarketplaceRevenueShareAllocationOutput
Updates an existing marketplace revenue share allocation.
-
#update_revenue_attribution(params = {}) ⇒ Types::UpdateRevenueAttributionOutput
Updates an existing revenue attribution record.
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-partnercentralrevenuemeasurement/lib/aws-sdk-partnercentralrevenuemeasurement/client.rb', line 479 def initialize(*args) super end |
Instance Method Details
#create_marketplace_revenue_share(params = {}) ⇒ Types::CreateMarketplaceRevenueShareOutput
Creates a new marketplace revenue share resource in the specified catalog.
599 600 601 602 |
# File 'gems/aws-sdk-partnercentralrevenuemeasurement/lib/aws-sdk-partnercentralrevenuemeasurement/client.rb', line 599 def create_marketplace_revenue_share(params = {}, = {}) req = build_request(:create_marketplace_revenue_share, params) req.send_request() end |
#create_marketplace_revenue_share_allocation(params = {}) ⇒ Types::CreateMarketplaceRevenueShareAllocationOutput
Creates a new allocation under the specified marketplace revenue share.
703 704 705 706 |
# File 'gems/aws-sdk-partnercentralrevenuemeasurement/lib/aws-sdk-partnercentralrevenuemeasurement/client.rb', line 703 def create_marketplace_revenue_share_allocation(params = {}, = {}) req = build_request(:create_marketplace_revenue_share_allocation, params) req.send_request() end |
#create_revenue_attribution(params = {}) ⇒ Types::CreateRevenueAttributionOutput
Creates a new revenue attribution record in the specified catalog.
804 805 806 807 |
# File 'gems/aws-sdk-partnercentralrevenuemeasurement/lib/aws-sdk-partnercentralrevenuemeasurement/client.rb', line 804 def create_revenue_attribution(params = {}, = {}) req = build_request(:create_revenue_attribution, params) req.send_request() end |
#get_marketplace_revenue_share(params = {}) ⇒ Types::GetMarketplaceRevenueShareOutput
Retrieves the details of a specific marketplace revenue share.
908 909 910 911 |
# File 'gems/aws-sdk-partnercentralrevenuemeasurement/lib/aws-sdk-partnercentralrevenuemeasurement/client.rb', line 908 def get_marketplace_revenue_share(params = {}, = {}) req = build_request(:get_marketplace_revenue_share, params) req.send_request() end |
#get_marketplace_revenue_share_allocation(params = {}) ⇒ Types::GetMarketplaceRevenueShareAllocationOutput
Retrieves the details of a specific marketplace revenue share allocation.
991 992 993 994 |
# File 'gems/aws-sdk-partnercentralrevenuemeasurement/lib/aws-sdk-partnercentralrevenuemeasurement/client.rb', line 991 def get_marketplace_revenue_share_allocation(params = {}, = {}) req = build_request(:get_marketplace_revenue_share_allocation, params) req.send_request() end |
#get_revenue_attribution(params = {}) ⇒ Types::GetRevenueAttributionOutput
Retrieves the details of a specific revenue attribution.
1078 1079 1080 1081 |
# File 'gems/aws-sdk-partnercentralrevenuemeasurement/lib/aws-sdk-partnercentralrevenuemeasurement/client.rb', line 1078 def get_revenue_attribution(params = {}, = {}) req = build_request(:get_revenue_attribution, params) req.send_request() end |
#get_revenue_attribution_allocation(params = {}) ⇒ Types::GetRevenueAttributionAllocationOutput
Retrieves a single allocation by its RevenueAttributionAllocationId. Supports optional point-in-time version queries.
1171 1172 1173 1174 |
# File 'gems/aws-sdk-partnercentralrevenuemeasurement/lib/aws-sdk-partnercentralrevenuemeasurement/client.rb', line 1171 def get_revenue_attribution_allocation(params = {}, = {}) req = build_request(:get_revenue_attribution_allocation, params) req.send_request() end |
#get_revenue_attribution_allocations_task(params = {}) ⇒ Types::GetRevenueAttributionAllocationsTaskOutput
Retrieves the current status of a previously submitted allocations task. When COMPLETE, includes the latest revision. When FAILED, includes error details.
1250 1251 1252 1253 |
# File 'gems/aws-sdk-partnercentralrevenuemeasurement/lib/aws-sdk-partnercentralrevenuemeasurement/client.rb', line 1250 def get_revenue_attribution_allocations_task(params = {}, = {}) req = build_request(:get_revenue_attribution_allocations_task, params) req.send_request() end |
#list_marketplace_revenue_share_allocations(params = {}) ⇒ Types::ListMarketplaceRevenueShareAllocationsOutput
Returns a paginated list of allocations under a marketplace revenue share, with optional filtering by status and effective date range. Supports historical reads at a specific share revision.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1363 1364 1365 1366 |
# File 'gems/aws-sdk-partnercentralrevenuemeasurement/lib/aws-sdk-partnercentralrevenuemeasurement/client.rb', line 1363 def list_marketplace_revenue_share_allocations(params = {}, = {}) req = build_request(:list_marketplace_revenue_share_allocations, params) req.send_request() end |
#list_marketplace_revenue_shares(params = {}) ⇒ Types::ListMarketplaceRevenueSharesOutput
Returns a paginated list of marketplace revenue shares with optional filters.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1494 1495 1496 1497 |
# File 'gems/aws-sdk-partnercentralrevenuemeasurement/lib/aws-sdk-partnercentralrevenuemeasurement/client.rb', line 1494 def list_marketplace_revenue_shares(params = {}, = {}) req = build_request(:list_marketplace_revenue_shares, params) req.send_request() end |
#list_revenue_attribution_allocations(params = {}) ⇒ Types::ListRevenueAttributionAllocationsOutput
Returns a paginated list of committed allocations with support for filtering by entity, customer, status, or date range.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1608 1609 1610 1611 |
# File 'gems/aws-sdk-partnercentralrevenuemeasurement/lib/aws-sdk-partnercentralrevenuemeasurement/client.rb', line 1608 def list_revenue_attribution_allocations(params = {}, = {}) req = build_request(:list_revenue_attribution_allocations, params) req.send_request() end |
#list_revenue_attributions(params = {}) ⇒ Types::ListRevenueAttributionsOutput
Returns a paginated list of revenue attributions with optional filters.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1713 1714 1715 1716 |
# File 'gems/aws-sdk-partnercentralrevenuemeasurement/lib/aws-sdk-partnercentralrevenuemeasurement/client.rb', line 1713 def list_revenue_attributions(params = {}, = {}) req = build_request(:list_revenue_attributions, params) req.send_request() end |
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceOutput
Returns the tags associated with the specified resource.
1743 1744 1745 1746 |
# File 'gems/aws-sdk-partnercentralrevenuemeasurement/lib/aws-sdk-partnercentralrevenuemeasurement/client.rb', line 1743 def (params = {}, = {}) req = build_request(:list_tags_for_resource, params) req.send_request() end |
#start_revenue_attribution_allocations_task(params = {}) ⇒ Types::StartRevenueAttributionAllocationsTaskOutput
Submits a batch of up to 250 allocation changes (CREATE and/or UPDATE) for asynchronous processing. Returns a TaskId for tracking.
1848 1849 1850 1851 |
# File 'gems/aws-sdk-partnercentralrevenuemeasurement/lib/aws-sdk-partnercentralrevenuemeasurement/client.rb', line 1848 def start_revenue_attribution_allocations_task(params = {}, = {}) req = build_request(:start_revenue_attribution_allocations_task, params) req.send_request() end |
#tag_resource(params = {}) ⇒ Struct
Adds or overwrites one or more tags for the specified resource.
1879 1880 1881 1882 |
# File 'gems/aws-sdk-partnercentralrevenuemeasurement/lib/aws-sdk-partnercentralrevenuemeasurement/client.rb', line 1879 def tag_resource(params = {}, = {}) req = build_request(:tag_resource, params) req.send_request() end |
#untag_resource(params = {}) ⇒ Struct
Removes one or more tags from the specified resource.
1905 1906 1907 1908 |
# File 'gems/aws-sdk-partnercentralrevenuemeasurement/lib/aws-sdk-partnercentralrevenuemeasurement/client.rb', line 1905 def untag_resource(params = {}, = {}) req = build_request(:untag_resource, params) req.send_request() end |
#update_marketplace_revenue_share(params = {}) ⇒ Types::UpdateMarketplaceRevenueShareOutput
Replaces the products of a marketplace revenue share. The request carries the complete desired set of products and their typed account lists; a product not listed is removed and its account lists cleared, and an empty Products list closes the marketplace revenue share. Closing is one-way.
2045 2046 2047 2048 |
# File 'gems/aws-sdk-partnercentralrevenuemeasurement/lib/aws-sdk-partnercentralrevenuemeasurement/client.rb', line 2045 def update_marketplace_revenue_share(params = {}, = {}) req = build_request(:update_marketplace_revenue_share, params) req.send_request() end |
#update_marketplace_revenue_share_allocation(params = {}) ⇒ Types::UpdateMarketplaceRevenueShareAllocationOutput
Updates an existing marketplace revenue share allocation. Supports modifying the revenue share percentage and status only, with time-based mutability rules.
2148 2149 2150 2151 |
# File 'gems/aws-sdk-partnercentralrevenuemeasurement/lib/aws-sdk-partnercentralrevenuemeasurement/client.rb', line 2148 def update_marketplace_revenue_share_allocation(params = {}, = {}) req = build_request(:update_marketplace_revenue_share_allocation, params) req.send_request() end |
#update_revenue_attribution(params = {}) ⇒ Types::UpdateRevenueAttributionOutput
Updates an existing revenue attribution record.
2231 2232 2233 2234 |
# File 'gems/aws-sdk-partnercentralrevenuemeasurement/lib/aws-sdk-partnercentralrevenuemeasurement/client.rb', line 2231 def update_revenue_attribution(params = {}, = {}) req = build_request(:update_revenue_attribution, params) req.send_request() end |