| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.OpenSearchServerless.UpdateSecurityConfig
Description
Updates a security configuration for OpenSearch Serverless. For more information, see SAML authentication for Amazon OpenSearch Serverless.
Synopsis
- data UpdateSecurityConfig = UpdateSecurityConfig' {}
- newUpdateSecurityConfig :: Text -> Text -> UpdateSecurityConfig
- updateSecurityConfig_clientToken :: Lens' UpdateSecurityConfig (Maybe Text)
- updateSecurityConfig_description :: Lens' UpdateSecurityConfig (Maybe Text)
- updateSecurityConfig_samlOptions :: Lens' UpdateSecurityConfig (Maybe SamlConfigOptions)
- updateSecurityConfig_configVersion :: Lens' UpdateSecurityConfig Text
- updateSecurityConfig_id :: Lens' UpdateSecurityConfig Text
- data UpdateSecurityConfigResponse = UpdateSecurityConfigResponse' {}
- newUpdateSecurityConfigResponse :: Int -> UpdateSecurityConfigResponse
- updateSecurityConfigResponse_securityConfigDetail :: Lens' UpdateSecurityConfigResponse (Maybe SecurityConfigDetail)
- updateSecurityConfigResponse_httpStatus :: Lens' UpdateSecurityConfigResponse Int
Creating a Request
data UpdateSecurityConfig Source #
See: newUpdateSecurityConfig smart constructor.
Constructors
| UpdateSecurityConfig' | |
Fields
| |
Instances
newUpdateSecurityConfig Source #
Arguments
| :: Text | |
| -> Text | |
| -> UpdateSecurityConfig |
Create a value of UpdateSecurityConfig with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:clientToken:UpdateSecurityConfig', updateSecurityConfig_clientToken - Unique, case-sensitive identifier to ensure idempotency of the request.
UpdateSecurityConfig, updateSecurityConfig_description - A description of the security configuration.
UpdateSecurityConfig, updateSecurityConfig_samlOptions - SAML options in in the form of a key-value map.
UpdateSecurityConfig, updateSecurityConfig_configVersion - The version of the security configuration to be updated. You can find
the most recent version of a security configuration using the
GetSecurityPolicy command.
UpdateSecurityConfig, updateSecurityConfig_id - The security configuration identifier. For SAML the ID will be
saml/<accountId>/<idpProviderName>. For example,
saml/123456789123/OKTADev.
Request Lenses
updateSecurityConfig_clientToken :: Lens' UpdateSecurityConfig (Maybe Text) Source #
Unique, case-sensitive identifier to ensure idempotency of the request.
updateSecurityConfig_description :: Lens' UpdateSecurityConfig (Maybe Text) Source #
A description of the security configuration.
updateSecurityConfig_samlOptions :: Lens' UpdateSecurityConfig (Maybe SamlConfigOptions) Source #
SAML options in in the form of a key-value map.
updateSecurityConfig_configVersion :: Lens' UpdateSecurityConfig Text Source #
The version of the security configuration to be updated. You can find
the most recent version of a security configuration using the
GetSecurityPolicy command.
updateSecurityConfig_id :: Lens' UpdateSecurityConfig Text Source #
The security configuration identifier. For SAML the ID will be
saml/<accountId>/<idpProviderName>. For example,
saml/123456789123/OKTADev.
Destructuring the Response
data UpdateSecurityConfigResponse Source #
See: newUpdateSecurityConfigResponse smart constructor.
Constructors
| UpdateSecurityConfigResponse' | |
Fields
| |
Instances
newUpdateSecurityConfigResponse Source #
Create a value of UpdateSecurityConfigResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:securityConfigDetail:UpdateSecurityConfigResponse', updateSecurityConfigResponse_securityConfigDetail - Details about the updated security configuration.
$sel:httpStatus:UpdateSecurityConfigResponse', updateSecurityConfigResponse_httpStatus - The response's http status code.
Response Lenses
updateSecurityConfigResponse_securityConfigDetail :: Lens' UpdateSecurityConfigResponse (Maybe SecurityConfigDetail) Source #
Details about the updated security configuration.
updateSecurityConfigResponse_httpStatus :: Lens' UpdateSecurityConfigResponse Int Source #
The response's http status code.