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

Module: Aws::SSOAdmin

Defined in:
(unknown)

Overview

This module provides a client for making API requests to AWS Single Sign-On Admin.

Aws::SSOAdmin::Client

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

ssoadmin = Aws::SSOAdmin::Client.new(region: 'us-east-1')
ssoadmin.operation_names
#=> [:attach_managed_policy_to_permission_set, :create_account_assignment, :create_permission_set, :delete_account_assignment, ...]

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

resp = ssoadmin.attach_managed_policy_to_permission_set(params)

See Client for more information.

Aws::SSOAdmin::Errors

Errors returned from AWS Single Sign-On Admin are defined in the Errors module and extend Errors::ServiceError.

begin
  # do stuff
rescue Aws::SSOAdmin::Errors::ServiceError
  # rescues all errors returned by AWS Single Sign-On Admin
end

See Errors for more information.

Defined Under Namespace

Modules: Errors, Types Classes: Client