Skip to content

IAM  >  Operations  >  update_delegation_request

update_delegation_request

Operation

update_delegation_request async

update_delegation_request(input: UpdateDelegationRequestInput, plugins: list[Plugin] | None = None) -> UpdateDelegationRequestOutput

Updates an existing delegation request with additional information. When the delegation request is updated, it reaches the PENDING_APPROVAL state.

Once a delegation request has an owner, that owner gets a default permission to update the delegation request. For more details, see Managing Permissions for Delegation Requests.

Parameters:

Name Type Description Default
input UpdateDelegationRequestInput

An instance of UpdateDelegationRequestInput.

required
plugins list[Plugin] | None

A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations.

None

Returns:

Type Description
UpdateDelegationRequestOutput

An instance of UpdateDelegationRequestOutput.

Input

UpdateDelegationRequestInput dataclass

Bases: _SerdeShape

Dataclass for UpdateDelegationRequestInput structure.

Attributes

delegation_request_id class-attribute instance-attribute
delegation_request_id: str | None = ...

The unique identifier of the delegation request to update.

notes class-attribute instance-attribute
notes: str | None = ...

Additional notes or comments to add to the delegation request.

Output

UpdateDelegationRequestOutput dataclass

Bases: _SerdeShape

Dataclass for UpdateDelegationRequestOutput structure.

Attributes

response_metadata class-attribute instance-attribute
response_metadata: ResponseMetadata = ...

Metadata about the response that produced this output. Use this to recover the request identifiers a service's support team needs in order to investigate a call. Members of the metadata are individually optional.