| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.NetworkManager.Types.NetworkResource
Description
Synopsis
- data NetworkResource = NetworkResource' {
- accountId :: Maybe Text
- awsRegion :: Maybe Text
- coreNetworkId :: Maybe Text
- definition :: Maybe Text
- definitionTimestamp :: Maybe POSIX
- metadata :: Maybe (HashMap Text Text)
- registeredGatewayArn :: Maybe Text
- resourceArn :: Maybe Text
- resourceId :: Maybe Text
- resourceType :: Maybe Text
- tags :: Maybe [Tag]
- newNetworkResource :: NetworkResource
- networkResource_accountId :: Lens' NetworkResource (Maybe Text)
- networkResource_awsRegion :: Lens' NetworkResource (Maybe Text)
- networkResource_coreNetworkId :: Lens' NetworkResource (Maybe Text)
- networkResource_definition :: Lens' NetworkResource (Maybe Text)
- networkResource_definitionTimestamp :: Lens' NetworkResource (Maybe UTCTime)
- networkResource_metadata :: Lens' NetworkResource (Maybe (HashMap Text Text))
- networkResource_registeredGatewayArn :: Lens' NetworkResource (Maybe Text)
- networkResource_resourceArn :: Lens' NetworkResource (Maybe Text)
- networkResource_resourceId :: Lens' NetworkResource (Maybe Text)
- networkResource_resourceType :: Lens' NetworkResource (Maybe Text)
- networkResource_tags :: Lens' NetworkResource (Maybe [Tag])
Documentation
data NetworkResource Source #
Describes a network resource.
See: newNetworkResource smart constructor.
Constructors
| NetworkResource' | |
Fields
| |
Instances
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_coreNetworkId :: Lens' NetworkResource (Maybe Text) Source #
The ID of a core network.
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_metadata :: Lens' NetworkResource (Maybe (HashMap Text Text)) Source #
The resource metadata.
networkResource_registeredGatewayArn :: Lens' NetworkResource (Maybe Text) Source #
The ARN of the gateway.
networkResource_resourceArn :: Lens' NetworkResource (Maybe Text) Source #
The ARN of the resource.
networkResource_resourceId :: Lens' NetworkResource (Maybe Text) Source #
The ID of the resource.
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
networkResource_tags :: Lens' NetworkResource (Maybe [Tag]) Source #
The tags.