Class: Aws::S3Outposts::Client
- Inherits:
-
Seahorse::Client::Base
- Object
- Seahorse::Client::Base
- Aws::S3Outposts::Client
- Includes:
- ClientStubs
- Defined in:
- 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](/sdk-for-ruby/v3/developer-guide/setup-config.html).
See #initialize for a full list of supported configuration options.
Class Attribute Summary collapse
- .identifier ⇒ Object readonly private
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).
Class Method Summary collapse
- .errors_module ⇒ Object private
Instance Method Summary collapse
- #build_request(operation_name, params = {}) ⇒ Object private
-
#initialize(options) ⇒ Client
constructor
A new instance of Client.
- #waiter_names ⇒ Object deprecated private Deprecated.
Constructor Details
#initialize(options) ⇒ Client
Returns a new instance of Client.
444 445 446 |
# File 'lib/aws-sdk-s3outposts/client.rb', line 444 def initialize(*args) super end |
Class Attribute Details
.identifier ⇒ Object (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
772 773 774 |
# File 'lib/aws-sdk-s3outposts/client.rb', line 772 def identifier @identifier end |
Class Method Details
.errors_module ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
775 776 777 |
# File 'lib/aws-sdk-s3outposts/client.rb', line 775 def errors_module Errors end |
Instance Method Details
#build_request(operation_name, params = {}) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 |
# File 'lib/aws-sdk-s3outposts/client.rb', line 745 def build_request(operation_name, params = {}) handlers = @handlers.for(operation_name) tracer = config.telemetry_provider.tracer_provider.tracer( Aws::Telemetry.module_to_tracer_name('Aws::S3Outposts') ) context = Seahorse::Client::RequestContext.new( operation_name: operation_name, operation: config.api.operation(operation_name), client: self, params: params, config: config, tracer: tracer ) context[:gem_name] = 'aws-sdk-s3outposts' context[:gem_version] = '1.42.0' Seahorse::Client::Request.new(handlers, context) end |
#create_endpoint(params = {}) ⇒ Types::CreateEndpointResult
Creates an endpoint and associates it with the specified Outpost.
<note markdown=“1”> It can take up to 5 minutes for this action to finish.
</note>
Related actions include:
- DeleteEndpoint][1
- ListEndpoints][2
[1]: docs.aws.amazon.com/AmazonS3/latest/API/API_s3outposts_DeleteEndpoint.html [2]: docs.aws.amazon.com/AmazonS3/latest/API/API_s3outposts_ListEndpoints.html
516 517 518 519 |
# File '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.
<note markdown=“1”> It can take up to 5 minutes for this action to finish.
</note>
Related actions include:
- CreateEndpoint][1
- ListEndpoints][2
[1]: docs.aws.amazon.com/AmazonS3/latest/API/API_s3outposts_CreateEndpoint.html [2]: docs.aws.amazon.com/AmazonS3/latest/API/API_s3outposts_ListEndpoints.html
559 560 561 562 |
# File '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:
- CreateEndpoint][1
- DeleteEndpoint][2
[1]: docs.aws.amazon.com/AmazonS3/latest/API/API_s3outposts_CreateEndpoint.html [2]: docs.aws.amazon.com/AmazonS3/latest/API/API_s3outposts_DeleteEndpoint.html
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
621 622 623 624 |
# File '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 '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:
- CreateEndpoint][1
- DeleteEndpoint][2
[1]: docs.aws.amazon.com/AmazonS3/latest/API/API_s3outposts_CreateEndpoint.html [2]: docs.aws.amazon.com/AmazonS3/latest/API/API_s3outposts_DeleteEndpoint.html
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
736 737 738 739 |
# File 'lib/aws-sdk-s3outposts/client.rb', line 736 def list_shared_endpoints(params = {}, = {}) req = build_request(:list_shared_endpoints, params) req.send_request() end |
#waiter_names ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
765 766 767 |
# File 'lib/aws-sdk-s3outposts/client.rb', line 765 def waiter_names [] end |