update_dlp_setting
¶
update_dlp_setting(
aws_account_id: AwsAccountId,
dlp_setting_id: DlpSettingId,
*,
config_overrides: Optional[QuickSightClientConfig] = 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/quick_sight.py
20809 20810 20811 20812 20813 20814 20815 20816 20817 20818 20819 20820 20821 20822 20823 20824 20825 20826 20827 20828 20829 20830 20831 20832 20833 20834 20835 20836 20837 20838 20839 20840 20841 20842 20843 20844 20845 20846 20847 20848 20849 20850 20851 20852 20853 20854 20855 20856 20857 20858 20859 20860 20861 20862 20863 20864 20865 20866 20867 20868 20869 20870 20871 20872 20873 20874 20875 20876 20877 20878 20879 20880 20881 20882 20883 20884 20885 20886 | |