list_environment_account_connections
async
¶
list_environment_account_connections(
requested_by: EnvironmentAccountConnectionRequesterAccountType,
*,
config_overrides: Optional[AsyncProtonClientConfig] = None,
environment_name: Optional[ResourceName] = None,
statuses: Optional[EnvironmentAccountConnectionStatusList] = None,
next_token: Optional[NextToken] = None,
max_results: Optional[MaxPageResults] = None,
) -> ListEnvironmentAccountConnectionsOutput
View a list of environment account connections.
For more information, see Environment account connections in the Proton User guide.
Parameters:
-
requested_by(EnvironmentAccountConnectionRequesterAccountType) –The type of account making the
ListEnvironmentAccountConnectionsrequest. -
environment_name(Optional[ResourceName], default:None) –The environment name that's associated with each listed environment account connection.
-
statuses(Optional[EnvironmentAccountConnectionStatusList], default:None) –The status details for each listed environment account connection.
-
next_token(Optional[NextToken], default:None) –A token that indicates the location of the next environment account connection in the array of environment account connections, after the list of environment account connections that was previously requested.
-
max_results(Optional[MaxPageResults], default:None) –The maximum number of environment account connections to list.
Raises:
-
AccessDeniedException–There isn't sufficient access for performing this action.
-
InternalServerException–The request failed to register with the service.
-
ThrottlingException–The request was denied due to request throttling.
-
ValidationException–The input is invalid or an out-of-range value was supplied for the input parameter.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_proton/_services/async_proton.py
2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 | |