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.
936 937 938 939 |
# File 'gems/aws-sdk-partnercentralchannel/lib/aws-sdk-partnercentralchannel/client.rb', line 936 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.
983 984 985 986 |
# File 'gems/aws-sdk-partnercentralchannel/lib/aws-sdk-partnercentralchannel/client.rb', line 983 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.
1036 1037 1038 1039 |
# File 'gems/aws-sdk-partnercentralchannel/lib/aws-sdk-partnercentralchannel/client.rb', line 1036 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.
1111 1112 1113 1114 |
# File 'gems/aws-sdk-partnercentralchannel/lib/aws-sdk-partnercentralchannel/client.rb', line 1111 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.
1405 1406 1407 1408 |
# File 'gems/aws-sdk-partnercentralchannel/lib/aws-sdk-partnercentralchannel/client.rb', line 1405 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.
1522 1523 1524 1525 |
# File 'gems/aws-sdk-partnercentralchannel/lib/aws-sdk-partnercentralchannel/client.rb', line 1522 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.
1640 1641 1642 1643 |
# File 'gems/aws-sdk-partnercentralchannel/lib/aws-sdk-partnercentralchannel/client.rb', line 1640 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.
1687 1688 1689 1690 |
# File 'gems/aws-sdk-partnercentralchannel/lib/aws-sdk-partnercentralchannel/client.rb', line 1687 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.
1738 1739 1740 1741 |
# File 'gems/aws-sdk-partnercentralchannel/lib/aws-sdk-partnercentralchannel/client.rb', line 1738 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.
1786 1787 1788 1789 |
# File 'gems/aws-sdk-partnercentralchannel/lib/aws-sdk-partnercentralchannel/client.rb', line 1786 def tag_resource(params = {}, = {}) req = build_request(:tag_resource, params) req.send_request() end |
#untag_resource(params = {}) ⇒ Struct
Removes tags from a specified resource.
1826 1827 1828 1829 |
# File 'gems/aws-sdk-partnercentralchannel/lib/aws-sdk-partnercentralchannel/client.rb', line 1826 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.
1889 1890 1891 1892 |
# File 'gems/aws-sdk-partnercentralchannel/lib/aws-sdk-partnercentralchannel/client.rb', line 1889 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.
1976 1977 1978 1979 |
# File 'gems/aws-sdk-partnercentralchannel/lib/aws-sdk-partnercentralchannel/client.rb', line 1976 def update_relationship(params = {}, = {}) req = build_request(:update_relationship, params) req.send_request() end |