libZSservicesZSamazonka-backupZSamazonka-backup
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.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
Eq DescribeGlobalSettings Source # 
Instance details

Defined in Amazonka.Backup.DescribeGlobalSettings

Read DescribeGlobalSettings Source # 
Instance details

Defined in Amazonka.Backup.DescribeGlobalSettings

Show DescribeGlobalSettings Source # 
Instance details

Defined in Amazonka.Backup.DescribeGlobalSettings

Generic DescribeGlobalSettings Source # 
Instance details

Defined in Amazonka.Backup.DescribeGlobalSettings

Associated Types

type Rep DescribeGlobalSettings :: Type -> Type #

NFData DescribeGlobalSettings Source # 
Instance details

Defined in Amazonka.Backup.DescribeGlobalSettings

Methods

rnf :: DescribeGlobalSettings -> () #

Hashable DescribeGlobalSettings Source # 
Instance details

Defined in Amazonka.Backup.DescribeGlobalSettings

AWSRequest DescribeGlobalSettings Source # 
Instance details

Defined in Amazonka.Backup.DescribeGlobalSettings

Associated Types

type AWSResponse DescribeGlobalSettings #

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

type Rep DescribeGlobalSettings Source # 
Instance details

Defined in Amazonka.Backup.DescribeGlobalSettings

type Rep DescribeGlobalSettings = D1 ('MetaData "DescribeGlobalSettings" "Amazonka.Backup.DescribeGlobalSettings" "libZSservicesZSamazonka-backupZSamazonka-backup" 'False) (C1 ('MetaCons "DescribeGlobalSettings'" 'PrefixI 'False) (U1 :: Type -> Type))
type AWSResponse DescribeGlobalSettings Source # 
Instance details

Defined in Amazonka.Backup.DescribeGlobalSettings

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
Eq DescribeGlobalSettingsResponse Source # 
Instance details

Defined in Amazonka.Backup.DescribeGlobalSettings

Read DescribeGlobalSettingsResponse Source # 
Instance details

Defined in Amazonka.Backup.DescribeGlobalSettings

Show DescribeGlobalSettingsResponse Source # 
Instance details

Defined in Amazonka.Backup.DescribeGlobalSettings

Generic DescribeGlobalSettingsResponse Source # 
Instance details

Defined in Amazonka.Backup.DescribeGlobalSettings

Associated Types

type Rep DescribeGlobalSettingsResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-backupZSamazonka-backup" '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.