ARN service is not validated
Open
- Dominant language
- Python
- Stars
- 44
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Description
It looks like the `service` portion is not validated to match what should be expected for its class:
```python
>>> from arn.elbv2 import TargetGroupArn
>>> TargetGroupArn("arn:aws:flibberty:us-east-1:123456789012:targetgroup/foo-bar/abc123")
TargetGroupArn(input_arn='arn:aws:flibberty:us-east-1:123456789012:targetgroup/foo-bar/abc123', partition='aws', service='flibberty', region='us-east-1', account='123456789012', rest='targetgroup/foo-bar/abc123', name='foo-bar', id='abc123')
```
I would expect this to raise `InvalidArnException` since it doesn't have `"elasticloadbalancing"` for the value of `service`.
Contributor guide
Assessment
This issue has not been assessed yet.