...
AWS SDK for Go API Reference
import "github.com/aws/aws-sdk-go/service/iotevents"
Overview
Constants

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. AWS IoT Events API commands enable you 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

The stub package, ioteventsiface, can be used to provide alternative implementations of service clients, such as mocking the client for testing.

Types ▾

type Action
func (s *Action) SetInputName(v string) *Action
type ActionData
func (s *ActionData) SetClearTimer(v *ClearTimerAction) *ActionData
func (s *ActionData) SetFirehose(v *FirehoseAction) *ActionData
func (s *ActionData) SetIotEvents(v *Action) *ActionData
func (s *ActionData) SetIotTopicPublish(v *IotTopicPublishAction) *ActionData
func (s *ActionData) SetLambda(v *LambdaAction) *ActionData
func (s *ActionData) SetResetTimer(v *ResetTimerAction) *ActionData
func (s *ActionData) SetSetTimer(v *SetTimerAction) *ActionData
func (s *ActionData) SetSetVariable(v *SetVariableAction) *ActionData
func (s *ActionData) SetSns(v *SNSTopicPublishAction) *ActionData
func (s *ActionData) SetSqs(v *SqsAction) *ActionData
type Attribute
func (s *Attribute) SetJsonPath(v string) *Attribute
type ClearTimerAction
func (s *ClearTimerAction) SetTimerName(v string) *ClearTimerAction
type CreateDetectorModelInput
func (s *CreateDetectorModelInput) SetDetectorModelDefinition(v *DetectorModelDefinition) *CreateDetectorModelInput
func (s *CreateDetectorModelInput) SetDetectorModelDescription(v string) *CreateDetectorModelInput
func (s *CreateDetectorModelInput) SetDetectorModelName(v string) *CreateDetectorModelInput
func (s *CreateDetectorModelInput) SetEvaluationMethod(v string) *CreateDetectorModelInput
func (s *CreateDetectorModelInput) SetKey(v string) *CreateDetectorModelInput
func (s *CreateDetectorModelInput) SetRoleArn(v string) *CreateDetectorModelInput
func (s *CreateDetectorModelInput) SetTags(v []*Tag) *CreateDetectorModelInput
type CreateDetectorModelOutput
func (s *CreateDetectorModelOutput) SetDetectorModelConfiguration(v *DetectorModelConfiguration) *CreateDetectorModelOutput
type CreateInputInput
func (s *CreateInputInput) SetInputDefinition(v *InputDefinition) *CreateInputInput
func (s *CreateInputInput) SetInputDescription(v string) *CreateInputInput
func (s *CreateInputInput) SetInputName(v string) *CreateInputInput
func (s *CreateInputInput) SetTags(v []*Tag) *CreateInputInput
type CreateInputOutput
func (s *CreateInputOutput) SetInputConfiguration(v *InputConfiguration) *CreateInputOutput
type DeleteDetectorModelInput
func (s *DeleteDetectorModelInput) SetDetectorModelName(v string) *DeleteDetectorModelInput
type DeleteDetectorModelOutput
type DeleteInputInput
func (s *DeleteInputInput) SetInputName(v string) *DeleteInputInput
type DeleteInputOutput
type DescribeDetectorModelInput
func (s *DescribeDetectorModelInput) SetDetectorModelName(v string) *DescribeDetectorModelInput
func (s *DescribeDetectorModelInput) SetDetectorModelVersion(v string) *DescribeDetectorModelInput
type DescribeDetectorModelOutput
func (s *DescribeDetectorModelOutput) SetDetectorModel(v *DetectorModel) *DescribeDetectorModelOutput
type DescribeInputInput
func (s *DescribeInputInput) SetInputName(v string) *DescribeInputInput
type DescribeInputOutput
func (s *DescribeInputOutput) SetInput(v *Input) *DescribeInputOutput
type DescribeLoggingOptionsInput
type DescribeLoggingOptionsOutput
func (s *DescribeLoggingOptionsOutput) SetLoggingOptions(v *LoggingOptions) *DescribeLoggingOptionsOutput
type DetectorDebugOption
func (s *DetectorDebugOption) SetDetectorModelName(v string) *DetectorDebugOption
func (s *DetectorDebugOption) SetKeyValue(v string) *DetectorDebugOption
type DetectorModel
func (s *DetectorModel) SetDetectorModelConfiguration(v *DetectorModelConfiguration) *DetectorModel
func (s *DetectorModel) SetDetectorModelDefinition(v *DetectorModelDefinition) *DetectorModel
type DetectorModelConfiguration
func (s *DetectorModelConfiguration) SetCreationTime(v time.Time) *DetectorModelConfiguration
func (s *DetectorModelConfiguration) SetDetectorModelArn(v string) *DetectorModelConfiguration
func (s *DetectorModelConfiguration) SetDetectorModelDescription(v string) *DetectorModelConfiguration
func (s *DetectorModelConfiguration) SetDetectorModelName(v string) *DetectorModelConfiguration
func (s *DetectorModelConfiguration) SetDetectorModelVersion(v string) *DetectorModelConfiguration
func (s *DetectorModelConfiguration) SetEvaluationMethod(v string) *DetectorModelConfiguration
func (s *DetectorModelConfiguration) SetKey(v string) *DetectorModelConfiguration
func (s *DetectorModelConfiguration) SetLastUpdateTime(v time.Time) *DetectorModelConfiguration
func (s *DetectorModelConfiguration) SetRoleArn(v string) *DetectorModelConfiguration
func (s *DetectorModelConfiguration) SetStatus(v string) *DetectorModelConfiguration
type DetectorModelDefinition
func (s *DetectorModelDefinition) SetInitialStateName(v string) *DetectorModelDefinition
func (s *DetectorModelDefinition) SetStates(v []*State) *DetectorModelDefinition
type DetectorModelSummary
func (s *DetectorModelSummary) SetCreationTime(v time.Time) *DetectorModelSummary
func (s *DetectorModelSummary) SetDetectorModelDescription(v string) *DetectorModelSummary
func (s *DetectorModelSummary) SetDetectorModelName(v string) *DetectorModelSummary
type DetectorModelVersionSummary
func (s *DetectorModelVersionSummary) SetCreationTime(v time.Time) *DetectorModelVersionSummary
func (s *DetectorModelVersionSummary) SetDetectorModelArn(v string) *DetectorModelVersionSummary
func (s *DetectorModelVersionSummary) SetDetectorModelName(v string) *DetectorModelVersionSummary
func (s *DetectorModelVersionSummary) SetDetectorModelVersion(v string) *DetectorModelVersionSummary
func (s *DetectorModelVersionSummary) SetEvaluationMethod(v string) *DetectorModelVersionSummary
func (s *DetectorModelVersionSummary) SetLastUpdateTime(v time.Time) *DetectorModelVersionSummary
func (s *DetectorModelVersionSummary) SetRoleArn(v string) *DetectorModelVersionSummary
func (s *DetectorModelVersionSummary) SetStatus(v string) *DetectorModelVersionSummary
type Event
func (s *Event) SetActions(v []*ActionData) *Event
func (s *Event) SetCondition(v string) *Event
func (s *Event) SetEventName(v string) *Event
type FirehoseAction
func (s *FirehoseAction) SetDeliveryStreamName(v string) *FirehoseAction
func (s *FirehoseAction) SetSeparator(v string) *FirehoseAction
type Input
func (s *Input) SetInputConfiguration(v *InputConfiguration) *Input
func (s *Input) SetInputDefinition(v *InputDefinition) *Input
type InputConfiguration
func (s *InputConfiguration) SetCreationTime(v time.Time) *InputConfiguration
func (s *InputConfiguration) SetInputArn(v string) *InputConfiguration
func (s *InputConfiguration) SetInputDescription(v string) *InputConfiguration
func (s *InputConfiguration) SetInputName(v string) *InputConfiguration
func (s *InputConfiguration) SetLastUpdateTime(v time.Time) *InputConfiguration
func (s *InputConfiguration) SetStatus(v string) *InputConfiguration
type InputDefinition
func (s *InputDefinition) SetAttributes(v []*Attribute) *InputDefinition
type InputSummary
func (s *InputSummary) SetCreationTime(v time.Time) *InputSummary
func (s *InputSummary) SetInputArn(v string) *InputSummary
func (s *InputSummary) SetInputDescription(v string) *InputSummary
func (s *InputSummary) SetInputName(v string) *InputSummary
func (s *InputSummary) SetLastUpdateTime(v time.Time) *InputSummary
func (s *InputSummary) SetStatus(v string) *InputSummary
type IoTEvents
type IotTopicPublishAction
func (s *IotTopicPublishAction) SetMqttTopic(v string) *IotTopicPublishAction
type LambdaAction
func (s *LambdaAction) SetFunctionArn(v string) *LambdaAction
type ListDetectorModelVersionsInput
func (s *ListDetectorModelVersionsInput) SetDetectorModelName(v string) *ListDetectorModelVersionsInput
func (s *ListDetectorModelVersionsInput) SetMaxResults(v int64) *ListDetectorModelVersionsInput
func (s *ListDetectorModelVersionsInput) SetNextToken(v string) *ListDetectorModelVersionsInput
type ListDetectorModelVersionsOutput
func (s *ListDetectorModelVersionsOutput) SetDetectorModelVersionSummaries(v []*DetectorModelVersionSummary) *ListDetectorModelVersionsOutput
func (s *ListDetectorModelVersionsOutput) SetNextToken(v string) *ListDetectorModelVersionsOutput
type ListDetectorModelsInput
func (s *ListDetectorModelsInput) SetMaxResults(v int64) *ListDetectorModelsInput
func (s *ListDetectorModelsInput) SetNextToken(v string) *ListDetectorModelsInput
type ListDetectorModelsOutput
func (s *ListDetectorModelsOutput) SetDetectorModelSummaries(v []*DetectorModelSummary) *ListDetectorModelsOutput
func (s *ListDetectorModelsOutput) SetNextToken(v string) *ListDetectorModelsOutput
type ListInputsInput
func (s *ListInputsInput) SetMaxResults(v int64) *ListInputsInput
func (s *ListInputsInput) SetNextToken(v string) *ListInputsInput
type ListInputsOutput
func (s *ListInputsOutput) SetInputSummaries(v []*InputSummary) *ListInputsOutput
func (s *ListInputsOutput) SetNextToken(v string) *ListInputsOutput
type ListTagsForResourceInput
func (s *ListTagsForResourceInput) SetResourceArn(v string) *ListTagsForResourceInput
type ListTagsForResourceOutput
func (s *ListTagsForResourceOutput) SetTags(v []*Tag) *ListTagsForResourceOutput
type LoggingOptions
func (s *LoggingOptions) SetDetectorDebugOptions(v []*DetectorDebugOption) *LoggingOptions
func (s *LoggingOptions) SetEnabled(v bool) *LoggingOptions
func (s *LoggingOptions) SetLevel(v string) *LoggingOptions
func (s *LoggingOptions) SetRoleArn(v string) *LoggingOptions
type OnEnterLifecycle
func (s *OnEnterLifecycle) SetEvents(v []*Event) *OnEnterLifecycle
type OnExitLifecycle
func (s *OnExitLifecycle) SetEvents(v []*Event) *OnExitLifecycle
type OnInputLifecycle
func (s *OnInputLifecycle) SetEvents(v []*Event) *OnInputLifecycle
func (s *OnInputLifecycle) SetTransitionEvents(v []*TransitionEvent) *OnInputLifecycle
type PutLoggingOptionsInput
func (s *PutLoggingOptionsInput) SetLoggingOptions(v *LoggingOptions) *PutLoggingOptionsInput
type PutLoggingOptionsOutput
type ResetTimerAction
func (s *ResetTimerAction) SetTimerName(v string) *ResetTimerAction
type SNSTopicPublishAction
func (s *SNSTopicPublishAction) SetTargetArn(v string) *SNSTopicPublishAction
type SetTimerAction
func (s *SetTimerAction) SetSeconds(v int64) *SetTimerAction
func (s *SetTimerAction) SetTimerName(v string) *SetTimerAction
type SetVariableAction
func (s *SetVariableAction) SetValue(v string) *SetVariableAction
func (s *SetVariableAction) SetVariableName(v string) *SetVariableAction
type SqsAction
func (s *SqsAction) SetQueueUrl(v string) *SqsAction
func (s *SqsAction) SetUseBase64(v bool) *SqsAction
type State
func (s *State) SetOnEnter(v *OnEnterLifecycle) *State
func (s *State) SetOnExit(v *OnExitLifecycle) *State
func (s *State) SetOnInput(v *OnInputLifecycle) *State
func (s *State) SetStateName(v string) *State
type Tag
func (s *Tag) SetKey(v string) *Tag
func (s *Tag) SetValue(v string) *Tag
type TagResourceInput
func (s *TagResourceInput) SetResourceArn(v string) *TagResourceInput
func (s *TagResourceInput) SetTags(v []*Tag) *TagResourceInput
type TagResourceOutput
type TransitionEvent
func (s *TransitionEvent) SetActions(v []*ActionData) *TransitionEvent
func (s *TransitionEvent) SetCondition(v string) *TransitionEvent
func (s *TransitionEvent) SetEventName(v string) *TransitionEvent
func (s *TransitionEvent) SetNextState(v string) *TransitionEvent
type UntagResourceInput
func (s *UntagResourceInput) SetResourceArn(v string) *UntagResourceInput
func (s *UntagResourceInput) SetTagKeys(v []*string) *UntagResourceInput
type UntagResourceOutput
type UpdateDetectorModelInput
func (s *UpdateDetectorModelInput) SetDetectorModelDefinition(v *DetectorModelDefinition) *UpdateDetectorModelInput
func (s *UpdateDetectorModelInput) SetDetectorModelDescription(v string) *UpdateDetectorModelInput
func (s *UpdateDetectorModelInput) SetDetectorModelName(v string) *UpdateDetectorModelInput
func (s *UpdateDetectorModelInput) SetEvaluationMethod(v string) *UpdateDetectorModelInput
func (s *UpdateDetectorModelInput) SetRoleArn(v string) *UpdateDetectorModelInput
type UpdateDetectorModelOutput
func (s *UpdateDetectorModelOutput) SetDetectorModelConfiguration(v *DetectorModelConfiguration) *UpdateDetectorModelOutput
type UpdateInputInput
func (s *UpdateInputInput) SetInputDefinition(v *InputDefinition) *UpdateInputInput
func (s *UpdateInputInput) SetInputDescription(v string) *UpdateInputInput
func (s *UpdateInputInput) SetInputName(v string) *UpdateInputInput
type UpdateInputOutput
func (s *UpdateInputOutput) SetInputConfiguration(v *InputConfiguration) *UpdateInputOutput

Constants ▾

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"
)
const (
    // EvaluationMethodBatch is a EvaluationMethod enum value
    EvaluationMethodBatch = "BATCH"

    // EvaluationMethodSerial is a EvaluationMethod enum value
    EvaluationMethodSerial = "SERIAL"
)
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"
)
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"
)
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"
)
const (
    ServiceName = "IoT Events" // Name of service.
    EndpointsID = "iotevents"  // ID to lookup a service endpoint with.
    ServiceID   = "IoT Events" // ServiceID is a unique identifer of a specific service.
)

Service information constants

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"`
    // contains filtered or unexported fields
}

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

func (Action) GoString

func (s Action) GoString() string

GoString returns the string representation

func (*Action) SetInputName

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

SetInputName sets the InputName 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

type ActionData struct {

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

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

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

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

    // Calls an AWS Lambda function, passing in information about the detector model
    // instance and the event which 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 which 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

func (s ActionData) GoString() string

GoString returns the string representation

func (*ActionData) SetClearTimer

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

SetClearTimer sets the ClearTimer field's value.

func (*ActionData) SetFirehose

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

SetFirehose sets the Firehose field's value.

func (*ActionData) SetIotEvents

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

SetIotEvents sets the IotEvents field's value.

func (*ActionData) SetIotTopicPublish

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

SetIotTopicPublish sets the IotTopicPublish field's value.

func (*ActionData) SetLambda

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

SetLambda sets the Lambda field's value.

func (*ActionData) SetResetTimer

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

SetResetTimer sets the ResetTimer field's value.

func (*ActionData) SetSetTimer

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

SetSetTimer sets the SetTimer field's value.

func (*ActionData) SetSetVariable

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

SetSetVariable sets the SetVariable field's value.

func (*ActionData) SetSns

func (s *ActionData) SetSns(v *SNSTopicPublishAction) *ActionData

SetSns sets the Sns field's value.

func (*ActionData) SetSqs

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

SetSqs sets the Sqs field's value.

func (ActionData) String

func (s ActionData) String() string

String returns the string representation

func (*ActionData) Validate

func (s *ActionData) Validate() error

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

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 the AWS IoT Events
    // system (BatchPutMessage). Each such message contains a JSON payload, and
    // 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, and 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"`

    // When set to SERIAL, variables are updated and event conditions evaluated
    // in the order that the events are defined. When set to BATCH, variables are
    // updated and events performed only after all event conditions are evaluated.
    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
    // to specify the attribute-value pair in the message payload of each input
    // 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

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

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

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

SetEvaluationMethod sets the EvaluationMethod field's value.

func (*CreateDetectorModelInput) SetKey

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

SetKey sets the Key field's value.

func (*CreateDetectorModelInput) SetRoleArn

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

SetRoleArn sets the RoleArn field's value.

func (*CreateDetectorModelInput) SetTags

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

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

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

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

func (s DescribeDetectorModelInput) String() 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

func (s *DescribeDetectorModelOutput) SetDetectorModel(v *DetectorModel) *DescribeDetectorModelOutput

SetDetectorModel sets the DetectorModel field's value.

func (DescribeDetectorModelOutput) String

func (s DescribeDetectorModelOutput) String() 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

func (s *DescribeInputOutput) SetInput(v *Input) *DescribeInputOutput

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

func (s DescribeLoggingOptionsInput) String() 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

func (s *DescribeLoggingOptionsOutput) SetLoggingOptions(v *LoggingOptions) *DescribeLoggingOptionsOutput

SetLoggingOptions sets the LoggingOptions field's value.

func (DescribeLoggingOptionsOutput) String

func (s DescribeLoggingOptionsOutput) String() 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"`

    // When set to SERIAL, variables are updated and event conditions evaluated
    // in the order that the events are defined. When set to BATCH, variables are
    // updated and events performed only after all event conditions are evaluated.
    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
    // to specify the attribute-value pair in the message payload of each input
    // that is used to identify the device associated with the input.
    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

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

SetCreationTime sets the CreationTime field's value.

func (*DetectorModelConfiguration) SetDetectorModelArn

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

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

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

SetEvaluationMethod sets the EvaluationMethod field's value.

func (*DetectorModelConfiguration) SetKey

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

SetKey sets the Key field's value.

func (*DetectorModelConfiguration) SetLastUpdateTime

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

SetLastUpdateTime sets the LastUpdateTime field's value.

func (*DetectorModelConfiguration) SetRoleArn

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

SetRoleArn sets the RoleArn field's value.

func (*DetectorModelConfiguration) SetStatus

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

SetStatus sets the Status field's value.

func (DetectorModelConfiguration) String

func (s DetectorModelConfiguration) String() 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

func (s *DetectorModelDefinition) SetStates(v []*State) *DetectorModelDefinition

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"`

    // When set to SERIAL, variables are updated and event conditions evaluated
    // in the order that the events are defined. When set to BATCH, variables are
    // updated and events performed only after all event conditions are evaluated.
    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

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

SetCreationTime sets the CreationTime field's value.

func (*DetectorModelVersionSummary) SetDetectorModelArn

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

SetDetectorModelArn sets the DetectorModelArn field's value.

func (*DetectorModelVersionSummary) SetDetectorModelName

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

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

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

SetEvaluationMethod sets the EvaluationMethod field's value.

func (*DetectorModelVersionSummary) SetLastUpdateTime

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

SetLastUpdateTime sets the LastUpdateTime field's value.

func (*DetectorModelVersionSummary) SetRoleArn

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

SetRoleArn sets the RoleArn field's value.

func (*DetectorModelVersionSummary) SetStatus

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

SetStatus sets the Status field's value.

func (DetectorModelVersionSummary) String

func (s DetectorModelVersionSummary) String() string

String returns the string representation

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

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"`

    // 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 which triggered the action to a Kinesis Data Firehose delivery stream.

func (FirehoseAction) GoString

func (s FirehoseAction) GoString() string

GoString returns the string representation

func (*FirehoseAction) SetDeliveryStreamName

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

SetDeliveryStreamName sets the DeliveryStreamName field's value.

func (*FirehoseAction) SetSeparator

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

SetSeparator sets the Separator field's value.

func (FirehoseAction) String

func (s FirehoseAction) String() string

String returns the string representation

func (*FirehoseAction) Validate

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 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 Codes:

* ErrCodeInvalidRequestException "InvalidRequestException"
The request was invalid.

* ErrCodeResourceInUseException "ResourceInUseException"
The resource is in use.

* ErrCodeResourceAlreadyExistsException "ResourceAlreadyExistsException"
The resource already exists.

* ErrCodeLimitExceededException "LimitExceededException"
A limit was exceeded.

* ErrCodeThrottlingException "ThrottlingException"
The request could not be completed due to throttling.

* ErrCodeInternalFailureException "InternalFailureException"
An internal failure occurred.

* ErrCodeServiceUnavailableException "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 Codes:

* ErrCodeInvalidRequestException "InvalidRequestException"
The request was invalid.

* ErrCodeThrottlingException "ThrottlingException"
The request could not be completed due to throttling.

* ErrCodeInternalFailureException "InternalFailureException"
An internal failure occurred.

* ErrCodeServiceUnavailableException "ServiceUnavailableException"
The service is currently unavailable.

* ErrCodeResourceAlreadyExistsException "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 Codes:

* ErrCodeInvalidRequestException "InvalidRequestException"
The request was invalid.

* ErrCodeResourceInUseException "ResourceInUseException"
The resource is in use.

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
The resource was not found.

* ErrCodeThrottlingException "ThrottlingException"
The request could not be completed due to throttling.

* ErrCodeInternalFailureException "InternalFailureException"
An internal failure occurred.

* ErrCodeServiceUnavailableException "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 Codes:

* ErrCodeInvalidRequestException "InvalidRequestException"
The request was invalid.

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
The resource was not found.

* ErrCodeThrottlingException "ThrottlingException"
The request could not be completed due to throttling.

* ErrCodeInternalFailureException "InternalFailureException"
An internal failure occurred.

* ErrCodeServiceUnavailableException "ServiceUnavailableException"
The service is currently unavailable.

* ErrCodeResourceInUseException "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 Codes:

* ErrCodeInvalidRequestException "InvalidRequestException"
The request was invalid.

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
The resource was not found.

* ErrCodeThrottlingException "ThrottlingException"
The request could not be completed due to throttling.

* ErrCodeInternalFailureException "InternalFailureException"
An internal failure occurred.

* ErrCodeServiceUnavailableException "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 Codes:

* ErrCodeInvalidRequestException "InvalidRequestException"
The request was invalid.

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
The resource was not found.

* ErrCodeThrottlingException "ThrottlingException"
The request could not be completed due to throttling.

* ErrCodeInternalFailureException "InternalFailureException"
An internal failure occurred.

* ErrCodeServiceUnavailableException "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 Codes:

* ErrCodeInvalidRequestException "InvalidRequestException"
The request was invalid.

* ErrCodeThrottlingException "ThrottlingException"
The request could not be completed due to throttling.

* ErrCodeInternalFailureException "InternalFailureException"
An internal failure occurred.

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
The resource was not found.

* ErrCodeServiceUnavailableException "ServiceUnavailableException"
The service is currently unavailable.

* ErrCodeUnsupportedOperationException "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 Codes:

* ErrCodeInvalidRequestException "InvalidRequestException"
The request was invalid.

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
The resource was not found.

* ErrCodeThrottlingException "ThrottlingException"
The request could not be completed due to throttling.

* ErrCodeInternalFailureException "InternalFailureException"
An internal failure occurred.

* ErrCodeServiceUnavailableException "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 Codes:

* ErrCodeInvalidRequestException "InvalidRequestException"
The request was invalid.

* ErrCodeThrottlingException "ThrottlingException"
The request could not be completed due to throttling.

* ErrCodeInternalFailureException "InternalFailureException"
An internal failure occurred.

* ErrCodeServiceUnavailableException "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 Codes:

* ErrCodeInvalidRequestException "InvalidRequestException"
The request was invalid.

* ErrCodeThrottlingException "ThrottlingException"
The request could not be completed due to throttling.

* ErrCodeInternalFailureException "InternalFailureException"
An internal failure occurred.

* ErrCodeServiceUnavailableException "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 Codes:

* ErrCodeInvalidRequestException "InvalidRequestException"
The request was invalid.

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
The resource was not found.

* ErrCodeResourceInUseException "ResourceInUseException"
The resource is in use.

* ErrCodeThrottlingException "ThrottlingException"
The request could not be completed due to throttling.

* ErrCodeInternalFailureException "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. Also, 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 Codes:

* ErrCodeInvalidRequestException "InvalidRequestException"
The request was invalid.

* ErrCodeThrottlingException "ThrottlingException"
The request could not be completed due to throttling.

* ErrCodeInternalFailureException "InternalFailureException"
An internal failure occurred.

* ErrCodeServiceUnavailableException "ServiceUnavailableException"
The service is currently unavailable.

* ErrCodeUnsupportedOperationException "UnsupportedOperationException"
The requested operation is not supported.

* ErrCodeResourceInUseException "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 Codes:

* ErrCodeInvalidRequestException "InvalidRequestException"
The request was invalid.

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
The resource was not found.

* ErrCodeResourceInUseException "ResourceInUseException"
The resource is in use.

* ErrCodeThrottlingException "ThrottlingException"
The request could not be completed due to throttling.

* ErrCodeLimitExceededException "LimitExceededException"
A limit was exceeded.

* ErrCodeInternalFailureException "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 Codes:

* ErrCodeInvalidRequestException "InvalidRequestException"
The request was invalid.

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
The resource was not found.

* ErrCodeResourceInUseException "ResourceInUseException"
The resource is in use.

* ErrCodeThrottlingException "ThrottlingException"
The request could not be completed due to throttling.

* ErrCodeInternalFailureException "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 Codes:

* ErrCodeInvalidRequestException "InvalidRequestException"
The request was invalid.

* ErrCodeResourceInUseException "ResourceInUseException"
The resource is in use.

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
The resource was not found.

* ErrCodeThrottlingException "ThrottlingException"
The request could not be completed due to throttling.

* ErrCodeInternalFailureException "InternalFailureException"
An internal failure occurred.

* ErrCodeServiceUnavailableException "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 Codes:

* ErrCodeInvalidRequestException "InvalidRequestException"
The request was invalid.

* ErrCodeThrottlingException "ThrottlingException"
The request could not be completed due to throttling.

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
The resource was not found.

* ErrCodeInternalFailureException "InternalFailureException"
An internal failure occurred.

* ErrCodeServiceUnavailableException "ServiceUnavailableException"
The service is currently unavailable.

* ErrCodeResourceInUseException "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 IotTopicPublishAction

type IotTopicPublishAction struct {

    // The MQTT topic of the message.
    //
    // MqttTopic is a required field
    MqttTopic *string `locationName:"mqttTopic" min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

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

func (IotTopicPublishAction) GoString

func (s IotTopicPublishAction) GoString() string

GoString returns the string representation

func (*IotTopicPublishAction) SetMqttTopic

func (s *IotTopicPublishAction) SetMqttTopic(v string) *IotTopicPublishAction

SetMqttTopic sets the MqttTopic 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

type LambdaAction struct {

    // The ARN of the AWS Lambda function which is executed.
    //
    // FunctionArn is a required field
    FunctionArn *string `locationName:"functionArn" min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

Calls an AWS Lambda function, passing in information about the detector model instance and the event which triggered the action.

func (LambdaAction) GoString

func (s LambdaAction) GoString() string

GoString returns the string representation

func (*LambdaAction) SetFunctionArn

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

SetFunctionArn sets the FunctionArn field's value.

func (LambdaAction) String

func (s LambdaAction) String() string

String returns the string representation

func (*LambdaAction) Validate

func (s *LambdaAction) Validate() error

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

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

func (s ListDetectorModelVersionsInput) GoString() string

GoString returns the string representation

func (*ListDetectorModelVersionsInput) SetDetectorModelName

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

SetDetectorModelName sets the DetectorModelName field's value.

func (*ListDetectorModelVersionsInput) SetMaxResults

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

SetMaxResults sets the MaxResults field's value.

func (*ListDetectorModelVersionsInput) SetNextToken

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

SetNextToken sets the NextToken field's value.

func (ListDetectorModelVersionsInput) String

func (s ListDetectorModelVersionsInput) String() 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

func (s ListDetectorModelVersionsOutput) GoString() string

GoString returns the string representation

func (*ListDetectorModelVersionsOutput) SetDetectorModelVersionSummaries

func (s *ListDetectorModelVersionsOutput) SetDetectorModelVersionSummaries(v []*DetectorModelVersionSummary) *ListDetectorModelVersionsOutput

SetDetectorModelVersionSummaries sets the DetectorModelVersionSummaries field's value.

func (*ListDetectorModelVersionsOutput) SetNextToken

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

SetNextToken sets the NextToken field's value.

func (ListDetectorModelVersionsOutput) String

func (s ListDetectorModelVersionsOutput) String() 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

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

SetMaxResults sets the MaxResults field's value.

func (*ListDetectorModelsInput) SetNextToken

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

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

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

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

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

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

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

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 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

func (s *PutLoggingOptionsInput) SetLoggingOptions(v *LoggingOptions) *PutLoggingOptionsInput

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 needed to 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 SNSTopicPublishAction

type SNSTopicPublishAction struct {

    // 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) SetTargetArn

func (s *SNSTopicPublishAction) SetTargetArn(v string) *SNSTopicPublishAction

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 SetTimerAction

type SetTimerAction struct {

    // The number of seconds until the timer expires. The minimum value is 60 seconds
    // to ensure accuracy.
    //
    // Seconds is a required field
    Seconds *int64 `locationName:"seconds" type:"integer" required:"true"`

    // 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) 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

type SqsAction struct {

    // The URL of the Amazon 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 which triggered the action to an Amazon SQS queue.

func (SqsAction) GoString

func (s SqsAction) GoString() string

GoString returns the string representation

func (*SqsAction) SetQueueUrl

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

SetQueueUrl sets the QueueUrl field's value.

func (*SqsAction) SetUseBase64

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

SetUseBase64 sets the UseBase64 field's value.

func (SqsAction) String

func (s SqsAction) String() string

String returns the string representation

func (*SqsAction) Validate

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 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 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"`

    // When set to SERIAL, variables are updated and event conditions evaluated
    // in the order that the events are defined. When set to BATCH, variables are
    // updated and events performed only after all event conditions are evaluated.
    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

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

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

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

SetEvaluationMethod sets the EvaluationMethod field's value.

func (*UpdateDetectorModelInput) SetRoleArn

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

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

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

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