list_mount_targets
¶
list_mount_targets(
*,
config_overrides: Optional[S3FilesClientConfig] = 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/s3_files.py
1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 | |