Module: Aws::RecycleBin
- Defined in:
- lib/aws-sdk-recyclebin/endpoint_parameters.rb,
lib/aws-sdk-recyclebin/plugins/endpoints.rb,
lib/aws-sdk-recyclebin/endpoint_provider.rb,
lib/aws-sdk-recyclebin/client_api.rb,
lib/aws-sdk-recyclebin/endpoints.rb,
lib/aws-sdk-recyclebin/resource.rb,
lib/aws-sdk-recyclebin/errors.rb,
lib/aws-sdk-recyclebin/client.rb,
lib/aws-sdk-recyclebin/types.rb,
lib/aws-sdk-recyclebin.rb
Overview
This module provides support for Amazon Recycle Bin. This module is available in the ‘aws-sdk-recyclebin` gem.
# Client
The Client class provides one method for each API operation. Operation methods each accept a hash of request parameters and return a response structure.
recycle_bin = Aws::RecycleBin::Client.new
resp = recycle_bin.create_rule(params)
See Client for more information.
# Errors
Errors returned from Amazon Recycle Bin are defined in the Errors module and all extend Errors::ServiceError.
begin
# do stuff
rescue Aws::RecycleBin::Errors::ServiceError
# rescues all Amazon Recycle Bin API errors
end
See Errors for more information.
Defined Under Namespace
Modules: ClientApi, Endpoints, Errors, Plugins, Types Classes: Client, EndpointParameters, EndpointProvider, Resource
service collapse
- GEM_VERSION =
'1.34.0'