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.

CreateVpcEndpointConnectionNotificationInput

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

type CreateVpcEndpointConnectionNotificationInput struct { ClientToken *string `type:"string"` ConnectionEvents []*string `locationNameList:"item" type:"list" required:"true"` ConnectionNotificationArn *string `type:"string" required:"true"` DryRun *bool `type:"boolean"` ServiceId *string `type:"string"` VpcEndpointId *string `type:"string"` }

ClientToken

Type: *string

Unique, case-sensitive identifier you provide to ensure the idempotency of the request. For more information, see How to Ensure Idempotency (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html).

ConnectionEvents

Type: []*string

One or more endpoint events for which to receive notifications. Valid values are Accept, Connect, Delete, and Reject.

ConnectionEvents is a required field

ConnectionNotificationArn

Type: *string

The ARN of the SNS topic for the notifications.

ConnectionNotificationArn is a required field

DryRun

Type: *bool

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

ServiceId

Type: *string

The ID of the endpoint service.

VpcEndpointId

Type: *string

The ID of the endpoint.

Method

GoString

func (s CreateVpcEndpointConnectionNotificationInput) GoString() string

GoString returns the string representation

SetClientToken

func (s *CreateVpcEndpointConnectionNotificationInput) SetClientToken(v string) *CreateVpcEndpointConnectionNotificationInput

SetClientToken sets the ClientToken field's value.

SetConnectionEvents

func (s *CreateVpcEndpointConnectionNotificationInput) SetConnectionEvents(v []*string) *CreateVpcEndpointConnectionNotificationInput

SetConnectionEvents sets the ConnectionEvents field's value.

SetConnectionNotificationArn

func (s *CreateVpcEndpointConnectionNotificationInput) SetConnectionNotificationArn(v string) *CreateVpcEndpointConnectionNotificationInput

SetConnectionNotificationArn sets the ConnectionNotificationArn field's value.

SetDryRun

func (s *CreateVpcEndpointConnectionNotificationInput) SetDryRun(v bool) *CreateVpcEndpointConnectionNotificationInput

SetDryRun sets the DryRun field's value.

SetServiceId

func (s *CreateVpcEndpointConnectionNotificationInput) SetServiceId(v string) *CreateVpcEndpointConnectionNotificationInput

SetServiceId sets the ServiceId field's value.

SetVpcEndpointId

func (s *CreateVpcEndpointConnectionNotificationInput) SetVpcEndpointId(v string) *CreateVpcEndpointConnectionNotificationInput

SetVpcEndpointId sets the VpcEndpointId field's value.

String

func (s CreateVpcEndpointConnectionNotificationInput) String() string

String returns the string representation

Validate

func (s *CreateVpcEndpointConnectionNotificationInput) Validate() error

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

On this page: