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 |
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_arn :: Lens' DescribeComponentResponse (Maybe Text)
- describeComponentResponse_componentName :: Lens' DescribeComponentResponse (Maybe Text)
- describeComponentResponse_componentVersion :: Lens' DescribeComponentResponse (Maybe Text)
- describeComponentResponse_creationTimestamp :: Lens' DescribeComponentResponse (Maybe UTCTime)
- describeComponentResponse_description :: Lens' DescribeComponentResponse (Maybe Text)
- describeComponentResponse_platforms :: Lens' DescribeComponentResponse (Maybe [ComponentPlatform])
- describeComponentResponse_publisher :: Lens' DescribeComponentResponse (Maybe Text)
- describeComponentResponse_status :: Lens' DescribeComponentResponse (Maybe CloudComponentStatus)
- 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:
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:
DescribeComponent
, describeComponentResponse_arn
- The
ARN
of the component version.
DescribeComponentResponse
, describeComponentResponse_componentName
- The name of the component.
DescribeComponentResponse
, describeComponentResponse_componentVersion
- The version of the component.
DescribeComponentResponse
, describeComponentResponse_creationTimestamp
- The time at which the component was created, expressed in ISO 8601
format.
DescribeComponentResponse
, describeComponentResponse_description
- The description of the component version.
DescribeComponentResponse
, describeComponentResponse_platforms
- The platforms that the component version supports.
DescribeComponentResponse
, describeComponentResponse_publisher
- The publisher of the component version.
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: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_arn :: Lens' DescribeComponentResponse (Maybe Text) Source #
The ARN of the component version.
describeComponentResponse_componentName :: Lens' DescribeComponentResponse (Maybe Text) Source #
The name of the component.
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_description :: Lens' DescribeComponentResponse (Maybe Text) Source #
The description of the component version.
describeComponentResponse_platforms :: Lens' DescribeComponentResponse (Maybe [ComponentPlatform]) Source #
The platforms that the component version supports.
describeComponentResponse_publisher :: Lens' DescribeComponentResponse (Maybe Text) Source #
The publisher of the component version.
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_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.