list_mount_targets
async
¶
list_mount_targets(
*,
config_overrides: Optional[AsyncS3FilesClientConfig] = None,
file_system_id: Optional[FileSystemId] = None,
access_point_id: Optional[AccessPointId] = None,
max_results: Optional[int] = None,
next_token: Optional[str] = None,
) -> ListMountTargetsResponse
Returns resource information for all mount targets with optional filtering by file system, access point, and VPC.
Parameters:
-
file_system_id(Optional[FileSystemId], default:None) –Optional filter to list only mount targets associated with the specified S3 File System ID or Amazon Resource Name (ARN). If provided, only mount targets for this file system will be returned in the response.
-
access_point_id(Optional[AccessPointId], default:None) –Optional filter to list only mount targets associated with the specified access point ID or Amazon Resource Name (ARN).
-
max_results(Optional[int], default:None) –The maximum number of mount targets to return in a single response.
-
next_token(Optional[str], default:None) –A pagination token returned from a previous call to continue listing mount targets.
Raises:
-
ThrottlingException–The request was throttled. Retry your request using exponential backoff.
-
InternalServerException–An internal server error occurred. Retry your request.
-
ResourceNotFoundException–The specified resource was not found. Verify that the resource exists and that you have permission to access it.
-
ValidationException–The input parameters are not valid. Check the parameter values and try again.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_s3files/_services/async_s3_files.py
1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 | |