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

Description

Updates the Amazon QuickSight settings in your Amazon Web Services account.

Synopsis

Creating a Request

data UpdateAccountSettings Source #

See: newUpdateAccountSettings smart constructor.

Constructors

UpdateAccountSettings' 

Fields

  • notificationEmail :: Maybe Text

    The email address that you want Amazon QuickSight to send notifications to regarding your Amazon Web Services account or Amazon QuickSight subscription.

  • terminationProtectionEnabled :: Maybe Bool

    A boolean value that determines whether or not an Amazon QuickSight account can be deleted. A True value doesn't allow the account to be deleted and results in an error message if a user tries to make a DeleteAccountSubscription request. A False value will allow the account to be deleted.

  • awsAccountId :: Text

    The ID for the Amazon Web Services account that contains the Amazon QuickSight settings that you want to list.

  • defaultNamespace :: Text

    The default namespace for this Amazon Web Services account. Currently, the default is default. Identity and Access Management (IAM) users that register for the first time with Amazon QuickSight provide an email address that becomes associated with the default namespace.

Instances

Instances details
ToJSON UpdateAccountSettings Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateAccountSettings

ToHeaders UpdateAccountSettings Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateAccountSettings

ToPath UpdateAccountSettings Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateAccountSettings

ToQuery UpdateAccountSettings Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateAccountSettings

AWSRequest UpdateAccountSettings Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateAccountSettings

Associated Types

type AWSResponse UpdateAccountSettings #

Generic UpdateAccountSettings Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateAccountSettings

Associated Types

type Rep UpdateAccountSettings :: Type -> Type #

Read UpdateAccountSettings Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateAccountSettings

Show UpdateAccountSettings Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateAccountSettings

NFData UpdateAccountSettings Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateAccountSettings

Methods

rnf :: UpdateAccountSettings -> () #

Eq UpdateAccountSettings Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateAccountSettings

Hashable UpdateAccountSettings Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateAccountSettings

type AWSResponse UpdateAccountSettings Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateAccountSettings

type Rep UpdateAccountSettings Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateAccountSettings

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

newUpdateAccountSettings Source #

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

UpdateAccountSettings, updateAccountSettings_notificationEmail - The email address that you want Amazon QuickSight to send notifications to regarding your Amazon Web Services account or Amazon QuickSight subscription.

UpdateAccountSettings, updateAccountSettings_terminationProtectionEnabled - A boolean value that determines whether or not an Amazon QuickSight account can be deleted. A True value doesn't allow the account to be deleted and results in an error message if a user tries to make a DeleteAccountSubscription request. A False value will allow the account to be deleted.

UpdateAccountSettings, updateAccountSettings_awsAccountId - The ID for the Amazon Web Services account that contains the Amazon QuickSight settings that you want to list.

UpdateAccountSettings, updateAccountSettings_defaultNamespace - The default namespace for this Amazon Web Services account. Currently, the default is default. Identity and Access Management (IAM) users that register for the first time with Amazon QuickSight provide an email address that becomes associated with the default namespace.

Request Lenses

updateAccountSettings_notificationEmail :: Lens' UpdateAccountSettings (Maybe Text) Source #

The email address that you want Amazon QuickSight to send notifications to regarding your Amazon Web Services account or Amazon QuickSight subscription.

updateAccountSettings_terminationProtectionEnabled :: Lens' UpdateAccountSettings (Maybe Bool) Source #

A boolean value that determines whether or not an Amazon QuickSight account can be deleted. A True value doesn't allow the account to be deleted and results in an error message if a user tries to make a DeleteAccountSubscription request. A False value will allow the account to be deleted.

updateAccountSettings_awsAccountId :: Lens' UpdateAccountSettings Text Source #

The ID for the Amazon Web Services account that contains the Amazon QuickSight settings that you want to list.

updateAccountSettings_defaultNamespace :: Lens' UpdateAccountSettings Text Source #

The default namespace for this Amazon Web Services account. Currently, the default is default. Identity and Access Management (IAM) users that register for the first time with Amazon QuickSight provide an email address that becomes associated with the default namespace.

Destructuring the Response

data UpdateAccountSettingsResponse Source #

See: newUpdateAccountSettingsResponse smart constructor.

Constructors

UpdateAccountSettingsResponse' 

Fields

Instances

Instances details
Generic UpdateAccountSettingsResponse Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateAccountSettings

Associated Types

type Rep UpdateAccountSettingsResponse :: Type -> Type #

Read UpdateAccountSettingsResponse Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateAccountSettings

Show UpdateAccountSettingsResponse Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateAccountSettings

NFData UpdateAccountSettingsResponse Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateAccountSettings

Eq UpdateAccountSettingsResponse Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateAccountSettings

type Rep UpdateAccountSettingsResponse Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateAccountSettings

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

newUpdateAccountSettingsResponse Source #

Create a value of UpdateAccountSettingsResponse 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:UpdateAccountSettingsResponse', updateAccountSettingsResponse_requestId - The Amazon Web Services request ID for this operation.

UpdateAccountSettingsResponse, updateAccountSettingsResponse_status - The HTTP status of the request.

Response Lenses

updateAccountSettingsResponse_requestId :: Lens' UpdateAccountSettingsResponse (Maybe Text) Source #

The Amazon Web Services request ID for this operation.