Skip to content

Add CLI examples for Amazon DocumentDB and DocumentDB Elastic Clusters - #10825

Merged
GarrettBeatty merged 1 commit into
aws:v2from
m-ashritha:add-docdb-elastic-cli-examples
Nov 9, 2026
Merged

GarrettBeatty merged 1 commit into
aws:v2from
m-ashritha:add-docdb-elastic-cli-examples

Conversation

@m-ashritha

Copy link
Copy Markdown
Contributor

Issue #, if available:

Description of changes:

Adds examples for 33 Amazon DocumentDB and DocumentDB Elastic Clusters commands that currently render no Examples section:

  • Elastic clusters: create-cluster, get-cluster, list-clusters, update-cluster,
    stop-cluster, start-cluster, delete-cluster
  • Elastic cluster snapshots: create-cluster-snapshot, get-cluster-snapshot,
    list-cluster-snapshots, copy-cluster-snapshot, restore-cluster-from-snapshot,
    delete-cluster-snapshot
  • Elastic cluster maintenance: list-pending-maintenance-actions,
    get-pending-maintenance-action, apply-pending-maintenance-action
  • Elastic cluster tags: tag-resource, untag-resource, list-tags-for-resource
  • Global clusters: create-global-cluster, describe-global-clusters,
    modify-global-cluster, switchover-global-cluster, failover-global-cluster,
    remove-from-global-cluster, delete-global-cluster
  • Event subscriptions: create-event-subscription, describe-event-subscriptions,
    modify-event-subscription, add-source-identifier-to-subscription,
    remove-source-identifier-from-subscription, delete-event-subscription
  • Certificates: describe-certificates

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@m-ashritha
m-ashritha requested a review from a team as a code owner October 30, 2026 08:46
@aemous aemous assigned aemous and unassigned aemous Oct 30, 2026
@aemous aemous added documentation This is a problem with documentation. pr:needs-review This PR needs a review from a Member. v2 labels Nov 3, 2026
@GarrettBeatty
GarrettBeatty self-requested a review November 9, 2026 15:47

@GarrettBeatty GarrettBeatty left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please rebase on top of latest v2 branch - we added some linter checks which i think have caught some issues

@m-ashritha
m-ashritha force-pushed the add-docdb-elastic-cli-examples branch from 8dcbf67 to 9f9657e Compare November 9, 2026 16:17
@m-ashritha

Copy link
Copy Markdown
Contributor Author

Thanks for the review. Rebased on the latest v2 and fixed the issues the new linters found.

@GarrettBeatty
GarrettBeatty merged commit d15cfdb into aws:v2 Nov 9, 2026
55 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation This is a problem with documentation. pr:needs-review This PR needs a review from a Member. v2

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants