Skip to content

Associate Delegation Request

iam_associate_delegation_request R Documentation

Associates a delegation request with the current identity

Description

Associates a delegation request with the current identity.

If the partner that created the delegation request has specified the owner account during creation, only an identity from that owner account can call the associate_delegation_request API for the specified delegation request. Once the associate_delegation_request API call is successful, the ARN of the current calling identity will be stored as the ownerId of the request.

If the partner that created the delegation request has not specified the owner account during creation, any caller from any account can call the associate_delegation_request API for the delegation request. Once this API call is successful, the ARN of the current calling identity will be stored as the ownerId and the Amazon Web Services account ID of the current calling identity will be stored as the ownerAccount of the request.

For more details, see Managing Permissions for Delegation Requests.

Usage

iam_associate_delegation_request(DelegationRequestId)

Arguments

DelegationRequestId

[required] The unique identifier of the delegation request to associate.

Value

An empty list.

Request syntax

svc$associate_delegation_request(
  DelegationRequestId = "string"
)