aws-arn: Types and optics for manipulating Amazon Resource Names (ARNs)
This library provides a type representing Amazon Resource Names (ARNs), and parsing/unparsing functions for them. The provided optics make it very convenient to rewrite parts of ARNs.
Start reading at the Network.AWS.ARN module, which defines the core data type and includes some examples.
ARN type is not designed to be a 100% correct-by-construction
representation of only valid ARNs; it is designed to be a
lightweight way to destructure and reassemble ARNs to be used in
place of string munging.
The library aims to provide additional parsers for destructuring the "resource" part of an ARN, but many are missing right now. PRs to add this support for more AWS resource types are especially welcome.
[Skip to Readme]
|Dependencies||base (>=4.12 && <4.15), deriving-compat (>=0.5.10 && <0.6), hashable (>=220.127.116.11 && <1.4), lens (>=4.18.1 && <5.1), text (>=1.2.3 && <1.3) [details]|
|Copyright||Copyright (C) 2020-2021 Bellroy Pty Ltd|
|Author||Bellroy Tech Team <email@example.com>|
|Maintainer||Bellroy Tech Team <firstname.lastname@example.org>|
|Source repo||head: git clone https://github.com/bellroy/aws-arn.git|
|Uploaded||by jack at 2021-04-07T00:20:53Z|
|Downloads||30 total (30 in the last 30 days)|
|Rating||(no votes yet) [estimated by Bayesian average]|
Docs available [build log]
Last success reported on 2021-04-07 [all 1 reports]
For package maintainers and hackage trustees