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
19060 19061 19062 19063 19064 19065 19066 19067 19068 19069 19070 19071 19072 19073 19074 19075 19076 19077 19078 19079 19080 19081 19082 19083 19084 19085 19086 19087 19088 19089 19090 19091 19092 19093 19094 19095 19096 19097 19098 19099 19100 19101 19102 19103 19104 19105 19106 19107 19108 19109 19110 19111 19112 19113 19114 19115 19116 19117 19118 19119 19120 19121 19122 19123 19124 19125 19126 19127 19128 19129 19130 19131 19132 19133 19134 19135 19136 19137 | |