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 |
Retrieves metadata for a version of a component.
Synopsis
- data DescribeComponent = DescribeComponent' {}
- newDescribeComponent :: Text -> DescribeComponent
- describeComponent_arn :: Lens' DescribeComponent Text
- data DescribeComponentResponse = DescribeComponentResponse' {}
- newDescribeComponentResponse :: Int -> DescribeComponentResponse
- describeComponentResponse_platforms :: Lens' DescribeComponentResponse (Maybe [ComponentPlatform])
- describeComponentResponse_status :: Lens' DescribeComponentResponse (Maybe CloudComponentStatus)
- describeComponentResponse_arn :: Lens' DescribeComponentResponse (Maybe Text)
- describeComponentResponse_componentVersion :: Lens' DescribeComponentResponse (Maybe Text)
- describeComponentResponse_creationTimestamp :: Lens' DescribeComponentResponse (Maybe UTCTime)
- describeComponentResponse_componentName :: Lens' DescribeComponentResponse (Maybe Text)
- describeComponentResponse_publisher :: Lens' DescribeComponentResponse (Maybe Text)
- describeComponentResponse_description :: Lens' DescribeComponentResponse (Maybe Text)
- describeComponentResponse_tags :: Lens' DescribeComponentResponse (Maybe (HashMap Text Text))
- describeComponentResponse_httpStatus :: Lens' DescribeComponentResponse Int
Creating a Request
data DescribeComponent Source #
See: newDescribeComponent
smart constructor.
Instances
Create a value of DescribeComponent
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:DescribeComponent'
, describeComponent_arn
- The
ARN
of the component version.
Request Lenses
describeComponent_arn :: Lens' DescribeComponent Text Source #
The ARN of the component version.
Destructuring the Response
data DescribeComponentResponse Source #
See: newDescribeComponentResponse
smart constructor.
DescribeComponentResponse' | |
|
Instances
newDescribeComponentResponse Source #
Create a value of DescribeComponentResponse
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:platforms:DescribeComponentResponse'
, describeComponentResponse_platforms
- The platforms that the component version supports.
$sel:status:DescribeComponentResponse'
, describeComponentResponse_status
- The status of the component version in IoT Greengrass V2. This status is
different from the status of the component on a core device.
$sel:arn:DescribeComponent'
, describeComponentResponse_arn
- The
ARN
of the component version.
$sel:componentVersion:DescribeComponentResponse'
, describeComponentResponse_componentVersion
- The version of the component.
$sel:creationTimestamp:DescribeComponentResponse'
, describeComponentResponse_creationTimestamp
- The time at which the component was created, expressed in ISO 8601
format.
$sel:componentName:DescribeComponentResponse'
, describeComponentResponse_componentName
- The name of the component.
$sel:publisher:DescribeComponentResponse'
, describeComponentResponse_publisher
- The publisher of the component version.
$sel:description:DescribeComponentResponse'
, describeComponentResponse_description
- The description of the component version.
$sel:tags:DescribeComponentResponse'
, describeComponentResponse_tags
- A list of key-value pairs that contain metadata for the resource. For
more information, see
Tag your resources
in the IoT Greengrass V2 Developer Guide.
$sel:httpStatus:DescribeComponentResponse'
, describeComponentResponse_httpStatus
- The response's http status code.
Response Lenses
describeComponentResponse_platforms :: Lens' DescribeComponentResponse (Maybe [ComponentPlatform]) Source #
The platforms that the component version supports.
describeComponentResponse_status :: Lens' DescribeComponentResponse (Maybe CloudComponentStatus) Source #
The status of the component version in IoT Greengrass V2. This status is different from the status of the component on a core device.
describeComponentResponse_arn :: Lens' DescribeComponentResponse (Maybe Text) Source #
The ARN of the component version.
describeComponentResponse_componentVersion :: Lens' DescribeComponentResponse (Maybe Text) Source #
The version of the component.
describeComponentResponse_creationTimestamp :: Lens' DescribeComponentResponse (Maybe UTCTime) Source #
The time at which the component was created, expressed in ISO 8601 format.
describeComponentResponse_componentName :: Lens' DescribeComponentResponse (Maybe Text) Source #
The name of the component.
describeComponentResponse_publisher :: Lens' DescribeComponentResponse (Maybe Text) Source #
The publisher of the component version.
describeComponentResponse_description :: Lens' DescribeComponentResponse (Maybe Text) Source #
The description of the component version.
describeComponentResponse_tags :: Lens' DescribeComponentResponse (Maybe (HashMap Text Text)) Source #
A list of key-value pairs that contain metadata for the resource. For more information, see Tag your resources in the IoT Greengrass V2 Developer Guide.
describeComponentResponse_httpStatus :: Lens' DescribeComponentResponse Int Source #
The response's http status code.