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
21095 21096 21097 21098 21099 21100 21101 21102 21103 21104 21105 21106 21107 21108 21109 21110 21111 21112 21113 21114 21115 21116 21117 21118 21119 21120 21121 21122 21123 21124 21125 21126 21127 21128 21129 21130 21131 21132 21133 21134 21135 21136 21137 21138 21139 21140 21141 21142 21143 21144 21145 21146 21147 21148 21149 21150 21151 21152 21153 21154 21155 21156 21157 21158 21159 21160 21161 21162 21163 21164 21165 21166 21167 21168 21169 21170 21171 21172 21173 | |