update_resource_target
async
¶
update_resource_target(
arn: ResourceTargetArn,
*,
config_overrides: Optional[AsyncBackupExternalClientConfig] = None,
name: Optional[ResourceName] = None,
target_configuration: Optional[ResourceTargetConfiguration] = None,
target_configuration_source: Optional[ResourceTargetConfigurationSource] = None,
) -> UpdateResourceTargetOutput
Updates the name or backup configuration of the specified resource target.
Parameters:
-
arn(ResourceTargetArn) –The Amazon Resource Name (ARN) of the resource target.
-
name(Optional[ResourceName], default:None) –The name of the resource target.
-
target_configuration(Optional[ResourceTargetConfiguration], default:None) –The backup configuration for the resource target.
-
target_configuration_source(Optional[ResourceTargetConfigurationSource], default:None) –The source of the resource target's backup configuration.
Raises:
-
AccessDeniedException–The request was denied because you do not have permission to perform the requested operation.
-
ConflictException–The request conflicts with the current state of the specified resource.
-
InternalServerException–The request failed because of an internal server error.
-
ResourceNotFoundException–The specified resource was not found.
-
ThrottlingException–The request was denied because the request rate is too high.
-
ValidationException–The request contains invalid parameters.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_backup_external/_services/async_backup_external.py
2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 | |