modify_saml_properties
¶
modify_saml_properties(
resource_id: DirectoryId,
*,
config_overrides: Optional[WorkSpacesClientConfig] = None,
saml_properties: Optional[SamlProperties] = None,
properties_to_delete: Optional[DeletableSamlPropertiesList] = None,
) -> ModifySamlPropertiesResult
Modifies multiple properties related to SAML 2.0 authentication, including the enablement status, user access URL, and relay state parameter name that are used for configuring federation with an SAML 2.0 identity provider.
Parameters:
-
resource_id(DirectoryId) –The directory identifier for which you want to configure SAML properties.
-
saml_properties(Optional[SamlProperties], default:None) –The properties for configuring SAML 2.0 authentication.
-
properties_to_delete(Optional[DeletableSamlPropertiesList], default:None) –The SAML properties to delete as part of your request.
Specify one of the following options:
-
SAML_PROPERTIES_USER_ACCESS_URLto delete the user access URL. -
SAML_PROPERTIES_RELAY_STATE_PARAMETER_NAMEto delete the relay state parameter name.
-
Raises:
-
AccessDeniedException–The user is not authorized to access a resource.
-
InvalidParameterValuesException–One or more parameter values are not valid.
-
OperationNotSupportedException–This operation is not supported.
-
ResourceNotFoundException–The resource could not be found.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_workspaces/_services/work_spaces.py
4307 4308 4309 4310 4311 4312 4313 4314 4315 4316 4317 4318 4319 4320 4321 4322 4323 4324 4325 4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 4351 4352 4353 4354 4355 4356 4357 4358 4359 4360 4361 4362 4363 4364 4365 4366 4367 | |