ResilienceHubV2 / Client / update_assertion
update_assertion¶
- ResilienceHubV2.Client.update_assertion(**kwargs)¶
Updates a resilience assertion.
See also: AWS API Documentation
Request Syntax
response = client.update_assertion( serviceArn='string', assertionId='string', text='string' )
- Parameters:
serviceArn (string) –
[REQUIRED]
ARN identifier.
assertionId (string) –
[REQUIRED]
The unique identifier of the assertion to update.
text (string) – The updated text content of the assertion.
- Return type:
dict
- Returns:
Response Syntax
{ 'assertion': { 'serviceArn': 'string', 'assertionId': 'string', 'text': 'string', 'source': 'AI_GENERATED'|'USER', 'createdAt': datetime(2015, 1, 1), 'updatedAt': datetime(2015, 1, 1) } }
Response Structure
(dict) –
assertion (dict) –
The updated assertion.
serviceArn (string) –
ARN identifier.
assertionId (string) –
The unique identifier of the assertion.
text (string) –
The text content of the assertion.
source (string) –
The source of the assertion, indicating whether it was AI-generated or created by a user.
createdAt (datetime) –
The timestamp when the assertion was created.
updatedAt (datetime) –
The timestamp when the assertion was last updated.
Exceptions
ResilienceHubV2.Client.exceptions.InternalServerExceptionResilienceHubV2.Client.exceptions.ResourceNotFoundExceptionResilienceHubV2.Client.exceptions.ValidationExceptionResilienceHubV2.Client.exceptions.ConflictExceptionResilienceHubV2.Client.exceptions.AccessDeniedException