WellArchitected / Client / create_agent_basic_profile
create_agent_basic_profile¶
- WellArchitected.Client.create_agent_basic_profile(**kwargs)¶
Creates a Basic profile for the calling account. No configuration input is required because the account and region are inferred from the caller. The profile uses the reserved name
basic. This operation is idempotent. Calling it twice returns the same ARN. Each account can have at most one Basic profile.See also: AWS API Documentation
Request Syntax
response = client.create_agent_basic_profile( tags=[ { 'key': 'string', 'value': 'string' }, ] )
- Parameters:
tags (list) –
Tags to apply to the Basic profile at creation time.
(dict) –
A key-value pair associated with a resource for cost allocation and access control.
key (string) – [REQUIRED]
The key of the tag.
value (string) – [REQUIRED]
The value of the tag.
- Return type:
dict
- Returns:
Response Syntax
{ 'createdBy': 'string', 'createdAt': datetime(2015, 1, 1), 'lastModifiedBy': 'string', 'lastModifiedAt': datetime(2015, 1, 1), 'arn': 'string' }
Response Structure
(dict) –
createdBy (string) –
The identifier of the user or system that created this resource.
createdAt (datetime) –
The timestamp when the resource was created.
lastModifiedBy (string) –
The identifier of the user or system that last modified this resource.
lastModifiedAt (datetime) –
The timestamp when the resource was last modified.
arn (string) –
The Amazon Resource Name (ARN) of the created Basic profile.
Exceptions
WellArchitected.Client.exceptions.AccessDeniedExceptionWellArchitected.Client.exceptions.ValidationExceptionWellArchitected.Client.exceptions.InternalServerExceptionWellArchitected.Client.exceptions.ConflictExceptionWellArchitected.Client.exceptions.ServiceQuotaExceededExceptionWellArchitected.Client.exceptions.ThrottlingException