modify_saml_properties
async
¶
modify_saml_properties(
resource_id: DirectoryId,
*,
config_overrides: Optional[AsyncWorkSpacesClientConfig] = 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/async_work_spaces.py
8081 8082 8083 8084 8085 8086 8087 8088 8089 8090 8091 8092 8093 8094 8095 8096 8097 8098 8099 8100 8101 8102 8103 8104 8105 8106 8107 8108 8109 8110 8111 8112 8113 8114 8115 8116 8117 8118 8119 8120 8121 8122 8123 8124 8125 8126 8127 8128 8129 8130 8131 8132 8133 8134 8135 8136 8137 8138 8139 8140 8141 8142 8143 8144 8145 8146 8147 8148 8149 8150 8151 8152 8153 8154 | |