list_deployment_groups
¶
list_deployment_groups(
application_name: ApplicationName,
*,
config_overrides: Optional[CodeDeployClientConfig] = None,
next_token: Optional[NextToken] = None,
) -> ListDeploymentGroupsOutput
Lists the deployment groups for an application registered with the Amazon Web Services user or Amazon Web Services account.
Parameters:
-
application_name(ApplicationName) –The name of an CodeDeploy application associated with the user or Amazon Web Services account.
-
next_token(Optional[NextToken], default:None) –An identifier returned from the previous list deployment groups call. It can be used to return the next set of deployment groups in the list.
Raises:
-
ApplicationDoesNotExistException–The application does not exist with the user or Amazon Web Services account.
-
ApplicationNameRequiredException–The minimum number of required application names was not specified.
-
InvalidApplicationNameException–The application name was specified in an invalid format.
-
InvalidNextTokenException–The next token was specified in an invalid format.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_codedeploy/_services/code_deploy.py
2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 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 | |