Module: Aws::AppSync

Defined in:
lib/aws-sdk-appsync/endpoint_parameters.rb,
lib/aws-sdk-appsync/plugins/endpoints.rb,
lib/aws-sdk-appsync/endpoint_provider.rb,
lib/aws-sdk-appsync/client_api.rb,
lib/aws-sdk-appsync/endpoints.rb,
lib/aws-sdk-appsync/resource.rb,
lib/aws-sdk-appsync/errors.rb,
lib/aws-sdk-appsync/client.rb,
lib/aws-sdk-appsync/types.rb,
lib/aws-sdk-appsync.rb

Overview

This module provides support for AWS AppSync. This module is available in the ‘aws-sdk-appsync` 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.

app_sync = Aws::AppSync::Client.new
resp = app_sync.associate_api(params)

See Client for more information.

# Errors

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

begin
  # do stuff
rescue Aws::AppSync::Errors::ServiceError
  # rescues all AWS AppSync 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.94.0'