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.

VaultNotificationConfig

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

type VaultNotificationConfig struct { Events []*string `type:"list"` SNSTopic *string `type:"string"` }

Represents a vault's notification configuration.

Events

Type: []*string

A list of one or more events for which Amazon Glacier will send a notification to the specified Amazon SNS topic.

SNSTopic

Type: *string

The Amazon Simple Notification Service (Amazon SNS) topic Amazon Resource Name (ARN).

Method

GoString

func (s VaultNotificationConfig) GoString() string

GoString returns the string representation

SetEvents

func (s *VaultNotificationConfig) SetEvents(v []*string) *VaultNotificationConfig

SetEvents sets the Events field's value.

SetSNSTopic

func (s *VaultNotificationConfig) SetSNSTopic(v string) *VaultNotificationConfig

SetSNSTopic sets the SNSTopic field's value.

String

func (s VaultNotificationConfig) String() string

String returns the string representation

On this page: