Class: Aws::PartnerCentralChannel::Client
- Inherits:
-
Seahorse::Client::Base
- Object
- Seahorse::Client::Base
- Aws::PartnerCentralChannel::Client
- Includes:
- ClientStubs
- Defined in:
- gems/aws-sdk-partnercentralchannel/lib/aws-sdk-partnercentralchannel/client.rb
Overview
An API client for PartnerCentralChannel. To construct a client, you need to configure a :region and :credentials.
client = Aws::PartnerCentralChannel::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
-
#accept_channel_handshake(params = {}) ⇒ Types::AcceptChannelHandshakeResponse
Accepts a pending channel handshake request from another AWS account.
-
#cancel_channel_handshake(params = {}) ⇒ Types::CancelChannelHandshakeResponse
Cancels a pending channel handshake request.
-
#create_channel_handshake(params = {}) ⇒ Types::CreateChannelHandshakeResponse
Creates a new channel handshake request to establish a partnership with another AWS account.
-
#create_program_management_account(params = {}) ⇒ Types::CreateProgramManagementAccountResponse
Creates a new program management account for managing partner relationships.
-
#create_relationship(params = {}) ⇒ Types::CreateRelationshipResponse
Creates a new partner relationship between accounts.
-
#delete_program_management_account(params = {}) ⇒ Struct
Deletes a program management account.
-
#delete_relationship(params = {}) ⇒ Struct
Deletes a partner relationship.
-
#get_relationship(params = {}) ⇒ Types::GetRelationshipResponse
Retrieves details of a specific partner relationship.
-
#list_channel_handshakes(params = {}) ⇒ Types::ListChannelHandshakesResponse
Lists channel handshakes based on specified criteria.
-
#list_program_management_accounts(params = {}) ⇒ Types::ListProgramManagementAccountsResponse
Lists program management accounts based on specified criteria.
-
#list_relationships(params = {}) ⇒ Types::ListRelationshipsResponse
Lists partner relationships based on specified criteria.
-
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceResponse
Lists tags associated with a specific resource.
-
#reject_channel_handshake(params = {}) ⇒ Types::RejectChannelHandshakeResponse
Rejects a pending channel handshake request.
-
#tag_resource(params = {}) ⇒ Struct
Adds or updates tags for a specified resource.
-
#untag_resource(params = {}) ⇒ Struct
Removes tags from a specified resource.
-
#update_program_management_account(params = {}) ⇒ Types::UpdateProgramManagementAccountResponse
Updates the properties of a program management account.
-
#update_relationship(params = {}) ⇒ Types::UpdateRelationshipResponse
Updates the properties of a partner relationship.
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-partnercentralchannel/lib/aws-sdk-partnercentralchannel/client.rb', line 480 def initialize(*args) super end |
Instance Method Details
#accept_channel_handshake(params = {}) ⇒ Types::AcceptChannelHandshakeResponse
Accepts a pending channel handshake request from another AWS account.
532 533 534 535 |
# File 'gems/aws-sdk-partnercentralchannel/lib/aws-sdk-partnercentralchannel/client.rb', line 532 def accept_channel_handshake(params = {}, = {}) req = build_request(:accept_channel_handshake, params) req.send_request() end |
#cancel_channel_handshake(params = {}) ⇒ Types::CancelChannelHandshakeResponse
Cancels a pending channel handshake request.
583 584 585 586 |
# File 'gems/aws-sdk-partnercentralchannel/lib/aws-sdk-partnercentralchannel/client.rb', line 583 def cancel_channel_handshake(params = {}, = {}) req = build_request(:cancel_channel_handshake, params) req.send_request() end |
#create_channel_handshake(params = {}) ⇒ Types::CreateChannelHandshakeResponse
Creates a new channel handshake request to establish a partnership with another AWS account.
746 747 748 749 |
# File 'gems/aws-sdk-partnercentralchannel/lib/aws-sdk-partnercentralchannel/client.rb', line 746 def create_channel_handshake(params = {}, = {}) req = build_request(:create_channel_handshake, params) req.send_request() end |
#create_program_management_account(params = {}) ⇒ Types::CreateProgramManagementAccountResponse
Creates a new program management account for managing partner relationships.
824 825 826 827 |
# File 'gems/aws-sdk-partnercentralchannel/lib/aws-sdk-partnercentralchannel/client.rb', line 824 def create_program_management_account(params = {}, = {}) req = build_request(:create_program_management_account, params) req.send_request() end |
#create_relationship(params = {}) ⇒ Types::CreateRelationshipResponse
Creates a new partner relationship between accounts.
938 939 940 941 |
# File 'gems/aws-sdk-partnercentralchannel/lib/aws-sdk-partnercentralchannel/client.rb', line 938 def create_relationship(params = {}, = {}) req = build_request(:create_relationship, params) req.send_request() end |
#delete_program_management_account(params = {}) ⇒ Struct
Deletes a program management account.
985 986 987 988 |
# File 'gems/aws-sdk-partnercentralchannel/lib/aws-sdk-partnercentralchannel/client.rb', line 985 def delete_program_management_account(params = {}, = {}) req = build_request(:delete_program_management_account, params) req.send_request() end |
#delete_relationship(params = {}) ⇒ Struct
Deletes a partner relationship.
1038 1039 1040 1041 |
# File 'gems/aws-sdk-partnercentralchannel/lib/aws-sdk-partnercentralchannel/client.rb', line 1038 def delete_relationship(params = {}, = {}) req = build_request(:delete_relationship, params) req.send_request() end |
#get_relationship(params = {}) ⇒ Types::GetRelationshipResponse
Retrieves details of a specific partner relationship.
1113 1114 1115 1116 |
# File 'gems/aws-sdk-partnercentralchannel/lib/aws-sdk-partnercentralchannel/client.rb', line 1113 def get_relationship(params = {}, = {}) req = build_request(:get_relationship, params) req.send_request() end |
#list_channel_handshakes(params = {}) ⇒ Types::ListChannelHandshakesResponse
Lists channel handshakes based on specified criteria.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1407 1408 1409 1410 |
# File 'gems/aws-sdk-partnercentralchannel/lib/aws-sdk-partnercentralchannel/client.rb', line 1407 def list_channel_handshakes(params = {}, = {}) req = build_request(:list_channel_handshakes, params) req.send_request() end |
#list_program_management_accounts(params = {}) ⇒ Types::ListProgramManagementAccountsResponse
Lists program management accounts based on specified criteria.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1524 1525 1526 1527 |
# File 'gems/aws-sdk-partnercentralchannel/lib/aws-sdk-partnercentralchannel/client.rb', line 1524 def list_program_management_accounts(params = {}, = {}) req = build_request(:list_program_management_accounts, params) req.send_request() end |
#list_relationships(params = {}) ⇒ Types::ListRelationshipsResponse
Lists partner relationships based on specified criteria.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1642 1643 1644 1645 |
# File 'gems/aws-sdk-partnercentralchannel/lib/aws-sdk-partnercentralchannel/client.rb', line 1642 def list_relationships(params = {}, = {}) req = build_request(:list_relationships, params) req.send_request() end |
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceResponse
Lists tags associated with a specific resource.
1689 1690 1691 1692 |
# File 'gems/aws-sdk-partnercentralchannel/lib/aws-sdk-partnercentralchannel/client.rb', line 1689 def (params = {}, = {}) req = build_request(:list_tags_for_resource, params) req.send_request() end |
#reject_channel_handshake(params = {}) ⇒ Types::RejectChannelHandshakeResponse
Rejects a pending channel handshake request.
1740 1741 1742 1743 |
# File 'gems/aws-sdk-partnercentralchannel/lib/aws-sdk-partnercentralchannel/client.rb', line 1740 def reject_channel_handshake(params = {}, = {}) req = build_request(:reject_channel_handshake, params) req.send_request() end |
#tag_resource(params = {}) ⇒ Struct
Adds or updates tags for a specified resource.
1788 1789 1790 1791 |
# File 'gems/aws-sdk-partnercentralchannel/lib/aws-sdk-partnercentralchannel/client.rb', line 1788 def tag_resource(params = {}, = {}) req = build_request(:tag_resource, params) req.send_request() end |
#untag_resource(params = {}) ⇒ Struct
Removes tags from a specified resource.
1828 1829 1830 1831 |
# File 'gems/aws-sdk-partnercentralchannel/lib/aws-sdk-partnercentralchannel/client.rb', line 1828 def untag_resource(params = {}, = {}) req = build_request(:untag_resource, params) req.send_request() end |
#update_program_management_account(params = {}) ⇒ Types::UpdateProgramManagementAccountResponse
Updates the properties of a program management account.
1891 1892 1893 1894 |
# File 'gems/aws-sdk-partnercentralchannel/lib/aws-sdk-partnercentralchannel/client.rb', line 1891 def update_program_management_account(params = {}, = {}) req = build_request(:update_program_management_account, params) req.send_request() end |
#update_relationship(params = {}) ⇒ Types::UpdateRelationshipResponse
Updates the properties of a partner relationship.
1980 1981 1982 1983 |
# File 'gems/aws-sdk-partnercentralchannel/lib/aws-sdk-partnercentralchannel/client.rb', line 1980 def update_relationship(params = {}, = {}) req = build_request(:update_relationship, params) req.send_request() end |