update_resource_provider
¶
update_resource_provider(
arn: ResourceProviderArn,
*,
config_overrides: Optional[BackupExternalClientConfig] = None,
name: Optional[ResourceName] = None,
provider_configuration: Optional[ResourceProviderConfiguration] = None,
secret_configuration_arn: Optional[SecretConfigurationArn] = None,
target_configuration: Optional[ResourceTargetConfigurations] = None,
target_tags_on_create: Optional[ResourceTargetTagsOnCreate] = None,
target_tag_keys_to_sync: Optional[ResourceTargetTagKeyToSyncList] = None,
auto_delete_not_found_targets_after_days: Optional[int] = None,
) -> UpdateResourceProviderOutput
Updates the configuration of the specified resource provider.
Parameters:
-
arn(ResourceProviderArn) –The Amazon Resource Name (ARN) of the resource provider.
-
name(Optional[ResourceName], default:None) –The name of the resource provider.
-
provider_configuration(Optional[ResourceProviderConfiguration], default:None) –The configuration of the resource provider.
-
secret_configuration_arn(Optional[SecretConfigurationArn], default:None) –The Amazon Resource Name (ARN) of the AWS Secrets Manager secret used to access the resource provider.
-
target_configuration(Optional[ResourceTargetConfigurations], default:None) –The default backup configurations for the resource provider's resource targets, by target type.
-
target_tags_on_create(Optional[ResourceTargetTagsOnCreate], default:None) –The tags to apply when the resource provider's resource targets are created.
-
target_tag_keys_to_sync(Optional[ResourceTargetTagKeyToSyncList], default:None) –The tag keys whose values are synchronized from external resources to their resource targets.
-
auto_delete_not_found_targets_after_days(Optional[int], default:None) –The number of days after which resource targets with a status of
NOT_FOUNDare automatically deleted. Specify-1to disable automatic deletion.
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/backup_external.py
2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 | |