create_restore_access_backup_vault
async
¶
create_restore_access_backup_vault(
source_backup_vault_arn: ARN,
*,
config_overrides: Optional[AsyncBackupClientConfig] = None,
backup_vault_name: Optional[BackupVaultName] = None,
backup_vault_tags: Optional[Tags] = None,
creator_request_id: Optional[string] = None,
requester_comment: Optional[RequesterComment] = None,
) -> CreateRestoreAccessBackupVaultOutput
Creates a restore access backup vault that provides temporary access to recovery points in a logically air-gapped backup vault, subject to MPA approval.
Parameters:
-
source_backup_vault_arn(ARN) –The ARN of the source backup vault containing the recovery points to which temporary access is requested.
-
backup_vault_name(Optional[BackupVaultName], default:None) –The name of the backup vault to associate with an MPA approval team.
-
backup_vault_tags(Optional[Tags], default:None) –Optional tags to assign to the restore access backup vault.
-
creator_request_id(Optional[string], default:None) –A unique string that identifies the request and allows failed requests to be retried without the risk of executing the operation twice.
-
requester_comment(Optional[RequesterComment], default:None) –A comment explaining the reason for requesting restore access to the backup vault.
Raises:
-
AlreadyExistsException–The required resource already exists.
-
InvalidParameterValueException–Indicates that something is wrong with a parameter's value. For example, the value is out of range.
-
InvalidRequestException–Indicates that something is wrong with the input to the request. For example, a parameter is of the wrong type.
-
LimitExceededException–A limit in the request has been exceeded; for example, a maximum number of items allowed in a request.
-
MissingParameterValueException–Indicates that a required parameter is missing.
-
ResourceNotFoundException–A resource that is required for the action doesn't exist.
-
ServiceUnavailableException–The request failed due to a temporary failure of the server.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_backup/_services/async_backup.py
1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 | |