SSMClient.start_change_request_execution
rboto-ssm==0.4.0 · Service index · Types
Model summary (excerpt): Amazon Web Services Systems Manager Change Manager is no longer open to new customers. Existing customers can continue to use the service as normal. For more information, see Amazon Web Services Systems Manager Change Manager availability change . Creates a change request for Change Manager. The Automation runbooks specified in the change request run only after all required approvals for the...
Install and imports
from rboto import SSMClient
from collections.abc import Sequence
from rboto_ssm.types import (
Runbook,
StartChangeRequestExecutionOutput,
Tag,
)
Signature
async def start_change_request_execution(
*,
document_name: str,
runbooks: Sequence[Runbook],
scheduled_time: str | None = None,
document_version: str | None = None,
parameters: dict[str, Sequence[str]] | None = None,
change_request_name: str | None = None,
client_token: str | None = None,
auto_approve: bool | None = None,
tags: Sequence[Tag] | None = None,
scheduled_end_time: str | None = None,
change_details: str | None = None,
) -> StartChangeRequestExecutionOutput: ...
Arguments without defaults are required. None omits an optional request argument. Static types do not validate resource existence, permissions, lengths, ranges, or conditional service requirements.
Arguments
| Argument | Required | Model notes (excerpt) |
|---|---|---|
document_name |
Yes | The name of the change template document to run during the runbook workflow. |
runbooks |
Yes | Information about the Automation runbooks that are run during the runbook workflow. The Automation runbooks specified for the runbook workflow can't run until all required approvals for the change request have been received. |
scheduled_time |
No | The date and time specified in the change request to run the Automation runbooks. The Automation runbooks specified for the runbook workflow can't run until all required approvals for the change request have been received. |
document_version |
No | The version of the change template document to run during the runbook workflow. |
parameters |
No | A key-value map of parameters that match the declared parameters in the change template document. |
change_request_name |
No | The name of the change request associated with the runbook workflow to be run. |
client_token |
No | The user-provided idempotency token. The token must be unique, is case insensitive, enforces the UUID format, and can't be reused. |
auto_approve |
No | Indicates whether the change request can be approved automatically without the need for manual approvals. If AutoApprovable is enabled in a change template, then setting AutoApprove to true in StartChangeRequestExecution creates a change request that bypasses approver review. Change Calendar restrictions are not bypassed in this scenario. If the state of an associated calendar is CLOSED ,... |
tags |
No | Optional metadata that you assign to a resource. You can specify a maximum of five tags for a change request. Tags enable you to categorize a resource in different ways, such as by purpose, owner, or environment. For example, you might want to tag a change request to identify an environment or target Amazon Web Services Region. In this case, you could specify the following key-value pairs:... |
scheduled_end_time |
No | The time that the requester expects the runbook workflow related to the change request to complete. The time is an estimate only that the requester provides for reviewers. |
change_details |
No | User-provided details about the change. If no details are provided, content specified in the Template information section of the associated change template is added. |
Output
StartChangeRequestExecutionOutput.
Read-only native attributes, accessed as response.field. Collection getters materialize Python values; to_dict() recursively materializes a mapping. Streams are consumed once.
| Field | Type | Presence | References |
|---|---|---|---|
automation_execution_id |
str | None |
Always present | — |
| None means a value can be absent. Output mappings include every declared key; optional input keys may be omitted. Unknown output enum/union variants are not automatically valid inputs.
Related types
Runbook, StartChangeRequestExecutionOutput, Tag
Follow these links for nested inputs and outputs; recursive types link back to the same type page.
Pagination and streaming
No generated paginator for this operation.
No output stream.
Errors
Import from rboto_ssm.exceptions:
AutomationDefinitionNotApprovedError, AutomationDefinitionNotFoundError, AutomationDefinitionVersionNotFoundError, AutomationExecutionLimitExceededError, IdempotentParameterMismatchError, InternalServerError, InvalidAutomationExecutionParametersError, NoLongerSupportedError.
Other service failures use the service base error; credential, transport and timeout failures use shared errors.