AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

PutBackupVaultNotificationsInput

import "github.com/aws/aws-sdk-go/service/backup"

type PutBackupVaultNotificationsInput struct { BackupVaultEvents []*string `type:"list" required:"true"` BackupVaultName *string `location:"uri" locationName:"backupVaultName" type:"string" required:"true"` SNSTopicArn *string `type:"string" required:"true"` }

BackupVaultEvents

Type: []*string

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

BackupVaultEvents is a required field

BackupVaultName

Type: *string

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 AWS Region where they are created. They consist of lowercase letters, numbers, and hyphens.

BackupVaultName is a required field

SNSTopicArn

Type: *string

The Amazon Resource Name (ARN) that specifies the topic for a backup vault’s events; for example, arn:aws:sns:us-west-2:111122223333:MyVaultTopic.

SNSTopicArn is a required field

Method

GoString

func (s PutBackupVaultNotificationsInput) GoString() string

GoString returns the string representation

SetBackupVaultEvents

func (s *PutBackupVaultNotificationsInput) SetBackupVaultEvents(v []*string) *PutBackupVaultNotificationsInput

SetBackupVaultEvents sets the BackupVaultEvents field's value.

SetBackupVaultName

func (s *PutBackupVaultNotificationsInput) SetBackupVaultName(v string) *PutBackupVaultNotificationsInput

SetBackupVaultName sets the BackupVaultName field's value.

SetSNSTopicArn

func (s *PutBackupVaultNotificationsInput) SetSNSTopicArn(v string) *PutBackupVaultNotificationsInput

SetSNSTopicArn sets the SNSTopicArn field's value.

String

func (s PutBackupVaultNotificationsInput) String() string

String returns the string representation

Validate

func (s *PutBackupVaultNotificationsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

On this page: