libZSservicesZSamazonka-codestarZSamazonka-codestar
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.CodeStar.Types.ProjectStatus

Description

 
Synopsis

Documentation

data ProjectStatus Source #

An indication of whether a project creation or deletion is failed or successful.

See: newProjectStatus smart constructor.

Constructors

ProjectStatus' 

Fields

  • reason :: Maybe Text

    In the case of a project creation or deletion failure, a reason for the failure.

  • state :: Text

    The phase of completion for a project creation or deletion.

Instances

Instances details
Eq ProjectStatus Source # 
Instance details

Defined in Amazonka.CodeStar.Types.ProjectStatus

Read ProjectStatus Source # 
Instance details

Defined in Amazonka.CodeStar.Types.ProjectStatus

Show ProjectStatus Source # 
Instance details

Defined in Amazonka.CodeStar.Types.ProjectStatus

Generic ProjectStatus Source # 
Instance details

Defined in Amazonka.CodeStar.Types.ProjectStatus

Associated Types

type Rep ProjectStatus :: Type -> Type #

NFData ProjectStatus Source # 
Instance details

Defined in Amazonka.CodeStar.Types.ProjectStatus

Methods

rnf :: ProjectStatus -> () #

Hashable ProjectStatus Source # 
Instance details

Defined in Amazonka.CodeStar.Types.ProjectStatus

FromJSON ProjectStatus Source # 
Instance details

Defined in Amazonka.CodeStar.Types.ProjectStatus

type Rep ProjectStatus Source # 
Instance details

Defined in Amazonka.CodeStar.Types.ProjectStatus

type Rep ProjectStatus = D1 ('MetaData "ProjectStatus" "Amazonka.CodeStar.Types.ProjectStatus" "libZSservicesZSamazonka-codestarZSamazonka-codestar" 'False) (C1 ('MetaCons "ProjectStatus'" 'PrefixI 'True) (S1 ('MetaSel ('Just "reason") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newProjectStatus Source #

Create a value of ProjectStatus 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:reason:ProjectStatus', projectStatus_reason - In the case of a project creation or deletion failure, a reason for the failure.

$sel:state:ProjectStatus', projectStatus_state - The phase of completion for a project creation or deletion.

projectStatus_reason :: Lens' ProjectStatus (Maybe Text) Source #

In the case of a project creation or deletion failure, a reason for the failure.

projectStatus_state :: Lens' ProjectStatus Text Source #

The phase of completion for a project creation or deletion.