Get RDS instance support details from AWS accounts.
Project description
Overview
A Python module to get RDS instance support details from AWS accounts. Authenticates using AWS SSO (see example below).
Prerequisites
Python 3.9 or higher.
Boto3 (https://pypi.org/project/boto3/)
aws_crawler (https://pypi.org/project/aws_crawler/)
aws_authenticator (https://pypi.org/project/aws_authenticator/)
multithreader (https://pypi.org/project/multithreader/)
Usage
Installation:
pip3 install get_rds_support
# or
python3 -m pip install get_rds_support
CLI:
rds_support \
-a "<sso_account_id>" \
-u "<sso_url>" \
-r "<sso_role_name>" \
[-n "<assumed_role_name>" \]
[-e "<external_id>" \]
[-s "<account_statuses>" \]
[-o "<account_ou>" \]
[-l "<account_list>" \]
[-t <thread_num>]
Response:
[
{
"account_id": "string",
"region": "string",
"rds_id": "string",
"support": "string",
"engine": "string",
"engine_version": "string",
"support_start_date": "string",
"support_end_date": "string"
},
...
]
Example:
rds_support \
-a "123456789012" \
-u "https://a-123example.awsapps.com/start/#/" \
-r "AWSReadOnlyAccess" \
-n "AWSCrossAccountAccess" \
-l "234567890123,345678901234"
Verification URI: https://a-123example.awsapps.com/start/#/device?user_code=ABCD-1234
Access Token retrieval successful.
You specified 2 account(s)...
Working on 234567890123...
Working on 345678901234...
[
{
"account_id": "234567890123",
"region": "us-east-1",
"rds_id": "database-1",
"support": null,
"engine": "mariadb",
"engine_version": "11.4.8",
"support_start_date": "2024-10-15 00:00:00+00:00",
"support_end_date": "2029-05-31 23:59:59.999000+00:00"
},
{
"account_id": "345678901234",
"region": "us-west-2",
"rds_id": "database-5",
"support": null,
"engine": "mysql",
"engine_version": "8.4.2",
"support_start_date": "2025-05-01 00:00:00+00:00",
"support_end_date": "2030-04-30 23:59:59.999000+00:00"
}
]
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file get_rds_support-1.2.1.tar.gz.
File metadata
- Download URL: get_rds_support-1.2.1.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.12.3 Linux/5.15.154+
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
755335883415892804dbc22f6be19c0d42f0b228a60c7d97024c420ef3416b3d
|
|
| MD5 |
ae1b9b42e5d0bd42a7b4f29b7d58a1ef
|
|
| BLAKE2b-256 |
d7a23d389b0ee529f473e0b722776a17d847647827fbad3205b607ffe8641cf4
|
File details
Details for the file get_rds_support-1.2.1-py3-none-any.whl.
File metadata
- Download URL: get_rds_support-1.2.1-py3-none-any.whl
- Upload date:
- Size: 5.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.12.3 Linux/5.15.154+
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
19bef2d3670cf10bea3afd405a12c2fd7ccf2362a187aa91facc93eebfa6826e
|
|
| MD5 |
c85d17fcd444cf99fa5c3e3223cdd378
|
|
| BLAKE2b-256 |
3577b94dc4adc14e50940ddf8561f99a75b629305a1e81adada9b95c4fda7804
|