CloudWatchOmni / Client / get_access_profile
get_access_profile¶
- CloudWatchOmni.Client.get_access_profile(**kwargs)¶
Retrieves an access profile by ID.
The response indicates whether the calling principal is currently allowed to assume the profile.
See also: AWS API Documentation
Request Syntax
response = client.get_access_profile( spaceId='string', profileId='string' )
- Parameters:
spaceId (string) –
[REQUIRED]
The unique ID of the space.
profileId (string) –
[REQUIRED]
The unique ID of the access profile.
- Return type:
dict
- Returns:
Response Syntax
{ 'accessProfile': { 'profileId': 'string', 'spaceId': 'string', 'arn': 'string', 'name': 'string', 'description': 'string', 'createdAt': datetime(2015, 1, 1), 'updatedAt': datetime(2015, 1, 1), 'assumeStatus': 'ALLOWED'|'DENIED', 'profileType': 'SERVICE_MANAGED'|'CUSTOMER_MANAGED' } }
Response Structure
(dict) –
accessProfile (dict) –
The access profile.
profileId (string) –
The unique ID of the access profile.
spaceId (string) –
The ID of the space the profile belongs to.
arn (string) –
The ARN of this access profile.
name (string) –
A name that identifies the access profile.
description (string) –
An optional description of the access profile.
createdAt (datetime) –
The timestamp when the access profile was created.
updatedAt (datetime) –
The timestamp when the access profile was last updated.
assumeStatus (string) –
The calling principal’s authorization to assume this access profile.
profileType (string) –
Who manages the access profile.
Exceptions