Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
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_backupVaultArn :: Lens' GetBackupVaultNotificationsResponse (Maybe Text)
- getBackupVaultNotificationsResponse_backupVaultEvents :: Lens' GetBackupVaultNotificationsResponse (Maybe [BackupVaultEvent])
- getBackupVaultNotificationsResponse_backupVaultName :: Lens' GetBackupVaultNotificationsResponse (Maybe Text)
- getBackupVaultNotificationsResponse_sNSTopicArn :: Lens' GetBackupVaultNotificationsResponse (Maybe Text)
- 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:
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:
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
.
getBackupVaultNotificationsResponse_httpStatus :: Lens' GetBackupVaultNotificationsResponse Int Source #
The response's http status code.