Module: Aws::DocDB
- Defined in:
- lib/aws-sdk-docdb/endpoint_parameters.rb,
lib/aws-sdk-docdb/plugins/cross_region_copying.rb,
lib/aws-sdk-docdb/plugins/endpoints.rb,
lib/aws-sdk-docdb/endpoint_provider.rb,
lib/aws-sdk-docdb/client_api.rb,
lib/aws-sdk-docdb/endpoints.rb,
lib/aws-sdk-docdb/resource.rb,
lib/aws-sdk-docdb/waiters.rb,
lib/aws-sdk-docdb/errors.rb,
lib/aws-sdk-docdb/client.rb,
lib/aws-sdk-docdb/types.rb,
lib/aws-sdk-docdb.rb
Overview
This module provides support for Amazon DocumentDB with MongoDB compatibility. This module is available in the ‘aws-sdk-docdb` 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.
doc_db = Aws::DocDB::Client.new
resp = doc_db.add_source_identifier_to_subscription(params)
See Client for more information.
# Errors
Errors returned from Amazon DocumentDB with MongoDB compatibility are defined in the Errors module and all extend Errors::ServiceError.
begin
# do stuff
rescue Aws::DocDB::Errors::ServiceError
# rescues all Amazon DocumentDB with MongoDB compatibility API errors
end
See Errors for more information.
Defined Under Namespace
Modules: ClientApi, Endpoints, Errors, Plugins, Types, Waiters Classes: Client, EndpointParameters, EndpointProvider, Resource
service collapse
- GEM_VERSION =
'1.77.0'