libZSservicesZSamazonka-quicksightZSamazonka-quicksight
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.QuickSight.UpdateIpRestriction

Description

Updates content and status of IP Rules.

Synopsis

Creating a Request

data UpdateIpRestriction Source #

See: newUpdateIpRestriction smart constructor.

Constructors

UpdateIpRestriction' 

Fields

Instances

Instances details
Eq UpdateIpRestriction Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateIpRestriction

Read UpdateIpRestriction Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateIpRestriction

Show UpdateIpRestriction Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateIpRestriction

Generic UpdateIpRestriction Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateIpRestriction

Associated Types

type Rep UpdateIpRestriction :: Type -> Type #

NFData UpdateIpRestriction Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateIpRestriction

Methods

rnf :: UpdateIpRestriction -> () #

Hashable UpdateIpRestriction Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateIpRestriction

ToJSON UpdateIpRestriction Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateIpRestriction

AWSRequest UpdateIpRestriction Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateIpRestriction

Associated Types

type AWSResponse 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

type Rep UpdateIpRestriction Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateIpRestriction

type Rep UpdateIpRestriction = D1 ('MetaData "UpdateIpRestriction" "Amazonka.QuickSight.UpdateIpRestriction" "libZSservicesZSamazonka-quicksightZSamazonka-quicksight" 'False) (C1 ('MetaCons "UpdateIpRestriction'" 'PrefixI 'True) (S1 ('MetaSel ('Just "ipRestrictionRuleMap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: (S1 ('MetaSel ('Just "enabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "awsAccountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse UpdateIpRestriction Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateIpRestriction

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:ipRestrictionRuleMap:UpdateIpRestriction', updateIpRestriction_ipRestrictionRuleMap - Describes updated IP rules.

$sel:enabled:UpdateIpRestriction', updateIpRestriction_enabled - Whether or not IP rules are enabled.

$sel:awsAccountId:UpdateIpRestriction', updateIpRestriction_awsAccountId - Your AWS account ID.

Request Lenses

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

Whether or not IP rules are enabled.

Destructuring the Response

data UpdateIpRestrictionResponse Source #

See: newUpdateIpRestrictionResponse smart constructor.

Constructors

UpdateIpRestrictionResponse' 

Fields

Instances

Instances details
Eq UpdateIpRestrictionResponse Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateIpRestriction

Read UpdateIpRestrictionResponse Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateIpRestriction

Show UpdateIpRestrictionResponse Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateIpRestriction

Generic UpdateIpRestrictionResponse Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateIpRestriction

Associated Types

type Rep UpdateIpRestrictionResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-quicksightZSamazonka-quicksight" 'False) (C1 ('MetaCons "UpdateIpRestrictionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "requestId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "awsAccountId") '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:

$sel:requestId:UpdateIpRestrictionResponse', updateIpRestrictionResponse_requestId - The ID of the update request.

$sel:awsAccountId:UpdateIpRestriction', updateIpRestrictionResponse_awsAccountId - Your AWS account ID.

$sel:status:UpdateIpRestrictionResponse', updateIpRestrictionResponse_status - The status of the updated IP rules. A successful request returns a 200 code.

Response Lenses

updateIpRestrictionResponse_status :: Lens' UpdateIpRestrictionResponse Int Source #

The status of the updated IP rules. A successful request returns a 200 code.