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

Description

 
Synopsis

Documentation

data ProjectBadge Source #

Information about the build badge for the build project.

See: newProjectBadge smart constructor.

Constructors

ProjectBadge' 

Fields

  • badgeEnabled :: Maybe Bool

    Set this to true to generate a publicly accessible URL for your project's build badge.

  • badgeRequestUrl :: Maybe Text

    The publicly-accessible URL through which you can access the build badge for your project.

Instances

Instances details
FromJSON ProjectBadge Source # 
Instance details

Defined in Amazonka.CodeBuild.Types.ProjectBadge

Generic ProjectBadge Source # 
Instance details

Defined in Amazonka.CodeBuild.Types.ProjectBadge

Associated Types

type Rep ProjectBadge :: Type -> Type #

Read ProjectBadge Source # 
Instance details

Defined in Amazonka.CodeBuild.Types.ProjectBadge

Show ProjectBadge Source # 
Instance details

Defined in Amazonka.CodeBuild.Types.ProjectBadge

NFData ProjectBadge Source # 
Instance details

Defined in Amazonka.CodeBuild.Types.ProjectBadge

Methods

rnf :: ProjectBadge -> () #

Eq ProjectBadge Source # 
Instance details

Defined in Amazonka.CodeBuild.Types.ProjectBadge

Hashable ProjectBadge Source # 
Instance details

Defined in Amazonka.CodeBuild.Types.ProjectBadge

type Rep ProjectBadge Source # 
Instance details

Defined in Amazonka.CodeBuild.Types.ProjectBadge

type Rep ProjectBadge = D1 ('MetaData "ProjectBadge" "Amazonka.CodeBuild.Types.ProjectBadge" "amazonka-codebuild-2.0-3KpZspRk9Ul8Wu4D0cM13Q" 'False) (C1 ('MetaCons "ProjectBadge'" 'PrefixI 'True) (S1 ('MetaSel ('Just "badgeEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "badgeRequestUrl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newProjectBadge :: ProjectBadge Source #

Create a value of ProjectBadge 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:badgeEnabled:ProjectBadge', projectBadge_badgeEnabled - Set this to true to generate a publicly accessible URL for your project's build badge.

$sel:badgeRequestUrl:ProjectBadge', projectBadge_badgeRequestUrl - The publicly-accessible URL through which you can access the build badge for your project.

projectBadge_badgeEnabled :: Lens' ProjectBadge (Maybe Bool) Source #

Set this to true to generate a publicly accessible URL for your project's build badge.

projectBadge_badgeRequestUrl :: Lens' ProjectBadge (Maybe Text) Source #

The publicly-accessible URL through which you can access the build badge for your project.