| 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.CreateSecurityConfig
Description
Specifies a security configuration for OpenSearch Serverless. For more information, see SAML authentication for Amazon OpenSearch Serverless.
Synopsis
- data CreateSecurityConfig = CreateSecurityConfig' {}
- newCreateSecurityConfig :: Text -> SecurityConfigType -> CreateSecurityConfig
- createSecurityConfig_clientToken :: Lens' CreateSecurityConfig (Maybe Text)
- createSecurityConfig_description :: Lens' CreateSecurityConfig (Maybe Text)
- createSecurityConfig_samlOptions :: Lens' CreateSecurityConfig (Maybe SamlConfigOptions)
- createSecurityConfig_name :: Lens' CreateSecurityConfig Text
- createSecurityConfig_type :: Lens' CreateSecurityConfig SecurityConfigType
- data CreateSecurityConfigResponse = CreateSecurityConfigResponse' {}
- newCreateSecurityConfigResponse :: Int -> CreateSecurityConfigResponse
- createSecurityConfigResponse_securityConfigDetail :: Lens' CreateSecurityConfigResponse (Maybe SecurityConfigDetail)
- createSecurityConfigResponse_httpStatus :: Lens' CreateSecurityConfigResponse Int
Creating a Request
data CreateSecurityConfig Source #
See: newCreateSecurityConfig smart constructor.
Constructors
| CreateSecurityConfig' | |
Fields
| |
Instances
newCreateSecurityConfig Source #
Arguments
| :: Text | |
| -> SecurityConfigType | |
| -> CreateSecurityConfig |
Create a value of CreateSecurityConfig 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:CreateSecurityConfig', createSecurityConfig_clientToken - Unique, case-sensitive identifier to ensure idempotency of the request.
CreateSecurityConfig, createSecurityConfig_description - A description of the security configuration.
CreateSecurityConfig, createSecurityConfig_samlOptions - Describes SAML options in in the form of a key-value map.
CreateSecurityConfig, createSecurityConfig_name - The name of the security configuration.
CreateSecurityConfig, createSecurityConfig_type - The type of security configuration.
Request Lenses
createSecurityConfig_clientToken :: Lens' CreateSecurityConfig (Maybe Text) Source #
Unique, case-sensitive identifier to ensure idempotency of the request.
createSecurityConfig_description :: Lens' CreateSecurityConfig (Maybe Text) Source #
A description of the security configuration.
createSecurityConfig_samlOptions :: Lens' CreateSecurityConfig (Maybe SamlConfigOptions) Source #
Describes SAML options in in the form of a key-value map.
createSecurityConfig_name :: Lens' CreateSecurityConfig Text Source #
The name of the security configuration.
createSecurityConfig_type :: Lens' CreateSecurityConfig SecurityConfigType Source #
The type of security configuration.
Destructuring the Response
data CreateSecurityConfigResponse Source #
See: newCreateSecurityConfigResponse smart constructor.
Constructors
| CreateSecurityConfigResponse' | |
Fields
| |
Instances
newCreateSecurityConfigResponse Source #
Create a value of CreateSecurityConfigResponse 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:CreateSecurityConfigResponse', createSecurityConfigResponse_securityConfigDetail - Details about the created security configuration.
$sel:httpStatus:CreateSecurityConfigResponse', createSecurityConfigResponse_httpStatus - The response's http status code.
Response Lenses
createSecurityConfigResponse_securityConfigDetail :: Lens' CreateSecurityConfigResponse (Maybe SecurityConfigDetail) Source #
Details about the created security configuration.
createSecurityConfigResponse_httpStatus :: Lens' CreateSecurityConfigResponse Int Source #
The response's http status code.