describe_cluster_peers
async
¶
describe_cluster_peers(
*,
config_overrides: Optional[AsyncFSxClientConfig] = 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/async_f_sx.py
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 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 | |