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

Description

 
Synopsis

Documentation

data Resource Source #

Information about a resource for a project.

See: newResource smart constructor.

Constructors

Resource' 

Fields

  • id :: Text

    The Amazon Resource Name (ARN) of the resource.

Instances

Instances details
Eq Resource Source # 
Instance details

Defined in Amazonka.CodeStar.Types.Resource

Read Resource Source # 
Instance details

Defined in Amazonka.CodeStar.Types.Resource

Show Resource Source # 
Instance details

Defined in Amazonka.CodeStar.Types.Resource

Generic Resource Source # 
Instance details

Defined in Amazonka.CodeStar.Types.Resource

Associated Types

type Rep Resource :: Type -> Type #

Methods

from :: Resource -> Rep Resource x #

to :: Rep Resource x -> Resource #

NFData Resource Source # 
Instance details

Defined in Amazonka.CodeStar.Types.Resource

Methods

rnf :: Resource -> () #

Hashable Resource Source # 
Instance details

Defined in Amazonka.CodeStar.Types.Resource

Methods

hashWithSalt :: Int -> Resource -> Int #

hash :: Resource -> Int #

FromJSON Resource Source # 
Instance details

Defined in Amazonka.CodeStar.Types.Resource

type Rep Resource Source # 
Instance details

Defined in Amazonka.CodeStar.Types.Resource

type Rep Resource = D1 ('MetaData "Resource" "Amazonka.CodeStar.Types.Resource" "libZSservicesZSamazonka-codestarZSamazonka-codestar" 'False) (C1 ('MetaCons "Resource'" 'PrefixI 'True) (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newResource Source #

Create a value of Resource 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:id:Resource', resource_id - The Amazon Resource Name (ARN) of the resource.

resource_id :: Lens' Resource Text Source #

The Amazon Resource Name (ARN) of the resource.