amazonka-networkmanager-2.0: Amazon Network Manager 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.NetworkManager.Types.NetworkResource

Description

 
Synopsis

Documentation

data NetworkResource Source #

Describes a network resource.

See: newNetworkResource smart constructor.

Constructors

NetworkResource' 

Fields

Instances

Instances details
FromJSON NetworkResource Source # 
Instance details

Defined in Amazonka.NetworkManager.Types.NetworkResource

Generic NetworkResource Source # 
Instance details

Defined in Amazonka.NetworkManager.Types.NetworkResource

Associated Types

type Rep NetworkResource :: Type -> Type #

Read NetworkResource Source # 
Instance details

Defined in Amazonka.NetworkManager.Types.NetworkResource

Show NetworkResource Source # 
Instance details

Defined in Amazonka.NetworkManager.Types.NetworkResource

NFData NetworkResource Source # 
Instance details

Defined in Amazonka.NetworkManager.Types.NetworkResource

Methods

rnf :: NetworkResource -> () #

Eq NetworkResource Source # 
Instance details

Defined in Amazonka.NetworkManager.Types.NetworkResource

Hashable NetworkResource Source # 
Instance details

Defined in Amazonka.NetworkManager.Types.NetworkResource

type Rep NetworkResource Source # 
Instance details

Defined in Amazonka.NetworkManager.Types.NetworkResource

type Rep NetworkResource = D1 ('MetaData "NetworkResource" "Amazonka.NetworkManager.Types.NetworkResource" "amazonka-networkmanager-2.0-4HNcDlBc00x67cUJWWz3sw" 'False) (C1 ('MetaCons "NetworkResource'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "accountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "awsRegion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "coreNetworkId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "definition") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "definitionTimestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))))) :*: ((S1 ('MetaSel ('Just "metadata") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: (S1 ('MetaSel ('Just "registeredGatewayArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "resourceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "resourceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "resourceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag])))))))

newNetworkResource :: NetworkResource Source #

Create a value of NetworkResource 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:accountId:NetworkResource', networkResource_accountId - The Amazon Web Services account ID.

$sel:awsRegion:NetworkResource', networkResource_awsRegion - The Amazon Web Services Region.

$sel:coreNetworkId:NetworkResource', networkResource_coreNetworkId - The ID of a core network.

$sel:definition:NetworkResource', networkResource_definition - Information about the resource, in JSON format. Network Manager gets this information by describing the resource using its Describe API call.

$sel:definitionTimestamp:NetworkResource', networkResource_definitionTimestamp - The time that the resource definition was retrieved.

$sel:metadata:NetworkResource', networkResource_metadata - The resource metadata.

$sel:registeredGatewayArn:NetworkResource', networkResource_registeredGatewayArn - The ARN of the gateway.

$sel:resourceArn:NetworkResource', networkResource_resourceArn - The ARN of the resource.

$sel:resourceId:NetworkResource', networkResource_resourceId - The ID of the resource.

$sel:resourceType:NetworkResource', networkResource_resourceType - The resource type.

The following are the supported resource types for Direct Connect:

  • dxcon
  • dx-gateway
  • dx-vif

The following are the supported resource types for Network Manager:

  • connection
  • device
  • link
  • site

The following are the supported resource types for Amazon VPC:

  • customer-gateway
  • transit-gateway
  • transit-gateway-attachment
  • transit-gateway-connect-peer
  • transit-gateway-route-table
  • vpn-connection

$sel:tags:NetworkResource', networkResource_tags - The tags.

networkResource_accountId :: Lens' NetworkResource (Maybe Text) Source #

The Amazon Web Services account ID.

networkResource_awsRegion :: Lens' NetworkResource (Maybe Text) Source #

The Amazon Web Services Region.

networkResource_definition :: Lens' NetworkResource (Maybe Text) Source #

Information about the resource, in JSON format. Network Manager gets this information by describing the resource using its Describe API call.

networkResource_definitionTimestamp :: Lens' NetworkResource (Maybe UTCTime) Source #

The time that the resource definition was retrieved.

networkResource_resourceType :: Lens' NetworkResource (Maybe Text) Source #

The resource type.

The following are the supported resource types for Direct Connect:

  • dxcon
  • dx-gateway
  • dx-vif

The following are the supported resource types for Network Manager:

  • connection
  • device
  • link
  • site

The following are the supported resource types for Amazon VPC:

  • customer-gateway
  • transit-gateway
  • transit-gateway-attachment
  • transit-gateway-connect-peer
  • transit-gateway-route-table
  • vpn-connection