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 |
Describes the exclusions that are specified by the exclusions' ARNs.
Synopsis
- data DescribeExclusions = DescribeExclusions' {}
- newDescribeExclusions :: NonEmpty Text -> DescribeExclusions
- describeExclusions_locale :: Lens' DescribeExclusions (Maybe Locale)
- describeExclusions_exclusionArns :: Lens' DescribeExclusions (NonEmpty Text)
- data DescribeExclusionsResponse = DescribeExclusionsResponse' {}
- newDescribeExclusionsResponse :: Int -> DescribeExclusionsResponse
- describeExclusionsResponse_httpStatus :: Lens' DescribeExclusionsResponse Int
- describeExclusionsResponse_exclusions :: Lens' DescribeExclusionsResponse (HashMap Text Exclusion)
- describeExclusionsResponse_failedItems :: Lens' DescribeExclusionsResponse (HashMap Text FailedItemDetails)
Creating a Request
data DescribeExclusions Source #
See: newDescribeExclusions
smart constructor.
Instances
newDescribeExclusions Source #
Create a value of DescribeExclusions
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:locale:DescribeExclusions'
, describeExclusions_locale
- The locale into which you want to translate the exclusion's title,
description, and recommendation.
$sel:exclusionArns:DescribeExclusions'
, describeExclusions_exclusionArns
- The list of ARNs that specify the exclusions that you want to describe.
Request Lenses
describeExclusions_locale :: Lens' DescribeExclusions (Maybe Locale) Source #
The locale into which you want to translate the exclusion's title, description, and recommendation.
describeExclusions_exclusionArns :: Lens' DescribeExclusions (NonEmpty Text) Source #
The list of ARNs that specify the exclusions that you want to describe.
Destructuring the Response
data DescribeExclusionsResponse Source #
See: newDescribeExclusionsResponse
smart constructor.
DescribeExclusionsResponse' | |
|
Instances
newDescribeExclusionsResponse Source #
Create a value of DescribeExclusionsResponse
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:httpStatus:DescribeExclusionsResponse'
, describeExclusionsResponse_httpStatus
- The response's http status code.
$sel:exclusions:DescribeExclusionsResponse'
, describeExclusionsResponse_exclusions
- Information about the exclusions.
$sel:failedItems:DescribeExclusionsResponse'
, describeExclusionsResponse_failedItems
- Exclusion details that cannot be described. An error code is provided
for each failed item.
Response Lenses
describeExclusionsResponse_httpStatus :: Lens' DescribeExclusionsResponse Int Source #
The response's http status code.
describeExclusionsResponse_exclusions :: Lens' DescribeExclusionsResponse (HashMap Text Exclusion) Source #
Information about the exclusions.
describeExclusionsResponse_failedItems :: Lens' DescribeExclusionsResponse (HashMap Text FailedItemDetails) Source #
Exclusion details that cannot be described. An error code is provided for each failed item.