describe_snapmirror_relationships
async
¶
describe_snapmirror_relationships(
*,
config_overrides: Optional[AsyncFSxClientConfig] = 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/async_f_sx.py
3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 3823 3824 3825 3826 3827 3828 3829 3830 3831 3832 3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 | |