amazonka-quicksight-2.0: Amazon QuickSight 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.QuickSight.UpdateIpRestriction

Description

Updates the content and status of IP rules. To use this operation, you need to provide the entire map of rules. You can use the DescribeIpRestriction operation to get the current rule map.

Synopsis

Creating a Request

data UpdateIpRestriction Source #

See: newUpdateIpRestriction smart constructor.

Constructors

UpdateIpRestriction' 

Fields

Instances

Instances details
ToJSON UpdateIpRestriction Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateIpRestriction

ToHeaders UpdateIpRestriction Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateIpRestriction

ToPath UpdateIpRestriction Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateIpRestriction

ToQuery UpdateIpRestriction Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateIpRestriction

AWSRequest UpdateIpRestriction Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateIpRestriction

Associated Types

type AWSResponse UpdateIpRestriction #

Generic UpdateIpRestriction Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateIpRestriction

Associated Types

type Rep UpdateIpRestriction :: Type -> Type #

Read UpdateIpRestriction Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateIpRestriction

Show UpdateIpRestriction Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateIpRestriction

NFData UpdateIpRestriction Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateIpRestriction

Methods

rnf :: UpdateIpRestriction -> () #

Eq UpdateIpRestriction Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateIpRestriction

Hashable UpdateIpRestriction Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateIpRestriction

type AWSResponse UpdateIpRestriction Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateIpRestriction

type Rep UpdateIpRestriction Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateIpRestriction

type Rep UpdateIpRestriction = D1 ('MetaData "UpdateIpRestriction" "Amazonka.QuickSight.UpdateIpRestriction" "amazonka-quicksight-2.0-9P6nV9koXl6GTlt8ZjS7C9" 'False) (C1 ('MetaCons "UpdateIpRestriction'" 'PrefixI 'True) (S1 ('MetaSel ('Just "enabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "ipRestrictionRuleMap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "awsAccountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newUpdateIpRestriction Source #

Create a value of UpdateIpRestriction 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:enabled:UpdateIpRestriction', updateIpRestriction_enabled - A value that specifies whether IP rules are turned on.

$sel:ipRestrictionRuleMap:UpdateIpRestriction', updateIpRestriction_ipRestrictionRuleMap - A map that describes the updated IP rules with CIDR ranges and descriptions.

UpdateIpRestriction, updateIpRestriction_awsAccountId - The ID of the Amazon Web Services account that contains the IP rules.

Request Lenses

updateIpRestriction_enabled :: Lens' UpdateIpRestriction (Maybe Bool) Source #

A value that specifies whether IP rules are turned on.

updateIpRestriction_ipRestrictionRuleMap :: Lens' UpdateIpRestriction (Maybe (HashMap Text Text)) Source #

A map that describes the updated IP rules with CIDR ranges and descriptions.

updateIpRestriction_awsAccountId :: Lens' UpdateIpRestriction Text Source #

The ID of the Amazon Web Services account that contains the IP rules.

Destructuring the Response

data UpdateIpRestrictionResponse Source #

See: newUpdateIpRestrictionResponse smart constructor.

Constructors

UpdateIpRestrictionResponse' 

Fields

Instances

Instances details
Generic UpdateIpRestrictionResponse Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateIpRestriction

Associated Types

type Rep UpdateIpRestrictionResponse :: Type -> Type #

Read UpdateIpRestrictionResponse Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateIpRestriction

Show UpdateIpRestrictionResponse Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateIpRestriction

NFData UpdateIpRestrictionResponse Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateIpRestriction

Eq UpdateIpRestrictionResponse Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateIpRestriction

type Rep UpdateIpRestrictionResponse Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateIpRestriction

type Rep UpdateIpRestrictionResponse = D1 ('MetaData "UpdateIpRestrictionResponse" "Amazonka.QuickSight.UpdateIpRestriction" "amazonka-quicksight-2.0-9P6nV9koXl6GTlt8ZjS7C9" 'False) (C1 ('MetaCons "UpdateIpRestrictionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "awsAccountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "requestId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newUpdateIpRestrictionResponse Source #

Create a value of UpdateIpRestrictionResponse 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:

UpdateIpRestriction, updateIpRestrictionResponse_awsAccountId - The ID of the Amazon Web Services account that contains the IP rules.

$sel:requestId:UpdateIpRestrictionResponse', updateIpRestrictionResponse_requestId - The Amazon Web Services request ID for this operation.

UpdateIpRestrictionResponse, updateIpRestrictionResponse_status - The HTTP status of the request.

Response Lenses

updateIpRestrictionResponse_awsAccountId :: Lens' UpdateIpRestrictionResponse (Maybe Text) Source #

The ID of the Amazon Web Services account that contains the IP rules.

updateIpRestrictionResponse_requestId :: Lens' UpdateIpRestrictionResponse (Maybe Text) Source #

The Amazon Web Services request ID for this operation.