amazonka-codepipeline-1.3.5: Amazon CodePipeline SDK.

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.CodePipeline

Contents

Description

AWS CodePipeline Overview

This is the AWS CodePipeline API Reference. This guide provides descriptions of the actions and data types for AWS CodePipeline. Some functionality for your pipeline is only configurable through the API. For additional information, see the AWS CodePipeline User Guide.

You can use the AWS CodePipeline API to work with pipelines, stages, actions, gates, and transitions, as described below.

Pipelines are models of automated release processes. Each pipeline is uniquely named, and consists of actions, gates, and stages.

You can work with pipelines by calling:

  • CreatePipeline, which creates a uniquely-named pipeline.
  • DeletePipeline, which deletes the specified pipeline.
  • GetPipeline, which returns information about a pipeline structure.
  • GetPipelineState, which returns information about the current state of the stages and actions of a pipeline.
  • ListPipelines, which gets a summary of all of the pipelines associated with your account.
  • StartPipelineExecution, which runs the the most recent revision of an artifact through the pipeline.
  • UpdatePipeline, which updates a pipeline with edits or changes to the structure of the pipeline.

Pipelines include stages, which are which are logical groupings of gates and actions. Each stage contains one or more actions that must complete before the next stage begins. A stage will result in success or failure. If a stage fails, then the pipeline stops at that stage and will remain stopped until either a new version of an artifact appears in the source location, or a user takes action to re-run the most recent artifact through the pipeline. You can call GetPipelineState, which displays the status of a pipeline, including the status of stages in the pipeline, or GetPipeline, which returns the entire structure of the pipeline, including the stages of that pipeline. For more information about the structure of stages and actions, also refer to the AWS CodePipeline Pipeline Structure Reference.

Pipeline stages include actions, which are categorized into categories such as source or build actions performed within a stage of a pipeline. For example, you can use a source action to import artifacts into a pipeline from a source such as Amazon S3. Like stages, you do not work with actions directly in most cases, but you do define and interact with actions when working with pipeline operations such as CreatePipeline and GetPipelineState.

Pipelines also include transitions, which allow the transition of artifacts from one stage to the next in a pipeline after the actions in one stage complete.

You can work with transitions by calling:

  • DisableStageTransition, which prevents artifacts from transitioning to the next stage in a pipeline.
  • EnableStageTransition, which enables transition of artifacts between stages in a pipeline.

Using the API to integrate with AWS CodePipeline

For third-party integrators or developers who want to create their own integrations with AWS CodePipeline, the expected sequence varies from the standard API user. In order to integrate with AWS CodePipeline, developers will need to work with the following items:

  • Jobs, which are instances of an action. For example, a job for a source action might import a revision of an artifact from a source.

    You can work with jobs by calling:

  • AcknowledgeJob, which confirms whether a job worker has received the specified job,
  • GetJobDetails, which returns the details of a job,
  • PollForJobs, which determines whether there are any jobs to act upon,
  • PutJobFailureResult, which provides details of a job failure, and
  • PutJobSuccessResult, which provides details of a job success. - Third party jobs, which are instances of an action created by a partner action and integrated into AWS CodePipeline. Partner actions are created by members of the AWS Partner Network.

You can work with third party jobs by calling:

  • AcknowledgeThirdPartyJob, which confirms whether a job worker has received the specified job,
  • GetThirdPartyJobDetails, which requests the details of a job for a partner action,
  • PollForThirdPartyJobs, which determines whether there are any jobs to act upon,
  • PutThirdPartyJobFailureResult, which provides details of a job failure, and
  • PutThirdPartyJobSuccessResult, which provides details of a job success.

See: AWS API Reference

Synopsis

Service Configuration

codePipeline :: Service Source

API version '2015-07-09' of the Amazon CodePipeline SDK configuration.

Errors

Error matchers are designed for use with the functions provided by Control.Exception.Lens. This allows catching (and rethrowing) service specific errors returned by CodePipeline.

InvalidClientTokenException

_InvalidClientTokenException :: AsError a => Getting (First ServiceError) a ServiceError Source

The client token was specified in an invalid format

ValidationException

_ValidationException :: AsError a => Getting (First ServiceError) a ServiceError Source

The validation was specified in an invalid format.

InvalidNonceException

_InvalidNonceException :: AsError a => Getting (First ServiceError) a ServiceError Source

The specified nonce was specified in an invalid format.

ActionNotFoundException

_ActionNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source

The specified action cannot be found.

InvalidBlockerDeclarationException

_InvalidBlockerDeclarationException :: AsError a => Getting (First ServiceError) a ServiceError Source

The specified gate declaration was specified in an invalid format.

InvalidJobStateException

_InvalidJobStateException :: AsError a => Getting (First ServiceError) a ServiceError Source

The specified job state was specified in an invalid format.

InvalidJobException

_InvalidJobException :: AsError a => Getting (First ServiceError) a ServiceError Source

The specified job was specified in an invalid format or cannot be found.

PipelineVersionNotFoundException

_PipelineVersionNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source

The specified pipeline version was specified in an invalid format or cannot be found.

ActionTypeNotFoundException

_ActionTypeNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source

The specified action type cannot be found.

InvalidNextTokenException

_InvalidNextTokenException :: AsError a => Getting (First ServiceError) a ServiceError Source

The next token was specified in an invalid format. Make sure that the next token you provided is the token returned by a previous call.

InvalidStageDeclarationException

_InvalidStageDeclarationException :: AsError a => Getting (First ServiceError) a ServiceError Source

The specified stage declaration was specified in an invalid format.

InvalidActionDeclarationException

_InvalidActionDeclarationException :: AsError a => Getting (First ServiceError) a ServiceError Source

The specified action declaration was specified in an invalid format.

StageNotFoundException

_StageNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source

The specified stage was specified in an invalid format or cannot be found.

InvalidStructureException

_InvalidStructureException :: AsError a => Getting (First ServiceError) a ServiceError Source

The specified structure was specified in an invalid format.

JobNotFoundException

_JobNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source

The specified job was specified in an invalid format or cannot be found.

PipelineNameInUseException

_PipelineNameInUseException :: AsError a => Getting (First ServiceError) a ServiceError Source

The specified pipeline name is already in use.

PipelineNotFoundException

_PipelineNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source

The specified pipeline was specified in an invalid format or cannot be found.

LimitExceededException

_LimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError Source

The number of pipelines associated with the AWS account has exceeded the limit allowed for the account.

Waiters

Waiters poll by repeatedly sending a request until some remote success condition configured by the Wait specification is fulfilled. The Wait specification determines how many attempts should be made, in addition to delay and retry strategies.

Operations

Some AWS operations return results that are incomplete and require subsequent requests in order to obtain the entire result set. The process of sending subsequent requests to continue where a previous request left off is called pagination. For example, the ListObjects operation of Amazon S3 returns up to 1000 objects at a time, and you must send subsequent requests with the appropriate Marker in order to retrieve the next page of results.

Operations that have an AWSPager instance can transparently perform subsequent requests, correctly setting Markers and other request facets to iterate through the entire result set of a truncated API operation. Operations which support this have an additional note in the documentation.

Many operations have the ability to filter results on the server side. See the individual operation parameters for details.

GetPipeline

PutJobFailureResult

AcknowledgeThirdPartyJob

PutThirdPartyJobFailureResult

PollForThirdPartyJobs

PollForJobs

StartPipelineExecution

UpdatePipeline

DeletePipeline

GetPipelineState

GetJobDetails

ListPipelines

PutJobSuccessResult

DeleteCustomActionType

PutActionRevision

DisableStageTransition

ListActionTypes

AcknowledgeJob

EnableStageTransition

CreatePipeline

GetThirdPartyJobDetails

PutThirdPartyJobSuccessResult

CreateCustomActionType

Types

ActionCategory

ActionConfigurationPropertyType

ActionExecutionStatus

ActionOwner

ArtifactLocationType

ArtifactStoreType

BlockerType

EncryptionKeyType

FailureType

JobStatus

StageTransitionType

AWSSessionCredentials

data AWSSessionCredentials Source

Represents an AWS session credentials object. These credentials are temporary credentials that are issued by AWS Secure Token Service (STS). They can be used to access input and output artifacts in the Amazon S3 bucket used to store artifact for the pipeline in AWS CodePipeline.

See: awsSessionCredentials smart constructor.

awsSessionCredentials Source

Creates a value of AWSSessionCredentials with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

ascAccessKeyId :: Lens' AWSSessionCredentials Text Source

The access key for the session.

ascSecretAccessKey :: Lens' AWSSessionCredentials Text Source

The secret access key for the session.

ActionConfiguration

actionConfiguration :: ActionConfiguration Source

Creates a value of ActionConfiguration with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

acConfiguration :: Lens' ActionConfiguration (HashMap Text Text) Source

The configuration data for the action.

ActionConfigurationProperty

actionConfigurationProperty Source

Creates a value of ActionConfigurationProperty with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

acpQueryable :: Lens' ActionConfigurationProperty (Maybe Bool) Source

Indicates that the proprety will be used in conjunction with PollForJobs. When creating a custom action, an action can have up to one queryable property. If it has one, that property must be both required and not secret.

If you create a pipeline with a custom action type, and that custom action contains a queryable property, the value for that configuration property is subject to additional restrictions. The value must be less than or equal to twenty (20) characters. The value can contain only alphanumeric characters, underscores, and hyphens.

acpDescription :: Lens' ActionConfigurationProperty (Maybe Text) Source

The description of the action configuration property that will be displayed to users.

acpName :: Lens' ActionConfigurationProperty Text Source

The name of the action configuration property.

acpRequired :: Lens' ActionConfigurationProperty Bool Source

Whether the configuration property is a required value.

acpKey :: Lens' ActionConfigurationProperty Bool Source

Whether the configuration property is a key.

acpSecret :: Lens' ActionConfigurationProperty Bool Source

Whether the configuration property is secret. Secrets are hidden from all calls except for GetJobDetails, GetThirdPartyJobDetails, PollForJobs, and PollForThirdPartyJobs.

When updating a pipeline, passing * * * * * without changing any other values of the action will preserve the prior value of the secret.

ActionContext

data ActionContext Source

Represents the context of an action within the stage of a pipeline to a job worker.

See: actionContext smart constructor.

actionContext :: ActionContext Source

Creates a value of ActionContext with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

acName :: Lens' ActionContext (Maybe Text) Source

The name of the action within the context of a job.

ActionDeclaration

actionDeclaration Source

Creates a value of ActionDeclaration with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

adOutputArtifacts :: Lens' ActionDeclaration [OutputArtifact] Source

The name or ID of the result of the action declaration, such as a test or build artifact.

adRunOrder :: Lens' ActionDeclaration (Maybe Natural) Source

The order in which actions are run.

adConfiguration :: Lens' ActionDeclaration (HashMap Text Text) Source

The action declaration's configuration.

adInputArtifacts :: Lens' ActionDeclaration [InputArtifact] Source

The name or ID of the artifact consumed by the action, such as a test or build artifact.

adRoleARN :: Lens' ActionDeclaration (Maybe Text) Source

The ARN of the IAM service role that will perform the declared action. This is assumed through the roleArn for the pipeline.

adName :: Lens' ActionDeclaration Text Source

The action declaration's name.

adActionTypeId :: Lens' ActionDeclaration ActionTypeId Source

The configuration information for the action type.

ActionExecution

actionExecution :: ActionExecution Source

Creates a value of ActionExecution with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

aeSummary :: Lens' ActionExecution (Maybe Text) Source

A summary of the run of the action.

aeStatus :: Lens' ActionExecution (Maybe ActionExecutionStatus) Source

The status of the action, or for a completed action, the last status of the action.

aeLastStatusChange :: Lens' ActionExecution (Maybe UTCTime) Source

The last status change of the action.

aeExternalExecutionURL :: Lens' ActionExecution (Maybe Text) Source

The URL of a resource external to AWS that will be used when running the action, for example an external repository URL.

aeExternalExecutionId :: Lens' ActionExecution (Maybe Text) Source

The external ID of the run of the action.

aeErrorDetails :: Lens' ActionExecution (Maybe ErrorDetails) Source

The details of an error returned by a URL external to AWS.

aePercentComplete :: Lens' ActionExecution (Maybe Natural) Source

A percentage of completeness of the action as it runs.

ActionRevision

actionRevision Source

Creates a value of ActionRevision with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

arRevisionChangeId :: Lens' ActionRevision (Maybe Text) Source

The unique identifier of the change that set the state to this revision, for example a deployment ID or timestamp.

arRevisionId :: Lens' ActionRevision Text Source

The system-generated unique ID that identifies the revision number of the action.

arCreated :: Lens' ActionRevision UTCTime Source

The date and time when the most recent version of the action was created, in timestamp format.

ActionState

data ActionState Source

Represents information about the state of an action.

See: actionState smart constructor.

actionState :: ActionState Source

Creates a value of ActionState with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

asRevisionURL :: Lens' ActionState (Maybe Text) Source

A URL link for more information about the revision, such as a commit details page.

asEntityURL :: Lens' ActionState (Maybe Text) Source

A URL link for more information about the state of the action, such as a deployment group details page.

asActionName :: Lens' ActionState (Maybe Text) Source

The name of the action.

ActionType

data ActionType Source

Returns information about the details of an action type.

See: actionType smart constructor.

actionType Source

Creates a value of ActionType with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

atSettings :: Lens' ActionType (Maybe ActionTypeSettings) Source

The settings for the action type.

atActionConfigurationProperties :: Lens' ActionType [ActionConfigurationProperty] Source

The configuration properties for the action type.

atId :: Lens' ActionType ActionTypeId Source

Undocumented member.

atInputArtifactDetails :: Lens' ActionType ArtifactDetails Source

The details of the input artifact for the action, such as its commit ID.

atOutputArtifactDetails :: Lens' ActionType ArtifactDetails Source

The details of the output artifact of the action, such as its commit ID.

ActionTypeId

actionTypeId Source

Creates a value of ActionTypeId with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

atiCategory :: Lens' ActionTypeId ActionCategory Source

A category defines what kind of action can be taken in the stage, and constrains the provider type for the action. Valid categories are limited to one of the values below.

atiOwner :: Lens' ActionTypeId ActionOwner Source

The creator of the action being called.

atiProvider :: Lens' ActionTypeId Text Source

The provider of the service being called by the action. Valid providers are determined by the action category. For example, an action in the Deploy category type might have a provider of AWS CodeDeploy, which would be specified as CodeDeploy.

atiVersion :: Lens' ActionTypeId Text Source

A string that identifies the action type.

ActionTypeSettings

actionTypeSettings :: ActionTypeSettings Source

Creates a value of ActionTypeSettings with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

atsThirdPartyConfigurationURL :: Lens' ActionTypeSettings (Maybe Text) Source

The URL of a sign-up page where users can sign up for an external service and perform initial configuration of the action provided by that service.

atsExecutionURLTemplate :: Lens' ActionTypeSettings (Maybe Text) Source

The URL returned to the AWS CodePipeline console that contains a link to the top-level landing page for the external system, such as console page for AWS CodeDeploy. This link is shown on the pipeline view page in the AWS CodePipeline console and provides a link to the execution entity of the external action.

atsRevisionURLTemplate :: Lens' ActionTypeSettings (Maybe Text) Source

The URL returned to the AWS CodePipeline console that contains a link to the page where customers can update or change the configuration of the external action.

atsEntityURLTemplate :: Lens' ActionTypeSettings (Maybe Text) Source

The URL returned to the AWS CodePipeline console that provides a deep link to the resources of the external system, such as the configuration page for an AWS CodeDeploy deployment group. This link is provided as part of the action display within the pipeline.

Artifact

data Artifact Source

Represents information about an artifact that will be worked upon by actions in the pipeline.

See: artifact smart constructor.

artifact :: Artifact Source

Creates a value of Artifact with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

aLocation :: Lens' Artifact (Maybe ArtifactLocation) Source

The location of an artifact.

aName :: Lens' Artifact (Maybe Text) Source

The artifact's name.

aRevision :: Lens' Artifact (Maybe Text) Source

The artifact's revision ID. Depending on the type of object, this could be a commit ID (GitHub) or a revision ID (Amazon S3).

ArtifactDetails

artifactDetails Source

Creates a value of ArtifactDetails with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

adMinimumCount :: Lens' ArtifactDetails Natural Source

The minimum number of artifacts allowed for the action type.

adMaximumCount :: Lens' ArtifactDetails Natural Source

The maximum number of artifacts allowed for the action type.

ArtifactLocation

artifactLocation :: ArtifactLocation Source

Creates a value of ArtifactLocation with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

alS3Location :: Lens' ArtifactLocation (Maybe S3ArtifactLocation) Source

The Amazon S3 bucket that contains the artifact.

alType :: Lens' ArtifactLocation (Maybe ArtifactLocationType) Source

The type of artifact in the location.

ArtifactStore

data ArtifactStore Source

The Amazon S3 location where artifacts are stored for the pipeline. If this Amazon S3 bucket is created manually, it must meet the requirements for AWS CodePipeline. For more information, see the Concepts.

See: artifactStore smart constructor.

artifactStore Source

Creates a value of ArtifactStore with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

asEncryptionKey :: Lens' ArtifactStore (Maybe EncryptionKey) Source

The AWS Key Management Service (AWS KMS) key used to encrypt the data in the artifact store. If this is undefined, the default key for Amazon S3 is used.

asType :: Lens' ArtifactStore ArtifactStoreType Source

The type of the artifact store, such as S3.

asLocation :: Lens' ArtifactStore Text Source

The location for storing the artifacts for a pipeline, such as an S3 bucket or folder.

BlockerDeclaration

blockerDeclaration Source

Creates a value of BlockerDeclaration with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

bdName :: Lens' BlockerDeclaration Text Source

The name of the gate declaration.

bdType :: Lens' BlockerDeclaration BlockerType Source

The type of the gate declaration.

CurrentRevision

currentRevision Source

Creates a value of CurrentRevision with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

crRevision :: Lens' CurrentRevision Text Source

The revision ID of the current version of an artifact.

crChangeIdentifier :: Lens' CurrentRevision Text Source

The change identifier for the current revision.

EncryptionKey

data EncryptionKey Source

Represents information about the AWS Key Management Service (AWS KMS) key used to encrypt data in the artifact store.

See: encryptionKey smart constructor.

encryptionKey Source

Creates a value of EncryptionKey with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

ekId :: Lens' EncryptionKey Text Source

The ID of the AWS KMS key.

ekType :: Lens' EncryptionKey EncryptionKeyType Source

The type of AWS KMS key, such as a customer master key.

ErrorDetails

data ErrorDetails Source

Represents information about an error in AWS CodePipeline.

See: errorDetails smart constructor.

errorDetails :: ErrorDetails Source

Creates a value of ErrorDetails with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

edCode :: Lens' ErrorDetails (Maybe Text) Source

The system ID or error number code of the error.

edMessage :: Lens' ErrorDetails (Maybe Text) Source

The text of the error message.

ExecutionDetails

data ExecutionDetails Source

The details of the actions taken and results produced on an artifact as it passes through stages in the pipeline.

See: executionDetails smart constructor.

executionDetails :: ExecutionDetails Source

Creates a value of ExecutionDetails with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

edSummary :: Lens' ExecutionDetails (Maybe Text) Source

The summary of the current status of the actions.

edExternalExecutionId :: Lens' ExecutionDetails (Maybe Text) Source

The system-generated unique ID of this action used to identify this job worker in any external systems, such as AWS CodeDeploy.

edPercentComplete :: Lens' ExecutionDetails (Maybe Natural) Source

The percentage of work completed on the action, represented on a scale of zero to one hundred percent.

FailureDetails

failureDetails Source

Creates a value of FailureDetails with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

fdExternalExecutionId :: Lens' FailureDetails (Maybe Text) Source

The external ID of the run of the action that failed.

fdType :: Lens' FailureDetails FailureType Source

The type of the failure.

fdMessage :: Lens' FailureDetails Text Source

The message about the failure.

InputArtifact

data InputArtifact Source

Represents information about an artifact to be worked on, such as a test or build artifact.

See: inputArtifact smart constructor.

inputArtifact Source

Arguments

:: Text

iaName

-> InputArtifact 

Creates a value of InputArtifact with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

iaName :: Lens' InputArtifact Text Source

The name of the artifact to be worked on, for example, "My App".

The input artifact of an action must exactly match the output artifact declared in a preceding action, but the input artifact does not have to be the next action in strict sequence from the action that provided the output artifact. Actions in parallel can declare different output artifacts, which are in turn consumed by different following actions.

Job

data Job Source

Represents information about a job.

See: job smart constructor.

job :: Job Source

Creates a value of Job with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

jData :: Lens' Job (Maybe JobData) Source

Additional data about a job.

jAccountId :: Lens' Job (Maybe Text) Source

The ID of the AWS account to use when performing the job.

jId :: Lens' Job (Maybe Text) Source

The unique system-generated ID of the job.

jNonce :: Lens' Job (Maybe Text) Source

A system-generated random number that AWS CodePipeline uses to ensure that the job is being worked on by only one job worker. This number must be returned in the response.

JobData

data JobData Source

Represents additional information about a job required for a job worker to complete the job.

See: jobData smart constructor.

jobData :: JobData Source

Creates a value of JobData with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

jdContinuationToken :: Lens' JobData (Maybe Text) Source

A system-generated token, such as a AWS CodeDeploy deployment ID, that a job requires in order to continue the job asynchronously.

jdOutputArtifacts :: Lens' JobData [Artifact] Source

The output of the job.

jdInputArtifacts :: Lens' JobData [Artifact] Source

The artifact supplied to the job.

JobDetails

data JobDetails Source

Represents information about the details of a job.

See: jobDetails smart constructor.

jobDetails :: JobDetails Source

Creates a value of JobDetails with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

jdData :: Lens' JobDetails (Maybe JobData) Source

Undocumented member.

jdAccountId :: Lens' JobDetails (Maybe Text) Source

The AWS account ID associated with the job.

jdId :: Lens' JobDetails (Maybe Text) Source

The unique system-generated ID of the job.

OutputArtifact

outputArtifact Source

Arguments

:: Text

oaName

-> OutputArtifact 

Creates a value of OutputArtifact with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

oaName :: Lens' OutputArtifact Text Source

The name of the output of an artifact, such as "My App".

The input artifact of an action must exactly match the output artifact declared in a preceding action, but the input artifact does not have to be the next action in strict sequence from the action that provided the output artifact. Actions in parallel can declare different output artifacts, which are in turn consumed by different following actions.

Output artifact names must be unique within a pipeline.

PipelineContext

pipelineContext :: PipelineContext Source

Creates a value of PipelineContext with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

pcStage :: Lens' PipelineContext (Maybe StageContext) Source

The stage of the pipeline.

pcPipelineName :: Lens' PipelineContext (Maybe Text) Source

The name of the pipeline. This is a user-specified value. Pipeline names must be unique across all pipeline names under an Amazon Web Services account.

PipelineDeclaration

pipelineDeclaration Source

Creates a value of PipelineDeclaration with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

pdVersion :: Lens' PipelineDeclaration (Maybe Natural) Source

The version number of the pipeline. A new pipeline always has a version number of 1. This number is automatically incremented when a pipeline is updated.

pdName :: Lens' PipelineDeclaration Text Source

The name of the action to be performed.

pdRoleARN :: Lens' PipelineDeclaration Text Source

The Amazon Resource Name (ARN) for AWS CodePipeline to use to either perform actions with no actionRoleArn, or to use to assume roles for actions with an actionRoleArn.

pdStages :: Lens' PipelineDeclaration [StageDeclaration] Source

The stage in which to perform the action.

PipelineSummary

pipelineSummary :: PipelineSummary Source

Creates a value of PipelineSummary with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

psCreated :: Lens' PipelineSummary (Maybe UTCTime) Source

The date and time the pipeline was created, in timestamp format.

psName :: Lens' PipelineSummary (Maybe Text) Source

The name of the pipeline.

psVersion :: Lens' PipelineSummary (Maybe Natural) Source

The version number of the pipeline.

psUpdated :: Lens' PipelineSummary (Maybe UTCTime) Source

The date and time of the last update to the pipeline, in timestamp format.

S3ArtifactLocation

s3ArtifactLocation Source

Creates a value of S3ArtifactLocation with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

salBucketName :: Lens' S3ArtifactLocation Text Source

The name of the Amazon S3 bucket.

salObjectKey :: Lens' S3ArtifactLocation Text Source

The key of the object in the Amazon S3 bucket, which uniquely identifies the object in the bucket.

StageContext

stageContext :: StageContext Source

Creates a value of StageContext with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

scName :: Lens' StageContext (Maybe Text) Source

The name of the stage.

StageDeclaration

stageDeclaration Source

Creates a value of StageDeclaration with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

sdBlockers :: Lens' StageDeclaration [BlockerDeclaration] Source

The gates included in a stage.

sdName :: Lens' StageDeclaration Text Source

The name of the stage.

sdActions :: Lens' StageDeclaration [ActionDeclaration] Source

The actions included in a stage.

StageState

data StageState Source

Represents information about the state of the stage.

See: stageState smart constructor.

stageState :: StageState Source

Creates a value of StageState with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

ssInboundTransitionState :: Lens' StageState (Maybe TransitionState) Source

The state of the inbound transition, which is either enabled or disabled.

ssActionStates :: Lens' StageState [ActionState] Source

The state of the stage.

ssStageName :: Lens' StageState (Maybe Text) Source

The name of the stage.

ThirdPartyJob

data ThirdPartyJob Source

A response to a PollForThirdPartyJobs request returned by AWS CodePipeline when there is a job to be worked upon by a partner action.

See: thirdPartyJob smart constructor.

thirdPartyJob :: ThirdPartyJob Source

Creates a value of ThirdPartyJob with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

tpjClientId :: Lens' ThirdPartyJob (Maybe Text) Source

The clientToken portion of the clientId and clientToken pair used to verify that the calling entity is allowed access to the job and its details.

tpjJobId :: Lens' ThirdPartyJob (Maybe Text) Source

The identifier used to identify the job in AWS CodePipeline.

ThirdPartyJobData

thirdPartyJobData :: ThirdPartyJobData Source

Creates a value of ThirdPartyJobData with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

tpjdContinuationToken :: Lens' ThirdPartyJobData (Maybe Text) Source

A system-generated token, such as a AWS CodeDeploy deployment ID, that a job requires in order to continue the job asynchronously.

tpjdOutputArtifacts :: Lens' ThirdPartyJobData [Artifact] Source

The name of the artifact that will be the result of the action, if any. This name might be system-generated, such as "MyBuiltApp", or might be defined by the user when the action is created.

tpjdEncryptionKey :: Lens' ThirdPartyJobData (Maybe EncryptionKey) Source

The AWS Key Management Service (AWS KMS) key used to encrypt and decrypt data in the artifact store for the pipeline.

tpjdInputArtifacts :: Lens' ThirdPartyJobData [Artifact] Source

The name of the artifact that will be worked upon by the action, if any. This name might be system-generated, such as "MyApp", or might be defined by the user when the action is created. The input artifact name must match the name of an output artifact generated by an action in an earlier action or stage of the pipeline.

ThirdPartyJobDetails

thirdPartyJobDetails :: ThirdPartyJobDetails Source

Creates a value of ThirdPartyJobDetails with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

tpjdData :: Lens' ThirdPartyJobDetails (Maybe ThirdPartyJobData) Source

The data to be returned by the third party job worker.

tpjdId :: Lens' ThirdPartyJobDetails (Maybe Text) Source

The identifier used to identify the job details in AWS CodePipeline.

tpjdNonce :: Lens' ThirdPartyJobDetails (Maybe Text) Source

A system-generated random number that AWS CodePipeline uses to ensure that the job is being worked on by only one job worker. This number must be returned in the response.

TransitionState

data TransitionState Source

Represents information about the state of transitions between one stage and another stage.

See: transitionState smart constructor.

transitionState :: TransitionState Source

Creates a value of TransitionState with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

tsEnabled :: Lens' TransitionState (Maybe Bool) Source

Whether the transition between stages is enabled (true) or disabled (false).

tsDisabledReason :: Lens' TransitionState (Maybe Text) Source

The user-specified reason why the transition between two stages of a pipeline was disabled.

tsLastChangedAt :: Lens' TransitionState (Maybe UTCTime) Source

The timestamp when the transition state was last changed.

tsLastChangedBy :: Lens' TransitionState (Maybe Text) Source

The ID of the user who last changed the transition state.