describe_db_cluster_snapshots
¶
describe_db_cluster_snapshots(
*,
config_overrides: Optional[NeptuneClientConfig] = None,
db_cluster_identifier: Optional[String] = None,
db_cluster_snapshot_identifier: Optional[String] = None,
snapshot_type: Optional[String] = None,
filters: Optional[FilterList] = None,
max_records: Optional[IntegerOptional] = None,
marker: Optional[String] = None,
include_shared: Optional[Boolean] = None,
include_public: Optional[Boolean] = None,
) -> DBClusterSnapshotMessage
Returns information about DB cluster snapshots. This API action supports pagination.
Parameters:
-
db_cluster_identifier(Optional[String], default:None) –The ID of the DB cluster to retrieve the list of DB cluster snapshots for. This parameter can't be used in conjunction with the
DBClusterSnapshotIdentifierparameter. This parameter is not case-sensitive.Constraints:
-
If supplied, must match the identifier of an existing DBCluster.
-
-
db_cluster_snapshot_identifier(Optional[String], default:None) –A specific DB cluster snapshot identifier to describe. This parameter can't be used in conjunction with the
DBClusterIdentifierparameter. This value is stored as a lowercase string.Constraints:
-
If supplied, must match the identifier of an existing DBClusterSnapshot.
-
If this identifier is for an automated snapshot, the
SnapshotTypeparameter must also be specified.
-
-
snapshot_type(Optional[String], default:None) –The type of DB cluster snapshots to be returned. You can specify one of the following values:
-
automated- Return all DB cluster snapshots that have been automatically taken by Amazon Neptune for my Amazon account. -
manual- Return all DB cluster snapshots that have been taken by my Amazon account. -
shared- Return all manual DB cluster snapshots that have been shared to my Amazon account. -
public- Return all DB cluster snapshots that have been marked as public.
If you don't specify a
SnapshotTypevalue, then both automated and manual DB cluster snapshots are returned. You can include shared DB cluster snapshots with these results by setting theIncludeSharedparameter totrue. You can include public DB cluster snapshots with these results by setting theIncludePublicparameter totrue.The
IncludeSharedandIncludePublicparameters don't apply forSnapshotTypevalues ofmanualorautomated. TheIncludePublicparameter doesn't apply whenSnapshotTypeis set toshared. TheIncludeSharedparameter doesn't apply whenSnapshotTypeis set topublic. -
-
filters(Optional[FilterList], default:None) –This parameter is not currently supported.
-
max_records(Optional[IntegerOptional], default:None) –The maximum number of records to include in the response. If more records exist than the specified
MaxRecordsvalue, a pagination token called a marker is included in the response so that the remaining results can be retrieved.Default: 100
Constraints: Minimum 20, maximum 100.
-
marker(Optional[String], default:None) –An optional pagination token provided by a previous
DescribeDBClusterSnapshotsrequest. If this parameter is specified, the response includes only records beyond the marker, up to the value specified byMaxRecords. -
include_shared(Optional[Boolean], default:None) –True to include shared manual DB cluster snapshots from other Amazon accounts that this Amazon account has been given permission to copy or restore, and otherwise false. The default is
false.You can give an Amazon account permission to restore a manual DB cluster snapshot from another Amazon account by the ModifyDBClusterSnapshotAttribute API action.
-
include_public(Optional[Boolean], default:None) –True to include manual DB cluster snapshots that are public and can be copied or restored by any Amazon account, and otherwise false. The default is
false. The default is false.You can share a manual DB cluster snapshot as public by using the ModifyDBClusterSnapshotAttribute API action.
Raises:
-
DBClusterSnapshotNotFoundFault–DBClusterSnapshotIdentifier does not refer to an existing DB cluster snapshot.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_neptune/_services/neptune.py
2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 | |