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

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

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

  • id :: Maybe Text

    Specifies the identifier of the batch build to restart.

  • retryType :: Maybe RetryBuildBatchType

    Specifies the type of retry to perform.

Instances

Instances details
Eq RetryBuildBatch Source # 
Instance details

Defined in Amazonka.CodeBuild.RetryBuildBatch

Read RetryBuildBatch Source # 
Instance details

Defined in Amazonka.CodeBuild.RetryBuildBatch

Show RetryBuildBatch Source # 
Instance details

Defined in Amazonka.CodeBuild.RetryBuildBatch

Generic RetryBuildBatch Source # 
Instance details

Defined in Amazonka.CodeBuild.RetryBuildBatch

Associated Types

type Rep RetryBuildBatch :: Type -> Type #

NFData RetryBuildBatch Source # 
Instance details

Defined in Amazonka.CodeBuild.RetryBuildBatch

Methods

rnf :: RetryBuildBatch -> () #

Hashable RetryBuildBatch Source # 
Instance details

Defined in Amazonka.CodeBuild.RetryBuildBatch

ToJSON RetryBuildBatch Source # 
Instance details

Defined in Amazonka.CodeBuild.RetryBuildBatch

AWSRequest RetryBuildBatch Source # 
Instance details

Defined in Amazonka.CodeBuild.RetryBuildBatch

Associated Types

type AWSResponse 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

type Rep RetryBuildBatch Source # 
Instance details

Defined in Amazonka.CodeBuild.RetryBuildBatch

type Rep RetryBuildBatch = D1 ('MetaData "RetryBuildBatch" "Amazonka.CodeBuild.RetryBuildBatch" "libZSservicesZSamazonka-codebuildZSamazonka-codebuild" 'False) (C1 ('MetaCons "RetryBuildBatch'" 'PrefixI 'True) (S1 ('MetaSel ('Just "idempotencyToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "retryType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RetryBuildBatchType)))))
type AWSResponse RetryBuildBatch Source # 
Instance details

Defined in Amazonka.CodeBuild.RetryBuildBatch

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:

$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:id:RetryBuildBatch', retryBuildBatch_id - Specifies the identifier of the batch build to restart.

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

Request Lenses

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.

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

Specifies the identifier of the batch build to restart.

Destructuring the Response

data RetryBuildBatchResponse Source #

See: newRetryBuildBatchResponse smart constructor.

Constructors

RetryBuildBatchResponse' 

Fields

Instances

Instances details
Eq RetryBuildBatchResponse Source # 
Instance details

Defined in Amazonka.CodeBuild.RetryBuildBatch

Read RetryBuildBatchResponse Source # 
Instance details

Defined in Amazonka.CodeBuild.RetryBuildBatch

Show RetryBuildBatchResponse Source # 
Instance details

Defined in Amazonka.CodeBuild.RetryBuildBatch

Generic RetryBuildBatchResponse Source # 
Instance details

Defined in Amazonka.CodeBuild.RetryBuildBatch

Associated Types

type Rep RetryBuildBatchResponse :: Type -> Type #

NFData RetryBuildBatchResponse Source # 
Instance details

Defined in Amazonka.CodeBuild.RetryBuildBatch

Methods

rnf :: RetryBuildBatchResponse -> () #

type Rep RetryBuildBatchResponse Source # 
Instance details

Defined in Amazonka.CodeBuild.RetryBuildBatch

type Rep RetryBuildBatchResponse = D1 ('MetaData "RetryBuildBatchResponse" "Amazonka.CodeBuild.RetryBuildBatch" "libZSservicesZSamazonka-codebuildZSamazonka-codebuild" '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