Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Returns information about a node.
Synopsis
- data DescribeNode = DescribeNode' {
- ownerAccount :: Maybe Text
- nodeId :: Text
- newDescribeNode :: Text -> DescribeNode
- describeNode_ownerAccount :: Lens' DescribeNode (Maybe Text)
- describeNode_nodeId :: Lens' DescribeNode Text
- data DescribeNodeResponse = DescribeNodeResponse' {
- assetName :: Maybe Text
- packageArn :: Maybe Text
- httpStatus :: Int
- nodeId :: Text
- name :: Text
- category :: NodeCategory
- ownerAccount :: Text
- packageName :: Text
- packageId :: Text
- packageVersion :: Text
- patchVersion :: Text
- nodeInterface :: NodeInterface
- description :: Text
- createdTime :: POSIX
- lastUpdatedTime :: POSIX
- newDescribeNodeResponse :: Int -> Text -> Text -> NodeCategory -> Text -> Text -> Text -> Text -> Text -> NodeInterface -> Text -> UTCTime -> UTCTime -> DescribeNodeResponse
- describeNodeResponse_assetName :: Lens' DescribeNodeResponse (Maybe Text)
- describeNodeResponse_packageArn :: Lens' DescribeNodeResponse (Maybe Text)
- describeNodeResponse_httpStatus :: Lens' DescribeNodeResponse Int
- describeNodeResponse_nodeId :: Lens' DescribeNodeResponse Text
- describeNodeResponse_name :: Lens' DescribeNodeResponse Text
- describeNodeResponse_category :: Lens' DescribeNodeResponse NodeCategory
- describeNodeResponse_ownerAccount :: Lens' DescribeNodeResponse Text
- describeNodeResponse_packageName :: Lens' DescribeNodeResponse Text
- describeNodeResponse_packageId :: Lens' DescribeNodeResponse Text
- describeNodeResponse_packageVersion :: Lens' DescribeNodeResponse Text
- describeNodeResponse_patchVersion :: Lens' DescribeNodeResponse Text
- describeNodeResponse_nodeInterface :: Lens' DescribeNodeResponse NodeInterface
- describeNodeResponse_description :: Lens' DescribeNodeResponse Text
- describeNodeResponse_createdTime :: Lens' DescribeNodeResponse UTCTime
- describeNodeResponse_lastUpdatedTime :: Lens' DescribeNodeResponse UTCTime
Creating a Request
data DescribeNode Source #
See: newDescribeNode
smart constructor.
DescribeNode' | |
|
Instances
Create a value of DescribeNode
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:ownerAccount:DescribeNode'
, describeNode_ownerAccount
- The account ID of the node's owner.
$sel:nodeId:DescribeNode'
, describeNode_nodeId
- The node's ID.
Request Lenses
describeNode_ownerAccount :: Lens' DescribeNode (Maybe Text) Source #
The account ID of the node's owner.
describeNode_nodeId :: Lens' DescribeNode Text Source #
The node's ID.
Destructuring the Response
data DescribeNodeResponse Source #
See: newDescribeNodeResponse
smart constructor.
DescribeNodeResponse' | |
|
Instances
newDescribeNodeResponse Source #
:: Int | |
-> Text | |
-> Text | |
-> NodeCategory | |
-> Text | |
-> Text | |
-> Text | |
-> Text | |
-> Text | |
-> NodeInterface | |
-> Text | |
-> UTCTime | |
-> UTCTime | |
-> DescribeNodeResponse |
Create a value of DescribeNodeResponse
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:assetName:DescribeNodeResponse'
, describeNodeResponse_assetName
- The node's asset name.
$sel:packageArn:DescribeNodeResponse'
, describeNodeResponse_packageArn
- The node's ARN.
$sel:httpStatus:DescribeNodeResponse'
, describeNodeResponse_httpStatus
- The response's http status code.
$sel:nodeId:DescribeNode'
, describeNodeResponse_nodeId
- The node's ID.
$sel:name:DescribeNodeResponse'
, describeNodeResponse_name
- The node's name.
$sel:category:DescribeNodeResponse'
, describeNodeResponse_category
- The node's category.
$sel:ownerAccount:DescribeNode'
, describeNodeResponse_ownerAccount
- The account ID of the node's owner.
$sel:packageName:DescribeNodeResponse'
, describeNodeResponse_packageName
- The node's package name.
$sel:packageId:DescribeNodeResponse'
, describeNodeResponse_packageId
- The node's package ID.
$sel:packageVersion:DescribeNodeResponse'
, describeNodeResponse_packageVersion
- The node's package version.
$sel:patchVersion:DescribeNodeResponse'
, describeNodeResponse_patchVersion
- The node's patch version.
$sel:nodeInterface:DescribeNodeResponse'
, describeNodeResponse_nodeInterface
- The node's interface.
$sel:description:DescribeNodeResponse'
, describeNodeResponse_description
- The node's description.
$sel:createdTime:DescribeNodeResponse'
, describeNodeResponse_createdTime
- When the node was created.
$sel:lastUpdatedTime:DescribeNodeResponse'
, describeNodeResponse_lastUpdatedTime
- When the node was updated.
Response Lenses
describeNodeResponse_assetName :: Lens' DescribeNodeResponse (Maybe Text) Source #
The node's asset name.
describeNodeResponse_packageArn :: Lens' DescribeNodeResponse (Maybe Text) Source #
The node's ARN.
describeNodeResponse_httpStatus :: Lens' DescribeNodeResponse Int Source #
The response's http status code.
describeNodeResponse_nodeId :: Lens' DescribeNodeResponse Text Source #
The node's ID.
describeNodeResponse_name :: Lens' DescribeNodeResponse Text Source #
The node's name.
describeNodeResponse_category :: Lens' DescribeNodeResponse NodeCategory Source #
The node's category.
describeNodeResponse_ownerAccount :: Lens' DescribeNodeResponse Text Source #
The account ID of the node's owner.
describeNodeResponse_packageName :: Lens' DescribeNodeResponse Text Source #
The node's package name.
describeNodeResponse_packageId :: Lens' DescribeNodeResponse Text Source #
The node's package ID.
describeNodeResponse_packageVersion :: Lens' DescribeNodeResponse Text Source #
The node's package version.
describeNodeResponse_patchVersion :: Lens' DescribeNodeResponse Text Source #
The node's patch version.
describeNodeResponse_nodeInterface :: Lens' DescribeNodeResponse NodeInterface Source #
The node's interface.
describeNodeResponse_description :: Lens' DescribeNodeResponse Text Source #
The node's description.
describeNodeResponse_createdTime :: Lens' DescribeNodeResponse UTCTime Source #
When the node was created.
describeNodeResponse_lastUpdatedTime :: Lens' DescribeNodeResponse UTCTime Source #
When the node was updated.