describe_snapmirror_relationships
¶
describe_snapmirror_relationships(
*,
config_overrides: Optional[FSxClientConfig] = None,
snapmirror_relationship_ids: Optional[SnapmirrorRelationshipIds] = None,
filters: Optional[SnapmirrorRelationshipFilters] = None,
max_results: Optional[MaxResults] = None,
next_token: Optional[NextToken] = None,
) -> DescribeSnapmirrorRelationshipsResponse
Returns the description of specific Amazon FSx for NetApp ONTAP SnapMirror relationships, if a SnapmirrorRelationshipIds value is provided. Otherwise, this operation returns all SnapMirror relationships owned by your Amazon Web Services account in the Amazon Web Services Region of the endpoint that you're calling.
When retrieving all SnapMirror relationships, you can optionally specify the MaxResults parameter to limit the number of SnapMirror relationships in a response. If more SnapMirror relationships remain, Amazon FSx returns a NextToken value in the response. In this case, send a later request with the NextToken request parameter set to the value of NextToken from the last response.
Parameters:
-
snapmirror_relationship_ids(Optional[SnapmirrorRelationshipIds], default:None) –The IDs of the SnapMirror relationships that you want to retrieve. If you also specify
Filters, only SnapMirror relationships that match both the IDs and the filters are returned. If any IDs aren't found, or if a filter excludes any of them, aSnapmirrorRelationshipNotFounderror occurs. -
filters(Optional[SnapmirrorRelationshipFilters], default:None) –The filters structure. The supported names are
file-system-idordestination-volume-id.
Raises:
-
BadRequest–A generic error indicating a failure with a client request.
-
InternalServerError–A generic error indicating a server-side failure.
-
SnapmirrorRelationshipNotFound–No Amazon FSx SnapMirror relationships were found based on the supplied parameters.
-
VolumeNotFound–No Amazon FSx volumes were found based upon the supplied parameters.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_fsx/_services/f_sx.py
3744 3745 3746 3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 3758 3759 3760 3761 3762 3763 3764 3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 3775 3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 | |