aws-arn: Types and optics for manipulating Amazon Resource Names (ARNs)
This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.
This library provides a type representing Amazon Resource Names (ARNs), and parsing/unparsing functions for them. The provided prisms, when combined with generic-lens or generic-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.
The 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]
Properties
Versions | 0.1.0.0, 0.1.0.1, 0.2.0.0, 0.3.0.0, 0.3.1.0, 0.3.2.0, 0.3.3.0, 0.3.3.0 |
---|---|
Change log | CHANGELOG.md |
Dependencies | base (>=4.12 && <4.21), deriving-compat (>=0.5.10 && <0.7), hashable (>=1.3.0.0 && <1.6), microlens-pro (>=0.2 && <0.3), tagged (>=0.8 && <0.9), text (>=1.2.3 && <1.3 || >=2.0 && <2.2) [details] |
License | BSD-3-Clause |
Copyright | Copyright (C) 2020-2022 Bellroy Pty Ltd |
Author | Bellroy Tech Team <haskell@bellroy.com> |
Maintainer | Bellroy Tech Team <haskell@bellroy.com> |
Category | AWS, Cloud |
Bug tracker | http://github.com/bellroy/aws-arn/issues |
Source repo | head: git clone https://github.com/bellroy/aws-arn.git |
Uploaded | by kokobd at 2025-01-16T03:16:01Z |
Modules
[Index] [Quick Jump]
Downloads
- aws-arn-0.3.3.0.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
Package maintainers
For package maintainers and hackage trustees