list_endpoint_access
¶
list_endpoint_access(
*,
config_overrides: Optional[RedshiftServerlessClientConfig] = None,
next_token: Optional[str] = None,
max_results: Optional[int] = None,
workgroup_name: Optional[str] = None,
vpc_id: Optional[str] = None,
owner_account: Optional[OwnerAccount] = None,
) -> ListEndpointAccessResponse
Returns an array of EndpointAccess objects and relevant information.
Parameters:
-
next_token(Optional[str], default:None) –If your initial
ListEndpointAccessoperation returns anextToken, you can include the returnednextTokenin followingListEndpointAccessoperations, 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 display the next page of results. -
workgroup_name(Optional[str], default:None) –The name of the workgroup associated with the VPC endpoint to return.
-
vpc_id(Optional[str], default:None) –The unique identifier of the virtual private cloud with access to Amazon Redshift Serverless.
-
owner_account(Optional[OwnerAccount], default:None) –The owner Amazon Web Services account for the Amazon Redshift Serverless workgroup.
Raises:
-
ConflictException–The submitted action has conflicts.
-
InternalServerException–The request processing has failed because of an unknown error, exception or failure.
-
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
1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 | |