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

Description

 
Synopsis

Documentation

data BuildStatusConfig Source #

Contains information that defines how the CodeBuild build project reports the build status to the source provider.

See: newBuildStatusConfig smart constructor.

Constructors

BuildStatusConfig' 

Fields

  • context :: Maybe Text

    Specifies the context of the build status CodeBuild sends to the source provider. The usage of this parameter depends on the source provider.

    Bitbucket
    This parameter is used for the name parameter in the Bitbucket commit status. For more information, see build in the Bitbucket API documentation.
    GitHub/GitHub Enterprise Server
    This parameter is used for the context parameter in the GitHub commit status. For more information, see Create a commit status in the GitHub developer guide.
  • targetUrl :: Maybe Text

    Specifies the target url of the build status CodeBuild sends to the source provider. The usage of this parameter depends on the source provider.

    Bitbucket
    This parameter is used for the url parameter in the Bitbucket commit status. For more information, see build in the Bitbucket API documentation.
    GitHub/GitHub Enterprise Server
    This parameter is used for the target_url parameter in the GitHub commit status. For more information, see Create a commit status in the GitHub developer guide.

Instances

Instances details
Eq BuildStatusConfig Source # 
Instance details

Defined in Amazonka.CodeBuild.Types.BuildStatusConfig

Read BuildStatusConfig Source # 
Instance details

Defined in Amazonka.CodeBuild.Types.BuildStatusConfig

Show BuildStatusConfig Source # 
Instance details

Defined in Amazonka.CodeBuild.Types.BuildStatusConfig

Generic BuildStatusConfig Source # 
Instance details

Defined in Amazonka.CodeBuild.Types.BuildStatusConfig

Associated Types

type Rep BuildStatusConfig :: Type -> Type #

NFData BuildStatusConfig Source # 
Instance details

Defined in Amazonka.CodeBuild.Types.BuildStatusConfig

Methods

rnf :: BuildStatusConfig -> () #

Hashable BuildStatusConfig Source # 
Instance details

Defined in Amazonka.CodeBuild.Types.BuildStatusConfig

ToJSON BuildStatusConfig Source # 
Instance details

Defined in Amazonka.CodeBuild.Types.BuildStatusConfig

FromJSON BuildStatusConfig Source # 
Instance details

Defined in Amazonka.CodeBuild.Types.BuildStatusConfig

type Rep BuildStatusConfig Source # 
Instance details

Defined in Amazonka.CodeBuild.Types.BuildStatusConfig

type Rep BuildStatusConfig = D1 ('MetaData "BuildStatusConfig" "Amazonka.CodeBuild.Types.BuildStatusConfig" "libZSservicesZSamazonka-codebuildZSamazonka-codebuild" 'False) (C1 ('MetaCons "BuildStatusConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "context") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "targetUrl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newBuildStatusConfig :: BuildStatusConfig Source #

Create a value of BuildStatusConfig 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:context:BuildStatusConfig', buildStatusConfig_context - Specifies the context of the build status CodeBuild sends to the source provider. The usage of this parameter depends on the source provider.

Bitbucket
This parameter is used for the name parameter in the Bitbucket commit status. For more information, see build in the Bitbucket API documentation.
GitHub/GitHub Enterprise Server
This parameter is used for the context parameter in the GitHub commit status. For more information, see Create a commit status in the GitHub developer guide.

$sel:targetUrl:BuildStatusConfig', buildStatusConfig_targetUrl - Specifies the target url of the build status CodeBuild sends to the source provider. The usage of this parameter depends on the source provider.

Bitbucket
This parameter is used for the url parameter in the Bitbucket commit status. For more information, see build in the Bitbucket API documentation.
GitHub/GitHub Enterprise Server
This parameter is used for the target_url parameter in the GitHub commit status. For more information, see Create a commit status in the GitHub developer guide.

buildStatusConfig_context :: Lens' BuildStatusConfig (Maybe Text) Source #

Specifies the context of the build status CodeBuild sends to the source provider. The usage of this parameter depends on the source provider.

Bitbucket
This parameter is used for the name parameter in the Bitbucket commit status. For more information, see build in the Bitbucket API documentation.
GitHub/GitHub Enterprise Server
This parameter is used for the context parameter in the GitHub commit status. For more information, see Create a commit status in the GitHub developer guide.

buildStatusConfig_targetUrl :: Lens' BuildStatusConfig (Maybe Text) Source #

Specifies the target url of the build status CodeBuild sends to the source provider. The usage of this parameter depends on the source provider.

Bitbucket
This parameter is used for the url parameter in the Bitbucket commit status. For more information, see build in the Bitbucket API documentation.
GitHub/GitHub Enterprise Server
This parameter is used for the target_url parameter in the GitHub commit status. For more information, see Create a commit status in the GitHub developer guide.