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