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