list_stream_urls
¶
list_stream_urls(
*,
config_overrides: Optional[GameLiftStreamsClientConfig] = None,
status: Optional[StreamUrlStatus] = None,
stream_group_identifier: Optional[Identifier] = None,
next_token: Optional[NextToken] = None,
max_results: Optional[MaxResults] = None,
) -> ListStreamUrlsOutput
Retrieves a list of the stream URLs in the current Amazon Web Services Region for your Amazon Web Services account. You can filter the results by status or by stream group. Use the pagination parameters to retrieve results as a set of sequential pages. If you delete the stream group or application that backs a stream URL, this operation updates that stream URL's status to REVOKED.
Parameters:
-
status(Optional[StreamUrlStatus], default:None) –Filters the list to stream URLs with the specified status.
-
ACTIVE: The stream URL is valid and can start stream sessions. -
EXPIRED: The stream URL has passed its expiration time and can no longer start stream sessions. -
REVOKED: The stream URL was revoked and can no longer start stream sessions. -
LIMIT_REACHED: The stream URL has been used the maximum number of times and can no longer start stream sessions.
-
-
stream_group_identifier(Optional[Identifier], default:None) –Filters the list to stream URLs that belong to the specified stream group.
This value is an Amazon Resource Name (ARN) or ID that uniquely identifies the stream group resource. Example ARN:
arn:aws:gameliftstreams:us-west-2:111122223333:streamgroup/sg-1AB2C3De4. Example ID:sg-1AB2C3De4. -
next_token(Optional[NextToken], default:None) –The token that marks the start of the next set of results. Use this token when you retrieve results as sequential pages. To get the first page of results, omit a token value. To get the remaining pages, provide the token returned with the previous result set.
-
max_results(Optional[MaxResults], default:None) –The maximum number of results to return per page. Valid values are 1-100. The default is 25.
Raises:
-
AccessDeniedException–You don't have the required permissions to access this Amazon GameLift Streams resource. Correct the permissions before you try again.
-
InternalServerException–The service encountered an internal error and is unable to complete the request.
-
ThrottlingException–The request was denied due to request throttling. Retry the request after the suggested wait time.
-
ValidationException–One or more parameter values in the request fail to satisfy the specified constraints. Correct the invalid parameter values before retrying the request.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_gameliftstreams/_services/game_lift_streams.py
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 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 | |