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 |
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' {
- lastModifiedDate :: Maybe POSIX
- arn :: Maybe Text
- stringValues :: Maybe (NonEmpty Text)
- name :: Maybe Text
- creationDate :: Maybe POSIX
- type' :: Maybe DimensionType
- httpStatus :: Int
- newDescribeDimensionResponse :: Int -> DescribeDimensionResponse
- describeDimensionResponse_lastModifiedDate :: Lens' DescribeDimensionResponse (Maybe UTCTime)
- describeDimensionResponse_arn :: Lens' DescribeDimensionResponse (Maybe Text)
- describeDimensionResponse_stringValues :: Lens' DescribeDimensionResponse (Maybe (NonEmpty Text))
- describeDimensionResponse_name :: Lens' DescribeDimensionResponse (Maybe Text)
- describeDimensionResponse_creationDate :: Lens' DescribeDimensionResponse (Maybe UTCTime)
- describeDimensionResponse_type :: Lens' DescribeDimensionResponse (Maybe DimensionType)
- describeDimensionResponse_httpStatus :: Lens' DescribeDimensionResponse Int
Creating a Request
data DescribeDimension Source #
See: newDescribeDimension
smart constructor.
Instances
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:
$sel:name: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.
DescribeDimensionResponse' | |
|
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:
$sel:lastModifiedDate:DescribeDimensionResponse'
, describeDimensionResponse_lastModifiedDate
- The date the dimension was last modified.
$sel:arn:DescribeDimensionResponse'
, describeDimensionResponse_arn
- The Amazon Resource Name (ARN) 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.
$sel:name:DescribeDimension'
, describeDimensionResponse_name
- The unique identifier for the dimension.
$sel:creationDate:DescribeDimensionResponse'
, describeDimensionResponse_creationDate
- The date the dimension was created.
$sel:type':DescribeDimensionResponse'
, describeDimensionResponse_type
- The type of the dimension.
$sel:httpStatus:DescribeDimensionResponse'
, describeDimensionResponse_httpStatus
- The response's http status code.
Response Lenses
describeDimensionResponse_lastModifiedDate :: Lens' DescribeDimensionResponse (Maybe UTCTime) Source #
The date the dimension was last modified.
describeDimensionResponse_arn :: Lens' DescribeDimensionResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) 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_name :: Lens' DescribeDimensionResponse (Maybe Text) Source #
The unique identifier for the dimension.
describeDimensionResponse_creationDate :: Lens' DescribeDimensionResponse (Maybe UTCTime) Source #
The date the dimension was created.
describeDimensionResponse_type :: Lens' DescribeDimensionResponse (Maybe DimensionType) Source #
The type of the dimension.
describeDimensionResponse_httpStatus :: Lens' DescribeDimensionResponse Int Source #
The response's http status code.