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

Description

Returns event notifications for the specified backup vault.

Synopsis

Creating a Request

data GetBackupVaultNotifications Source #

See: newGetBackupVaultNotifications smart constructor.

Constructors

GetBackupVaultNotifications' 

Fields

  • backupVaultName :: Text

    The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the Amazon Web Services Region where they are created. They consist of lowercase letters, numbers, and hyphens.

Instances

Instances details
ToHeaders GetBackupVaultNotifications Source # 
Instance details

Defined in Amazonka.Backup.GetBackupVaultNotifications

ToPath GetBackupVaultNotifications Source # 
Instance details

Defined in Amazonka.Backup.GetBackupVaultNotifications

ToQuery GetBackupVaultNotifications Source # 
Instance details

Defined in Amazonka.Backup.GetBackupVaultNotifications

AWSRequest GetBackupVaultNotifications Source # 
Instance details

Defined in Amazonka.Backup.GetBackupVaultNotifications

Generic GetBackupVaultNotifications Source # 
Instance details

Defined in Amazonka.Backup.GetBackupVaultNotifications

Associated Types

type Rep GetBackupVaultNotifications :: Type -> Type #

Read GetBackupVaultNotifications Source # 
Instance details

Defined in Amazonka.Backup.GetBackupVaultNotifications

Show GetBackupVaultNotifications Source # 
Instance details

Defined in Amazonka.Backup.GetBackupVaultNotifications

NFData GetBackupVaultNotifications Source # 
Instance details

Defined in Amazonka.Backup.GetBackupVaultNotifications

Eq GetBackupVaultNotifications Source # 
Instance details

Defined in Amazonka.Backup.GetBackupVaultNotifications

Hashable GetBackupVaultNotifications Source # 
Instance details

Defined in Amazonka.Backup.GetBackupVaultNotifications

type AWSResponse GetBackupVaultNotifications Source # 
Instance details

Defined in Amazonka.Backup.GetBackupVaultNotifications

type Rep GetBackupVaultNotifications Source # 
Instance details

Defined in Amazonka.Backup.GetBackupVaultNotifications

type Rep GetBackupVaultNotifications = D1 ('MetaData "GetBackupVaultNotifications" "Amazonka.Backup.GetBackupVaultNotifications" "amazonka-backup-2.0-LovIt41tphM6jvgQJhTyRf" 'False) (C1 ('MetaCons "GetBackupVaultNotifications'" 'PrefixI 'True) (S1 ('MetaSel ('Just "backupVaultName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newGetBackupVaultNotifications Source #

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

GetBackupVaultNotifications, getBackupVaultNotifications_backupVaultName - The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the Amazon Web Services Region where they are created. They consist of lowercase letters, numbers, and hyphens.

Request Lenses

getBackupVaultNotifications_backupVaultName :: Lens' GetBackupVaultNotifications Text Source #

The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the Amazon Web Services Region where they are created. They consist of lowercase letters, numbers, and hyphens.

Destructuring the Response

data GetBackupVaultNotificationsResponse Source #

Constructors

GetBackupVaultNotificationsResponse' 

Fields

  • backupVaultArn :: Maybe Text

    An Amazon Resource Name (ARN) that uniquely identifies a backup vault; for example, arn:aws:backup:us-east-1:123456789012:vault:aBackupVault.

  • backupVaultEvents :: Maybe [BackupVaultEvent]

    An array of events that indicate the status of jobs to back up resources to the backup vault.

  • backupVaultName :: Maybe Text

    The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the Region where they are created. They consist of lowercase letters, numbers, and hyphens.

  • sNSTopicArn :: Maybe Text

    An ARN that uniquely identifies an Amazon Simple Notification Service (Amazon SNS) topic; for example, arn:aws:sns:us-west-2:111122223333:MyTopic.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic GetBackupVaultNotificationsResponse Source # 
Instance details

Defined in Amazonka.Backup.GetBackupVaultNotifications

Read GetBackupVaultNotificationsResponse Source # 
Instance details

Defined in Amazonka.Backup.GetBackupVaultNotifications

Show GetBackupVaultNotificationsResponse Source # 
Instance details

Defined in Amazonka.Backup.GetBackupVaultNotifications

NFData GetBackupVaultNotificationsResponse Source # 
Instance details

Defined in Amazonka.Backup.GetBackupVaultNotifications

Eq GetBackupVaultNotificationsResponse Source # 
Instance details

Defined in Amazonka.Backup.GetBackupVaultNotifications

type Rep GetBackupVaultNotificationsResponse Source # 
Instance details

Defined in Amazonka.Backup.GetBackupVaultNotifications

type Rep GetBackupVaultNotificationsResponse = D1 ('MetaData "GetBackupVaultNotificationsResponse" "Amazonka.Backup.GetBackupVaultNotifications" "amazonka-backup-2.0-LovIt41tphM6jvgQJhTyRf" 'False) (C1 ('MetaCons "GetBackupVaultNotificationsResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "backupVaultArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "backupVaultEvents") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [BackupVaultEvent]))) :*: (S1 ('MetaSel ('Just "backupVaultName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "sNSTopicArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

newGetBackupVaultNotificationsResponse Source #

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

GetBackupVaultNotificationsResponse, getBackupVaultNotificationsResponse_backupVaultArn - An Amazon Resource Name (ARN) that uniquely identifies a backup vault; for example, arn:aws:backup:us-east-1:123456789012:vault:aBackupVault.

$sel:backupVaultEvents:GetBackupVaultNotificationsResponse', getBackupVaultNotificationsResponse_backupVaultEvents - An array of events that indicate the status of jobs to back up resources to the backup vault.

GetBackupVaultNotifications, getBackupVaultNotificationsResponse_backupVaultName - The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the Region where they are created. They consist of lowercase letters, numbers, and hyphens.

$sel:sNSTopicArn:GetBackupVaultNotificationsResponse', getBackupVaultNotificationsResponse_sNSTopicArn - An ARN that uniquely identifies an Amazon Simple Notification Service (Amazon SNS) topic; for example, arn:aws:sns:us-west-2:111122223333:MyTopic.

$sel:httpStatus:GetBackupVaultNotificationsResponse', getBackupVaultNotificationsResponse_httpStatus - The response's http status code.

Response Lenses

getBackupVaultNotificationsResponse_backupVaultArn :: Lens' GetBackupVaultNotificationsResponse (Maybe Text) Source #

An Amazon Resource Name (ARN) that uniquely identifies a backup vault; for example, arn:aws:backup:us-east-1:123456789012:vault:aBackupVault.

getBackupVaultNotificationsResponse_backupVaultEvents :: Lens' GetBackupVaultNotificationsResponse (Maybe [BackupVaultEvent]) Source #

An array of events that indicate the status of jobs to back up resources to the backup vault.

getBackupVaultNotificationsResponse_backupVaultName :: Lens' GetBackupVaultNotificationsResponse (Maybe Text) Source #

The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the Region where they are created. They consist of lowercase letters, numbers, and hyphens.

getBackupVaultNotificationsResponse_sNSTopicArn :: Lens' GetBackupVaultNotificationsResponse (Maybe Text) Source #

An ARN that uniquely identifies an Amazon Simple Notification Service (Amazon SNS) topic; for example, arn:aws:sns:us-west-2:111122223333:MyTopic.