5.0.0 • Published 7 years ago

@datafire/amazonaws_codebuild v5.0.0

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

@datafire/amazonaws_codebuild

Client library for AWS CodeBuild

Installation and Usage

npm install --save @datafire/amazonaws_codebuild
let amazonaws_codebuild = require('@datafire/amazonaws_codebuild').create({
  accessKeyId: "",
  secretAccessKey: "",
  region: ""
});

amazonaws_codebuild.BatchDeleteBuilds({
  "ids": []
}).then(data => {
  console.log(data);
});

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. 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.

Actions

BatchDeleteBuilds

amazonaws_codebuild.BatchDeleteBuilds({
  "ids": []
}, context)

Input

Output

BatchGetBuilds

amazonaws_codebuild.BatchGetBuilds({
  "ids": []
}, context)

Input

Output

BatchGetProjects

amazonaws_codebuild.BatchGetProjects({
  "names": []
}, context)

Input

Output

CreateProject

amazonaws_codebuild.CreateProject({
  "name": "",
  "source": {
    "type": ""
  },
  "artifacts": {
    "type": ""
  },
  "environment": {
    "type": "",
    "image": "",
    "computeType": ""
  }
}, context)

Input

Output

CreateWebhook

amazonaws_codebuild.CreateWebhook({
  "projectName": ""
}, context)

Input

Output

DeleteProject

amazonaws_codebuild.DeleteProject({
  "name": ""
}, context)

Input

Output

DeleteWebhook

amazonaws_codebuild.DeleteWebhook({
  "projectName": ""
}, context)

Input

Output

InvalidateProjectCache

amazonaws_codebuild.InvalidateProjectCache({
  "projectName": ""
}, context)

Input

Output

ListBuilds

amazonaws_codebuild.ListBuilds({}, context)

Input

Output

ListBuildsForProject

amazonaws_codebuild.ListBuildsForProject({
  "projectName": ""
}, context)

Input

Output

ListCuratedEnvironmentImages

amazonaws_codebuild.ListCuratedEnvironmentImages({}, context)

Input

  • input object

Output

ListProjects

amazonaws_codebuild.ListProjects({}, context)

Input

Output

StartBuild

amazonaws_codebuild.StartBuild({
  "projectName": ""
}, context)

Input

Output

StopBuild

amazonaws_codebuild.StopBuild({
  "id": ""
}, context)

Input

Output

UpdateProject

amazonaws_codebuild.UpdateProject({
  "name": ""
}, context)

Input

Output

Definitions

AccountLimitExceededException

  • AccountLimitExceededException object: An AWS service limit was exceeded for the calling AWS account.

ArtifactNamespace

  • ArtifactNamespace string (values: NONE, BUILD_ID)

ArtifactPackaging

  • ArtifactPackaging string (values: NONE, ZIP)

ArtifactsType

  • ArtifactsType string (values: CODEPIPELINE, S3, NO_ARTIFACTS)

BatchDeleteBuildsInput

  • BatchDeleteBuildsInput object

BatchDeleteBuildsOutput

BatchGetBuildsInput

  • BatchGetBuildsInput object

BatchGetBuildsOutput

BatchGetProjectsInput

BatchGetProjectsOutput

Boolean

  • Boolean boolean

Build

BuildArtifacts

  • BuildArtifacts object: Information about build output artifacts.

BuildIds

BuildNotDeleted

  • BuildNotDeleted object: Information about a build that could not be successfully deleted.

BuildPhase

BuildPhaseType

  • BuildPhaseType string (values: SUBMITTED, PROVISIONING, DOWNLOAD_SOURCE, INSTALL, PRE_BUILD, BUILD, POST_BUILD, UPLOAD_ARTIFACTS, FINALIZING, COMPLETED)

BuildPhases

Builds

BuildsNotDeleted

CacheType

  • CacheType string (values: NO_CACHE, S3)

ComputeType

  • ComputeType string (values: BUILD_GENERAL1_SMALL, BUILD_GENERAL1_MEDIUM, BUILD_GENERAL1_LARGE)

CreateProjectInput

CreateProjectOutput

  • CreateProjectOutput object

CreateWebhookInput

  • CreateWebhookInput object

CreateWebhookOutput

  • CreateWebhookOutput object

DeleteProjectInput

DeleteProjectOutput

  • DeleteProjectOutput object

DeleteWebhookInput

  • DeleteWebhookInput object

DeleteWebhookOutput

  • DeleteWebhookOutput object

EnvironmentImage

  • EnvironmentImage object: Information about a Docker image that is managed by AWS CodeBuild.

EnvironmentImages

EnvironmentLanguage

  • EnvironmentLanguage object: A set of Docker images that are related by programming language and are managed by AWS CodeBuild.

EnvironmentLanguages

EnvironmentPlatform

  • EnvironmentPlatform object: A set of Docker images that are related by platform and are managed by AWS CodeBuild.

EnvironmentPlatforms

EnvironmentType

  • EnvironmentType string (values: LINUX_CONTAINER)

EnvironmentVariable

EnvironmentVariableType

  • EnvironmentVariableType string (values: PLAINTEXT, PARAMETER_STORE)

EnvironmentVariables

GitCloneDepth

  • GitCloneDepth integer

ImageVersions

  • ImageVersions array

InvalidInputException

  • InvalidInputException object: The input value that was provided is not valid.

InvalidateProjectCacheInput

InvalidateProjectCacheOutput

  • InvalidateProjectCacheOutput object

KeyInput

  • KeyInput string

LanguageType

  • LanguageType string (values: JAVA, PYTHON, NODE_JS, RUBY, GOLANG, DOCKER, ANDROID, DOTNET, BASE)

ListBuildsForProjectInput

ListBuildsForProjectOutput

ListBuildsInput

ListBuildsOutput

ListCuratedEnvironmentImagesInput

  • ListCuratedEnvironmentImagesInput object

ListCuratedEnvironmentImagesOutput

ListProjectsInput

ListProjectsOutput

LogsLocation

  • LogsLocation object: Information about build logs in Amazon CloudWatch Logs.

NetworkInterface

NonEmptyString

  • NonEmptyString string

OAuthProviderException

  • OAuthProviderException object: There was a problem with the underlying OAuth provider.

PhaseContext

  • PhaseContext object: Additional information about a build phase that has an error. You can use this information to help troubleshoot a failed build.

PhaseContexts

PlatformType

  • PlatformType string (values: DEBIAN, AMAZON_LINUX, UBUNTU)

Project

ProjectArtifacts

ProjectBadge

  • ProjectBadge object: Information about the build badge for the build project.

ProjectCache

  • ProjectCache object: Information about the cache for the build project.

ProjectDescription

  • ProjectDescription string

ProjectEnvironment

ProjectName

  • ProjectName string

ProjectNames

ProjectSortByType

  • ProjectSortByType string (values: NAME, CREATED_TIME, LAST_MODIFIED_TIME)

ProjectSource

Projects

ResourceAlreadyExistsException

  • ResourceAlreadyExistsException object: The specified AWS resource cannot be created, because an AWS resource with the same settings already exists.

ResourceNotFoundException

  • ResourceNotFoundException object: The specified AWS resource cannot be found.

SecurityGroupIds

SortOrderType

  • SortOrderType string (values: ASCENDING, DESCENDING)

SourceAuth

  • SourceAuth object: Information about the authorization settings for AWS CodeBuild to access the source code to be built. This information is for the AWS CodeBuild console's use only. Your code should not get or set this information directly (unless the build project's source type value is BITBUCKET or GITHUB).

SourceAuthType

  • SourceAuthType string (values: OAUTH)

SourceType

  • SourceType string (values: CODECOMMIT, CODEPIPELINE, GITHUB, S3, BITBUCKET, GITHUB_ENTERPRISE)

StartBuildInput

StartBuildOutput

  • StartBuildOutput object

StatusType

  • StatusType string (values: SUCCEEDED, FAILED, FAULT, TIMED_OUT, IN_PROGRESS, STOPPED)

StopBuildInput

StopBuildOutput

  • StopBuildOutput object

String

  • String string

Subnets

Tag

  • Tag object: A tag, consisting of a key and a value. This tag is available for use by AWS services that support tags in AWS CodeBuild.

TagList

  • TagList array

TimeOut

  • TimeOut integer

Timestamp

  • Timestamp string

UpdateProjectInput

UpdateProjectOutput

  • UpdateProjectOutput object

ValueInput

  • ValueInput string

VpcConfig

Webhook

WrapperBoolean

  • WrapperBoolean boolean

WrapperInt

  • WrapperInt integer

WrapperLong

  • WrapperLong integer
5.0.0

7 years ago

4.0.0

8 years ago

3.0.4

8 years ago

3.0.3

8 years ago

3.0.2

8 years ago

3.0.1

8 years ago

3.0.0

8 years ago

2.0.2

8 years ago

2.0.1

8 years ago

2.0.0

8 years ago