list_managed_workgroups
async
¶
list_managed_workgroups(
*,
config_overrides: Optional[AsyncRedshiftServerlessClientConfig] = None,
source_arn: Optional[SourceArn] = None,
next_token: Optional[PaginationToken] = None,
max_results: Optional[int] = None,
) -> ListManagedWorkgroupsResponse
Returns information about a list of specified managed workgroups in your account.
Parameters:
-
source_arn(Optional[SourceArn], default:None) –The Amazon Resource Name (ARN) for the managed workgroup in the Glue Data Catalog.
-
next_token(Optional[PaginationToken], default:None) –If your initial ListManagedWorkgroups operation returns a nextToken, you can include the returned nextToken in following ListManagedWorkgroups operations, 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 nextToken to display the next page of results.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
InternalServerException–The request processing has failed because of an unknown error, exception or failure.
-
UnknownServiceError–The service returned an error code this client does not model.