describe_cluster_peers
¶
describe_cluster_peers(
*,
config_overrides: Optional[FSxClientConfig] = None,
cluster_peer_ids: Optional[ClusterPeerIds] = None,
filters: Optional[ClusterPeerFilters] = None,
max_results: Optional[MaxResults] = None,
next_token: Optional[NextToken] = None,
) -> DescribeClusterPeersResponse
Returns the description of specific Amazon FSx for NetApp ONTAP cluster peers, if a ClusterPeerIds value is provided. Otherwise, this operation returns all cluster peers owned by your Amazon Web Services account in the Amazon Web Services Region of the endpoint that you're calling.
When retrieving all cluster peers, you can optionally specify the MaxResults parameter to limit the number of cluster peers in a response. If more cluster peers 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:
-
cluster_peer_ids(Optional[ClusterPeerIds], default:None) –The IDs of the cluster peers that you want to retrieve. If you also specify
Filters, only cluster peers that match both the IDs and the filters are returned. If any IDs aren't found, or if a filter excludes any of them, aClusterPeerNotFounderror occurs. -
filters(Optional[ClusterPeerFilters], default:None) –The filters structure. The supported name is
file-system-id.
Raises:
-
BadRequest–A generic error indicating a failure with a client request.
-
ClusterPeerNotFound–No Amazon FSx cluster peers were found based on the supplied parameters.
-
FileSystemNotFound–No Amazon FSx file systems were found based upon supplied parameters.
-
InternalServerError–A generic error indicating a server-side failure.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_fsx/_services/f_sx.py
3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 | |