You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Module: Aws::CloudDirectory
- Defined in:
- (unknown)
Overview
This module provides a client for making API requests to Amazon CloudDirectory.
Aws::CloudDirectory::Client
The Client class provides one-to-one mapping for each API operation.
clouddirectory = Aws::CloudDirectory::Client.new(region: 'us-east-1')
clouddirectory.operation_names
#=> [:add_facet_to_object, :apply_schema, :attach_object, :attach_policy, ...]
Each API operation method accepts a hash of request parameters and returns a response object.
resp = clouddirectory.add_facet_to_object(params)
See Client for more information.
Aws::CloudDirectory::Errors
Errors returned from Amazon CloudDirectory are defined in the Errors module and extend Errors::ServiceError.
begin
# do stuff
rescue Aws::CloudDirectory::Errors::ServiceError
# rescues all errors returned by Amazon CloudDirectory
end
See Errors for more information.