amazonka-resiliencehub-2.0: Amazon Resilience Hub 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.ResilienceHub.Types.PhysicalResourceId

Description

 
Synopsis

Documentation

data PhysicalResourceId Source #

Defines a physical resource identifier.

See: newPhysicalResourceId smart constructor.

Constructors

PhysicalResourceId' 

Fields

  • awsAccountId :: Maybe Text

    The Amazon Web Services account that owns the physical resource.

  • awsRegion :: Maybe Text

    The Amazon Web Services Region that the physical resource is located in.

  • identifier :: Text

    The identifier of the physical resource.

  • type' :: PhysicalIdentifierType

    Specifies the type of physical resource identifier.

    Arn
    The resource identifier is an Amazon Resource Name (ARN) .
    Native
    The resource identifier is a Resilience Hub-native identifier.

Instances

Instances details
FromJSON PhysicalResourceId Source # 
Instance details

Defined in Amazonka.ResilienceHub.Types.PhysicalResourceId

ToJSON PhysicalResourceId Source # 
Instance details

Defined in Amazonka.ResilienceHub.Types.PhysicalResourceId

Generic PhysicalResourceId Source # 
Instance details

Defined in Amazonka.ResilienceHub.Types.PhysicalResourceId

Associated Types

type Rep PhysicalResourceId :: Type -> Type #

Read PhysicalResourceId Source # 
Instance details

Defined in Amazonka.ResilienceHub.Types.PhysicalResourceId

Show PhysicalResourceId Source # 
Instance details

Defined in Amazonka.ResilienceHub.Types.PhysicalResourceId

NFData PhysicalResourceId Source # 
Instance details

Defined in Amazonka.ResilienceHub.Types.PhysicalResourceId

Methods

rnf :: PhysicalResourceId -> () #

Eq PhysicalResourceId Source # 
Instance details

Defined in Amazonka.ResilienceHub.Types.PhysicalResourceId

Hashable PhysicalResourceId Source # 
Instance details

Defined in Amazonka.ResilienceHub.Types.PhysicalResourceId

type Rep PhysicalResourceId Source # 
Instance details

Defined in Amazonka.ResilienceHub.Types.PhysicalResourceId

type Rep PhysicalResourceId = D1 ('MetaData "PhysicalResourceId" "Amazonka.ResilienceHub.Types.PhysicalResourceId" "amazonka-resiliencehub-2.0-EsKgNhAb0B96cCxrYtrBzG" 'False) (C1 ('MetaCons "PhysicalResourceId'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "awsAccountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "awsRegion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "identifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 PhysicalIdentifierType))))

newPhysicalResourceId Source #

Create a value of PhysicalResourceId 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:awsAccountId:PhysicalResourceId', physicalResourceId_awsAccountId - The Amazon Web Services account that owns the physical resource.

$sel:awsRegion:PhysicalResourceId', physicalResourceId_awsRegion - The Amazon Web Services Region that the physical resource is located in.

$sel:identifier:PhysicalResourceId', physicalResourceId_identifier - The identifier of the physical resource.

$sel:type':PhysicalResourceId', physicalResourceId_type - Specifies the type of physical resource identifier.

Arn
The resource identifier is an Amazon Resource Name (ARN) .
Native
The resource identifier is a Resilience Hub-native identifier.

physicalResourceId_awsAccountId :: Lens' PhysicalResourceId (Maybe Text) Source #

The Amazon Web Services account that owns the physical resource.

physicalResourceId_awsRegion :: Lens' PhysicalResourceId (Maybe Text) Source #

The Amazon Web Services Region that the physical resource is located in.

physicalResourceId_identifier :: Lens' PhysicalResourceId Text Source #

The identifier of the physical resource.

physicalResourceId_type :: Lens' PhysicalResourceId PhysicalIdentifierType Source #

Specifies the type of physical resource identifier.

Arn
The resource identifier is an Amazon Resource Name (ARN) .
Native
The resource identifier is a Resilience Hub-native identifier.