Class: Aws::PartnerCentralBenefits::Client
- Inherits:
-
Seahorse::Client::Base
- Object
- Seahorse::Client::Base
- Aws::PartnerCentralBenefits::Client
- Includes:
- ClientStubs
- Defined in:
- gems/aws-sdk-partnercentralbenefits/lib/aws-sdk-partnercentralbenefits/client.rb
Overview
An API client for PartnerCentralBenefits. To construct a client, you need to configure a :region and :credentials.
client = Aws::PartnerCentralBenefits::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
-
#amend_benefit_application(params = {}) ⇒ Struct
Modifies an existing benefit application by applying amendments to specific fields while maintaining revision control.
-
#associate_benefit_application_resource(params = {}) ⇒ Types::AssociateBenefitApplicationResourceOutput
Links an AWS resource to an existing benefit application for tracking and management purposes.
-
#cancel_benefit_application(params = {}) ⇒ Struct
Cancels a benefit application that is currently in progress, preventing further processing.
-
#create_benefit_application(params = {}) ⇒ Types::CreateBenefitApplicationOutput
Creates a new benefit application for a partner to request access to AWS benefits and programs.
-
#disassociate_benefit_application_resource(params = {}) ⇒ Types::DisassociateBenefitApplicationResourceOutput
Removes the association between an AWS resource and a benefit application.
-
#get_benefit(params = {}) ⇒ Types::GetBenefitOutput
Retrieves detailed information about a specific benefit available in the partner catalog.
-
#get_benefit_allocation(params = {}) ⇒ Types::GetBenefitAllocationOutput
Retrieves detailed information about a specific benefit allocation that has been granted to a partner.
-
#get_benefit_application(params = {}) ⇒ Types::GetBenefitApplicationOutput
Retrieves detailed information about a specific benefit application.
-
#list_benefit_allocations(params = {}) ⇒ Types::ListBenefitAllocationsOutput
Retrieves a paginated list of benefit allocations based on specified filter criteria.
-
#list_benefit_applications(params = {}) ⇒ Types::ListBenefitApplicationsOutput
Retrieves a paginated list of benefit applications based on specified filter criteria.
-
#list_benefits(params = {}) ⇒ Types::ListBenefitsOutput
Retrieves a paginated list of available benefits based on specified filter criteria.
-
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceResponse
Retrieves all tags associated with a specific resource.
-
#recall_benefit_application(params = {}) ⇒ Struct
Recalls a submitted benefit application, returning it to draft status for further modifications.
-
#submit_benefit_application(params = {}) ⇒ Struct
Submits a benefit application for review and processing by AWS.
-
#tag_resource(params = {}) ⇒ Struct
Adds or updates tags for a specified resource.
-
#untag_resource(params = {}) ⇒ Struct
Removes specified tags from a resource.
-
#update_benefit_application(params = {}) ⇒ Types::UpdateBenefitApplicationOutput
Updates an existing benefit application with new information while maintaining revision control.
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.
486 487 488 |
# File 'gems/aws-sdk-partnercentralbenefits/lib/aws-sdk-partnercentralbenefits/client.rb', line 486 def initialize(*args) super end |
Instance Method Details
#amend_benefit_application(params = {}) ⇒ Struct
Modifies an existing benefit application by applying amendments to specific fields while maintaining revision control.
540 541 542 543 |
# File 'gems/aws-sdk-partnercentralbenefits/lib/aws-sdk-partnercentralbenefits/client.rb', line 540 def amend_benefit_application(params = {}, = {}) req = build_request(:amend_benefit_application, params) req.send_request() end |
#associate_benefit_application_resource(params = {}) ⇒ Types::AssociateBenefitApplicationResourceOutput
Links an AWS resource to an existing benefit application for tracking and management purposes.
584 585 586 587 |
# File 'gems/aws-sdk-partnercentralbenefits/lib/aws-sdk-partnercentralbenefits/client.rb', line 584 def associate_benefit_application_resource(params = {}, = {}) req = build_request(:associate_benefit_application_resource, params) req.send_request() end |
#cancel_benefit_application(params = {}) ⇒ Struct
Cancels a benefit application that is currently in progress, preventing further processing.
622 623 624 625 |
# File 'gems/aws-sdk-partnercentralbenefits/lib/aws-sdk-partnercentralbenefits/client.rb', line 622 def cancel_benefit_application(params = {}, = {}) req = build_request(:cancel_benefit_application, params) req.send_request() end |
#create_benefit_application(params = {}) ⇒ Types::CreateBenefitApplicationOutput
Creates a new benefit application for a partner to request access to AWS benefits and programs.
726 727 728 729 |
# File 'gems/aws-sdk-partnercentralbenefits/lib/aws-sdk-partnercentralbenefits/client.rb', line 726 def create_benefit_application(params = {}, = {}) req = build_request(:create_benefit_application, params) req.send_request() end |
#disassociate_benefit_application_resource(params = {}) ⇒ Types::DisassociateBenefitApplicationResourceOutput
Removes the association between an AWS resource and a benefit application.
770 771 772 773 |
# File 'gems/aws-sdk-partnercentralbenefits/lib/aws-sdk-partnercentralbenefits/client.rb', line 770 def disassociate_benefit_application_resource(params = {}, = {}) req = build_request(:disassociate_benefit_application_resource, params) req.send_request() end |
#get_benefit(params = {}) ⇒ Types::GetBenefitOutput
Retrieves detailed information about a specific benefit available in the partner catalog.
820 821 822 823 |
# File 'gems/aws-sdk-partnercentralbenefits/lib/aws-sdk-partnercentralbenefits/client.rb', line 820 def get_benefit(params = {}, = {}) req = build_request(:get_benefit, params) req.send_request() end |
#get_benefit_allocation(params = {}) ⇒ Types::GetBenefitAllocationOutput
Retrieves detailed information about a specific benefit allocation that has been granted to a partner.
912 913 914 915 |
# File 'gems/aws-sdk-partnercentralbenefits/lib/aws-sdk-partnercentralbenefits/client.rb', line 912 def get_benefit_allocation(params = {}, = {}) req = build_request(:get_benefit_allocation, params) req.send_request() end |
#get_benefit_application(params = {}) ⇒ Types::GetBenefitApplicationOutput
Retrieves detailed information about a specific benefit application.
998 999 1000 1001 |
# File 'gems/aws-sdk-partnercentralbenefits/lib/aws-sdk-partnercentralbenefits/client.rb', line 998 def get_benefit_application(params = {}, = {}) req = build_request(:get_benefit_application, params) req.send_request() end |
#list_benefit_allocations(params = {}) ⇒ Types::ListBenefitAllocationsOutput
Retrieves a paginated list of benefit allocations based on specified filter criteria.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1072 1073 1074 1075 |
# File 'gems/aws-sdk-partnercentralbenefits/lib/aws-sdk-partnercentralbenefits/client.rb', line 1072 def list_benefit_allocations(params = {}, = {}) req = build_request(:list_benefit_allocations, params) req.send_request() end |
#list_benefit_applications(params = {}) ⇒ Types::ListBenefitApplicationsOutput
Retrieves a paginated list of benefit applications based on specified filter criteria.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1166 1167 1168 1169 |
# File 'gems/aws-sdk-partnercentralbenefits/lib/aws-sdk-partnercentralbenefits/client.rb', line 1166 def list_benefit_applications(params = {}, = {}) req = build_request(:list_benefit_applications, params) req.send_request() end |
#list_benefits(params = {}) ⇒ Types::ListBenefitsOutput
Retrieves a paginated list of available benefits based on specified filter criteria.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1230 1231 1232 1233 |
# File 'gems/aws-sdk-partnercentralbenefits/lib/aws-sdk-partnercentralbenefits/client.rb', line 1230 def list_benefits(params = {}, = {}) req = build_request(:list_benefits, params) req.send_request() end |
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceResponse
Retrieves all tags associated with a specific resource.
1260 1261 1262 1263 |
# File 'gems/aws-sdk-partnercentralbenefits/lib/aws-sdk-partnercentralbenefits/client.rb', line 1260 def (params = {}, = {}) req = build_request(:list_tags_for_resource, params) req.send_request() end |
#recall_benefit_application(params = {}) ⇒ Struct
Recalls a submitted benefit application, returning it to draft status for further modifications.
1298 1299 1300 1301 |
# File 'gems/aws-sdk-partnercentralbenefits/lib/aws-sdk-partnercentralbenefits/client.rb', line 1298 def recall_benefit_application(params = {}, = {}) req = build_request(:recall_benefit_application, params) req.send_request() end |
#submit_benefit_application(params = {}) ⇒ Struct
Submits a benefit application for review and processing by AWS.
1325 1326 1327 1328 |
# File 'gems/aws-sdk-partnercentralbenefits/lib/aws-sdk-partnercentralbenefits/client.rb', line 1325 def submit_benefit_application(params = {}, = {}) req = build_request(:submit_benefit_application, params) req.send_request() end |
#tag_resource(params = {}) ⇒ Struct
Adds or updates tags for a specified resource.
1356 1357 1358 1359 |
# File 'gems/aws-sdk-partnercentralbenefits/lib/aws-sdk-partnercentralbenefits/client.rb', line 1356 def tag_resource(params = {}, = {}) req = build_request(:tag_resource, params) req.send_request() end |
#untag_resource(params = {}) ⇒ Struct
Removes specified tags from a resource.
1382 1383 1384 1385 |
# File 'gems/aws-sdk-partnercentralbenefits/lib/aws-sdk-partnercentralbenefits/client.rb', line 1382 def untag_resource(params = {}, = {}) req = build_request(:untag_resource, params) req.send_request() end |
#update_benefit_application(params = {}) ⇒ Types::UpdateBenefitApplicationOutput
Updates an existing benefit application with new information while maintaining revision control.
1472 1473 1474 1475 |
# File 'gems/aws-sdk-partnercentralbenefits/lib/aws-sdk-partnercentralbenefits/client.rb', line 1472 def update_benefit_application(params = {}, = {}) req = build_request(:update_benefit_application, params) req.send_request() end |