Skip to main content

Overview

A Python module to get RDS instance support details from AWS accounts. Authenticates using AWS SSO (see example below).

Prerequisites

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> \]
   [-f "<output_file>"]

Response:

[
   {
      "account_id": "string",
      "region": "string",
      "rds_id": "string",
      "support": "string",
      "engine": "string",
      "engine_version": "string",
      "standard_support_start_date": "string",
      "standard_support_end_date": "string",
      "extended_support_start_date": "string",
      "extended_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",
      "standard_support_start_date": "2024-10-15 00:00:00+00:00",
      "standard_support_end_date": "2029-05-31 23:59:59.999000+00:00",
      "extended_support_start_date": null,
      "extended_support_end_date": null
   },
   {
      "account_id": "345678901234",
      "region": "us-west-2",
      "rds_id": "database-5",
      "support": "open-source-rds-extended-support",
      "engine": "aurora-mysql",
      "engine_version": "8.4.2",
      "standard_support_start_date": "2025-05-01 00:00:00+00:00",
      "standard_support_end_date": "2030-04-30 23:59:59.999000+00:00",
      "extended_support_start_date": "2030-04-30 23:59:59.999000+00:00",
      "extended_support_end_date": "2031-04-30 23:59:59.999000+00:00"
   }
]

Release files for get_rds_support 1.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for get_rds_support 1.3.0
File Size Uploaded
get_rds_support-1.3.0.tar.gz 4.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for get_rds_support 1.3.0
File Interpreter ABI Platform
get_rds_support-1.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 10.9 kB

Release files / get_rds_support-1.3.0.tar.gz

Download URL get_rds_support-1.3.0.tar.gz
Size 4.7 kB
Tags Source
SHA-256 checksum
How to use checksums
71078b29a78806989340cd83a55588b744afd047558da8413e7738f11890520d
BLAKE2b-256 checksum
How to use checksums
e3419ae66a8091412ec5eab729238511bdb6e29f882c165a6b0920baf4f6888e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.2 CPython/3.12.3 Linux/5.15.154+

Release files / get_rds_support-1.3.0-py3-none-any.whl

Download URL get_rds_support-1.3.0-py3-none-any.whl
Size 6.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6c3c3c8cb3476839524e74a262c644429df783812c6ef6215713864f7d7b9a94
BLAKE2b-256 checksum
How to use checksums
4e0c5bf6a2f051090ccf72399b78e21f436eab555b9a7d2d3bf7443f7f10571c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.2 CPython/3.12.3 Linux/5.15.154+

Release history Release notifications | RSS feed

This release

1.3.0 This release

2 release files

1.2.3

2 release files

1.2.2

2 release files

1.2.1

2 release files

1.2.0

2 release files

1.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page