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.

EventSubscription

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

type EventSubscription struct { CustSubscriptionId *string `type:"string"` CustomerAwsId *string `type:"string"` Enabled *bool `type:"boolean"` EventCategoriesList []*string `locationNameList:"EventCategory" type:"list"` EventSubscriptionArn *string `type:"string"` SnsTopicArn *string `type:"string"` SourceIdsList []*string `locationNameList:"SourceId" type:"list"` SourceType *string `type:"string"` Status *string `type:"string"` SubscriptionCreationTime *string `type:"string"` }

Contains the results of a successful invocation of the DescribeEventSubscriptions action.

CustSubscriptionId

Type: *string

The RDS event notification subscription Id.

CustomerAwsId

Type: *string

The AWS customer account associated with the RDS event notification subscription.

Enabled

Type: *bool

A Boolean value indicating if the subscription is enabled. True indicates the subscription is enabled.

EventCategoriesList

Type: []*string

A list of event categories for the RDS event notification subscription.

EventSubscriptionArn

Type: *string

The Amazon Resource Name (ARN) for the event subscription.

SnsTopicArn

Type: *string

The topic ARN of the RDS event notification subscription.

SourceIdsList

Type: []*string

A list of source IDs for the RDS event notification subscription.

SourceType

Type: *string

The source type for the RDS event notification subscription.

Status

Type: *string

The status of the RDS event notification subscription.

Constraints:

Can be one of the following: creating | modifying | deleting | active | no-permission | topic-not-exist

The status "no-permission" indicates that RDS no longer has permission to post to the SNS topic. The status "topic-not-exist" indicates that the topic was deleted after the subscription was created.

SubscriptionCreationTime

Type: *string

The time the RDS event notification subscription was created.

Method

GoString

func (s EventSubscription) GoString() string

GoString returns the string representation

SetCustSubscriptionId

func (s *EventSubscription) SetCustSubscriptionId(v string) *EventSubscription

SetCustSubscriptionId sets the CustSubscriptionId field's value.

SetCustomerAwsId

func (s *EventSubscription) SetCustomerAwsId(v string) *EventSubscription

SetCustomerAwsId sets the CustomerAwsId field's value.

SetEnabled

func (s *EventSubscription) SetEnabled(v bool) *EventSubscription

SetEnabled sets the Enabled field's value.

SetEventCategoriesList

func (s *EventSubscription) SetEventCategoriesList(v []*string) *EventSubscription

SetEventCategoriesList sets the EventCategoriesList field's value.

SetEventSubscriptionArn

func (s *EventSubscription) SetEventSubscriptionArn(v string) *EventSubscription

SetEventSubscriptionArn sets the EventSubscriptionArn field's value.

SetSnsTopicArn

func (s *EventSubscription) SetSnsTopicArn(v string) *EventSubscription

SetSnsTopicArn sets the SnsTopicArn field's value.

SetSourceIdsList

func (s *EventSubscription) SetSourceIdsList(v []*string) *EventSubscription

SetSourceIdsList sets the SourceIdsList field's value.

SetSourceType

func (s *EventSubscription) SetSourceType(v string) *EventSubscription

SetSourceType sets the SourceType field's value.

SetStatus

func (s *EventSubscription) SetStatus(v string) *EventSubscription

SetStatus sets the Status field's value.

SetSubscriptionCreationTime

func (s *EventSubscription) SetSubscriptionCreationTime(v string) *EventSubscription

SetSubscriptionCreationTime sets the SubscriptionCreationTime field's value.

String

func (s EventSubscription) String() string

String returns the string representation

On this page: