list_usage_limits
¶
list_usage_limits(
*,
config_overrides: Optional[RedshiftServerlessClientConfig] = 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/redshift_serverless.py
4552 4553 4554 4555 4556 4557 4558 4559 4560 4561 4562 4563 4564 4565 4566 4567 4568 4569 4570 4571 4572 4573 4574 4575 4576 4577 4578 4579 4580 4581 4582 4583 4584 4585 4586 4587 4588 4589 4590 4591 4592 4593 4594 4595 4596 4597 4598 4599 4600 4601 4602 4603 4604 4605 4606 4607 4608 4609 4610 4611 4612 4613 4614 4615 | |