NAME

Paws::CodeBuild - Perl Interface to AWS AWS CodeBuild

SYNOPSIS

use Paws;

my $obj = Paws->service('CodeBuild');
my $res = $obj->Method(
  Arg1 => $val1,
  Arg2 => [ 'V1', 'V2' ],
  # if Arg3 is an object, the HashRef will be used as arguments to the constructor
  # of the arguments type
  Arg3 => { Att1 => 'Val1' },
  # if Arg4 is an array of objects, the HashRefs will be passed as arguments to
  # the constructor of the arguments type
  Arg4 => [ { Att1 => 'Val1'  }, { Att1 => 'Val2' } ],
);

DESCRIPTION

AWS CodeBuild

AWS CodeBuild is a fully managed build service in the cloud. AWS CodeBuild compiles your source code, runs unit tests, and produces artifacts that are ready to deploy. AWS CodeBuild eliminates the need to provision, manage, and scale your own build servers. It provides prepackaged build environments for the most popular programming languages and build tools, such as Apache Maven, Gradle, and more. You can also fully customize build environments in AWS CodeBuild to use your own build tools. AWS CodeBuild scales automatically to meet peak build requests, and you pay only for the build time you consume. For more information about AWS CodeBuild, see the AWS CodeBuild User Guide.

AWS CodeBuild supports these operations:

  • BatchDeleteBuilds: Deletes one or more builds.

  • BatchGetProjects: Gets information about one or more build projects. A build project defines how AWS CodeBuild will run a build. This includes information such as where to get the source code to build, the build environment to use, the build commands to run, and where to store the build output. A build environment represents a combination of operating system, programming language runtime, and tools that AWS CodeBuild will use to run a build. Also, you can add tags to build projects to help manage your resources and costs.

  • CreateProject: Creates a build project.

  • CreateWebhook: For an existing AWS CodeBuild build project that has its source code stored in a GitHub repository, enables AWS CodeBuild to begin automatically rebuilding the source code every time a code change is pushed to the repository.

  • UpdateWebhook: Changes the settings of an existing webhook.

  • DeleteProject: Deletes a build project.

  • DeleteWebhook: For an existing AWS CodeBuild build project that has its source code stored in a GitHub repository, stops AWS CodeBuild from automatically rebuilding the source code every time a code change is pushed to the repository.

  • ListProjects: Gets a list of build project names, with each build project name representing a single build project.

  • UpdateProject: Changes the settings of an existing build project.

  • BatchGetBuilds: Gets information about one or more builds.

  • ListBuilds: Gets a list of build IDs, with each build ID representing a single build.

  • ListBuildsForProject: Gets a list of build IDs for the specified build project, with each build ID representing a single build.

  • StartBuild: Starts running a build.

  • StopBuild: Attempts to stop running a build.

  • ListCuratedEnvironmentImages: Gets information about Docker images that are managed by AWS CodeBuild.

For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06

METHODS

BatchDeleteBuilds

Ids => ArrayRef[Str|Undef]

Each argument is described in detail in: Paws::CodeBuild::BatchDeleteBuilds

Returns: a Paws::CodeBuild::BatchDeleteBuildsOutput instance

Deletes one or more builds.

BatchGetBuilds

Ids => ArrayRef[Str|Undef]

Each argument is described in detail in: Paws::CodeBuild::BatchGetBuilds

Returns: a Paws::CodeBuild::BatchGetBuildsOutput instance

Gets information about builds.

BatchGetProjects

Names => ArrayRef[Str|Undef]

Each argument is described in detail in: Paws::CodeBuild::BatchGetProjects

Returns: a Paws::CodeBuild::BatchGetProjectsOutput instance

Gets information about build projects.

CreateProject

Artifacts => Paws::CodeBuild::ProjectArtifacts
Environment => Paws::CodeBuild::ProjectEnvironment
Name => Str
Source => Paws::CodeBuild::ProjectSource
[BadgeEnabled => Bool]
[Cache => Paws::CodeBuild::ProjectCache]
[Description => Str]
[EncryptionKey => Str]
[ServiceRole => Str]
[Tags => ArrayRef[Paws::CodeBuild::Tag]]
[TimeoutInMinutes => Int]
[VpcConfig => Paws::CodeBuild::VpcConfig]

Each argument is described in detail in: Paws::CodeBuild::CreateProject

Returns: a Paws::CodeBuild::CreateProjectOutput instance

Creates a build project.

CreateWebhook

ProjectName => Str
[BranchFilter => Str]

Each argument is described in detail in: Paws::CodeBuild::CreateWebhook

Returns: a Paws::CodeBuild::CreateWebhookOutput instance

For an existing AWS CodeBuild build project that has its source code stored in a GitHub repository, enables AWS CodeBuild to begin automatically rebuilding the source code every time a code change is pushed to the repository.

If you enable webhooks for an AWS CodeBuild project, and the project is used as a build step in AWS CodePipeline, then two identical builds will be created for each commit. One build is triggered through webhooks, and one through AWS CodePipeline. Because billing is on a per-build basis, you will be billed for both builds. Therefore, if you are using AWS CodePipeline, we recommend that you disable webhooks in CodeBuild. In the AWS CodeBuild console, clear the Webhook box. For more information, see step 5 in Change a Build Project's Settings (http://docs.aws.amazon.com/codebuild/latest/userguide/change-project.html#change-project-console).

DeleteProject

Name => Str

Each argument is described in detail in: Paws::CodeBuild::DeleteProject

Returns: a Paws::CodeBuild::DeleteProjectOutput instance

Deletes a build project.

DeleteWebhook

ProjectName => Str

Each argument is described in detail in: Paws::CodeBuild::DeleteWebhook

Returns: a Paws::CodeBuild::DeleteWebhookOutput instance

For an existing AWS CodeBuild build project that has its source code stored in a GitHub repository, stops AWS CodeBuild from automatically rebuilding the source code every time a code change is pushed to the repository.

InvalidateProjectCache

ProjectName => Str

Each argument is described in detail in: Paws::CodeBuild::InvalidateProjectCache

Returns: a Paws::CodeBuild::InvalidateProjectCacheOutput instance

Resets the cache for a project.

ListBuilds

[NextToken => Str]
[SortOrder => Str]

Each argument is described in detail in: Paws::CodeBuild::ListBuilds

Returns: a Paws::CodeBuild::ListBuildsOutput instance

Gets a list of build IDs, with each build ID representing a single build.

ListBuildsForProject

ProjectName => Str
[NextToken => Str]
[SortOrder => Str]

Each argument is described in detail in: Paws::CodeBuild::ListBuildsForProject

Returns: a Paws::CodeBuild::ListBuildsForProjectOutput instance

Gets a list of build IDs for the specified build project, with each build ID representing a single build.

ListCuratedEnvironmentImages

Each argument is described in detail in: Paws::CodeBuild::ListCuratedEnvironmentImages

Returns: a Paws::CodeBuild::ListCuratedEnvironmentImagesOutput instance

Gets information about Docker images that are managed by AWS CodeBuild.

ListProjects

[NextToken => Str]
[SortBy => Str]
[SortOrder => Str]

Each argument is described in detail in: Paws::CodeBuild::ListProjects

Returns: a Paws::CodeBuild::ListProjectsOutput instance

Gets a list of build project names, with each build project name representing a single build project.

StartBuild

ProjectName => Str
[ArtifactsOverride => Paws::CodeBuild::ProjectArtifacts]
[BuildspecOverride => Str]
[CacheOverride => Paws::CodeBuild::ProjectCache]
[CertificateOverride => Str]
[ComputeTypeOverride => Str]
[EnvironmentTypeOverride => Str]
[EnvironmentVariablesOverride => ArrayRef[Paws::CodeBuild::EnvironmentVariable]]
[GitCloneDepthOverride => Int]
[IdempotencyToken => Str]
[ImageOverride => Str]
[InsecureSslOverride => Bool]
[PrivilegedModeOverride => Bool]
[ServiceRoleOverride => Str]
[SourceAuthOverride => Paws::CodeBuild::SourceAuth]
[SourceLocationOverride => Str]
[SourceTypeOverride => Str]
[SourceVersion => Str]
[TimeoutInMinutesOverride => Int]

Each argument is described in detail in: Paws::CodeBuild::StartBuild

Returns: a Paws::CodeBuild::StartBuildOutput instance

Starts running a build.

StopBuild

Id => Str

Each argument is described in detail in: Paws::CodeBuild::StopBuild

Returns: a Paws::CodeBuild::StopBuildOutput instance

Attempts to stop running a build.

UpdateProject

Name => Str
[Artifacts => Paws::CodeBuild::ProjectArtifacts]
[BadgeEnabled => Bool]
[Cache => Paws::CodeBuild::ProjectCache]
[Description => Str]
[EncryptionKey => Str]
[Environment => Paws::CodeBuild::ProjectEnvironment]
[ServiceRole => Str]
[Source => Paws::CodeBuild::ProjectSource]
[Tags => ArrayRef[Paws::CodeBuild::Tag]]
[TimeoutInMinutes => Int]
[VpcConfig => Paws::CodeBuild::VpcConfig]

Each argument is described in detail in: Paws::CodeBuild::UpdateProject

Returns: a Paws::CodeBuild::UpdateProjectOutput instance

Changes the settings of a build project.

UpdateWebhook

ProjectName => Str
[BranchFilter => Str]
[RotateSecret => Bool]

Each argument is described in detail in: Paws::CodeBuild::UpdateWebhook

Returns: a Paws::CodeBuild::UpdateWebhookOutput instance

Updates the webhook associated with an AWS CodeBuild build project.

PAGINATORS

Paginator methods are helpers that repetively call methods that return partial results

ListAllBuilds(sub { },[NextToken => Str, SortOrder => Str])

ListAllBuilds([NextToken => Str, SortOrder => Str])

If passed a sub as first parameter, it will call the sub for each element found in :

- ids, passing the object as the first parameter, and the string 'ids' as the second parameter 

If not, it will return a a Paws::CodeBuild::ListBuildsOutput instance with all the params; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.

ListAllBuildsForProject(sub { },ProjectName => Str, [NextToken => Str, SortOrder => Str])

ListAllBuildsForProject(ProjectName => Str, [NextToken => Str, SortOrder => Str])

If passed a sub as first parameter, it will call the sub for each element found in :

- ids, passing the object as the first parameter, and the string 'ids' as the second parameter 

If not, it will return a a Paws::CodeBuild::ListBuildsForProjectOutput instance with all the params; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.

ListAllProjects(sub { },[NextToken => Str, SortBy => Str, SortOrder => Str])

ListAllProjects([NextToken => Str, SortBy => Str, SortOrder => Str])

If passed a sub as first parameter, it will call the sub for each element found in :

- projects, passing the object as the first parameter, and the string 'projects' as the second parameter 

If not, it will return a a Paws::CodeBuild::ListProjectsOutput instance with all the params; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.

SEE ALSO

This service class forms part of Paws

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues