create_data_protection_settings
async
¶
create_data_protection_settings(
*,
config_overrides: Optional[AsyncWorkSpacesWebClientConfig] = None,
display_name: Optional[DisplayNameSafe] = None,
description: Optional[DescriptionSafe] = None,
tags: Optional[TagList] = None,
customer_managed_key: Optional[keyArn] = None,
additional_encryption_context: Optional[EncryptionContextMap] = None,
inline_redaction_configuration: Optional[InlineRedactionConfiguration] = None,
client_token: Optional[ClientToken] = None,
) -> CreateDataProtectionSettingsResponse
Creates a data protection settings resource that can be associated with a web portal.
Parameters:
-
display_name(Optional[DisplayNameSafe], default:None) –The display name of the data protection settings.
-
description(Optional[DescriptionSafe], default:None) –The description of the data protection settings.
-
tags(Optional[TagList], default:None) –The tags to add to the data protection settings resource. A tag is a key-value pair.
-
customer_managed_key(Optional[keyArn], default:None) –The custom managed key of the data protection settings.
-
additional_encryption_context(Optional[EncryptionContextMap], default:None) –Additional encryption context of the data protection settings.
-
inline_redaction_configuration(Optional[InlineRedactionConfiguration], default:None) –The inline redaction configuration of the data protection settings that will be applied to all sessions.
-
client_token(Optional[ClientToken], default:None) –A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully, subsequent retries with the same client token returns the result from the original successful request.
If you do not specify a client token, one is automatically generated by the Amazon Web Services SDK.
Raises:
-
AccessDeniedException–Access is denied.
-
ConflictException–There is a conflict.
-
InternalServerException–There is an internal server error.
-
ResourceNotFoundException–The resource cannot be found.
-
ServiceQuotaExceededException–The service quota has been exceeded.
-
ThrottlingException–There is a throttling error.
-
ValidationException–There is a validation error.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_workspaces_web/_services/async_work_spaces_web.py
1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 | |