iotevents

package
v1.34.25 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 16, 2020 License: Apache-2.0 Imports: 10 Imported by: 30

Documentation

Overview

Package iotevents provides the client and types for making API requests to AWS IoT Events.

AWS IoT Events monitors your equipment or device fleets for failures or changes in operation, and triggers actions when such events occur. You can use AWS IoT Events API operations to create, read, update, and delete inputs and detector models, and to list their versions.

See https://docs.aws.amazon.com/goto/WebAPI/iotevents-2018-07-27 for more information on this service.

See iotevents package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/iotevents/

Using the Client

To contact AWS IoT Events with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.

See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/

See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config

See the AWS IoT Events client IoTEvents for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/iotevents/#New

Index

Constants

View Source
const (
	// DetectorModelVersionStatusActive is a DetectorModelVersionStatus enum value
	DetectorModelVersionStatusActive = "ACTIVE"

	// DetectorModelVersionStatusActivating is a DetectorModelVersionStatus enum value
	DetectorModelVersionStatusActivating = "ACTIVATING"

	// DetectorModelVersionStatusInactive is a DetectorModelVersionStatus enum value
	DetectorModelVersionStatusInactive = "INACTIVE"

	// DetectorModelVersionStatusDeprecated is a DetectorModelVersionStatus enum value
	DetectorModelVersionStatusDeprecated = "DEPRECATED"

	// DetectorModelVersionStatusDraft is a DetectorModelVersionStatus enum value
	DetectorModelVersionStatusDraft = "DRAFT"

	// DetectorModelVersionStatusPaused is a DetectorModelVersionStatus enum value
	DetectorModelVersionStatusPaused = "PAUSED"

	// DetectorModelVersionStatusFailed is a DetectorModelVersionStatus enum value
	DetectorModelVersionStatusFailed = "FAILED"
)
View Source
const (
	// EvaluationMethodBatch is a EvaluationMethod enum value
	EvaluationMethodBatch = "BATCH"

	// EvaluationMethodSerial is a EvaluationMethod enum value
	EvaluationMethodSerial = "SERIAL"
)
View Source
const (
	// InputStatusCreating is a InputStatus enum value
	InputStatusCreating = "CREATING"

	// InputStatusUpdating is a InputStatus enum value
	InputStatusUpdating = "UPDATING"

	// InputStatusActive is a InputStatus enum value
	InputStatusActive = "ACTIVE"

	// InputStatusDeleting is a InputStatus enum value
	InputStatusDeleting = "DELETING"
)
View Source
const (
	// LoggingLevelError is a LoggingLevel enum value
	LoggingLevelError = "ERROR"

	// LoggingLevelInfo is a LoggingLevel enum value
	LoggingLevelInfo = "INFO"

	// LoggingLevelDebug is a LoggingLevel enum value
	LoggingLevelDebug = "DEBUG"
)
View Source
const (
	// PayloadTypeString is a PayloadType enum value
	PayloadTypeString = "STRING"

	// PayloadTypeJson is a PayloadType enum value
	PayloadTypeJson = "JSON"
)
View Source
const (

	// ErrCodeInternalFailureException for service response error code
	// "InternalFailureException".
	//
	// An internal failure occurred.
	ErrCodeInternalFailureException = "InternalFailureException"

	// ErrCodeInvalidRequestException for service response error code
	// "InvalidRequestException".
	//
	// The request was invalid.
	ErrCodeInvalidRequestException = "InvalidRequestException"

	// ErrCodeLimitExceededException for service response error code
	// "LimitExceededException".
	//
	// A limit was exceeded.
	ErrCodeLimitExceededException = "LimitExceededException"

	// ErrCodeResourceAlreadyExistsException for service response error code
	// "ResourceAlreadyExistsException".
	//
	// The resource already exists.
	ErrCodeResourceAlreadyExistsException = "ResourceAlreadyExistsException"

	// ErrCodeResourceInUseException for service response error code
	// "ResourceInUseException".
	//
	// The resource is in use.
	ErrCodeResourceInUseException = "ResourceInUseException"

	// ErrCodeResourceNotFoundException for service response error code
	// "ResourceNotFoundException".
	//
	// The resource was not found.
	ErrCodeResourceNotFoundException = "ResourceNotFoundException"

	// ErrCodeServiceUnavailableException for service response error code
	// "ServiceUnavailableException".
	//
	// The service is currently unavailable.
	ErrCodeServiceUnavailableException = "ServiceUnavailableException"

	// ErrCodeThrottlingException for service response error code
	// "ThrottlingException".
	//
	// The request could not be completed due to throttling.
	ErrCodeThrottlingException = "ThrottlingException"

	// ErrCodeUnsupportedOperationException for service response error code
	// "UnsupportedOperationException".
	//
	// The requested operation is not supported.
	ErrCodeUnsupportedOperationException = "UnsupportedOperationException"
)
View Source
const (
	ServiceName = "IoT Events" // Name of service.
	EndpointsID = "iotevents"  // ID to lookup a service endpoint with.
	ServiceID   = "IoT Events" // ServiceID is a unique identifier of a specific service.
)

Service information constants

Variables

This section is empty.

Functions

func DetectorModelVersionStatus_Values added in v1.34.3

func DetectorModelVersionStatus_Values() []string

DetectorModelVersionStatus_Values returns all elements of the DetectorModelVersionStatus enum

func EvaluationMethod_Values added in v1.34.3

func EvaluationMethod_Values() []string

EvaluationMethod_Values returns all elements of the EvaluationMethod enum

func InputStatus_Values added in v1.34.3

func InputStatus_Values() []string

InputStatus_Values returns all elements of the InputStatus enum

func LoggingLevel_Values added in v1.34.3

func LoggingLevel_Values() []string

LoggingLevel_Values returns all elements of the LoggingLevel enum

func PayloadType_Values added in v1.34.3

func PayloadType_Values() []string

PayloadType_Values returns all elements of the PayloadType enum

Types

type Action

type Action struct {

	// The name of the AWS IoT Events input where the data is sent.
	//
	// InputName is a required field
	InputName *string `locationName:"inputName" min:"1" type:"string" required:"true"`

	// You can configure the action payload when you send a message to an AWS IoT
	// Events input.
	Payload *Payload `locationName:"payload" type:"structure"`
	// contains filtered or unexported fields
}

Sends an AWS IoT Events input, passing in information about the detector model instance and the event that triggered the action.

func (Action) GoString

func (s Action) GoString() string

GoString returns the string representation

func (*Action) SetInputName added in v1.21.1

func (s *Action) SetInputName(v string) *Action

SetInputName sets the InputName field's value.

func (*Action) SetPayload added in v1.30.8

func (s *Action) SetPayload(v *Payload) *Action

SetPayload sets the Payload field's value.

func (Action) String

func (s Action) String() string

String returns the string representation

func (*Action) Validate

func (s *Action) Validate() error

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

type ActionData added in v1.23.0

type ActionData struct {

	// Information needed to clear the timer.
	ClearTimer *ClearTimerAction `locationName:"clearTimer" type:"structure"`

	// Writes to the DynamoDB table that you created. The default action payload
	// contains all attribute-value pairs that have the information about the detector
	// model instance and the event that triggered the action. You can also customize
	// the payload (https://docs.aws.amazon.com/iotevents/latest/apireference/API_Payload.html).
	// One column of the DynamoDB table receives all attribute-value pairs in the
	// payload that you specify. For more information, see Actions (https://docs.aws.amazon.com/iotevents/latest/developerguide/iotevents-event-actions.html)
	// in AWS IoT Events Developer Guide.
	DynamoDB *DynamoDBAction `locationName:"dynamoDB" type:"structure"`

	// Writes to the DynamoDB table that you created. The default action payload
	// contains all attribute-value pairs that have the information about the detector
	// model instance and the event that triggered the action. You can also customize
	// the payload (https://docs.aws.amazon.com/iotevents/latest/apireference/API_Payload.html).
	// A separate column of the DynamoDB table receives one attribute-value pair
	// in the payload that you specify. For more information, see Actions (https://docs.aws.amazon.com/iotevents/latest/developerguide/iotevents-event-actions.html)
	// in AWS IoT Events Developer Guide.
	DynamoDBv2 *DynamoDBv2Action `locationName:"dynamoDBv2" type:"structure"`

	// Sends information about the detector model instance and the event that triggered
	// the action to an Amazon Kinesis Data Firehose delivery stream.
	Firehose *FirehoseAction `locationName:"firehose" type:"structure"`

	// Sends AWS IoT Events input, which passes information about the detector model
	// instance and the event that triggered the action.
	IotEvents *Action `locationName:"iotEvents" type:"structure"`

	// Sends information about the detector model instance and the event that triggered
	// the action to an asset property in AWS IoT SiteWise .
	IotSiteWise *IotSiteWiseAction `locationName:"iotSiteWise" type:"structure"`

	// Publishes an MQTT message with the given topic to the AWS IoT message broker.
	IotTopicPublish *IotTopicPublishAction `locationName:"iotTopicPublish" type:"structure"`

	// Calls a Lambda function, passing in information about the detector model
	// instance and the event that triggered the action.
	Lambda *LambdaAction `locationName:"lambda" type:"structure"`

	// Information needed to reset the timer.
	ResetTimer *ResetTimerAction `locationName:"resetTimer" type:"structure"`

	// Information needed to set the timer.
	SetTimer *SetTimerAction `locationName:"setTimer" type:"structure"`

	// Sets a variable to a specified value.
	SetVariable *SetVariableAction `locationName:"setVariable" type:"structure"`

	// Sends an Amazon SNS message.
	Sns *SNSTopicPublishAction `locationName:"sns" type:"structure"`

	// Sends information about the detector model instance and the event that triggered
	// the action to an Amazon SQS queue.
	Sqs *SqsAction `locationName:"sqs" type:"structure"`
	// contains filtered or unexported fields
}

An action to be performed when the condition is TRUE.

func (ActionData) GoString added in v1.23.0

func (s ActionData) GoString() string

GoString returns the string representation

func (*ActionData) SetClearTimer added in v1.23.0

func (s *ActionData) SetClearTimer(v *ClearTimerAction) *ActionData

SetClearTimer sets the ClearTimer field's value.

func (*ActionData) SetDynamoDB added in v1.30.8

func (s *ActionData) SetDynamoDB(v *DynamoDBAction) *ActionData

SetDynamoDB sets the DynamoDB field's value.

func (*ActionData) SetDynamoDBv2 added in v1.30.8

func (s *ActionData) SetDynamoDBv2(v *DynamoDBv2Action) *ActionData

SetDynamoDBv2 sets the DynamoDBv2 field's value.

func (*ActionData) SetFirehose added in v1.23.0

func (s *ActionData) SetFirehose(v *FirehoseAction) *ActionData

SetFirehose sets the Firehose field's value.

func (*ActionData) SetIotEvents added in v1.23.0

func (s *ActionData) SetIotEvents(v *Action) *ActionData

SetIotEvents sets the IotEvents field's value.

func (*ActionData) SetIotSiteWise added in v1.30.10

func (s *ActionData) SetIotSiteWise(v *IotSiteWiseAction) *ActionData

SetIotSiteWise sets the IotSiteWise field's value.

func (*ActionData) SetIotTopicPublish added in v1.23.0

func (s *ActionData) SetIotTopicPublish(v *IotTopicPublishAction) *ActionData

SetIotTopicPublish sets the IotTopicPublish field's value.

func (*ActionData) SetLambda added in v1.23.0

func (s *ActionData) SetLambda(v *LambdaAction) *ActionData

SetLambda sets the Lambda field's value.

func (*ActionData) SetResetTimer added in v1.23.0

func (s *ActionData) SetResetTimer(v *ResetTimerAction) *ActionData

SetResetTimer sets the ResetTimer field's value.

func (*ActionData) SetSetTimer added in v1.23.0

func (s *ActionData) SetSetTimer(v *SetTimerAction) *ActionData

SetSetTimer sets the SetTimer field's value.

func (*ActionData) SetSetVariable added in v1.23.0

func (s *ActionData) SetSetVariable(v *SetVariableAction) *ActionData

SetSetVariable sets the SetVariable field's value.

func (*ActionData) SetSns added in v1.23.0

SetSns sets the Sns field's value.

func (*ActionData) SetSqs added in v1.23.0

func (s *ActionData) SetSqs(v *SqsAction) *ActionData

SetSqs sets the Sqs field's value.

func (ActionData) String added in v1.23.0

func (s ActionData) String() string

String returns the string representation

func (*ActionData) Validate added in v1.23.0

func (s *ActionData) Validate() error

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

type AssetPropertyTimestamp added in v1.30.10

type AssetPropertyTimestamp struct {

	// The nanosecond offset converted from timeInSeconds. The valid range is between
	// 0-999999999. You can also specify an expression.
	OffsetInNanos *string `locationName:"offsetInNanos" type:"string"`

	// The timestamp, in seconds, in the Unix epoch format. The valid range is between
	// 1-31556889864403199. You can also specify an expression.
	//
	// TimeInSeconds is a required field
	TimeInSeconds *string `locationName:"timeInSeconds" type:"string" required:"true"`
	// contains filtered or unexported fields
}

A structure that contains timestamp information. For more information, see TimeInNanos (https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_TimeInNanos.html) in the AWS IoT SiteWise API Reference.

For parameters that are string data type, you can specify the following options:

func (AssetPropertyTimestamp) GoString added in v1.30.10

func (s AssetPropertyTimestamp) GoString() string

GoString returns the string representation

func (*AssetPropertyTimestamp) SetOffsetInNanos added in v1.30.10

func (s *AssetPropertyTimestamp) SetOffsetInNanos(v string) *AssetPropertyTimestamp

SetOffsetInNanos sets the OffsetInNanos field's value.

func (*AssetPropertyTimestamp) SetTimeInSeconds added in v1.30.10

func (s *AssetPropertyTimestamp) SetTimeInSeconds(v string) *AssetPropertyTimestamp

SetTimeInSeconds sets the TimeInSeconds field's value.

func (AssetPropertyTimestamp) String added in v1.30.10

func (s AssetPropertyTimestamp) String() string

String returns the string representation

func (*AssetPropertyTimestamp) Validate added in v1.30.10

func (s *AssetPropertyTimestamp) Validate() error

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

type AssetPropertyValue added in v1.30.10

type AssetPropertyValue struct {

	// The quality of the asset property value. The value must be GOOD, BAD, or
	// UNCERTAIN. You can also specify an expression.
	Quality *string `locationName:"quality" type:"string"`

	// The timestamp associated with the asset property value. The default is the
	// current event time.
	Timestamp *AssetPropertyTimestamp `locationName:"timestamp" type:"structure"`

	// The value to send to an asset property.
	//
	// Value is a required field
	Value *AssetPropertyVariant `locationName:"value" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

A structure that contains value information. For more information, see AssetPropertyValue (https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_AssetPropertyValue.html) in the AWS IoT SiteWise API Reference.

For parameters that are string data type, you can specify the following options:

func (AssetPropertyValue) GoString added in v1.30.10

func (s AssetPropertyValue) GoString() string

GoString returns the string representation

func (*AssetPropertyValue) SetQuality added in v1.30.10

func (s *AssetPropertyValue) SetQuality(v string) *AssetPropertyValue

SetQuality sets the Quality field's value.

func (*AssetPropertyValue) SetTimestamp added in v1.30.10

SetTimestamp sets the Timestamp field's value.

func (*AssetPropertyValue) SetValue added in v1.30.10

SetValue sets the Value field's value.

func (AssetPropertyValue) String added in v1.30.10

func (s AssetPropertyValue) String() string

String returns the string representation

func (*AssetPropertyValue) Validate added in v1.30.10

func (s *AssetPropertyValue) Validate() error

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

type AssetPropertyVariant added in v1.30.10

type AssetPropertyVariant struct {

	// The asset property value is a Boolean value that must be TRUE or FALSE. You
	// can also specify an expression. If you use an expression, the evaluated result
	// should be a Boolean value.
	BooleanValue *string `locationName:"booleanValue" type:"string"`

	// The asset property value is a double. You can also specify an expression.
	// If you use an expression, the evaluated result should be a double.
	DoubleValue *string `locationName:"doubleValue" type:"string"`

	// The asset property value is an integer. You can also specify an expression.
	// If you use an expression, the evaluated result should be an integer.
	IntegerValue *string `locationName:"integerValue" type:"string"`

	// The asset property value is a string. You can also specify an expression.
	// If you use an expression, the evaluated result should be a string.
	StringValue *string `locationName:"stringValue" type:"string"`
	// contains filtered or unexported fields
}

A structure that contains an asset property value. For more information, see Variant (https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_Variant.html) in the AWS IoT SiteWise API Reference.

You must specify one of the following value types, depending on the dataType of the specified asset property. For more information, see AssetProperty (https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_AssetProperty.html) in the AWS IoT SiteWise API Reference.

For parameters that are string data type, you can specify the following options:

func (AssetPropertyVariant) GoString added in v1.30.10

func (s AssetPropertyVariant) GoString() string

GoString returns the string representation

func (*AssetPropertyVariant) SetBooleanValue added in v1.30.10

func (s *AssetPropertyVariant) SetBooleanValue(v string) *AssetPropertyVariant

SetBooleanValue sets the BooleanValue field's value.

func (*AssetPropertyVariant) SetDoubleValue added in v1.30.10

func (s *AssetPropertyVariant) SetDoubleValue(v string) *AssetPropertyVariant

SetDoubleValue sets the DoubleValue field's value.

func (*AssetPropertyVariant) SetIntegerValue added in v1.30.10

func (s *AssetPropertyVariant) SetIntegerValue(v string) *AssetPropertyVariant

SetIntegerValue sets the IntegerValue field's value.

func (*AssetPropertyVariant) SetStringValue added in v1.30.10

func (s *AssetPropertyVariant) SetStringValue(v string) *AssetPropertyVariant

SetStringValue sets the StringValue field's value.

func (AssetPropertyVariant) String added in v1.30.10

func (s AssetPropertyVariant) String() string

String returns the string representation

type Attribute

type Attribute struct {

	// An expression that specifies an attribute-value pair in a JSON structure.
	// Use this to specify an attribute from the JSON payload that is made available
	// by the input. Inputs are derived from messages sent to AWS IoT Events (BatchPutMessage).
	// Each such message contains a JSON payload. The attribute (and its paired
	// value) specified here are available for use in the condition expressions
	// used by detectors.
	//
	// Syntax: <field-name>.<field-name>...
	//
	// JsonPath is a required field
	JsonPath *string `locationName:"jsonPath" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

The attributes from the JSON payload that are made available by the input. Inputs are derived from messages sent to the AWS IoT Events system using BatchPutMessage. Each such message contains a JSON payload. Those attributes (and their paired values) specified here are available for use in the condition expressions used by detectors.

func (Attribute) GoString

func (s Attribute) GoString() string

GoString returns the string representation

func (*Attribute) SetJsonPath

func (s *Attribute) SetJsonPath(v string) *Attribute

SetJsonPath sets the JsonPath field's value.

func (Attribute) String

func (s Attribute) String() string

String returns the string representation

func (*Attribute) Validate

func (s *Attribute) Validate() error

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

type ClearTimerAction

type ClearTimerAction struct {

	// The name of the timer to clear.
	//
	// TimerName is a required field
	TimerName *string `locationName:"timerName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Information needed to clear the timer.

func (ClearTimerAction) GoString

func (s ClearTimerAction) GoString() string

GoString returns the string representation

func (*ClearTimerAction) SetTimerName

func (s *ClearTimerAction) SetTimerName(v string) *ClearTimerAction

SetTimerName sets the TimerName field's value.

func (ClearTimerAction) String

func (s ClearTimerAction) String() string

String returns the string representation

func (*ClearTimerAction) Validate

func (s *ClearTimerAction) Validate() error

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

type CreateDetectorModelInput

type CreateDetectorModelInput struct {

	// Information that defines how the detectors operate.
	//
	// DetectorModelDefinition is a required field
	DetectorModelDefinition *DetectorModelDefinition `locationName:"detectorModelDefinition" type:"structure" required:"true"`

	// A brief description of the detector model.
	DetectorModelDescription *string `locationName:"detectorModelDescription" type:"string"`

	// The name of the detector model.
	//
	// DetectorModelName is a required field
	DetectorModelName *string `locationName:"detectorModelName" min:"1" type:"string" required:"true"`

	// Information about the order in which events are evaluated and how actions
	// are executed.
	EvaluationMethod *string `locationName:"evaluationMethod" type:"string" enum:"EvaluationMethod"`

	// The input attribute key used to identify a device or system to create a detector
	// (an instance of the detector model) and then to route each input received
	// to the appropriate detector (instance). This parameter uses a JSON-path expression
	// in the message payload of each input to specify the attribute-value pair
	// that is used to identify the device associated with the input.
	Key *string `locationName:"key" min:"1" type:"string"`

	// The ARN of the role that grants permission to AWS IoT Events to perform its
	// operations.
	//
	// RoleArn is a required field
	RoleArn *string `locationName:"roleArn" min:"1" type:"string" required:"true"`

	// Metadata that can be used to manage the detector model.
	Tags []*Tag `locationName:"tags" type:"list"`
	// contains filtered or unexported fields
}

func (CreateDetectorModelInput) GoString

func (s CreateDetectorModelInput) GoString() string

GoString returns the string representation

func (*CreateDetectorModelInput) SetDetectorModelDefinition

SetDetectorModelDefinition sets the DetectorModelDefinition field's value.

func (*CreateDetectorModelInput) SetDetectorModelDescription

func (s *CreateDetectorModelInput) SetDetectorModelDescription(v string) *CreateDetectorModelInput

SetDetectorModelDescription sets the DetectorModelDescription field's value.

func (*CreateDetectorModelInput) SetDetectorModelName

func (s *CreateDetectorModelInput) SetDetectorModelName(v string) *CreateDetectorModelInput

SetDetectorModelName sets the DetectorModelName field's value.

func (*CreateDetectorModelInput) SetEvaluationMethod added in v1.25.17

func (s *CreateDetectorModelInput) SetEvaluationMethod(v string) *CreateDetectorModelInput

SetEvaluationMethod sets the EvaluationMethod field's value.

func (*CreateDetectorModelInput) SetKey

SetKey sets the Key field's value.

func (*CreateDetectorModelInput) SetRoleArn

SetRoleArn sets the RoleArn field's value.

func (*CreateDetectorModelInput) SetTags

SetTags sets the Tags field's value.

func (CreateDetectorModelInput) String

func (s CreateDetectorModelInput) String() string

String returns the string representation

func (*CreateDetectorModelInput) Validate

func (s *CreateDetectorModelInput) Validate() error

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

type CreateDetectorModelOutput

type CreateDetectorModelOutput struct {

	// Information about how the detector model is configured.
	DetectorModelConfiguration *DetectorModelConfiguration `locationName:"detectorModelConfiguration" type:"structure"`
	// contains filtered or unexported fields
}

func (CreateDetectorModelOutput) GoString

func (s CreateDetectorModelOutput) GoString() string

GoString returns the string representation

func (*CreateDetectorModelOutput) SetDetectorModelConfiguration

SetDetectorModelConfiguration sets the DetectorModelConfiguration field's value.

func (CreateDetectorModelOutput) String

func (s CreateDetectorModelOutput) String() string

String returns the string representation

type CreateInputInput

type CreateInputInput struct {

	// The definition of the input.
	//
	// InputDefinition is a required field
	InputDefinition *InputDefinition `locationName:"inputDefinition" type:"structure" required:"true"`

	// A brief description of the input.
	InputDescription *string `locationName:"inputDescription" type:"string"`

	// The name you want to give to the input.
	//
	// InputName is a required field
	InputName *string `locationName:"inputName" min:"1" type:"string" required:"true"`

	// Metadata that can be used to manage the input.
	Tags []*Tag `locationName:"tags" type:"list"`
	// contains filtered or unexported fields
}

func (CreateInputInput) GoString

func (s CreateInputInput) GoString() string

GoString returns the string representation

func (*CreateInputInput) SetInputDefinition

func (s *CreateInputInput) SetInputDefinition(v *InputDefinition) *CreateInputInput

SetInputDefinition sets the InputDefinition field's value.

func (*CreateInputInput) SetInputDescription

func (s *CreateInputInput) SetInputDescription(v string) *CreateInputInput

SetInputDescription sets the InputDescription field's value.

func (*CreateInputInput) SetInputName

func (s *CreateInputInput) SetInputName(v string) *CreateInputInput

SetInputName sets the InputName field's value.

func (*CreateInputInput) SetTags

func (s *CreateInputInput) SetTags(v []*Tag) *CreateInputInput

SetTags sets the Tags field's value.

func (CreateInputInput) String

func (s CreateInputInput) String() string

String returns the string representation

func (*CreateInputInput) Validate

func (s *CreateInputInput) Validate() error

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

type CreateInputOutput

type CreateInputOutput struct {

	// Information about the configuration of the input.
	InputConfiguration *InputConfiguration `locationName:"inputConfiguration" type:"structure"`
	// contains filtered or unexported fields
}

func (CreateInputOutput) GoString

func (s CreateInputOutput) GoString() string

GoString returns the string representation

func (*CreateInputOutput) SetInputConfiguration

func (s *CreateInputOutput) SetInputConfiguration(v *InputConfiguration) *CreateInputOutput

SetInputConfiguration sets the InputConfiguration field's value.

func (CreateInputOutput) String

func (s CreateInputOutput) String() string

String returns the string representation

type DeleteDetectorModelInput

type DeleteDetectorModelInput struct {

	// The name of the detector model to be deleted.
	//
	// DetectorModelName is a required field
	DetectorModelName *string `location:"uri" locationName:"detectorModelName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteDetectorModelInput) GoString

func (s DeleteDetectorModelInput) GoString() string

GoString returns the string representation

func (*DeleteDetectorModelInput) SetDetectorModelName

func (s *DeleteDetectorModelInput) SetDetectorModelName(v string) *DeleteDetectorModelInput

SetDetectorModelName sets the DetectorModelName field's value.

func (DeleteDetectorModelInput) String

func (s DeleteDetectorModelInput) String() string

String returns the string representation

func (*DeleteDetectorModelInput) Validate

func (s *DeleteDetectorModelInput) Validate() error

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

type DeleteDetectorModelOutput

type DeleteDetectorModelOutput struct {
	// contains filtered or unexported fields
}

func (DeleteDetectorModelOutput) GoString

func (s DeleteDetectorModelOutput) GoString() string

GoString returns the string representation

func (DeleteDetectorModelOutput) String

func (s DeleteDetectorModelOutput) String() string

String returns the string representation

type DeleteInputInput

type DeleteInputInput struct {

	// The name of the input to delete.
	//
	// InputName is a required field
	InputName *string `location:"uri" locationName:"inputName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteInputInput) GoString

func (s DeleteInputInput) GoString() string

GoString returns the string representation

func (*DeleteInputInput) SetInputName

func (s *DeleteInputInput) SetInputName(v string) *DeleteInputInput

SetInputName sets the InputName field's value.

func (DeleteInputInput) String

func (s DeleteInputInput) String() string

String returns the string representation

func (*DeleteInputInput) Validate

func (s *DeleteInputInput) Validate() error

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

type DeleteInputOutput

type DeleteInputOutput struct {
	// contains filtered or unexported fields
}

func (DeleteInputOutput) GoString

func (s DeleteInputOutput) GoString() string

GoString returns the string representation

func (DeleteInputOutput) String

func (s DeleteInputOutput) String() string

String returns the string representation

type DescribeDetectorModelInput

type DescribeDetectorModelInput struct {

	// The name of the detector model.
	//
	// DetectorModelName is a required field
	DetectorModelName *string `location:"uri" locationName:"detectorModelName" min:"1" type:"string" required:"true"`

	// The version of the detector model.
	DetectorModelVersion *string `location:"querystring" locationName:"version" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (DescribeDetectorModelInput) GoString

func (s DescribeDetectorModelInput) GoString() string

GoString returns the string representation

func (*DescribeDetectorModelInput) SetDetectorModelName

func (s *DescribeDetectorModelInput) SetDetectorModelName(v string) *DescribeDetectorModelInput

SetDetectorModelName sets the DetectorModelName field's value.

func (*DescribeDetectorModelInput) SetDetectorModelVersion

func (s *DescribeDetectorModelInput) SetDetectorModelVersion(v string) *DescribeDetectorModelInput

SetDetectorModelVersion sets the DetectorModelVersion field's value.

func (DescribeDetectorModelInput) String

String returns the string representation

func (*DescribeDetectorModelInput) Validate

func (s *DescribeDetectorModelInput) Validate() error

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

type DescribeDetectorModelOutput

type DescribeDetectorModelOutput struct {

	// Information about the detector model.
	DetectorModel *DetectorModel `locationName:"detectorModel" type:"structure"`
	// contains filtered or unexported fields
}

func (DescribeDetectorModelOutput) GoString

func (s DescribeDetectorModelOutput) GoString() string

GoString returns the string representation

func (*DescribeDetectorModelOutput) SetDetectorModel

SetDetectorModel sets the DetectorModel field's value.

func (DescribeDetectorModelOutput) String

String returns the string representation

type DescribeInputInput

type DescribeInputInput struct {

	// The name of the input.
	//
	// InputName is a required field
	InputName *string `location:"uri" locationName:"inputName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeInputInput) GoString

func (s DescribeInputInput) GoString() string

GoString returns the string representation

func (*DescribeInputInput) SetInputName

func (s *DescribeInputInput) SetInputName(v string) *DescribeInputInput

SetInputName sets the InputName field's value.

func (DescribeInputInput) String

func (s DescribeInputInput) String() string

String returns the string representation

func (*DescribeInputInput) Validate

func (s *DescribeInputInput) Validate() error

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

type DescribeInputOutput

type DescribeInputOutput struct {

	// Information about the input.
	Input *Input `locationName:"input" type:"structure"`
	// contains filtered or unexported fields
}

func (DescribeInputOutput) GoString

func (s DescribeInputOutput) GoString() string

GoString returns the string representation

func (*DescribeInputOutput) SetInput

SetInput sets the Input field's value.

func (DescribeInputOutput) String

func (s DescribeInputOutput) String() string

String returns the string representation

type DescribeLoggingOptionsInput

type DescribeLoggingOptionsInput struct {
	// contains filtered or unexported fields
}

func (DescribeLoggingOptionsInput) GoString

func (s DescribeLoggingOptionsInput) GoString() string

GoString returns the string representation

func (DescribeLoggingOptionsInput) String

String returns the string representation

type DescribeLoggingOptionsOutput

type DescribeLoggingOptionsOutput struct {

	// The current settings of the AWS IoT Events logging options.
	LoggingOptions *LoggingOptions `locationName:"loggingOptions" type:"structure"`
	// contains filtered or unexported fields
}

func (DescribeLoggingOptionsOutput) GoString

func (s DescribeLoggingOptionsOutput) GoString() string

GoString returns the string representation

func (*DescribeLoggingOptionsOutput) SetLoggingOptions

SetLoggingOptions sets the LoggingOptions field's value.

func (DescribeLoggingOptionsOutput) String

String returns the string representation

type DetectorDebugOption

type DetectorDebugOption struct {

	// The name of the detector model.
	//
	// DetectorModelName is a required field
	DetectorModelName *string `locationName:"detectorModelName" min:"1" type:"string" required:"true"`

	// The value of the input attribute key used to create the detector (the instance
	// of the detector model).
	KeyValue *string `locationName:"keyValue" min:"1" type:"string"`
	// contains filtered or unexported fields
}

The detector model and the specific detectors (instances) for which the logging level is given.

func (DetectorDebugOption) GoString

func (s DetectorDebugOption) GoString() string

GoString returns the string representation

func (*DetectorDebugOption) SetDetectorModelName

func (s *DetectorDebugOption) SetDetectorModelName(v string) *DetectorDebugOption

SetDetectorModelName sets the DetectorModelName field's value.

func (*DetectorDebugOption) SetKeyValue

func (s *DetectorDebugOption) SetKeyValue(v string) *DetectorDebugOption

SetKeyValue sets the KeyValue field's value.

func (DetectorDebugOption) String

func (s DetectorDebugOption) String() string

String returns the string representation

func (*DetectorDebugOption) Validate

func (s *DetectorDebugOption) Validate() error

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

type DetectorModel

type DetectorModel struct {

	// Information about how the detector is configured.
	DetectorModelConfiguration *DetectorModelConfiguration `locationName:"detectorModelConfiguration" type:"structure"`

	// Information that defines how a detector operates.
	DetectorModelDefinition *DetectorModelDefinition `locationName:"detectorModelDefinition" type:"structure"`
	// contains filtered or unexported fields
}

Information about the detector model.

func (DetectorModel) GoString

func (s DetectorModel) GoString() string

GoString returns the string representation

func (*DetectorModel) SetDetectorModelConfiguration

func (s *DetectorModel) SetDetectorModelConfiguration(v *DetectorModelConfiguration) *DetectorModel

SetDetectorModelConfiguration sets the DetectorModelConfiguration field's value.

func (*DetectorModel) SetDetectorModelDefinition

func (s *DetectorModel) SetDetectorModelDefinition(v *DetectorModelDefinition) *DetectorModel

SetDetectorModelDefinition sets the DetectorModelDefinition field's value.

func (DetectorModel) String

func (s DetectorModel) String() string

String returns the string representation

type DetectorModelConfiguration

type DetectorModelConfiguration struct {

	// The time the detector model was created.
	CreationTime *time.Time `locationName:"creationTime" type:"timestamp"`

	// The ARN of the detector model.
	DetectorModelArn *string `locationName:"detectorModelArn" type:"string"`

	// A brief description of the detector model.
	DetectorModelDescription *string `locationName:"detectorModelDescription" type:"string"`

	// The name of the detector model.
	DetectorModelName *string `locationName:"detectorModelName" min:"1" type:"string"`

	// The version of the detector model.
	DetectorModelVersion *string `locationName:"detectorModelVersion" min:"1" type:"string"`

	// Information about the order in which events are evaluated and how actions
	// are executed.
	EvaluationMethod *string `locationName:"evaluationMethod" type:"string" enum:"EvaluationMethod"`

	// The value used to identify a detector instance. When a device or system sends
	// input, a new detector instance with a unique key value is created. AWS IoT
	// Events can continue to route input to its corresponding detector instance
	// based on this identifying information.
	//
	// This parameter uses a JSON-path expression to select the attribute-value
	// pair in the message payload that is used for identification. To route the
	// message to the correct detector instance, the device must send a message
	// payload that contains the same attribute-value.
	Key *string `locationName:"key" min:"1" type:"string"`

	// The time the detector model was last updated.
	LastUpdateTime *time.Time `locationName:"lastUpdateTime" type:"timestamp"`

	// The ARN of the role that grants permission to AWS IoT Events to perform its
	// operations.
	RoleArn *string `locationName:"roleArn" min:"1" type:"string"`

	// The status of the detector model.
	Status *string `locationName:"status" type:"string" enum:"DetectorModelVersionStatus"`
	// contains filtered or unexported fields
}

Information about how the detector model is configured.

func (DetectorModelConfiguration) GoString

func (s DetectorModelConfiguration) GoString() string

GoString returns the string representation

func (*DetectorModelConfiguration) SetCreationTime

SetCreationTime sets the CreationTime field's value.

func (*DetectorModelConfiguration) SetDetectorModelArn

SetDetectorModelArn sets the DetectorModelArn field's value.

func (*DetectorModelConfiguration) SetDetectorModelDescription

func (s *DetectorModelConfiguration) SetDetectorModelDescription(v string) *DetectorModelConfiguration

SetDetectorModelDescription sets the DetectorModelDescription field's value.

func (*DetectorModelConfiguration) SetDetectorModelName

func (s *DetectorModelConfiguration) SetDetectorModelName(v string) *DetectorModelConfiguration

SetDetectorModelName sets the DetectorModelName field's value.

func (*DetectorModelConfiguration) SetDetectorModelVersion

func (s *DetectorModelConfiguration) SetDetectorModelVersion(v string) *DetectorModelConfiguration

SetDetectorModelVersion sets the DetectorModelVersion field's value.

func (*DetectorModelConfiguration) SetEvaluationMethod added in v1.25.17

SetEvaluationMethod sets the EvaluationMethod field's value.

func (*DetectorModelConfiguration) SetKey

SetKey sets the Key field's value.

func (*DetectorModelConfiguration) SetLastUpdateTime

SetLastUpdateTime sets the LastUpdateTime field's value.

func (*DetectorModelConfiguration) SetRoleArn

SetRoleArn sets the RoleArn field's value.

func (*DetectorModelConfiguration) SetStatus

SetStatus sets the Status field's value.

func (DetectorModelConfiguration) String

String returns the string representation

type DetectorModelDefinition

type DetectorModelDefinition struct {

	// The state that is entered at the creation of each detector (instance).
	//
	// InitialStateName is a required field
	InitialStateName *string `locationName:"initialStateName" min:"1" type:"string" required:"true"`

	// Information about the states of the detector.
	//
	// States is a required field
	States []*State `locationName:"states" min:"1" type:"list" required:"true"`
	// contains filtered or unexported fields
}

Information that defines how a detector operates.

func (DetectorModelDefinition) GoString

func (s DetectorModelDefinition) GoString() string

GoString returns the string representation

func (*DetectorModelDefinition) SetInitialStateName

func (s *DetectorModelDefinition) SetInitialStateName(v string) *DetectorModelDefinition

SetInitialStateName sets the InitialStateName field's value.

func (*DetectorModelDefinition) SetStates

SetStates sets the States field's value.

func (DetectorModelDefinition) String

func (s DetectorModelDefinition) String() string

String returns the string representation

func (*DetectorModelDefinition) Validate

func (s *DetectorModelDefinition) Validate() error

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

type DetectorModelSummary

type DetectorModelSummary struct {

	// The time the detector model was created.
	CreationTime *time.Time `locationName:"creationTime" type:"timestamp"`

	// A brief description of the detector model.
	DetectorModelDescription *string `locationName:"detectorModelDescription" type:"string"`

	// The name of the detector model.
	DetectorModelName *string `locationName:"detectorModelName" min:"1" type:"string"`
	// contains filtered or unexported fields
}

Information about the detector model.

func (DetectorModelSummary) GoString

func (s DetectorModelSummary) GoString() string

GoString returns the string representation

func (*DetectorModelSummary) SetCreationTime

func (s *DetectorModelSummary) SetCreationTime(v time.Time) *DetectorModelSummary

SetCreationTime sets the CreationTime field's value.

func (*DetectorModelSummary) SetDetectorModelDescription

func (s *DetectorModelSummary) SetDetectorModelDescription(v string) *DetectorModelSummary

SetDetectorModelDescription sets the DetectorModelDescription field's value.

func (*DetectorModelSummary) SetDetectorModelName

func (s *DetectorModelSummary) SetDetectorModelName(v string) *DetectorModelSummary

SetDetectorModelName sets the DetectorModelName field's value.

func (DetectorModelSummary) String

func (s DetectorModelSummary) String() string

String returns the string representation

type DetectorModelVersionSummary

type DetectorModelVersionSummary struct {

	// The time the detector model version was created.
	CreationTime *time.Time `locationName:"creationTime" type:"timestamp"`

	// The ARN of the detector model version.
	DetectorModelArn *string `locationName:"detectorModelArn" type:"string"`

	// The name of the detector model.
	DetectorModelName *string `locationName:"detectorModelName" min:"1" type:"string"`

	// The ID of the detector model version.
	DetectorModelVersion *string `locationName:"detectorModelVersion" min:"1" type:"string"`

	// Information about the order in which events are evaluated and how actions
	// are executed.
	EvaluationMethod *string `locationName:"evaluationMethod" type:"string" enum:"EvaluationMethod"`

	// The last time the detector model version was updated.
	LastUpdateTime *time.Time `locationName:"lastUpdateTime" type:"timestamp"`

	// The ARN of the role that grants the detector model permission to perform
	// its tasks.
	RoleArn *string `locationName:"roleArn" min:"1" type:"string"`

	// The status of the detector model version.
	Status *string `locationName:"status" type:"string" enum:"DetectorModelVersionStatus"`
	// contains filtered or unexported fields
}

Information about the detector model version.

func (DetectorModelVersionSummary) GoString

func (s DetectorModelVersionSummary) GoString() string

GoString returns the string representation

func (*DetectorModelVersionSummary) SetCreationTime

SetCreationTime sets the CreationTime field's value.

func (*DetectorModelVersionSummary) SetDetectorModelArn

SetDetectorModelArn sets the DetectorModelArn field's value.

func (*DetectorModelVersionSummary) SetDetectorModelName

SetDetectorModelName sets the DetectorModelName field's value.

func (*DetectorModelVersionSummary) SetDetectorModelVersion

func (s *DetectorModelVersionSummary) SetDetectorModelVersion(v string) *DetectorModelVersionSummary

SetDetectorModelVersion sets the DetectorModelVersion field's value.

func (*DetectorModelVersionSummary) SetEvaluationMethod added in v1.25.17

SetEvaluationMethod sets the EvaluationMethod field's value.

func (*DetectorModelVersionSummary) SetLastUpdateTime

SetLastUpdateTime sets the LastUpdateTime field's value.

func (*DetectorModelVersionSummary) SetRoleArn

SetRoleArn sets the RoleArn field's value.

func (*DetectorModelVersionSummary) SetStatus

SetStatus sets the Status field's value.

func (DetectorModelVersionSummary) String

String returns the string representation

type DynamoDBAction added in v1.30.8

type DynamoDBAction struct {

	// The name of the hash key (also called the partition key).
	//
	// HashKeyField is a required field
	HashKeyField *string `locationName:"hashKeyField" type:"string" required:"true"`

	// The data type for the hash key (also called the partition key). You can specify
	// the following values:
	//
	//    * STRING - The hash key is a string.
	//
	//    * NUMBER - The hash key is a number.
	//
	// If you don't specify hashKeyType, the default value is STRING.
	HashKeyType *string `locationName:"hashKeyType" type:"string"`

	// The value of the hash key (also called the partition key).
	//
	// HashKeyValue is a required field
	HashKeyValue *string `locationName:"hashKeyValue" type:"string" required:"true"`

	// The type of operation to perform. You can specify the following values:
	//
	//    * INSERT - Insert data as a new item into the DynamoDB table. This item
	//    uses the specified hash key as a partition key. If you specified a range
	//    key, the item uses the range key as a sort key.
	//
	//    * UPDATE - Update an existing item of the DynamoDB table with new data.
	//    This item's partition key must match the specified hash key. If you specified
	//    a range key, the range key must match the item's sort key.
	//
	//    * DELETE - Delete an existing item of the DynamoDB table. This item's
	//    partition key must match the specified hash key. If you specified a range
	//    key, the range key must match the item's sort key.
	//
	// If you don't specify this parameter, AWS IoT Events triggers the INSERT operation.
	Operation *string `locationName:"operation" type:"string"`

	// Information needed to configure the payload.
	//
	// By default, AWS IoT Events generates a standard payload in JSON for any action.
	// This action payload contains all attribute-value pairs that have the information
	// about the detector model instance and the event triggered the action. To
	// configure the action payload, you can use contentExpression.
	Payload *Payload `locationName:"payload" type:"structure"`

	// The name of the DynamoDB column that receives the action payload.
	//
	// If you don't specify this parameter, the name of the DynamoDB column is payload.
	PayloadField *string `locationName:"payloadField" type:"string"`

	// The name of the range key (also called the sort key).
	RangeKeyField *string `locationName:"rangeKeyField" type:"string"`

	// The data type for the range key (also called the sort key), You can specify
	// the following values:
	//
	//    * STRING - The range key is a string.
	//
	//    * NUMBER - The range key is number.
	//
	// If you don't specify rangeKeyField, the default value is STRING.
	RangeKeyType *string `locationName:"rangeKeyType" type:"string"`

	// The value of the range key (also called the sort key).
	RangeKeyValue *string `locationName:"rangeKeyValue" type:"string"`

	// The name of the DynamoDB table.
	//
	// TableName is a required field
	TableName *string `locationName:"tableName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Defines an action to write to the Amazon DynamoDB table that you created. The standard action payload contains all attribute-value pairs that have the information about the detector model instance and the event that triggered the action. You can also customize the payload (https://docs.aws.amazon.com/iotevents/latest/apireference/API_Payload.html). One column of the DynamoDB table receives all attribute-value pairs in the payload that you specify.

The tableName and hashKeyField values must match the table name and the partition key of the DynamoDB table.

If the DynamoDB table also has a sort key, you must specify rangeKeyField. The rangeKeyField value must match the sort key.

The hashKeyValue and rangeKeyValue use substitution templates. These templates provide data at runtime. The syntax is ${sql-expression}.

You can use expressions for parameters that are string data type. For more information, see Expressions (https://docs.aws.amazon.com/iotevents/latest/developerguide/iotevents-expressions.html) in the AWS IoT Events Developer Guide.

If the defined payload type is a string, DynamoDBAction writes non-JSON data to the DynamoDB table as binary data. The DynamoDB console displays the data as Base64-encoded text. The payloadField is <payload-field>_raw.

func (DynamoDBAction) GoString added in v1.30.8

func (s DynamoDBAction) GoString() string

GoString returns the string representation

func (*DynamoDBAction) SetHashKeyField added in v1.30.8

func (s *DynamoDBAction) SetHashKeyField(v string) *DynamoDBAction

SetHashKeyField sets the HashKeyField field's value.

func (*DynamoDBAction) SetHashKeyType added in v1.30.8

func (s *DynamoDBAction) SetHashKeyType(v string) *DynamoDBAction

SetHashKeyType sets the HashKeyType field's value.

func (*DynamoDBAction) SetHashKeyValue added in v1.30.8

func (s *DynamoDBAction) SetHashKeyValue(v string) *DynamoDBAction

SetHashKeyValue sets the HashKeyValue field's value.

func (*DynamoDBAction) SetOperation added in v1.30.8

func (s *DynamoDBAction) SetOperation(v string) *DynamoDBAction

SetOperation sets the Operation field's value.

func (*DynamoDBAction) SetPayload added in v1.30.8

func (s *DynamoDBAction) SetPayload(v *Payload) *DynamoDBAction

SetPayload sets the Payload field's value.

func (*DynamoDBAction) SetPayloadField added in v1.30.8

func (s *DynamoDBAction) SetPayloadField(v string) *DynamoDBAction

SetPayloadField sets the PayloadField field's value.

func (*DynamoDBAction) SetRangeKeyField added in v1.30.8

func (s *DynamoDBAction) SetRangeKeyField(v string) *DynamoDBAction

SetRangeKeyField sets the RangeKeyField field's value.

func (*DynamoDBAction) SetRangeKeyType added in v1.30.8

func (s *DynamoDBAction) SetRangeKeyType(v string) *DynamoDBAction

SetRangeKeyType sets the RangeKeyType field's value.

func (*DynamoDBAction) SetRangeKeyValue added in v1.30.8

func (s *DynamoDBAction) SetRangeKeyValue(v string) *DynamoDBAction

SetRangeKeyValue sets the RangeKeyValue field's value.

func (*DynamoDBAction) SetTableName added in v1.30.8

func (s *DynamoDBAction) SetTableName(v string) *DynamoDBAction

SetTableName sets the TableName field's value.

func (DynamoDBAction) String added in v1.30.8

func (s DynamoDBAction) String() string

String returns the string representation

func (*DynamoDBAction) Validate added in v1.30.8

func (s *DynamoDBAction) Validate() error

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

type DynamoDBv2Action added in v1.30.8

type DynamoDBv2Action struct {

	// Information needed to configure the payload.
	//
	// By default, AWS IoT Events generates a standard payload in JSON for any action.
	// This action payload contains all attribute-value pairs that have the information
	// about the detector model instance and the event triggered the action. To
	// configure the action payload, you can use contentExpression.
	Payload *Payload `locationName:"payload" type:"structure"`

	// The name of the DynamoDB table.
	//
	// TableName is a required field
	TableName *string `locationName:"tableName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Defines an action to write to the Amazon DynamoDB table that you created. The default action payload contains all attribute-value pairs that have the information about the detector model instance and the event that triggered the action. You can also customize the payload (https://docs.aws.amazon.com/iotevents/latest/apireference/API_Payload.html). A separate column of the DynamoDB table receives one attribute-value pair in the payload that you specify.

The type value for Payload must be JSON.

You can use expressions for parameters that are strings. For more information, see Expressions (https://docs.aws.amazon.com/iotevents/latest/developerguide/iotevents-expressions.html) in the AWS IoT Events Developer Guide.

func (DynamoDBv2Action) GoString added in v1.30.8

func (s DynamoDBv2Action) GoString() string

GoString returns the string representation

func (*DynamoDBv2Action) SetPayload added in v1.30.8

func (s *DynamoDBv2Action) SetPayload(v *Payload) *DynamoDBv2Action

SetPayload sets the Payload field's value.

func (*DynamoDBv2Action) SetTableName added in v1.30.8

func (s *DynamoDBv2Action) SetTableName(v string) *DynamoDBv2Action

SetTableName sets the TableName field's value.

func (DynamoDBv2Action) String added in v1.30.8

func (s DynamoDBv2Action) String() string

String returns the string representation

func (*DynamoDBv2Action) Validate added in v1.30.8

func (s *DynamoDBv2Action) Validate() error

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

type Event

type Event struct {

	// The actions to be performed.
	Actions []*ActionData `locationName:"actions" type:"list"`

	// Optional. The Boolean expression that, when TRUE, causes the actions to be
	// performed. If not present, the actions are performed (=TRUE). If the expression
	// result is not a Boolean value, the actions are not performed (=FALSE).
	Condition *string `locationName:"condition" type:"string"`

	// The name of the event.
	//
	// EventName is a required field
	EventName *string `locationName:"eventName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Specifies the actions to be performed when the condition evaluates to TRUE.

func (Event) GoString

func (s Event) GoString() string

GoString returns the string representation

func (*Event) SetActions

func (s *Event) SetActions(v []*ActionData) *Event

SetActions sets the Actions field's value.

func (*Event) SetCondition

func (s *Event) SetCondition(v string) *Event

SetCondition sets the Condition field's value.

func (*Event) SetEventName

func (s *Event) SetEventName(v string) *Event

SetEventName sets the EventName field's value.

func (Event) String

func (s Event) String() string

String returns the string representation

func (*Event) Validate

func (s *Event) Validate() error

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

type FirehoseAction added in v1.21.1

type FirehoseAction struct {

	// The name of the Kinesis Data Firehose delivery stream where the data is written.
	//
	// DeliveryStreamName is a required field
	DeliveryStreamName *string `locationName:"deliveryStreamName" type:"string" required:"true"`

	// You can configure the action payload when you send a message to an Amazon
	// Kinesis Data Firehose delivery stream.
	Payload *Payload `locationName:"payload" type:"structure"`

	// A character separator that is used to separate records written to the Kinesis
	// Data Firehose delivery stream. Valid values are: '\n' (newline), '\t' (tab),
	// '\r\n' (Windows newline), ',' (comma).
	Separator *string `locationName:"separator" type:"string"`
	// contains filtered or unexported fields
}

Sends information about the detector model instance and the event that triggered the action to an Amazon Kinesis Data Firehose delivery stream.

func (FirehoseAction) GoString added in v1.21.1

func (s FirehoseAction) GoString() string

GoString returns the string representation

func (*FirehoseAction) SetDeliveryStreamName added in v1.21.1

func (s *FirehoseAction) SetDeliveryStreamName(v string) *FirehoseAction

SetDeliveryStreamName sets the DeliveryStreamName field's value.

func (*FirehoseAction) SetPayload added in v1.30.8

func (s *FirehoseAction) SetPayload(v *Payload) *FirehoseAction

SetPayload sets the Payload field's value.

func (*FirehoseAction) SetSeparator added in v1.21.1

func (s *FirehoseAction) SetSeparator(v string) *FirehoseAction

SetSeparator sets the Separator field's value.

func (FirehoseAction) String added in v1.21.1

func (s FirehoseAction) String() string

String returns the string representation

func (*FirehoseAction) Validate added in v1.21.1

func (s *FirehoseAction) Validate() error

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

type Input

type Input struct {

	// Information about the configuration of an input.
	InputConfiguration *InputConfiguration `locationName:"inputConfiguration" type:"structure"`

	// The definition of the input.
	InputDefinition *InputDefinition `locationName:"inputDefinition" type:"structure"`
	// contains filtered or unexported fields
}

Information about the input.

func (Input) GoString

func (s Input) GoString() string

GoString returns the string representation

func (*Input) SetInputConfiguration

func (s *Input) SetInputConfiguration(v *InputConfiguration) *Input

SetInputConfiguration sets the InputConfiguration field's value.

func (*Input) SetInputDefinition

func (s *Input) SetInputDefinition(v *InputDefinition) *Input

SetInputDefinition sets the InputDefinition field's value.

func (Input) String

func (s Input) String() string

String returns the string representation

type InputConfiguration

type InputConfiguration struct {

	// The time the input was created.
	//
	// CreationTime is a required field
	CreationTime *time.Time `locationName:"creationTime" type:"timestamp" required:"true"`

	// The ARN of the input.
	//
	// InputArn is a required field
	InputArn *string `locationName:"inputArn" type:"string" required:"true"`

	// A brief description of the input.
	InputDescription *string `locationName:"inputDescription" type:"string"`

	// The name of the input.
	//
	// InputName is a required field
	InputName *string `locationName:"inputName" min:"1" type:"string" required:"true"`

	// The last time the input was updated.
	//
	// LastUpdateTime is a required field
	LastUpdateTime *time.Time `locationName:"lastUpdateTime" type:"timestamp" required:"true"`

	// The status of the input.
	//
	// Status is a required field
	Status *string `locationName:"status" type:"string" required:"true" enum:"InputStatus"`
	// contains filtered or unexported fields
}

Information about the configuration of an input.

func (InputConfiguration) GoString

func (s InputConfiguration) GoString() string

GoString returns the string representation

func (*InputConfiguration) SetCreationTime

func (s *InputConfiguration) SetCreationTime(v time.Time) *InputConfiguration

SetCreationTime sets the CreationTime field's value.

func (*InputConfiguration) SetInputArn

func (s *InputConfiguration) SetInputArn(v string) *InputConfiguration

SetInputArn sets the InputArn field's value.

func (*InputConfiguration) SetInputDescription

func (s *InputConfiguration) SetInputDescription(v string) *InputConfiguration

SetInputDescription sets the InputDescription field's value.

func (*InputConfiguration) SetInputName

func (s *InputConfiguration) SetInputName(v string) *InputConfiguration

SetInputName sets the InputName field's value.

func (*InputConfiguration) SetLastUpdateTime

func (s *InputConfiguration) SetLastUpdateTime(v time.Time) *InputConfiguration

SetLastUpdateTime sets the LastUpdateTime field's value.

func (*InputConfiguration) SetStatus

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

SetStatus sets the Status field's value.

func (InputConfiguration) String

func (s InputConfiguration) String() string

String returns the string representation

type InputDefinition

type InputDefinition struct {

	// The attributes from the JSON payload that are made available by the input.
	// Inputs are derived from messages sent to the AWS IoT Events system using
	// BatchPutMessage. Each such message contains a JSON payload, and those attributes
	// (and their paired values) specified here are available for use in the condition
	// expressions used by detectors that monitor this input.
	//
	// Attributes is a required field
	Attributes []*Attribute `locationName:"attributes" min:"1" type:"list" required:"true"`
	// contains filtered or unexported fields
}

The definition of the input.

func (InputDefinition) GoString

func (s InputDefinition) GoString() string

GoString returns the string representation

func (*InputDefinition) SetAttributes

func (s *InputDefinition) SetAttributes(v []*Attribute) *InputDefinition

SetAttributes sets the Attributes field's value.

func (InputDefinition) String

func (s InputDefinition) String() string

String returns the string representation

func (*InputDefinition) Validate

func (s *InputDefinition) Validate() error

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

type InputSummary

type InputSummary struct {

	// The time the input was created.
	CreationTime *time.Time `locationName:"creationTime" type:"timestamp"`

	// The ARN of the input.
	InputArn *string `locationName:"inputArn" type:"string"`

	// A brief description of the input.
	InputDescription *string `locationName:"inputDescription" type:"string"`

	// The name of the input.
	InputName *string `locationName:"inputName" min:"1" type:"string"`

	// The last time the input was updated.
	LastUpdateTime *time.Time `locationName:"lastUpdateTime" type:"timestamp"`

	// The status of the input.
	Status *string `locationName:"status" type:"string" enum:"InputStatus"`
	// contains filtered or unexported fields
}

Information about the input.

func (InputSummary) GoString

func (s InputSummary) GoString() string

GoString returns the string representation

func (*InputSummary) SetCreationTime

func (s *InputSummary) SetCreationTime(v time.Time) *InputSummary

SetCreationTime sets the CreationTime field's value.

func (*InputSummary) SetInputArn

func (s *InputSummary) SetInputArn(v string) *InputSummary

SetInputArn sets the InputArn field's value.

func (*InputSummary) SetInputDescription

func (s *InputSummary) SetInputDescription(v string) *InputSummary

SetInputDescription sets the InputDescription field's value.

func (*InputSummary) SetInputName

func (s *InputSummary) SetInputName(v string) *InputSummary

SetInputName sets the InputName field's value.

func (*InputSummary) SetLastUpdateTime

func (s *InputSummary) SetLastUpdateTime(v time.Time) *InputSummary

SetLastUpdateTime sets the LastUpdateTime field's value.

func (*InputSummary) SetStatus

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

SetStatus sets the Status field's value.

func (InputSummary) String

func (s InputSummary) String() string

String returns the string representation

type InternalFailureException added in v1.28.0

type InternalFailureException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	// The message for the exception.
	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

An internal failure occurred.

func (*InternalFailureException) Code added in v1.28.0

func (s *InternalFailureException) Code() string

Code returns the exception type name.

func (*InternalFailureException) Error added in v1.28.0

func (s *InternalFailureException) Error() string

func (InternalFailureException) GoString added in v1.28.0

func (s InternalFailureException) GoString() string

GoString returns the string representation

func (*InternalFailureException) Message added in v1.28.0

func (s *InternalFailureException) Message() string

Message returns the exception's message.

func (*InternalFailureException) OrigErr added in v1.28.0

func (s *InternalFailureException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InternalFailureException) RequestID added in v1.28.0

func (s *InternalFailureException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InternalFailureException) StatusCode added in v1.28.0

func (s *InternalFailureException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InternalFailureException) String added in v1.28.0

func (s InternalFailureException) String() string

String returns the string representation

type InvalidRequestException added in v1.28.0

type InvalidRequestException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	// The message for the exception.
	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

The request was invalid.

func (*InvalidRequestException) Code added in v1.28.0

func (s *InvalidRequestException) Code() string

Code returns the exception type name.

func (*InvalidRequestException) Error added in v1.28.0

func (s *InvalidRequestException) Error() string

func (InvalidRequestException) GoString added in v1.28.0

func (s InvalidRequestException) GoString() string

GoString returns the string representation

func (*InvalidRequestException) Message added in v1.28.0

func (s *InvalidRequestException) Message() string

Message returns the exception's message.

func (*InvalidRequestException) OrigErr added in v1.28.0

func (s *InvalidRequestException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InvalidRequestException) RequestID added in v1.28.0

func (s *InvalidRequestException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InvalidRequestException) StatusCode added in v1.28.0

func (s *InvalidRequestException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InvalidRequestException) String added in v1.28.0

func (s InvalidRequestException) String() string

String returns the string representation

type IoTEvents

type IoTEvents struct {
	*client.Client
}

IoTEvents provides the API operation methods for making requests to AWS IoT Events. See this package's package overview docs for details on the service.

IoTEvents methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.

func New

func New(p client.ConfigProvider, cfgs ...*aws.Config) *IoTEvents

New creates a new instance of the IoTEvents client with a session. If additional configuration is needed for the client instance use the optional aws.Config parameter to add your extra config.

Example:

mySession := session.Must(session.NewSession())

// Create a IoTEvents client from just a session.
svc := iotevents.New(mySession)

// Create a IoTEvents client with additional configuration
svc := iotevents.New(mySession, aws.NewConfig().WithRegion("us-west-2"))

func (*IoTEvents) CreateDetectorModel

func (c *IoTEvents) CreateDetectorModel(input *CreateDetectorModelInput) (*CreateDetectorModelOutput, error)

CreateDetectorModel API operation for AWS IoT Events.

Creates a detector model.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS IoT Events's API operation CreateDetectorModel for usage and error information.

Returned Error Types:

  • InvalidRequestException The request was invalid.

  • ResourceInUseException The resource is in use.

  • ResourceAlreadyExistsException The resource already exists.

  • LimitExceededException A limit was exceeded.

  • ThrottlingException The request could not be completed due to throttling.

  • InternalFailureException An internal failure occurred.

  • ServiceUnavailableException The service is currently unavailable.

See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-2018-07-27/CreateDetectorModel

func (*IoTEvents) CreateDetectorModelRequest

func (c *IoTEvents) CreateDetectorModelRequest(input *CreateDetectorModelInput) (req *request.Request, output *CreateDetectorModelOutput)

CreateDetectorModelRequest generates a "aws/request.Request" representing the client's request for the CreateDetectorModel operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateDetectorModel for more information on using the CreateDetectorModel API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateDetectorModelRequest method.
req, resp := client.CreateDetectorModelRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-2018-07-27/CreateDetectorModel

func (*IoTEvents) CreateDetectorModelWithContext

func (c *IoTEvents) CreateDetectorModelWithContext(ctx aws.Context, input *CreateDetectorModelInput, opts ...request.Option) (*CreateDetectorModelOutput, error)

CreateDetectorModelWithContext is the same as CreateDetectorModel with the addition of the ability to pass a context and additional request options.

See CreateDetectorModel for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*IoTEvents) CreateInput

func (c *IoTEvents) CreateInput(input *CreateInputInput) (*CreateInputOutput, error)

CreateInput API operation for AWS IoT Events.

Creates an input.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS IoT Events's API operation CreateInput for usage and error information.

Returned Error Types:

  • InvalidRequestException The request was invalid.

  • ThrottlingException The request could not be completed due to throttling.

  • InternalFailureException An internal failure occurred.

  • ServiceUnavailableException The service is currently unavailable.

  • ResourceAlreadyExistsException The resource already exists.

See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-2018-07-27/CreateInput

func (*IoTEvents) CreateInputRequest

func (c *IoTEvents) CreateInputRequest(input *CreateInputInput) (req *request.Request, output *CreateInputOutput)

CreateInputRequest generates a "aws/request.Request" representing the client's request for the CreateInput operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateInput for more information on using the CreateInput API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateInputRequest method.
req, resp := client.CreateInputRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-2018-07-27/CreateInput

func (*IoTEvents) CreateInputWithContext

func (c *IoTEvents) CreateInputWithContext(ctx aws.Context, input *CreateInputInput, opts ...request.Option) (*CreateInputOutput, error)

CreateInputWithContext is the same as CreateInput with the addition of the ability to pass a context and additional request options.

See CreateInput for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*IoTEvents) DeleteDetectorModel

func (c *IoTEvents) DeleteDetectorModel(input *DeleteDetectorModelInput) (*DeleteDetectorModelOutput, error)

DeleteDetectorModel API operation for AWS IoT Events.

Deletes a detector model. Any active instances of the detector model are also deleted.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS IoT Events's API operation DeleteDetectorModel for usage and error information.

Returned Error Types:

  • InvalidRequestException The request was invalid.

  • ResourceInUseException The resource is in use.

  • ResourceNotFoundException The resource was not found.

  • ThrottlingException The request could not be completed due to throttling.

  • InternalFailureException An internal failure occurred.

  • ServiceUnavailableException The service is currently unavailable.

See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-2018-07-27/DeleteDetectorModel

func (*IoTEvents) DeleteDetectorModelRequest

func (c *IoTEvents) DeleteDetectorModelRequest(input *DeleteDetectorModelInput) (req *request.Request, output *DeleteDetectorModelOutput)

DeleteDetectorModelRequest generates a "aws/request.Request" representing the client's request for the DeleteDetectorModel operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteDetectorModel for more information on using the DeleteDetectorModel API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteDetectorModelRequest method.
req, resp := client.DeleteDetectorModelRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-2018-07-27/DeleteDetectorModel

func (*IoTEvents) DeleteDetectorModelWithContext

func (c *IoTEvents) DeleteDetectorModelWithContext(ctx aws.Context, input *DeleteDetectorModelInput, opts ...request.Option) (*DeleteDetectorModelOutput, error)

DeleteDetectorModelWithContext is the same as DeleteDetectorModel with the addition of the ability to pass a context and additional request options.

See DeleteDetectorModel for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*IoTEvents) DeleteInput

func (c *IoTEvents) DeleteInput(input *DeleteInputInput) (*DeleteInputOutput, error)

DeleteInput API operation for AWS IoT Events.

Deletes an input.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS IoT Events's API operation DeleteInput for usage and error information.

Returned Error Types:

  • InvalidRequestException The request was invalid.

  • ResourceNotFoundException The resource was not found.

  • ThrottlingException The request could not be completed due to throttling.

  • InternalFailureException An internal failure occurred.

  • ServiceUnavailableException The service is currently unavailable.

  • ResourceInUseException The resource is in use.

See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-2018-07-27/DeleteInput

func (*IoTEvents) DeleteInputRequest

func (c *IoTEvents) DeleteInputRequest(input *DeleteInputInput) (req *request.Request, output *DeleteInputOutput)

DeleteInputRequest generates a "aws/request.Request" representing the client's request for the DeleteInput operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteInput for more information on using the DeleteInput API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteInputRequest method.
req, resp := client.DeleteInputRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-2018-07-27/DeleteInput

func (*IoTEvents) DeleteInputWithContext

func (c *IoTEvents) DeleteInputWithContext(ctx aws.Context, input *DeleteInputInput, opts ...request.Option) (*DeleteInputOutput, error)

DeleteInputWithContext is the same as DeleteInput with the addition of the ability to pass a context and additional request options.

See DeleteInput for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*IoTEvents) DescribeDetectorModel

func (c *IoTEvents) DescribeDetectorModel(input *DescribeDetectorModelInput) (*DescribeDetectorModelOutput, error)

DescribeDetectorModel API operation for AWS IoT Events.

Describes a detector model. If the version parameter is not specified, information about the latest version is returned.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS IoT Events's API operation DescribeDetectorModel for usage and error information.

Returned Error Types:

  • InvalidRequestException The request was invalid.

  • ResourceNotFoundException The resource was not found.

  • ThrottlingException The request could not be completed due to throttling.

  • InternalFailureException An internal failure occurred.

  • ServiceUnavailableException The service is currently unavailable.

See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-2018-07-27/DescribeDetectorModel

func (*IoTEvents) DescribeDetectorModelRequest

func (c *IoTEvents) DescribeDetectorModelRequest(input *DescribeDetectorModelInput) (req *request.Request, output *DescribeDetectorModelOutput)

DescribeDetectorModelRequest generates a "aws/request.Request" representing the client's request for the DescribeDetectorModel operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeDetectorModel for more information on using the DescribeDetectorModel API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeDetectorModelRequest method.
req, resp := client.DescribeDetectorModelRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-2018-07-27/DescribeDetectorModel

func (*IoTEvents) DescribeDetectorModelWithContext

func (c *IoTEvents) DescribeDetectorModelWithContext(ctx aws.Context, input *DescribeDetectorModelInput, opts ...request.Option) (*DescribeDetectorModelOutput, error)

DescribeDetectorModelWithContext is the same as DescribeDetectorModel with the addition of the ability to pass a context and additional request options.

See DescribeDetectorModel for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*IoTEvents) DescribeInput

func (c *IoTEvents) DescribeInput(input *DescribeInputInput) (*DescribeInputOutput, error)

DescribeInput API operation for AWS IoT Events.

Describes an input.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS IoT Events's API operation DescribeInput for usage and error information.

Returned Error Types:

  • InvalidRequestException The request was invalid.

  • ResourceNotFoundException The resource was not found.

  • ThrottlingException The request could not be completed due to throttling.

  • InternalFailureException An internal failure occurred.

  • ServiceUnavailableException The service is currently unavailable.

See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-2018-07-27/DescribeInput

func (*IoTEvents) DescribeInputRequest

func (c *IoTEvents) DescribeInputRequest(input *DescribeInputInput) (req *request.Request, output *DescribeInputOutput)

DescribeInputRequest generates a "aws/request.Request" representing the client's request for the DescribeInput operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeInput for more information on using the DescribeInput API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeInputRequest method.
req, resp := client.DescribeInputRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-2018-07-27/DescribeInput

func (*IoTEvents) DescribeInputWithContext

func (c *IoTEvents) DescribeInputWithContext(ctx aws.Context, input *DescribeInputInput, opts ...request.Option) (*DescribeInputOutput, error)

DescribeInputWithContext is the same as DescribeInput with the addition of the ability to pass a context and additional request options.

See DescribeInput for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*IoTEvents) DescribeLoggingOptions

func (c *IoTEvents) DescribeLoggingOptions(input *DescribeLoggingOptionsInput) (*DescribeLoggingOptionsOutput, error)

DescribeLoggingOptions API operation for AWS IoT Events.

Retrieves the current settings of the AWS IoT Events logging options.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS IoT Events's API operation DescribeLoggingOptions for usage and error information.

Returned Error Types:

  • InvalidRequestException The request was invalid.

  • ThrottlingException The request could not be completed due to throttling.

  • InternalFailureException An internal failure occurred.

  • ResourceNotFoundException The resource was not found.

  • ServiceUnavailableException The service is currently unavailable.

  • UnsupportedOperationException The requested operation is not supported.

See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-2018-07-27/DescribeLoggingOptions

func (*IoTEvents) DescribeLoggingOptionsRequest

func (c *IoTEvents) DescribeLoggingOptionsRequest(input *DescribeLoggingOptionsInput) (req *request.Request, output *DescribeLoggingOptionsOutput)

DescribeLoggingOptionsRequest generates a "aws/request.Request" representing the client's request for the DescribeLoggingOptions operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeLoggingOptions for more information on using the DescribeLoggingOptions API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeLoggingOptionsRequest method.
req, resp := client.DescribeLoggingOptionsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-2018-07-27/DescribeLoggingOptions

func (*IoTEvents) DescribeLoggingOptionsWithContext

func (c *IoTEvents) DescribeLoggingOptionsWithContext(ctx aws.Context, input *DescribeLoggingOptionsInput, opts ...request.Option) (*DescribeLoggingOptionsOutput, error)

DescribeLoggingOptionsWithContext is the same as DescribeLoggingOptions with the addition of the ability to pass a context and additional request options.

See DescribeLoggingOptions for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*IoTEvents) ListDetectorModelVersions

func (c *IoTEvents) ListDetectorModelVersions(input *ListDetectorModelVersionsInput) (*ListDetectorModelVersionsOutput, error)

ListDetectorModelVersions API operation for AWS IoT Events.

Lists all the versions of a detector model. Only the metadata associated with each detector model version is returned.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS IoT Events's API operation ListDetectorModelVersions for usage and error information.

Returned Error Types:

  • InvalidRequestException The request was invalid.

  • ResourceNotFoundException The resource was not found.

  • ThrottlingException The request could not be completed due to throttling.

  • InternalFailureException An internal failure occurred.

  • ServiceUnavailableException The service is currently unavailable.

See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-2018-07-27/ListDetectorModelVersions

func (*IoTEvents) ListDetectorModelVersionsRequest

func (c *IoTEvents) ListDetectorModelVersionsRequest(input *ListDetectorModelVersionsInput) (req *request.Request, output *ListDetectorModelVersionsOutput)

ListDetectorModelVersionsRequest generates a "aws/request.Request" representing the client's request for the ListDetectorModelVersions operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListDetectorModelVersions for more information on using the ListDetectorModelVersions API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListDetectorModelVersionsRequest method.
req, resp := client.ListDetectorModelVersionsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-2018-07-27/ListDetectorModelVersions

func (*IoTEvents) ListDetectorModelVersionsWithContext

func (c *IoTEvents) ListDetectorModelVersionsWithContext(ctx aws.Context, input *ListDetectorModelVersionsInput, opts ...request.Option) (*ListDetectorModelVersionsOutput, error)

ListDetectorModelVersionsWithContext is the same as ListDetectorModelVersions with the addition of the ability to pass a context and additional request options.

See ListDetectorModelVersions for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*IoTEvents) ListDetectorModels

func (c *IoTEvents) ListDetectorModels(input *ListDetectorModelsInput) (*ListDetectorModelsOutput, error)

ListDetectorModels API operation for AWS IoT Events.

Lists the detector models you have created. Only the metadata associated with each detector model is returned.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS IoT Events's API operation ListDetectorModels for usage and error information.

Returned Error Types:

  • InvalidRequestException The request was invalid.

  • ThrottlingException The request could not be completed due to throttling.

  • InternalFailureException An internal failure occurred.

  • ServiceUnavailableException The service is currently unavailable.

See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-2018-07-27/ListDetectorModels

func (*IoTEvents) ListDetectorModelsRequest

func (c *IoTEvents) ListDetectorModelsRequest(input *ListDetectorModelsInput) (req *request.Request, output *ListDetectorModelsOutput)

ListDetectorModelsRequest generates a "aws/request.Request" representing the client's request for the ListDetectorModels operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListDetectorModels for more information on using the ListDetectorModels API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListDetectorModelsRequest method.
req, resp := client.ListDetectorModelsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-2018-07-27/ListDetectorModels

func (*IoTEvents) ListDetectorModelsWithContext

func (c *IoTEvents) ListDetectorModelsWithContext(ctx aws.Context, input *ListDetectorModelsInput, opts ...request.Option) (*ListDetectorModelsOutput, error)

ListDetectorModelsWithContext is the same as ListDetectorModels with the addition of the ability to pass a context and additional request options.

See ListDetectorModels for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*IoTEvents) ListInputs

func (c *IoTEvents) ListInputs(input *ListInputsInput) (*ListInputsOutput, error)

ListInputs API operation for AWS IoT Events.

Lists the inputs you have created.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS IoT Events's API operation ListInputs for usage and error information.

Returned Error Types:

  • InvalidRequestException The request was invalid.

  • ThrottlingException The request could not be completed due to throttling.

  • InternalFailureException An internal failure occurred.

  • ServiceUnavailableException The service is currently unavailable.

See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-2018-07-27/ListInputs

func (*IoTEvents) ListInputsRequest

func (c *IoTEvents) ListInputsRequest(input *ListInputsInput) (req *request.Request, output *ListInputsOutput)

ListInputsRequest generates a "aws/request.Request" representing the client's request for the ListInputs operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListInputs for more information on using the ListInputs API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListInputsRequest method.
req, resp := client.ListInputsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-2018-07-27/ListInputs

func (*IoTEvents) ListInputsWithContext

func (c *IoTEvents) ListInputsWithContext(ctx aws.Context, input *ListInputsInput, opts ...request.Option) (*ListInputsOutput, error)

ListInputsWithContext is the same as ListInputs with the addition of the ability to pass a context and additional request options.

See ListInputs for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*IoTEvents) ListTagsForResource

func (c *IoTEvents) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error)

ListTagsForResource API operation for AWS IoT Events.

Lists the tags (metadata) you have assigned to the resource.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS IoT Events's API operation ListTagsForResource for usage and error information.

Returned Error Types:

  • InvalidRequestException The request was invalid.

  • ResourceNotFoundException The resource was not found.

  • ResourceInUseException The resource is in use.

  • ThrottlingException The request could not be completed due to throttling.

  • InternalFailureException An internal failure occurred.

See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-2018-07-27/ListTagsForResource

func (*IoTEvents) ListTagsForResourceRequest

func (c *IoTEvents) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput)

ListTagsForResourceRequest generates a "aws/request.Request" representing the client's request for the ListTagsForResource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListTagsForResource for more information on using the ListTagsForResource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListTagsForResourceRequest method.
req, resp := client.ListTagsForResourceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-2018-07-27/ListTagsForResource

func (*IoTEvents) ListTagsForResourceWithContext

func (c *IoTEvents) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error)

ListTagsForResourceWithContext is the same as ListTagsForResource with the addition of the ability to pass a context and additional request options.

See ListTagsForResource for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*IoTEvents) PutLoggingOptions

func (c *IoTEvents) PutLoggingOptions(input *PutLoggingOptionsInput) (*PutLoggingOptionsOutput, error)

PutLoggingOptions API operation for AWS IoT Events.

Sets or updates the AWS IoT Events logging options.

If you update the value of any loggingOptions field, it takes up to one minute for the change to take effect. If you change the policy attached to the role you specified in the roleArn field (for example, to correct an invalid policy), it takes up to five minutes for that change to take effect.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS IoT Events's API operation PutLoggingOptions for usage and error information.

Returned Error Types:

  • InvalidRequestException The request was invalid.

  • ThrottlingException The request could not be completed due to throttling.

  • InternalFailureException An internal failure occurred.

  • ServiceUnavailableException The service is currently unavailable.

  • UnsupportedOperationException The requested operation is not supported.

  • ResourceInUseException The resource is in use.

See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-2018-07-27/PutLoggingOptions

func (*IoTEvents) PutLoggingOptionsRequest

func (c *IoTEvents) PutLoggingOptionsRequest(input *PutLoggingOptionsInput) (req *request.Request, output *PutLoggingOptionsOutput)

PutLoggingOptionsRequest generates a "aws/request.Request" representing the client's request for the PutLoggingOptions operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See PutLoggingOptions for more information on using the PutLoggingOptions API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the PutLoggingOptionsRequest method.
req, resp := client.PutLoggingOptionsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-2018-07-27/PutLoggingOptions

func (*IoTEvents) PutLoggingOptionsWithContext

func (c *IoTEvents) PutLoggingOptionsWithContext(ctx aws.Context, input *PutLoggingOptionsInput, opts ...request.Option) (*PutLoggingOptionsOutput, error)

PutLoggingOptionsWithContext is the same as PutLoggingOptions with the addition of the ability to pass a context and additional request options.

See PutLoggingOptions for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*IoTEvents) TagResource

func (c *IoTEvents) TagResource(input *TagResourceInput) (*TagResourceOutput, error)

TagResource API operation for AWS IoT Events.

Adds to or modifies the tags of the given resource. Tags are metadata that can be used to manage a resource.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS IoT Events's API operation TagResource for usage and error information.

Returned Error Types:

  • InvalidRequestException The request was invalid.

  • ResourceNotFoundException The resource was not found.

  • ResourceInUseException The resource is in use.

  • ThrottlingException The request could not be completed due to throttling.

  • LimitExceededException A limit was exceeded.

  • InternalFailureException An internal failure occurred.

See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-2018-07-27/TagResource

func (*IoTEvents) TagResourceRequest

func (c *IoTEvents) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput)

TagResourceRequest generates a "aws/request.Request" representing the client's request for the TagResource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See TagResource for more information on using the TagResource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the TagResourceRequest method.
req, resp := client.TagResourceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-2018-07-27/TagResource

func (*IoTEvents) TagResourceWithContext

func (c *IoTEvents) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error)

TagResourceWithContext is the same as TagResource with the addition of the ability to pass a context and additional request options.

See TagResource for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*IoTEvents) UntagResource

func (c *IoTEvents) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error)

UntagResource API operation for AWS IoT Events.

Removes the given tags (metadata) from the resource.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS IoT Events's API operation UntagResource for usage and error information.

Returned Error Types:

  • InvalidRequestException The request was invalid.

  • ResourceNotFoundException The resource was not found.

  • ResourceInUseException The resource is in use.

  • ThrottlingException The request could not be completed due to throttling.

  • InternalFailureException An internal failure occurred.

See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-2018-07-27/UntagResource

func (*IoTEvents) UntagResourceRequest

func (c *IoTEvents) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput)

UntagResourceRequest generates a "aws/request.Request" representing the client's request for the UntagResource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UntagResource for more information on using the UntagResource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UntagResourceRequest method.
req, resp := client.UntagResourceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-2018-07-27/UntagResource

func (*IoTEvents) UntagResourceWithContext

func (c *IoTEvents) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error)

UntagResourceWithContext is the same as UntagResource with the addition of the ability to pass a context and additional request options.

See UntagResource for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*IoTEvents) UpdateDetectorModel

func (c *IoTEvents) UpdateDetectorModel(input *UpdateDetectorModelInput) (*UpdateDetectorModelOutput, error)

UpdateDetectorModel API operation for AWS IoT Events.

Updates a detector model. Detectors (instances) spawned by the previous version are deleted and then re-created as new inputs arrive.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS IoT Events's API operation UpdateDetectorModel for usage and error information.

Returned Error Types:

  • InvalidRequestException The request was invalid.

  • ResourceInUseException The resource is in use.

  • ResourceNotFoundException The resource was not found.

  • ThrottlingException The request could not be completed due to throttling.

  • InternalFailureException An internal failure occurred.

  • ServiceUnavailableException The service is currently unavailable.

See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-2018-07-27/UpdateDetectorModel

func (*IoTEvents) UpdateDetectorModelRequest

func (c *IoTEvents) UpdateDetectorModelRequest(input *UpdateDetectorModelInput) (req *request.Request, output *UpdateDetectorModelOutput)

UpdateDetectorModelRequest generates a "aws/request.Request" representing the client's request for the UpdateDetectorModel operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateDetectorModel for more information on using the UpdateDetectorModel API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateDetectorModelRequest method.
req, resp := client.UpdateDetectorModelRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-2018-07-27/UpdateDetectorModel

func (*IoTEvents) UpdateDetectorModelWithContext

func (c *IoTEvents) UpdateDetectorModelWithContext(ctx aws.Context, input *UpdateDetectorModelInput, opts ...request.Option) (*UpdateDetectorModelOutput, error)

UpdateDetectorModelWithContext is the same as UpdateDetectorModel with the addition of the ability to pass a context and additional request options.

See UpdateDetectorModel for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*IoTEvents) UpdateInput

func (c *IoTEvents) UpdateInput(input *UpdateInputInput) (*UpdateInputOutput, error)

UpdateInput API operation for AWS IoT Events.

Updates an input.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS IoT Events's API operation UpdateInput for usage and error information.

Returned Error Types:

  • InvalidRequestException The request was invalid.

  • ThrottlingException The request could not be completed due to throttling.

  • ResourceNotFoundException The resource was not found.

  • InternalFailureException An internal failure occurred.

  • ServiceUnavailableException The service is currently unavailable.

  • ResourceInUseException The resource is in use.

See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-2018-07-27/UpdateInput

func (*IoTEvents) UpdateInputRequest

func (c *IoTEvents) UpdateInputRequest(input *UpdateInputInput) (req *request.Request, output *UpdateInputOutput)

UpdateInputRequest generates a "aws/request.Request" representing the client's request for the UpdateInput operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateInput for more information on using the UpdateInput API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateInputRequest method.
req, resp := client.UpdateInputRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-2018-07-27/UpdateInput

func (*IoTEvents) UpdateInputWithContext

func (c *IoTEvents) UpdateInputWithContext(ctx aws.Context, input *UpdateInputInput, opts ...request.Option) (*UpdateInputOutput, error)

UpdateInputWithContext is the same as UpdateInput with the addition of the ability to pass a context and additional request options.

See UpdateInput for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

type IotSiteWiseAction added in v1.30.10

type IotSiteWiseAction struct {

	// The ID of the asset that has the specified property. You can specify an expression.
	AssetId *string `locationName:"assetId" type:"string"`

	// A unique identifier for this entry. You can use the entry ID to track which
	// data entry causes an error in case of failure. The default is a new unique
	// identifier. You can also specify an expression.
	EntryId *string `locationName:"entryId" type:"string"`

	// The alias of the asset property. You can also specify an expression.
	PropertyAlias *string `locationName:"propertyAlias" type:"string"`

	// The ID of the asset property. You can specify an expression.
	PropertyId *string `locationName:"propertyId" type:"string"`

	// The value to send to the asset property. This value contains timestamp, quality,
	// and value (TQV) information.
	//
	// PropertyValue is a required field
	PropertyValue *AssetPropertyValue `locationName:"propertyValue" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Sends information about the detector model instance and the event that triggered the action to a specified asset property in AWS IoT SiteWise.

You must specify either propertyAlias or both assetId and propertyId to identify the target asset property in AWS IoT SiteWise.

For parameters that are string data type, you can specify the following options:

  • Use a string. For example, the propertyAlias value can be '/company/windfarm/3/turbine/7/temperature'.

  • Use an expression. For example, the propertyAlias value can be 'company/windfarm/${$input.TemperatureInput.sensorData.windfarmID}/turbine/${$input.TemperatureInput.sensorData.turbineID}/temperature'. For more information, see Expressions (https://docs.aws.amazon.com/iotevents/latest/developerguide/iotevents-expressions.html) in the AWS IoT Events Developer Guide.

func (IotSiteWiseAction) GoString added in v1.30.10

func (s IotSiteWiseAction) GoString() string

GoString returns the string representation

func (*IotSiteWiseAction) SetAssetId added in v1.30.10

func (s *IotSiteWiseAction) SetAssetId(v string) *IotSiteWiseAction

SetAssetId sets the AssetId field's value.

func (*IotSiteWiseAction) SetEntryId added in v1.30.10

func (s *IotSiteWiseAction) SetEntryId(v string) *IotSiteWiseAction

SetEntryId sets the EntryId field's value.

func (*IotSiteWiseAction) SetPropertyAlias added in v1.30.10

func (s *IotSiteWiseAction) SetPropertyAlias(v string) *IotSiteWiseAction

SetPropertyAlias sets the PropertyAlias field's value.

func (*IotSiteWiseAction) SetPropertyId added in v1.30.10

func (s *IotSiteWiseAction) SetPropertyId(v string) *IotSiteWiseAction

SetPropertyId sets the PropertyId field's value.

func (*IotSiteWiseAction) SetPropertyValue added in v1.30.10

func (s *IotSiteWiseAction) SetPropertyValue(v *AssetPropertyValue) *IotSiteWiseAction

SetPropertyValue sets the PropertyValue field's value.

func (IotSiteWiseAction) String added in v1.30.10

func (s IotSiteWiseAction) String() string

String returns the string representation

func (*IotSiteWiseAction) Validate added in v1.30.10

func (s *IotSiteWiseAction) Validate() error

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

type IotTopicPublishAction

type IotTopicPublishAction struct {

	// The MQTT topic of the message. You can use a string expression that includes
	// variables ($variable.<variable-name>) and input values ($input.<input-name>.<path-to-datum>)
	// as the topic string.
	//
	// MqttTopic is a required field
	MqttTopic *string `locationName:"mqttTopic" min:"1" type:"string" required:"true"`

	// You can configure the action payload when you publish a message to an AWS
	// IoT Core topic.
	Payload *Payload `locationName:"payload" type:"structure"`
	// contains filtered or unexported fields
}

Information required to publish the MQTT message through the AWS IoT message broker.

func (IotTopicPublishAction) GoString

func (s IotTopicPublishAction) GoString() string

GoString returns the string representation

func (*IotTopicPublishAction) SetMqttTopic

SetMqttTopic sets the MqttTopic field's value.

func (*IotTopicPublishAction) SetPayload added in v1.30.8

SetPayload sets the Payload field's value.

func (IotTopicPublishAction) String

func (s IotTopicPublishAction) String() string

String returns the string representation

func (*IotTopicPublishAction) Validate

func (s *IotTopicPublishAction) Validate() error

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

type LambdaAction added in v1.21.1

type LambdaAction struct {

	// The ARN of the Lambda function that is executed.
	//
	// FunctionArn is a required field
	FunctionArn *string `locationName:"functionArn" min:"1" type:"string" required:"true"`

	// You can configure the action payload when you send a message to a Lambda
	// function.
	Payload *Payload `locationName:"payload" type:"structure"`
	// contains filtered or unexported fields
}

Calls a Lambda function, passing in information about the detector model instance and the event that triggered the action.

func (LambdaAction) GoString added in v1.21.1

func (s LambdaAction) GoString() string

GoString returns the string representation

func (*LambdaAction) SetFunctionArn added in v1.21.1

func (s *LambdaAction) SetFunctionArn(v string) *LambdaAction

SetFunctionArn sets the FunctionArn field's value.

func (*LambdaAction) SetPayload added in v1.30.8

func (s *LambdaAction) SetPayload(v *Payload) *LambdaAction

SetPayload sets the Payload field's value.

func (LambdaAction) String added in v1.21.1

func (s LambdaAction) String() string

String returns the string representation

func (*LambdaAction) Validate added in v1.21.1

func (s *LambdaAction) Validate() error

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

type LimitExceededException added in v1.28.0

type LimitExceededException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	// The message for the exception.
	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

A limit was exceeded.

func (*LimitExceededException) Code added in v1.28.0

func (s *LimitExceededException) Code() string

Code returns the exception type name.

func (*LimitExceededException) Error added in v1.28.0

func (s *LimitExceededException) Error() string

func (LimitExceededException) GoString added in v1.28.0

func (s LimitExceededException) GoString() string

GoString returns the string representation

func (*LimitExceededException) Message added in v1.28.0

func (s *LimitExceededException) Message() string

Message returns the exception's message.

func (*LimitExceededException) OrigErr added in v1.28.0

func (s *LimitExceededException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*LimitExceededException) RequestID added in v1.28.0

func (s *LimitExceededException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*LimitExceededException) StatusCode added in v1.28.0

func (s *LimitExceededException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (LimitExceededException) String added in v1.28.0

func (s LimitExceededException) String() string

String returns the string representation

type ListDetectorModelVersionsInput

type ListDetectorModelVersionsInput struct {

	// The name of the detector model whose versions are returned.
	//
	// DetectorModelName is a required field
	DetectorModelName *string `location:"uri" locationName:"detectorModelName" min:"1" type:"string" required:"true"`

	// The maximum number of results to return at one time.
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	// The token for the next set of results.
	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListDetectorModelVersionsInput) GoString

GoString returns the string representation

func (*ListDetectorModelVersionsInput) SetDetectorModelName

SetDetectorModelName sets the DetectorModelName field's value.

func (*ListDetectorModelVersionsInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListDetectorModelVersionsInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListDetectorModelVersionsInput) String

String returns the string representation

func (*ListDetectorModelVersionsInput) Validate

func (s *ListDetectorModelVersionsInput) Validate() error

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

type ListDetectorModelVersionsOutput

type ListDetectorModelVersionsOutput struct {

	// Summary information about the detector model versions.
	DetectorModelVersionSummaries []*DetectorModelVersionSummary `locationName:"detectorModelVersionSummaries" type:"list"`

	// A token to retrieve the next set of results, or null if there are no additional
	// results.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListDetectorModelVersionsOutput) GoString

GoString returns the string representation

func (*ListDetectorModelVersionsOutput) SetDetectorModelVersionSummaries

SetDetectorModelVersionSummaries sets the DetectorModelVersionSummaries field's value.

func (*ListDetectorModelVersionsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListDetectorModelVersionsOutput) String

String returns the string representation

type ListDetectorModelsInput

type ListDetectorModelsInput struct {

	// The maximum number of results to return at one time.
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	// The token for the next set of results.
	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListDetectorModelsInput) GoString

func (s ListDetectorModelsInput) GoString() string

GoString returns the string representation

func (*ListDetectorModelsInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListDetectorModelsInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListDetectorModelsInput) String

func (s ListDetectorModelsInput) String() string

String returns the string representation

func (*ListDetectorModelsInput) Validate

func (s *ListDetectorModelsInput) Validate() error

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

type ListDetectorModelsOutput

type ListDetectorModelsOutput struct {

	// Summary information about the detector models.
	DetectorModelSummaries []*DetectorModelSummary `locationName:"detectorModelSummaries" type:"list"`

	// A token to retrieve the next set of results, or null if there are no additional
	// results.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListDetectorModelsOutput) GoString

func (s ListDetectorModelsOutput) GoString() string

GoString returns the string representation

func (*ListDetectorModelsOutput) SetDetectorModelSummaries

func (s *ListDetectorModelsOutput) SetDetectorModelSummaries(v []*DetectorModelSummary) *ListDetectorModelsOutput

SetDetectorModelSummaries sets the DetectorModelSummaries field's value.

func (*ListDetectorModelsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListDetectorModelsOutput) String

func (s ListDetectorModelsOutput) String() string

String returns the string representation

type ListInputsInput

type ListInputsInput struct {

	// The maximum number of results to return at one time.
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	// The token for the next set of results.
	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListInputsInput) GoString

func (s ListInputsInput) GoString() string

GoString returns the string representation

func (*ListInputsInput) SetMaxResults

func (s *ListInputsInput) SetMaxResults(v int64) *ListInputsInput

SetMaxResults sets the MaxResults field's value.

func (*ListInputsInput) SetNextToken

func (s *ListInputsInput) SetNextToken(v string) *ListInputsInput

SetNextToken sets the NextToken field's value.

func (ListInputsInput) String

func (s ListInputsInput) String() string

String returns the string representation

func (*ListInputsInput) Validate

func (s *ListInputsInput) Validate() error

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

type ListInputsOutput

type ListInputsOutput struct {

	// Summary information about the inputs.
	InputSummaries []*InputSummary `locationName:"inputSummaries" type:"list"`

	// A token to retrieve the next set of results, or null if there are no additional
	// results.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListInputsOutput) GoString

func (s ListInputsOutput) GoString() string

GoString returns the string representation

func (*ListInputsOutput) SetInputSummaries

func (s *ListInputsOutput) SetInputSummaries(v []*InputSummary) *ListInputsOutput

SetInputSummaries sets the InputSummaries field's value.

func (*ListInputsOutput) SetNextToken

func (s *ListInputsOutput) SetNextToken(v string) *ListInputsOutput

SetNextToken sets the NextToken field's value.

func (ListInputsOutput) String

func (s ListInputsOutput) String() string

String returns the string representation

type ListTagsForResourceInput

type ListTagsForResourceInput struct {

	// The ARN of the resource.
	//
	// ResourceArn is a required field
	ResourceArn *string `location:"querystring" locationName:"resourceArn" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ListTagsForResourceInput) GoString

func (s ListTagsForResourceInput) GoString() string

GoString returns the string representation

func (*ListTagsForResourceInput) SetResourceArn

SetResourceArn sets the ResourceArn field's value.

func (ListTagsForResourceInput) String

func (s ListTagsForResourceInput) String() string

String returns the string representation

func (*ListTagsForResourceInput) Validate

func (s *ListTagsForResourceInput) Validate() error

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

type ListTagsForResourceOutput

type ListTagsForResourceOutput struct {

	// The list of tags assigned to the resource.
	Tags []*Tag `locationName:"tags" type:"list"`
	// contains filtered or unexported fields
}

func (ListTagsForResourceOutput) GoString

func (s ListTagsForResourceOutput) GoString() string

GoString returns the string representation

func (*ListTagsForResourceOutput) SetTags

SetTags sets the Tags field's value.

func (ListTagsForResourceOutput) String

func (s ListTagsForResourceOutput) String() string

String returns the string representation

type LoggingOptions

type LoggingOptions struct {

	// Information that identifies those detector models and their detectors (instances)
	// for which the logging level is given.
	DetectorDebugOptions []*DetectorDebugOption `locationName:"detectorDebugOptions" min:"1" type:"list"`

	// If TRUE, logging is enabled for AWS IoT Events.
	//
	// Enabled is a required field
	Enabled *bool `locationName:"enabled" type:"boolean" required:"true"`

	// The logging level.
	//
	// Level is a required field
	Level *string `locationName:"level" type:"string" required:"true" enum:"LoggingLevel"`

	// The ARN of the role that grants permission to AWS IoT Events to perform logging.
	//
	// RoleArn is a required field
	RoleArn *string `locationName:"roleArn" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

The values of the AWS IoT Events logging options.

func (LoggingOptions) GoString

func (s LoggingOptions) GoString() string

GoString returns the string representation

func (*LoggingOptions) SetDetectorDebugOptions

func (s *LoggingOptions) SetDetectorDebugOptions(v []*DetectorDebugOption) *LoggingOptions

SetDetectorDebugOptions sets the DetectorDebugOptions field's value.

func (*LoggingOptions) SetEnabled

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

SetEnabled sets the Enabled field's value.

func (*LoggingOptions) SetLevel

func (s *LoggingOptions) SetLevel(v string) *LoggingOptions

SetLevel sets the Level field's value.

func (*LoggingOptions) SetRoleArn

func (s *LoggingOptions) SetRoleArn(v string) *LoggingOptions

SetRoleArn sets the RoleArn field's value.

func (LoggingOptions) String

func (s LoggingOptions) String() string

String returns the string representation

func (*LoggingOptions) Validate

func (s *LoggingOptions) Validate() error

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

type OnEnterLifecycle

type OnEnterLifecycle struct {

	// Specifies the actions that are performed when the state is entered and the
	// condition is TRUE.
	Events []*Event `locationName:"events" type:"list"`
	// contains filtered or unexported fields
}

When entering this state, perform these actions if the condition is TRUE.

func (OnEnterLifecycle) GoString

func (s OnEnterLifecycle) GoString() string

GoString returns the string representation

func (*OnEnterLifecycle) SetEvents

func (s *OnEnterLifecycle) SetEvents(v []*Event) *OnEnterLifecycle

SetEvents sets the Events field's value.

func (OnEnterLifecycle) String

func (s OnEnterLifecycle) String() string

String returns the string representation

func (*OnEnterLifecycle) Validate

func (s *OnEnterLifecycle) Validate() error

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

type OnExitLifecycle

type OnExitLifecycle struct {

	// Specifies the actions that are performed when the state is exited and the
	// condition is TRUE.
	Events []*Event `locationName:"events" type:"list"`
	// contains filtered or unexported fields
}

When exiting this state, perform these actions if the specified condition is TRUE.

func (OnExitLifecycle) GoString

func (s OnExitLifecycle) GoString() string

GoString returns the string representation

func (*OnExitLifecycle) SetEvents

func (s *OnExitLifecycle) SetEvents(v []*Event) *OnExitLifecycle

SetEvents sets the Events field's value.

func (OnExitLifecycle) String

func (s OnExitLifecycle) String() string

String returns the string representation

func (*OnExitLifecycle) Validate

func (s *OnExitLifecycle) Validate() error

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

type OnInputLifecycle

type OnInputLifecycle struct {

	// Specifies the actions performed when the condition evaluates to TRUE.
	Events []*Event `locationName:"events" type:"list"`

	// Specifies the actions performed, and the next state entered, when a condition
	// evaluates to TRUE.
	TransitionEvents []*TransitionEvent `locationName:"transitionEvents" type:"list"`
	// contains filtered or unexported fields
}

Specifies the actions performed when the condition evaluates to TRUE.

func (OnInputLifecycle) GoString

func (s OnInputLifecycle) GoString() string

GoString returns the string representation

func (*OnInputLifecycle) SetEvents

func (s *OnInputLifecycle) SetEvents(v []*Event) *OnInputLifecycle

SetEvents sets the Events field's value.

func (*OnInputLifecycle) SetTransitionEvents

func (s *OnInputLifecycle) SetTransitionEvents(v []*TransitionEvent) *OnInputLifecycle

SetTransitionEvents sets the TransitionEvents field's value.

func (OnInputLifecycle) String

func (s OnInputLifecycle) String() string

String returns the string representation

func (*OnInputLifecycle) Validate

func (s *OnInputLifecycle) Validate() error

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

type Payload added in v1.30.8

type Payload struct {

	// The content of the payload. You can use a string expression that includes
	// quoted strings ('<string>'), variables ($variable.<variable-name>), input
	// values ($input.<input-name>.<path-to-datum>), string concatenations, and
	// quoted strings that contain ${} as the content. The recommended maximum size
	// of a content expression is 1 KB.
	//
	// ContentExpression is a required field
	ContentExpression *string `locationName:"contentExpression" min:"1" type:"string" required:"true"`

	// The value of the payload type can be either STRING or JSON.
	//
	// Type is a required field
	Type *string `locationName:"type" type:"string" required:"true" enum:"PayloadType"`
	// contains filtered or unexported fields
}

Information needed to configure the payload.

By default, AWS IoT Events generates a standard payload in JSON for any action. This action payload contains all attribute-value pairs that have the information about the detector model instance and the event triggered the action. To configure the action payload, you can use contentExpression.

func (Payload) GoString added in v1.30.8

func (s Payload) GoString() string

GoString returns the string representation

func (*Payload) SetContentExpression added in v1.30.8

func (s *Payload) SetContentExpression(v string) *Payload

SetContentExpression sets the ContentExpression field's value.

func (*Payload) SetType added in v1.30.8

func (s *Payload) SetType(v string) *Payload

SetType sets the Type field's value.

func (Payload) String added in v1.30.8

func (s Payload) String() string

String returns the string representation

func (*Payload) Validate added in v1.30.8

func (s *Payload) Validate() error

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

type PutLoggingOptionsInput

type PutLoggingOptionsInput struct {

	// The new values of the AWS IoT Events logging options.
	//
	// LoggingOptions is a required field
	LoggingOptions *LoggingOptions `locationName:"loggingOptions" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (PutLoggingOptionsInput) GoString

func (s PutLoggingOptionsInput) GoString() string

GoString returns the string representation

func (*PutLoggingOptionsInput) SetLoggingOptions

SetLoggingOptions sets the LoggingOptions field's value.

func (PutLoggingOptionsInput) String

func (s PutLoggingOptionsInput) String() string

String returns the string representation

func (*PutLoggingOptionsInput) Validate

func (s *PutLoggingOptionsInput) Validate() error

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

type PutLoggingOptionsOutput

type PutLoggingOptionsOutput struct {
	// contains filtered or unexported fields
}

func (PutLoggingOptionsOutput) GoString

func (s PutLoggingOptionsOutput) GoString() string

GoString returns the string representation

func (PutLoggingOptionsOutput) String

func (s PutLoggingOptionsOutput) String() string

String returns the string representation

type ResetTimerAction

type ResetTimerAction struct {

	// The name of the timer to reset.
	//
	// TimerName is a required field
	TimerName *string `locationName:"timerName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Information required to reset the timer. The timer is reset to the previously evaluated result of the duration. The duration expression isn't reevaluated when you reset the timer.

func (ResetTimerAction) GoString

func (s ResetTimerAction) GoString() string

GoString returns the string representation

func (*ResetTimerAction) SetTimerName

func (s *ResetTimerAction) SetTimerName(v string) *ResetTimerAction

SetTimerName sets the TimerName field's value.

func (ResetTimerAction) String

func (s ResetTimerAction) String() string

String returns the string representation

func (*ResetTimerAction) Validate

func (s *ResetTimerAction) Validate() error

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

type ResourceAlreadyExistsException added in v1.28.0

type ResourceAlreadyExistsException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	// The message for the exception.
	Message_ *string `locationName:"message" type:"string"`

	// The ARN of the resource.
	ResourceArn *string `locationName:"resourceArn" type:"string"`

	// The ID of the resource.
	ResourceId *string `locationName:"resourceId" type:"string"`
	// contains filtered or unexported fields
}

The resource already exists.

func (*ResourceAlreadyExistsException) Code added in v1.28.0

Code returns the exception type name.

func (*ResourceAlreadyExistsException) Error added in v1.28.0

func (ResourceAlreadyExistsException) GoString added in v1.28.0

GoString returns the string representation

func (*ResourceAlreadyExistsException) Message added in v1.28.0

Message returns the exception's message.

func (*ResourceAlreadyExistsException) OrigErr added in v1.28.0

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ResourceAlreadyExistsException) RequestID added in v1.28.0

func (s *ResourceAlreadyExistsException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ResourceAlreadyExistsException) StatusCode added in v1.28.0

func (s *ResourceAlreadyExistsException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ResourceAlreadyExistsException) String added in v1.28.0

String returns the string representation

type ResourceInUseException added in v1.28.0

type ResourceInUseException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	// The message for the exception.
	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

The resource is in use.

func (*ResourceInUseException) Code added in v1.28.0

func (s *ResourceInUseException) Code() string

Code returns the exception type name.

func (*ResourceInUseException) Error added in v1.28.0

func (s *ResourceInUseException) Error() string

func (ResourceInUseException) GoString added in v1.28.0

func (s ResourceInUseException) GoString() string

GoString returns the string representation

func (*ResourceInUseException) Message added in v1.28.0

func (s *ResourceInUseException) Message() string

Message returns the exception's message.

func (*ResourceInUseException) OrigErr added in v1.28.0

func (s *ResourceInUseException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ResourceInUseException) RequestID added in v1.28.0

func (s *ResourceInUseException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ResourceInUseException) StatusCode added in v1.28.0

func (s *ResourceInUseException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ResourceInUseException) String added in v1.28.0

func (s ResourceInUseException) String() string

String returns the string representation

type ResourceNotFoundException added in v1.28.0

type ResourceNotFoundException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	// The message for the exception.
	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

The resource was not found.

func (*ResourceNotFoundException) Code added in v1.28.0

Code returns the exception type name.

func (*ResourceNotFoundException) Error added in v1.28.0

func (s *ResourceNotFoundException) Error() string

func (ResourceNotFoundException) GoString added in v1.28.0

func (s ResourceNotFoundException) GoString() string

GoString returns the string representation

func (*ResourceNotFoundException) Message added in v1.28.0

func (s *ResourceNotFoundException) Message() string

Message returns the exception's message.

func (*ResourceNotFoundException) OrigErr added in v1.28.0

func (s *ResourceNotFoundException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ResourceNotFoundException) RequestID added in v1.28.0

func (s *ResourceNotFoundException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ResourceNotFoundException) StatusCode added in v1.28.0

func (s *ResourceNotFoundException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ResourceNotFoundException) String added in v1.28.0

func (s ResourceNotFoundException) String() string

String returns the string representation

type SNSTopicPublishAction

type SNSTopicPublishAction struct {

	// You can configure the action payload when you send a message as an Amazon
	// SNS push notification.
	Payload *Payload `locationName:"payload" type:"structure"`

	// The ARN of the Amazon SNS target where the message is sent.
	//
	// TargetArn is a required field
	TargetArn *string `locationName:"targetArn" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Information required to publish the Amazon SNS message.

func (SNSTopicPublishAction) GoString

func (s SNSTopicPublishAction) GoString() string

GoString returns the string representation

func (*SNSTopicPublishAction) SetPayload added in v1.30.8

SetPayload sets the Payload field's value.

func (*SNSTopicPublishAction) SetTargetArn

SetTargetArn sets the TargetArn field's value.

func (SNSTopicPublishAction) String

func (s SNSTopicPublishAction) String() string

String returns the string representation

func (*SNSTopicPublishAction) Validate

func (s *SNSTopicPublishAction) Validate() error

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

type ServiceUnavailableException added in v1.28.0

type ServiceUnavailableException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	// The message for the exception.
	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

The service is currently unavailable.

func (*ServiceUnavailableException) Code added in v1.28.0

Code returns the exception type name.

func (*ServiceUnavailableException) Error added in v1.28.0

func (ServiceUnavailableException) GoString added in v1.28.0

func (s ServiceUnavailableException) GoString() string

GoString returns the string representation

func (*ServiceUnavailableException) Message added in v1.28.0

func (s *ServiceUnavailableException) Message() string

Message returns the exception's message.

func (*ServiceUnavailableException) OrigErr added in v1.28.0

func (s *ServiceUnavailableException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ServiceUnavailableException) RequestID added in v1.28.0

func (s *ServiceUnavailableException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ServiceUnavailableException) StatusCode added in v1.28.0

func (s *ServiceUnavailableException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ServiceUnavailableException) String added in v1.28.0

String returns the string representation

type SetTimerAction

type SetTimerAction struct {

	// The duration of the timer, in seconds. You can use a string expression that
	// includes numbers, variables ($variable.<variable-name>), and input values
	// ($input.<input-name>.<path-to-datum>) as the duration. The range of the duration
	// is 1-31622400 seconds. To ensure accuracy, the minimum duration is 60 seconds.
	// The evaluated result of the duration is rounded down to the nearest whole
	// number.
	DurationExpression *string `locationName:"durationExpression" min:"1" type:"string"`

	// The number of seconds until the timer expires. The minimum value is 60 seconds
	// to ensure accuracy. The maximum value is 31622400 seconds.
	//
	// Deprecated: seconds is deprecated. You can use durationExpression for SetTimerAction. The value of seconds can be used as a string expression for durationExpression.
	Seconds *int64 `locationName:"seconds" min:"1" deprecated:"true" type:"integer"`

	// The name of the timer.
	//
	// TimerName is a required field
	TimerName *string `locationName:"timerName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Information needed to set the timer.

func (SetTimerAction) GoString

func (s SetTimerAction) GoString() string

GoString returns the string representation

func (*SetTimerAction) SetDurationExpression added in v1.29.21

func (s *SetTimerAction) SetDurationExpression(v string) *SetTimerAction

SetDurationExpression sets the DurationExpression field's value.

func (*SetTimerAction) SetSeconds

func (s *SetTimerAction) SetSeconds(v int64) *SetTimerAction

SetSeconds sets the Seconds field's value.

func (*SetTimerAction) SetTimerName

func (s *SetTimerAction) SetTimerName(v string) *SetTimerAction

SetTimerName sets the TimerName field's value.

func (SetTimerAction) String

func (s SetTimerAction) String() string

String returns the string representation

func (*SetTimerAction) Validate

func (s *SetTimerAction) Validate() error

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

type SetVariableAction

type SetVariableAction struct {

	// The new value of the variable.
	//
	// Value is a required field
	Value *string `locationName:"value" min:"1" type:"string" required:"true"`

	// The name of the variable.
	//
	// VariableName is a required field
	VariableName *string `locationName:"variableName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Information about the variable and its new value.

func (SetVariableAction) GoString

func (s SetVariableAction) GoString() string

GoString returns the string representation

func (*SetVariableAction) SetValue

func (s *SetVariableAction) SetValue(v string) *SetVariableAction

SetValue sets the Value field's value.

func (*SetVariableAction) SetVariableName

func (s *SetVariableAction) SetVariableName(v string) *SetVariableAction

SetVariableName sets the VariableName field's value.

func (SetVariableAction) String

func (s SetVariableAction) String() string

String returns the string representation

func (*SetVariableAction) Validate

func (s *SetVariableAction) Validate() error

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

type SqsAction added in v1.21.1

type SqsAction struct {

	// You can configure the action payload when you send a message to an Amazon
	// SQS queue.
	Payload *Payload `locationName:"payload" type:"structure"`

	// The URL of the SQS queue where the data is written.
	//
	// QueueUrl is a required field
	QueueUrl *string `locationName:"queueUrl" type:"string" required:"true"`

	// Set this to TRUE if you want the data to be base-64 encoded before it is
	// written to the queue. Otherwise, set this to FALSE.
	UseBase64 *bool `locationName:"useBase64" type:"boolean"`
	// contains filtered or unexported fields
}

Sends information about the detector model instance and the event that triggered the action to an Amazon SQS queue.

func (SqsAction) GoString added in v1.21.1

func (s SqsAction) GoString() string

GoString returns the string representation

func (*SqsAction) SetPayload added in v1.30.8

func (s *SqsAction) SetPayload(v *Payload) *SqsAction

SetPayload sets the Payload field's value.

func (*SqsAction) SetQueueUrl added in v1.21.1

func (s *SqsAction) SetQueueUrl(v string) *SqsAction

SetQueueUrl sets the QueueUrl field's value.

func (*SqsAction) SetUseBase64 added in v1.21.1

func (s *SqsAction) SetUseBase64(v bool) *SqsAction

SetUseBase64 sets the UseBase64 field's value.

func (SqsAction) String added in v1.21.1

func (s SqsAction) String() string

String returns the string representation

func (*SqsAction) Validate added in v1.21.1

func (s *SqsAction) Validate() error

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

type State

type State struct {

	// When entering this state, perform these actions if the condition is TRUE.
	OnEnter *OnEnterLifecycle `locationName:"onEnter" type:"structure"`

	// When exiting this state, perform these actions if the specified condition
	// is TRUE.
	OnExit *OnExitLifecycle `locationName:"onExit" type:"structure"`

	// When an input is received and the condition is TRUE, perform the specified
	// actions.
	OnInput *OnInputLifecycle `locationName:"onInput" type:"structure"`

	// The name of the state.
	//
	// StateName is a required field
	StateName *string `locationName:"stateName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Information that defines a state of a detector.

func (State) GoString

func (s State) GoString() string

GoString returns the string representation

func (*State) SetOnEnter

func (s *State) SetOnEnter(v *OnEnterLifecycle) *State

SetOnEnter sets the OnEnter field's value.

func (*State) SetOnExit

func (s *State) SetOnExit(v *OnExitLifecycle) *State

SetOnExit sets the OnExit field's value.

func (*State) SetOnInput

func (s *State) SetOnInput(v *OnInputLifecycle) *State

SetOnInput sets the OnInput field's value.

func (*State) SetStateName

func (s *State) SetStateName(v string) *State

SetStateName sets the StateName field's value.

func (State) String

func (s State) String() string

String returns the string representation

func (*State) Validate

func (s *State) Validate() error

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

type Tag

type Tag struct {

	// The tag's key.
	//
	// Key is a required field
	Key *string `locationName:"key" min:"1" type:"string" required:"true"`

	// The tag's value.
	//
	// Value is a required field
	Value *string `locationName:"value" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Metadata that can be used to manage the resource.

func (Tag) GoString

func (s Tag) GoString() string

GoString returns the string representation

func (*Tag) SetKey

func (s *Tag) SetKey(v string) *Tag

SetKey sets the Key field's value.

func (*Tag) SetValue

func (s *Tag) SetValue(v string) *Tag

SetValue sets the Value field's value.

func (Tag) String

func (s Tag) String() string

String returns the string representation

func (*Tag) Validate

func (s *Tag) Validate() error

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

type TagResourceInput

type TagResourceInput struct {

	// The ARN of the resource.
	//
	// ResourceArn is a required field
	ResourceArn *string `location:"querystring" locationName:"resourceArn" min:"1" type:"string" required:"true"`

	// The new or modified tags for the resource.
	//
	// Tags is a required field
	Tags []*Tag `locationName:"tags" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (TagResourceInput) GoString

func (s TagResourceInput) GoString() string

GoString returns the string representation

func (*TagResourceInput) SetResourceArn

func (s *TagResourceInput) SetResourceArn(v string) *TagResourceInput

SetResourceArn sets the ResourceArn field's value.

func (*TagResourceInput) SetTags

func (s *TagResourceInput) SetTags(v []*Tag) *TagResourceInput

SetTags sets the Tags field's value.

func (TagResourceInput) String

func (s TagResourceInput) String() string

String returns the string representation

func (*TagResourceInput) Validate

func (s *TagResourceInput) Validate() error

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

type TagResourceOutput

type TagResourceOutput struct {
	// contains filtered or unexported fields
}

func (TagResourceOutput) GoString

func (s TagResourceOutput) GoString() string

GoString returns the string representation

func (TagResourceOutput) String

func (s TagResourceOutput) String() string

String returns the string representation

type ThrottlingException added in v1.28.0

type ThrottlingException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	// The message for the exception.
	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

The request could not be completed due to throttling.

func (*ThrottlingException) Code added in v1.28.0

func (s *ThrottlingException) Code() string

Code returns the exception type name.

func (*ThrottlingException) Error added in v1.28.0

func (s *ThrottlingException) Error() string

func (ThrottlingException) GoString added in v1.28.0

func (s ThrottlingException) GoString() string

GoString returns the string representation

func (*ThrottlingException) Message added in v1.28.0

func (s *ThrottlingException) Message() string

Message returns the exception's message.

func (*ThrottlingException) OrigErr added in v1.28.0

func (s *ThrottlingException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ThrottlingException) RequestID added in v1.28.0

func (s *ThrottlingException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ThrottlingException) StatusCode added in v1.28.0

func (s *ThrottlingException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ThrottlingException) String added in v1.28.0

func (s ThrottlingException) String() string

String returns the string representation

type TransitionEvent

type TransitionEvent struct {

	// The actions to be performed.
	Actions []*ActionData `locationName:"actions" type:"list"`

	// Required. A Boolean expression that when TRUE causes the actions to be performed
	// and the nextState to be entered.
	//
	// Condition is a required field
	Condition *string `locationName:"condition" type:"string" required:"true"`

	// The name of the transition event.
	//
	// EventName is a required field
	EventName *string `locationName:"eventName" type:"string" required:"true"`

	// The next state to enter.
	//
	// NextState is a required field
	NextState *string `locationName:"nextState" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Specifies the actions performed and the next state entered when a condition evaluates to TRUE.

func (TransitionEvent) GoString

func (s TransitionEvent) GoString() string

GoString returns the string representation

func (*TransitionEvent) SetActions

func (s *TransitionEvent) SetActions(v []*ActionData) *TransitionEvent

SetActions sets the Actions field's value.

func (*TransitionEvent) SetCondition

func (s *TransitionEvent) SetCondition(v string) *TransitionEvent

SetCondition sets the Condition field's value.

func (*TransitionEvent) SetEventName

func (s *TransitionEvent) SetEventName(v string) *TransitionEvent

SetEventName sets the EventName field's value.

func (*TransitionEvent) SetNextState

func (s *TransitionEvent) SetNextState(v string) *TransitionEvent

SetNextState sets the NextState field's value.

func (TransitionEvent) String

func (s TransitionEvent) String() string

String returns the string representation

func (*TransitionEvent) Validate

func (s *TransitionEvent) Validate() error

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

type UnsupportedOperationException added in v1.28.0

type UnsupportedOperationException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	// The message for the exception.
	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

The requested operation is not supported.

func (*UnsupportedOperationException) Code added in v1.28.0

Code returns the exception type name.

func (*UnsupportedOperationException) Error added in v1.28.0

func (UnsupportedOperationException) GoString added in v1.28.0

GoString returns the string representation

func (*UnsupportedOperationException) Message added in v1.28.0

Message returns the exception's message.

func (*UnsupportedOperationException) OrigErr added in v1.28.0

func (s *UnsupportedOperationException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*UnsupportedOperationException) RequestID added in v1.28.0

func (s *UnsupportedOperationException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*UnsupportedOperationException) StatusCode added in v1.28.0

func (s *UnsupportedOperationException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (UnsupportedOperationException) String added in v1.28.0

String returns the string representation

type UntagResourceInput

type UntagResourceInput struct {

	// The ARN of the resource.
	//
	// ResourceArn is a required field
	ResourceArn *string `location:"querystring" locationName:"resourceArn" min:"1" type:"string" required:"true"`

	// A list of the keys of the tags to be removed from the resource.
	//
	// TagKeys is a required field
	TagKeys []*string `location:"querystring" locationName:"tagKeys" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (UntagResourceInput) GoString

func (s UntagResourceInput) GoString() string

GoString returns the string representation

func (*UntagResourceInput) SetResourceArn

func (s *UntagResourceInput) SetResourceArn(v string) *UntagResourceInput

SetResourceArn sets the ResourceArn field's value.

func (*UntagResourceInput) SetTagKeys

func (s *UntagResourceInput) SetTagKeys(v []*string) *UntagResourceInput

SetTagKeys sets the TagKeys field's value.

func (UntagResourceInput) String

func (s UntagResourceInput) String() string

String returns the string representation

func (*UntagResourceInput) Validate

func (s *UntagResourceInput) Validate() error

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

type UntagResourceOutput

type UntagResourceOutput struct {
	// contains filtered or unexported fields
}

func (UntagResourceOutput) GoString

func (s UntagResourceOutput) GoString() string

GoString returns the string representation

func (UntagResourceOutput) String

func (s UntagResourceOutput) String() string

String returns the string representation

type UpdateDetectorModelInput

type UpdateDetectorModelInput struct {

	// Information that defines how a detector operates.
	//
	// DetectorModelDefinition is a required field
	DetectorModelDefinition *DetectorModelDefinition `locationName:"detectorModelDefinition" type:"structure" required:"true"`

	// A brief description of the detector model.
	DetectorModelDescription *string `locationName:"detectorModelDescription" type:"string"`

	// The name of the detector model that is updated.
	//
	// DetectorModelName is a required field
	DetectorModelName *string `location:"uri" locationName:"detectorModelName" min:"1" type:"string" required:"true"`

	// Information about the order in which events are evaluated and how actions
	// are executed.
	EvaluationMethod *string `locationName:"evaluationMethod" type:"string" enum:"EvaluationMethod"`

	// The ARN of the role that grants permission to AWS IoT Events to perform its
	// operations.
	//
	// RoleArn is a required field
	RoleArn *string `locationName:"roleArn" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (UpdateDetectorModelInput) GoString

func (s UpdateDetectorModelInput) GoString() string

GoString returns the string representation

func (*UpdateDetectorModelInput) SetDetectorModelDefinition

SetDetectorModelDefinition sets the DetectorModelDefinition field's value.

func (*UpdateDetectorModelInput) SetDetectorModelDescription

func (s *UpdateDetectorModelInput) SetDetectorModelDescription(v string) *UpdateDetectorModelInput

SetDetectorModelDescription sets the DetectorModelDescription field's value.

func (*UpdateDetectorModelInput) SetDetectorModelName

func (s *UpdateDetectorModelInput) SetDetectorModelName(v string) *UpdateDetectorModelInput

SetDetectorModelName sets the DetectorModelName field's value.

func (*UpdateDetectorModelInput) SetEvaluationMethod added in v1.25.17

func (s *UpdateDetectorModelInput) SetEvaluationMethod(v string) *UpdateDetectorModelInput

SetEvaluationMethod sets the EvaluationMethod field's value.

func (*UpdateDetectorModelInput) SetRoleArn

SetRoleArn sets the RoleArn field's value.

func (UpdateDetectorModelInput) String

func (s UpdateDetectorModelInput) String() string

String returns the string representation

func (*UpdateDetectorModelInput) Validate

func (s *UpdateDetectorModelInput) Validate() error

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

type UpdateDetectorModelOutput

type UpdateDetectorModelOutput struct {

	// Information about how the detector model is configured.
	DetectorModelConfiguration *DetectorModelConfiguration `locationName:"detectorModelConfiguration" type:"structure"`
	// contains filtered or unexported fields
}

func (UpdateDetectorModelOutput) GoString

func (s UpdateDetectorModelOutput) GoString() string

GoString returns the string representation

func (*UpdateDetectorModelOutput) SetDetectorModelConfiguration

SetDetectorModelConfiguration sets the DetectorModelConfiguration field's value.

func (UpdateDetectorModelOutput) String

func (s UpdateDetectorModelOutput) String() string

String returns the string representation

type UpdateInputInput

type UpdateInputInput struct {

	// The definition of the input.
	//
	// InputDefinition is a required field
	InputDefinition *InputDefinition `locationName:"inputDefinition" type:"structure" required:"true"`

	// A brief description of the input.
	InputDescription *string `locationName:"inputDescription" type:"string"`

	// The name of the input you want to update.
	//
	// InputName is a required field
	InputName *string `location:"uri" locationName:"inputName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (UpdateInputInput) GoString

func (s UpdateInputInput) GoString() string

GoString returns the string representation

func (*UpdateInputInput) SetInputDefinition

func (s *UpdateInputInput) SetInputDefinition(v *InputDefinition) *UpdateInputInput

SetInputDefinition sets the InputDefinition field's value.

func (*UpdateInputInput) SetInputDescription

func (s *UpdateInputInput) SetInputDescription(v string) *UpdateInputInput

SetInputDescription sets the InputDescription field's value.

func (*UpdateInputInput) SetInputName

func (s *UpdateInputInput) SetInputName(v string) *UpdateInputInput

SetInputName sets the InputName field's value.

func (UpdateInputInput) String

func (s UpdateInputInput) String() string

String returns the string representation

func (*UpdateInputInput) Validate

func (s *UpdateInputInput) Validate() error

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

type UpdateInputOutput

type UpdateInputOutput struct {

	// Information about the configuration of the input.
	InputConfiguration *InputConfiguration `locationName:"inputConfiguration" type:"structure"`
	// contains filtered or unexported fields
}

func (UpdateInputOutput) GoString

func (s UpdateInputOutput) GoString() string

GoString returns the string representation

func (*UpdateInputOutput) SetInputConfiguration

func (s *UpdateInputOutput) SetInputConfiguration(v *InputConfiguration) *UpdateInputOutput

SetInputConfiguration sets the InputConfiguration field's value.

func (UpdateInputOutput) String

func (s UpdateInputOutput) String() string

String returns the string representation

Directories

Path Synopsis
Package ioteventsiface provides an interface to enable mocking the AWS IoT Events service client for testing your code.
Package ioteventsiface provides an interface to enable mocking the AWS IoT Events service client for testing your code.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL