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.

SalesforceAction

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

type SalesforceAction struct { Token *string `locationName:"token" min:"40" type:"string" required:"true"` Url *string `locationName:"url" type:"string" required:"true"` }

Describes an action to write a message to a Salesforce IoT Cloud Input Stream.

Token

Type: *string

The token used to authenticate access to the Salesforce IoT Cloud Input Stream. The token is available from the Salesforce IoT Cloud platform after creation of the Input Stream.

Token is a required field

Url

Type: *string

The URL exposed by the Salesforce IoT Cloud Input Stream. The URL is available from the Salesforce IoT Cloud platform after creation of the Input Stream.

Url is a required field

Method

GoString

func (s SalesforceAction) GoString() string

GoString returns the string representation

SetToken

func (s *SalesforceAction) SetToken(v string) *SalesforceAction

SetToken sets the Token field's value.

SetUrl

func (s *SalesforceAction) SetUrl(v string) *SalesforceAction

SetUrl sets the Url field's value.

String

func (s SalesforceAction) String() string

String returns the string representation

Validate

func (s *SalesforceAction) Validate() error

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

On this page: