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 rules packages that are specified by the ARNs of the rules packages.
Synopsis
- data DescribeRulesPackages = DescribeRulesPackages' {}
- newDescribeRulesPackages :: NonEmpty Text -> DescribeRulesPackages
- describeRulesPackages_locale :: Lens' DescribeRulesPackages (Maybe Locale)
- describeRulesPackages_rulesPackageArns :: Lens' DescribeRulesPackages (NonEmpty Text)
- data DescribeRulesPackagesResponse = DescribeRulesPackagesResponse' {}
- newDescribeRulesPackagesResponse :: Int -> DescribeRulesPackagesResponse
- describeRulesPackagesResponse_httpStatus :: Lens' DescribeRulesPackagesResponse Int
- describeRulesPackagesResponse_rulesPackages :: Lens' DescribeRulesPackagesResponse [RulesPackage]
- describeRulesPackagesResponse_failedItems :: Lens' DescribeRulesPackagesResponse (HashMap Text FailedItemDetails)
Creating a Request
data DescribeRulesPackages Source #
See: newDescribeRulesPackages
smart constructor.
Instances
newDescribeRulesPackages Source #
Create a value of DescribeRulesPackages
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:DescribeRulesPackages'
, describeRulesPackages_locale
- The locale that you want to translate a rules package description into.
$sel:rulesPackageArns:DescribeRulesPackages'
, describeRulesPackages_rulesPackageArns
- The ARN that specifies the rules package that you want to describe.
Request Lenses
describeRulesPackages_locale :: Lens' DescribeRulesPackages (Maybe Locale) Source #
The locale that you want to translate a rules package description into.
describeRulesPackages_rulesPackageArns :: Lens' DescribeRulesPackages (NonEmpty Text) Source #
The ARN that specifies the rules package that you want to describe.
Destructuring the Response
data DescribeRulesPackagesResponse Source #
See: newDescribeRulesPackagesResponse
smart constructor.
DescribeRulesPackagesResponse' | |
|
Instances
newDescribeRulesPackagesResponse Source #
Create a value of DescribeRulesPackagesResponse
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:DescribeRulesPackagesResponse'
, describeRulesPackagesResponse_httpStatus
- The response's http status code.
$sel:rulesPackages:DescribeRulesPackagesResponse'
, describeRulesPackagesResponse_rulesPackages
- Information about the rules package.
$sel:failedItems:DescribeRulesPackagesResponse'
, describeRulesPackagesResponse_failedItems
- Rules package details that cannot be described. An error code is
provided for each failed item.
Response Lenses
describeRulesPackagesResponse_httpStatus :: Lens' DescribeRulesPackagesResponse Int Source #
The response's http status code.
describeRulesPackagesResponse_rulesPackages :: Lens' DescribeRulesPackagesResponse [RulesPackage] Source #
Information about the rules package.
describeRulesPackagesResponse_failedItems :: Lens' DescribeRulesPackagesResponse (HashMap Text FailedItemDetails) Source #
Rules package details that cannot be described. An error code is provided for each failed item.