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

Defined in Amazonka.Backup.GetBackupVaultNotifications

Read GetBackupVaultNotifications Source # 
Instance details

Defined in Amazonka.Backup.GetBackupVaultNotifications

Show 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 #

NFData GetBackupVaultNotifications Source # 
Instance details

Defined in Amazonka.Backup.GetBackupVaultNotifications

Hashable GetBackupVaultNotifications Source # 
Instance details

Defined in Amazonka.Backup.GetBackupVaultNotifications

AWSRequest GetBackupVaultNotifications Source # 
Instance details

Defined in Amazonka.Backup.GetBackupVaultNotifications

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

type Rep GetBackupVaultNotifications Source # 
Instance details

Defined in Amazonka.Backup.GetBackupVaultNotifications

type Rep GetBackupVaultNotifications = D1 ('MetaData "GetBackupVaultNotifications" "Amazonka.Backup.GetBackupVaultNotifications" "libZSservicesZSamazonka-backupZSamazonka-backup" 'False) (C1 ('MetaCons "GetBackupVaultNotifications'" 'PrefixI 'True) (S1 ('MetaSel ('Just "backupVaultName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse GetBackupVaultNotifications Source # 
Instance details

Defined in Amazonka.Backup.GetBackupVaultNotifications

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:

$sel:backupVaultName: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

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

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

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

  • backupVaultEvents :: Maybe [BackupVaultEvent]

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

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq 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

Generic GetBackupVaultNotificationsResponse Source # 
Instance details

Defined in Amazonka.Backup.GetBackupVaultNotifications

NFData 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" "libZSservicesZSamazonka-backupZSamazonka-backup" 'False) (C1 ('MetaCons "GetBackupVaultNotificationsResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "sNSTopicArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "backupVaultArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "backupVaultName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "backupVaultEvents") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [BackupVaultEvent])) :*: 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:

$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:backupVaultArn: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:backupVaultName: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:backupVaultEvents:GetBackupVaultNotificationsResponse', getBackupVaultNotificationsResponse_backupVaultEvents - An array of events that indicate the status of jobs to back up resources to the backup vault.

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

Response Lenses

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.

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_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_backupVaultEvents :: Lens' GetBackupVaultNotificationsResponse (Maybe [BackupVaultEvent]) Source #

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