Module: Aws::Shield
- Defined in:
- lib/aws-sdk-shield/endpoint_parameters.rb,
lib/aws-sdk-shield/plugins/endpoints.rb,
lib/aws-sdk-shield/endpoint_provider.rb,
lib/aws-sdk-shield/client_api.rb,
lib/aws-sdk-shield/endpoints.rb,
lib/aws-sdk-shield/resource.rb,
lib/aws-sdk-shield/errors.rb,
lib/aws-sdk-shield/client.rb,
lib/aws-sdk-shield/types.rb,
lib/aws-sdk-shield.rb
Overview
This module provides support for AWS Shield. This module is available in the ‘aws-sdk-shield` 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.
shield = Aws::Shield::Client.new
resp = shield.associate_drt_log_bucket(params)
See Client for more information.
# Errors
Errors returned from AWS Shield are defined in the Errors module and all extend Errors::ServiceError.
begin
# do stuff
rescue Aws::Shield::Errors::ServiceError
# rescues all AWS Shield 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.76.0'