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

Description

Restarts a build.

Synopsis

Creating a Request

data RetryBuild Source #

See: newRetryBuild smart constructor.

Constructors

RetryBuild' 

Fields

  • idempotencyToken :: Maybe Text

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

  • id :: Maybe Text

    Specifies the identifier of the build to restart.

Instances

Instances details
Eq RetryBuild Source # 
Instance details

Defined in Amazonka.CodeBuild.RetryBuild

Read RetryBuild Source # 
Instance details

Defined in Amazonka.CodeBuild.RetryBuild

Show RetryBuild Source # 
Instance details

Defined in Amazonka.CodeBuild.RetryBuild

Generic RetryBuild Source # 
Instance details

Defined in Amazonka.CodeBuild.RetryBuild

Associated Types

type Rep RetryBuild :: Type -> Type #

NFData RetryBuild Source # 
Instance details

Defined in Amazonka.CodeBuild.RetryBuild

Methods

rnf :: RetryBuild -> () #

Hashable RetryBuild Source # 
Instance details

Defined in Amazonka.CodeBuild.RetryBuild

ToJSON RetryBuild Source # 
Instance details

Defined in Amazonka.CodeBuild.RetryBuild

AWSRequest RetryBuild Source # 
Instance details

Defined in Amazonka.CodeBuild.RetryBuild

Associated Types

type AWSResponse RetryBuild #

ToHeaders RetryBuild Source # 
Instance details

Defined in Amazonka.CodeBuild.RetryBuild

Methods

toHeaders :: RetryBuild -> [Header] #

ToPath RetryBuild Source # 
Instance details

Defined in Amazonka.CodeBuild.RetryBuild

ToQuery RetryBuild Source # 
Instance details

Defined in Amazonka.CodeBuild.RetryBuild

type Rep RetryBuild Source # 
Instance details

Defined in Amazonka.CodeBuild.RetryBuild

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

Defined in Amazonka.CodeBuild.RetryBuild

newRetryBuild :: RetryBuild Source #

Create a value of RetryBuild 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:RetryBuild', retryBuild_idempotencyToken - A unique, case sensitive identifier you provide to ensure the idempotency of the RetryBuild request. The token is included in the RetryBuild request and is valid for five minutes. If you repeat the RetryBuild request with the same token, but change a parameter, CodeBuild returns a parameter mismatch error.

$sel:id:RetryBuild', retryBuild_id - Specifies the identifier of the build to restart.

Request Lenses

retryBuild_idempotencyToken :: Lens' RetryBuild (Maybe Text) Source #

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

retryBuild_id :: Lens' RetryBuild (Maybe Text) Source #

Specifies the identifier of the build to restart.

Destructuring the Response

data RetryBuildResponse Source #

See: newRetryBuildResponse smart constructor.

Constructors

RetryBuildResponse' 

Fields

Instances

Instances details
Eq RetryBuildResponse Source # 
Instance details

Defined in Amazonka.CodeBuild.RetryBuild

Read RetryBuildResponse Source # 
Instance details

Defined in Amazonka.CodeBuild.RetryBuild

Show RetryBuildResponse Source # 
Instance details

Defined in Amazonka.CodeBuild.RetryBuild

Generic RetryBuildResponse Source # 
Instance details

Defined in Amazonka.CodeBuild.RetryBuild

Associated Types

type Rep RetryBuildResponse :: Type -> Type #

NFData RetryBuildResponse Source # 
Instance details

Defined in Amazonka.CodeBuild.RetryBuild

Methods

rnf :: RetryBuildResponse -> () #

type Rep RetryBuildResponse Source # 
Instance details

Defined in Amazonka.CodeBuild.RetryBuild

type Rep RetryBuildResponse = D1 ('MetaData "RetryBuildResponse" "Amazonka.CodeBuild.RetryBuild" "libZSservicesZSamazonka-codebuildZSamazonka-codebuild" 'False) (C1 ('MetaCons "RetryBuildResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "build") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Build)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newRetryBuildResponse Source #

Create a value of RetryBuildResponse 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:build:RetryBuildResponse', retryBuildResponse_build - Undocumented member.

$sel:httpStatus:RetryBuildResponse', retryBuildResponse_httpStatus - The response's http status code.

Response Lenses