update_dlp_setting
async
¶
update_dlp_setting(
aws_account_id: AwsAccountId,
dlp_setting_id: DlpSettingId,
*,
config_overrides: Optional[AsyncQuickSightClientConfig] = None,
name: Optional[DlpSettingName] = None,
provider_type: Optional[DlpProviderType] = None,
provider_config: Optional[ProviderConfig] = None,
provider_outage_action: Optional[DlpAction] = None,
enabled: Optional[Boolean] = None,
) -> UpdateDlpSettingResponse
Updates an existing DLP setting configuration in an Amazon Web Services account. Fields that are omitted from the request retain their current values.
Parameters:
-
aws_account_id(AwsAccountId) –The ID of the Amazon Web Services account that contains the DLP setting that you want to update.
-
dlp_setting_id(DlpSettingId) –The ID of the DLP setting that you want to update.
-
name(Optional[DlpSettingName], default:None) –An updated display name for the DLP setting.
-
provider_type(Optional[DlpProviderType], default:None) –An updated DLP provider type. Currently, the only supported value is
MICROSOFT_PURVIEW. -
provider_config(Optional[ProviderConfig], default:None) –An updated provider-specific configuration for the DLP integration. This is a union type structure. For this structure to be valid, only one of the attributes can be defined.
-
provider_outage_action(Optional[DlpAction], default:None) –An updated behavior to apply when the DLP provider is unreachable. Valid values are
ALLOW,WARN, andBLOCK. -
enabled(Optional[Boolean], default:None) –Specifies whether DLP enforcement is active for this setting. Set to
trueto enable enforcement, orfalseto disable it.
Raises:
-
AccessDeniedException–You don't have access to this item. The provided credentials couldn't be validated. You might not be authorized to carry out the request. Make sure that your account is authorized to use the Amazon Quick Sight service, that your policies have the correct permissions, and that you are using the correct credentials.
-
ConflictException–Updating or deleting a resource can cause an inconsistent state.
-
InternalFailureException–An internal failure occurred.
-
InvalidRequestException–You don't have this feature activated for your account. To fix this issue, contact Amazon Web Services support.
-
ResourceNotFoundException–One or more resources can't be found.
-
ThrottlingException–Access is throttled.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_quicksight/_services/async_quick_sight.py
19322 19323 19324 19325 19326 19327 19328 19329 19330 19331 19332 19333 19334 19335 19336 19337 19338 19339 19340 19341 19342 19343 19344 19345 19346 19347 19348 19349 19350 19351 19352 19353 19354 19355 19356 19357 19358 19359 19360 19361 19362 19363 19364 19365 19366 19367 19368 19369 19370 19371 19372 19373 19374 19375 19376 19377 19378 19379 19380 19381 19382 19383 19384 19385 19386 19387 19388 19389 19390 19391 19392 19393 19394 19395 19396 19397 19398 19399 19400 | |