Module: Aws::CodeArtifact

Defined in:
lib/aws-sdk-codeartifact/client_api.rb,
lib/aws-sdk-codeartifact/resource.rb,
lib/aws-sdk-codeartifact/errors.rb,
lib/aws-sdk-codeartifact/client.rb,
lib/aws-sdk-codeartifact/types.rb,
lib/aws-sdk-codeartifact.rb

Overview

This module provides support for CodeArtifact. This module is available in the `aws-sdk-codeartifact` 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_artifact = Aws::CodeArtifact::Client.new
resp = code_artifact.associate_external_connection(params)

See Client for more information.

# Errors

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

begin
  # do stuff
rescue Aws::CodeArtifact::Errors::ServiceError
  # rescues all CodeArtifact API errors
end

See Errors for more information.

Defined Under Namespace

Modules: ClientApi, Errors, Types Classes: Client, Resource

service collapse

GEM_VERSION =
'1.21.0'