libZSservicesZSamazonka-appmeshZSamazonka-appmesh
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.AppMesh.Types.ResourceMetadata

Description

 
Synopsis

Documentation

data ResourceMetadata Source #

An object that represents metadata for a resource.

See: newResourceMetadata smart constructor.

Constructors

ResourceMetadata' 

Fields

  • arn :: Text

    The full Amazon Resource Name (ARN) for the resource.

  • createdAt :: POSIX

    The Unix epoch timestamp in seconds for when the resource was created.

  • lastUpdatedAt :: POSIX

    The Unix epoch timestamp in seconds for when the resource was last updated.

  • meshOwner :: Text

    The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it's the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.

  • resourceOwner :: Text

    The AWS IAM account ID of the resource owner. If the account ID is not your own, then it's the ID of the mesh owner or of another account that the mesh is shared with. For more information about mesh sharing, see Working with shared meshes.

  • uid :: Text

    The unique identifier for the resource.

  • version :: Integer

    The version of the resource. Resources are created at version 1, and this version is incremented each time that they're updated.

Instances

Instances details
Eq ResourceMetadata Source # 
Instance details

Defined in Amazonka.AppMesh.Types.ResourceMetadata

Read ResourceMetadata Source # 
Instance details

Defined in Amazonka.AppMesh.Types.ResourceMetadata

Show ResourceMetadata Source # 
Instance details

Defined in Amazonka.AppMesh.Types.ResourceMetadata

Generic ResourceMetadata Source # 
Instance details

Defined in Amazonka.AppMesh.Types.ResourceMetadata

Associated Types

type Rep ResourceMetadata :: Type -> Type #

NFData ResourceMetadata Source # 
Instance details

Defined in Amazonka.AppMesh.Types.ResourceMetadata

Methods

rnf :: ResourceMetadata -> () #

Hashable ResourceMetadata Source # 
Instance details

Defined in Amazonka.AppMesh.Types.ResourceMetadata

FromJSON ResourceMetadata Source # 
Instance details

Defined in Amazonka.AppMesh.Types.ResourceMetadata

type Rep ResourceMetadata Source # 
Instance details

Defined in Amazonka.AppMesh.Types.ResourceMetadata

type Rep ResourceMetadata = D1 ('MetaData "ResourceMetadata" "Amazonka.AppMesh.Types.ResourceMetadata" "libZSservicesZSamazonka-appmeshZSamazonka-appmesh" 'False) (C1 ('MetaCons "ResourceMetadata'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "createdAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 POSIX) :*: S1 ('MetaSel ('Just "lastUpdatedAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 POSIX))) :*: ((S1 ('MetaSel ('Just "meshOwner") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "resourceOwner") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "uid") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "version") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Integer)))))

newResourceMetadata Source #

Create a value of ResourceMetadata 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:arn:ResourceMetadata', resourceMetadata_arn - The full Amazon Resource Name (ARN) for the resource.

$sel:createdAt:ResourceMetadata', resourceMetadata_createdAt - The Unix epoch timestamp in seconds for when the resource was created.

$sel:lastUpdatedAt:ResourceMetadata', resourceMetadata_lastUpdatedAt - The Unix epoch timestamp in seconds for when the resource was last updated.

$sel:meshOwner:ResourceMetadata', resourceMetadata_meshOwner - The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it's the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.

$sel:resourceOwner:ResourceMetadata', resourceMetadata_resourceOwner - The AWS IAM account ID of the resource owner. If the account ID is not your own, then it's the ID of the mesh owner or of another account that the mesh is shared with. For more information about mesh sharing, see Working with shared meshes.

$sel:uid:ResourceMetadata', resourceMetadata_uid - The unique identifier for the resource.

$sel:version:ResourceMetadata', resourceMetadata_version - The version of the resource. Resources are created at version 1, and this version is incremented each time that they're updated.

resourceMetadata_arn :: Lens' ResourceMetadata Text Source #

The full Amazon Resource Name (ARN) for the resource.

resourceMetadata_createdAt :: Lens' ResourceMetadata UTCTime Source #

The Unix epoch timestamp in seconds for when the resource was created.

resourceMetadata_lastUpdatedAt :: Lens' ResourceMetadata UTCTime Source #

The Unix epoch timestamp in seconds for when the resource was last updated.

resourceMetadata_meshOwner :: Lens' ResourceMetadata Text Source #

The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it's the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.

resourceMetadata_resourceOwner :: Lens' ResourceMetadata Text Source #

The AWS IAM account ID of the resource owner. If the account ID is not your own, then it's the ID of the mesh owner or of another account that the mesh is shared with. For more information about mesh sharing, see Working with shared meshes.

resourceMetadata_uid :: Lens' ResourceMetadata Text Source #

The unique identifier for the resource.

resourceMetadata_version :: Lens' ResourceMetadata Integer Source #

The version of the resource. Resources are created at version 1, and this version is incremented each time that they're updated.