You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Module: Aws::CodeBuild
- Defined in:
- (unknown)
Overview
This module provides a client for making API requests to AWS CodeBuild.
Aws::CodeBuild::Client
The Client class provides one-to-one mapping for each API operation.
codebuild = Aws::CodeBuild::Client.new(region: 'us-east-1')
codebuild.operation_names
#=> [:batch_delete_builds, :batch_get_build_batches, :batch_get_builds, :batch_get_projects, ...]
Each API operation method accepts a hash of request parameters and returns a response object.
resp = codebuild.batch_delete_builds(params)
See Client for more information.
Aws::CodeBuild::Errors
Errors returned from AWS CodeBuild are defined in the Errors module and extend Errors::ServiceError.
begin
# do stuff
rescue Aws::CodeBuild::Errors::ServiceError
# rescues all errors returned by AWS CodeBuild
end
See Errors for more information.