amazonka-backup-2.0: Amazon Backup 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.Backup.DescribeGlobalSettings

Description

Describes whether the Amazon Web Services account is opted in to cross-account backup. Returns an error if the account is not a member of an Organizations organization. Example: describe-global-settings --region us-west-2

Synopsis

Creating a Request

data DescribeGlobalSettings Source #

See: newDescribeGlobalSettings smart constructor.

Instances

Instances details
ToHeaders DescribeGlobalSettings Source # 
Instance details

Defined in Amazonka.Backup.DescribeGlobalSettings

ToPath DescribeGlobalSettings Source # 
Instance details

Defined in Amazonka.Backup.DescribeGlobalSettings

ToQuery DescribeGlobalSettings Source # 
Instance details

Defined in Amazonka.Backup.DescribeGlobalSettings

AWSRequest DescribeGlobalSettings Source # 
Instance details

Defined in Amazonka.Backup.DescribeGlobalSettings

Associated Types

type AWSResponse DescribeGlobalSettings #

Generic DescribeGlobalSettings Source # 
Instance details

Defined in Amazonka.Backup.DescribeGlobalSettings

Associated Types

type Rep DescribeGlobalSettings :: Type -> Type #

Read DescribeGlobalSettings Source # 
Instance details

Defined in Amazonka.Backup.DescribeGlobalSettings

Show DescribeGlobalSettings Source # 
Instance details

Defined in Amazonka.Backup.DescribeGlobalSettings

NFData DescribeGlobalSettings Source # 
Instance details

Defined in Amazonka.Backup.DescribeGlobalSettings

Methods

rnf :: DescribeGlobalSettings -> () #

Eq DescribeGlobalSettings Source # 
Instance details

Defined in Amazonka.Backup.DescribeGlobalSettings

Hashable DescribeGlobalSettings Source # 
Instance details

Defined in Amazonka.Backup.DescribeGlobalSettings

type AWSResponse DescribeGlobalSettings Source # 
Instance details

Defined in Amazonka.Backup.DescribeGlobalSettings

type Rep DescribeGlobalSettings Source # 
Instance details

Defined in Amazonka.Backup.DescribeGlobalSettings

type Rep DescribeGlobalSettings = D1 ('MetaData "DescribeGlobalSettings" "Amazonka.Backup.DescribeGlobalSettings" "amazonka-backup-2.0-LovIt41tphM6jvgQJhTyRf" 'False) (C1 ('MetaCons "DescribeGlobalSettings'" 'PrefixI 'False) (U1 :: Type -> Type))

newDescribeGlobalSettings :: DescribeGlobalSettings Source #

Create a value of DescribeGlobalSettings with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

Destructuring the Response

data DescribeGlobalSettingsResponse Source #

See: newDescribeGlobalSettingsResponse smart constructor.

Constructors

DescribeGlobalSettingsResponse' 

Fields

  • globalSettings :: Maybe (HashMap Text Text)

    The status of the flag isCrossAccountBackupEnabled.

  • lastUpdateTime :: Maybe POSIX

    The date and time that the flag isCrossAccountBackupEnabled was last updated. This update is in Unix format and Coordinated Universal Time (UTC). The value of LastUpdateTime is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic DescribeGlobalSettingsResponse Source # 
Instance details

Defined in Amazonka.Backup.DescribeGlobalSettings

Associated Types

type Rep DescribeGlobalSettingsResponse :: Type -> Type #

Read DescribeGlobalSettingsResponse Source # 
Instance details

Defined in Amazonka.Backup.DescribeGlobalSettings

Show DescribeGlobalSettingsResponse Source # 
Instance details

Defined in Amazonka.Backup.DescribeGlobalSettings

NFData DescribeGlobalSettingsResponse Source # 
Instance details

Defined in Amazonka.Backup.DescribeGlobalSettings

Eq DescribeGlobalSettingsResponse Source # 
Instance details

Defined in Amazonka.Backup.DescribeGlobalSettings

type Rep DescribeGlobalSettingsResponse Source # 
Instance details

Defined in Amazonka.Backup.DescribeGlobalSettings

type Rep DescribeGlobalSettingsResponse = D1 ('MetaData "DescribeGlobalSettingsResponse" "Amazonka.Backup.DescribeGlobalSettings" "amazonka-backup-2.0-LovIt41tphM6jvgQJhTyRf" 'False) (C1 ('MetaCons "DescribeGlobalSettingsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "globalSettings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: (S1 ('MetaSel ('Just "lastUpdateTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newDescribeGlobalSettingsResponse Source #

Create a value of DescribeGlobalSettingsResponse 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:globalSettings:DescribeGlobalSettingsResponse', describeGlobalSettingsResponse_globalSettings - The status of the flag isCrossAccountBackupEnabled.

$sel:lastUpdateTime:DescribeGlobalSettingsResponse', describeGlobalSettingsResponse_lastUpdateTime - The date and time that the flag isCrossAccountBackupEnabled was last updated. This update is in Unix format and Coordinated Universal Time (UTC). The value of LastUpdateTime is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.

$sel:httpStatus:DescribeGlobalSettingsResponse', describeGlobalSettingsResponse_httpStatus - The response's http status code.

Response Lenses

describeGlobalSettingsResponse_lastUpdateTime :: Lens' DescribeGlobalSettingsResponse (Maybe UTCTime) Source #

The date and time that the flag isCrossAccountBackupEnabled was last updated. This update is in Unix format and Coordinated Universal Time (UTC). The value of LastUpdateTime is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.