delete_deployment_group
¶
delete_deployment_group(
application_name: ApplicationName,
deployment_group_name: DeploymentGroupName,
*,
config_overrides: Optional[CodeDeployClientConfig] = None,
) -> DeleteDeploymentGroupOutput
Deletes a deployment group.
Parameters:
-
application_name(ApplicationName) –The name of an CodeDeploy application associated with the user or Amazon Web Services account.
-
deployment_group_name(DeploymentGroupName) –The name of a deployment group for the specified application.
Raises:
-
ApplicationNameRequiredException–The minimum number of required application names was not specified.
-
DeploymentGroupNameRequiredException–The deployment group name was not specified.
-
InvalidApplicationNameException–The application name was specified in an invalid format.
-
InvalidDeploymentGroupNameException–The deployment group name was specified in an invalid format.
-
InvalidRoleException–The service role ARN was specified in an invalid format. Or, if an Auto Scaling group was specified, the specified service role does not grant the appropriate permissions to Amazon EC2 Auto Scaling.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_codedeploy/_services/code_deploy.py
1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 | |