Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Describes the rules packages that are specified by the ARNs of the rules packages.
- describeRulesPackages :: NonEmpty Text -> DescribeRulesPackages
- data DescribeRulesPackages
- drpLocale :: Lens' DescribeRulesPackages (Maybe Locale)
- drpRulesPackageARNs :: Lens' DescribeRulesPackages (NonEmpty Text)
- describeRulesPackagesResponse :: Int -> DescribeRulesPackagesResponse
- data DescribeRulesPackagesResponse
- drprsResponseStatus :: Lens' DescribeRulesPackagesResponse Int
- drprsRulesPackages :: Lens' DescribeRulesPackagesResponse [RulesPackage]
- drprsFailedItems :: Lens' DescribeRulesPackagesResponse (HashMap Text FailedItemDetails)
Creating a Request
describeRulesPackages Source #
Creates a value of DescribeRulesPackages
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DescribeRulesPackages Source #
See: describeRulesPackages
smart constructor.
Request Lenses
drpLocale :: Lens' DescribeRulesPackages (Maybe Locale) Source #
The locale that you want to translate a rules package description into.
drpRulesPackageARNs :: Lens' DescribeRulesPackages (NonEmpty Text) Source #
The ARN that specifies the rules package that you want to describe.
Destructuring the Response
describeRulesPackagesResponse Source #
Creates a value of DescribeRulesPackagesResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DescribeRulesPackagesResponse Source #
See: describeRulesPackagesResponse
smart constructor.
Response Lenses
drprsResponseStatus :: Lens' DescribeRulesPackagesResponse Int Source #
The response status code.
drprsRulesPackages :: Lens' DescribeRulesPackagesResponse [RulesPackage] Source #
Information about the rules package.
drprsFailedItems :: Lens' DescribeRulesPackagesResponse (HashMap Text FailedItemDetails) Source #
Rules package details that cannot be described. An error code is provided for each failed item.