DeadlineCloud / Client / assume_queue_role_for_read
assume_queue_role_for_read#
- DeadlineCloud.Client.assume_queue_role_for_read(**kwargs)#
Gets Amazon Web Services credentials from the queue role. The IAM permissions of the credentials are scoped down to have read-only access.
See also: AWS API Documentation
Request Syntax
response = client.assume_queue_role_for_read( farmId='string', queueId='string' )
- Parameters:
farmId (string) –
[REQUIRED]
The farm ID of the farm containing the queue.
queueId (string) –
[REQUIRED]
The queue ID.
- Return type:
dict
- Returns:
Response Syntax
{ 'credentials': { 'accessKeyId': 'string', 'secretAccessKey': 'string', 'sessionToken': 'string', 'expiration': datetime(2015, 1, 1) } }
Response Structure
(dict) –
credentials (dict) –
The credentials for the queue role.
accessKeyId (string) –
The IAM access key ID.
secretAccessKey (string) –
The IAM secret access key.
sessionToken (string) –
The IAM session token
expiration (datetime) –
The expiration date and time of the IAM credentials.
Exceptions