update_dependency
¶
update_dependency(
service_arn: Arn,
dependency_id: Uuid,
*,
config_overrides: Optional[resiliencehubv2ClientConfig] = None,
criticality: Optional[DependencyCriticality] = None,
comment: Optional[str] = None,
) -> UpdateDependencyResponse
Updates a dependency classification.
Parameters:
-
dependency_id(Uuid) –The identifier of the dependency to update.
-
criticality(Optional[DependencyCriticality], default:None) –The updated criticality level of the dependency.
-
comment(Optional[str], default:None) –A comment about the dependency.
Raises:
-
AccessDeniedException–Access denied — caller lacks required permissions.
-
ConflictException–Conflict — resource already exists.
-
InternalServerException–Internal service error.
-
ResourceNotFoundException–Resource not found.
-
ValidationException–Validation error — invalid input parameters.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_resiliencehubv2/_services/resiliencehubv2.py
5144 5145 5146 5147 5148 5149 5150 5151 5152 5153 5154 5155 5156 5157 5158 5159 5160 5161 5162 5163 5164 5165 5166 5167 5168 5169 5170 5171 5172 5173 5174 5175 5176 5177 5178 5179 5180 5181 5182 5183 5184 5185 5186 5187 5188 5189 5190 5191 5192 5193 5194 5195 5196 5197 5198 5199 5200 5201 5202 5203 5204 5205 | |