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.UpdateSecurityPolicy

Description

Updates an OpenSearch Serverless security policy. For more information, see Network access for Amazon OpenSearch Serverless and Encryption at rest for Amazon OpenSearch Serverless.

Synopsis

Creating a Request

data UpdateSecurityPolicy Source #

See: newUpdateSecurityPolicy smart constructor.

Constructors

UpdateSecurityPolicy' 

Fields

Instances

Instances details
ToJSON UpdateSecurityPolicy Source # 
Instance details

Defined in Amazonka.OpenSearchServerless.UpdateSecurityPolicy

ToHeaders UpdateSecurityPolicy Source # 
Instance details

Defined in Amazonka.OpenSearchServerless.UpdateSecurityPolicy

ToPath UpdateSecurityPolicy Source # 
Instance details

Defined in Amazonka.OpenSearchServerless.UpdateSecurityPolicy

ToQuery UpdateSecurityPolicy Source # 
Instance details

Defined in Amazonka.OpenSearchServerless.UpdateSecurityPolicy

AWSRequest UpdateSecurityPolicy Source # 
Instance details

Defined in Amazonka.OpenSearchServerless.UpdateSecurityPolicy

Associated Types

type AWSResponse UpdateSecurityPolicy #

Generic UpdateSecurityPolicy Source # 
Instance details

Defined in Amazonka.OpenSearchServerless.UpdateSecurityPolicy

Associated Types

type Rep UpdateSecurityPolicy :: Type -> Type #

Read UpdateSecurityPolicy Source # 
Instance details

Defined in Amazonka.OpenSearchServerless.UpdateSecurityPolicy

Show UpdateSecurityPolicy Source # 
Instance details

Defined in Amazonka.OpenSearchServerless.UpdateSecurityPolicy

NFData UpdateSecurityPolicy Source # 
Instance details

Defined in Amazonka.OpenSearchServerless.UpdateSecurityPolicy

Methods

rnf :: UpdateSecurityPolicy -> () #

Eq UpdateSecurityPolicy Source # 
Instance details

Defined in Amazonka.OpenSearchServerless.UpdateSecurityPolicy

Hashable UpdateSecurityPolicy Source # 
Instance details

Defined in Amazonka.OpenSearchServerless.UpdateSecurityPolicy

type AWSResponse UpdateSecurityPolicy Source # 
Instance details

Defined in Amazonka.OpenSearchServerless.UpdateSecurityPolicy

type Rep UpdateSecurityPolicy Source # 
Instance details

Defined in Amazonka.OpenSearchServerless.UpdateSecurityPolicy

type Rep UpdateSecurityPolicy = D1 ('MetaData "UpdateSecurityPolicy" "Amazonka.OpenSearchServerless.UpdateSecurityPolicy" "amazonka-opensearchserverless-2.0-HnbMYszmsxrAMKjbvSoFws" 'False) (C1 ('MetaCons "UpdateSecurityPolicy'" '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 "policy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "policyVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SecurityPolicyType)))))

newUpdateSecurityPolicy Source #

Create a value of UpdateSecurityPolicy 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:UpdateSecurityPolicy', updateSecurityPolicy_clientToken - Unique, case-sensitive identifier to ensure idempotency of the request.

UpdateSecurityPolicy, updateSecurityPolicy_description - A description of the policy. Typically used to store information about the permissions defined in the policy.

UpdateSecurityPolicy, updateSecurityPolicy_policy - The JSON policy document to use as the content for the new policy.

UpdateSecurityPolicy, updateSecurityPolicy_name - The name of the policy.

UpdateSecurityPolicy, updateSecurityPolicy_policyVersion - The version of the policy being updated.

UpdateSecurityPolicy, updateSecurityPolicy_type - The type of access policy.

Request Lenses

updateSecurityPolicy_clientToken :: Lens' UpdateSecurityPolicy (Maybe Text) Source #

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

updateSecurityPolicy_description :: Lens' UpdateSecurityPolicy (Maybe Text) Source #

A description of the policy. Typically used to store information about the permissions defined in the policy.

updateSecurityPolicy_policy :: Lens' UpdateSecurityPolicy (Maybe Text) Source #

The JSON policy document to use as the content for the new policy.

updateSecurityPolicy_policyVersion :: Lens' UpdateSecurityPolicy Text Source #

The version of the policy being updated.

Destructuring the Response

data UpdateSecurityPolicyResponse Source #

See: newUpdateSecurityPolicyResponse smart constructor.

Constructors

UpdateSecurityPolicyResponse' 

Fields

Instances

Instances details
Generic UpdateSecurityPolicyResponse Source # 
Instance details

Defined in Amazonka.OpenSearchServerless.UpdateSecurityPolicy

Associated Types

type Rep UpdateSecurityPolicyResponse :: Type -> Type #

Read UpdateSecurityPolicyResponse Source # 
Instance details

Defined in Amazonka.OpenSearchServerless.UpdateSecurityPolicy

Show UpdateSecurityPolicyResponse Source # 
Instance details

Defined in Amazonka.OpenSearchServerless.UpdateSecurityPolicy

NFData UpdateSecurityPolicyResponse Source # 
Instance details

Defined in Amazonka.OpenSearchServerless.UpdateSecurityPolicy

Eq UpdateSecurityPolicyResponse Source # 
Instance details

Defined in Amazonka.OpenSearchServerless.UpdateSecurityPolicy

type Rep UpdateSecurityPolicyResponse Source # 
Instance details

Defined in Amazonka.OpenSearchServerless.UpdateSecurityPolicy

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

newUpdateSecurityPolicyResponse Source #

Create a value of UpdateSecurityPolicyResponse 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:securityPolicyDetail:UpdateSecurityPolicyResponse', updateSecurityPolicyResponse_securityPolicyDetail - Details about the updated security policy.

$sel:httpStatus:UpdateSecurityPolicyResponse', updateSecurityPolicyResponse_httpStatus - The response's http status code.

Response Lenses