| 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.IoT.DescribeDimension
Description
Provides details about a dimension that is defined in your Amazon Web Services accounts.
Requires permission to access the DescribeDimension action.
Synopsis
- data DescribeDimension = DescribeDimension' {}
- newDescribeDimension :: Text -> DescribeDimension
- describeDimension_name :: Lens' DescribeDimension Text
- data DescribeDimensionResponse = DescribeDimensionResponse' {
- arn :: Maybe Text
- creationDate :: Maybe POSIX
- lastModifiedDate :: Maybe POSIX
- name :: Maybe Text
- stringValues :: Maybe (NonEmpty Text)
- type' :: Maybe DimensionType
- httpStatus :: Int
- newDescribeDimensionResponse :: Int -> DescribeDimensionResponse
- describeDimensionResponse_arn :: Lens' DescribeDimensionResponse (Maybe Text)
- describeDimensionResponse_creationDate :: Lens' DescribeDimensionResponse (Maybe UTCTime)
- describeDimensionResponse_lastModifiedDate :: Lens' DescribeDimensionResponse (Maybe UTCTime)
- describeDimensionResponse_name :: Lens' DescribeDimensionResponse (Maybe Text)
- describeDimensionResponse_stringValues :: Lens' DescribeDimensionResponse (Maybe (NonEmpty Text))
- describeDimensionResponse_type :: Lens' DescribeDimensionResponse (Maybe DimensionType)
- describeDimensionResponse_httpStatus :: Lens' DescribeDimensionResponse Int
Creating a Request
data DescribeDimension Source #
See: newDescribeDimension smart constructor.
Constructors
| DescribeDimension' | |
Instances
Arguments
| :: Text | |
| -> DescribeDimension |
Create a value of DescribeDimension 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:
DescribeDimension, describeDimension_name - The unique identifier for the dimension.
Request Lenses
describeDimension_name :: Lens' DescribeDimension Text Source #
The unique identifier for the dimension.
Destructuring the Response
data DescribeDimensionResponse Source #
See: newDescribeDimensionResponse smart constructor.
Constructors
| DescribeDimensionResponse' | |
Fields
| |
Instances
newDescribeDimensionResponse Source #
Create a value of DescribeDimensionResponse 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:
DescribeDimensionResponse, describeDimensionResponse_arn - The Amazon Resource Name (ARN) for the dimension.
DescribeDimensionResponse, describeDimensionResponse_creationDate - The date the dimension was created.
DescribeDimensionResponse, describeDimensionResponse_lastModifiedDate - The date the dimension was last modified.
DescribeDimension, describeDimensionResponse_name - The unique identifier for the dimension.
$sel:stringValues:DescribeDimensionResponse', describeDimensionResponse_stringValues - The value or list of values used to scope the dimension. For example,
for topic filters, this is the pattern used to match the MQTT topic
name.
DescribeDimensionResponse, describeDimensionResponse_type - The type of the dimension.
$sel:httpStatus:DescribeDimensionResponse', describeDimensionResponse_httpStatus - The response's http status code.
Response Lenses
describeDimensionResponse_arn :: Lens' DescribeDimensionResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) for the dimension.
describeDimensionResponse_creationDate :: Lens' DescribeDimensionResponse (Maybe UTCTime) Source #
The date the dimension was created.
describeDimensionResponse_lastModifiedDate :: Lens' DescribeDimensionResponse (Maybe UTCTime) Source #
The date the dimension was last modified.
describeDimensionResponse_name :: Lens' DescribeDimensionResponse (Maybe Text) Source #
The unique identifier for the dimension.
describeDimensionResponse_stringValues :: Lens' DescribeDimensionResponse (Maybe (NonEmpty Text)) Source #
The value or list of values used to scope the dimension. For example, for topic filters, this is the pattern used to match the MQTT topic name.
describeDimensionResponse_type :: Lens' DescribeDimensionResponse (Maybe DimensionType) Source #
The type of the dimension.
describeDimensionResponse_httpStatus :: Lens' DescribeDimensionResponse Int Source #
The response's http status code.