amazonka-opensearchserverless-2.0: Amazon OpenSearch Service Serverless SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.OpenSearchServerless.UpdateSecurityConfig

Description

Updates a security configuration for OpenSearch Serverless. For more information, see SAML authentication for Amazon OpenSearch Serverless.

Synopsis

Creating a Request

data UpdateSecurityConfig Source #

See: newUpdateSecurityConfig smart constructor.

Constructors

UpdateSecurityConfig' 

Fields

  • clientToken :: Maybe Text

    Unique, case-sensitive identifier to ensure idempotency of the request.

  • description :: Maybe Text

    A description of the security configuration.

  • samlOptions :: Maybe SamlConfigOptions

    SAML options in in the form of a key-value map.

  • configVersion :: Text

    The version of the security configuration to be updated. You can find the most recent version of a security configuration using the GetSecurityPolicy command.

  • id :: Text

    The security configuration identifier. For SAML the ID will be saml/<accountId>/<idpProviderName>. For example, saml/123456789123/OKTADev.

Instances

Instances details
ToJSON UpdateSecurityConfig Source # 
Instance details

Defined in Amazonka.OpenSearchServerless.UpdateSecurityConfig

ToHeaders UpdateSecurityConfig Source # 
Instance details

Defined in Amazonka.OpenSearchServerless.UpdateSecurityConfig

ToPath UpdateSecurityConfig Source # 
Instance details

Defined in Amazonka.OpenSearchServerless.UpdateSecurityConfig

ToQuery UpdateSecurityConfig Source # 
Instance details

Defined in Amazonka.OpenSearchServerless.UpdateSecurityConfig

AWSRequest UpdateSecurityConfig Source # 
Instance details

Defined in Amazonka.OpenSearchServerless.UpdateSecurityConfig

Associated Types

type AWSResponse UpdateSecurityConfig #

Generic UpdateSecurityConfig Source # 
Instance details

Defined in Amazonka.OpenSearchServerless.UpdateSecurityConfig

Associated Types

type Rep UpdateSecurityConfig :: Type -> Type #

Read UpdateSecurityConfig Source # 
Instance details

Defined in Amazonka.OpenSearchServerless.UpdateSecurityConfig

Show UpdateSecurityConfig Source # 
Instance details

Defined in Amazonka.OpenSearchServerless.UpdateSecurityConfig

NFData UpdateSecurityConfig Source # 
Instance details

Defined in Amazonka.OpenSearchServerless.UpdateSecurityConfig

Methods

rnf :: UpdateSecurityConfig -> () #

Eq UpdateSecurityConfig Source # 
Instance details

Defined in Amazonka.OpenSearchServerless.UpdateSecurityConfig

Hashable UpdateSecurityConfig Source # 
Instance details

Defined in Amazonka.OpenSearchServerless.UpdateSecurityConfig

type AWSResponse UpdateSecurityConfig Source # 
Instance details

Defined in Amazonka.OpenSearchServerless.UpdateSecurityConfig

type Rep UpdateSecurityConfig Source # 
Instance details

Defined in Amazonka.OpenSearchServerless.UpdateSecurityConfig

type Rep UpdateSecurityConfig = D1 ('MetaData "UpdateSecurityConfig" "Amazonka.OpenSearchServerless.UpdateSecurityConfig" "amazonka-opensearchserverless-2.0-HnbMYszmsxrAMKjbvSoFws" 'False) (C1 ('MetaCons "UpdateSecurityConfig'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "clientToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "samlOptions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SamlConfigOptions)) :*: (S1 ('MetaSel ('Just "configVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newUpdateSecurityConfig Source #

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

Instances details
Generic UpdateSecurityConfigResponse Source # 
Instance details

Defined in Amazonka.OpenSearchServerless.UpdateSecurityConfig

Associated Types

type Rep UpdateSecurityConfigResponse :: Type -> Type #

Read UpdateSecurityConfigResponse Source # 
Instance details

Defined in Amazonka.OpenSearchServerless.UpdateSecurityConfig

Show UpdateSecurityConfigResponse Source # 
Instance details

Defined in Amazonka.OpenSearchServerless.UpdateSecurityConfig

NFData UpdateSecurityConfigResponse Source # 
Instance details

Defined in Amazonka.OpenSearchServerless.UpdateSecurityConfig

Eq UpdateSecurityConfigResponse Source # 
Instance details

Defined in Amazonka.OpenSearchServerless.UpdateSecurityConfig

type Rep UpdateSecurityConfigResponse Source # 
Instance details

Defined in Amazonka.OpenSearchServerless.UpdateSecurityConfig

type Rep UpdateSecurityConfigResponse = D1 ('MetaData "UpdateSecurityConfigResponse" "Amazonka.OpenSearchServerless.UpdateSecurityConfig" "amazonka-opensearchserverless-2.0-HnbMYszmsxrAMKjbvSoFws" 'False) (C1 ('MetaCons "UpdateSecurityConfigResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "securityConfigDetail") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SecurityConfigDetail)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

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