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.
480 481 482 |
# File 'gems/aws-sdk-partnercentralbenefits/lib/aws-sdk-partnercentralbenefits/client.rb', line 480 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.
534 535 536 537 |
# File 'gems/aws-sdk-partnercentralbenefits/lib/aws-sdk-partnercentralbenefits/client.rb', line 534 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.
578 579 580 581 |
# File 'gems/aws-sdk-partnercentralbenefits/lib/aws-sdk-partnercentralbenefits/client.rb', line 578 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.
616 617 618 619 |
# File 'gems/aws-sdk-partnercentralbenefits/lib/aws-sdk-partnercentralbenefits/client.rb', line 616 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.
720 721 722 723 |
# File 'gems/aws-sdk-partnercentralbenefits/lib/aws-sdk-partnercentralbenefits/client.rb', line 720 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.
764 765 766 767 |
# File 'gems/aws-sdk-partnercentralbenefits/lib/aws-sdk-partnercentralbenefits/client.rb', line 764 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.
814 815 816 817 |
# File 'gems/aws-sdk-partnercentralbenefits/lib/aws-sdk-partnercentralbenefits/client.rb', line 814 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.
906 907 908 909 |
# File 'gems/aws-sdk-partnercentralbenefits/lib/aws-sdk-partnercentralbenefits/client.rb', line 906 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.
992 993 994 995 |
# File 'gems/aws-sdk-partnercentralbenefits/lib/aws-sdk-partnercentralbenefits/client.rb', line 992 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.
1066 1067 1068 1069 |
# File 'gems/aws-sdk-partnercentralbenefits/lib/aws-sdk-partnercentralbenefits/client.rb', line 1066 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.
1160 1161 1162 1163 |
# File 'gems/aws-sdk-partnercentralbenefits/lib/aws-sdk-partnercentralbenefits/client.rb', line 1160 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.
1224 1225 1226 1227 |
# File 'gems/aws-sdk-partnercentralbenefits/lib/aws-sdk-partnercentralbenefits/client.rb', line 1224 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.
1254 1255 1256 1257 |
# File 'gems/aws-sdk-partnercentralbenefits/lib/aws-sdk-partnercentralbenefits/client.rb', line 1254 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.
1292 1293 1294 1295 |
# File 'gems/aws-sdk-partnercentralbenefits/lib/aws-sdk-partnercentralbenefits/client.rb', line 1292 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.
1319 1320 1321 1322 |
# File 'gems/aws-sdk-partnercentralbenefits/lib/aws-sdk-partnercentralbenefits/client.rb', line 1319 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.
1350 1351 1352 1353 |
# File 'gems/aws-sdk-partnercentralbenefits/lib/aws-sdk-partnercentralbenefits/client.rb', line 1350 def tag_resource(params = {}, = {}) req = build_request(:tag_resource, params) req.send_request() end |
#untag_resource(params = {}) ⇒ Struct
Removes specified tags from a resource.
1376 1377 1378 1379 |
# File 'gems/aws-sdk-partnercentralbenefits/lib/aws-sdk-partnercentralbenefits/client.rb', line 1376 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.
1466 1467 1468 1469 |
# File 'gems/aws-sdk-partnercentralbenefits/lib/aws-sdk-partnercentralbenefits/client.rb', line 1466 def update_benefit_application(params = {}, = {}) req = build_request(:update_benefit_application, params) req.send_request() end |