amazonka-codebuild-2.0: Amazon CodeBuild SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.CodeBuild.RetryBuildBatch

Description

Restarts a failed batch build. Only batch builds that have failed can be retried.

Synopsis

Creating a Request

data RetryBuildBatch Source #

See: newRetryBuildBatch smart constructor.

Constructors

RetryBuildBatch' 

Fields

  • id :: Maybe Text

    Specifies the identifier of the batch build to restart.

  • idempotencyToken :: Maybe Text

    A unique, case sensitive identifier you provide to ensure the idempotency of the RetryBuildBatch request. The token is included in the RetryBuildBatch request and is valid for five minutes. If you repeat the RetryBuildBatch request with the same token, but change a parameter, CodeBuild returns a parameter mismatch error.

  • retryType :: Maybe RetryBuildBatchType

    Specifies the type of retry to perform.

Instances

Instances details
ToJSON RetryBuildBatch Source # 
Instance details

Defined in Amazonka.CodeBuild.RetryBuildBatch

ToHeaders RetryBuildBatch Source # 
Instance details

Defined in Amazonka.CodeBuild.RetryBuildBatch

ToPath RetryBuildBatch Source # 
Instance details

Defined in Amazonka.CodeBuild.RetryBuildBatch

ToQuery RetryBuildBatch Source # 
Instance details

Defined in Amazonka.CodeBuild.RetryBuildBatch

AWSRequest RetryBuildBatch Source # 
Instance details

Defined in Amazonka.CodeBuild.RetryBuildBatch

Associated Types

type AWSResponse RetryBuildBatch #

Generic RetryBuildBatch Source # 
Instance details

Defined in Amazonka.CodeBuild.RetryBuildBatch

Associated Types

type Rep RetryBuildBatch :: Type -> Type #

Read RetryBuildBatch Source # 
Instance details

Defined in Amazonka.CodeBuild.RetryBuildBatch

Show RetryBuildBatch Source # 
Instance details

Defined in Amazonka.CodeBuild.RetryBuildBatch

NFData RetryBuildBatch Source # 
Instance details

Defined in Amazonka.CodeBuild.RetryBuildBatch

Methods

rnf :: RetryBuildBatch -> () #

Eq RetryBuildBatch Source # 
Instance details

Defined in Amazonka.CodeBuild.RetryBuildBatch

Hashable RetryBuildBatch Source # 
Instance details

Defined in Amazonka.CodeBuild.RetryBuildBatch

type AWSResponse RetryBuildBatch Source # 
Instance details

Defined in Amazonka.CodeBuild.RetryBuildBatch

type Rep RetryBuildBatch Source # 
Instance details

Defined in Amazonka.CodeBuild.RetryBuildBatch

type Rep RetryBuildBatch = D1 ('MetaData "RetryBuildBatch" "Amazonka.CodeBuild.RetryBuildBatch" "amazonka-codebuild-2.0-3KpZspRk9Ul8Wu4D0cM13Q" 'False) (C1 ('MetaCons "RetryBuildBatch'" 'PrefixI 'True) (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "idempotencyToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "retryType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RetryBuildBatchType)))))

newRetryBuildBatch :: RetryBuildBatch Source #

Create a value of RetryBuildBatch with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

RetryBuildBatch, retryBuildBatch_id - Specifies the identifier of the batch build to restart.

$sel:idempotencyToken:RetryBuildBatch', retryBuildBatch_idempotencyToken - A unique, case sensitive identifier you provide to ensure the idempotency of the RetryBuildBatch request. The token is included in the RetryBuildBatch request and is valid for five minutes. If you repeat the RetryBuildBatch request with the same token, but change a parameter, CodeBuild returns a parameter mismatch error.

$sel:retryType:RetryBuildBatch', retryBuildBatch_retryType - Specifies the type of retry to perform.

Request Lenses

retryBuildBatch_id :: Lens' RetryBuildBatch (Maybe Text) Source #

Specifies the identifier of the batch build to restart.

retryBuildBatch_idempotencyToken :: Lens' RetryBuildBatch (Maybe Text) Source #

A unique, case sensitive identifier you provide to ensure the idempotency of the RetryBuildBatch request. The token is included in the RetryBuildBatch request and is valid for five minutes. If you repeat the RetryBuildBatch request with the same token, but change a parameter, CodeBuild returns a parameter mismatch error.

Destructuring the Response

data RetryBuildBatchResponse Source #

See: newRetryBuildBatchResponse smart constructor.

Constructors

RetryBuildBatchResponse' 

Fields

Instances

Instances details
Generic RetryBuildBatchResponse Source # 
Instance details

Defined in Amazonka.CodeBuild.RetryBuildBatch

Associated Types

type Rep RetryBuildBatchResponse :: Type -> Type #

Read RetryBuildBatchResponse Source # 
Instance details

Defined in Amazonka.CodeBuild.RetryBuildBatch

Show RetryBuildBatchResponse Source # 
Instance details

Defined in Amazonka.CodeBuild.RetryBuildBatch

NFData RetryBuildBatchResponse Source # 
Instance details

Defined in Amazonka.CodeBuild.RetryBuildBatch

Methods

rnf :: RetryBuildBatchResponse -> () #

Eq RetryBuildBatchResponse Source # 
Instance details

Defined in Amazonka.CodeBuild.RetryBuildBatch

type Rep RetryBuildBatchResponse Source # 
Instance details

Defined in Amazonka.CodeBuild.RetryBuildBatch

type Rep RetryBuildBatchResponse = D1 ('MetaData "RetryBuildBatchResponse" "Amazonka.CodeBuild.RetryBuildBatch" "amazonka-codebuild-2.0-3KpZspRk9Ul8Wu4D0cM13Q" 'False) (C1 ('MetaCons "RetryBuildBatchResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "buildBatch") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe BuildBatch)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newRetryBuildBatchResponse Source #

Create a value of RetryBuildBatchResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:buildBatch:RetryBuildBatchResponse', retryBuildBatchResponse_buildBatch - Undocumented member.

$sel:httpStatus:RetryBuildBatchResponse', retryBuildBatchResponse_httpStatus - The response's http status code.

Response Lenses