list_links
async
¶
list_links(
gateway_id: GatewayId,
*,
config_overrides: Optional[AsyncRTBFabricClientConfig] = None,
next_token: Optional[str] = None,
max_results: Optional[int] = None,
) -> ListLinksResponse
Lists links associated with gateways.
Returns a list of all links for the specified gateways, including their status and configuration details.
Parameters:
-
gateway_id(GatewayId) –The unique identifier of the gateway.
-
next_token(Optional[str], default:None) –If
nextTokenis returned, there are more results available. The value ofnextTokenis a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return an HTTP 400 InvalidToken error. -
max_results(Optional[int], default:None) –The maximum number of results that are returned per call. You can use
nextTokento obtain further pages of results.This is only an upper limit. The actual number of results returned per call might be fewer than the specified maximum.
Raises:
-
AccessDeniedException–The request could not be completed because you do not have sufficient access to perform this action.
-
InternalServerException–The request could not be completed because of an internal server error. Try your call again.
-
ResourceNotFoundException–The request could not be completed because the resource does not exist.
-
ThrottlingException–The request was denied due to request throttling.
-
ValidationException–The request could not be completed because it fails satisfy the constraints specified by the service.
-
UnknownServiceError–The service returned an error code this client does not model.
Examples:
List links for a gateway Lists all links for the specified gateway
Source code in docs_src/capo_rtbfabric/_services/async_rtb_fabric.py
1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 | |