Class: Aws::Repostspace::Client
- Inherits:
-
Seahorse::Client::Base
- Object
- Seahorse::Client::Base
- Aws::Repostspace::Client
- Includes:
- ClientStubs
- Defined in:
- gems/aws-sdk-repostspace/lib/aws-sdk-repostspace/client.rb
Overview
An API client for Repostspace. To construct a client, you need to configure a :region
and :credentials
.
client = Aws::Repostspace::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_space(params = {}) ⇒ Types::CreateSpaceOutput
Creates an AWS re:Post Private private re:Post.
-
#delete_space(params = {}) ⇒ Struct
Deletes an AWS re:Post Private private re:Post.
-
#deregister_admin(params = {}) ⇒ Struct
Removes the user or group from the list of administrators of the private re:Post.
-
#get_space(params = {}) ⇒ Types::GetSpaceOutput
Displays information about the AWS re:Post Private private re:Post.
-
#list_spaces(params = {}) ⇒ Types::ListSpacesOutput
Returns a list of AWS re:Post Private private re:Posts in the account with some information about each private re:Post.
-
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceResponse
Returns the tags that are associated with the AWS re:Post Private resource specified by the resourceArn.
-
#register_admin(params = {}) ⇒ Struct
Adds a user or group to the list of administrators of the private re:Post.
-
#send_invites(params = {}) ⇒ Struct
Sends an invitation email to selected users and groups.
-
#tag_resource(params = {}) ⇒ Struct
Associates tags with an AWS re:Post Private resource.
-
#untag_resource(params = {}) ⇒ Struct
Removes the association of the tag with the AWS re:Post Private resource.
-
#update_space(params = {}) ⇒ Struct
Modifies an existing AWS re:Post Private private re:Post.
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.
409 410 411 |
# File 'gems/aws-sdk-repostspace/lib/aws-sdk-repostspace/client.rb', line 409 def initialize(*args) super end |
Instance Method Details
#create_space(params = {}) ⇒ Types::CreateSpaceOutput
Creates an AWS re:Post Private private re:Post.
471 472 473 474 |
# File 'gems/aws-sdk-repostspace/lib/aws-sdk-repostspace/client.rb', line 471 def create_space(params = {}, = {}) req = build_request(:create_space, params) req.send_request() end |
#delete_space(params = {}) ⇒ Struct
Deletes an AWS re:Post Private private re:Post.
493 494 495 496 |
# File 'gems/aws-sdk-repostspace/lib/aws-sdk-repostspace/client.rb', line 493 def delete_space(params = {}, = {}) req = build_request(:delete_space, params) req.send_request() end |
#deregister_admin(params = {}) ⇒ Struct
Removes the user or group from the list of administrators of the private re:Post.
520 521 522 523 |
# File 'gems/aws-sdk-repostspace/lib/aws-sdk-repostspace/client.rb', line 520 def deregister_admin(params = {}, = {}) req = build_request(:deregister_admin, params) req.send_request() end |
#get_space(params = {}) ⇒ Types::GetSpaceOutput
Displays information about the AWS re:Post Private private re:Post.
588 589 590 591 |
# File 'gems/aws-sdk-repostspace/lib/aws-sdk-repostspace/client.rb', line 588 def get_space(params = {}, = {}) req = build_request(:get_space, params) req.send_request() end |
#list_spaces(params = {}) ⇒ Types::ListSpacesOutput
Returns a list of AWS re:Post Private private re:Posts in the account with some information about each private re:Post.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
642 643 644 645 |
# File 'gems/aws-sdk-repostspace/lib/aws-sdk-repostspace/client.rb', line 642 def list_spaces(params = {}, = {}) req = build_request(:list_spaces, params) req.send_request() end |
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceResponse
Returns the tags that are associated with the AWS re:Post Private resource specified by the resourceArn. The only resource that can be tagged is a private re:Post.
673 674 675 676 |
# File 'gems/aws-sdk-repostspace/lib/aws-sdk-repostspace/client.rb', line 673 def (params = {}, = {}) req = build_request(:list_tags_for_resource, params) req.send_request() end |
#register_admin(params = {}) ⇒ Struct
Adds a user or group to the list of administrators of the private re:Post.
700 701 702 703 |
# File 'gems/aws-sdk-repostspace/lib/aws-sdk-repostspace/client.rb', line 700 def register_admin(params = {}, = {}) req = build_request(:register_admin, params) req.send_request() end |
#send_invites(params = {}) ⇒ Struct
Sends an invitation email to selected users and groups.
734 735 736 737 |
# File 'gems/aws-sdk-repostspace/lib/aws-sdk-repostspace/client.rb', line 734 def send_invites(params = {}, = {}) req = build_request(:send_invites, params) req.send_request() end |
#tag_resource(params = {}) ⇒ Struct
Associates tags with an AWS re:Post Private resource. Currently, the only resource that can be tagged is the private re:Post. If you specify a new tag key for the resource, the tag is appended to the list of tags that are associated with the resource. If you specify a tag key that’s already associated with the resource, the new tag value that you specify replaces the previous value for that tag.
769 770 771 772 |
# File 'gems/aws-sdk-repostspace/lib/aws-sdk-repostspace/client.rb', line 769 def tag_resource(params = {}, = {}) req = build_request(:tag_resource, params) req.send_request() end |
#untag_resource(params = {}) ⇒ Struct
Removes the association of the tag with the AWS re:Post Private resource.
796 797 798 799 |
# File 'gems/aws-sdk-repostspace/lib/aws-sdk-repostspace/client.rb', line 796 def untag_resource(params = {}, = {}) req = build_request(:untag_resource, params) req.send_request() end |
#update_space(params = {}) ⇒ Struct
Modifies an existing AWS re:Post Private private re:Post.
832 833 834 835 |
# File 'gems/aws-sdk-repostspace/lib/aws-sdk-repostspace/client.rb', line 832 def update_space(params = {}, = {}) req = build_request(:update_space, params) req.send_request() end |