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