Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Returns event notifications for the specified backup vault.
Synopsis
- data GetBackupVaultNotifications = GetBackupVaultNotifications' {}
- newGetBackupVaultNotifications :: Text -> GetBackupVaultNotifications
- getBackupVaultNotifications_backupVaultName :: Lens' GetBackupVaultNotifications Text
- data GetBackupVaultNotificationsResponse = GetBackupVaultNotificationsResponse' {}
- newGetBackupVaultNotificationsResponse :: Int -> GetBackupVaultNotificationsResponse
- getBackupVaultNotificationsResponse_sNSTopicArn :: Lens' GetBackupVaultNotificationsResponse (Maybe Text)
- getBackupVaultNotificationsResponse_backupVaultArn :: Lens' GetBackupVaultNotificationsResponse (Maybe Text)
- getBackupVaultNotificationsResponse_backupVaultName :: Lens' GetBackupVaultNotificationsResponse (Maybe Text)
- getBackupVaultNotificationsResponse_backupVaultEvents :: Lens' GetBackupVaultNotificationsResponse (Maybe [BackupVaultEvent])
- getBackupVaultNotificationsResponse_httpStatus :: Lens' GetBackupVaultNotificationsResponse Int
Creating a Request
data GetBackupVaultNotifications Source #
See: newGetBackupVaultNotifications
smart constructor.
GetBackupVaultNotifications' | |
|
Instances
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 #
See: newGetBackupVaultNotificationsResponse
smart constructor.
GetBackupVaultNotificationsResponse' | |
|
Instances
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.
getBackupVaultNotificationsResponse_httpStatus :: Lens' GetBackupVaultNotificationsResponse Int Source #
The response's http status code.