ResilienceHubV2 / Client / update_dependency
update_dependency¶
- ResilienceHubV2.Client.update_dependency(**kwargs)¶
Updates a dependency classification.
See also: AWS API Documentation
Request Syntax
response = client.update_dependency( serviceArn='string', dependencyId='string', criticality='HARD'|'SOFT'|'UNKNOWN', comment='string' )
- Parameters:
serviceArn (string) –
[REQUIRED]
ARN identifier.
dependencyId (string) –
[REQUIRED]
The identifier of the dependency to update.
criticality (string) – The updated criticality level of the dependency.
comment (string) – A comment about the dependency.
- Return type:
dict
- Returns:
Response Syntax
{ 'dependencyId': 'string', 'dependencyName': 'string', 'location': 'string', 'criticality': 'HARD'|'SOFT'|'UNKNOWN', 'comment': 'string', 'provider': 'string', 'updatedAt': datetime(2015, 1, 1) }
Response Structure
(dict) –
dependencyId (string) –
The identifier of the updated dependency.
dependencyName (string) –
The name of the updated dependency.
location (string) –
The location of the dependency.
criticality (string) –
The criticality level of the dependency.
comment (string) –
The comment about the dependency.
provider (string) –
The provider of the dependency.
updatedAt (datetime) –
The timestamp when the dependency was updated.
Exceptions
ResilienceHubV2.Client.exceptions.InternalServerExceptionResilienceHubV2.Client.exceptions.ResourceNotFoundExceptionResilienceHubV2.Client.exceptions.ValidationExceptionResilienceHubV2.Client.exceptions.ConflictExceptionResilienceHubV2.Client.exceptions.AccessDeniedException