Class: Aws::S3Outposts::Client
- Inherits:
-
Seahorse::Client::Base
- Object
- Seahorse::Client::Base
- Aws::S3Outposts::Client
- Includes:
- ClientStubs
- Defined in:
- gems/aws-sdk-s3outposts/lib/aws-sdk-s3outposts/client.rb
Overview
An API client for S3Outposts. To construct a client, you need to configure a :region
and :credentials
.
client = Aws::S3Outposts::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_endpoint(params = {}) ⇒ Types::CreateEndpointResult
Creates an endpoint and associates it with the specified Outpost.
-
#delete_endpoint(params = {}) ⇒ Struct
Deletes an endpoint.
-
#list_endpoints(params = {}) ⇒ Types::ListEndpointsResult
Lists endpoints associated with the specified Outpost.
-
#list_outposts_with_s3(params = {}) ⇒ Types::ListOutpostsWithS3Result
Lists the Outposts with S3 on Outposts capacity for your Amazon Web Services account.
-
#list_shared_endpoints(params = {}) ⇒ Types::ListSharedEndpointsResult
Lists all endpoints associated with an Outpost that has been shared by Amazon Web Services Resource Access Manager (RAM).
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.
444 445 446 |
# File 'gems/aws-sdk-s3outposts/lib/aws-sdk-s3outposts/client.rb', line 444 def initialize(*args) super end |
Instance Method Details
#create_endpoint(params = {}) ⇒ Types::CreateEndpointResult
Creates an endpoint and associates it with the specified Outpost.
Related actions include:
516 517 518 519 |
# File 'gems/aws-sdk-s3outposts/lib/aws-sdk-s3outposts/client.rb', line 516 def create_endpoint(params = {}, = {}) req = build_request(:create_endpoint, params) req.send_request() end |
#delete_endpoint(params = {}) ⇒ Struct
Deletes an endpoint.
Related actions include:
559 560 561 562 |
# File 'gems/aws-sdk-s3outposts/lib/aws-sdk-s3outposts/client.rb', line 559 def delete_endpoint(params = {}, = {}) req = build_request(:delete_endpoint, params) req.send_request() end |
#list_endpoints(params = {}) ⇒ Types::ListEndpointsResult
Lists endpoints associated with the specified Outpost.
Related actions include:
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
621 622 623 624 |
# File 'gems/aws-sdk-s3outposts/lib/aws-sdk-s3outposts/client.rb', line 621 def list_endpoints(params = {}, = {}) req = build_request(:list_endpoints, params) req.send_request() end |
#list_outposts_with_s3(params = {}) ⇒ Types::ListOutpostsWithS3Result
Lists the Outposts with S3 on Outposts capacity for your Amazon Web Services account. Includes S3 on Outposts that you have access to as the Outposts owner, or as a shared user from Resource Access Manager (RAM).
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
668 669 670 671 |
# File 'gems/aws-sdk-s3outposts/lib/aws-sdk-s3outposts/client.rb', line 668 def list_outposts_with_s3(params = {}, = {}) req = build_request(:list_outposts_with_s3, params) req.send_request() end |
#list_shared_endpoints(params = {}) ⇒ Types::ListSharedEndpointsResult
Lists all endpoints associated with an Outpost that has been shared by Amazon Web Services Resource Access Manager (RAM).
Related actions include:
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
736 737 738 739 |
# File 'gems/aws-sdk-s3outposts/lib/aws-sdk-s3outposts/client.rb', line 736 def list_shared_endpoints(params = {}, = {}) req = build_request(:list_shared_endpoints, params) req.send_request() end |