Module: Aws::DirectoryService

Defined in:
lib/aws-sdk-directoryservice/endpoint_parameters.rb,
lib/aws-sdk-directoryservice/plugins/endpoints.rb,
lib/aws-sdk-directoryservice/endpoint_provider.rb,
lib/aws-sdk-directoryservice/client_api.rb,
lib/aws-sdk-directoryservice/endpoints.rb,
lib/aws-sdk-directoryservice/resource.rb,
lib/aws-sdk-directoryservice/errors.rb,
lib/aws-sdk-directoryservice/client.rb,
lib/aws-sdk-directoryservice/types.rb,
lib/aws-sdk-directoryservice.rb

Overview

This module provides support for AWS Directory Service. This module is available in the ‘aws-sdk-directoryservice` 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.

directory_service = Aws::DirectoryService::Client.new
resp = directory_service.accept_shared_directory(params)

See Client for more information.

# Errors

Errors returned from AWS Directory Service are defined in the Errors module and all extend Errors::ServiceError.

begin
  # do stuff
rescue Aws::DirectoryService::Errors::ServiceError
  # rescues all AWS Directory Service 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.79.0'