Module: Aws::SecretsManager

Defined in:
lib/aws-sdk-secretsmanager/client_api.rb,
lib/aws-sdk-secretsmanager/resource.rb,
lib/aws-sdk-secretsmanager/errors.rb,
lib/aws-sdk-secretsmanager/client.rb,
lib/aws-sdk-secretsmanager/types.rb,
lib/aws-sdk-secretsmanager.rb

Overview

This module provides support for AWS Secrets Manager. This module is available in the `aws-sdk-secretsmanager` 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.

secrets_manager = Aws::SecretsManager::Client.new
resp = secrets_manager.cancel_rotate_secret(params)

See Client for more information.

# Errors

Errors returned from AWS Secrets Manager are defined in the Errors module and all extend Errors::ServiceError.

begin
  # do stuff
rescue Aws::SecretsManager::Errors::ServiceError
  # rescues all AWS Secrets Manager API errors
end

See Errors for more information.

Defined Under Namespace

Modules: ClientApi, Errors, Types Classes: Client, Resource

service collapse

GEM_VERSION =
'1.49.0'