list_usage_limits
async
¶
list_usage_limits(
*,
config_overrides: Optional[AsyncRedshiftServerlessClientConfig] = None,
resource_arn: Optional[str] = None,
usage_type: Optional[UsageLimitUsageType] = None,
next_token: Optional[PaginationToken] = None,
max_results: Optional[int] = None,
) -> ListUsageLimitsResponse
Lists all usage limits within Amazon Redshift Serverless.
Parameters:
-
resource_arn(Optional[str], default:None) –The Amazon Resource Name (ARN) associated with the resource whose usage limits you want to list.
-
usage_type(Optional[UsageLimitUsageType], default:None) –The Amazon Redshift Serverless feature whose limits you want to see.
-
next_token(Optional[PaginationToken], default:None) –If your initial
ListUsageLimitsoperation returns anextToken, you can include the returnednextTokenin followingListUsageLimitsoperations, which returns results in the next page. -
max_results(Optional[int], default:None) –An optional parameter that specifies the maximum number of results to return. You can use
nextTokento get the next page of results. The default is 100.
Raises:
-
ConflictException–The submitted action has conflicts.
-
InternalServerException–The request processing has failed because of an unknown error, exception or failure.
-
InvalidPaginationException–The provided pagination token is invalid.
-
ResourceNotFoundException–The resource could not be found.
-
ValidationException–The input failed to satisfy the constraints specified by an Amazon Web Services service.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_redshift_serverless/_services/async_redshift_serverless.py
4303 4304 4305 4306 4307 4308 4309 4310 4311 4312 4313 4314 4315 4316 4317 4318 4319 4320 4321 4322 4323 4324 4325 4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 4351 4352 4353 4354 4355 4356 4357 4358 4359 4360 4361 4362 4363 4364 4365 4366 4367 | |