You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Module: Aws::DirectoryService

Defined in:
(unknown)

Overview

This module provides a client for making API requests to AWS Directory Service.

Aws::DirectoryService::Client

The Client class provides one-to-one mapping for each API operation.

directoryservice = Aws::DirectoryService::Client.new(region: 'us-east-1')
directoryservice.operation_names
#=> [:add_ip_routes, :add_tags_to_resource, :cancel_schema_extension, :connect_directory, ...]

Each API operation method accepts a hash of request parameters and returns a response object.

resp = directoryservice.add_ip_routes(params)

See Client for more information.

Aws::DirectoryService::Errors

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

begin
  # do stuff
rescue Aws::DirectoryService::Errors::ServiceError
  # rescues all errors returned by AWS Directory Service
end

See Errors for more information.

Defined Under Namespace

Modules: Errors, Types Classes: Client