Documentation ¶
Overview ¶
Package iotevents provides the client and types for making API requests to AWS IoT Events.
AWS IoT Events monitors your equipment or device fleets for failures or changes in operation, and triggers actions when such events occur. You can use AWS IoT Events API operations to create, read, update, and delete inputs and detector models, and to list their versions.
See https://docs.aws.amazon.com/goto/WebAPI/iotevents-2018-07-27 for more information on this service.
See iotevents package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/iotevents/
Using the Client ¶
To contact AWS IoT Events with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.
See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/
See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config
See the AWS IoT Events client IoTEvents for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/iotevents/#New
Index ¶
- Constants
- func AnalysisResultLevel_Values() []string
- func AnalysisStatus_Values() []string
- func DetectorModelVersionStatus_Values() []string
- func EvaluationMethod_Values() []string
- func InputStatus_Values() []string
- func LoggingLevel_Values() []string
- func PayloadType_Values() []string
- type Action
- type ActionData
- func (s ActionData) GoString() string
- func (s *ActionData) SetClearTimer(v *ClearTimerAction) *ActionData
- func (s *ActionData) SetDynamoDB(v *DynamoDBAction) *ActionData
- func (s *ActionData) SetDynamoDBv2(v *DynamoDBv2Action) *ActionData
- func (s *ActionData) SetFirehose(v *FirehoseAction) *ActionData
- func (s *ActionData) SetIotEvents(v *Action) *ActionData
- func (s *ActionData) SetIotSiteWise(v *IotSiteWiseAction) *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
- func (s ActionData) String() string
- func (s *ActionData) Validate() error
- type AnalysisResult
- func (s AnalysisResult) GoString() string
- func (s *AnalysisResult) SetLevel(v string) *AnalysisResult
- func (s *AnalysisResult) SetLocations(v []*AnalysisResultLocation) *AnalysisResult
- func (s *AnalysisResult) SetMessage(v string) *AnalysisResult
- func (s *AnalysisResult) SetType(v string) *AnalysisResult
- func (s AnalysisResult) String() string
- type AnalysisResultLocation
- type AssetPropertyTimestamp
- func (s AssetPropertyTimestamp) GoString() string
- func (s *AssetPropertyTimestamp) SetOffsetInNanos(v string) *AssetPropertyTimestamp
- func (s *AssetPropertyTimestamp) SetTimeInSeconds(v string) *AssetPropertyTimestamp
- func (s AssetPropertyTimestamp) String() string
- func (s *AssetPropertyTimestamp) Validate() error
- type AssetPropertyValue
- func (s AssetPropertyValue) GoString() string
- func (s *AssetPropertyValue) SetQuality(v string) *AssetPropertyValue
- func (s *AssetPropertyValue) SetTimestamp(v *AssetPropertyTimestamp) *AssetPropertyValue
- func (s *AssetPropertyValue) SetValue(v *AssetPropertyVariant) *AssetPropertyValue
- func (s AssetPropertyValue) String() string
- func (s *AssetPropertyValue) Validate() error
- type AssetPropertyVariant
- func (s AssetPropertyVariant) GoString() string
- func (s *AssetPropertyVariant) SetBooleanValue(v string) *AssetPropertyVariant
- func (s *AssetPropertyVariant) SetDoubleValue(v string) *AssetPropertyVariant
- func (s *AssetPropertyVariant) SetIntegerValue(v string) *AssetPropertyVariant
- func (s *AssetPropertyVariant) SetStringValue(v string) *AssetPropertyVariant
- func (s AssetPropertyVariant) String() string
- type Attribute
- type ClearTimerAction
- type CreateDetectorModelInput
- func (s CreateDetectorModelInput) GoString() string
- 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
- func (s CreateDetectorModelInput) String() string
- func (s *CreateDetectorModelInput) Validate() error
- type CreateDetectorModelOutput
- type CreateInputInput
- func (s CreateInputInput) GoString() string
- 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
- func (s CreateInputInput) String() string
- func (s *CreateInputInput) Validate() error
- type CreateInputOutput
- type DeleteDetectorModelInput
- type DeleteDetectorModelOutput
- type DeleteInputInput
- type DeleteInputOutput
- type DescribeDetectorModelAnalysisInput
- type DescribeDetectorModelAnalysisOutput
- type DescribeDetectorModelInput
- func (s DescribeDetectorModelInput) GoString() string
- func (s *DescribeDetectorModelInput) SetDetectorModelName(v string) *DescribeDetectorModelInput
- func (s *DescribeDetectorModelInput) SetDetectorModelVersion(v string) *DescribeDetectorModelInput
- func (s DescribeDetectorModelInput) String() string
- func (s *DescribeDetectorModelInput) Validate() error
- type DescribeDetectorModelOutput
- type DescribeInputInput
- type DescribeInputOutput
- type DescribeLoggingOptionsInput
- type DescribeLoggingOptionsOutput
- type DetectorDebugOption
- type DetectorModel
- type DetectorModelConfiguration
- func (s DetectorModelConfiguration) GoString() string
- 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
- func (s DetectorModelConfiguration) String() string
- type DetectorModelDefinition
- func (s DetectorModelDefinition) GoString() string
- func (s *DetectorModelDefinition) SetInitialStateName(v string) *DetectorModelDefinition
- func (s *DetectorModelDefinition) SetStates(v []*State) *DetectorModelDefinition
- func (s DetectorModelDefinition) String() string
- func (s *DetectorModelDefinition) Validate() error
- type DetectorModelSummary
- func (s DetectorModelSummary) GoString() string
- func (s *DetectorModelSummary) SetCreationTime(v time.Time) *DetectorModelSummary
- func (s *DetectorModelSummary) SetDetectorModelDescription(v string) *DetectorModelSummary
- func (s *DetectorModelSummary) SetDetectorModelName(v string) *DetectorModelSummary
- func (s DetectorModelSummary) String() string
- type DetectorModelVersionSummary
- func (s DetectorModelVersionSummary) GoString() string
- 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
- func (s DetectorModelVersionSummary) String() string
- type DynamoDBAction
- func (s DynamoDBAction) GoString() string
- func (s *DynamoDBAction) SetHashKeyField(v string) *DynamoDBAction
- func (s *DynamoDBAction) SetHashKeyType(v string) *DynamoDBAction
- func (s *DynamoDBAction) SetHashKeyValue(v string) *DynamoDBAction
- func (s *DynamoDBAction) SetOperation(v string) *DynamoDBAction
- func (s *DynamoDBAction) SetPayload(v *Payload) *DynamoDBAction
- func (s *DynamoDBAction) SetPayloadField(v string) *DynamoDBAction
- func (s *DynamoDBAction) SetRangeKeyField(v string) *DynamoDBAction
- func (s *DynamoDBAction) SetRangeKeyType(v string) *DynamoDBAction
- func (s *DynamoDBAction) SetRangeKeyValue(v string) *DynamoDBAction
- func (s *DynamoDBAction) SetTableName(v string) *DynamoDBAction
- func (s DynamoDBAction) String() string
- func (s *DynamoDBAction) Validate() error
- type DynamoDBv2Action
- type Event
- type FirehoseAction
- func (s FirehoseAction) GoString() string
- func (s *FirehoseAction) SetDeliveryStreamName(v string) *FirehoseAction
- func (s *FirehoseAction) SetPayload(v *Payload) *FirehoseAction
- func (s *FirehoseAction) SetSeparator(v string) *FirehoseAction
- func (s FirehoseAction) String() string
- func (s *FirehoseAction) Validate() error
- type GetDetectorModelAnalysisResultsInput
- func (s GetDetectorModelAnalysisResultsInput) GoString() string
- func (s *GetDetectorModelAnalysisResultsInput) SetAnalysisId(v string) *GetDetectorModelAnalysisResultsInput
- func (s *GetDetectorModelAnalysisResultsInput) SetMaxResults(v int64) *GetDetectorModelAnalysisResultsInput
- func (s *GetDetectorModelAnalysisResultsInput) SetNextToken(v string) *GetDetectorModelAnalysisResultsInput
- func (s GetDetectorModelAnalysisResultsInput) String() string
- func (s *GetDetectorModelAnalysisResultsInput) Validate() error
- type GetDetectorModelAnalysisResultsOutput
- func (s GetDetectorModelAnalysisResultsOutput) GoString() string
- func (s *GetDetectorModelAnalysisResultsOutput) SetAnalysisResults(v []*AnalysisResult) *GetDetectorModelAnalysisResultsOutput
- func (s *GetDetectorModelAnalysisResultsOutput) SetNextToken(v string) *GetDetectorModelAnalysisResultsOutput
- func (s GetDetectorModelAnalysisResultsOutput) String() string
- type Input
- type InputConfiguration
- func (s InputConfiguration) GoString() string
- 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
- func (s InputConfiguration) String() string
- type InputDefinition
- type InputSummary
- func (s InputSummary) GoString() string
- 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
- func (s InputSummary) String() string
- type InternalFailureException
- func (s *InternalFailureException) Code() string
- func (s *InternalFailureException) Error() string
- func (s InternalFailureException) GoString() string
- func (s *InternalFailureException) Message() string
- func (s *InternalFailureException) OrigErr() error
- func (s *InternalFailureException) RequestID() string
- func (s *InternalFailureException) StatusCode() int
- func (s InternalFailureException) String() string
- type InvalidRequestException
- func (s *InvalidRequestException) Code() string
- func (s *InvalidRequestException) Error() string
- func (s InvalidRequestException) GoString() string
- func (s *InvalidRequestException) Message() string
- func (s *InvalidRequestException) OrigErr() error
- func (s *InvalidRequestException) RequestID() string
- func (s *InvalidRequestException) StatusCode() int
- func (s InvalidRequestException) String() string
- type IoTEvents
- func (c *IoTEvents) CreateDetectorModel(input *CreateDetectorModelInput) (*CreateDetectorModelOutput, error)
- func (c *IoTEvents) CreateDetectorModelRequest(input *CreateDetectorModelInput) (req *request.Request, output *CreateDetectorModelOutput)
- func (c *IoTEvents) CreateDetectorModelWithContext(ctx aws.Context, input *CreateDetectorModelInput, opts ...request.Option) (*CreateDetectorModelOutput, error)
- func (c *IoTEvents) CreateInput(input *CreateInputInput) (*CreateInputOutput, error)
- func (c *IoTEvents) CreateInputRequest(input *CreateInputInput) (req *request.Request, output *CreateInputOutput)
- func (c *IoTEvents) CreateInputWithContext(ctx aws.Context, input *CreateInputInput, opts ...request.Option) (*CreateInputOutput, error)
- func (c *IoTEvents) DeleteDetectorModel(input *DeleteDetectorModelInput) (*DeleteDetectorModelOutput, error)
- func (c *IoTEvents) DeleteDetectorModelRequest(input *DeleteDetectorModelInput) (req *request.Request, output *DeleteDetectorModelOutput)
- func (c *IoTEvents) DeleteDetectorModelWithContext(ctx aws.Context, input *DeleteDetectorModelInput, opts ...request.Option) (*DeleteDetectorModelOutput, error)
- func (c *IoTEvents) DeleteInput(input *DeleteInputInput) (*DeleteInputOutput, error)
- func (c *IoTEvents) DeleteInputRequest(input *DeleteInputInput) (req *request.Request, output *DeleteInputOutput)
- func (c *IoTEvents) DeleteInputWithContext(ctx aws.Context, input *DeleteInputInput, opts ...request.Option) (*DeleteInputOutput, error)
- func (c *IoTEvents) DescribeDetectorModel(input *DescribeDetectorModelInput) (*DescribeDetectorModelOutput, error)
- func (c *IoTEvents) DescribeDetectorModelAnalysis(input *DescribeDetectorModelAnalysisInput) (*DescribeDetectorModelAnalysisOutput, error)
- func (c *IoTEvents) DescribeDetectorModelAnalysisRequest(input *DescribeDetectorModelAnalysisInput) (req *request.Request, output *DescribeDetectorModelAnalysisOutput)
- func (c *IoTEvents) DescribeDetectorModelAnalysisWithContext(ctx aws.Context, input *DescribeDetectorModelAnalysisInput, ...) (*DescribeDetectorModelAnalysisOutput, error)
- func (c *IoTEvents) DescribeDetectorModelRequest(input *DescribeDetectorModelInput) (req *request.Request, output *DescribeDetectorModelOutput)
- func (c *IoTEvents) DescribeDetectorModelWithContext(ctx aws.Context, input *DescribeDetectorModelInput, opts ...request.Option) (*DescribeDetectorModelOutput, error)
- func (c *IoTEvents) DescribeInput(input *DescribeInputInput) (*DescribeInputOutput, error)
- func (c *IoTEvents) DescribeInputRequest(input *DescribeInputInput) (req *request.Request, output *DescribeInputOutput)
- func (c *IoTEvents) DescribeInputWithContext(ctx aws.Context, input *DescribeInputInput, opts ...request.Option) (*DescribeInputOutput, error)
- func (c *IoTEvents) DescribeLoggingOptions(input *DescribeLoggingOptionsInput) (*DescribeLoggingOptionsOutput, error)
- func (c *IoTEvents) DescribeLoggingOptionsRequest(input *DescribeLoggingOptionsInput) (req *request.Request, output *DescribeLoggingOptionsOutput)
- func (c *IoTEvents) DescribeLoggingOptionsWithContext(ctx aws.Context, input *DescribeLoggingOptionsInput, opts ...request.Option) (*DescribeLoggingOptionsOutput, error)
- func (c *IoTEvents) GetDetectorModelAnalysisResults(input *GetDetectorModelAnalysisResultsInput) (*GetDetectorModelAnalysisResultsOutput, error)
- func (c *IoTEvents) GetDetectorModelAnalysisResultsRequest(input *GetDetectorModelAnalysisResultsInput) (req *request.Request, output *GetDetectorModelAnalysisResultsOutput)
- func (c *IoTEvents) GetDetectorModelAnalysisResultsWithContext(ctx aws.Context, input *GetDetectorModelAnalysisResultsInput, ...) (*GetDetectorModelAnalysisResultsOutput, error)
- func (c *IoTEvents) ListDetectorModelVersions(input *ListDetectorModelVersionsInput) (*ListDetectorModelVersionsOutput, error)
- func (c *IoTEvents) ListDetectorModelVersionsRequest(input *ListDetectorModelVersionsInput) (req *request.Request, output *ListDetectorModelVersionsOutput)
- func (c *IoTEvents) ListDetectorModelVersionsWithContext(ctx aws.Context, input *ListDetectorModelVersionsInput, opts ...request.Option) (*ListDetectorModelVersionsOutput, error)
- func (c *IoTEvents) ListDetectorModels(input *ListDetectorModelsInput) (*ListDetectorModelsOutput, error)
- func (c *IoTEvents) ListDetectorModelsRequest(input *ListDetectorModelsInput) (req *request.Request, output *ListDetectorModelsOutput)
- func (c *IoTEvents) ListDetectorModelsWithContext(ctx aws.Context, input *ListDetectorModelsInput, opts ...request.Option) (*ListDetectorModelsOutput, error)
- func (c *IoTEvents) ListInputs(input *ListInputsInput) (*ListInputsOutput, error)
- func (c *IoTEvents) ListInputsRequest(input *ListInputsInput) (req *request.Request, output *ListInputsOutput)
- func (c *IoTEvents) ListInputsWithContext(ctx aws.Context, input *ListInputsInput, opts ...request.Option) (*ListInputsOutput, error)
- func (c *IoTEvents) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error)
- func (c *IoTEvents) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput)
- func (c *IoTEvents) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error)
- func (c *IoTEvents) PutLoggingOptions(input *PutLoggingOptionsInput) (*PutLoggingOptionsOutput, error)
- func (c *IoTEvents) PutLoggingOptionsRequest(input *PutLoggingOptionsInput) (req *request.Request, output *PutLoggingOptionsOutput)
- func (c *IoTEvents) PutLoggingOptionsWithContext(ctx aws.Context, input *PutLoggingOptionsInput, opts ...request.Option) (*PutLoggingOptionsOutput, error)
- func (c *IoTEvents) StartDetectorModelAnalysis(input *StartDetectorModelAnalysisInput) (*StartDetectorModelAnalysisOutput, error)
- func (c *IoTEvents) StartDetectorModelAnalysisRequest(input *StartDetectorModelAnalysisInput) (req *request.Request, output *StartDetectorModelAnalysisOutput)
- func (c *IoTEvents) StartDetectorModelAnalysisWithContext(ctx aws.Context, input *StartDetectorModelAnalysisInput, ...) (*StartDetectorModelAnalysisOutput, error)
- func (c *IoTEvents) TagResource(input *TagResourceInput) (*TagResourceOutput, error)
- func (c *IoTEvents) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput)
- func (c *IoTEvents) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error)
- func (c *IoTEvents) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error)
- func (c *IoTEvents) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput)
- func (c *IoTEvents) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error)
- func (c *IoTEvents) UpdateDetectorModel(input *UpdateDetectorModelInput) (*UpdateDetectorModelOutput, error)
- func (c *IoTEvents) UpdateDetectorModelRequest(input *UpdateDetectorModelInput) (req *request.Request, output *UpdateDetectorModelOutput)
- func (c *IoTEvents) UpdateDetectorModelWithContext(ctx aws.Context, input *UpdateDetectorModelInput, opts ...request.Option) (*UpdateDetectorModelOutput, error)
- func (c *IoTEvents) UpdateInput(input *UpdateInputInput) (*UpdateInputOutput, error)
- func (c *IoTEvents) UpdateInputRequest(input *UpdateInputInput) (req *request.Request, output *UpdateInputOutput)
- func (c *IoTEvents) UpdateInputWithContext(ctx aws.Context, input *UpdateInputInput, opts ...request.Option) (*UpdateInputOutput, error)
- type IotSiteWiseAction
- func (s IotSiteWiseAction) GoString() string
- func (s *IotSiteWiseAction) SetAssetId(v string) *IotSiteWiseAction
- func (s *IotSiteWiseAction) SetEntryId(v string) *IotSiteWiseAction
- func (s *IotSiteWiseAction) SetPropertyAlias(v string) *IotSiteWiseAction
- func (s *IotSiteWiseAction) SetPropertyId(v string) *IotSiteWiseAction
- func (s *IotSiteWiseAction) SetPropertyValue(v *AssetPropertyValue) *IotSiteWiseAction
- func (s IotSiteWiseAction) String() string
- func (s *IotSiteWiseAction) Validate() error
- type IotTopicPublishAction
- func (s IotTopicPublishAction) GoString() string
- func (s *IotTopicPublishAction) SetMqttTopic(v string) *IotTopicPublishAction
- func (s *IotTopicPublishAction) SetPayload(v *Payload) *IotTopicPublishAction
- func (s IotTopicPublishAction) String() string
- func (s *IotTopicPublishAction) Validate() error
- type LambdaAction
- type LimitExceededException
- func (s *LimitExceededException) Code() string
- func (s *LimitExceededException) Error() string
- func (s LimitExceededException) GoString() string
- func (s *LimitExceededException) Message() string
- func (s *LimitExceededException) OrigErr() error
- func (s *LimitExceededException) RequestID() string
- func (s *LimitExceededException) StatusCode() int
- func (s LimitExceededException) String() string
- type ListDetectorModelVersionsInput
- func (s ListDetectorModelVersionsInput) GoString() string
- func (s *ListDetectorModelVersionsInput) SetDetectorModelName(v string) *ListDetectorModelVersionsInput
- func (s *ListDetectorModelVersionsInput) SetMaxResults(v int64) *ListDetectorModelVersionsInput
- func (s *ListDetectorModelVersionsInput) SetNextToken(v string) *ListDetectorModelVersionsInput
- func (s ListDetectorModelVersionsInput) String() string
- func (s *ListDetectorModelVersionsInput) Validate() error
- type ListDetectorModelVersionsOutput
- func (s ListDetectorModelVersionsOutput) GoString() string
- func (s *ListDetectorModelVersionsOutput) SetDetectorModelVersionSummaries(v []*DetectorModelVersionSummary) *ListDetectorModelVersionsOutput
- func (s *ListDetectorModelVersionsOutput) SetNextToken(v string) *ListDetectorModelVersionsOutput
- func (s ListDetectorModelVersionsOutput) String() string
- type ListDetectorModelsInput
- func (s ListDetectorModelsInput) GoString() string
- func (s *ListDetectorModelsInput) SetMaxResults(v int64) *ListDetectorModelsInput
- func (s *ListDetectorModelsInput) SetNextToken(v string) *ListDetectorModelsInput
- func (s ListDetectorModelsInput) String() string
- func (s *ListDetectorModelsInput) Validate() error
- type ListDetectorModelsOutput
- type ListInputsInput
- type ListInputsOutput
- type ListTagsForResourceInput
- type ListTagsForResourceOutput
- type LoggingOptions
- func (s LoggingOptions) GoString() string
- 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
- func (s LoggingOptions) String() string
- func (s *LoggingOptions) Validate() error
- type OnEnterLifecycle
- type OnExitLifecycle
- type OnInputLifecycle
- type Payload
- type PutLoggingOptionsInput
- type PutLoggingOptionsOutput
- type ResetTimerAction
- type ResourceAlreadyExistsException
- func (s *ResourceAlreadyExistsException) Code() string
- func (s *ResourceAlreadyExistsException) Error() string
- func (s ResourceAlreadyExistsException) GoString() string
- func (s *ResourceAlreadyExistsException) Message() string
- func (s *ResourceAlreadyExistsException) OrigErr() error
- func (s *ResourceAlreadyExistsException) RequestID() string
- func (s *ResourceAlreadyExistsException) StatusCode() int
- func (s ResourceAlreadyExistsException) String() string
- type ResourceInUseException
- func (s *ResourceInUseException) Code() string
- func (s *ResourceInUseException) Error() string
- func (s ResourceInUseException) GoString() string
- func (s *ResourceInUseException) Message() string
- func (s *ResourceInUseException) OrigErr() error
- func (s *ResourceInUseException) RequestID() string
- func (s *ResourceInUseException) StatusCode() int
- func (s ResourceInUseException) String() string
- type ResourceNotFoundException
- func (s *ResourceNotFoundException) Code() string
- func (s *ResourceNotFoundException) Error() string
- func (s ResourceNotFoundException) GoString() string
- func (s *ResourceNotFoundException) Message() string
- func (s *ResourceNotFoundException) OrigErr() error
- func (s *ResourceNotFoundException) RequestID() string
- func (s *ResourceNotFoundException) StatusCode() int
- func (s ResourceNotFoundException) String() string
- type SNSTopicPublishAction
- func (s SNSTopicPublishAction) GoString() string
- func (s *SNSTopicPublishAction) SetPayload(v *Payload) *SNSTopicPublishAction
- func (s *SNSTopicPublishAction) SetTargetArn(v string) *SNSTopicPublishAction
- func (s SNSTopicPublishAction) String() string
- func (s *SNSTopicPublishAction) Validate() error
- type ServiceUnavailableException
- func (s *ServiceUnavailableException) Code() string
- func (s *ServiceUnavailableException) Error() string
- func (s ServiceUnavailableException) GoString() string
- func (s *ServiceUnavailableException) Message() string
- func (s *ServiceUnavailableException) OrigErr() error
- func (s *ServiceUnavailableException) RequestID() string
- func (s *ServiceUnavailableException) StatusCode() int
- func (s ServiceUnavailableException) String() string
- type SetTimerAction
- func (s SetTimerAction) GoString() string
- func (s *SetTimerAction) SetDurationExpression(v string) *SetTimerAction
- func (s *SetTimerAction) SetSeconds(v int64) *SetTimerAction
- func (s *SetTimerAction) SetTimerName(v string) *SetTimerAction
- func (s SetTimerAction) String() string
- func (s *SetTimerAction) Validate() error
- type SetVariableAction
- type SqsAction
- type StartDetectorModelAnalysisInput
- func (s StartDetectorModelAnalysisInput) GoString() string
- func (s *StartDetectorModelAnalysisInput) SetDetectorModelDefinition(v *DetectorModelDefinition) *StartDetectorModelAnalysisInput
- func (s StartDetectorModelAnalysisInput) String() string
- func (s *StartDetectorModelAnalysisInput) Validate() error
- type StartDetectorModelAnalysisOutput
- type State
- func (s State) GoString() string
- 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
- func (s State) String() string
- func (s *State) Validate() error
- type Tag
- type TagResourceInput
- type TagResourceOutput
- type ThrottlingException
- func (s *ThrottlingException) Code() string
- func (s *ThrottlingException) Error() string
- func (s ThrottlingException) GoString() string
- func (s *ThrottlingException) Message() string
- func (s *ThrottlingException) OrigErr() error
- func (s *ThrottlingException) RequestID() string
- func (s *ThrottlingException) StatusCode() int
- func (s ThrottlingException) String() string
- type TransitionEvent
- func (s TransitionEvent) GoString() string
- 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
- func (s TransitionEvent) String() string
- func (s *TransitionEvent) Validate() error
- type UnsupportedOperationException
- func (s *UnsupportedOperationException) Code() string
- func (s *UnsupportedOperationException) Error() string
- func (s UnsupportedOperationException) GoString() string
- func (s *UnsupportedOperationException) Message() string
- func (s *UnsupportedOperationException) OrigErr() error
- func (s *UnsupportedOperationException) RequestID() string
- func (s *UnsupportedOperationException) StatusCode() int
- func (s UnsupportedOperationException) String() string
- type UntagResourceInput
- type UntagResourceOutput
- type UpdateDetectorModelInput
- func (s UpdateDetectorModelInput) GoString() string
- 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
- func (s UpdateDetectorModelInput) String() string
- func (s *UpdateDetectorModelInput) Validate() error
- type UpdateDetectorModelOutput
- type UpdateInputInput
- func (s UpdateInputInput) GoString() string
- func (s *UpdateInputInput) SetInputDefinition(v *InputDefinition) *UpdateInputInput
- func (s *UpdateInputInput) SetInputDescription(v string) *UpdateInputInput
- func (s *UpdateInputInput) SetInputName(v string) *UpdateInputInput
- func (s UpdateInputInput) String() string
- func (s *UpdateInputInput) Validate() error
- type UpdateInputOutput
Constants ¶
const ( // AnalysisResultLevelInfo is a AnalysisResultLevel enum value AnalysisResultLevelInfo = "INFO" // AnalysisResultLevelWarning is a AnalysisResultLevel enum value AnalysisResultLevelWarning = "WARNING" // AnalysisResultLevelError is a AnalysisResultLevel enum value AnalysisResultLevelError = "ERROR" )
const ( // AnalysisStatusRunning is a AnalysisStatus enum value AnalysisStatusRunning = "RUNNING" // AnalysisStatusComplete is a AnalysisStatus enum value AnalysisStatusComplete = "COMPLETE" // AnalysisStatusFailed is a AnalysisStatus enum value AnalysisStatusFailed = "FAILED" )
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 ( // PayloadTypeString is a PayloadType enum value PayloadTypeString = "STRING" // PayloadTypeJson is a PayloadType enum value PayloadTypeJson = "JSON" )
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" // "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 identifier of a specific service. )
Service information constants
Variables ¶
This section is empty.
Functions ¶
func AnalysisResultLevel_Values ¶ added in v1.37.17
func AnalysisResultLevel_Values() []string
AnalysisResultLevel_Values returns all elements of the AnalysisResultLevel enum
func AnalysisStatus_Values ¶ added in v1.37.17
func AnalysisStatus_Values() []string
AnalysisStatus_Values returns all elements of the AnalysisStatus enum
func DetectorModelVersionStatus_Values ¶ added in v1.34.3
func DetectorModelVersionStatus_Values() []string
DetectorModelVersionStatus_Values returns all elements of the DetectorModelVersionStatus enum
func EvaluationMethod_Values ¶ added in v1.34.3
func EvaluationMethod_Values() []string
EvaluationMethod_Values returns all elements of the EvaluationMethod enum
func InputStatus_Values ¶ added in v1.34.3
func InputStatus_Values() []string
InputStatus_Values returns all elements of the InputStatus enum
func LoggingLevel_Values ¶ added in v1.34.3
func LoggingLevel_Values() []string
LoggingLevel_Values returns all elements of the LoggingLevel enum
func PayloadType_Values ¶ added in v1.34.3
func PayloadType_Values() []string
PayloadType_Values returns all elements of the PayloadType enum
Types ¶
type Action ¶
type Action struct { // The name of the AWS IoT Events input where the data is sent. // // InputName is a required field InputName *string `locationName:"inputName" min:"1" type:"string" required:"true"` // You can configure the action payload when you send a message to an AWS IoT // Events input. Payload *Payload `locationName:"payload" type:"structure"` // contains filtered or unexported fields }
Sends an AWS IoT Events input, passing in information about the detector model instance and the event that triggered the action.
func (*Action) SetInputName ¶ added in v1.21.1
SetInputName sets the InputName field's value.
func (*Action) SetPayload ¶ added in v1.30.8
SetPayload sets the Payload field's value.
type ActionData ¶ added in v1.23.0
type ActionData struct { // Information needed to clear the timer. ClearTimer *ClearTimerAction `locationName:"clearTimer" type:"structure"` // Writes to the DynamoDB table that you created. The default action payload // contains all attribute-value pairs that have the information about the detector // model instance and the event that triggered the action. You can customize // the payload (https://docs.aws.amazon.com/iotevents/latest/apireference/API_Payload.html). // One column of the DynamoDB table receives all attribute-value pairs in the // payload that you specify. For more information, see Actions (https://docs.aws.amazon.com/iotevents/latest/developerguide/iotevents-event-actions.html) // in AWS IoT Events Developer Guide. DynamoDB *DynamoDBAction `locationName:"dynamoDB" type:"structure"` // Writes to the DynamoDB table that you created. The default action payload // contains all attribute-value pairs that have the information about the detector // model instance and the event that triggered the action. You can customize // the payload (https://docs.aws.amazon.com/iotevents/latest/apireference/API_Payload.html). // A separate column of the DynamoDB table receives one attribute-value pair // in the payload that you specify. For more information, see Actions (https://docs.aws.amazon.com/iotevents/latest/developerguide/iotevents-event-actions.html) // in AWS IoT Events Developer Guide. DynamoDBv2 *DynamoDBv2Action `locationName:"dynamoDBv2" type:"structure"` // Sends information about the detector model instance and the event that triggered // the action to an Amazon Kinesis Data Firehose delivery stream. Firehose *FirehoseAction `locationName:"firehose" type:"structure"` // Sends AWS IoT Events input, which passes information about the detector model // instance and the event that triggered the action. IotEvents *Action `locationName:"iotEvents" type:"structure"` // Sends information about the detector model instance and the event that triggered // the action to an asset property in AWS IoT SiteWise . IotSiteWise *IotSiteWiseAction `locationName:"iotSiteWise" type:"structure"` // Publishes an MQTT message with the given topic to the AWS IoT message broker. IotTopicPublish *IotTopicPublishAction `locationName:"iotTopicPublish" type:"structure"` // Calls a Lambda function, passing in information about the detector model // instance and the event that triggered the action. Lambda *LambdaAction `locationName:"lambda" type:"structure"` // Information needed to reset the timer. ResetTimer *ResetTimerAction `locationName:"resetTimer" type:"structure"` // Information needed to set the timer. SetTimer *SetTimerAction `locationName:"setTimer" type:"structure"` // Sets a variable to a specified value. SetVariable *SetVariableAction `locationName:"setVariable" type:"structure"` // Sends an Amazon SNS message. Sns *SNSTopicPublishAction `locationName:"sns" type:"structure"` // Sends information about the detector model instance and the event that triggered // the action to an Amazon SQS queue. Sqs *SqsAction `locationName:"sqs" type:"structure"` // contains filtered or unexported fields }
An action to be performed when the condition is TRUE.
func (ActionData) GoString ¶ added in v1.23.0
func (s ActionData) GoString() string
GoString returns the string representation
func (*ActionData) SetClearTimer ¶ added in v1.23.0
func (s *ActionData) SetClearTimer(v *ClearTimerAction) *ActionData
SetClearTimer sets the ClearTimer field's value.
func (*ActionData) SetDynamoDB ¶ added in v1.30.8
func (s *ActionData) SetDynamoDB(v *DynamoDBAction) *ActionData
SetDynamoDB sets the DynamoDB field's value.
func (*ActionData) SetDynamoDBv2 ¶ added in v1.30.8
func (s *ActionData) SetDynamoDBv2(v *DynamoDBv2Action) *ActionData
SetDynamoDBv2 sets the DynamoDBv2 field's value.
func (*ActionData) SetFirehose ¶ added in v1.23.0
func (s *ActionData) SetFirehose(v *FirehoseAction) *ActionData
SetFirehose sets the Firehose field's value.
func (*ActionData) SetIotEvents ¶ added in v1.23.0
func (s *ActionData) SetIotEvents(v *Action) *ActionData
SetIotEvents sets the IotEvents field's value.
func (*ActionData) SetIotSiteWise ¶ added in v1.30.10
func (s *ActionData) SetIotSiteWise(v *IotSiteWiseAction) *ActionData
SetIotSiteWise sets the IotSiteWise field's value.
func (*ActionData) SetIotTopicPublish ¶ added in v1.23.0
func (s *ActionData) SetIotTopicPublish(v *IotTopicPublishAction) *ActionData
SetIotTopicPublish sets the IotTopicPublish field's value.
func (*ActionData) SetLambda ¶ added in v1.23.0
func (s *ActionData) SetLambda(v *LambdaAction) *ActionData
SetLambda sets the Lambda field's value.
func (*ActionData) SetResetTimer ¶ added in v1.23.0
func (s *ActionData) SetResetTimer(v *ResetTimerAction) *ActionData
SetResetTimer sets the ResetTimer field's value.
func (*ActionData) SetSetTimer ¶ added in v1.23.0
func (s *ActionData) SetSetTimer(v *SetTimerAction) *ActionData
SetSetTimer sets the SetTimer field's value.
func (*ActionData) SetSetVariable ¶ added in v1.23.0
func (s *ActionData) SetSetVariable(v *SetVariableAction) *ActionData
SetSetVariable sets the SetVariable field's value.
func (*ActionData) SetSns ¶ added in v1.23.0
func (s *ActionData) SetSns(v *SNSTopicPublishAction) *ActionData
SetSns sets the Sns field's value.
func (*ActionData) SetSqs ¶ added in v1.23.0
func (s *ActionData) SetSqs(v *SqsAction) *ActionData
SetSqs sets the Sqs field's value.
func (ActionData) String ¶ added in v1.23.0
func (s ActionData) String() string
String returns the string representation
func (*ActionData) Validate ¶ added in v1.23.0
func (s *ActionData) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AnalysisResult ¶ added in v1.37.17
type AnalysisResult struct { // The severity level of the analysis result. Analysis results fall into three // general categories based on the severity level: // // * INFO - An information result informs you about a significant field in // your detector model. This type of result usually doesn't require immediate // action. // // * WARNING - A warning result draws special attention to fields that are // potentially damaging to your detector model. We recommend that you review // warnings and take necessary actions before you use your detetor model // in production environments. Otherwise, the detector model may not fully // function as expected. // // * ERROR - An error result notifies you about a problem found in your detector // model. You must fix all errors before you can publish your detector model. Level *string `locationName:"level" type:"string" enum:"AnalysisResultLevel"` // Contains one or more locations that you can use to locate the fields in your // detector model that the analysis result references. Locations []*AnalysisResultLocation `locationName:"locations" type:"list"` // Contains additional information about the analysis result. Message *string `locationName:"message" type:"string"` // The type of the analysis result. Analyses fall into the following types based // on the validators used to generate the analysis result: // // * supported-actions - You must specify AWS IoT Events supported actions // that work with other AWS services in a supported AWS Region. // // * service-limits - Resources or operations can't exceed service limits. // Update your detector model or request a limit adjust. // // * structure - The detector model must follow a structure that AWS IoT // Events supports. // // * expression-syntax - Your expression must follow the required syntax. // // * data-type - Data types referenced in the detector model must be compatible. // // * referenced-data - You must define the data referenced in your detector // model before you can use the data. // // * referenced-resource - Resources that the detector model uses must be // available. // // For more information, see Running detector model analyses (https://docs.aws.amazon.com/iotevents/latest/developerguide/iotevents-analyze-api.html) // in the AWS IoT Events Developer Guide. Type *string `locationName:"type" type:"string"` // contains filtered or unexported fields }
Contains the result of the analysis.
func (AnalysisResult) GoString ¶ added in v1.37.17
func (s AnalysisResult) GoString() string
GoString returns the string representation
func (*AnalysisResult) SetLevel ¶ added in v1.37.17
func (s *AnalysisResult) SetLevel(v string) *AnalysisResult
SetLevel sets the Level field's value.
func (*AnalysisResult) SetLocations ¶ added in v1.37.17
func (s *AnalysisResult) SetLocations(v []*AnalysisResultLocation) *AnalysisResult
SetLocations sets the Locations field's value.
func (*AnalysisResult) SetMessage ¶ added in v1.37.17
func (s *AnalysisResult) SetMessage(v string) *AnalysisResult
SetMessage sets the Message field's value.
func (*AnalysisResult) SetType ¶ added in v1.37.17
func (s *AnalysisResult) SetType(v string) *AnalysisResult
SetType sets the Type field's value.
func (AnalysisResult) String ¶ added in v1.37.17
func (s AnalysisResult) String() string
String returns the string representation
type AnalysisResultLocation ¶ added in v1.37.17
type AnalysisResultLocation struct { // A JsonPath (https://github.com/json-path/JsonPath) expression that identifies // the error field in your detector model. Path *string `locationName:"path" type:"string"` // contains filtered or unexported fields }
Contains information that you can use to locate the field in your detector model that the analysis result references.
func (AnalysisResultLocation) GoString ¶ added in v1.37.17
func (s AnalysisResultLocation) GoString() string
GoString returns the string representation
func (*AnalysisResultLocation) SetPath ¶ added in v1.37.17
func (s *AnalysisResultLocation) SetPath(v string) *AnalysisResultLocation
SetPath sets the Path field's value.
func (AnalysisResultLocation) String ¶ added in v1.37.17
func (s AnalysisResultLocation) String() string
String returns the string representation
type AssetPropertyTimestamp ¶ added in v1.30.10
type AssetPropertyTimestamp struct { // The nanosecond offset converted from timeInSeconds. The valid range is between // 0-999999999. OffsetInNanos *string `locationName:"offsetInNanos" type:"string"` // The timestamp, in seconds, in the Unix epoch format. The valid range is between // 1-31556889864403199. // // TimeInSeconds is a required field TimeInSeconds *string `locationName:"timeInSeconds" type:"string" required:"true"` // contains filtered or unexported fields }
A structure that contains timestamp information. For more information, see TimeInNanos (https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_TimeInNanos.html) in the AWS IoT SiteWise API Reference.
You must use expressions for all parameters in AssetPropertyTimestamp. The expressions accept literals, operators, functions, references, and substitution templates.
Examples
For literal values, the expressions must contain single quotes. For example, the value for the timeInSeconds parameter can be '1586400675'.
For references, you must specify either variables or input values. For example, the value for the offsetInNanos parameter can be $variable.time.
For a substitution template, you must use ${}, and the template must be in single quotes. A substitution template can also contain a combination of literals, operators, functions, references, and substitution templates. In the following example, the value for the timeInSeconds parameter uses a substitution template. '${$input.TemperatureInput.sensorData.timestamp / 1000}'
For more information, see Expressions (https://docs.aws.amazon.com/iotevents/latest/developerguide/iotevents-expressions.html) in the AWS IoT Events Developer Guide.
func (AssetPropertyTimestamp) GoString ¶ added in v1.30.10
func (s AssetPropertyTimestamp) GoString() string
GoString returns the string representation
func (*AssetPropertyTimestamp) SetOffsetInNanos ¶ added in v1.30.10
func (s *AssetPropertyTimestamp) SetOffsetInNanos(v string) *AssetPropertyTimestamp
SetOffsetInNanos sets the OffsetInNanos field's value.
func (*AssetPropertyTimestamp) SetTimeInSeconds ¶ added in v1.30.10
func (s *AssetPropertyTimestamp) SetTimeInSeconds(v string) *AssetPropertyTimestamp
SetTimeInSeconds sets the TimeInSeconds field's value.
func (AssetPropertyTimestamp) String ¶ added in v1.30.10
func (s AssetPropertyTimestamp) String() string
String returns the string representation
func (*AssetPropertyTimestamp) Validate ¶ added in v1.30.10
func (s *AssetPropertyTimestamp) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AssetPropertyValue ¶ added in v1.30.10
type AssetPropertyValue struct { // The quality of the asset property value. The value must be 'GOOD', 'BAD', // or 'UNCERTAIN'. Quality *string `locationName:"quality" type:"string"` // The timestamp associated with the asset property value. The default is the // current event time. Timestamp *AssetPropertyTimestamp `locationName:"timestamp" type:"structure"` // The value to send to an asset property. // // Value is a required field Value *AssetPropertyVariant `locationName:"value" type:"structure" required:"true"` // contains filtered or unexported fields }
A structure that contains value information. For more information, see AssetPropertyValue (https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_AssetPropertyValue.html) in the AWS IoT SiteWise API Reference.
You must use expressions for all parameters in AssetPropertyValue. The expressions accept literals, operators, functions, references, and substitution templates.
Examples
For literal values, the expressions must contain single quotes. For example, the value for the quality parameter can be 'GOOD'.
For references, you must specify either variables or input values. For example, the value for the quality parameter can be $input.TemperatureInput.sensorData.quality.
For more information, see Expressions (https://docs.aws.amazon.com/iotevents/latest/developerguide/iotevents-expressions.html) in the AWS IoT Events Developer Guide.
func (AssetPropertyValue) GoString ¶ added in v1.30.10
func (s AssetPropertyValue) GoString() string
GoString returns the string representation
func (*AssetPropertyValue) SetQuality ¶ added in v1.30.10
func (s *AssetPropertyValue) SetQuality(v string) *AssetPropertyValue
SetQuality sets the Quality field's value.
func (*AssetPropertyValue) SetTimestamp ¶ added in v1.30.10
func (s *AssetPropertyValue) SetTimestamp(v *AssetPropertyTimestamp) *AssetPropertyValue
SetTimestamp sets the Timestamp field's value.
func (*AssetPropertyValue) SetValue ¶ added in v1.30.10
func (s *AssetPropertyValue) SetValue(v *AssetPropertyVariant) *AssetPropertyValue
SetValue sets the Value field's value.
func (AssetPropertyValue) String ¶ added in v1.30.10
func (s AssetPropertyValue) String() string
String returns the string representation
func (*AssetPropertyValue) Validate ¶ added in v1.30.10
func (s *AssetPropertyValue) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AssetPropertyVariant ¶ added in v1.30.10
type AssetPropertyVariant struct { // The asset property value is a Boolean value that must be 'TRUE' or 'FALSE'. // You must use an expression, and the evaluated result should be a Boolean // value. BooleanValue *string `locationName:"booleanValue" type:"string"` // The asset property value is a double. You must use an expression, and the // evaluated result should be a double. DoubleValue *string `locationName:"doubleValue" type:"string"` // The asset property value is an integer. You must use an expression, and the // evaluated result should be an integer. IntegerValue *string `locationName:"integerValue" type:"string"` // The asset property value is a string. You must use an expression, and the // evaluated result should be a string. StringValue *string `locationName:"stringValue" type:"string"` // contains filtered or unexported fields }
A structure that contains an asset property value. For more information, see Variant (https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_Variant.html) in the AWS IoT SiteWise API Reference.
You must use expressions for all parameters in AssetPropertyVariant. The expressions accept literals, operators, functions, references, and substitution templates.
Examples
For literal values, the expressions must contain single quotes. For example, the value for the integerValue parameter can be '100'.
For references, you must specify either variables or parameters. For example, the value for the booleanValue parameter can be $variable.offline.
For a substitution template, you must use ${}, and the template must be in single quotes. A substitution template can also contain a combination of literals, operators, functions, references, and substitution templates. In the following example, the value for the doubleValue parameter uses a substitution template. '${$input.TemperatureInput.sensorData.temperature
6 / 5 + 32}'
For more information, see Expressions (https://docs.aws.amazon.com/iotevents/latest/developerguide/iotevents-expressions.html) in the AWS IoT Events Developer Guide.
You must specify one of the following value types, depending on the dataType of the specified asset property. For more information, see AssetProperty (https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_AssetProperty.html) in the AWS IoT SiteWise API Reference.
func (AssetPropertyVariant) GoString ¶ added in v1.30.10
func (s AssetPropertyVariant) GoString() string
GoString returns the string representation
func (*AssetPropertyVariant) SetBooleanValue ¶ added in v1.30.10
func (s *AssetPropertyVariant) SetBooleanValue(v string) *AssetPropertyVariant
SetBooleanValue sets the BooleanValue field's value.
func (*AssetPropertyVariant) SetDoubleValue ¶ added in v1.30.10
func (s *AssetPropertyVariant) SetDoubleValue(v string) *AssetPropertyVariant
SetDoubleValue sets the DoubleValue field's value.
func (*AssetPropertyVariant) SetIntegerValue ¶ added in v1.30.10
func (s *AssetPropertyVariant) SetIntegerValue(v string) *AssetPropertyVariant
SetIntegerValue sets the IntegerValue field's value.
func (*AssetPropertyVariant) SetStringValue ¶ added in v1.30.10
func (s *AssetPropertyVariant) SetStringValue(v string) *AssetPropertyVariant
SetStringValue sets the StringValue field's value.
func (AssetPropertyVariant) String ¶ added in v1.30.10
func (s AssetPropertyVariant) String() string
String returns the string representation
type Attribute ¶
type Attribute struct { // An expression that specifies an attribute-value pair in a JSON structure. // Use this to specify an attribute from the JSON payload that is made available // by the input. Inputs are derived from messages sent to AWS IoT Events (BatchPutMessage). // Each such message contains a JSON payload. The attribute (and its paired // value) specified here are available for use in the condition expressions // used by detectors. // // Syntax: <field-name>.<field-name>... // // JsonPath is a required field JsonPath *string `locationName:"jsonPath" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
The attributes from the JSON payload that are made available by the input. Inputs are derived from messages sent to the AWS IoT Events system using BatchPutMessage. Each such message contains a JSON payload. Those attributes (and their paired values) specified here are available for use in the condition expressions used by detectors.
func (*Attribute) SetJsonPath ¶
SetJsonPath sets the JsonPath field's value.
type ClearTimerAction ¶
type ClearTimerAction struct { // The name of the timer to clear. // // TimerName is a required field TimerName *string `locationName:"timerName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Information needed to clear the timer.
func (ClearTimerAction) GoString ¶
func (s ClearTimerAction) GoString() string
GoString returns the string representation
func (*ClearTimerAction) SetTimerName ¶
func (s *ClearTimerAction) SetTimerName(v string) *ClearTimerAction
SetTimerName sets the TimerName field's value.
func (ClearTimerAction) String ¶
func (s ClearTimerAction) String() string
String returns the string representation
func (*ClearTimerAction) Validate ¶
func (s *ClearTimerAction) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateDetectorModelInput ¶
type CreateDetectorModelInput struct { // Information that defines how the detectors operate. // // DetectorModelDefinition is a required field DetectorModelDefinition *DetectorModelDefinition `locationName:"detectorModelDefinition" type:"structure" required:"true"` // A brief description of the detector model. DetectorModelDescription *string `locationName:"detectorModelDescription" type:"string"` // The name of the detector model. // // DetectorModelName is a required field DetectorModelName *string `locationName:"detectorModelName" min:"1" type:"string" required:"true"` // Information about the order in which events are evaluated and how actions // are executed. EvaluationMethod *string `locationName:"evaluationMethod" type:"string" enum:"EvaluationMethod"` // The input attribute key used to identify a device or system to create a detector // (an instance of the detector model) and then to route each input received // to the appropriate detector (instance). This parameter uses a JSON-path expression // in the message payload of each input to specify the attribute-value pair // that is used to identify the device associated with the input. Key *string `locationName:"key" min:"1" type:"string"` // The ARN of the role that grants permission to AWS IoT Events to perform its // operations. // // RoleArn is a required field RoleArn *string `locationName:"roleArn" min:"1" type:"string" required:"true"` // Metadata that can be used to manage the detector model. Tags []*Tag `locationName:"tags" type:"list"` // contains filtered or unexported fields }
func (CreateDetectorModelInput) GoString ¶
func (s CreateDetectorModelInput) GoString() string
GoString returns the string representation
func (*CreateDetectorModelInput) SetDetectorModelDefinition ¶
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 ¶ added in v1.25.17
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 DescribeDetectorModelAnalysisInput ¶ added in v1.37.17
type DescribeDetectorModelAnalysisInput struct { // The ID of the analysis result that you want to retrieve. // // AnalysisId is a required field AnalysisId *string `location:"uri" locationName:"analysisId" type:"string" required:"true"` // contains filtered or unexported fields }
func (DescribeDetectorModelAnalysisInput) GoString ¶ added in v1.37.17
func (s DescribeDetectorModelAnalysisInput) GoString() string
GoString returns the string representation
func (*DescribeDetectorModelAnalysisInput) SetAnalysisId ¶ added in v1.37.17
func (s *DescribeDetectorModelAnalysisInput) SetAnalysisId(v string) *DescribeDetectorModelAnalysisInput
SetAnalysisId sets the AnalysisId field's value.
func (DescribeDetectorModelAnalysisInput) String ¶ added in v1.37.17
func (s DescribeDetectorModelAnalysisInput) String() string
String returns the string representation
func (*DescribeDetectorModelAnalysisInput) Validate ¶ added in v1.37.17
func (s *DescribeDetectorModelAnalysisInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeDetectorModelAnalysisOutput ¶ added in v1.37.17
type DescribeDetectorModelAnalysisOutput struct { // The status of the analysis activity. The status can be one of the following // values: // // * RUNNING - AWS IoT Events is analyzing your detector model. This process // can take several minutes to complete. // // * COMPLETE - AWS IoT Events finished analyzing your detector model . // // * FAILED - AWS IoT Events couldn't analyze your detector model. Try again // later. Status *string `locationName:"status" type:"string" enum:"AnalysisStatus"` // contains filtered or unexported fields }
func (DescribeDetectorModelAnalysisOutput) GoString ¶ added in v1.37.17
func (s DescribeDetectorModelAnalysisOutput) GoString() string
GoString returns the string representation
func (*DescribeDetectorModelAnalysisOutput) SetStatus ¶ added in v1.37.17
func (s *DescribeDetectorModelAnalysisOutput) SetStatus(v string) *DescribeDetectorModelAnalysisOutput
SetStatus sets the Status field's value.
func (DescribeDetectorModelAnalysisOutput) String ¶ added in v1.37.17
func (s DescribeDetectorModelAnalysisOutput) 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"` // Information about the order in which events are evaluated and how actions // are executed. EvaluationMethod *string `locationName:"evaluationMethod" type:"string" enum:"EvaluationMethod"` // The value used to identify a detector instance. When a device or system sends // input, a new detector instance with a unique key value is created. AWS IoT // Events can continue to route input to its corresponding detector instance // based on this identifying information. // // This parameter uses a JSON-path expression to select the attribute-value // pair in the message payload that is used for identification. To route the // message to the correct detector instance, the device must send a message // payload that contains the same attribute-value. Key *string `locationName:"key" min:"1" type:"string"` // The time the detector model was last updated. LastUpdateTime *time.Time `locationName:"lastUpdateTime" type:"timestamp"` // The ARN of the role that grants permission to AWS IoT Events to perform its // operations. RoleArn *string `locationName:"roleArn" min:"1" type:"string"` // The status of the detector model. Status *string `locationName:"status" type:"string" enum:"DetectorModelVersionStatus"` // contains filtered or unexported fields }
Information about how the detector model is configured.
func (DetectorModelConfiguration) GoString ¶
func (s DetectorModelConfiguration) GoString() string
GoString returns the string representation
func (*DetectorModelConfiguration) SetCreationTime ¶
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 ¶ added in v1.25.17
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"` // Information about the order in which events are evaluated and how actions // are executed. EvaluationMethod *string `locationName:"evaluationMethod" type:"string" enum:"EvaluationMethod"` // The last time the detector model version was updated. LastUpdateTime *time.Time `locationName:"lastUpdateTime" type:"timestamp"` // The ARN of the role that grants the detector model permission to perform // its tasks. RoleArn *string `locationName:"roleArn" min:"1" type:"string"` // The status of the detector model version. Status *string `locationName:"status" type:"string" enum:"DetectorModelVersionStatus"` // contains filtered or unexported fields }
Information about the detector model version.
func (DetectorModelVersionSummary) GoString ¶
func (s DetectorModelVersionSummary) GoString() string
GoString returns the string representation
func (*DetectorModelVersionSummary) SetCreationTime ¶
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 ¶ added in v1.25.17
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 DynamoDBAction ¶ added in v1.30.8
type DynamoDBAction struct { // The name of the hash key (also called the partition key). The hashKeyField // value must match the partition key of the target DynamoDB table. // // HashKeyField is a required field HashKeyField *string `locationName:"hashKeyField" type:"string" required:"true"` // The data type for the hash key (also called the partition key). You can specify // the following values: // // * 'STRING' - The hash key is a string. // // * 'NUMBER' - The hash key is a number. // // If you don't specify hashKeyType, the default value is 'STRING'. HashKeyType *string `locationName:"hashKeyType" type:"string"` // The value of the hash key (also called the partition key). // // HashKeyValue is a required field HashKeyValue *string `locationName:"hashKeyValue" type:"string" required:"true"` // The type of operation to perform. You can specify the following values: // // * 'INSERT' - Insert data as a new item into the DynamoDB table. This item // uses the specified hash key as a partition key. If you specified a range // key, the item uses the range key as a sort key. // // * 'UPDATE' - Update an existing item of the DynamoDB table with new data. // This item's partition key must match the specified hash key. If you specified // a range key, the range key must match the item's sort key. // // * 'DELETE' - Delete an existing item of the DynamoDB table. This item's // partition key must match the specified hash key. If you specified a range // key, the range key must match the item's sort key. // // If you don't specify this parameter, AWS IoT Events triggers the 'INSERT' // operation. Operation *string `locationName:"operation" type:"string"` // Information needed to configure the payload. // // By default, AWS IoT Events generates a standard payload in JSON for any action. // This action payload contains all attribute-value pairs that have the information // about the detector model instance and the event triggered the action. To // configure the action payload, you can use contentExpression. Payload *Payload `locationName:"payload" type:"structure"` // The name of the DynamoDB column that receives the action payload. // // If you don't specify this parameter, the name of the DynamoDB column is payload. PayloadField *string `locationName:"payloadField" type:"string"` // The name of the range key (also called the sort key). The rangeKeyField value // must match the sort key of the target DynamoDB table. RangeKeyField *string `locationName:"rangeKeyField" type:"string"` // The data type for the range key (also called the sort key), You can specify // the following values: // // * 'STRING' - The range key is a string. // // * 'NUMBER' - The range key is number. // // If you don't specify rangeKeyField, the default value is 'STRING'. RangeKeyType *string `locationName:"rangeKeyType" type:"string"` // The value of the range key (also called the sort key). RangeKeyValue *string `locationName:"rangeKeyValue" type:"string"` // The name of the DynamoDB table. The tableName value must match the table // name of the target DynamoDB table. // // TableName is a required field TableName *string `locationName:"tableName" type:"string" required:"true"` // contains filtered or unexported fields }
Defines an action to write to the Amazon DynamoDB table that you created. The standard action payload contains all the information about the detector model instance and the event that triggered the action. You can customize the payload (https://docs.aws.amazon.com/iotevents/latest/apireference/API_Payload.html). One column of the DynamoDB table receives all attribute-value pairs in the payload that you specify.
You must use expressions for all parameters in DynamoDBAction. The expressions accept literals, operators, functions, references, and substitution templates.
Examples
For literal values, the expressions must contain single quotes. For example, the value for the hashKeyType parameter can be 'STRING'.
For references, you must specify either variables or input values. For example, the value for the hashKeyField parameter can be $input.GreenhouseInput.name.
For a substitution template, you must use ${}, and the template must be in single quotes. A substitution template can also contain a combination of literals, operators, functions, references, and substitution templates. In the following example, the value for the hashKeyValue parameter uses a substitution template. '${$input.GreenhouseInput.temperature * 6 / 5
32} in Fahrenheit'
For a string concatenation, you must use +. A string concatenation can also contain a combination of literals, operators, functions, references, and substitution templates. In the following example, the value for the tableName parameter uses a string concatenation. 'GreenhouseTemperatureTable ' + $input.GreenhouseInput.date
For more information, see Expressions (https://docs.aws.amazon.com/iotevents/latest/developerguide/iotevents-expressions.html) in the AWS IoT Events Developer Guide.
If the defined payload type is a string, DynamoDBAction writes non-JSON data to the DynamoDB table as binary data. The DynamoDB console displays the data as Base64-encoded text. The value for the payloadField parameter is <payload-field>_raw.
func (DynamoDBAction) GoString ¶ added in v1.30.8
func (s DynamoDBAction) GoString() string
GoString returns the string representation
func (*DynamoDBAction) SetHashKeyField ¶ added in v1.30.8
func (s *DynamoDBAction) SetHashKeyField(v string) *DynamoDBAction
SetHashKeyField sets the HashKeyField field's value.
func (*DynamoDBAction) SetHashKeyType ¶ added in v1.30.8
func (s *DynamoDBAction) SetHashKeyType(v string) *DynamoDBAction
SetHashKeyType sets the HashKeyType field's value.
func (*DynamoDBAction) SetHashKeyValue ¶ added in v1.30.8
func (s *DynamoDBAction) SetHashKeyValue(v string) *DynamoDBAction
SetHashKeyValue sets the HashKeyValue field's value.
func (*DynamoDBAction) SetOperation ¶ added in v1.30.8
func (s *DynamoDBAction) SetOperation(v string) *DynamoDBAction
SetOperation sets the Operation field's value.
func (*DynamoDBAction) SetPayload ¶ added in v1.30.8
func (s *DynamoDBAction) SetPayload(v *Payload) *DynamoDBAction
SetPayload sets the Payload field's value.
func (*DynamoDBAction) SetPayloadField ¶ added in v1.30.8
func (s *DynamoDBAction) SetPayloadField(v string) *DynamoDBAction
SetPayloadField sets the PayloadField field's value.
func (*DynamoDBAction) SetRangeKeyField ¶ added in v1.30.8
func (s *DynamoDBAction) SetRangeKeyField(v string) *DynamoDBAction
SetRangeKeyField sets the RangeKeyField field's value.
func (*DynamoDBAction) SetRangeKeyType ¶ added in v1.30.8
func (s *DynamoDBAction) SetRangeKeyType(v string) *DynamoDBAction
SetRangeKeyType sets the RangeKeyType field's value.
func (*DynamoDBAction) SetRangeKeyValue ¶ added in v1.30.8
func (s *DynamoDBAction) SetRangeKeyValue(v string) *DynamoDBAction
SetRangeKeyValue sets the RangeKeyValue field's value.
func (*DynamoDBAction) SetTableName ¶ added in v1.30.8
func (s *DynamoDBAction) SetTableName(v string) *DynamoDBAction
SetTableName sets the TableName field's value.
func (DynamoDBAction) String ¶ added in v1.30.8
func (s DynamoDBAction) String() string
String returns the string representation
func (*DynamoDBAction) Validate ¶ added in v1.30.8
func (s *DynamoDBAction) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DynamoDBv2Action ¶ added in v1.30.8
type DynamoDBv2Action struct { // Information needed to configure the payload. // // By default, AWS IoT Events generates a standard payload in JSON for any action. // This action payload contains all attribute-value pairs that have the information // about the detector model instance and the event triggered the action. To // configure the action payload, you can use contentExpression. Payload *Payload `locationName:"payload" type:"structure"` // The name of the DynamoDB table. // // TableName is a required field TableName *string `locationName:"tableName" type:"string" required:"true"` // contains filtered or unexported fields }
Defines an action to write to the Amazon DynamoDB table that you created. The default action payload contains all the information about the detector model instance and the event that triggered the action. You can customize the payload (https://docs.aws.amazon.com/iotevents/latest/apireference/API_Payload.html). A separate column of the DynamoDB table receives one attribute-value pair in the payload that you specify.
You must use expressions for all parameters in DynamoDBv2Action. The expressions accept literals, operators, functions, references, and substitution templates.
Examples
For literal values, the expressions must contain single quotes. For example, the value for the tableName parameter can be 'GreenhouseTemperatureTable'.
For references, you must specify either variables or input values. For example, the value for the tableName parameter can be $variable.ddbtableName.
For a substitution template, you must use ${}, and the template must be in single quotes. A substitution template can also contain a combination of literals, operators, functions, references, and substitution templates. In the following example, the value for the contentExpression parameter in Payload uses a substitution template. '{\"sensorID\": \"${$input.GreenhouseInput.sensor_id}\", \"temperature\": \"${$input.GreenhouseInput.temperature * 9 / 5 + 32}\"}'
For a string concatenation, you must use +. A string concatenation can also contain a combination of literals, operators, functions, references, and substitution templates. In the following example, the value for the tableName parameter uses a string concatenation. 'GreenhouseTemperatureTable ' + $input.GreenhouseInput.date
For more information, see Expressions (https://docs.aws.amazon.com/iotevents/latest/developerguide/iotevents-expressions.html) in the AWS IoT Events Developer Guide.
The value for the type parameter in Payload must be JSON.
func (DynamoDBv2Action) GoString ¶ added in v1.30.8
func (s DynamoDBv2Action) GoString() string
GoString returns the string representation
func (*DynamoDBv2Action) SetPayload ¶ added in v1.30.8
func (s *DynamoDBv2Action) SetPayload(v *Payload) *DynamoDBv2Action
SetPayload sets the Payload field's value.
func (*DynamoDBv2Action) SetTableName ¶ added in v1.30.8
func (s *DynamoDBv2Action) SetTableName(v string) *DynamoDBv2Action
SetTableName sets the TableName field's value.
func (DynamoDBv2Action) String ¶ added in v1.30.8
func (s DynamoDBv2Action) String() string
String returns the string representation
func (*DynamoDBv2Action) Validate ¶ added in v1.30.8
func (s *DynamoDBv2Action) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type Event ¶
type Event struct { // The actions to be performed. Actions []*ActionData `locationName:"actions" type:"list"` // Optional. The Boolean expression that, when TRUE, causes the actions to be // performed. If not present, the actions are performed (=TRUE). If the expression // result is not a Boolean value, the actions are not performed (=FALSE). Condition *string `locationName:"condition" type:"string"` // The name of the event. // // EventName is a required field EventName *string `locationName:"eventName" type:"string" required:"true"` // contains filtered or unexported fields }
Specifies the actions to be performed when the condition evaluates to TRUE.
func (*Event) SetActions ¶
func (s *Event) SetActions(v []*ActionData) *Event
SetActions sets the Actions field's value.
func (*Event) SetCondition ¶
SetCondition sets the Condition field's value.
func (*Event) SetEventName ¶
SetEventName sets the EventName field's value.
type FirehoseAction ¶ added in v1.21.1
type FirehoseAction struct { // The name of the Kinesis Data Firehose delivery stream where the data is written. // // DeliveryStreamName is a required field DeliveryStreamName *string `locationName:"deliveryStreamName" type:"string" required:"true"` // You can configure the action payload when you send a message to an Amazon // Kinesis Data Firehose delivery stream. Payload *Payload `locationName:"payload" type:"structure"` // A character separator that is used to separate records written to the Kinesis // Data Firehose delivery stream. Valid values are: '\n' (newline), '\t' (tab), // '\r\n' (Windows newline), ',' (comma). Separator *string `locationName:"separator" type:"string"` // contains filtered or unexported fields }
Sends information about the detector model instance and the event that triggered the action to an Amazon Kinesis Data Firehose delivery stream.
func (FirehoseAction) GoString ¶ added in v1.21.1
func (s FirehoseAction) GoString() string
GoString returns the string representation
func (*FirehoseAction) SetDeliveryStreamName ¶ added in v1.21.1
func (s *FirehoseAction) SetDeliveryStreamName(v string) *FirehoseAction
SetDeliveryStreamName sets the DeliveryStreamName field's value.
func (*FirehoseAction) SetPayload ¶ added in v1.30.8
func (s *FirehoseAction) SetPayload(v *Payload) *FirehoseAction
SetPayload sets the Payload field's value.
func (*FirehoseAction) SetSeparator ¶ added in v1.21.1
func (s *FirehoseAction) SetSeparator(v string) *FirehoseAction
SetSeparator sets the Separator field's value.
func (FirehoseAction) String ¶ added in v1.21.1
func (s FirehoseAction) String() string
String returns the string representation
func (*FirehoseAction) Validate ¶ added in v1.21.1
func (s *FirehoseAction) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetDetectorModelAnalysisResultsInput ¶ added in v1.37.17
type GetDetectorModelAnalysisResultsInput struct { // The ID of the analysis result that you want to retrieve. // // AnalysisId is a required field AnalysisId *string `location:"uri" locationName:"analysisId" type:"string" required:"true"` // The maximum number of results to be returned per request. MaxResults *int64 `location:"querystring" locationName:"maxResults" type:"integer"` // The token that you can use to return the next set of results. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (GetDetectorModelAnalysisResultsInput) GoString ¶ added in v1.37.17
func (s GetDetectorModelAnalysisResultsInput) GoString() string
GoString returns the string representation
func (*GetDetectorModelAnalysisResultsInput) SetAnalysisId ¶ added in v1.37.17
func (s *GetDetectorModelAnalysisResultsInput) SetAnalysisId(v string) *GetDetectorModelAnalysisResultsInput
SetAnalysisId sets the AnalysisId field's value.
func (*GetDetectorModelAnalysisResultsInput) SetMaxResults ¶ added in v1.37.17
func (s *GetDetectorModelAnalysisResultsInput) SetMaxResults(v int64) *GetDetectorModelAnalysisResultsInput
SetMaxResults sets the MaxResults field's value.
func (*GetDetectorModelAnalysisResultsInput) SetNextToken ¶ added in v1.37.17
func (s *GetDetectorModelAnalysisResultsInput) SetNextToken(v string) *GetDetectorModelAnalysisResultsInput
SetNextToken sets the NextToken field's value.
func (GetDetectorModelAnalysisResultsInput) String ¶ added in v1.37.17
func (s GetDetectorModelAnalysisResultsInput) String() string
String returns the string representation
func (*GetDetectorModelAnalysisResultsInput) Validate ¶ added in v1.37.17
func (s *GetDetectorModelAnalysisResultsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetDetectorModelAnalysisResultsOutput ¶ added in v1.37.17
type GetDetectorModelAnalysisResultsOutput struct { // Contains information about one or more analysis results. AnalysisResults []*AnalysisResult `locationName:"analysisResults" type:"list"` // The token that you can use to return the next set of results, or null if // there are no more results. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (GetDetectorModelAnalysisResultsOutput) GoString ¶ added in v1.37.17
func (s GetDetectorModelAnalysisResultsOutput) GoString() string
GoString returns the string representation
func (*GetDetectorModelAnalysisResultsOutput) SetAnalysisResults ¶ added in v1.37.17
func (s *GetDetectorModelAnalysisResultsOutput) SetAnalysisResults(v []*AnalysisResult) *GetDetectorModelAnalysisResultsOutput
SetAnalysisResults sets the AnalysisResults field's value.
func (*GetDetectorModelAnalysisResultsOutput) SetNextToken ¶ added in v1.37.17
func (s *GetDetectorModelAnalysisResultsOutput) SetNextToken(v string) *GetDetectorModelAnalysisResultsOutput
SetNextToken sets the NextToken field's value.
func (GetDetectorModelAnalysisResultsOutput) String ¶ added in v1.37.17
func (s GetDetectorModelAnalysisResultsOutput) String() string
String returns the string representation
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) 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.
type InputConfiguration ¶
type InputConfiguration struct { // The time the input was created. // // CreationTime is a required field CreationTime *time.Time `locationName:"creationTime" type:"timestamp" required:"true"` // The ARN of the input. // // InputArn is a required field InputArn *string `locationName:"inputArn" type:"string" required:"true"` // A brief description of the input. InputDescription *string `locationName:"inputDescription" type:"string"` // The name of the input. // // InputName is a required field InputName *string `locationName:"inputName" min:"1" type:"string" required:"true"` // The last time the input was updated. // // LastUpdateTime is a required field LastUpdateTime *time.Time `locationName:"lastUpdateTime" type:"timestamp" required:"true"` // The status of the input. // // Status is a required field Status *string `locationName:"status" type:"string" required:"true" enum:"InputStatus"` // contains filtered or unexported fields }
Information about the configuration of an input.
func (InputConfiguration) GoString ¶
func (s InputConfiguration) GoString() string
GoString returns the string representation
func (*InputConfiguration) SetCreationTime ¶
func (s *InputConfiguration) SetCreationTime(v time.Time) *InputConfiguration
SetCreationTime sets the CreationTime field's value.
func (*InputConfiguration) SetInputArn ¶
func (s *InputConfiguration) SetInputArn(v string) *InputConfiguration
SetInputArn sets the InputArn field's value.
func (*InputConfiguration) SetInputDescription ¶
func (s *InputConfiguration) SetInputDescription(v string) *InputConfiguration
SetInputDescription sets the InputDescription field's value.
func (*InputConfiguration) SetInputName ¶
func (s *InputConfiguration) SetInputName(v string) *InputConfiguration
SetInputName sets the InputName field's value.
func (*InputConfiguration) SetLastUpdateTime ¶
func (s *InputConfiguration) SetLastUpdateTime(v time.Time) *InputConfiguration
SetLastUpdateTime sets the LastUpdateTime field's value.
func (*InputConfiguration) SetStatus ¶
func (s *InputConfiguration) SetStatus(v string) *InputConfiguration
SetStatus sets the Status field's value.
func (InputConfiguration) String ¶
func (s InputConfiguration) String() string
String returns the string representation
type InputDefinition ¶
type InputDefinition struct { // The attributes from the JSON payload that are made available by the input. // Inputs are derived from messages sent to the AWS IoT Events system using // BatchPutMessage. Each such message contains a JSON payload, and those attributes // (and their paired values) specified here are available for use in the condition // expressions used by detectors that monitor this input. // // Attributes is a required field Attributes []*Attribute `locationName:"attributes" min:"1" type:"list" required:"true"` // contains filtered or unexported fields }
The definition of the input.
func (InputDefinition) GoString ¶
func (s InputDefinition) GoString() string
GoString returns the string representation
func (*InputDefinition) SetAttributes ¶
func (s *InputDefinition) SetAttributes(v []*Attribute) *InputDefinition
SetAttributes sets the Attributes field's value.
func (InputDefinition) String ¶
func (s InputDefinition) String() string
String returns the string representation
func (*InputDefinition) Validate ¶
func (s *InputDefinition) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type InputSummary ¶
type InputSummary struct { // The time the input was created. CreationTime *time.Time `locationName:"creationTime" type:"timestamp"` // The ARN of the input. InputArn *string `locationName:"inputArn" type:"string"` // A brief description of the input. InputDescription *string `locationName:"inputDescription" type:"string"` // The name of the input. InputName *string `locationName:"inputName" min:"1" type:"string"` // The last time the input was updated. LastUpdateTime *time.Time `locationName:"lastUpdateTime" type:"timestamp"` // The status of the input. Status *string `locationName:"status" type:"string" enum:"InputStatus"` // contains filtered or unexported fields }
Information about the input.
func (InputSummary) GoString ¶
func (s InputSummary) GoString() string
GoString returns the string representation
func (*InputSummary) SetCreationTime ¶
func (s *InputSummary) SetCreationTime(v time.Time) *InputSummary
SetCreationTime sets the CreationTime field's value.
func (*InputSummary) SetInputArn ¶
func (s *InputSummary) SetInputArn(v string) *InputSummary
SetInputArn sets the InputArn field's value.
func (*InputSummary) SetInputDescription ¶
func (s *InputSummary) SetInputDescription(v string) *InputSummary
SetInputDescription sets the InputDescription field's value.
func (*InputSummary) SetInputName ¶
func (s *InputSummary) SetInputName(v string) *InputSummary
SetInputName sets the InputName field's value.
func (*InputSummary) SetLastUpdateTime ¶
func (s *InputSummary) SetLastUpdateTime(v time.Time) *InputSummary
SetLastUpdateTime sets the LastUpdateTime field's value.
func (*InputSummary) SetStatus ¶
func (s *InputSummary) SetStatus(v string) *InputSummary
SetStatus sets the Status field's value.
func (InputSummary) String ¶
func (s InputSummary) String() string
String returns the string representation
type InternalFailureException ¶ added in v1.28.0
type InternalFailureException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` // The message for the exception. Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
An internal failure occurred.
func (*InternalFailureException) Code ¶ added in v1.28.0
func (s *InternalFailureException) Code() string
Code returns the exception type name.
func (*InternalFailureException) Error ¶ added in v1.28.0
func (s *InternalFailureException) Error() string
func (InternalFailureException) GoString ¶ added in v1.28.0
func (s InternalFailureException) GoString() string
GoString returns the string representation
func (*InternalFailureException) Message ¶ added in v1.28.0
func (s *InternalFailureException) Message() string
Message returns the exception's message.
func (*InternalFailureException) OrigErr ¶ added in v1.28.0
func (s *InternalFailureException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*InternalFailureException) RequestID ¶ added in v1.28.0
func (s *InternalFailureException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*InternalFailureException) StatusCode ¶ added in v1.28.0
func (s *InternalFailureException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (InternalFailureException) String ¶ added in v1.28.0
func (s InternalFailureException) String() string
String returns the string representation
type InvalidRequestException ¶ added in v1.28.0
type InvalidRequestException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` // The message for the exception. Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
The request was invalid.
func (*InvalidRequestException) Code ¶ added in v1.28.0
func (s *InvalidRequestException) Code() string
Code returns the exception type name.
func (*InvalidRequestException) Error ¶ added in v1.28.0
func (s *InvalidRequestException) Error() string
func (InvalidRequestException) GoString ¶ added in v1.28.0
func (s InvalidRequestException) GoString() string
GoString returns the string representation
func (*InvalidRequestException) Message ¶ added in v1.28.0
func (s *InvalidRequestException) Message() string
Message returns the exception's message.
func (*InvalidRequestException) OrigErr ¶ added in v1.28.0
func (s *InvalidRequestException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*InvalidRequestException) RequestID ¶ added in v1.28.0
func (s *InvalidRequestException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*InvalidRequestException) StatusCode ¶ added in v1.28.0
func (s *InvalidRequestException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (InvalidRequestException) String ¶ added in v1.28.0
func (s InvalidRequestException) String() string
String returns the string representation
type IoTEvents ¶
IoTEvents provides the API operation methods for making requests to AWS IoT Events. See this package's package overview docs for details on the service.
IoTEvents methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.
func New ¶
func New(p client.ConfigProvider, cfgs ...*aws.Config) *IoTEvents
New creates a new instance of the IoTEvents client with a session. If additional configuration is needed for the client instance use the optional aws.Config parameter to add your extra config.
Example:
mySession := session.Must(session.NewSession()) // Create a IoTEvents client from just a session. svc := iotevents.New(mySession) // Create a IoTEvents client with additional configuration svc := iotevents.New(mySession, aws.NewConfig().WithRegion("us-west-2"))
func (*IoTEvents) CreateDetectorModel ¶
func (c *IoTEvents) CreateDetectorModel(input *CreateDetectorModelInput) (*CreateDetectorModelOutput, error)
CreateDetectorModel API operation for AWS IoT Events.
Creates a detector model.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS IoT Events's API operation CreateDetectorModel for usage and error information.
Returned Error Types:
InvalidRequestException The request was invalid.
ResourceInUseException The resource is in use.
ResourceAlreadyExistsException The resource already exists.
LimitExceededException A limit was exceeded.
ThrottlingException The request could not be completed due to throttling.
InternalFailureException An internal failure occurred.
ServiceUnavailableException The service is currently unavailable.
See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-2018-07-27/CreateDetectorModel
func (*IoTEvents) CreateDetectorModelRequest ¶
func (c *IoTEvents) CreateDetectorModelRequest(input *CreateDetectorModelInput) (req *request.Request, output *CreateDetectorModelOutput)
CreateDetectorModelRequest generates a "aws/request.Request" representing the client's request for the CreateDetectorModel operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See CreateDetectorModel for more information on using the CreateDetectorModel API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the CreateDetectorModelRequest method. req, resp := client.CreateDetectorModelRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-2018-07-27/CreateDetectorModel
func (*IoTEvents) CreateDetectorModelWithContext ¶
func (c *IoTEvents) CreateDetectorModelWithContext(ctx aws.Context, input *CreateDetectorModelInput, opts ...request.Option) (*CreateDetectorModelOutput, error)
CreateDetectorModelWithContext is the same as CreateDetectorModel with the addition of the ability to pass a context and additional request options.
See CreateDetectorModel for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*IoTEvents) CreateInput ¶
func (c *IoTEvents) CreateInput(input *CreateInputInput) (*CreateInputOutput, error)
CreateInput API operation for AWS IoT Events.
Creates an input.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS IoT Events's API operation CreateInput for usage and error information.
Returned Error Types:
InvalidRequestException The request was invalid.
ThrottlingException The request could not be completed due to throttling.
InternalFailureException An internal failure occurred.
ServiceUnavailableException The service is currently unavailable.
ResourceAlreadyExistsException The resource already exists.
See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-2018-07-27/CreateInput
func (*IoTEvents) CreateInputRequest ¶
func (c *IoTEvents) CreateInputRequest(input *CreateInputInput) (req *request.Request, output *CreateInputOutput)
CreateInputRequest generates a "aws/request.Request" representing the client's request for the CreateInput operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See CreateInput for more information on using the CreateInput API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the CreateInputRequest method. req, resp := client.CreateInputRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-2018-07-27/CreateInput
func (*IoTEvents) CreateInputWithContext ¶
func (c *IoTEvents) CreateInputWithContext(ctx aws.Context, input *CreateInputInput, opts ...request.Option) (*CreateInputOutput, error)
CreateInputWithContext is the same as CreateInput with the addition of the ability to pass a context and additional request options.
See CreateInput for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*IoTEvents) DeleteDetectorModel ¶
func (c *IoTEvents) DeleteDetectorModel(input *DeleteDetectorModelInput) (*DeleteDetectorModelOutput, error)
DeleteDetectorModel API operation for AWS IoT Events.
Deletes a detector model. Any active instances of the detector model are also deleted.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS IoT Events's API operation DeleteDetectorModel for usage and error information.
Returned Error Types:
InvalidRequestException The request was invalid.
ResourceInUseException The resource is in use.
ResourceNotFoundException The resource was not found.
ThrottlingException The request could not be completed due to throttling.
InternalFailureException An internal failure occurred.
ServiceUnavailableException The service is currently unavailable.
See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-2018-07-27/DeleteDetectorModel
func (*IoTEvents) DeleteDetectorModelRequest ¶
func (c *IoTEvents) DeleteDetectorModelRequest(input *DeleteDetectorModelInput) (req *request.Request, output *DeleteDetectorModelOutput)
DeleteDetectorModelRequest generates a "aws/request.Request" representing the client's request for the DeleteDetectorModel operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeleteDetectorModel for more information on using the DeleteDetectorModel API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DeleteDetectorModelRequest method. req, resp := client.DeleteDetectorModelRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-2018-07-27/DeleteDetectorModel
func (*IoTEvents) DeleteDetectorModelWithContext ¶
func (c *IoTEvents) DeleteDetectorModelWithContext(ctx aws.Context, input *DeleteDetectorModelInput, opts ...request.Option) (*DeleteDetectorModelOutput, error)
DeleteDetectorModelWithContext is the same as DeleteDetectorModel with the addition of the ability to pass a context and additional request options.
See DeleteDetectorModel for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*IoTEvents) DeleteInput ¶
func (c *IoTEvents) DeleteInput(input *DeleteInputInput) (*DeleteInputOutput, error)
DeleteInput API operation for AWS IoT Events.
Deletes an input.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS IoT Events's API operation DeleteInput for usage and error information.
Returned Error Types:
InvalidRequestException The request was invalid.
ResourceNotFoundException The resource was not found.
ThrottlingException The request could not be completed due to throttling.
InternalFailureException An internal failure occurred.
ServiceUnavailableException The service is currently unavailable.
ResourceInUseException The resource is in use.
See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-2018-07-27/DeleteInput
func (*IoTEvents) DeleteInputRequest ¶
func (c *IoTEvents) DeleteInputRequest(input *DeleteInputInput) (req *request.Request, output *DeleteInputOutput)
DeleteInputRequest generates a "aws/request.Request" representing the client's request for the DeleteInput operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeleteInput for more information on using the DeleteInput API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DeleteInputRequest method. req, resp := client.DeleteInputRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-2018-07-27/DeleteInput
func (*IoTEvents) DeleteInputWithContext ¶
func (c *IoTEvents) DeleteInputWithContext(ctx aws.Context, input *DeleteInputInput, opts ...request.Option) (*DeleteInputOutput, error)
DeleteInputWithContext is the same as DeleteInput with the addition of the ability to pass a context and additional request options.
See DeleteInput for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*IoTEvents) DescribeDetectorModel ¶
func (c *IoTEvents) DescribeDetectorModel(input *DescribeDetectorModelInput) (*DescribeDetectorModelOutput, error)
DescribeDetectorModel API operation for AWS IoT Events.
Describes a detector model. If the version parameter is not specified, information about the latest version is returned.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS IoT Events's API operation DescribeDetectorModel for usage and error information.
Returned Error Types:
InvalidRequestException The request was invalid.
ResourceNotFoundException The resource was not found.
ThrottlingException The request could not be completed due to throttling.
InternalFailureException An internal failure occurred.
ServiceUnavailableException The service is currently unavailable.
See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-2018-07-27/DescribeDetectorModel
func (*IoTEvents) DescribeDetectorModelAnalysis ¶ added in v1.37.17
func (c *IoTEvents) DescribeDetectorModelAnalysis(input *DescribeDetectorModelAnalysisInput) (*DescribeDetectorModelAnalysisOutput, error)
DescribeDetectorModelAnalysis API operation for AWS IoT Events.
Retrieves execution information about a detector model analysis ¶
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 DescribeDetectorModelAnalysis for usage and error information.
Returned Error Types:
InvalidRequestException The request was invalid.
ResourceNotFoundException The resource was not found.
ThrottlingException The request could not be completed due to throttling.
InternalFailureException An internal failure occurred.
ServiceUnavailableException The service is currently unavailable.
See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-2018-07-27/DescribeDetectorModelAnalysis
func (*IoTEvents) DescribeDetectorModelAnalysisRequest ¶ added in v1.37.17
func (c *IoTEvents) DescribeDetectorModelAnalysisRequest(input *DescribeDetectorModelAnalysisInput) (req *request.Request, output *DescribeDetectorModelAnalysisOutput)
DescribeDetectorModelAnalysisRequest generates a "aws/request.Request" representing the client's request for the DescribeDetectorModelAnalysis 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 DescribeDetectorModelAnalysis for more information on using the DescribeDetectorModelAnalysis 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 DescribeDetectorModelAnalysisRequest method. req, resp := client.DescribeDetectorModelAnalysisRequest(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/DescribeDetectorModelAnalysis
func (*IoTEvents) DescribeDetectorModelAnalysisWithContext ¶ added in v1.37.17
func (c *IoTEvents) DescribeDetectorModelAnalysisWithContext(ctx aws.Context, input *DescribeDetectorModelAnalysisInput, opts ...request.Option) (*DescribeDetectorModelAnalysisOutput, error)
DescribeDetectorModelAnalysisWithContext is the same as DescribeDetectorModelAnalysis with the addition of the ability to pass a context and additional request options.
See DescribeDetectorModelAnalysis 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) DescribeDetectorModelRequest ¶
func (c *IoTEvents) DescribeDetectorModelRequest(input *DescribeDetectorModelInput) (req *request.Request, output *DescribeDetectorModelOutput)
DescribeDetectorModelRequest generates a "aws/request.Request" representing the client's request for the DescribeDetectorModel operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DescribeDetectorModel for more information on using the DescribeDetectorModel API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DescribeDetectorModelRequest method. req, resp := client.DescribeDetectorModelRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-2018-07-27/DescribeDetectorModel
func (*IoTEvents) DescribeDetectorModelWithContext ¶
func (c *IoTEvents) DescribeDetectorModelWithContext(ctx aws.Context, input *DescribeDetectorModelInput, opts ...request.Option) (*DescribeDetectorModelOutput, error)
DescribeDetectorModelWithContext is the same as DescribeDetectorModel with the addition of the ability to pass a context and additional request options.
See DescribeDetectorModel for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*IoTEvents) DescribeInput ¶
func (c *IoTEvents) DescribeInput(input *DescribeInputInput) (*DescribeInputOutput, error)
DescribeInput API operation for AWS IoT Events.
Describes an input.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS IoT Events's API operation DescribeInput for usage and error information.
Returned Error Types:
InvalidRequestException The request was invalid.
ResourceNotFoundException The resource was not found.
ThrottlingException The request could not be completed due to throttling.
InternalFailureException An internal failure occurred.
ServiceUnavailableException The service is currently unavailable.
See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-2018-07-27/DescribeInput
func (*IoTEvents) DescribeInputRequest ¶
func (c *IoTEvents) DescribeInputRequest(input *DescribeInputInput) (req *request.Request, output *DescribeInputOutput)
DescribeInputRequest generates a "aws/request.Request" representing the client's request for the DescribeInput operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DescribeInput for more information on using the DescribeInput API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DescribeInputRequest method. req, resp := client.DescribeInputRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-2018-07-27/DescribeInput
func (*IoTEvents) DescribeInputWithContext ¶
func (c *IoTEvents) DescribeInputWithContext(ctx aws.Context, input *DescribeInputInput, opts ...request.Option) (*DescribeInputOutput, error)
DescribeInputWithContext is the same as DescribeInput with the addition of the ability to pass a context and additional request options.
See DescribeInput for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*IoTEvents) DescribeLoggingOptions ¶
func (c *IoTEvents) DescribeLoggingOptions(input *DescribeLoggingOptionsInput) (*DescribeLoggingOptionsOutput, error)
DescribeLoggingOptions API operation for AWS IoT Events.
Retrieves the current settings of the AWS IoT Events logging options.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS IoT Events's API operation DescribeLoggingOptions for usage and error information.
Returned Error Types:
InvalidRequestException The request was invalid.
ThrottlingException The request could not be completed due to throttling.
InternalFailureException An internal failure occurred.
ResourceNotFoundException The resource was not found.
ServiceUnavailableException The service is currently unavailable.
UnsupportedOperationException The requested operation is not supported.
See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-2018-07-27/DescribeLoggingOptions
func (*IoTEvents) DescribeLoggingOptionsRequest ¶
func (c *IoTEvents) DescribeLoggingOptionsRequest(input *DescribeLoggingOptionsInput) (req *request.Request, output *DescribeLoggingOptionsOutput)
DescribeLoggingOptionsRequest generates a "aws/request.Request" representing the client's request for the DescribeLoggingOptions operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DescribeLoggingOptions for more information on using the DescribeLoggingOptions API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DescribeLoggingOptionsRequest method. req, resp := client.DescribeLoggingOptionsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-2018-07-27/DescribeLoggingOptions
func (*IoTEvents) DescribeLoggingOptionsWithContext ¶
func (c *IoTEvents) DescribeLoggingOptionsWithContext(ctx aws.Context, input *DescribeLoggingOptionsInput, opts ...request.Option) (*DescribeLoggingOptionsOutput, error)
DescribeLoggingOptionsWithContext is the same as DescribeLoggingOptions with the addition of the ability to pass a context and additional request options.
See DescribeLoggingOptions for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*IoTEvents) GetDetectorModelAnalysisResults ¶ added in v1.37.17
func (c *IoTEvents) GetDetectorModelAnalysisResults(input *GetDetectorModelAnalysisResultsInput) (*GetDetectorModelAnalysisResultsOutput, error)
GetDetectorModelAnalysisResults API operation for AWS IoT Events.
Retrieves one or more analysis results of the 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 GetDetectorModelAnalysisResults for usage and error information.
Returned Error Types:
InvalidRequestException The request was invalid.
ResourceNotFoundException The resource was not found.
ThrottlingException The request could not be completed due to throttling.
InternalFailureException An internal failure occurred.
ServiceUnavailableException The service is currently unavailable.
See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-2018-07-27/GetDetectorModelAnalysisResults
func (*IoTEvents) GetDetectorModelAnalysisResultsRequest ¶ added in v1.37.17
func (c *IoTEvents) GetDetectorModelAnalysisResultsRequest(input *GetDetectorModelAnalysisResultsInput) (req *request.Request, output *GetDetectorModelAnalysisResultsOutput)
GetDetectorModelAnalysisResultsRequest generates a "aws/request.Request" representing the client's request for the GetDetectorModelAnalysisResults 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 GetDetectorModelAnalysisResults for more information on using the GetDetectorModelAnalysisResults 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 GetDetectorModelAnalysisResultsRequest method. req, resp := client.GetDetectorModelAnalysisResultsRequest(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/GetDetectorModelAnalysisResults
func (*IoTEvents) GetDetectorModelAnalysisResultsWithContext ¶ added in v1.37.17
func (c *IoTEvents) GetDetectorModelAnalysisResultsWithContext(ctx aws.Context, input *GetDetectorModelAnalysisResultsInput, opts ...request.Option) (*GetDetectorModelAnalysisResultsOutput, error)
GetDetectorModelAnalysisResultsWithContext is the same as GetDetectorModelAnalysisResults with the addition of the ability to pass a context and additional request options.
See GetDetectorModelAnalysisResults for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*IoTEvents) ListDetectorModelVersions ¶
func (c *IoTEvents) ListDetectorModelVersions(input *ListDetectorModelVersionsInput) (*ListDetectorModelVersionsOutput, error)
ListDetectorModelVersions API operation for AWS IoT Events.
Lists all the versions of a detector model. Only the metadata associated with each detector model version is returned.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS IoT Events's API operation ListDetectorModelVersions for usage and error information.
Returned Error Types:
InvalidRequestException The request was invalid.
ResourceNotFoundException The resource was not found.
ThrottlingException The request could not be completed due to throttling.
InternalFailureException An internal failure occurred.
ServiceUnavailableException The service is currently unavailable.
See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-2018-07-27/ListDetectorModelVersions
func (*IoTEvents) ListDetectorModelVersionsRequest ¶
func (c *IoTEvents) ListDetectorModelVersionsRequest(input *ListDetectorModelVersionsInput) (req *request.Request, output *ListDetectorModelVersionsOutput)
ListDetectorModelVersionsRequest generates a "aws/request.Request" representing the client's request for the ListDetectorModelVersions operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListDetectorModelVersions for more information on using the ListDetectorModelVersions API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListDetectorModelVersionsRequest method. req, resp := client.ListDetectorModelVersionsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-2018-07-27/ListDetectorModelVersions
func (*IoTEvents) ListDetectorModelVersionsWithContext ¶
func (c *IoTEvents) ListDetectorModelVersionsWithContext(ctx aws.Context, input *ListDetectorModelVersionsInput, opts ...request.Option) (*ListDetectorModelVersionsOutput, error)
ListDetectorModelVersionsWithContext is the same as ListDetectorModelVersions with the addition of the ability to pass a context and additional request options.
See ListDetectorModelVersions for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*IoTEvents) ListDetectorModels ¶
func (c *IoTEvents) ListDetectorModels(input *ListDetectorModelsInput) (*ListDetectorModelsOutput, error)
ListDetectorModels API operation for AWS IoT Events.
Lists the detector models you have created. Only the metadata associated with each detector model is returned.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS IoT Events's API operation ListDetectorModels for usage and error information.
Returned Error Types:
InvalidRequestException The request was invalid.
ThrottlingException The request could not be completed due to throttling.
InternalFailureException An internal failure occurred.
ServiceUnavailableException The service is currently unavailable.
See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-2018-07-27/ListDetectorModels
func (*IoTEvents) ListDetectorModelsRequest ¶
func (c *IoTEvents) ListDetectorModelsRequest(input *ListDetectorModelsInput) (req *request.Request, output *ListDetectorModelsOutput)
ListDetectorModelsRequest generates a "aws/request.Request" representing the client's request for the ListDetectorModels operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListDetectorModels for more information on using the ListDetectorModels API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListDetectorModelsRequest method. req, resp := client.ListDetectorModelsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-2018-07-27/ListDetectorModels
func (*IoTEvents) ListDetectorModelsWithContext ¶
func (c *IoTEvents) ListDetectorModelsWithContext(ctx aws.Context, input *ListDetectorModelsInput, opts ...request.Option) (*ListDetectorModelsOutput, error)
ListDetectorModelsWithContext is the same as ListDetectorModels with the addition of the ability to pass a context and additional request options.
See ListDetectorModels for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*IoTEvents) ListInputs ¶
func (c *IoTEvents) ListInputs(input *ListInputsInput) (*ListInputsOutput, error)
ListInputs API operation for AWS IoT Events.
Lists the inputs you have created.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS IoT Events's API operation ListInputs for usage and error information.
Returned Error Types:
InvalidRequestException The request was invalid.
ThrottlingException The request could not be completed due to throttling.
InternalFailureException An internal failure occurred.
ServiceUnavailableException The service is currently unavailable.
See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-2018-07-27/ListInputs
func (*IoTEvents) ListInputsRequest ¶
func (c *IoTEvents) ListInputsRequest(input *ListInputsInput) (req *request.Request, output *ListInputsOutput)
ListInputsRequest generates a "aws/request.Request" representing the client's request for the ListInputs operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListInputs for more information on using the ListInputs API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListInputsRequest method. req, resp := client.ListInputsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-2018-07-27/ListInputs
func (*IoTEvents) ListInputsWithContext ¶
func (c *IoTEvents) ListInputsWithContext(ctx aws.Context, input *ListInputsInput, opts ...request.Option) (*ListInputsOutput, error)
ListInputsWithContext is the same as ListInputs with the addition of the ability to pass a context and additional request options.
See ListInputs for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*IoTEvents) ListTagsForResource ¶
func (c *IoTEvents) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error)
ListTagsForResource API operation for AWS IoT Events.
Lists the tags (metadata) you have assigned to the resource.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS IoT Events's API operation ListTagsForResource for usage and error information.
Returned Error Types:
InvalidRequestException The request was invalid.
ResourceNotFoundException The resource was not found.
ResourceInUseException The resource is in use.
ThrottlingException The request could not be completed due to throttling.
InternalFailureException An internal failure occurred.
See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-2018-07-27/ListTagsForResource
func (*IoTEvents) ListTagsForResourceRequest ¶
func (c *IoTEvents) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput)
ListTagsForResourceRequest generates a "aws/request.Request" representing the client's request for the ListTagsForResource operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListTagsForResource for more information on using the ListTagsForResource API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListTagsForResourceRequest method. req, resp := client.ListTagsForResourceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-2018-07-27/ListTagsForResource
func (*IoTEvents) ListTagsForResourceWithContext ¶
func (c *IoTEvents) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error)
ListTagsForResourceWithContext is the same as ListTagsForResource with the addition of the ability to pass a context and additional request options.
See ListTagsForResource for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*IoTEvents) PutLoggingOptions ¶
func (c *IoTEvents) PutLoggingOptions(input *PutLoggingOptionsInput) (*PutLoggingOptionsOutput, error)
PutLoggingOptions API operation for AWS IoT Events.
Sets or updates the AWS IoT Events logging options.
If you update the value of any loggingOptions field, it takes up to one minute for the change to take effect. If you change the policy attached to the role you specified in the roleArn field (for example, to correct an invalid policy), it takes up to five minutes for that change to take effect.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS IoT Events's API operation PutLoggingOptions for usage and error information.
Returned Error Types:
InvalidRequestException The request was invalid.
ThrottlingException The request could not be completed due to throttling.
InternalFailureException An internal failure occurred.
ServiceUnavailableException The service is currently unavailable.
UnsupportedOperationException The requested operation is not supported.
ResourceInUseException The resource is in use.
See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-2018-07-27/PutLoggingOptions
func (*IoTEvents) PutLoggingOptionsRequest ¶
func (c *IoTEvents) PutLoggingOptionsRequest(input *PutLoggingOptionsInput) (req *request.Request, output *PutLoggingOptionsOutput)
PutLoggingOptionsRequest generates a "aws/request.Request" representing the client's request for the PutLoggingOptions operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See PutLoggingOptions for more information on using the PutLoggingOptions API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the PutLoggingOptionsRequest method. req, resp := client.PutLoggingOptionsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-2018-07-27/PutLoggingOptions
func (*IoTEvents) PutLoggingOptionsWithContext ¶
func (c *IoTEvents) PutLoggingOptionsWithContext(ctx aws.Context, input *PutLoggingOptionsInput, opts ...request.Option) (*PutLoggingOptionsOutput, error)
PutLoggingOptionsWithContext is the same as PutLoggingOptions with the addition of the ability to pass a context and additional request options.
See PutLoggingOptions for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*IoTEvents) StartDetectorModelAnalysis ¶ added in v1.37.17
func (c *IoTEvents) StartDetectorModelAnalysis(input *StartDetectorModelAnalysisInput) (*StartDetectorModelAnalysisOutput, error)
StartDetectorModelAnalysis API operation for AWS IoT Events.
Performs an analysis of your detector model. For more information, see Running detector model analyses (https://docs.aws.amazon.com/iotevents/latest/developerguide/iotevents-analyze-api.html) in the AWS IoT Events Developer Guide.
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 StartDetectorModelAnalysis for usage and error information.
Returned Error Types:
InvalidRequestException The request was invalid.
LimitExceededException A limit was exceeded.
ThrottlingException The request could not be completed due to throttling.
InternalFailureException An internal failure occurred.
ServiceUnavailableException The service is currently unavailable.
See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-2018-07-27/StartDetectorModelAnalysis
func (*IoTEvents) StartDetectorModelAnalysisRequest ¶ added in v1.37.17
func (c *IoTEvents) StartDetectorModelAnalysisRequest(input *StartDetectorModelAnalysisInput) (req *request.Request, output *StartDetectorModelAnalysisOutput)
StartDetectorModelAnalysisRequest generates a "aws/request.Request" representing the client's request for the StartDetectorModelAnalysis 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 StartDetectorModelAnalysis for more information on using the StartDetectorModelAnalysis 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 StartDetectorModelAnalysisRequest method. req, resp := client.StartDetectorModelAnalysisRequest(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/StartDetectorModelAnalysis
func (*IoTEvents) StartDetectorModelAnalysisWithContext ¶ added in v1.37.17
func (c *IoTEvents) StartDetectorModelAnalysisWithContext(ctx aws.Context, input *StartDetectorModelAnalysisInput, opts ...request.Option) (*StartDetectorModelAnalysisOutput, error)
StartDetectorModelAnalysisWithContext is the same as StartDetectorModelAnalysis with the addition of the ability to pass a context and additional request options.
See StartDetectorModelAnalysis for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*IoTEvents) TagResource ¶
func (c *IoTEvents) TagResource(input *TagResourceInput) (*TagResourceOutput, error)
TagResource API operation for AWS IoT Events.
Adds to or modifies the tags of the given resource. Tags are metadata that can be used to manage a resource.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS IoT Events's API operation TagResource for usage and error information.
Returned Error Types:
InvalidRequestException The request was invalid.
ResourceNotFoundException The resource was not found.
ResourceInUseException The resource is in use.
ThrottlingException The request could not be completed due to throttling.
LimitExceededException A limit was exceeded.
InternalFailureException An internal failure occurred.
See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-2018-07-27/TagResource
func (*IoTEvents) TagResourceRequest ¶
func (c *IoTEvents) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput)
TagResourceRequest generates a "aws/request.Request" representing the client's request for the TagResource operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See TagResource for more information on using the TagResource API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the TagResourceRequest method. req, resp := client.TagResourceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-2018-07-27/TagResource
func (*IoTEvents) TagResourceWithContext ¶
func (c *IoTEvents) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error)
TagResourceWithContext is the same as TagResource with the addition of the ability to pass a context and additional request options.
See TagResource for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*IoTEvents) UntagResource ¶
func (c *IoTEvents) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error)
UntagResource API operation for AWS IoT Events.
Removes the given tags (metadata) from the resource.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS IoT Events's API operation UntagResource for usage and error information.
Returned Error Types:
InvalidRequestException The request was invalid.
ResourceNotFoundException The resource was not found.
ResourceInUseException The resource is in use.
ThrottlingException The request could not be completed due to throttling.
InternalFailureException An internal failure occurred.
See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-2018-07-27/UntagResource
func (*IoTEvents) UntagResourceRequest ¶
func (c *IoTEvents) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput)
UntagResourceRequest generates a "aws/request.Request" representing the client's request for the UntagResource operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See UntagResource for more information on using the UntagResource API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the UntagResourceRequest method. req, resp := client.UntagResourceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-2018-07-27/UntagResource
func (*IoTEvents) UntagResourceWithContext ¶
func (c *IoTEvents) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error)
UntagResourceWithContext is the same as UntagResource with the addition of the ability to pass a context and additional request options.
See UntagResource for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*IoTEvents) UpdateDetectorModel ¶
func (c *IoTEvents) UpdateDetectorModel(input *UpdateDetectorModelInput) (*UpdateDetectorModelOutput, error)
UpdateDetectorModel API operation for AWS IoT Events.
Updates a detector model. Detectors (instances) spawned by the previous version are deleted and then re-created as new inputs arrive.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS IoT Events's API operation UpdateDetectorModel for usage and error information.
Returned Error Types:
InvalidRequestException The request was invalid.
ResourceInUseException The resource is in use.
ResourceNotFoundException The resource was not found.
ThrottlingException The request could not be completed due to throttling.
InternalFailureException An internal failure occurred.
ServiceUnavailableException The service is currently unavailable.
See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-2018-07-27/UpdateDetectorModel
func (*IoTEvents) UpdateDetectorModelRequest ¶
func (c *IoTEvents) UpdateDetectorModelRequest(input *UpdateDetectorModelInput) (req *request.Request, output *UpdateDetectorModelOutput)
UpdateDetectorModelRequest generates a "aws/request.Request" representing the client's request for the UpdateDetectorModel operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See UpdateDetectorModel for more information on using the UpdateDetectorModel API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the UpdateDetectorModelRequest method. req, resp := client.UpdateDetectorModelRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-2018-07-27/UpdateDetectorModel
func (*IoTEvents) UpdateDetectorModelWithContext ¶
func (c *IoTEvents) UpdateDetectorModelWithContext(ctx aws.Context, input *UpdateDetectorModelInput, opts ...request.Option) (*UpdateDetectorModelOutput, error)
UpdateDetectorModelWithContext is the same as UpdateDetectorModel with the addition of the ability to pass a context and additional request options.
See UpdateDetectorModel for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*IoTEvents) UpdateInput ¶
func (c *IoTEvents) UpdateInput(input *UpdateInputInput) (*UpdateInputOutput, error)
UpdateInput API operation for AWS IoT Events.
Updates an input.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS IoT Events's API operation UpdateInput for usage and error information.
Returned Error Types:
InvalidRequestException The request was invalid.
ThrottlingException The request could not be completed due to throttling.
ResourceNotFoundException The resource was not found.
InternalFailureException An internal failure occurred.
ServiceUnavailableException The service is currently unavailable.
ResourceInUseException The resource is in use.
See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-2018-07-27/UpdateInput
func (*IoTEvents) UpdateInputRequest ¶
func (c *IoTEvents) UpdateInputRequest(input *UpdateInputInput) (req *request.Request, output *UpdateInputOutput)
UpdateInputRequest generates a "aws/request.Request" representing the client's request for the UpdateInput operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See UpdateInput for more information on using the UpdateInput API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the UpdateInputRequest method. req, resp := client.UpdateInputRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-2018-07-27/UpdateInput
func (*IoTEvents) UpdateInputWithContext ¶
func (c *IoTEvents) UpdateInputWithContext(ctx aws.Context, input *UpdateInputInput, opts ...request.Option) (*UpdateInputOutput, error)
UpdateInputWithContext is the same as UpdateInput with the addition of the ability to pass a context and additional request options.
See UpdateInput for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
type IotSiteWiseAction ¶ added in v1.30.10
type IotSiteWiseAction struct { // The ID of the asset that has the specified property. AssetId *string `locationName:"assetId" type:"string"` // A unique identifier for this entry. You can use the entry ID to track which // data entry causes an error in case of failure. The default is a new unique // identifier. EntryId *string `locationName:"entryId" type:"string"` // The alias of the asset property. PropertyAlias *string `locationName:"propertyAlias" type:"string"` // The ID of the asset property. PropertyId *string `locationName:"propertyId" type:"string"` // The value to send to the asset property. This value contains timestamp, quality, // and value (TQV) information. // // PropertyValue is a required field PropertyValue *AssetPropertyValue `locationName:"propertyValue" type:"structure" required:"true"` // contains filtered or unexported fields }
Sends information about the detector model instance and the event that triggered the action to a specified asset property in AWS IoT SiteWise.
You must use expressions for all parameters in IotSiteWiseAction. The expressions accept literals, operators, functions, references, and substitutions templates.
Examples
For literal values, the expressions must contain single quotes. For example, the value for the propertyAlias parameter can be '/company/windfarm/3/turbine/7/temperature'.
For references, you must specify either variables or input values. For example, the value for the assetId parameter can be $input.TurbineInput.assetId1.
For a substitution template, you must use ${}, and the template must be in single quotes. A substitution template can also contain a combination of literals, operators, functions, references, and substitution templates. In the following example, the value for the propertyAlias parameter uses a substitution template. 'company/windfarm/${$input.TemperatureInput.sensorData.windfarmID}/turbine/ ${$input.TemperatureInput.sensorData.turbineID}/temperature'
You must specify either propertyAlias or both assetId and propertyId to identify the target asset property in AWS IoT SiteWise.
For more information, see Expressions (https://docs.aws.amazon.com/iotevents/latest/developerguide/iotevents-expressions.html) in the AWS IoT Events Developer Guide.
func (IotSiteWiseAction) GoString ¶ added in v1.30.10
func (s IotSiteWiseAction) GoString() string
GoString returns the string representation
func (*IotSiteWiseAction) SetAssetId ¶ added in v1.30.10
func (s *IotSiteWiseAction) SetAssetId(v string) *IotSiteWiseAction
SetAssetId sets the AssetId field's value.
func (*IotSiteWiseAction) SetEntryId ¶ added in v1.30.10
func (s *IotSiteWiseAction) SetEntryId(v string) *IotSiteWiseAction
SetEntryId sets the EntryId field's value.
func (*IotSiteWiseAction) SetPropertyAlias ¶ added in v1.30.10
func (s *IotSiteWiseAction) SetPropertyAlias(v string) *IotSiteWiseAction
SetPropertyAlias sets the PropertyAlias field's value.
func (*IotSiteWiseAction) SetPropertyId ¶ added in v1.30.10
func (s *IotSiteWiseAction) SetPropertyId(v string) *IotSiteWiseAction
SetPropertyId sets the PropertyId field's value.
func (*IotSiteWiseAction) SetPropertyValue ¶ added in v1.30.10
func (s *IotSiteWiseAction) SetPropertyValue(v *AssetPropertyValue) *IotSiteWiseAction
SetPropertyValue sets the PropertyValue field's value.
func (IotSiteWiseAction) String ¶ added in v1.30.10
func (s IotSiteWiseAction) String() string
String returns the string representation
func (*IotSiteWiseAction) Validate ¶ added in v1.30.10
func (s *IotSiteWiseAction) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type IotTopicPublishAction ¶
type IotTopicPublishAction struct { // The MQTT topic of the message. You can use a string expression that includes // variables ($variable.<variable-name>) and input values ($input.<input-name>.<path-to-datum>) // as the topic string. // // MqttTopic is a required field MqttTopic *string `locationName:"mqttTopic" min:"1" type:"string" required:"true"` // You can configure the action payload when you publish a message to an AWS // IoT Core topic. Payload *Payload `locationName:"payload" type:"structure"` // contains filtered or unexported fields }
Information required to publish the MQTT message through the AWS IoT message broker.
func (IotTopicPublishAction) GoString ¶
func (s IotTopicPublishAction) GoString() string
GoString returns the string representation
func (*IotTopicPublishAction) SetMqttTopic ¶
func (s *IotTopicPublishAction) SetMqttTopic(v string) *IotTopicPublishAction
SetMqttTopic sets the MqttTopic field's value.
func (*IotTopicPublishAction) SetPayload ¶ added in v1.30.8
func (s *IotTopicPublishAction) SetPayload(v *Payload) *IotTopicPublishAction
SetPayload sets the Payload field's value.
func (IotTopicPublishAction) String ¶
func (s IotTopicPublishAction) String() string
String returns the string representation
func (*IotTopicPublishAction) Validate ¶
func (s *IotTopicPublishAction) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type LambdaAction ¶ added in v1.21.1
type LambdaAction struct { // The ARN of the Lambda function that is executed. // // FunctionArn is a required field FunctionArn *string `locationName:"functionArn" min:"1" type:"string" required:"true"` // You can configure the action payload when you send a message to a Lambda // function. Payload *Payload `locationName:"payload" type:"structure"` // contains filtered or unexported fields }
Calls a Lambda function, passing in information about the detector model instance and the event that triggered the action.
func (LambdaAction) GoString ¶ added in v1.21.1
func (s LambdaAction) GoString() string
GoString returns the string representation
func (*LambdaAction) SetFunctionArn ¶ added in v1.21.1
func (s *LambdaAction) SetFunctionArn(v string) *LambdaAction
SetFunctionArn sets the FunctionArn field's value.
func (*LambdaAction) SetPayload ¶ added in v1.30.8
func (s *LambdaAction) SetPayload(v *Payload) *LambdaAction
SetPayload sets the Payload field's value.
func (LambdaAction) String ¶ added in v1.21.1
func (s LambdaAction) String() string
String returns the string representation
func (*LambdaAction) Validate ¶ added in v1.21.1
func (s *LambdaAction) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type LimitExceededException ¶ added in v1.28.0
type LimitExceededException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` // The message for the exception. Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
A limit was exceeded.
func (*LimitExceededException) Code ¶ added in v1.28.0
func (s *LimitExceededException) Code() string
Code returns the exception type name.
func (*LimitExceededException) Error ¶ added in v1.28.0
func (s *LimitExceededException) Error() string
func (LimitExceededException) GoString ¶ added in v1.28.0
func (s LimitExceededException) GoString() string
GoString returns the string representation
func (*LimitExceededException) Message ¶ added in v1.28.0
func (s *LimitExceededException) Message() string
Message returns the exception's message.
func (*LimitExceededException) OrigErr ¶ added in v1.28.0
func (s *LimitExceededException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*LimitExceededException) RequestID ¶ added in v1.28.0
func (s *LimitExceededException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*LimitExceededException) StatusCode ¶ added in v1.28.0
func (s *LimitExceededException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (LimitExceededException) String ¶ added in v1.28.0
func (s LimitExceededException) String() string
String returns the string representation
type ListDetectorModelVersionsInput ¶
type ListDetectorModelVersionsInput struct { // The name of the detector model whose versions are returned. // // DetectorModelName is a required field DetectorModelName *string `location:"uri" locationName:"detectorModelName" min:"1" type:"string" required:"true"` // The maximum number of results to be returned per request. MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` // The token that you can use to return 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"` // The token that you can use to return the next set of results, or null if // there are no more 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 be returned per request. MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` // The token that you can use to return 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"` // The token that you can use to return the next set of results, or null if // there are no more 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 be returned per request. MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` // The token that you can use to return 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"` // The token that you can use to return the next set of results, or null if // there are no more 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 Payload ¶ added in v1.30.8
type Payload struct { // The content of the payload. You can use a string expression that includes // quoted strings ('<string>'), variables ($variable.<variable-name>), input // values ($input.<input-name>.<path-to-datum>), string concatenations, and // quoted strings that contain ${} as the content. The recommended maximum size // of a content expression is 1 KB. // // ContentExpression is a required field ContentExpression *string `locationName:"contentExpression" min:"1" type:"string" required:"true"` // The value of the payload type can be either STRING or JSON. // // Type is a required field Type *string `locationName:"type" type:"string" required:"true" enum:"PayloadType"` // contains filtered or unexported fields }
Information needed to configure the payload.
By default, AWS IoT Events generates a standard payload in JSON for any action. This action payload contains all attribute-value pairs that have the information about the detector model instance and the event triggered the action. To configure the action payload, you can use contentExpression.
func (*Payload) SetContentExpression ¶ added in v1.30.8
SetContentExpression sets the ContentExpression field's value.
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 required to reset the timer. The timer is reset to the previously evaluated result of the duration. The duration expression isn't reevaluated when you reset the timer.
func (ResetTimerAction) GoString ¶
func (s ResetTimerAction) GoString() string
GoString returns the string representation
func (*ResetTimerAction) SetTimerName ¶
func (s *ResetTimerAction) SetTimerName(v string) *ResetTimerAction
SetTimerName sets the TimerName field's value.
func (ResetTimerAction) String ¶
func (s ResetTimerAction) String() string
String returns the string representation
func (*ResetTimerAction) Validate ¶
func (s *ResetTimerAction) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ResourceAlreadyExistsException ¶ added in v1.28.0
type ResourceAlreadyExistsException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` // The message for the exception. Message_ *string `locationName:"message" type:"string"` // The ARN of the resource. ResourceArn *string `locationName:"resourceArn" type:"string"` // The ID of the resource. ResourceId *string `locationName:"resourceId" type:"string"` // contains filtered or unexported fields }
The resource already exists.
func (*ResourceAlreadyExistsException) Code ¶ added in v1.28.0
func (s *ResourceAlreadyExistsException) Code() string
Code returns the exception type name.
func (*ResourceAlreadyExistsException) Error ¶ added in v1.28.0
func (s *ResourceAlreadyExistsException) Error() string
func (ResourceAlreadyExistsException) GoString ¶ added in v1.28.0
func (s ResourceAlreadyExistsException) GoString() string
GoString returns the string representation
func (*ResourceAlreadyExistsException) Message ¶ added in v1.28.0
func (s *ResourceAlreadyExistsException) Message() string
Message returns the exception's message.
func (*ResourceAlreadyExistsException) OrigErr ¶ added in v1.28.0
func (s *ResourceAlreadyExistsException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*ResourceAlreadyExistsException) RequestID ¶ added in v1.28.0
func (s *ResourceAlreadyExistsException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*ResourceAlreadyExistsException) StatusCode ¶ added in v1.28.0
func (s *ResourceAlreadyExistsException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (ResourceAlreadyExistsException) String ¶ added in v1.28.0
func (s ResourceAlreadyExistsException) String() string
String returns the string representation
type ResourceInUseException ¶ added in v1.28.0
type ResourceInUseException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` // The message for the exception. Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
The resource is in use.
func (*ResourceInUseException) Code ¶ added in v1.28.0
func (s *ResourceInUseException) Code() string
Code returns the exception type name.
func (*ResourceInUseException) Error ¶ added in v1.28.0
func (s *ResourceInUseException) Error() string
func (ResourceInUseException) GoString ¶ added in v1.28.0
func (s ResourceInUseException) GoString() string
GoString returns the string representation
func (*ResourceInUseException) Message ¶ added in v1.28.0
func (s *ResourceInUseException) Message() string
Message returns the exception's message.
func (*ResourceInUseException) OrigErr ¶ added in v1.28.0
func (s *ResourceInUseException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*ResourceInUseException) RequestID ¶ added in v1.28.0
func (s *ResourceInUseException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*ResourceInUseException) StatusCode ¶ added in v1.28.0
func (s *ResourceInUseException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (ResourceInUseException) String ¶ added in v1.28.0
func (s ResourceInUseException) String() string
String returns the string representation
type ResourceNotFoundException ¶ added in v1.28.0
type ResourceNotFoundException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` // The message for the exception. Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
The resource was not found.
func (*ResourceNotFoundException) Code ¶ added in v1.28.0
func (s *ResourceNotFoundException) Code() string
Code returns the exception type name.
func (*ResourceNotFoundException) Error ¶ added in v1.28.0
func (s *ResourceNotFoundException) Error() string
func (ResourceNotFoundException) GoString ¶ added in v1.28.0
func (s ResourceNotFoundException) GoString() string
GoString returns the string representation
func (*ResourceNotFoundException) Message ¶ added in v1.28.0
func (s *ResourceNotFoundException) Message() string
Message returns the exception's message.
func (*ResourceNotFoundException) OrigErr ¶ added in v1.28.0
func (s *ResourceNotFoundException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*ResourceNotFoundException) RequestID ¶ added in v1.28.0
func (s *ResourceNotFoundException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*ResourceNotFoundException) StatusCode ¶ added in v1.28.0
func (s *ResourceNotFoundException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (ResourceNotFoundException) String ¶ added in v1.28.0
func (s ResourceNotFoundException) String() string
String returns the string representation
type SNSTopicPublishAction ¶
type SNSTopicPublishAction struct { // You can configure the action payload when you send a message as an Amazon // SNS push notification. Payload *Payload `locationName:"payload" type:"structure"` // The ARN of the Amazon SNS target where the message is sent. // // TargetArn is a required field TargetArn *string `locationName:"targetArn" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Information required to publish the Amazon SNS message.
func (SNSTopicPublishAction) GoString ¶
func (s SNSTopicPublishAction) GoString() string
GoString returns the string representation
func (*SNSTopicPublishAction) SetPayload ¶ added in v1.30.8
func (s *SNSTopicPublishAction) SetPayload(v *Payload) *SNSTopicPublishAction
SetPayload sets the Payload field's value.
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 ServiceUnavailableException ¶ added in v1.28.0
type ServiceUnavailableException struct { string `locationName:"message" type:"string"` // contains filtered or unexported fields }Message_ *
The service is currently unavailable.
func (*ServiceUnavailableException) Code ¶ added in v1.28.0
func (s *ServiceUnavailableException) Code() string
Code returns the exception type name.
func (*ServiceUnavailableException) Error ¶ added in v1.28.0
func (s *ServiceUnavailableException) Error() string
func (ServiceUnavailableException) GoString ¶ added in v1.28.0
func (s ServiceUnavailableException) GoString() string
GoString returns the string representation
func (*ServiceUnavailableException) Message ¶ added in v1.28.0
func (s *ServiceUnavailableException) Message() string
Message returns the exception's message.
func (*ServiceUnavailableException) OrigErr ¶ added in v1.28.0
func (s *ServiceUnavailableException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*ServiceUnavailableException) RequestID ¶ added in v1.28.0
func (s *ServiceUnavailableException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*ServiceUnavailableException) StatusCode ¶ added in v1.28.0
func (s *ServiceUnavailableException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (ServiceUnavailableException) String ¶ added in v1.28.0
func (s ServiceUnavailableException) String() string
String returns the string representation
type SetTimerAction ¶
type SetTimerAction struct { // The duration of the timer, in seconds. You can use a string expression that // includes numbers, variables ($variable.<variable-name>), and input values // ($input.<input-name>.<path-to-datum>) as the duration. The range of the duration // is 1-31622400 seconds. To ensure accuracy, the minimum duration is 60 seconds. // The evaluated result of the duration is rounded down to the nearest whole // number. DurationExpression *string `locationName:"durationExpression" min:"1" type:"string"` // The number of seconds until the timer expires. The minimum value is 60 seconds // to ensure accuracy. The maximum value is 31622400 seconds. // // Deprecated: seconds is deprecated. You can use durationExpression for SetTimerAction. The value of seconds can be used as a string expression for durationExpression. Seconds *int64 `locationName:"seconds" min:"1" deprecated:"true" type:"integer"` // The name of the timer. // // TimerName is a required field TimerName *string `locationName:"timerName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Information needed to set the timer.
func (SetTimerAction) GoString ¶
func (s SetTimerAction) GoString() string
GoString returns the string representation
func (*SetTimerAction) SetDurationExpression ¶ added in v1.29.21
func (s *SetTimerAction) SetDurationExpression(v string) *SetTimerAction
SetDurationExpression sets the DurationExpression field's value.
func (*SetTimerAction) SetSeconds ¶
func (s *SetTimerAction) SetSeconds(v int64) *SetTimerAction
SetSeconds sets the Seconds field's value.
func (*SetTimerAction) SetTimerName ¶
func (s *SetTimerAction) SetTimerName(v string) *SetTimerAction
SetTimerName sets the TimerName field's value.
func (SetTimerAction) String ¶
func (s SetTimerAction) String() string
String returns the string representation
func (*SetTimerAction) Validate ¶
func (s *SetTimerAction) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type SetVariableAction ¶
type SetVariableAction struct { // The new value of the variable. // // Value is a required field Value *string `locationName:"value" min:"1" type:"string" required:"true"` // The name of the variable. // // VariableName is a required field VariableName *string `locationName:"variableName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Information about the variable and its new value.
func (SetVariableAction) GoString ¶
func (s SetVariableAction) GoString() string
GoString returns the string representation
func (*SetVariableAction) SetValue ¶
func (s *SetVariableAction) SetValue(v string) *SetVariableAction
SetValue sets the Value field's value.
func (*SetVariableAction) SetVariableName ¶
func (s *SetVariableAction) SetVariableName(v string) *SetVariableAction
SetVariableName sets the VariableName field's value.
func (SetVariableAction) String ¶
func (s SetVariableAction) String() string
String returns the string representation
func (*SetVariableAction) Validate ¶
func (s *SetVariableAction) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type SqsAction ¶ added in v1.21.1
type SqsAction struct { // You can configure the action payload when you send a message to an Amazon // SQS queue. Payload *Payload `locationName:"payload" type:"structure"` // The URL of the SQS queue where the data is written. // // QueueUrl is a required field QueueUrl *string `locationName:"queueUrl" type:"string" required:"true"` // Set this to TRUE if you want the data to be base-64 encoded before it is // written to the queue. Otherwise, set this to FALSE. UseBase64 *bool `locationName:"useBase64" type:"boolean"` // contains filtered or unexported fields }
Sends information about the detector model instance and the event that triggered the action to an Amazon SQS queue.
func (*SqsAction) SetPayload ¶ added in v1.30.8
SetPayload sets the Payload field's value.
func (*SqsAction) SetQueueUrl ¶ added in v1.21.1
SetQueueUrl sets the QueueUrl field's value.
func (*SqsAction) SetUseBase64 ¶ added in v1.21.1
SetUseBase64 sets the UseBase64 field's value.
type StartDetectorModelAnalysisInput ¶ added in v1.37.17
type StartDetectorModelAnalysisInput struct { // Information that defines how a detector operates. // // DetectorModelDefinition is a required field DetectorModelDefinition *DetectorModelDefinition `locationName:"detectorModelDefinition" type:"structure" required:"true"` // contains filtered or unexported fields }
func (StartDetectorModelAnalysisInput) GoString ¶ added in v1.37.17
func (s StartDetectorModelAnalysisInput) GoString() string
GoString returns the string representation
func (*StartDetectorModelAnalysisInput) SetDetectorModelDefinition ¶ added in v1.37.17
func (s *StartDetectorModelAnalysisInput) SetDetectorModelDefinition(v *DetectorModelDefinition) *StartDetectorModelAnalysisInput
SetDetectorModelDefinition sets the DetectorModelDefinition field's value.
func (StartDetectorModelAnalysisInput) String ¶ added in v1.37.17
func (s StartDetectorModelAnalysisInput) String() string
String returns the string representation
func (*StartDetectorModelAnalysisInput) Validate ¶ added in v1.37.17
func (s *StartDetectorModelAnalysisInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type StartDetectorModelAnalysisOutput ¶ added in v1.37.17
type StartDetectorModelAnalysisOutput struct { // The ID that you can use to retrieve the analysis result. AnalysisId *string `locationName:"analysisId" type:"string"` // contains filtered or unexported fields }
func (StartDetectorModelAnalysisOutput) GoString ¶ added in v1.37.17
func (s StartDetectorModelAnalysisOutput) GoString() string
GoString returns the string representation
func (*StartDetectorModelAnalysisOutput) SetAnalysisId ¶ added in v1.37.17
func (s *StartDetectorModelAnalysisOutput) SetAnalysisId(v string) *StartDetectorModelAnalysisOutput
SetAnalysisId sets the AnalysisId field's value.
func (StartDetectorModelAnalysisOutput) String ¶ added in v1.37.17
func (s StartDetectorModelAnalysisOutput) String() string
String returns the string representation
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) 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 ¶
SetStateName sets the StateName field's value.
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.
type TagResourceInput ¶
type TagResourceInput struct { // The ARN of the resource. // // ResourceArn is a required field ResourceArn *string `location:"querystring" locationName:"resourceArn" min:"1" type:"string" required:"true"` // The new or modified tags for the resource. // // Tags is a required field Tags []*Tag `locationName:"tags" type:"list" required:"true"` // contains filtered or unexported fields }
func (TagResourceInput) GoString ¶
func (s TagResourceInput) GoString() string
GoString returns the string representation
func (*TagResourceInput) SetResourceArn ¶
func (s *TagResourceInput) SetResourceArn(v string) *TagResourceInput
SetResourceArn sets the ResourceArn field's value.
func (*TagResourceInput) SetTags ¶
func (s *TagResourceInput) SetTags(v []*Tag) *TagResourceInput
SetTags sets the Tags field's value.
func (TagResourceInput) String ¶
func (s TagResourceInput) String() string
String returns the string representation
func (*TagResourceInput) Validate ¶
func (s *TagResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type TagResourceOutput ¶
type TagResourceOutput struct {
// contains filtered or unexported fields
}
func (TagResourceOutput) GoString ¶
func (s TagResourceOutput) GoString() string
GoString returns the string representation
func (TagResourceOutput) String ¶
func (s TagResourceOutput) String() string
String returns the string representation
type ThrottlingException ¶ added in v1.28.0
type ThrottlingException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` // The message for the exception. Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
The request could not be completed due to throttling.
func (*ThrottlingException) Code ¶ added in v1.28.0
func (s *ThrottlingException) Code() string
Code returns the exception type name.
func (*ThrottlingException) Error ¶ added in v1.28.0
func (s *ThrottlingException) Error() string
func (ThrottlingException) GoString ¶ added in v1.28.0
func (s ThrottlingException) GoString() string
GoString returns the string representation
func (*ThrottlingException) Message ¶ added in v1.28.0
func (s *ThrottlingException) Message() string
Message returns the exception's message.
func (*ThrottlingException) OrigErr ¶ added in v1.28.0
func (s *ThrottlingException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*ThrottlingException) RequestID ¶ added in v1.28.0
func (s *ThrottlingException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*ThrottlingException) StatusCode ¶ added in v1.28.0
func (s *ThrottlingException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (ThrottlingException) String ¶ added in v1.28.0
func (s ThrottlingException) String() string
String returns the string representation
type TransitionEvent ¶
type TransitionEvent struct { // The actions to be performed. Actions []*ActionData `locationName:"actions" type:"list"` // Required. A Boolean expression that when TRUE causes the actions to be performed // and the nextState to be entered. // // Condition is a required field Condition *string `locationName:"condition" type:"string" required:"true"` // The name of the transition event. // // EventName is a required field EventName *string `locationName:"eventName" type:"string" required:"true"` // The next state to enter. // // NextState is a required field NextState *string `locationName:"nextState" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Specifies the actions performed and the next state entered when a condition evaluates to TRUE.
func (TransitionEvent) GoString ¶
func (s TransitionEvent) GoString() string
GoString returns the string representation
func (*TransitionEvent) SetActions ¶
func (s *TransitionEvent) SetActions(v []*ActionData) *TransitionEvent
SetActions sets the Actions field's value.
func (*TransitionEvent) SetCondition ¶
func (s *TransitionEvent) SetCondition(v string) *TransitionEvent
SetCondition sets the Condition field's value.
func (*TransitionEvent) SetEventName ¶
func (s *TransitionEvent) SetEventName(v string) *TransitionEvent
SetEventName sets the EventName field's value.
func (*TransitionEvent) SetNextState ¶
func (s *TransitionEvent) SetNextState(v string) *TransitionEvent
SetNextState sets the NextState field's value.
func (TransitionEvent) String ¶
func (s TransitionEvent) String() string
String returns the string representation
func (*TransitionEvent) Validate ¶
func (s *TransitionEvent) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UnsupportedOperationException ¶ added in v1.28.0
type UnsupportedOperationException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` // The message for the exception. Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
The requested operation is not supported.
func (*UnsupportedOperationException) Code ¶ added in v1.28.0
func (s *UnsupportedOperationException) Code() string
Code returns the exception type name.
func (*UnsupportedOperationException) Error ¶ added in v1.28.0
func (s *UnsupportedOperationException) Error() string
func (UnsupportedOperationException) GoString ¶ added in v1.28.0
func (s UnsupportedOperationException) GoString() string
GoString returns the string representation
func (*UnsupportedOperationException) Message ¶ added in v1.28.0
func (s *UnsupportedOperationException) Message() string
Message returns the exception's message.
func (*UnsupportedOperationException) OrigErr ¶ added in v1.28.0
func (s *UnsupportedOperationException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*UnsupportedOperationException) RequestID ¶ added in v1.28.0
func (s *UnsupportedOperationException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*UnsupportedOperationException) StatusCode ¶ added in v1.28.0
func (s *UnsupportedOperationException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (UnsupportedOperationException) String ¶ added in v1.28.0
func (s UnsupportedOperationException) String() string
String returns the string representation
type UntagResourceInput ¶
type UntagResourceInput struct { // The ARN of the resource. // // ResourceArn is a required field ResourceArn *string `location:"querystring" locationName:"resourceArn" min:"1" type:"string" required:"true"` // A list of the keys of the tags to be removed from the resource. // // TagKeys is a required field TagKeys []*string `location:"querystring" locationName:"tagKeys" type:"list" required:"true"` // contains filtered or unexported fields }
func (UntagResourceInput) GoString ¶
func (s UntagResourceInput) GoString() string
GoString returns the string representation
func (*UntagResourceInput) SetResourceArn ¶
func (s *UntagResourceInput) SetResourceArn(v string) *UntagResourceInput
SetResourceArn sets the ResourceArn field's value.
func (*UntagResourceInput) SetTagKeys ¶
func (s *UntagResourceInput) SetTagKeys(v []*string) *UntagResourceInput
SetTagKeys sets the TagKeys field's value.
func (UntagResourceInput) String ¶
func (s UntagResourceInput) String() string
String returns the string representation
func (*UntagResourceInput) Validate ¶
func (s *UntagResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UntagResourceOutput ¶
type UntagResourceOutput struct {
// contains filtered or unexported fields
}
func (UntagResourceOutput) GoString ¶
func (s UntagResourceOutput) GoString() string
GoString returns the string representation
func (UntagResourceOutput) String ¶
func (s UntagResourceOutput) String() string
String returns the string representation
type UpdateDetectorModelInput ¶
type UpdateDetectorModelInput struct { // Information that defines how a detector operates. // // DetectorModelDefinition is a required field DetectorModelDefinition *DetectorModelDefinition `locationName:"detectorModelDefinition" type:"structure" required:"true"` // A brief description of the detector model. DetectorModelDescription *string `locationName:"detectorModelDescription" type:"string"` // The name of the detector model that is updated. // // DetectorModelName is a required field DetectorModelName *string `location:"uri" locationName:"detectorModelName" min:"1" type:"string" required:"true"` // Information about the order in which events are evaluated and how actions // are executed. EvaluationMethod *string `locationName:"evaluationMethod" type:"string" enum:"EvaluationMethod"` // The ARN of the role that grants permission to AWS IoT Events to perform its // operations. // // RoleArn is a required field RoleArn *string `locationName:"roleArn" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (UpdateDetectorModelInput) GoString ¶
func (s UpdateDetectorModelInput) GoString() string
GoString returns the string representation
func (*UpdateDetectorModelInput) SetDetectorModelDefinition ¶
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 ¶ added in v1.25.17
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
Directories ¶
Path | Synopsis |
---|---|
Package ioteventsiface provides an interface to enable mocking the AWS IoT Events service client for testing your code.
|
Package ioteventsiface provides an interface to enable mocking the AWS IoT Events service client for testing your code. |