iotsitewise

package
v1.38.26-0...-e443fa6 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package iotsitewise provides the client and types for making API requests to AWS IoT SiteWise.

Welcome to the AWS IoT SiteWise API Reference. AWS IoT SiteWise is an AWS service that connects Industrial Internet of Things (IIoT) (https://en.wikipedia.org/wiki/Internet_of_things#Industrial_applications) devices to the power of the AWS Cloud. For more information, see the AWS IoT SiteWise User Guide (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/). For information about AWS IoT SiteWise quotas, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) in the AWS IoT SiteWise User Guide.

See https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02 for more information on this service.

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

Using the Client

To contact AWS IoT SiteWise 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 SiteWise client IoTSiteWise for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/iotsitewise/#New

Index

Constants

View Source
const (
	// AggregateTypeAverage is a AggregateType enum value
	AggregateTypeAverage = "AVERAGE"

	// AggregateTypeCount is a AggregateType enum value
	AggregateTypeCount = "COUNT"

	// AggregateTypeMaximum is a AggregateType enum value
	AggregateTypeMaximum = "MAXIMUM"

	// AggregateTypeMinimum is a AggregateType enum value
	AggregateTypeMinimum = "MINIMUM"

	// AggregateTypeSum is a AggregateType enum value
	AggregateTypeSum = "SUM"

	// AggregateTypeStandardDeviation is a AggregateType enum value
	AggregateTypeStandardDeviation = "STANDARD_DEVIATION"
)
View Source
const (
	// AssetModelStateCreating is a AssetModelState enum value
	AssetModelStateCreating = "CREATING"

	// AssetModelStateActive is a AssetModelState enum value
	AssetModelStateActive = "ACTIVE"

	// AssetModelStateUpdating is a AssetModelState enum value
	AssetModelStateUpdating = "UPDATING"

	// AssetModelStatePropagating is a AssetModelState enum value
	AssetModelStatePropagating = "PROPAGATING"

	// AssetModelStateDeleting is a AssetModelState enum value
	AssetModelStateDeleting = "DELETING"

	// AssetModelStateFailed is a AssetModelState enum value
	AssetModelStateFailed = "FAILED"
)
View Source
const (
	// AssetStateCreating is a AssetState enum value
	AssetStateCreating = "CREATING"

	// AssetStateActive is a AssetState enum value
	AssetStateActive = "ACTIVE"

	// AssetStateUpdating is a AssetState enum value
	AssetStateUpdating = "UPDATING"

	// AssetStateDeleting is a AssetState enum value
	AssetStateDeleting = "DELETING"

	// AssetStateFailed is a AssetState enum value
	AssetStateFailed = "FAILED"
)
View Source
const (
	// AuthModeIam is a AuthMode enum value
	AuthModeIam = "IAM"

	// AuthModeSso is a AuthMode enum value
	AuthModeSso = "SSO"
)
View Source
const (
	// BatchPutAssetPropertyValueErrorCodeResourceNotFoundException is a BatchPutAssetPropertyValueErrorCode enum value
	BatchPutAssetPropertyValueErrorCodeResourceNotFoundException = "ResourceNotFoundException"

	// BatchPutAssetPropertyValueErrorCodeInvalidRequestException is a BatchPutAssetPropertyValueErrorCode enum value
	BatchPutAssetPropertyValueErrorCodeInvalidRequestException = "InvalidRequestException"

	// BatchPutAssetPropertyValueErrorCodeInternalFailureException is a BatchPutAssetPropertyValueErrorCode enum value
	BatchPutAssetPropertyValueErrorCodeInternalFailureException = "InternalFailureException"

	// BatchPutAssetPropertyValueErrorCodeServiceUnavailableException is a BatchPutAssetPropertyValueErrorCode enum value
	BatchPutAssetPropertyValueErrorCodeServiceUnavailableException = "ServiceUnavailableException"

	// BatchPutAssetPropertyValueErrorCodeThrottlingException is a BatchPutAssetPropertyValueErrorCode enum value
	BatchPutAssetPropertyValueErrorCodeThrottlingException = "ThrottlingException"

	// BatchPutAssetPropertyValueErrorCodeLimitExceededException is a BatchPutAssetPropertyValueErrorCode enum value
	BatchPutAssetPropertyValueErrorCodeLimitExceededException = "LimitExceededException"

	// BatchPutAssetPropertyValueErrorCodeConflictingOperationException is a BatchPutAssetPropertyValueErrorCode enum value
	BatchPutAssetPropertyValueErrorCodeConflictingOperationException = "ConflictingOperationException"

	// BatchPutAssetPropertyValueErrorCodeTimestampOutOfRangeException is a BatchPutAssetPropertyValueErrorCode enum value
	BatchPutAssetPropertyValueErrorCodeTimestampOutOfRangeException = "TimestampOutOfRangeException"

	// BatchPutAssetPropertyValueErrorCodeAccessDeniedException is a BatchPutAssetPropertyValueErrorCode enum value
	BatchPutAssetPropertyValueErrorCodeAccessDeniedException = "AccessDeniedException"
)
View Source
const (
	// CapabilitySyncStatusInSync is a CapabilitySyncStatus enum value
	CapabilitySyncStatusInSync = "IN_SYNC"

	// CapabilitySyncStatusOutOfSync is a CapabilitySyncStatus enum value
	CapabilitySyncStatusOutOfSync = "OUT_OF_SYNC"

	// CapabilitySyncStatusSyncFailed is a CapabilitySyncStatus enum value
	CapabilitySyncStatusSyncFailed = "SYNC_FAILED"
)
View Source
const (
	// ConfigurationStateActive is a ConfigurationState enum value
	ConfigurationStateActive = "ACTIVE"

	// ConfigurationStateUpdateInProgress is a ConfigurationState enum value
	ConfigurationStateUpdateInProgress = "UPDATE_IN_PROGRESS"

	// ConfigurationStateUpdateFailed is a ConfigurationState enum value
	ConfigurationStateUpdateFailed = "UPDATE_FAILED"
)
View Source
const (
	// EncryptionTypeSitewiseDefaultEncryption is a EncryptionType enum value
	EncryptionTypeSitewiseDefaultEncryption = "SITEWISE_DEFAULT_ENCRYPTION"

	// EncryptionTypeKmsBasedEncryption is a EncryptionType enum value
	EncryptionTypeKmsBasedEncryption = "KMS_BASED_ENCRYPTION"
)
View Source
const (
	// ErrorCodeValidationError is a ErrorCode enum value
	ErrorCodeValidationError = "VALIDATION_ERROR"

	// ErrorCodeInternalFailure is a ErrorCode enum value
	ErrorCodeInternalFailure = "INTERNAL_FAILURE"
)
View Source
const (
	// IdentityTypeUser is a IdentityType enum value
	IdentityTypeUser = "USER"

	// IdentityTypeGroup is a IdentityType enum value
	IdentityTypeGroup = "GROUP"

	// IdentityTypeIam is a IdentityType enum value
	IdentityTypeIam = "IAM"
)
View Source
const (
	// ListAssetsFilterAll is a ListAssetsFilter enum value
	ListAssetsFilterAll = "ALL"

	// ListAssetsFilterTopLevel is a ListAssetsFilter enum value
	ListAssetsFilterTopLevel = "TOP_LEVEL"
)
View Source
const (
	// LoggingLevelError is a LoggingLevel enum value
	LoggingLevelError = "ERROR"

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

	// LoggingLevelOff is a LoggingLevel enum value
	LoggingLevelOff = "OFF"
)
View Source
const (
	// MonitorErrorCodeInternalFailure is a MonitorErrorCode enum value
	MonitorErrorCodeInternalFailure = "INTERNAL_FAILURE"

	// MonitorErrorCodeValidationError is a MonitorErrorCode enum value
	MonitorErrorCodeValidationError = "VALIDATION_ERROR"

	// MonitorErrorCodeLimitExceeded is a MonitorErrorCode enum value
	MonitorErrorCodeLimitExceeded = "LIMIT_EXCEEDED"
)
View Source
const (
	// PermissionAdministrator is a Permission enum value
	PermissionAdministrator = "ADMINISTRATOR"

	// PermissionViewer is a Permission enum value
	PermissionViewer = "VIEWER"
)
View Source
const (
	// PortalStateCreating is a PortalState enum value
	PortalStateCreating = "CREATING"

	// PortalStateUpdating is a PortalState enum value
	PortalStateUpdating = "UPDATING"

	// PortalStateDeleting is a PortalState enum value
	PortalStateDeleting = "DELETING"

	// PortalStateActive is a PortalState enum value
	PortalStateActive = "ACTIVE"

	// PortalStateFailed is a PortalState enum value
	PortalStateFailed = "FAILED"
)
View Source
const (
	// PropertyDataTypeString is a PropertyDataType enum value
	PropertyDataTypeString = "STRING"

	// PropertyDataTypeInteger is a PropertyDataType enum value
	PropertyDataTypeInteger = "INTEGER"

	// PropertyDataTypeDouble is a PropertyDataType enum value
	PropertyDataTypeDouble = "DOUBLE"

	// PropertyDataTypeBoolean is a PropertyDataType enum value
	PropertyDataTypeBoolean = "BOOLEAN"

	// PropertyDataTypeStruct is a PropertyDataType enum value
	PropertyDataTypeStruct = "STRUCT"
)
View Source
const (
	// PropertyNotificationStateEnabled is a PropertyNotificationState enum value
	PropertyNotificationStateEnabled = "ENABLED"

	// PropertyNotificationStateDisabled is a PropertyNotificationState enum value
	PropertyNotificationStateDisabled = "DISABLED"
)
View Source
const (
	// QualityGood is a Quality enum value
	QualityGood = "GOOD"

	// QualityBad is a Quality enum value
	QualityBad = "BAD"

	// QualityUncertain is a Quality enum value
	QualityUncertain = "UNCERTAIN"
)
View Source
const (
	// ResourceTypePortal is a ResourceType enum value
	ResourceTypePortal = "PORTAL"

	// ResourceTypeProject is a ResourceType enum value
	ResourceTypeProject = "PROJECT"
)
View Source
const (
	// TimeOrderingAscending is a TimeOrdering enum value
	TimeOrderingAscending = "ASCENDING"

	// TimeOrderingDescending is a TimeOrdering enum value
	TimeOrderingDescending = "DESCENDING"
)
View Source
const (
	// TraversalDirectionParent is a TraversalDirection enum value
	TraversalDirectionParent = "PARENT"

	// TraversalDirectionChild is a TraversalDirection enum value
	TraversalDirectionChild = "CHILD"
)
View Source
const (

	// ErrCodeConflictingOperationException for service response error code
	// "ConflictingOperationException".
	//
	// Your request has conflicting operations. This can occur if you're trying
	// to perform more than one operation on the same resource at the same time.
	ErrCodeConflictingOperationException = "ConflictingOperationException"

	// ErrCodeInternalFailureException for service response error code
	// "InternalFailureException".
	//
	// AWS IoT SiteWise can't process your request right now. Try again later.
	ErrCodeInternalFailureException = "InternalFailureException"

	// ErrCodeInvalidRequestException for service response error code
	// "InvalidRequestException".
	//
	// The request isn't valid. This can occur if your request contains malformed
	// JSON or unsupported characters. Check your request and try again.
	ErrCodeInvalidRequestException = "InvalidRequestException"

	// ErrCodeLimitExceededException for service response error code
	// "LimitExceededException".
	//
	// You've reached the limit for a resource. For example, this can occur if you're
	// trying to associate more than the allowed number of child assets or attempting
	// to create more than the allowed number of properties for an asset model.
	//
	// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html)
	// in the AWS IoT SiteWise User Guide.
	ErrCodeLimitExceededException = "LimitExceededException"

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

	// ErrCodeResourceNotFoundException for service response error code
	// "ResourceNotFoundException".
	//
	// The requested resource can't be found.
	ErrCodeResourceNotFoundException = "ResourceNotFoundException"

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

	// ErrCodeThrottlingException for service response error code
	// "ThrottlingException".
	//
	// Your request exceeded a rate limit. For example, you might have exceeded
	// the number of AWS IoT SiteWise assets that can be created per second, the
	// allowed number of messages per second, and so on.
	//
	// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html)
	// in the AWS IoT SiteWise User Guide.
	ErrCodeThrottlingException = "ThrottlingException"

	// ErrCodeTooManyTagsException for service response error code
	// "TooManyTagsException".
	//
	// You've reached the limit for the number of tags allowed for a resource. For
	// more information, see Tag naming limits and requirements (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html#tag-conventions)
	// in the AWS General Reference.
	ErrCodeTooManyTagsException = "TooManyTagsException"

	// ErrCodeUnauthorizedException for service response error code
	// "UnauthorizedException".
	//
	// You are not authorized.
	ErrCodeUnauthorizedException = "UnauthorizedException"
)
View Source
const (
	ServiceName = "IoTSiteWise" // Name of service.
	EndpointsID = "iotsitewise" // ID to lookup a service endpoint with.
	ServiceID   = "IoTSiteWise" // ServiceID is a unique identifier of a specific service.
)

Service information constants

View Source
const (
	// AssetErrorCodeInternalFailure is a AssetErrorCode enum value
	AssetErrorCodeInternalFailure = "INTERNAL_FAILURE"
)
View Source
const (
	// AssetRelationshipTypeHierarchy is a AssetRelationshipType enum value
	AssetRelationshipTypeHierarchy = "HIERARCHY"
)
View Source
const (
	// ImageFileTypePng is a ImageFileType enum value
	ImageFileTypePng = "PNG"
)
View Source
const (
	// TraversalTypePathToRoot is a TraversalType enum value
	TraversalTypePathToRoot = "PATH_TO_ROOT"
)

Variables

This section is empty.

Functions

func AggregateType_Values

func AggregateType_Values() []string

AggregateType_Values returns all elements of the AggregateType enum

func AssetErrorCode_Values

func AssetErrorCode_Values() []string

AssetErrorCode_Values returns all elements of the AssetErrorCode enum

func AssetModelState_Values

func AssetModelState_Values() []string

AssetModelState_Values returns all elements of the AssetModelState enum

func AssetRelationshipType_Values

func AssetRelationshipType_Values() []string

AssetRelationshipType_Values returns all elements of the AssetRelationshipType enum

func AssetState_Values

func AssetState_Values() []string

AssetState_Values returns all elements of the AssetState enum

func AuthMode_Values

func AuthMode_Values() []string

AuthMode_Values returns all elements of the AuthMode enum

func BatchPutAssetPropertyValueErrorCode_Values

func BatchPutAssetPropertyValueErrorCode_Values() []string

BatchPutAssetPropertyValueErrorCode_Values returns all elements of the BatchPutAssetPropertyValueErrorCode enum

func CapabilitySyncStatus_Values

func CapabilitySyncStatus_Values() []string

CapabilitySyncStatus_Values returns all elements of the CapabilitySyncStatus enum

func ConfigurationState_Values

func ConfigurationState_Values() []string

ConfigurationState_Values returns all elements of the ConfigurationState enum

func EncryptionType_Values

func EncryptionType_Values() []string

EncryptionType_Values returns all elements of the EncryptionType enum

func ErrorCode_Values

func ErrorCode_Values() []string

ErrorCode_Values returns all elements of the ErrorCode enum

func IdentityType_Values

func IdentityType_Values() []string

IdentityType_Values returns all elements of the IdentityType enum

func ImageFileType_Values

func ImageFileType_Values() []string

ImageFileType_Values returns all elements of the ImageFileType enum

func ListAssetsFilter_Values

func ListAssetsFilter_Values() []string

ListAssetsFilter_Values returns all elements of the ListAssetsFilter enum

func LoggingLevel_Values

func LoggingLevel_Values() []string

LoggingLevel_Values returns all elements of the LoggingLevel enum

func MonitorErrorCode_Values

func MonitorErrorCode_Values() []string

MonitorErrorCode_Values returns all elements of the MonitorErrorCode enum

func Permission_Values

func Permission_Values() []string

Permission_Values returns all elements of the Permission enum

func PortalState_Values

func PortalState_Values() []string

PortalState_Values returns all elements of the PortalState enum

func PropertyDataType_Values

func PropertyDataType_Values() []string

PropertyDataType_Values returns all elements of the PropertyDataType enum

func PropertyNotificationState_Values

func PropertyNotificationState_Values() []string

PropertyNotificationState_Values returns all elements of the PropertyNotificationState enum

func Quality_Values

func Quality_Values() []string

Quality_Values returns all elements of the Quality enum

func ResourceType_Values

func ResourceType_Values() []string

ResourceType_Values returns all elements of the ResourceType enum

func TimeOrdering_Values

func TimeOrdering_Values() []string

TimeOrdering_Values returns all elements of the TimeOrdering enum

func TraversalDirection_Values

func TraversalDirection_Values() []string

TraversalDirection_Values returns all elements of the TraversalDirection enum

func TraversalType_Values

func TraversalType_Values() []string

TraversalType_Values returns all elements of the TraversalType enum

Types

type AccessPolicySummary

type AccessPolicySummary struct {

	// The date the access policy was created, in Unix epoch time.
	CreationDate *time.Time `locationName:"creationDate" type:"timestamp"`

	// The ID of the access policy.
	//
	// Id is a required field
	Id *string `locationName:"id" min:"36" type:"string" required:"true"`

	// The identity (an AWS SSO user, an AWS SSO group, or an IAM user).
	//
	// Identity is a required field
	Identity *Identity `locationName:"identity" type:"structure" required:"true"`

	// The date the access policy was last updated, in Unix epoch time.
	LastUpdateDate *time.Time `locationName:"lastUpdateDate" type:"timestamp"`

	// The permissions for the access policy. Note that a project ADMINISTRATOR
	// is also known as a project owner.
	//
	// Permission is a required field
	Permission *string `locationName:"permission" type:"string" required:"true" enum:"Permission"`

	// The AWS IoT SiteWise Monitor resource (a portal or project).
	//
	// Resource is a required field
	Resource *Resource `locationName:"resource" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Contains an access policy that defines an identity's access to an AWS IoT SiteWise Monitor resource.

func (AccessPolicySummary) GoString

func (s AccessPolicySummary) GoString() string

GoString returns the string representation

func (*AccessPolicySummary) SetCreationDate

func (s *AccessPolicySummary) SetCreationDate(v time.Time) *AccessPolicySummary

SetCreationDate sets the CreationDate field's value.

func (*AccessPolicySummary) SetId

SetId sets the Id field's value.

func (*AccessPolicySummary) SetIdentity

func (s *AccessPolicySummary) SetIdentity(v *Identity) *AccessPolicySummary

SetIdentity sets the Identity field's value.

func (*AccessPolicySummary) SetLastUpdateDate

func (s *AccessPolicySummary) SetLastUpdateDate(v time.Time) *AccessPolicySummary

SetLastUpdateDate sets the LastUpdateDate field's value.

func (*AccessPolicySummary) SetPermission

func (s *AccessPolicySummary) SetPermission(v string) *AccessPolicySummary

SetPermission sets the Permission field's value.

func (*AccessPolicySummary) SetResource

func (s *AccessPolicySummary) SetResource(v *Resource) *AccessPolicySummary

SetResource sets the Resource field's value.

func (AccessPolicySummary) String

func (s AccessPolicySummary) String() string

String returns the string representation

type AggregatedValue

type AggregatedValue struct {

	// The quality of the aggregated data.
	Quality *string `locationName:"quality" type:"string" enum:"Quality"`

	// The date the aggregating computations occurred, in Unix epoch time.
	//
	// Timestamp is a required field
	Timestamp *time.Time `locationName:"timestamp" type:"timestamp" required:"true"`

	// The value of the aggregates.
	//
	// Value is a required field
	Value *Aggregates `locationName:"value" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Contains aggregated asset property values (for example, average, minimum, and maximum).

func (AggregatedValue) GoString

func (s AggregatedValue) GoString() string

GoString returns the string representation

func (*AggregatedValue) SetQuality

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

SetQuality sets the Quality field's value.

func (*AggregatedValue) SetTimestamp

func (s *AggregatedValue) SetTimestamp(v time.Time) *AggregatedValue

SetTimestamp sets the Timestamp field's value.

func (*AggregatedValue) SetValue

func (s *AggregatedValue) SetValue(v *Aggregates) *AggregatedValue

SetValue sets the Value field's value.

func (AggregatedValue) String

func (s AggregatedValue) String() string

String returns the string representation

type Aggregates

type Aggregates struct {

	// The average (mean) value of the time series over a time interval window.
	Average *float64 `locationName:"average" type:"double"`

	// The count of data points in the time series over a time interval window.
	Count *float64 `locationName:"count" type:"double"`

	// The maximum value of the time series over a time interval window.
	Maximum *float64 `locationName:"maximum" type:"double"`

	// The minimum value of the time series over a time interval window.
	Minimum *float64 `locationName:"minimum" type:"double"`

	// The standard deviation of the time series over a time interval window.
	StandardDeviation *float64 `locationName:"standardDeviation" type:"double"`

	// The sum of the time series over a time interval window.
	Sum *float64 `locationName:"sum" type:"double"`
	// contains filtered or unexported fields
}

Contains the (pre-calculated) aggregate values for an asset property.

func (Aggregates) GoString

func (s Aggregates) GoString() string

GoString returns the string representation

func (*Aggregates) SetAverage

func (s *Aggregates) SetAverage(v float64) *Aggregates

SetAverage sets the Average field's value.

func (*Aggregates) SetCount

func (s *Aggregates) SetCount(v float64) *Aggregates

SetCount sets the Count field's value.

func (*Aggregates) SetMaximum

func (s *Aggregates) SetMaximum(v float64) *Aggregates

SetMaximum sets the Maximum field's value.

func (*Aggregates) SetMinimum

func (s *Aggregates) SetMinimum(v float64) *Aggregates

SetMinimum sets the Minimum field's value.

func (*Aggregates) SetStandardDeviation

func (s *Aggregates) SetStandardDeviation(v float64) *Aggregates

SetStandardDeviation sets the StandardDeviation field's value.

func (*Aggregates) SetSum

func (s *Aggregates) SetSum(v float64) *Aggregates

SetSum sets the Sum field's value.

func (Aggregates) String

func (s Aggregates) String() string

String returns the string representation

type AssetCompositeModel

type AssetCompositeModel struct {

	// The description of the composite model.
	Description *string `locationName:"description" min:"1" type:"string"`

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

	// The asset properties that this composite model defines.
	//
	// Properties is a required field
	Properties []*AssetProperty `locationName:"properties" type:"list" required:"true"`

	// The type of the composite model. For alarm composite models, this type is
	// AWS/ALARM.
	//
	// Type is a required field
	Type *string `locationName:"type" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Contains information about a composite model in an asset. This object contains the asset's properties that you define in the composite model.

func (AssetCompositeModel) GoString

func (s AssetCompositeModel) GoString() string

GoString returns the string representation

func (*AssetCompositeModel) SetDescription

func (s *AssetCompositeModel) SetDescription(v string) *AssetCompositeModel

SetDescription sets the Description field's value.

func (*AssetCompositeModel) SetName

SetName sets the Name field's value.

func (*AssetCompositeModel) SetProperties

func (s *AssetCompositeModel) SetProperties(v []*AssetProperty) *AssetCompositeModel

SetProperties sets the Properties field's value.

func (*AssetCompositeModel) SetType

SetType sets the Type field's value.

func (AssetCompositeModel) String

func (s AssetCompositeModel) String() string

String returns the string representation

type AssetErrorDetails

type AssetErrorDetails struct {

	// The ID of the asset.
	//
	// AssetId is a required field
	AssetId *string `locationName:"assetId" min:"36" type:"string" required:"true"`

	// The error code.
	//
	// Code is a required field
	Code *string `locationName:"code" type:"string" required:"true" enum:"AssetErrorCode"`

	// The error message.
	//
	// Message is a required field
	Message *string `locationName:"message" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Contains error details for the requested associate project asset action.

func (AssetErrorDetails) GoString

func (s AssetErrorDetails) GoString() string

GoString returns the string representation

func (*AssetErrorDetails) SetAssetId

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

SetAssetId sets the AssetId field's value.

func (*AssetErrorDetails) SetCode

SetCode sets the Code field's value.

func (*AssetErrorDetails) SetMessage

func (s *AssetErrorDetails) SetMessage(v string) *AssetErrorDetails

SetMessage sets the Message field's value.

func (AssetErrorDetails) String

func (s AssetErrorDetails) String() string

String returns the string representation

type AssetHierarchy

type AssetHierarchy struct {

	// The ID of the hierarchy. This ID is a hierarchyId.
	Id *string `locationName:"id" min:"36" type:"string"`

	// The hierarchy name provided in the CreateAssetModel (https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_CreateAssetModel.html)
	// or UpdateAssetModel (https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_UpdateAssetModel.html)
	// API operation.
	//
	// Name is a required field
	Name *string `locationName:"name" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Describes an asset hierarchy that contains a hierarchy's name and ID.

func (AssetHierarchy) GoString

func (s AssetHierarchy) GoString() string

GoString returns the string representation

func (*AssetHierarchy) SetId

func (s *AssetHierarchy) SetId(v string) *AssetHierarchy

SetId sets the Id field's value.

func (*AssetHierarchy) SetName

func (s *AssetHierarchy) SetName(v string) *AssetHierarchy

SetName sets the Name field's value.

func (AssetHierarchy) String

func (s AssetHierarchy) String() string

String returns the string representation

type AssetHierarchyInfo

type AssetHierarchyInfo struct {

	// The ID of the child asset in this asset relationship.
	ChildAssetId *string `locationName:"childAssetId" min:"36" type:"string"`

	// The ID of the parent asset in this asset relationship.
	ParentAssetId *string `locationName:"parentAssetId" min:"36" type:"string"`
	// contains filtered or unexported fields
}

Contains information about a parent asset and a child asset that are related through an asset hierarchy.

func (AssetHierarchyInfo) GoString

func (s AssetHierarchyInfo) GoString() string

GoString returns the string representation

func (*AssetHierarchyInfo) SetChildAssetId

func (s *AssetHierarchyInfo) SetChildAssetId(v string) *AssetHierarchyInfo

SetChildAssetId sets the ChildAssetId field's value.

func (*AssetHierarchyInfo) SetParentAssetId

func (s *AssetHierarchyInfo) SetParentAssetId(v string) *AssetHierarchyInfo

SetParentAssetId sets the ParentAssetId field's value.

func (AssetHierarchyInfo) String

func (s AssetHierarchyInfo) String() string

String returns the string representation

type AssetModelCompositeModel

type AssetModelCompositeModel struct {

	// The description of the composite model.
	Description *string `locationName:"description" min:"1" type:"string"`

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

	// The asset property definitions for this composite model.
	Properties []*AssetModelProperty `locationName:"properties" type:"list"`

	// The type of the composite model. For alarm composite models, this type is
	// AWS/ALARM.
	//
	// Type is a required field
	Type *string `locationName:"type" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Contains information about a composite model in an asset model. This object contains the asset property definitions that you define in the composite model.

func (AssetModelCompositeModel) GoString

func (s AssetModelCompositeModel) GoString() string

GoString returns the string representation

func (*AssetModelCompositeModel) SetDescription

SetDescription sets the Description field's value.

func (*AssetModelCompositeModel) SetName

SetName sets the Name field's value.

func (*AssetModelCompositeModel) SetProperties

SetProperties sets the Properties field's value.

func (*AssetModelCompositeModel) SetType

SetType sets the Type field's value.

func (AssetModelCompositeModel) String

func (s AssetModelCompositeModel) String() string

String returns the string representation

func (*AssetModelCompositeModel) Validate

func (s *AssetModelCompositeModel) Validate() error

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

type AssetModelCompositeModelDefinition

type AssetModelCompositeModelDefinition struct {

	// The description of the composite model.
	Description *string `locationName:"description" min:"1" type:"string"`

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

	// The asset property definitions for this composite model.
	Properties []*AssetModelPropertyDefinition `locationName:"properties" type:"list"`

	// The type of the composite model. For alarm composite models, this type is
	// AWS/ALARM.
	//
	// Type is a required field
	Type *string `locationName:"type" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Contains a composite model definition in an asset model. This composite model definition is applied to all assets created from the asset model.

func (AssetModelCompositeModelDefinition) GoString

GoString returns the string representation

func (*AssetModelCompositeModelDefinition) SetDescription

SetDescription sets the Description field's value.

func (*AssetModelCompositeModelDefinition) SetName

SetName sets the Name field's value.

func (*AssetModelCompositeModelDefinition) SetProperties

SetProperties sets the Properties field's value.

func (*AssetModelCompositeModelDefinition) SetType

SetType sets the Type field's value.

func (AssetModelCompositeModelDefinition) String

String returns the string representation

func (*AssetModelCompositeModelDefinition) Validate

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

type AssetModelHierarchy

type AssetModelHierarchy struct {

	// The ID of the asset model. All assets in this hierarchy must be instances
	// of the childAssetModelId asset model.
	//
	// ChildAssetModelId is a required field
	ChildAssetModelId *string `locationName:"childAssetModelId" min:"36" type:"string" required:"true"`

	// The ID of the asset model hierarchy. This ID is a hierarchyId.
	Id *string `locationName:"id" min:"36" type:"string"`

	// The name of the asset model hierarchy that you specify by using the CreateAssetModel
	// (https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_CreateAssetModel.html)
	// or UpdateAssetModel (https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_UpdateAssetModel.html)
	// API operation.
	//
	// Name is a required field
	Name *string `locationName:"name" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Describes an asset hierarchy that contains a hierarchy's name, ID, and child asset model ID that specifies the type of asset that can be in this hierarchy.

func (AssetModelHierarchy) GoString

func (s AssetModelHierarchy) GoString() string

GoString returns the string representation

func (*AssetModelHierarchy) SetChildAssetModelId

func (s *AssetModelHierarchy) SetChildAssetModelId(v string) *AssetModelHierarchy

SetChildAssetModelId sets the ChildAssetModelId field's value.

func (*AssetModelHierarchy) SetId

SetId sets the Id field's value.

func (*AssetModelHierarchy) SetName

SetName sets the Name field's value.

func (AssetModelHierarchy) String

func (s AssetModelHierarchy) String() string

String returns the string representation

func (*AssetModelHierarchy) Validate

func (s *AssetModelHierarchy) Validate() error

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

type AssetModelHierarchyDefinition

type AssetModelHierarchyDefinition struct {

	// The ID of an asset model for this hierarchy.
	//
	// ChildAssetModelId is a required field
	ChildAssetModelId *string `locationName:"childAssetModelId" min:"36" type:"string" required:"true"`

	// The name of the asset model hierarchy definition (as specified in the CreateAssetModel
	// (https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_CreateAssetModel.html)
	// or UpdateAssetModel (https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_UpdateAssetModel.html)
	// API operation).
	//
	// Name is a required field
	Name *string `locationName:"name" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Contains an asset model hierarchy used in asset model creation. An asset model hierarchy determines the kind (or type) of asset that can belong to a hierarchy.

func (AssetModelHierarchyDefinition) GoString

GoString returns the string representation

func (*AssetModelHierarchyDefinition) SetChildAssetModelId

SetChildAssetModelId sets the ChildAssetModelId field's value.

func (*AssetModelHierarchyDefinition) SetName

SetName sets the Name field's value.

func (AssetModelHierarchyDefinition) String

String returns the string representation

func (*AssetModelHierarchyDefinition) Validate

func (s *AssetModelHierarchyDefinition) Validate() error

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

type AssetModelProperty

type AssetModelProperty struct {

	// The data type of the asset model property.
	//
	// DataType is a required field
	DataType *string `locationName:"dataType" type:"string" required:"true" enum:"PropertyDataType"`

	// The data type of the structure for this property. This parameter exists on
	// properties that have the STRUCT data type.
	DataTypeSpec *string `locationName:"dataTypeSpec" min:"1" type:"string"`

	// The ID of the asset model property.
	Id *string `locationName:"id" min:"36" type:"string"`

	// The name of the asset model property.
	//
	// Name is a required field
	Name *string `locationName:"name" min:"1" type:"string" required:"true"`

	// The property type (see PropertyType).
	//
	// Type is a required field
	Type *PropertyType `locationName:"type" type:"structure" required:"true"`

	// The unit of the asset model property, such as Newtons or RPM.
	Unit *string `locationName:"unit" min:"1" type:"string"`
	// contains filtered or unexported fields
}

Contains information about an asset model property.

func (AssetModelProperty) GoString

func (s AssetModelProperty) GoString() string

GoString returns the string representation

func (*AssetModelProperty) SetDataType

func (s *AssetModelProperty) SetDataType(v string) *AssetModelProperty

SetDataType sets the DataType field's value.

func (*AssetModelProperty) SetDataTypeSpec

func (s *AssetModelProperty) SetDataTypeSpec(v string) *AssetModelProperty

SetDataTypeSpec sets the DataTypeSpec field's value.

func (*AssetModelProperty) SetId

SetId sets the Id field's value.

func (*AssetModelProperty) SetName

SetName sets the Name field's value.

func (*AssetModelProperty) SetType

SetType sets the Type field's value.

func (*AssetModelProperty) SetUnit

SetUnit sets the Unit field's value.

func (AssetModelProperty) String

func (s AssetModelProperty) String() string

String returns the string representation

func (*AssetModelProperty) Validate

func (s *AssetModelProperty) Validate() error

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

type AssetModelPropertyDefinition

type AssetModelPropertyDefinition struct {

	// The data type of the property definition.
	//
	// If you specify STRUCT, you must also specify dataTypeSpec to identify the
	// type of the structure for this property.
	//
	// DataType is a required field
	DataType *string `locationName:"dataType" type:"string" required:"true" enum:"PropertyDataType"`

	// The data type of the structure for this property. This parameter is required
	// on properties that have the STRUCT data type.
	//
	// The options for this parameter depend on the type of the composite model
	// in which you define this property. Use AWS/ALARM_STATE for alarm state in
	// alarm composite models.
	DataTypeSpec *string `locationName:"dataTypeSpec" min:"1" type:"string"`

	// The name of the property definition.
	//
	// Name is a required field
	Name *string `locationName:"name" min:"1" type:"string" required:"true"`

	// The property definition type (see PropertyType). You can only specify one
	// type in a property definition.
	//
	// Type is a required field
	Type *PropertyType `locationName:"type" type:"structure" required:"true"`

	// The unit of the property definition, such as Newtons or RPM.
	Unit *string `locationName:"unit" min:"1" type:"string"`
	// contains filtered or unexported fields
}

Contains an asset model property definition. This property definition is applied to all assets created from the asset model.

func (AssetModelPropertyDefinition) GoString

func (s AssetModelPropertyDefinition) GoString() string

GoString returns the string representation

func (*AssetModelPropertyDefinition) SetDataType

SetDataType sets the DataType field's value.

func (*AssetModelPropertyDefinition) SetDataTypeSpec

SetDataTypeSpec sets the DataTypeSpec field's value.

func (*AssetModelPropertyDefinition) SetName

SetName sets the Name field's value.

func (*AssetModelPropertyDefinition) SetType

SetType sets the Type field's value.

func (*AssetModelPropertyDefinition) SetUnit

SetUnit sets the Unit field's value.

func (AssetModelPropertyDefinition) String

String returns the string representation

func (*AssetModelPropertyDefinition) Validate

func (s *AssetModelPropertyDefinition) Validate() error

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

type AssetModelStatus

type AssetModelStatus struct {

	// Contains associated error information, if any.
	Error *ErrorDetails `locationName:"error" type:"structure"`

	// The current state of the asset model.
	//
	// State is a required field
	State *string `locationName:"state" type:"string" required:"true" enum:"AssetModelState"`
	// contains filtered or unexported fields
}

Contains current status information for an asset model. For more information, see Asset and model states (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/asset-and-model-states.html) in the AWS IoT SiteWise User Guide.

func (AssetModelStatus) GoString

func (s AssetModelStatus) GoString() string

GoString returns the string representation

func (*AssetModelStatus) SetError

SetError sets the Error field's value.

func (*AssetModelStatus) SetState

func (s *AssetModelStatus) SetState(v string) *AssetModelStatus

SetState sets the State field's value.

func (AssetModelStatus) String

func (s AssetModelStatus) String() string

String returns the string representation

type AssetModelSummary

type AssetModelSummary struct {

	// The ARN (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// of the asset model, which has the following format.
	//
	// arn:${Partition}:iotsitewise:${Region}:${Account}:asset-model/${AssetModelId}
	//
	// Arn is a required field
	Arn *string `locationName:"arn" min:"1" type:"string" required:"true"`

	// The date the asset model was created, in Unix epoch time.
	//
	// CreationDate is a required field
	CreationDate *time.Time `locationName:"creationDate" type:"timestamp" required:"true"`

	// The asset model description.
	//
	// Description is a required field
	Description *string `locationName:"description" min:"1" type:"string" required:"true"`

	// The ID of the asset model (used with AWS IoT SiteWise APIs).
	//
	// Id is a required field
	Id *string `locationName:"id" min:"36" type:"string" required:"true"`

	// The date the asset model was last updated, in Unix epoch time.
	//
	// LastUpdateDate is a required field
	LastUpdateDate *time.Time `locationName:"lastUpdateDate" type:"timestamp" required:"true"`

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

	// The current status of the asset model.
	//
	// Status is a required field
	Status *AssetModelStatus `locationName:"status" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Contains a summary of an asset model.

func (AssetModelSummary) GoString

func (s AssetModelSummary) GoString() string

GoString returns the string representation

func (*AssetModelSummary) SetArn

SetArn sets the Arn field's value.

func (*AssetModelSummary) SetCreationDate

func (s *AssetModelSummary) SetCreationDate(v time.Time) *AssetModelSummary

SetCreationDate sets the CreationDate field's value.

func (*AssetModelSummary) SetDescription

func (s *AssetModelSummary) SetDescription(v string) *AssetModelSummary

SetDescription sets the Description field's value.

func (*AssetModelSummary) SetId

SetId sets the Id field's value.

func (*AssetModelSummary) SetLastUpdateDate

func (s *AssetModelSummary) SetLastUpdateDate(v time.Time) *AssetModelSummary

SetLastUpdateDate sets the LastUpdateDate field's value.

func (*AssetModelSummary) SetName

SetName sets the Name field's value.

func (*AssetModelSummary) SetStatus

SetStatus sets the Status field's value.

func (AssetModelSummary) String

func (s AssetModelSummary) String() string

String returns the string representation

type AssetProperty

type AssetProperty struct {

	// The property alias that identifies the property, such as an OPC-UA server
	// data stream path (for example, /company/windfarm/3/turbine/7/temperature).
	// For more information, see Mapping industrial data streams to asset properties
	// (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/connect-data-streams.html)
	// in the AWS IoT SiteWise User Guide.
	Alias *string `locationName:"alias" min:"1" type:"string"`

	// The data type of the asset property.
	//
	// DataType is a required field
	DataType *string `locationName:"dataType" type:"string" required:"true" enum:"PropertyDataType"`

	// The data type of the structure for this property. This parameter exists on
	// properties that have the STRUCT data type.
	DataTypeSpec *string `locationName:"dataTypeSpec" min:"1" type:"string"`

	// The ID of the asset property.
	//
	// Id is a required field
	Id *string `locationName:"id" min:"36" type:"string" required:"true"`

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

	// The asset property's notification topic and state. For more information,
	// see UpdateAssetProperty (https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_UpdateAssetProperty.html).
	Notification *PropertyNotification `locationName:"notification" type:"structure"`

	// The unit (such as Newtons or RPM) of the asset property.
	Unit *string `locationName:"unit" min:"1" type:"string"`
	// contains filtered or unexported fields
}

Contains asset property information.

func (AssetProperty) GoString

func (s AssetProperty) GoString() string

GoString returns the string representation

func (*AssetProperty) SetAlias

func (s *AssetProperty) SetAlias(v string) *AssetProperty

SetAlias sets the Alias field's value.

func (*AssetProperty) SetDataType

func (s *AssetProperty) SetDataType(v string) *AssetProperty

SetDataType sets the DataType field's value.

func (*AssetProperty) SetDataTypeSpec

func (s *AssetProperty) SetDataTypeSpec(v string) *AssetProperty

SetDataTypeSpec sets the DataTypeSpec field's value.

func (*AssetProperty) SetId

func (s *AssetProperty) SetId(v string) *AssetProperty

SetId sets the Id field's value.

func (*AssetProperty) SetName

func (s *AssetProperty) SetName(v string) *AssetProperty

SetName sets the Name field's value.

func (*AssetProperty) SetNotification

func (s *AssetProperty) SetNotification(v *PropertyNotification) *AssetProperty

SetNotification sets the Notification field's value.

func (*AssetProperty) SetUnit

func (s *AssetProperty) SetUnit(v string) *AssetProperty

SetUnit sets the Unit field's value.

func (AssetProperty) String

func (s AssetProperty) String() string

String returns the string representation

type AssetPropertyValue

type AssetPropertyValue struct {

	// The quality of the asset property value.
	Quality *string `locationName:"quality" type:"string" enum:"Quality"`

	// The timestamp of the asset property value.
	//
	// Timestamp is a required field
	Timestamp *TimeInNanos `locationName:"timestamp" type:"structure" required:"true"`

	// The value of the asset property (see Variant).
	//
	// Value is a required field
	Value *Variant `locationName:"value" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Contains asset property value information.

func (AssetPropertyValue) GoString

func (s AssetPropertyValue) GoString() string

GoString returns the string representation

func (*AssetPropertyValue) SetQuality

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

SetQuality sets the Quality field's value.

func (*AssetPropertyValue) SetTimestamp

func (s *AssetPropertyValue) SetTimestamp(v *TimeInNanos) *AssetPropertyValue

SetTimestamp sets the Timestamp field's value.

func (*AssetPropertyValue) SetValue

SetValue sets the Value field's value.

func (AssetPropertyValue) String

func (s AssetPropertyValue) String() string

String returns the string representation

func (*AssetPropertyValue) Validate

func (s *AssetPropertyValue) Validate() error

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

type AssetRelationshipSummary

type AssetRelationshipSummary struct {

	// The assets that are related through an asset hierarchy.
	//
	// This object is present if the relationshipType is HIERARCHY.
	HierarchyInfo *AssetHierarchyInfo `locationName:"hierarchyInfo" type:"structure"`

	// The relationship type of the assets in this relationship. This value is one
	// of the following:
	//
	//    * HIERARCHY – The assets are related through an asset hierarchy. If
	//    you specify this relationship type, this asset relationship includes the
	//    hierarchyInfo object.
	//
	// RelationshipType is a required field
	RelationshipType *string `locationName:"relationshipType" type:"string" required:"true" enum:"AssetRelationshipType"`
	// contains filtered or unexported fields
}

Contains information about assets that are related to one another.

func (AssetRelationshipSummary) GoString

func (s AssetRelationshipSummary) GoString() string

GoString returns the string representation

func (*AssetRelationshipSummary) SetHierarchyInfo

SetHierarchyInfo sets the HierarchyInfo field's value.

func (*AssetRelationshipSummary) SetRelationshipType

func (s *AssetRelationshipSummary) SetRelationshipType(v string) *AssetRelationshipSummary

SetRelationshipType sets the RelationshipType field's value.

func (AssetRelationshipSummary) String

func (s AssetRelationshipSummary) String() string

String returns the string representation

type AssetStatus

type AssetStatus struct {

	// Contains associated error information, if any.
	Error *ErrorDetails `locationName:"error" type:"structure"`

	// The current status of the asset.
	//
	// State is a required field
	State *string `locationName:"state" type:"string" required:"true" enum:"AssetState"`
	// contains filtered or unexported fields
}

Contains information about the current status of an asset. For more information, see Asset and model states (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/asset-and-model-states.html) in the AWS IoT SiteWise User Guide.

func (AssetStatus) GoString

func (s AssetStatus) GoString() string

GoString returns the string representation

func (*AssetStatus) SetError

func (s *AssetStatus) SetError(v *ErrorDetails) *AssetStatus

SetError sets the Error field's value.

func (*AssetStatus) SetState

func (s *AssetStatus) SetState(v string) *AssetStatus

SetState sets the State field's value.

func (AssetStatus) String

func (s AssetStatus) String() string

String returns the string representation

type AssetSummary

type AssetSummary struct {

	// The ARN (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// of the asset, which has the following format.
	//
	// arn:${Partition}:iotsitewise:${Region}:${Account}:asset/${AssetId}
	//
	// Arn is a required field
	Arn *string `locationName:"arn" min:"1" type:"string" required:"true"`

	// The ID of the asset model used to create this asset.
	//
	// AssetModelId is a required field
	AssetModelId *string `locationName:"assetModelId" min:"36" type:"string" required:"true"`

	// The date the asset was created, in Unix epoch time.
	//
	// CreationDate is a required field
	CreationDate *time.Time `locationName:"creationDate" type:"timestamp" required:"true"`

	// A list of asset hierarchies that each contain a hierarchyId. A hierarchy
	// specifies allowed parent/child asset relationships.
	//
	// Hierarchies is a required field
	Hierarchies []*AssetHierarchy `locationName:"hierarchies" type:"list" required:"true"`

	// The ID of the asset.
	//
	// Id is a required field
	Id *string `locationName:"id" min:"36" type:"string" required:"true"`

	// The date the asset was last updated, in Unix epoch time.
	//
	// LastUpdateDate is a required field
	LastUpdateDate *time.Time `locationName:"lastUpdateDate" type:"timestamp" required:"true"`

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

	// The current status of the asset.
	//
	// Status is a required field
	Status *AssetStatus `locationName:"status" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Contains a summary of an asset.

func (AssetSummary) GoString

func (s AssetSummary) GoString() string

GoString returns the string representation

func (*AssetSummary) SetArn

func (s *AssetSummary) SetArn(v string) *AssetSummary

SetArn sets the Arn field's value.

func (*AssetSummary) SetAssetModelId

func (s *AssetSummary) SetAssetModelId(v string) *AssetSummary

SetAssetModelId sets the AssetModelId field's value.

func (*AssetSummary) SetCreationDate

func (s *AssetSummary) SetCreationDate(v time.Time) *AssetSummary

SetCreationDate sets the CreationDate field's value.

func (*AssetSummary) SetHierarchies

func (s *AssetSummary) SetHierarchies(v []*AssetHierarchy) *AssetSummary

SetHierarchies sets the Hierarchies field's value.

func (*AssetSummary) SetId

func (s *AssetSummary) SetId(v string) *AssetSummary

SetId sets the Id field's value.

func (*AssetSummary) SetLastUpdateDate

func (s *AssetSummary) SetLastUpdateDate(v time.Time) *AssetSummary

SetLastUpdateDate sets the LastUpdateDate field's value.

func (*AssetSummary) SetName

func (s *AssetSummary) SetName(v string) *AssetSummary

SetName sets the Name field's value.

func (*AssetSummary) SetStatus

func (s *AssetSummary) SetStatus(v *AssetStatus) *AssetSummary

SetStatus sets the Status field's value.

func (AssetSummary) String

func (s AssetSummary) String() string

String returns the string representation

type AssociateAssetsInput

type AssociateAssetsInput struct {

	// The ID of the parent asset.
	//
	// AssetId is a required field
	AssetId *string `location:"uri" locationName:"assetId" min:"36" type:"string" required:"true"`

	// The ID of the child asset to be associated.
	//
	// ChildAssetId is a required field
	ChildAssetId *string `locationName:"childAssetId" min:"36" type:"string" required:"true"`

	// A unique case-sensitive identifier that you can provide to ensure the idempotency
	// of the request. Don't reuse this client token if a new idempotent request
	// is required.
	ClientToken *string `locationName:"clientToken" min:"36" type:"string" idempotencyToken:"true"`

	// The ID of a hierarchy in the parent asset's model. Hierarchies allow different
	// groupings of assets to be formed that all come from the same asset model.
	// For more information, see Asset hierarchies (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/asset-hierarchies.html)
	// in the AWS IoT SiteWise User Guide.
	//
	// HierarchyId is a required field
	HierarchyId *string `locationName:"hierarchyId" min:"36" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (AssociateAssetsInput) GoString

func (s AssociateAssetsInput) GoString() string

GoString returns the string representation

func (*AssociateAssetsInput) SetAssetId

SetAssetId sets the AssetId field's value.

func (*AssociateAssetsInput) SetChildAssetId

func (s *AssociateAssetsInput) SetChildAssetId(v string) *AssociateAssetsInput

SetChildAssetId sets the ChildAssetId field's value.

func (*AssociateAssetsInput) SetClientToken

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

SetClientToken sets the ClientToken field's value.

func (*AssociateAssetsInput) SetHierarchyId

func (s *AssociateAssetsInput) SetHierarchyId(v string) *AssociateAssetsInput

SetHierarchyId sets the HierarchyId field's value.

func (AssociateAssetsInput) String

func (s AssociateAssetsInput) String() string

String returns the string representation

func (*AssociateAssetsInput) Validate

func (s *AssociateAssetsInput) Validate() error

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

type AssociateAssetsOutput

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

func (AssociateAssetsOutput) GoString

func (s AssociateAssetsOutput) GoString() string

GoString returns the string representation

func (AssociateAssetsOutput) String

func (s AssociateAssetsOutput) String() string

String returns the string representation

type AssociatedAssetsSummary

type AssociatedAssetsSummary struct {

	// The ARN (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// of the asset, which has the following format.
	//
	// arn:${Partition}:iotsitewise:${Region}:${Account}:asset/${AssetId}
	//
	// Arn is a required field
	Arn *string `locationName:"arn" min:"1" type:"string" required:"true"`

	// The ID of the asset model used to create the asset.
	//
	// AssetModelId is a required field
	AssetModelId *string `locationName:"assetModelId" min:"36" type:"string" required:"true"`

	// The date the asset was created, in Unix epoch time.
	//
	// CreationDate is a required field
	CreationDate *time.Time `locationName:"creationDate" type:"timestamp" required:"true"`

	// A list of asset hierarchies that each contain a hierarchyId. A hierarchy
	// specifies allowed parent/child asset relationships.
	//
	// Hierarchies is a required field
	Hierarchies []*AssetHierarchy `locationName:"hierarchies" type:"list" required:"true"`

	// The ID of the asset.
	//
	// Id is a required field
	Id *string `locationName:"id" min:"36" type:"string" required:"true"`

	// The date the asset was last updated, in Unix epoch time.
	//
	// LastUpdateDate is a required field
	LastUpdateDate *time.Time `locationName:"lastUpdateDate" type:"timestamp" required:"true"`

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

	// The current status of the asset.
	//
	// Status is a required field
	Status *AssetStatus `locationName:"status" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Contains a summary of an associated asset.

func (AssociatedAssetsSummary) GoString

func (s AssociatedAssetsSummary) GoString() string

GoString returns the string representation

func (*AssociatedAssetsSummary) SetArn

SetArn sets the Arn field's value.

func (*AssociatedAssetsSummary) SetAssetModelId

SetAssetModelId sets the AssetModelId field's value.

func (*AssociatedAssetsSummary) SetCreationDate

SetCreationDate sets the CreationDate field's value.

func (*AssociatedAssetsSummary) SetHierarchies

SetHierarchies sets the Hierarchies field's value.

func (*AssociatedAssetsSummary) SetId

SetId sets the Id field's value.

func (*AssociatedAssetsSummary) SetLastUpdateDate

func (s *AssociatedAssetsSummary) SetLastUpdateDate(v time.Time) *AssociatedAssetsSummary

SetLastUpdateDate sets the LastUpdateDate field's value.

func (*AssociatedAssetsSummary) SetName

SetName sets the Name field's value.

func (*AssociatedAssetsSummary) SetStatus

SetStatus sets the Status field's value.

func (AssociatedAssetsSummary) String

func (s AssociatedAssetsSummary) String() string

String returns the string representation

type Attribute

type Attribute struct {

	// The default value of the asset model property attribute. All assets that
	// you create from the asset model contain this attribute value. You can update
	// an attribute's value after you create an asset. For more information, see
	// Updating attribute values (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/update-attribute-values.html)
	// in the AWS IoT SiteWise User Guide.
	DefaultValue *string `locationName:"defaultValue" min:"1" type:"string"`
	// contains filtered or unexported fields
}

Contains an asset attribute property. For more information, see Attributes (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/asset-properties.html#attributes) in the AWS IoT SiteWise User Guide.

func (Attribute) GoString

func (s Attribute) GoString() string

GoString returns the string representation

func (*Attribute) SetDefaultValue

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

SetDefaultValue sets the DefaultValue field's value.

func (Attribute) String

func (s Attribute) String() string

String returns the string representation

func (*Attribute) Validate

func (s *Attribute) Validate() error

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

type BatchAssociateProjectAssetsInput

type BatchAssociateProjectAssetsInput struct {

	// The IDs of the assets to be associated to the project.
	//
	// AssetIds is a required field
	AssetIds []*string `locationName:"assetIds" min:"1" type:"list" required:"true"`

	// A unique case-sensitive identifier that you can provide to ensure the idempotency
	// of the request. Don't reuse this client token if a new idempotent request
	// is required.
	ClientToken *string `locationName:"clientToken" min:"36" type:"string" idempotencyToken:"true"`

	// The ID of the project to which to associate the assets.
	//
	// ProjectId is a required field
	ProjectId *string `location:"uri" locationName:"projectId" min:"36" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (BatchAssociateProjectAssetsInput) GoString

GoString returns the string representation

func (*BatchAssociateProjectAssetsInput) SetAssetIds

SetAssetIds sets the AssetIds field's value.

func (*BatchAssociateProjectAssetsInput) SetClientToken

SetClientToken sets the ClientToken field's value.

func (*BatchAssociateProjectAssetsInput) SetProjectId

SetProjectId sets the ProjectId field's value.

func (BatchAssociateProjectAssetsInput) String

String returns the string representation

func (*BatchAssociateProjectAssetsInput) Validate

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

type BatchAssociateProjectAssetsOutput

type BatchAssociateProjectAssetsOutput struct {

	// A list of associated error information, if any.
	Errors []*AssetErrorDetails `locationName:"errors" type:"list"`
	// contains filtered or unexported fields
}

func (BatchAssociateProjectAssetsOutput) GoString

GoString returns the string representation

func (*BatchAssociateProjectAssetsOutput) SetErrors

SetErrors sets the Errors field's value.

func (BatchAssociateProjectAssetsOutput) String

String returns the string representation

type BatchDisassociateProjectAssetsInput

type BatchDisassociateProjectAssetsInput struct {

	// The IDs of the assets to be disassociated from the project.
	//
	// AssetIds is a required field
	AssetIds []*string `locationName:"assetIds" min:"1" type:"list" required:"true"`

	// A unique case-sensitive identifier that you can provide to ensure the idempotency
	// of the request. Don't reuse this client token if a new idempotent request
	// is required.
	ClientToken *string `locationName:"clientToken" min:"36" type:"string" idempotencyToken:"true"`

	// The ID of the project from which to disassociate the assets.
	//
	// ProjectId is a required field
	ProjectId *string `location:"uri" locationName:"projectId" min:"36" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (BatchDisassociateProjectAssetsInput) GoString

GoString returns the string representation

func (*BatchDisassociateProjectAssetsInput) SetAssetIds

SetAssetIds sets the AssetIds field's value.

func (*BatchDisassociateProjectAssetsInput) SetClientToken

SetClientToken sets the ClientToken field's value.

func (*BatchDisassociateProjectAssetsInput) SetProjectId

SetProjectId sets the ProjectId field's value.

func (BatchDisassociateProjectAssetsInput) String

String returns the string representation

func (*BatchDisassociateProjectAssetsInput) Validate

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

type BatchDisassociateProjectAssetsOutput

type BatchDisassociateProjectAssetsOutput struct {

	// A list of associated error information, if any.
	Errors []*AssetErrorDetails `locationName:"errors" type:"list"`
	// contains filtered or unexported fields
}

func (BatchDisassociateProjectAssetsOutput) GoString

GoString returns the string representation

func (*BatchDisassociateProjectAssetsOutput) SetErrors

SetErrors sets the Errors field's value.

func (BatchDisassociateProjectAssetsOutput) String

String returns the string representation

type BatchPutAssetPropertyError

type BatchPutAssetPropertyError struct {

	// The error code.
	//
	// ErrorCode is a required field
	ErrorCode *string `locationName:"errorCode" type:"string" required:"true" enum:"BatchPutAssetPropertyValueErrorCode"`

	// The associated error message.
	//
	// ErrorMessage is a required field
	ErrorMessage *string `locationName:"errorMessage" type:"string" required:"true"`

	// A list of timestamps for each error, if any.
	//
	// Timestamps is a required field
	Timestamps []*TimeInNanos `locationName:"timestamps" type:"list" required:"true"`
	// contains filtered or unexported fields
}

Contains error information from updating a batch of asset property values.

func (BatchPutAssetPropertyError) GoString

func (s BatchPutAssetPropertyError) GoString() string

GoString returns the string representation

func (*BatchPutAssetPropertyError) SetErrorCode

SetErrorCode sets the ErrorCode field's value.

func (*BatchPutAssetPropertyError) SetErrorMessage

SetErrorMessage sets the ErrorMessage field's value.

func (*BatchPutAssetPropertyError) SetTimestamps

SetTimestamps sets the Timestamps field's value.

func (BatchPutAssetPropertyError) String

String returns the string representation

type BatchPutAssetPropertyErrorEntry

type BatchPutAssetPropertyErrorEntry struct {

	// The ID of the failed entry.
	//
	// EntryId is a required field
	EntryId *string `locationName:"entryId" min:"1" type:"string" required:"true"`

	// The list of update property value errors.
	//
	// Errors is a required field
	Errors []*BatchPutAssetPropertyError `locationName:"errors" type:"list" required:"true"`
	// contains filtered or unexported fields
}

Contains error information for asset property value entries that are associated with the BatchPutAssetPropertyValue (https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_BatchPutAssetPropertyValue.html) API.

func (BatchPutAssetPropertyErrorEntry) GoString

GoString returns the string representation

func (*BatchPutAssetPropertyErrorEntry) SetEntryId

SetEntryId sets the EntryId field's value.

func (*BatchPutAssetPropertyErrorEntry) SetErrors

SetErrors sets the Errors field's value.

func (BatchPutAssetPropertyErrorEntry) String

String returns the string representation

type BatchPutAssetPropertyValueInput

type BatchPutAssetPropertyValueInput struct {

	// The list of asset property value entries for the batch put request. You can
	// specify up to 10 entries per request.
	//
	// Entries is a required field
	Entries []*PutAssetPropertyValueEntry `locationName:"entries" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (BatchPutAssetPropertyValueInput) GoString

GoString returns the string representation

func (*BatchPutAssetPropertyValueInput) SetEntries

SetEntries sets the Entries field's value.

func (BatchPutAssetPropertyValueInput) String

String returns the string representation

func (*BatchPutAssetPropertyValueInput) Validate

func (s *BatchPutAssetPropertyValueInput) Validate() error

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

type BatchPutAssetPropertyValueOutput

type BatchPutAssetPropertyValueOutput struct {

	// A list of the errors (if any) associated with the batch put request. Each
	// error entry contains the entryId of the entry that failed.
	//
	// ErrorEntries is a required field
	ErrorEntries []*BatchPutAssetPropertyErrorEntry `locationName:"errorEntries" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (BatchPutAssetPropertyValueOutput) GoString

GoString returns the string representation

func (*BatchPutAssetPropertyValueOutput) SetErrorEntries

SetErrorEntries sets the ErrorEntries field's value.

func (BatchPutAssetPropertyValueOutput) String

String returns the string representation

type CompositeModelProperty

type CompositeModelProperty struct {

	// Contains asset property information.
	//
	// AssetProperty is a required field
	AssetProperty *Property `locationName:"assetProperty" type:"structure" required:"true"`

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

	// The type of the composite model that defines this property.
	//
	// Type is a required field
	Type *string `locationName:"type" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Contains information about a composite model property on an asset.

func (CompositeModelProperty) GoString

func (s CompositeModelProperty) GoString() string

GoString returns the string representation

func (*CompositeModelProperty) SetAssetProperty

func (s *CompositeModelProperty) SetAssetProperty(v *Property) *CompositeModelProperty

SetAssetProperty sets the AssetProperty field's value.

func (*CompositeModelProperty) SetName

SetName sets the Name field's value.

func (*CompositeModelProperty) SetType

SetType sets the Type field's value.

func (CompositeModelProperty) String

func (s CompositeModelProperty) String() string

String returns the string representation

type ConfigurationErrorDetails

type ConfigurationErrorDetails struct {

	// The error code.
	//
	// Code is a required field
	Code *string `locationName:"code" type:"string" required:"true" enum:"ErrorCode"`

	// The error message.
	//
	// Message is a required field
	Message *string `locationName:"message" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Contains the details of an AWS IoT SiteWise configuration error.

func (ConfigurationErrorDetails) GoString

func (s ConfigurationErrorDetails) GoString() string

GoString returns the string representation

func (*ConfigurationErrorDetails) SetCode

SetCode sets the Code field's value.

func (*ConfigurationErrorDetails) SetMessage

SetMessage sets the Message field's value.

func (ConfigurationErrorDetails) String

func (s ConfigurationErrorDetails) String() string

String returns the string representation

type ConfigurationStatus

type ConfigurationStatus struct {

	// Contains associated error information, if any.
	Error *ConfigurationErrorDetails `locationName:"error" type:"structure"`

	// The current state of the configuration.
	//
	// State is a required field
	State *string `locationName:"state" type:"string" required:"true" enum:"ConfigurationState"`
	// contains filtered or unexported fields
}

Contains current status information for the configuration.

func (ConfigurationStatus) GoString

func (s ConfigurationStatus) GoString() string

GoString returns the string representation

func (*ConfigurationStatus) SetError

SetError sets the Error field's value.

func (*ConfigurationStatus) SetState

SetState sets the State field's value.

func (ConfigurationStatus) String

func (s ConfigurationStatus) String() string

String returns the string representation

type ConflictingOperationException

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

	Message_ *string `locationName:"message" type:"string"`

	// The ARN of the resource that conflicts with this operation.
	//
	// ResourceArn is a required field
	ResourceArn *string `locationName:"resourceArn" type:"string" required:"true"`

	// The ID of the resource that conflicts with this operation.
	//
	// ResourceId is a required field
	ResourceId *string `locationName:"resourceId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time.

func (*ConflictingOperationException) Code

Code returns the exception type name.

func (*ConflictingOperationException) Error

func (ConflictingOperationException) GoString

GoString returns the string representation

func (*ConflictingOperationException) Message

Message returns the exception's message.

func (*ConflictingOperationException) OrigErr

func (s *ConflictingOperationException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ConflictingOperationException) RequestID

func (s *ConflictingOperationException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ConflictingOperationException) StatusCode

func (s *ConflictingOperationException) StatusCode() int

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

func (ConflictingOperationException) String

String returns the string representation

type CreateAccessPolicyInput

type CreateAccessPolicyInput struct {

	// The identity for this access policy. Choose an AWS SSO user, an AWS SSO group,
	// or an IAM user.
	//
	// AccessPolicyIdentity is a required field
	AccessPolicyIdentity *Identity `locationName:"accessPolicyIdentity" type:"structure" required:"true"`

	// The permission level for this access policy. Note that a project ADMINISTRATOR
	// is also known as a project owner.
	//
	// AccessPolicyPermission is a required field
	AccessPolicyPermission *string `locationName:"accessPolicyPermission" type:"string" required:"true" enum:"Permission"`

	// The AWS IoT SiteWise Monitor resource for this access policy. Choose either
	// a portal or a project.
	//
	// AccessPolicyResource is a required field
	AccessPolicyResource *Resource `locationName:"accessPolicyResource" type:"structure" required:"true"`

	// A unique case-sensitive identifier that you can provide to ensure the idempotency
	// of the request. Don't reuse this client token if a new idempotent request
	// is required.
	ClientToken *string `locationName:"clientToken" min:"36" type:"string" idempotencyToken:"true"`

	// A list of key-value pairs that contain metadata for the access policy. For
	// more information, see Tagging your AWS IoT SiteWise resources (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/tag-resources.html)
	// in the AWS IoT SiteWise User Guide.
	Tags map[string]*string `locationName:"tags" min:"1" type:"map"`
	// contains filtered or unexported fields
}

func (CreateAccessPolicyInput) GoString

func (s CreateAccessPolicyInput) GoString() string

GoString returns the string representation

func (*CreateAccessPolicyInput) SetAccessPolicyIdentity

func (s *CreateAccessPolicyInput) SetAccessPolicyIdentity(v *Identity) *CreateAccessPolicyInput

SetAccessPolicyIdentity sets the AccessPolicyIdentity field's value.

func (*CreateAccessPolicyInput) SetAccessPolicyPermission

func (s *CreateAccessPolicyInput) SetAccessPolicyPermission(v string) *CreateAccessPolicyInput

SetAccessPolicyPermission sets the AccessPolicyPermission field's value.

func (*CreateAccessPolicyInput) SetAccessPolicyResource

func (s *CreateAccessPolicyInput) SetAccessPolicyResource(v *Resource) *CreateAccessPolicyInput

SetAccessPolicyResource sets the AccessPolicyResource field's value.

func (*CreateAccessPolicyInput) SetClientToken

SetClientToken sets the ClientToken field's value.

func (*CreateAccessPolicyInput) SetTags

SetTags sets the Tags field's value.

func (CreateAccessPolicyInput) String

func (s CreateAccessPolicyInput) String() string

String returns the string representation

func (*CreateAccessPolicyInput) Validate

func (s *CreateAccessPolicyInput) Validate() error

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

type CreateAccessPolicyOutput

type CreateAccessPolicyOutput struct {

	// The ARN (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// of the access policy, which has the following format.
	//
	// arn:${Partition}:iotsitewise:${Region}:${Account}:access-policy/${AccessPolicyId}
	//
	// AccessPolicyArn is a required field
	AccessPolicyArn *string `locationName:"accessPolicyArn" min:"1" type:"string" required:"true"`

	// The ID of the access policy.
	//
	// AccessPolicyId is a required field
	AccessPolicyId *string `locationName:"accessPolicyId" min:"36" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (CreateAccessPolicyOutput) GoString

func (s CreateAccessPolicyOutput) GoString() string

GoString returns the string representation

func (*CreateAccessPolicyOutput) SetAccessPolicyArn

func (s *CreateAccessPolicyOutput) SetAccessPolicyArn(v string) *CreateAccessPolicyOutput

SetAccessPolicyArn sets the AccessPolicyArn field's value.

func (*CreateAccessPolicyOutput) SetAccessPolicyId

func (s *CreateAccessPolicyOutput) SetAccessPolicyId(v string) *CreateAccessPolicyOutput

SetAccessPolicyId sets the AccessPolicyId field's value.

func (CreateAccessPolicyOutput) String

func (s CreateAccessPolicyOutput) String() string

String returns the string representation

type CreateAssetInput

type CreateAssetInput struct {

	// The ID of the asset model from which to create the asset.
	//
	// AssetModelId is a required field
	AssetModelId *string `locationName:"assetModelId" min:"36" type:"string" required:"true"`

	// A unique, friendly name for the asset.
	//
	// AssetName is a required field
	AssetName *string `locationName:"assetName" min:"1" type:"string" required:"true"`

	// A unique case-sensitive identifier that you can provide to ensure the idempotency
	// of the request. Don't reuse this client token if a new idempotent request
	// is required.
	ClientToken *string `locationName:"clientToken" min:"36" type:"string" idempotencyToken:"true"`

	// A list of key-value pairs that contain metadata for the asset. For more information,
	// see Tagging your AWS IoT SiteWise resources (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/tag-resources.html)
	// in the AWS IoT SiteWise User Guide.
	Tags map[string]*string `locationName:"tags" min:"1" type:"map"`
	// contains filtered or unexported fields
}

func (CreateAssetInput) GoString

func (s CreateAssetInput) GoString() string

GoString returns the string representation

func (*CreateAssetInput) SetAssetModelId

func (s *CreateAssetInput) SetAssetModelId(v string) *CreateAssetInput

SetAssetModelId sets the AssetModelId field's value.

func (*CreateAssetInput) SetAssetName

func (s *CreateAssetInput) SetAssetName(v string) *CreateAssetInput

SetAssetName sets the AssetName field's value.

func (*CreateAssetInput) SetClientToken

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

SetClientToken sets the ClientToken field's value.

func (*CreateAssetInput) SetTags

func (s *CreateAssetInput) SetTags(v map[string]*string) *CreateAssetInput

SetTags sets the Tags field's value.

func (CreateAssetInput) String

func (s CreateAssetInput) String() string

String returns the string representation

func (*CreateAssetInput) Validate

func (s *CreateAssetInput) Validate() error

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

type CreateAssetModelInput

type CreateAssetModelInput struct {

	// The composite asset models that are part of this asset model. Composite asset
	// models are asset models that contain specific properties. Each composite
	// model has a type that defines the properties that the composite model supports.
	// Use composite asset models to define alarms on this asset model.
	AssetModelCompositeModels []*AssetModelCompositeModelDefinition `locationName:"assetModelCompositeModels" type:"list"`

	// A description for the asset model.
	AssetModelDescription *string `locationName:"assetModelDescription" min:"1" type:"string"`

	// The hierarchy definitions of the asset model. Each hierarchy specifies an
	// asset model whose assets can be children of any other assets created from
	// this asset model. For more information, see Asset hierarchies (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/asset-hierarchies.html)
	// in the AWS IoT SiteWise User Guide.
	//
	// You can specify up to 10 hierarchies per asset model. For more information,
	// see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html)
	// in the AWS IoT SiteWise User Guide.
	AssetModelHierarchies []*AssetModelHierarchyDefinition `locationName:"assetModelHierarchies" type:"list"`

	// A unique, friendly name for the asset model.
	//
	// AssetModelName is a required field
	AssetModelName *string `locationName:"assetModelName" min:"1" type:"string" required:"true"`

	// The property definitions of the asset model. For more information, see Asset
	// properties (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/asset-properties.html)
	// in the AWS IoT SiteWise User Guide.
	//
	// You can specify up to 200 properties per asset model. For more information,
	// see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html)
	// in the AWS IoT SiteWise User Guide.
	AssetModelProperties []*AssetModelPropertyDefinition `locationName:"assetModelProperties" type:"list"`

	// A unique case-sensitive identifier that you can provide to ensure the idempotency
	// of the request. Don't reuse this client token if a new idempotent request
	// is required.
	ClientToken *string `locationName:"clientToken" min:"36" type:"string" idempotencyToken:"true"`

	// A list of key-value pairs that contain metadata for the asset model. For
	// more information, see Tagging your AWS IoT SiteWise resources (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/tag-resources.html)
	// in the AWS IoT SiteWise User Guide.
	Tags map[string]*string `locationName:"tags" min:"1" type:"map"`
	// contains filtered or unexported fields
}

func (CreateAssetModelInput) GoString

func (s CreateAssetModelInput) GoString() string

GoString returns the string representation

func (*CreateAssetModelInput) SetAssetModelCompositeModels

SetAssetModelCompositeModels sets the AssetModelCompositeModels field's value.

func (*CreateAssetModelInput) SetAssetModelDescription

func (s *CreateAssetModelInput) SetAssetModelDescription(v string) *CreateAssetModelInput

SetAssetModelDescription sets the AssetModelDescription field's value.

func (*CreateAssetModelInput) SetAssetModelHierarchies

SetAssetModelHierarchies sets the AssetModelHierarchies field's value.

func (*CreateAssetModelInput) SetAssetModelName

func (s *CreateAssetModelInput) SetAssetModelName(v string) *CreateAssetModelInput

SetAssetModelName sets the AssetModelName field's value.

func (*CreateAssetModelInput) SetAssetModelProperties

SetAssetModelProperties sets the AssetModelProperties field's value.

func (*CreateAssetModelInput) SetClientToken

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

SetClientToken sets the ClientToken field's value.

func (*CreateAssetModelInput) SetTags

SetTags sets the Tags field's value.

func (CreateAssetModelInput) String

func (s CreateAssetModelInput) String() string

String returns the string representation

func (*CreateAssetModelInput) Validate

func (s *CreateAssetModelInput) Validate() error

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

type CreateAssetModelOutput

type CreateAssetModelOutput struct {

	// The ARN (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// of the asset model, which has the following format.
	//
	// arn:${Partition}:iotsitewise:${Region}:${Account}:asset-model/${AssetModelId}
	//
	// AssetModelArn is a required field
	AssetModelArn *string `locationName:"assetModelArn" min:"1" type:"string" required:"true"`

	// The ID of the asset model. You can use this ID when you call other AWS IoT
	// SiteWise APIs.
	//
	// AssetModelId is a required field
	AssetModelId *string `locationName:"assetModelId" min:"36" type:"string" required:"true"`

	// The status of the asset model, which contains a state (CREATING after successfully
	// calling this operation) and any error message.
	//
	// AssetModelStatus is a required field
	AssetModelStatus *AssetModelStatus `locationName:"assetModelStatus" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (CreateAssetModelOutput) GoString

func (s CreateAssetModelOutput) GoString() string

GoString returns the string representation

func (*CreateAssetModelOutput) SetAssetModelArn

func (s *CreateAssetModelOutput) SetAssetModelArn(v string) *CreateAssetModelOutput

SetAssetModelArn sets the AssetModelArn field's value.

func (*CreateAssetModelOutput) SetAssetModelId

func (s *CreateAssetModelOutput) SetAssetModelId(v string) *CreateAssetModelOutput

SetAssetModelId sets the AssetModelId field's value.

func (*CreateAssetModelOutput) SetAssetModelStatus

SetAssetModelStatus sets the AssetModelStatus field's value.

func (CreateAssetModelOutput) String

func (s CreateAssetModelOutput) String() string

String returns the string representation

type CreateAssetOutput

type CreateAssetOutput struct {

	// The ARN (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// of the asset, which has the following format.
	//
	// arn:${Partition}:iotsitewise:${Region}:${Account}:asset/${AssetId}
	//
	// AssetArn is a required field
	AssetArn *string `locationName:"assetArn" min:"1" type:"string" required:"true"`

	// The ID of the asset. This ID uniquely identifies the asset within AWS IoT
	// SiteWise and can be used with other AWS IoT SiteWise APIs.
	//
	// AssetId is a required field
	AssetId *string `locationName:"assetId" min:"36" type:"string" required:"true"`

	// The status of the asset, which contains a state (CREATING after successfully
	// calling this operation) and any error message.
	//
	// AssetStatus is a required field
	AssetStatus *AssetStatus `locationName:"assetStatus" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (CreateAssetOutput) GoString

func (s CreateAssetOutput) GoString() string

GoString returns the string representation

func (*CreateAssetOutput) SetAssetArn

func (s *CreateAssetOutput) SetAssetArn(v string) *CreateAssetOutput

SetAssetArn sets the AssetArn field's value.

func (*CreateAssetOutput) SetAssetId

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

SetAssetId sets the AssetId field's value.

func (*CreateAssetOutput) SetAssetStatus

func (s *CreateAssetOutput) SetAssetStatus(v *AssetStatus) *CreateAssetOutput

SetAssetStatus sets the AssetStatus field's value.

func (CreateAssetOutput) String

func (s CreateAssetOutput) String() string

String returns the string representation

type CreateDashboardInput

type CreateDashboardInput struct {

	// A unique case-sensitive identifier that you can provide to ensure the idempotency
	// of the request. Don't reuse this client token if a new idempotent request
	// is required.
	ClientToken *string `locationName:"clientToken" min:"36" type:"string" idempotencyToken:"true"`

	// The dashboard definition specified in a JSON literal. For detailed information,
	// see Creating dashboards (CLI) (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/create-dashboards-using-aws-cli.html)
	// in the AWS IoT SiteWise User Guide.
	//
	// DashboardDefinition is a required field
	DashboardDefinition *string `locationName:"dashboardDefinition" type:"string" required:"true"`

	// A description for the dashboard.
	DashboardDescription *string `locationName:"dashboardDescription" min:"1" type:"string"`

	// A friendly name for the dashboard.
	//
	// DashboardName is a required field
	DashboardName *string `locationName:"dashboardName" min:"1" type:"string" required:"true"`

	// The ID of the project in which to create the dashboard.
	//
	// ProjectId is a required field
	ProjectId *string `locationName:"projectId" min:"36" type:"string" required:"true"`

	// A list of key-value pairs that contain metadata for the dashboard. For more
	// information, see Tagging your AWS IoT SiteWise resources (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/tag-resources.html)
	// in the AWS IoT SiteWise User Guide.
	Tags map[string]*string `locationName:"tags" min:"1" type:"map"`
	// contains filtered or unexported fields
}

func (CreateDashboardInput) GoString

func (s CreateDashboardInput) GoString() string

GoString returns the string representation

func (*CreateDashboardInput) SetClientToken

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

SetClientToken sets the ClientToken field's value.

func (*CreateDashboardInput) SetDashboardDefinition

func (s *CreateDashboardInput) SetDashboardDefinition(v string) *CreateDashboardInput

SetDashboardDefinition sets the DashboardDefinition field's value.

func (*CreateDashboardInput) SetDashboardDescription

func (s *CreateDashboardInput) SetDashboardDescription(v string) *CreateDashboardInput

SetDashboardDescription sets the DashboardDescription field's value.

func (*CreateDashboardInput) SetDashboardName

func (s *CreateDashboardInput) SetDashboardName(v string) *CreateDashboardInput

SetDashboardName sets the DashboardName field's value.

func (*CreateDashboardInput) SetProjectId

func (s *CreateDashboardInput) SetProjectId(v string) *CreateDashboardInput

SetProjectId sets the ProjectId field's value.

func (*CreateDashboardInput) SetTags

SetTags sets the Tags field's value.

func (CreateDashboardInput) String

func (s CreateDashboardInput) String() string

String returns the string representation

func (*CreateDashboardInput) Validate

func (s *CreateDashboardInput) Validate() error

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

type CreateDashboardOutput

type CreateDashboardOutput struct {

	// The ARN (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// of the dashboard, which has the following format.
	//
	// arn:${Partition}:iotsitewise:${Region}:${Account}:dashboard/${DashboardId}
	//
	// DashboardArn is a required field
	DashboardArn *string `locationName:"dashboardArn" min:"1" type:"string" required:"true"`

	// The ID of the dashboard.
	//
	// DashboardId is a required field
	DashboardId *string `locationName:"dashboardId" min:"36" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (CreateDashboardOutput) GoString

func (s CreateDashboardOutput) GoString() string

GoString returns the string representation

func (*CreateDashboardOutput) SetDashboardArn

func (s *CreateDashboardOutput) SetDashboardArn(v string) *CreateDashboardOutput

SetDashboardArn sets the DashboardArn field's value.

func (*CreateDashboardOutput) SetDashboardId

func (s *CreateDashboardOutput) SetDashboardId(v string) *CreateDashboardOutput

SetDashboardId sets the DashboardId field's value.

func (CreateDashboardOutput) String

func (s CreateDashboardOutput) String() string

String returns the string representation

type CreateGatewayInput

type CreateGatewayInput struct {

	// A unique, friendly name for the gateway.
	//
	// GatewayName is a required field
	GatewayName *string `locationName:"gatewayName" min:"1" type:"string" required:"true"`

	// The gateway's platform. You can only specify one platform in a gateway.
	//
	// GatewayPlatform is a required field
	GatewayPlatform *GatewayPlatform `locationName:"gatewayPlatform" type:"structure" required:"true"`

	// A list of key-value pairs that contain metadata for the gateway. For more
	// information, see Tagging your AWS IoT SiteWise resources (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/tag-resources.html)
	// in the AWS IoT SiteWise User Guide.
	Tags map[string]*string `locationName:"tags" min:"1" type:"map"`
	// contains filtered or unexported fields
}

func (CreateGatewayInput) GoString

func (s CreateGatewayInput) GoString() string

GoString returns the string representation

func (*CreateGatewayInput) SetGatewayName

func (s *CreateGatewayInput) SetGatewayName(v string) *CreateGatewayInput

SetGatewayName sets the GatewayName field's value.

func (*CreateGatewayInput) SetGatewayPlatform

func (s *CreateGatewayInput) SetGatewayPlatform(v *GatewayPlatform) *CreateGatewayInput

SetGatewayPlatform sets the GatewayPlatform field's value.

func (*CreateGatewayInput) SetTags

func (s *CreateGatewayInput) SetTags(v map[string]*string) *CreateGatewayInput

SetTags sets the Tags field's value.

func (CreateGatewayInput) String

func (s CreateGatewayInput) String() string

String returns the string representation

func (*CreateGatewayInput) Validate

func (s *CreateGatewayInput) Validate() error

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

type CreateGatewayOutput

type CreateGatewayOutput struct {

	// The ARN (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// of the gateway, which has the following format.
	//
	// arn:${Partition}:iotsitewise:${Region}:${Account}:gateway/${GatewayId}
	//
	// GatewayArn is a required field
	GatewayArn *string `locationName:"gatewayArn" min:"1" type:"string" required:"true"`

	// The ID of the gateway device. You can use this ID when you call other AWS
	// IoT SiteWise APIs.
	//
	// GatewayId is a required field
	GatewayId *string `locationName:"gatewayId" min:"36" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (CreateGatewayOutput) GoString

func (s CreateGatewayOutput) GoString() string

GoString returns the string representation

func (*CreateGatewayOutput) SetGatewayArn

func (s *CreateGatewayOutput) SetGatewayArn(v string) *CreateGatewayOutput

SetGatewayArn sets the GatewayArn field's value.

func (*CreateGatewayOutput) SetGatewayId

func (s *CreateGatewayOutput) SetGatewayId(v string) *CreateGatewayOutput

SetGatewayId sets the GatewayId field's value.

func (CreateGatewayOutput) String

func (s CreateGatewayOutput) String() string

String returns the string representation

type CreatePortalInput

type CreatePortalInput struct {

	// A unique case-sensitive identifier that you can provide to ensure the idempotency
	// of the request. Don't reuse this client token if a new idempotent request
	// is required.
	ClientToken *string `locationName:"clientToken" min:"36" type:"string" idempotencyToken:"true"`

	// The service to use to authenticate users to the portal. Choose from the following
	// options:
	//
	//    * SSO – The portal uses AWS Single Sign-On to authenticate users and
	//    manage user permissions. Before you can create a portal that uses AWS
	//    SSO, you must enable AWS SSO. For more information, see Enabling AWS SSO
	//    (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/monitor-get-started.html#mon-gs-sso)
	//    in the AWS IoT SiteWise User Guide. This option is only available in AWS
	//    Regions other than the China Regions.
	//
	//    * IAM – The portal uses AWS Identity and Access Management (IAM) to
	//    authenticate users and manage user permissions. This option is only available
	//    in the China Regions.
	//
	// You can't change this value after you create a portal.
	//
	// Default: SSO
	PortalAuthMode *string `locationName:"portalAuthMode" type:"string" enum:"AuthMode"`

	// The AWS administrator's contact email address.
	//
	// PortalContactEmail is a required field
	PortalContactEmail *string `locationName:"portalContactEmail" min:"1" type:"string" required:"true"`

	// A description for the portal.
	PortalDescription *string `locationName:"portalDescription" min:"1" type:"string"`

	// A logo image to display in the portal. Upload a square, high-resolution image.
	// The image is displayed on a dark background.
	PortalLogoImageFile *ImageFile `locationName:"portalLogoImageFile" type:"structure"`

	// A friendly name for the portal.
	//
	// PortalName is a required field
	PortalName *string `locationName:"portalName" min:"1" type:"string" required:"true"`

	// The ARN (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// of a service role that allows the portal's users to access your AWS IoT SiteWise
	// resources on your behalf. For more information, see Using service roles for
	// AWS IoT SiteWise Monitor (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/monitor-service-role.html)
	// in the AWS IoT SiteWise User Guide.
	//
	// RoleArn is a required field
	RoleArn *string `locationName:"roleArn" min:"1" type:"string" required:"true"`

	// A list of key-value pairs that contain metadata for the portal. For more
	// information, see Tagging your AWS IoT SiteWise resources (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/tag-resources.html)
	// in the AWS IoT SiteWise User Guide.
	Tags map[string]*string `locationName:"tags" min:"1" type:"map"`
	// contains filtered or unexported fields
}

func (CreatePortalInput) GoString

func (s CreatePortalInput) GoString() string

GoString returns the string representation

func (*CreatePortalInput) SetClientToken

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

SetClientToken sets the ClientToken field's value.

func (*CreatePortalInput) SetPortalAuthMode

func (s *CreatePortalInput) SetPortalAuthMode(v string) *CreatePortalInput

SetPortalAuthMode sets the PortalAuthMode field's value.

func (*CreatePortalInput) SetPortalContactEmail

func (s *CreatePortalInput) SetPortalContactEmail(v string) *CreatePortalInput

SetPortalContactEmail sets the PortalContactEmail field's value.

func (*CreatePortalInput) SetPortalDescription

func (s *CreatePortalInput) SetPortalDescription(v string) *CreatePortalInput

SetPortalDescription sets the PortalDescription field's value.

func (*CreatePortalInput) SetPortalLogoImageFile

func (s *CreatePortalInput) SetPortalLogoImageFile(v *ImageFile) *CreatePortalInput

SetPortalLogoImageFile sets the PortalLogoImageFile field's value.

func (*CreatePortalInput) SetPortalName

func (s *CreatePortalInput) SetPortalName(v string) *CreatePortalInput

SetPortalName sets the PortalName field's value.

func (*CreatePortalInput) SetRoleArn

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

SetRoleArn sets the RoleArn field's value.

func (*CreatePortalInput) SetTags

func (s *CreatePortalInput) SetTags(v map[string]*string) *CreatePortalInput

SetTags sets the Tags field's value.

func (CreatePortalInput) String

func (s CreatePortalInput) String() string

String returns the string representation

func (*CreatePortalInput) Validate

func (s *CreatePortalInput) Validate() error

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

type CreatePortalOutput

type CreatePortalOutput struct {

	// The ARN (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// of the portal, which has the following format.
	//
	// arn:${Partition}:iotsitewise:${Region}:${Account}:portal/${PortalId}
	//
	// PortalArn is a required field
	PortalArn *string `locationName:"portalArn" min:"1" type:"string" required:"true"`

	// The ID of the created portal.
	//
	// PortalId is a required field
	PortalId *string `locationName:"portalId" min:"36" type:"string" required:"true"`

	// The URL for the AWS IoT SiteWise Monitor portal. You can use this URL to
	// access portals that use AWS SSO for authentication. For portals that use
	// IAM for authentication, you must use the AWS IoT SiteWise console to get
	// a URL that you can use to access the portal.
	//
	// PortalStartUrl is a required field
	PortalStartUrl *string `locationName:"portalStartUrl" min:"1" type:"string" required:"true"`

	// The status of the portal, which contains a state (CREATING after successfully
	// calling this operation) and any error message.
	//
	// PortalStatus is a required field
	PortalStatus *PortalStatus `locationName:"portalStatus" type:"structure" required:"true"`

	// The associated AWS SSO application ID, if the portal uses AWS SSO.
	//
	// SsoApplicationId is a required field
	SsoApplicationId *string `locationName:"ssoApplicationId" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (CreatePortalOutput) GoString

func (s CreatePortalOutput) GoString() string

GoString returns the string representation

func (*CreatePortalOutput) SetPortalArn

func (s *CreatePortalOutput) SetPortalArn(v string) *CreatePortalOutput

SetPortalArn sets the PortalArn field's value.

func (*CreatePortalOutput) SetPortalId

func (s *CreatePortalOutput) SetPortalId(v string) *CreatePortalOutput

SetPortalId sets the PortalId field's value.

func (*CreatePortalOutput) SetPortalStartUrl

func (s *CreatePortalOutput) SetPortalStartUrl(v string) *CreatePortalOutput

SetPortalStartUrl sets the PortalStartUrl field's value.

func (*CreatePortalOutput) SetPortalStatus

func (s *CreatePortalOutput) SetPortalStatus(v *PortalStatus) *CreatePortalOutput

SetPortalStatus sets the PortalStatus field's value.

func (*CreatePortalOutput) SetSsoApplicationId

func (s *CreatePortalOutput) SetSsoApplicationId(v string) *CreatePortalOutput

SetSsoApplicationId sets the SsoApplicationId field's value.

func (CreatePortalOutput) String

func (s CreatePortalOutput) String() string

String returns the string representation

type CreateProjectInput

type CreateProjectInput struct {

	// A unique case-sensitive identifier that you can provide to ensure the idempotency
	// of the request. Don't reuse this client token if a new idempotent request
	// is required.
	ClientToken *string `locationName:"clientToken" min:"36" type:"string" idempotencyToken:"true"`

	// The ID of the portal in which to create the project.
	//
	// PortalId is a required field
	PortalId *string `locationName:"portalId" min:"36" type:"string" required:"true"`

	// A description for the project.
	ProjectDescription *string `locationName:"projectDescription" min:"1" type:"string"`

	// A friendly name for the project.
	//
	// ProjectName is a required field
	ProjectName *string `locationName:"projectName" min:"1" type:"string" required:"true"`

	// A list of key-value pairs that contain metadata for the project. For more
	// information, see Tagging your AWS IoT SiteWise resources (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/tag-resources.html)
	// in the AWS IoT SiteWise User Guide.
	Tags map[string]*string `locationName:"tags" min:"1" type:"map"`
	// contains filtered or unexported fields
}

func (CreateProjectInput) GoString

func (s CreateProjectInput) GoString() string

GoString returns the string representation

func (*CreateProjectInput) SetClientToken

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

SetClientToken sets the ClientToken field's value.

func (*CreateProjectInput) SetPortalId

func (s *CreateProjectInput) SetPortalId(v string) *CreateProjectInput

SetPortalId sets the PortalId field's value.

func (*CreateProjectInput) SetProjectDescription

func (s *CreateProjectInput) SetProjectDescription(v string) *CreateProjectInput

SetProjectDescription sets the ProjectDescription field's value.

func (*CreateProjectInput) SetProjectName

func (s *CreateProjectInput) SetProjectName(v string) *CreateProjectInput

SetProjectName sets the ProjectName field's value.

func (*CreateProjectInput) SetTags

func (s *CreateProjectInput) SetTags(v map[string]*string) *CreateProjectInput

SetTags sets the Tags field's value.

func (CreateProjectInput) String

func (s CreateProjectInput) String() string

String returns the string representation

func (*CreateProjectInput) Validate

func (s *CreateProjectInput) Validate() error

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

type CreateProjectOutput

type CreateProjectOutput struct {

	// The ARN (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// of the project, which has the following format.
	//
	// arn:${Partition}:iotsitewise:${Region}:${Account}:project/${ProjectId}
	//
	// ProjectArn is a required field
	ProjectArn *string `locationName:"projectArn" min:"1" type:"string" required:"true"`

	// The ID of the project.
	//
	// ProjectId is a required field
	ProjectId *string `locationName:"projectId" min:"36" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (CreateProjectOutput) GoString

func (s CreateProjectOutput) GoString() string

GoString returns the string representation

func (*CreateProjectOutput) SetProjectArn

func (s *CreateProjectOutput) SetProjectArn(v string) *CreateProjectOutput

SetProjectArn sets the ProjectArn field's value.

func (*CreateProjectOutput) SetProjectId

func (s *CreateProjectOutput) SetProjectId(v string) *CreateProjectOutput

SetProjectId sets the ProjectId field's value.

func (CreateProjectOutput) String

func (s CreateProjectOutput) String() string

String returns the string representation

type DashboardSummary

type DashboardSummary struct {

	// The date the dashboard was created, in Unix epoch time.
	CreationDate *time.Time `locationName:"creationDate" type:"timestamp"`

	// The dashboard's description.
	Description *string `locationName:"description" min:"1" type:"string"`

	// The ID of the dashboard.
	//
	// Id is a required field
	Id *string `locationName:"id" min:"36" type:"string" required:"true"`

	// The date the dashboard was last updated, in Unix epoch time.
	LastUpdateDate *time.Time `locationName:"lastUpdateDate" type:"timestamp"`

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

Contains a dashboard summary.

func (DashboardSummary) GoString

func (s DashboardSummary) GoString() string

GoString returns the string representation

func (*DashboardSummary) SetCreationDate

func (s *DashboardSummary) SetCreationDate(v time.Time) *DashboardSummary

SetCreationDate sets the CreationDate field's value.

func (*DashboardSummary) SetDescription

func (s *DashboardSummary) SetDescription(v string) *DashboardSummary

SetDescription sets the Description field's value.

func (*DashboardSummary) SetId

SetId sets the Id field's value.

func (*DashboardSummary) SetLastUpdateDate

func (s *DashboardSummary) SetLastUpdateDate(v time.Time) *DashboardSummary

SetLastUpdateDate sets the LastUpdateDate field's value.

func (*DashboardSummary) SetName

func (s *DashboardSummary) SetName(v string) *DashboardSummary

SetName sets the Name field's value.

func (DashboardSummary) String

func (s DashboardSummary) String() string

String returns the string representation

type DeleteAccessPolicyInput

type DeleteAccessPolicyInput struct {

	// The ID of the access policy to be deleted.
	//
	// AccessPolicyId is a required field
	AccessPolicyId *string `location:"uri" locationName:"accessPolicyId" min:"36" type:"string" required:"true"`

	// A unique case-sensitive identifier that you can provide to ensure the idempotency
	// of the request. Don't reuse this client token if a new idempotent request
	// is required.
	ClientToken *string `location:"querystring" locationName:"clientToken" min:"36" type:"string" idempotencyToken:"true"`
	// contains filtered or unexported fields
}

func (DeleteAccessPolicyInput) GoString

func (s DeleteAccessPolicyInput) GoString() string

GoString returns the string representation

func (*DeleteAccessPolicyInput) SetAccessPolicyId

func (s *DeleteAccessPolicyInput) SetAccessPolicyId(v string) *DeleteAccessPolicyInput

SetAccessPolicyId sets the AccessPolicyId field's value.

func (*DeleteAccessPolicyInput) SetClientToken

SetClientToken sets the ClientToken field's value.

func (DeleteAccessPolicyInput) String

func (s DeleteAccessPolicyInput) String() string

String returns the string representation

func (*DeleteAccessPolicyInput) Validate

func (s *DeleteAccessPolicyInput) Validate() error

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

type DeleteAccessPolicyOutput

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

func (DeleteAccessPolicyOutput) GoString

func (s DeleteAccessPolicyOutput) GoString() string

GoString returns the string representation

func (DeleteAccessPolicyOutput) String

func (s DeleteAccessPolicyOutput) String() string

String returns the string representation

type DeleteAssetInput

type DeleteAssetInput struct {

	// The ID of the asset to delete.
	//
	// AssetId is a required field
	AssetId *string `location:"uri" locationName:"assetId" min:"36" type:"string" required:"true"`

	// A unique case-sensitive identifier that you can provide to ensure the idempotency
	// of the request. Don't reuse this client token if a new idempotent request
	// is required.
	ClientToken *string `location:"querystring" locationName:"clientToken" min:"36" type:"string" idempotencyToken:"true"`
	// contains filtered or unexported fields
}

func (DeleteAssetInput) GoString

func (s DeleteAssetInput) GoString() string

GoString returns the string representation

func (*DeleteAssetInput) SetAssetId

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

SetAssetId sets the AssetId field's value.

func (*DeleteAssetInput) SetClientToken

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

SetClientToken sets the ClientToken field's value.

func (DeleteAssetInput) String

func (s DeleteAssetInput) String() string

String returns the string representation

func (*DeleteAssetInput) Validate

func (s *DeleteAssetInput) Validate() error

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

type DeleteAssetModelInput

type DeleteAssetModelInput struct {

	// The ID of the asset model to delete.
	//
	// AssetModelId is a required field
	AssetModelId *string `location:"uri" locationName:"assetModelId" min:"36" type:"string" required:"true"`

	// A unique case-sensitive identifier that you can provide to ensure the idempotency
	// of the request. Don't reuse this client token if a new idempotent request
	// is required.
	ClientToken *string `location:"querystring" locationName:"clientToken" min:"36" type:"string" idempotencyToken:"true"`
	// contains filtered or unexported fields
}

func (DeleteAssetModelInput) GoString

func (s DeleteAssetModelInput) GoString() string

GoString returns the string representation

func (*DeleteAssetModelInput) SetAssetModelId

func (s *DeleteAssetModelInput) SetAssetModelId(v string) *DeleteAssetModelInput

SetAssetModelId sets the AssetModelId field's value.

func (*DeleteAssetModelInput) SetClientToken

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

SetClientToken sets the ClientToken field's value.

func (DeleteAssetModelInput) String

func (s DeleteAssetModelInput) String() string

String returns the string representation

func (*DeleteAssetModelInput) Validate

func (s *DeleteAssetModelInput) Validate() error

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

type DeleteAssetModelOutput

type DeleteAssetModelOutput struct {

	// The status of the asset model, which contains a state (DELETING after successfully
	// calling this operation) and any error message.
	//
	// AssetModelStatus is a required field
	AssetModelStatus *AssetModelStatus `locationName:"assetModelStatus" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteAssetModelOutput) GoString

func (s DeleteAssetModelOutput) GoString() string

GoString returns the string representation

func (*DeleteAssetModelOutput) SetAssetModelStatus

SetAssetModelStatus sets the AssetModelStatus field's value.

func (DeleteAssetModelOutput) String

func (s DeleteAssetModelOutput) String() string

String returns the string representation

type DeleteAssetOutput

type DeleteAssetOutput struct {

	// The status of the asset, which contains a state (DELETING after successfully
	// calling this operation) and any error message.
	//
	// AssetStatus is a required field
	AssetStatus *AssetStatus `locationName:"assetStatus" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteAssetOutput) GoString

func (s DeleteAssetOutput) GoString() string

GoString returns the string representation

func (*DeleteAssetOutput) SetAssetStatus

func (s *DeleteAssetOutput) SetAssetStatus(v *AssetStatus) *DeleteAssetOutput

SetAssetStatus sets the AssetStatus field's value.

func (DeleteAssetOutput) String

func (s DeleteAssetOutput) String() string

String returns the string representation

type DeleteDashboardInput

type DeleteDashboardInput struct {

	// A unique case-sensitive identifier that you can provide to ensure the idempotency
	// of the request. Don't reuse this client token if a new idempotent request
	// is required.
	ClientToken *string `location:"querystring" locationName:"clientToken" min:"36" type:"string" idempotencyToken:"true"`

	// The ID of the dashboard to delete.
	//
	// DashboardId is a required field
	DashboardId *string `location:"uri" locationName:"dashboardId" min:"36" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteDashboardInput) GoString

func (s DeleteDashboardInput) GoString() string

GoString returns the string representation

func (*DeleteDashboardInput) SetClientToken

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

SetClientToken sets the ClientToken field's value.

func (*DeleteDashboardInput) SetDashboardId

func (s *DeleteDashboardInput) SetDashboardId(v string) *DeleteDashboardInput

SetDashboardId sets the DashboardId field's value.

func (DeleteDashboardInput) String

func (s DeleteDashboardInput) String() string

String returns the string representation

func (*DeleteDashboardInput) Validate

func (s *DeleteDashboardInput) Validate() error

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

type DeleteDashboardOutput

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

func (DeleteDashboardOutput) GoString

func (s DeleteDashboardOutput) GoString() string

GoString returns the string representation

func (DeleteDashboardOutput) String

func (s DeleteDashboardOutput) String() string

String returns the string representation

type DeleteGatewayInput

type DeleteGatewayInput struct {

	// The ID of the gateway to delete.
	//
	// GatewayId is a required field
	GatewayId *string `location:"uri" locationName:"gatewayId" min:"36" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteGatewayInput) GoString

func (s DeleteGatewayInput) GoString() string

GoString returns the string representation

func (*DeleteGatewayInput) SetGatewayId

func (s *DeleteGatewayInput) SetGatewayId(v string) *DeleteGatewayInput

SetGatewayId sets the GatewayId field's value.

func (DeleteGatewayInput) String

func (s DeleteGatewayInput) String() string

String returns the string representation

func (*DeleteGatewayInput) Validate

func (s *DeleteGatewayInput) Validate() error

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

type DeleteGatewayOutput

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

func (DeleteGatewayOutput) GoString

func (s DeleteGatewayOutput) GoString() string

GoString returns the string representation

func (DeleteGatewayOutput) String

func (s DeleteGatewayOutput) String() string

String returns the string representation

type DeletePortalInput

type DeletePortalInput struct {

	// A unique case-sensitive identifier that you can provide to ensure the idempotency
	// of the request. Don't reuse this client token if a new idempotent request
	// is required.
	ClientToken *string `location:"querystring" locationName:"clientToken" min:"36" type:"string" idempotencyToken:"true"`

	// The ID of the portal to delete.
	//
	// PortalId is a required field
	PortalId *string `location:"uri" locationName:"portalId" min:"36" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeletePortalInput) GoString

func (s DeletePortalInput) GoString() string

GoString returns the string representation

func (*DeletePortalInput) SetClientToken

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

SetClientToken sets the ClientToken field's value.

func (*DeletePortalInput) SetPortalId

func (s *DeletePortalInput) SetPortalId(v string) *DeletePortalInput

SetPortalId sets the PortalId field's value.

func (DeletePortalInput) String

func (s DeletePortalInput) String() string

String returns the string representation

func (*DeletePortalInput) Validate

func (s *DeletePortalInput) Validate() error

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

type DeletePortalOutput

type DeletePortalOutput struct {

	// The status of the portal, which contains a state (DELETING after successfully
	// calling this operation) and any error message.
	//
	// PortalStatus is a required field
	PortalStatus *PortalStatus `locationName:"portalStatus" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (DeletePortalOutput) GoString

func (s DeletePortalOutput) GoString() string

GoString returns the string representation

func (*DeletePortalOutput) SetPortalStatus

func (s *DeletePortalOutput) SetPortalStatus(v *PortalStatus) *DeletePortalOutput

SetPortalStatus sets the PortalStatus field's value.

func (DeletePortalOutput) String

func (s DeletePortalOutput) String() string

String returns the string representation

type DeleteProjectInput

type DeleteProjectInput struct {

	// A unique case-sensitive identifier that you can provide to ensure the idempotency
	// of the request. Don't reuse this client token if a new idempotent request
	// is required.
	ClientToken *string `location:"querystring" locationName:"clientToken" min:"36" type:"string" idempotencyToken:"true"`

	// The ID of the project.
	//
	// ProjectId is a required field
	ProjectId *string `location:"uri" locationName:"projectId" min:"36" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteProjectInput) GoString

func (s DeleteProjectInput) GoString() string

GoString returns the string representation

func (*DeleteProjectInput) SetClientToken

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

SetClientToken sets the ClientToken field's value.

func (*DeleteProjectInput) SetProjectId

func (s *DeleteProjectInput) SetProjectId(v string) *DeleteProjectInput

SetProjectId sets the ProjectId field's value.

func (DeleteProjectInput) String

func (s DeleteProjectInput) String() string

String returns the string representation

func (*DeleteProjectInput) Validate

func (s *DeleteProjectInput) Validate() error

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

type DeleteProjectOutput

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

func (DeleteProjectOutput) GoString

func (s DeleteProjectOutput) GoString() string

GoString returns the string representation

func (DeleteProjectOutput) String

func (s DeleteProjectOutput) String() string

String returns the string representation

type DescribeAccessPolicyInput

type DescribeAccessPolicyInput struct {

	// The ID of the access policy.
	//
	// AccessPolicyId is a required field
	AccessPolicyId *string `location:"uri" locationName:"accessPolicyId" min:"36" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeAccessPolicyInput) GoString

func (s DescribeAccessPolicyInput) GoString() string

GoString returns the string representation

func (*DescribeAccessPolicyInput) SetAccessPolicyId

SetAccessPolicyId sets the AccessPolicyId field's value.

func (DescribeAccessPolicyInput) String

func (s DescribeAccessPolicyInput) String() string

String returns the string representation

func (*DescribeAccessPolicyInput) Validate

func (s *DescribeAccessPolicyInput) Validate() error

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

type DescribeAccessPolicyOutput

type DescribeAccessPolicyOutput struct {

	// The ARN (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// of the access policy, which has the following format.
	//
	// arn:${Partition}:iotsitewise:${Region}:${Account}:access-policy/${AccessPolicyId}
	//
	// AccessPolicyArn is a required field
	AccessPolicyArn *string `locationName:"accessPolicyArn" min:"1" type:"string" required:"true"`

	// The date the access policy was created, in Unix epoch time.
	//
	// AccessPolicyCreationDate is a required field
	AccessPolicyCreationDate *time.Time `locationName:"accessPolicyCreationDate" type:"timestamp" required:"true"`

	// The ID of the access policy.
	//
	// AccessPolicyId is a required field
	AccessPolicyId *string `locationName:"accessPolicyId" min:"36" type:"string" required:"true"`

	// The identity (AWS SSO user, AWS SSO group, or IAM user) to which this access
	// policy applies.
	//
	// AccessPolicyIdentity is a required field
	AccessPolicyIdentity *Identity `locationName:"accessPolicyIdentity" type:"structure" required:"true"`

	// The date the access policy was last updated, in Unix epoch time.
	//
	// AccessPolicyLastUpdateDate is a required field
	AccessPolicyLastUpdateDate *time.Time `locationName:"accessPolicyLastUpdateDate" type:"timestamp" required:"true"`

	// The access policy permission. Note that a project ADMINISTRATOR is also known
	// as a project owner.
	//
	// AccessPolicyPermission is a required field
	AccessPolicyPermission *string `locationName:"accessPolicyPermission" type:"string" required:"true" enum:"Permission"`

	// The AWS IoT SiteWise Monitor resource (portal or project) to which this access
	// policy provides access.
	//
	// AccessPolicyResource is a required field
	AccessPolicyResource *Resource `locationName:"accessPolicyResource" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeAccessPolicyOutput) GoString

func (s DescribeAccessPolicyOutput) GoString() string

GoString returns the string representation

func (*DescribeAccessPolicyOutput) SetAccessPolicyArn

SetAccessPolicyArn sets the AccessPolicyArn field's value.

func (*DescribeAccessPolicyOutput) SetAccessPolicyCreationDate

func (s *DescribeAccessPolicyOutput) SetAccessPolicyCreationDate(v time.Time) *DescribeAccessPolicyOutput

SetAccessPolicyCreationDate sets the AccessPolicyCreationDate field's value.

func (*DescribeAccessPolicyOutput) SetAccessPolicyId

SetAccessPolicyId sets the AccessPolicyId field's value.

func (*DescribeAccessPolicyOutput) SetAccessPolicyIdentity

func (s *DescribeAccessPolicyOutput) SetAccessPolicyIdentity(v *Identity) *DescribeAccessPolicyOutput

SetAccessPolicyIdentity sets the AccessPolicyIdentity field's value.

func (*DescribeAccessPolicyOutput) SetAccessPolicyLastUpdateDate

func (s *DescribeAccessPolicyOutput) SetAccessPolicyLastUpdateDate(v time.Time) *DescribeAccessPolicyOutput

SetAccessPolicyLastUpdateDate sets the AccessPolicyLastUpdateDate field's value.

func (*DescribeAccessPolicyOutput) SetAccessPolicyPermission

func (s *DescribeAccessPolicyOutput) SetAccessPolicyPermission(v string) *DescribeAccessPolicyOutput

SetAccessPolicyPermission sets the AccessPolicyPermission field's value.

func (*DescribeAccessPolicyOutput) SetAccessPolicyResource

func (s *DescribeAccessPolicyOutput) SetAccessPolicyResource(v *Resource) *DescribeAccessPolicyOutput

SetAccessPolicyResource sets the AccessPolicyResource field's value.

func (DescribeAccessPolicyOutput) String

String returns the string representation

type DescribeAssetInput

type DescribeAssetInput struct {

	// The ID of the asset.
	//
	// AssetId is a required field
	AssetId *string `location:"uri" locationName:"assetId" min:"36" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeAssetInput) GoString

func (s DescribeAssetInput) GoString() string

GoString returns the string representation

func (*DescribeAssetInput) SetAssetId

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

SetAssetId sets the AssetId field's value.

func (DescribeAssetInput) String

func (s DescribeAssetInput) String() string

String returns the string representation

func (*DescribeAssetInput) Validate

func (s *DescribeAssetInput) Validate() error

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

type DescribeAssetModelInput

type DescribeAssetModelInput struct {

	// The ID of the asset model.
	//
	// AssetModelId is a required field
	AssetModelId *string `location:"uri" locationName:"assetModelId" min:"36" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeAssetModelInput) GoString

func (s DescribeAssetModelInput) GoString() string

GoString returns the string representation

func (*DescribeAssetModelInput) SetAssetModelId

SetAssetModelId sets the AssetModelId field's value.

func (DescribeAssetModelInput) String

func (s DescribeAssetModelInput) String() string

String returns the string representation

func (*DescribeAssetModelInput) Validate

func (s *DescribeAssetModelInput) Validate() error

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

type DescribeAssetModelOutput

type DescribeAssetModelOutput struct {

	// The ARN (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// of the asset model, which has the following format.
	//
	// arn:${Partition}:iotsitewise:${Region}:${Account}:asset-model/${AssetModelId}
	//
	// AssetModelArn is a required field
	AssetModelArn *string `locationName:"assetModelArn" min:"1" type:"string" required:"true"`

	// The list of composite asset models for the asset model.
	AssetModelCompositeModels []*AssetModelCompositeModel `locationName:"assetModelCompositeModels" type:"list"`

	// The date the asset model was created, in Unix epoch time.
	//
	// AssetModelCreationDate is a required field
	AssetModelCreationDate *time.Time `locationName:"assetModelCreationDate" type:"timestamp" required:"true"`

	// The asset model's description.
	//
	// AssetModelDescription is a required field
	AssetModelDescription *string `locationName:"assetModelDescription" min:"1" type:"string" required:"true"`

	// A list of asset model hierarchies that each contain a childAssetModelId and
	// a hierarchyId (named id). A hierarchy specifies allowed parent/child asset
	// relationships for an asset model.
	//
	// AssetModelHierarchies is a required field
	AssetModelHierarchies []*AssetModelHierarchy `locationName:"assetModelHierarchies" type:"list" required:"true"`

	// The ID of the asset model.
	//
	// AssetModelId is a required field
	AssetModelId *string `locationName:"assetModelId" min:"36" type:"string" required:"true"`

	// The date the asset model was last updated, in Unix epoch time.
	//
	// AssetModelLastUpdateDate is a required field
	AssetModelLastUpdateDate *time.Time `locationName:"assetModelLastUpdateDate" type:"timestamp" required:"true"`

	// The name of the asset model.
	//
	// AssetModelName is a required field
	AssetModelName *string `locationName:"assetModelName" min:"1" type:"string" required:"true"`

	// The list of asset properties for the asset model.
	//
	// This object doesn't include properties that you define in composite models.
	// You can find composite model properties in the assetModelCompositeModels
	// object.
	//
	// AssetModelProperties is a required field
	AssetModelProperties []*AssetModelProperty `locationName:"assetModelProperties" type:"list" required:"true"`

	// The current status of the asset model, which contains a state and any error
	// message.
	//
	// AssetModelStatus is a required field
	AssetModelStatus *AssetModelStatus `locationName:"assetModelStatus" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeAssetModelOutput) GoString

func (s DescribeAssetModelOutput) GoString() string

GoString returns the string representation

func (*DescribeAssetModelOutput) SetAssetModelArn

SetAssetModelArn sets the AssetModelArn field's value.

func (*DescribeAssetModelOutput) SetAssetModelCompositeModels

func (s *DescribeAssetModelOutput) SetAssetModelCompositeModels(v []*AssetModelCompositeModel) *DescribeAssetModelOutput

SetAssetModelCompositeModels sets the AssetModelCompositeModels field's value.

func (*DescribeAssetModelOutput) SetAssetModelCreationDate

func (s *DescribeAssetModelOutput) SetAssetModelCreationDate(v time.Time) *DescribeAssetModelOutput

SetAssetModelCreationDate sets the AssetModelCreationDate field's value.

func (*DescribeAssetModelOutput) SetAssetModelDescription

func (s *DescribeAssetModelOutput) SetAssetModelDescription(v string) *DescribeAssetModelOutput

SetAssetModelDescription sets the AssetModelDescription field's value.

func (*DescribeAssetModelOutput) SetAssetModelHierarchies

func (s *DescribeAssetModelOutput) SetAssetModelHierarchies(v []*AssetModelHierarchy) *DescribeAssetModelOutput

SetAssetModelHierarchies sets the AssetModelHierarchies field's value.

func (*DescribeAssetModelOutput) SetAssetModelId

SetAssetModelId sets the AssetModelId field's value.

func (*DescribeAssetModelOutput) SetAssetModelLastUpdateDate

func (s *DescribeAssetModelOutput) SetAssetModelLastUpdateDate(v time.Time) *DescribeAssetModelOutput

SetAssetModelLastUpdateDate sets the AssetModelLastUpdateDate field's value.

func (*DescribeAssetModelOutput) SetAssetModelName

func (s *DescribeAssetModelOutput) SetAssetModelName(v string) *DescribeAssetModelOutput

SetAssetModelName sets the AssetModelName field's value.

func (*DescribeAssetModelOutput) SetAssetModelProperties

func (s *DescribeAssetModelOutput) SetAssetModelProperties(v []*AssetModelProperty) *DescribeAssetModelOutput

SetAssetModelProperties sets the AssetModelProperties field's value.

func (*DescribeAssetModelOutput) SetAssetModelStatus

SetAssetModelStatus sets the AssetModelStatus field's value.

func (DescribeAssetModelOutput) String

func (s DescribeAssetModelOutput) String() string

String returns the string representation

type DescribeAssetOutput

type DescribeAssetOutput struct {

	// The ARN (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// of the asset, which has the following format.
	//
	// arn:${Partition}:iotsitewise:${Region}:${Account}:asset/${AssetId}
	//
	// AssetArn is a required field
	AssetArn *string `locationName:"assetArn" min:"1" type:"string" required:"true"`

	// The composite models for the asset.
	AssetCompositeModels []*AssetCompositeModel `locationName:"assetCompositeModels" type:"list"`

	// The date the asset was created, in Unix epoch time.
	//
	// AssetCreationDate is a required field
	AssetCreationDate *time.Time `locationName:"assetCreationDate" type:"timestamp" required:"true"`

	// A list of asset hierarchies that each contain a hierarchyId. A hierarchy
	// specifies allowed parent/child asset relationships.
	//
	// AssetHierarchies is a required field
	AssetHierarchies []*AssetHierarchy `locationName:"assetHierarchies" type:"list" required:"true"`

	// The ID of the asset.
	//
	// AssetId is a required field
	AssetId *string `locationName:"assetId" min:"36" type:"string" required:"true"`

	// The date the asset was last updated, in Unix epoch time.
	//
	// AssetLastUpdateDate is a required field
	AssetLastUpdateDate *time.Time `locationName:"assetLastUpdateDate" type:"timestamp" required:"true"`

	// The ID of the asset model that was used to create the asset.
	//
	// AssetModelId is a required field
	AssetModelId *string `locationName:"assetModelId" min:"36" type:"string" required:"true"`

	// The name of the asset.
	//
	// AssetName is a required field
	AssetName *string `locationName:"assetName" min:"1" type:"string" required:"true"`

	// The list of asset properties for the asset.
	//
	// This object doesn't include properties that you define in composite models.
	// You can find composite model properties in the assetCompositeModels object.
	//
	// AssetProperties is a required field
	AssetProperties []*AssetProperty `locationName:"assetProperties" type:"list" required:"true"`

	// The current status of the asset, which contains a state and any error message.
	//
	// AssetStatus is a required field
	AssetStatus *AssetStatus `locationName:"assetStatus" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeAssetOutput) GoString

func (s DescribeAssetOutput) GoString() string

GoString returns the string representation

func (*DescribeAssetOutput) SetAssetArn

func (s *DescribeAssetOutput) SetAssetArn(v string) *DescribeAssetOutput

SetAssetArn sets the AssetArn field's value.

func (*DescribeAssetOutput) SetAssetCompositeModels

func (s *DescribeAssetOutput) SetAssetCompositeModels(v []*AssetCompositeModel) *DescribeAssetOutput

SetAssetCompositeModels sets the AssetCompositeModels field's value.

func (*DescribeAssetOutput) SetAssetCreationDate

func (s *DescribeAssetOutput) SetAssetCreationDate(v time.Time) *DescribeAssetOutput

SetAssetCreationDate sets the AssetCreationDate field's value.

func (*DescribeAssetOutput) SetAssetHierarchies

func (s *DescribeAssetOutput) SetAssetHierarchies(v []*AssetHierarchy) *DescribeAssetOutput

SetAssetHierarchies sets the AssetHierarchies field's value.

func (*DescribeAssetOutput) SetAssetId

SetAssetId sets the AssetId field's value.

func (*DescribeAssetOutput) SetAssetLastUpdateDate

func (s *DescribeAssetOutput) SetAssetLastUpdateDate(v time.Time) *DescribeAssetOutput

SetAssetLastUpdateDate sets the AssetLastUpdateDate field's value.

func (*DescribeAssetOutput) SetAssetModelId

func (s *DescribeAssetOutput) SetAssetModelId(v string) *DescribeAssetOutput

SetAssetModelId sets the AssetModelId field's value.

func (*DescribeAssetOutput) SetAssetName

func (s *DescribeAssetOutput) SetAssetName(v string) *DescribeAssetOutput

SetAssetName sets the AssetName field's value.

func (*DescribeAssetOutput) SetAssetProperties

func (s *DescribeAssetOutput) SetAssetProperties(v []*AssetProperty) *DescribeAssetOutput

SetAssetProperties sets the AssetProperties field's value.

func (*DescribeAssetOutput) SetAssetStatus

func (s *DescribeAssetOutput) SetAssetStatus(v *AssetStatus) *DescribeAssetOutput

SetAssetStatus sets the AssetStatus field's value.

func (DescribeAssetOutput) String

func (s DescribeAssetOutput) String() string

String returns the string representation

type DescribeAssetPropertyInput

type DescribeAssetPropertyInput struct {

	// The ID of the asset.
	//
	// AssetId is a required field
	AssetId *string `location:"uri" locationName:"assetId" min:"36" type:"string" required:"true"`

	// The ID of the asset property.
	//
	// PropertyId is a required field
	PropertyId *string `location:"uri" locationName:"propertyId" min:"36" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeAssetPropertyInput) GoString

func (s DescribeAssetPropertyInput) GoString() string

GoString returns the string representation

func (*DescribeAssetPropertyInput) SetAssetId

SetAssetId sets the AssetId field's value.

func (*DescribeAssetPropertyInput) SetPropertyId

SetPropertyId sets the PropertyId field's value.

func (DescribeAssetPropertyInput) String

String returns the string representation

func (*DescribeAssetPropertyInput) Validate

func (s *DescribeAssetPropertyInput) Validate() error

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

type DescribeAssetPropertyOutput

type DescribeAssetPropertyOutput struct {

	// The ID of the asset.
	//
	// AssetId is a required field
	AssetId *string `locationName:"assetId" min:"36" type:"string" required:"true"`

	// The ID of the asset model.
	//
	// AssetModelId is a required field
	AssetModelId *string `locationName:"assetModelId" min:"36" type:"string" required:"true"`

	// The name of the asset.
	//
	// AssetName is a required field
	AssetName *string `locationName:"assetName" min:"1" type:"string" required:"true"`

	// The asset property's definition, alias, and notification state.
	//
	// This response includes this object for normal asset properties. If you describe
	// an asset property in a composite model, this response includes the asset
	// property information in compositeModel.
	AssetProperty *Property `locationName:"assetProperty" type:"structure"`

	// The composite asset model that declares this asset property, if this asset
	// property exists in a composite model.
	CompositeModel *CompositeModelProperty `locationName:"compositeModel" type:"structure"`
	// contains filtered or unexported fields
}

func (DescribeAssetPropertyOutput) GoString

func (s DescribeAssetPropertyOutput) GoString() string

GoString returns the string representation

func (*DescribeAssetPropertyOutput) SetAssetId

SetAssetId sets the AssetId field's value.

func (*DescribeAssetPropertyOutput) SetAssetModelId

SetAssetModelId sets the AssetModelId field's value.

func (*DescribeAssetPropertyOutput) SetAssetName

SetAssetName sets the AssetName field's value.

func (*DescribeAssetPropertyOutput) SetAssetProperty

SetAssetProperty sets the AssetProperty field's value.

func (*DescribeAssetPropertyOutput) SetCompositeModel

SetCompositeModel sets the CompositeModel field's value.

func (DescribeAssetPropertyOutput) String

String returns the string representation

type DescribeDashboardInput

type DescribeDashboardInput struct {

	// The ID of the dashboard.
	//
	// DashboardId is a required field
	DashboardId *string `location:"uri" locationName:"dashboardId" min:"36" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeDashboardInput) GoString

func (s DescribeDashboardInput) GoString() string

GoString returns the string representation

func (*DescribeDashboardInput) SetDashboardId

SetDashboardId sets the DashboardId field's value.

func (DescribeDashboardInput) String

func (s DescribeDashboardInput) String() string

String returns the string representation

func (*DescribeDashboardInput) Validate

func (s *DescribeDashboardInput) Validate() error

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

type DescribeDashboardOutput

type DescribeDashboardOutput struct {

	// The ARN (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// of the dashboard, which has the following format.
	//
	// arn:${Partition}:iotsitewise:${Region}:${Account}:dashboard/${DashboardId}
	//
	// DashboardArn is a required field
	DashboardArn *string `locationName:"dashboardArn" min:"1" type:"string" required:"true"`

	// The date the dashboard was created, in Unix epoch time.
	//
	// DashboardCreationDate is a required field
	DashboardCreationDate *time.Time `locationName:"dashboardCreationDate" type:"timestamp" required:"true"`

	// The dashboard's definition JSON literal. For detailed information, see Creating
	// dashboards (CLI) (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/create-dashboards-using-aws-cli.html)
	// in the AWS IoT SiteWise User Guide.
	//
	// DashboardDefinition is a required field
	DashboardDefinition *string `locationName:"dashboardDefinition" type:"string" required:"true"`

	// The dashboard's description.
	DashboardDescription *string `locationName:"dashboardDescription" min:"1" type:"string"`

	// The ID of the dashboard.
	//
	// DashboardId is a required field
	DashboardId *string `locationName:"dashboardId" min:"36" type:"string" required:"true"`

	// The date the dashboard was last updated, in Unix epoch time.
	//
	// DashboardLastUpdateDate is a required field
	DashboardLastUpdateDate *time.Time `locationName:"dashboardLastUpdateDate" type:"timestamp" required:"true"`

	// The name of the dashboard.
	//
	// DashboardName is a required field
	DashboardName *string `locationName:"dashboardName" min:"1" type:"string" required:"true"`

	// The ID of the project that the dashboard is in.
	//
	// ProjectId is a required field
	ProjectId *string `locationName:"projectId" min:"36" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeDashboardOutput) GoString

func (s DescribeDashboardOutput) GoString() string

GoString returns the string representation

func (*DescribeDashboardOutput) SetDashboardArn

SetDashboardArn sets the DashboardArn field's value.

func (*DescribeDashboardOutput) SetDashboardCreationDate

func (s *DescribeDashboardOutput) SetDashboardCreationDate(v time.Time) *DescribeDashboardOutput

SetDashboardCreationDate sets the DashboardCreationDate field's value.

func (*DescribeDashboardOutput) SetDashboardDefinition

func (s *DescribeDashboardOutput) SetDashboardDefinition(v string) *DescribeDashboardOutput

SetDashboardDefinition sets the DashboardDefinition field's value.

func (*DescribeDashboardOutput) SetDashboardDescription

func (s *DescribeDashboardOutput) SetDashboardDescription(v string) *DescribeDashboardOutput

SetDashboardDescription sets the DashboardDescription field's value.

func (*DescribeDashboardOutput) SetDashboardId

SetDashboardId sets the DashboardId field's value.

func (*DescribeDashboardOutput) SetDashboardLastUpdateDate

func (s *DescribeDashboardOutput) SetDashboardLastUpdateDate(v time.Time) *DescribeDashboardOutput

SetDashboardLastUpdateDate sets the DashboardLastUpdateDate field's value.

func (*DescribeDashboardOutput) SetDashboardName

func (s *DescribeDashboardOutput) SetDashboardName(v string) *DescribeDashboardOutput

SetDashboardName sets the DashboardName field's value.

func (*DescribeDashboardOutput) SetProjectId

SetProjectId sets the ProjectId field's value.

func (DescribeDashboardOutput) String

func (s DescribeDashboardOutput) String() string

String returns the string representation

type DescribeDefaultEncryptionConfigurationInput

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

func (DescribeDefaultEncryptionConfigurationInput) GoString

GoString returns the string representation

func (DescribeDefaultEncryptionConfigurationInput) String

String returns the string representation

type DescribeDefaultEncryptionConfigurationOutput

type DescribeDefaultEncryptionConfigurationOutput struct {

	// The status of the account configuration. This contains the ConfigurationState.
	// If there's an error, it also contains the ErrorDetails.
	//
	// ConfigurationStatus is a required field
	ConfigurationStatus *ConfigurationStatus `locationName:"configurationStatus" type:"structure" required:"true"`

	// The type of encryption used for the encryption configuration.
	//
	// EncryptionType is a required field
	EncryptionType *string `locationName:"encryptionType" type:"string" required:"true" enum:"EncryptionType"`

	// The key ARN of the customer managed customer master key (CMK) used for AWS
	// KMS encryption if you use KMS_BASED_ENCRYPTION.
	KmsKeyArn *string `locationName:"kmsKeyArn" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (DescribeDefaultEncryptionConfigurationOutput) GoString

GoString returns the string representation

func (*DescribeDefaultEncryptionConfigurationOutput) SetConfigurationStatus

SetConfigurationStatus sets the ConfigurationStatus field's value.

func (*DescribeDefaultEncryptionConfigurationOutput) SetEncryptionType

SetEncryptionType sets the EncryptionType field's value.

func (*DescribeDefaultEncryptionConfigurationOutput) SetKmsKeyArn

SetKmsKeyArn sets the KmsKeyArn field's value.

func (DescribeDefaultEncryptionConfigurationOutput) String

String returns the string representation

type DescribeGatewayCapabilityConfigurationInput

type DescribeGatewayCapabilityConfigurationInput struct {

	// The namespace of the capability configuration. For example, if you configure
	// OPC-UA sources from the AWS IoT SiteWise console, your OPC-UA capability
	// configuration has the namespace iotsitewise:opcuacollector:version, where
	// version is a number such as 1.
	//
	// CapabilityNamespace is a required field
	CapabilityNamespace *string `location:"uri" locationName:"capabilityNamespace" min:"1" type:"string" required:"true"`

	// The ID of the gateway that defines the capability configuration.
	//
	// GatewayId is a required field
	GatewayId *string `location:"uri" locationName:"gatewayId" min:"36" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeGatewayCapabilityConfigurationInput) GoString

GoString returns the string representation

func (*DescribeGatewayCapabilityConfigurationInput) SetCapabilityNamespace

SetCapabilityNamespace sets the CapabilityNamespace field's value.

func (*DescribeGatewayCapabilityConfigurationInput) SetGatewayId

SetGatewayId sets the GatewayId field's value.

func (DescribeGatewayCapabilityConfigurationInput) String

String returns the string representation

func (*DescribeGatewayCapabilityConfigurationInput) Validate

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

type DescribeGatewayCapabilityConfigurationOutput

type DescribeGatewayCapabilityConfigurationOutput struct {

	// The JSON document that defines the gateway capability's configuration. For
	// more information, see Configuring data sources (CLI) (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/configure-sources.html#configure-source-cli)
	// in the AWS IoT SiteWise User Guide.
	//
	// CapabilityConfiguration is a required field
	CapabilityConfiguration *string `locationName:"capabilityConfiguration" min:"1" type:"string" required:"true"`

	// The namespace of the gateway capability.
	//
	// CapabilityNamespace is a required field
	CapabilityNamespace *string `locationName:"capabilityNamespace" min:"1" type:"string" required:"true"`

	// The synchronization status of the capability configuration. The sync status
	// can be one of the following:
	//
	//    * IN_SYNC – The gateway is running the capability configuration.
	//
	//    * OUT_OF_SYNC – The gateway hasn't received the capability configuration.
	//
	//    * SYNC_FAILED – The gateway rejected the capability configuration.
	//
	// CapabilitySyncStatus is a required field
	CapabilitySyncStatus *string `locationName:"capabilitySyncStatus" type:"string" required:"true" enum:"CapabilitySyncStatus"`

	// The ID of the gateway that defines the capability configuration.
	//
	// GatewayId is a required field
	GatewayId *string `locationName:"gatewayId" min:"36" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeGatewayCapabilityConfigurationOutput) GoString

GoString returns the string representation

func (*DescribeGatewayCapabilityConfigurationOutput) SetCapabilityConfiguration

SetCapabilityConfiguration sets the CapabilityConfiguration field's value.

func (*DescribeGatewayCapabilityConfigurationOutput) SetCapabilityNamespace

SetCapabilityNamespace sets the CapabilityNamespace field's value.

func (*DescribeGatewayCapabilityConfigurationOutput) SetCapabilitySyncStatus

SetCapabilitySyncStatus sets the CapabilitySyncStatus field's value.

func (*DescribeGatewayCapabilityConfigurationOutput) SetGatewayId

SetGatewayId sets the GatewayId field's value.

func (DescribeGatewayCapabilityConfigurationOutput) String

String returns the string representation

type DescribeGatewayInput

type DescribeGatewayInput struct {

	// The ID of the gateway device.
	//
	// GatewayId is a required field
	GatewayId *string `location:"uri" locationName:"gatewayId" min:"36" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeGatewayInput) GoString

func (s DescribeGatewayInput) GoString() string

GoString returns the string representation

func (*DescribeGatewayInput) SetGatewayId

func (s *DescribeGatewayInput) SetGatewayId(v string) *DescribeGatewayInput

SetGatewayId sets the GatewayId field's value.

func (DescribeGatewayInput) String

func (s DescribeGatewayInput) String() string

String returns the string representation

func (*DescribeGatewayInput) Validate

func (s *DescribeGatewayInput) Validate() error

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

type DescribeGatewayOutput

type DescribeGatewayOutput struct {

	// The date the gateway was created, in Unix epoch time.
	//
	// CreationDate is a required field
	CreationDate *time.Time `locationName:"creationDate" type:"timestamp" required:"true"`

	// The ARN (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// of the gateway, which has the following format.
	//
	// arn:${Partition}:iotsitewise:${Region}:${Account}:gateway/${GatewayId}
	//
	// GatewayArn is a required field
	GatewayArn *string `locationName:"gatewayArn" min:"1" type:"string" required:"true"`

	// A list of gateway capability summaries that each contain a namespace and
	// status. Each gateway capability defines data sources for the gateway. To
	// retrieve a capability configuration's definition, use DescribeGatewayCapabilityConfiguration
	// (https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_DescribeGatewayCapabilityConfiguration.html).
	//
	// GatewayCapabilitySummaries is a required field
	GatewayCapabilitySummaries []*GatewayCapabilitySummary `locationName:"gatewayCapabilitySummaries" type:"list" required:"true"`

	// The ID of the gateway device.
	//
	// GatewayId is a required field
	GatewayId *string `locationName:"gatewayId" min:"36" type:"string" required:"true"`

	// The name of the gateway.
	//
	// GatewayName is a required field
	GatewayName *string `locationName:"gatewayName" min:"1" type:"string" required:"true"`

	// The gateway's platform.
	GatewayPlatform *GatewayPlatform `locationName:"gatewayPlatform" type:"structure"`

	// The date the gateway was last updated, in Unix epoch time.
	//
	// LastUpdateDate is a required field
	LastUpdateDate *time.Time `locationName:"lastUpdateDate" type:"timestamp" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeGatewayOutput) GoString

func (s DescribeGatewayOutput) GoString() string

GoString returns the string representation

func (*DescribeGatewayOutput) SetCreationDate

func (s *DescribeGatewayOutput) SetCreationDate(v time.Time) *DescribeGatewayOutput

SetCreationDate sets the CreationDate field's value.

func (*DescribeGatewayOutput) SetGatewayArn

func (s *DescribeGatewayOutput) SetGatewayArn(v string) *DescribeGatewayOutput

SetGatewayArn sets the GatewayArn field's value.

func (*DescribeGatewayOutput) SetGatewayCapabilitySummaries

func (s *DescribeGatewayOutput) SetGatewayCapabilitySummaries(v []*GatewayCapabilitySummary) *DescribeGatewayOutput

SetGatewayCapabilitySummaries sets the GatewayCapabilitySummaries field's value.

func (*DescribeGatewayOutput) SetGatewayId

SetGatewayId sets the GatewayId field's value.

func (*DescribeGatewayOutput) SetGatewayName

func (s *DescribeGatewayOutput) SetGatewayName(v string) *DescribeGatewayOutput

SetGatewayName sets the GatewayName field's value.

func (*DescribeGatewayOutput) SetGatewayPlatform

func (s *DescribeGatewayOutput) SetGatewayPlatform(v *GatewayPlatform) *DescribeGatewayOutput

SetGatewayPlatform sets the GatewayPlatform field's value.

func (*DescribeGatewayOutput) SetLastUpdateDate

func (s *DescribeGatewayOutput) SetLastUpdateDate(v time.Time) *DescribeGatewayOutput

SetLastUpdateDate sets the LastUpdateDate field's value.

func (DescribeGatewayOutput) String

func (s DescribeGatewayOutput) String() string

String returns the string representation

type DescribeLoggingOptionsInput

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

func (DescribeLoggingOptionsInput) GoString

func (s DescribeLoggingOptionsInput) GoString() string

GoString returns the string representation

func (DescribeLoggingOptionsInput) String

String returns the string representation

type DescribeLoggingOptionsOutput

type DescribeLoggingOptionsOutput struct {

	// The current logging options.
	//
	// LoggingOptions is a required field
	LoggingOptions *LoggingOptions `locationName:"loggingOptions" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeLoggingOptionsOutput) GoString

func (s DescribeLoggingOptionsOutput) GoString() string

GoString returns the string representation

func (*DescribeLoggingOptionsOutput) SetLoggingOptions

SetLoggingOptions sets the LoggingOptions field's value.

func (DescribeLoggingOptionsOutput) String

String returns the string representation

type DescribePortalInput

type DescribePortalInput struct {

	// The ID of the portal.
	//
	// PortalId is a required field
	PortalId *string `location:"uri" locationName:"portalId" min:"36" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribePortalInput) GoString

func (s DescribePortalInput) GoString() string

GoString returns the string representation

func (*DescribePortalInput) SetPortalId

func (s *DescribePortalInput) SetPortalId(v string) *DescribePortalInput

SetPortalId sets the PortalId field's value.

func (DescribePortalInput) String

func (s DescribePortalInput) String() string

String returns the string representation

func (*DescribePortalInput) Validate

func (s *DescribePortalInput) Validate() error

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

type DescribePortalOutput

type DescribePortalOutput struct {

	// The ARN (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// of the portal, which has the following format.
	//
	// arn:${Partition}:iotsitewise:${Region}:${Account}:portal/${PortalId}
	//
	// PortalArn is a required field
	PortalArn *string `locationName:"portalArn" min:"1" type:"string" required:"true"`

	// The service to use to authenticate users to the portal.
	PortalAuthMode *string `locationName:"portalAuthMode" type:"string" enum:"AuthMode"`

	// The AWS SSO application generated client ID (used with AWS SSO APIs). AWS
	// IoT SiteWise includes portalClientId for only portals that use AWS SSO to
	// authenticate users.
	//
	// PortalClientId is a required field
	PortalClientId *string `locationName:"portalClientId" min:"1" type:"string" required:"true"`

	// The AWS administrator's contact email address.
	//
	// PortalContactEmail is a required field
	PortalContactEmail *string `locationName:"portalContactEmail" min:"1" type:"string" required:"true"`

	// The date the portal was created, in Unix epoch time.
	//
	// PortalCreationDate is a required field
	PortalCreationDate *time.Time `locationName:"portalCreationDate" type:"timestamp" required:"true"`

	// The portal's description.
	PortalDescription *string `locationName:"portalDescription" min:"1" type:"string"`

	// The ID of the portal.
	//
	// PortalId is a required field
	PortalId *string `locationName:"portalId" min:"36" type:"string" required:"true"`

	// The date the portal was last updated, in Unix epoch time.
	//
	// PortalLastUpdateDate is a required field
	PortalLastUpdateDate *time.Time `locationName:"portalLastUpdateDate" type:"timestamp" required:"true"`

	// The portal's logo image, which is available at a URL.
	PortalLogoImageLocation *ImageLocation `locationName:"portalLogoImageLocation" type:"structure"`

	// The name of the portal.
	//
	// PortalName is a required field
	PortalName *string `locationName:"portalName" min:"1" type:"string" required:"true"`

	// The URL for the AWS IoT SiteWise Monitor portal. You can use this URL to
	// access portals that use AWS SSO for authentication. For portals that use
	// IAM for authentication, you must use the AWS IoT SiteWise console to get
	// a URL that you can use to access the portal.
	//
	// PortalStartUrl is a required field
	PortalStartUrl *string `locationName:"portalStartUrl" min:"1" type:"string" required:"true"`

	// The current status of the portal, which contains a state and any error message.
	//
	// PortalStatus is a required field
	PortalStatus *PortalStatus `locationName:"portalStatus" type:"structure" required:"true"`

	// The ARN (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// of the service role that allows the portal's users to access your AWS IoT
	// SiteWise resources on your behalf. For more information, see Using service
	// roles for AWS IoT SiteWise Monitor (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/monitor-service-role.html)
	// in the AWS IoT SiteWise User Guide.
	RoleArn *string `locationName:"roleArn" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (DescribePortalOutput) GoString

func (s DescribePortalOutput) GoString() string

GoString returns the string representation

func (*DescribePortalOutput) SetPortalArn

func (s *DescribePortalOutput) SetPortalArn(v string) *DescribePortalOutput

SetPortalArn sets the PortalArn field's value.

func (*DescribePortalOutput) SetPortalAuthMode

func (s *DescribePortalOutput) SetPortalAuthMode(v string) *DescribePortalOutput

SetPortalAuthMode sets the PortalAuthMode field's value.

func (*DescribePortalOutput) SetPortalClientId

func (s *DescribePortalOutput) SetPortalClientId(v string) *DescribePortalOutput

SetPortalClientId sets the PortalClientId field's value.

func (*DescribePortalOutput) SetPortalContactEmail

func (s *DescribePortalOutput) SetPortalContactEmail(v string) *DescribePortalOutput

SetPortalContactEmail sets the PortalContactEmail field's value.

func (*DescribePortalOutput) SetPortalCreationDate

func (s *DescribePortalOutput) SetPortalCreationDate(v time.Time) *DescribePortalOutput

SetPortalCreationDate sets the PortalCreationDate field's value.

func (*DescribePortalOutput) SetPortalDescription

func (s *DescribePortalOutput) SetPortalDescription(v string) *DescribePortalOutput

SetPortalDescription sets the PortalDescription field's value.

func (*DescribePortalOutput) SetPortalId

SetPortalId sets the PortalId field's value.

func (*DescribePortalOutput) SetPortalLastUpdateDate

func (s *DescribePortalOutput) SetPortalLastUpdateDate(v time.Time) *DescribePortalOutput

SetPortalLastUpdateDate sets the PortalLastUpdateDate field's value.

func (*DescribePortalOutput) SetPortalLogoImageLocation

func (s *DescribePortalOutput) SetPortalLogoImageLocation(v *ImageLocation) *DescribePortalOutput

SetPortalLogoImageLocation sets the PortalLogoImageLocation field's value.

func (*DescribePortalOutput) SetPortalName

func (s *DescribePortalOutput) SetPortalName(v string) *DescribePortalOutput

SetPortalName sets the PortalName field's value.

func (*DescribePortalOutput) SetPortalStartUrl

func (s *DescribePortalOutput) SetPortalStartUrl(v string) *DescribePortalOutput

SetPortalStartUrl sets the PortalStartUrl field's value.

func (*DescribePortalOutput) SetPortalStatus

func (s *DescribePortalOutput) SetPortalStatus(v *PortalStatus) *DescribePortalOutput

SetPortalStatus sets the PortalStatus field's value.

func (*DescribePortalOutput) SetRoleArn

SetRoleArn sets the RoleArn field's value.

func (DescribePortalOutput) String

func (s DescribePortalOutput) String() string

String returns the string representation

type DescribeProjectInput

type DescribeProjectInput struct {

	// The ID of the project.
	//
	// ProjectId is a required field
	ProjectId *string `location:"uri" locationName:"projectId" min:"36" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeProjectInput) GoString

func (s DescribeProjectInput) GoString() string

GoString returns the string representation

func (*DescribeProjectInput) SetProjectId

func (s *DescribeProjectInput) SetProjectId(v string) *DescribeProjectInput

SetProjectId sets the ProjectId field's value.

func (DescribeProjectInput) String

func (s DescribeProjectInput) String() string

String returns the string representation

func (*DescribeProjectInput) Validate

func (s *DescribeProjectInput) Validate() error

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

type DescribeProjectOutput

type DescribeProjectOutput struct {

	// The ID of the portal that the project is in.
	//
	// PortalId is a required field
	PortalId *string `locationName:"portalId" min:"36" type:"string" required:"true"`

	// The ARN (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// of the project, which has the following format.
	//
	// arn:${Partition}:iotsitewise:${Region}:${Account}:project/${ProjectId}
	//
	// ProjectArn is a required field
	ProjectArn *string `locationName:"projectArn" min:"1" type:"string" required:"true"`

	// The date the project was created, in Unix epoch time.
	//
	// ProjectCreationDate is a required field
	ProjectCreationDate *time.Time `locationName:"projectCreationDate" type:"timestamp" required:"true"`

	// The project's description.
	ProjectDescription *string `locationName:"projectDescription" min:"1" type:"string"`

	// The ID of the project.
	//
	// ProjectId is a required field
	ProjectId *string `locationName:"projectId" min:"36" type:"string" required:"true"`

	// The date the project was last updated, in Unix epoch time.
	//
	// ProjectLastUpdateDate is a required field
	ProjectLastUpdateDate *time.Time `locationName:"projectLastUpdateDate" type:"timestamp" required:"true"`

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

func (DescribeProjectOutput) GoString

func (s DescribeProjectOutput) GoString() string

GoString returns the string representation

func (*DescribeProjectOutput) SetPortalId

SetPortalId sets the PortalId field's value.

func (*DescribeProjectOutput) SetProjectArn

func (s *DescribeProjectOutput) SetProjectArn(v string) *DescribeProjectOutput

SetProjectArn sets the ProjectArn field's value.

func (*DescribeProjectOutput) SetProjectCreationDate

func (s *DescribeProjectOutput) SetProjectCreationDate(v time.Time) *DescribeProjectOutput

SetProjectCreationDate sets the ProjectCreationDate field's value.

func (*DescribeProjectOutput) SetProjectDescription

func (s *DescribeProjectOutput) SetProjectDescription(v string) *DescribeProjectOutput

SetProjectDescription sets the ProjectDescription field's value.

func (*DescribeProjectOutput) SetProjectId

SetProjectId sets the ProjectId field's value.

func (*DescribeProjectOutput) SetProjectLastUpdateDate

func (s *DescribeProjectOutput) SetProjectLastUpdateDate(v time.Time) *DescribeProjectOutput

SetProjectLastUpdateDate sets the ProjectLastUpdateDate field's value.

func (*DescribeProjectOutput) SetProjectName

func (s *DescribeProjectOutput) SetProjectName(v string) *DescribeProjectOutput

SetProjectName sets the ProjectName field's value.

func (DescribeProjectOutput) String

func (s DescribeProjectOutput) String() string

String returns the string representation

type DisassociateAssetsInput

type DisassociateAssetsInput struct {

	// The ID of the parent asset from which to disassociate the child asset.
	//
	// AssetId is a required field
	AssetId *string `location:"uri" locationName:"assetId" min:"36" type:"string" required:"true"`

	// The ID of the child asset to disassociate.
	//
	// ChildAssetId is a required field
	ChildAssetId *string `locationName:"childAssetId" min:"36" type:"string" required:"true"`

	// A unique case-sensitive identifier that you can provide to ensure the idempotency
	// of the request. Don't reuse this client token if a new idempotent request
	// is required.
	ClientToken *string `locationName:"clientToken" min:"36" type:"string" idempotencyToken:"true"`

	// The ID of a hierarchy in the parent asset's model. Hierarchies allow different
	// groupings of assets to be formed that all come from the same asset model.
	// You can use the hierarchy ID to identify the correct asset to disassociate.
	// For more information, see Asset hierarchies (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/asset-hierarchies.html)
	// in the AWS IoT SiteWise User Guide.
	//
	// HierarchyId is a required field
	HierarchyId *string `locationName:"hierarchyId" min:"36" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DisassociateAssetsInput) GoString

func (s DisassociateAssetsInput) GoString() string

GoString returns the string representation

func (*DisassociateAssetsInput) SetAssetId

SetAssetId sets the AssetId field's value.

func (*DisassociateAssetsInput) SetChildAssetId

SetChildAssetId sets the ChildAssetId field's value.

func (*DisassociateAssetsInput) SetClientToken

SetClientToken sets the ClientToken field's value.

func (*DisassociateAssetsInput) SetHierarchyId

SetHierarchyId sets the HierarchyId field's value.

func (DisassociateAssetsInput) String

func (s DisassociateAssetsInput) String() string

String returns the string representation

func (*DisassociateAssetsInput) Validate

func (s *DisassociateAssetsInput) Validate() error

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

type DisassociateAssetsOutput

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

func (DisassociateAssetsOutput) GoString

func (s DisassociateAssetsOutput) GoString() string

GoString returns the string representation

func (DisassociateAssetsOutput) String

func (s DisassociateAssetsOutput) String() string

String returns the string representation

type ErrorDetails

type ErrorDetails struct {

	// The error code.
	//
	// Code is a required field
	Code *string `locationName:"code" type:"string" required:"true" enum:"ErrorCode"`

	// The error message.
	//
	// Message is a required field
	Message *string `locationName:"message" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Contains the details of an AWS IoT SiteWise error.

func (ErrorDetails) GoString

func (s ErrorDetails) GoString() string

GoString returns the string representation

func (*ErrorDetails) SetCode

func (s *ErrorDetails) SetCode(v string) *ErrorDetails

SetCode sets the Code field's value.

func (*ErrorDetails) SetMessage

func (s *ErrorDetails) SetMessage(v string) *ErrorDetails

SetMessage sets the Message field's value.

func (ErrorDetails) String

func (s ErrorDetails) String() string

String returns the string representation

type ExpressionVariable

type ExpressionVariable struct {

	// The friendly name of the variable to be used in the expression.
	//
	// Name is a required field
	Name *string `locationName:"name" min:"1" type:"string" required:"true"`

	// The variable that identifies an asset property from which to use values.
	//
	// Value is a required field
	Value *VariableValue `locationName:"value" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Contains expression variable information.

func (ExpressionVariable) GoString

func (s ExpressionVariable) GoString() string

GoString returns the string representation

func (*ExpressionVariable) SetName

SetName sets the Name field's value.

func (*ExpressionVariable) SetValue

SetValue sets the Value field's value.

func (ExpressionVariable) String

func (s ExpressionVariable) String() string

String returns the string representation

func (*ExpressionVariable) Validate

func (s *ExpressionVariable) Validate() error

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

type GatewayCapabilitySummary

type GatewayCapabilitySummary struct {

	// The namespace of the capability configuration. For example, if you configure
	// OPC-UA sources from the AWS IoT SiteWise console, your OPC-UA capability
	// configuration has the namespace iotsitewise:opcuacollector:version, where
	// version is a number such as 1.
	//
	// CapabilityNamespace is a required field
	CapabilityNamespace *string `locationName:"capabilityNamespace" min:"1" type:"string" required:"true"`

	// The synchronization status of the capability configuration. The sync status
	// can be one of the following:
	//
	//    * IN_SYNC – The gateway is running the capability configuration.
	//
	//    * OUT_OF_SYNC – The gateway hasn't received the capability configuration.
	//
	//    * SYNC_FAILED – The gateway rejected the capability configuration.
	//
	// CapabilitySyncStatus is a required field
	CapabilitySyncStatus *string `locationName:"capabilitySyncStatus" type:"string" required:"true" enum:"CapabilitySyncStatus"`
	// contains filtered or unexported fields
}

Contains a summary of a gateway capability configuration.

func (GatewayCapabilitySummary) GoString

func (s GatewayCapabilitySummary) GoString() string

GoString returns the string representation

func (*GatewayCapabilitySummary) SetCapabilityNamespace

func (s *GatewayCapabilitySummary) SetCapabilityNamespace(v string) *GatewayCapabilitySummary

SetCapabilityNamespace sets the CapabilityNamespace field's value.

func (*GatewayCapabilitySummary) SetCapabilitySyncStatus

func (s *GatewayCapabilitySummary) SetCapabilitySyncStatus(v string) *GatewayCapabilitySummary

SetCapabilitySyncStatus sets the CapabilitySyncStatus field's value.

func (GatewayCapabilitySummary) String

func (s GatewayCapabilitySummary) String() string

String returns the string representation

type GatewayPlatform

type GatewayPlatform struct {

	// A gateway that runs on AWS IoT Greengrass.
	//
	// Greengrass is a required field
	Greengrass *Greengrass `locationName:"greengrass" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Contains a gateway's platform information.

func (GatewayPlatform) GoString

func (s GatewayPlatform) GoString() string

GoString returns the string representation

func (*GatewayPlatform) SetGreengrass

func (s *GatewayPlatform) SetGreengrass(v *Greengrass) *GatewayPlatform

SetGreengrass sets the Greengrass field's value.

func (GatewayPlatform) String

func (s GatewayPlatform) String() string

String returns the string representation

func (*GatewayPlatform) Validate

func (s *GatewayPlatform) Validate() error

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

type GatewaySummary

type GatewaySummary struct {

	// The date the gateway was created, in Unix epoch time.
	//
	// CreationDate is a required field
	CreationDate *time.Time `locationName:"creationDate" type:"timestamp" required:"true"`

	// A list of gateway capability summaries that each contain a namespace and
	// status. Each gateway capability defines data sources for the gateway. To
	// retrieve a capability configuration's definition, use DescribeGatewayCapabilityConfiguration
	// (https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_DescribeGatewayCapabilityConfiguration.html).
	GatewayCapabilitySummaries []*GatewayCapabilitySummary `locationName:"gatewayCapabilitySummaries" type:"list"`

	// The ID of the gateway device.
	//
	// GatewayId is a required field
	GatewayId *string `locationName:"gatewayId" min:"36" type:"string" required:"true"`

	// The name of the asset.
	//
	// GatewayName is a required field
	GatewayName *string `locationName:"gatewayName" min:"1" type:"string" required:"true"`

	// The date the gateway was last updated, in Unix epoch time.
	//
	// LastUpdateDate is a required field
	LastUpdateDate *time.Time `locationName:"lastUpdateDate" type:"timestamp" required:"true"`
	// contains filtered or unexported fields
}

Contains a summary of a gateway.

func (GatewaySummary) GoString

func (s GatewaySummary) GoString() string

GoString returns the string representation

func (*GatewaySummary) SetCreationDate

func (s *GatewaySummary) SetCreationDate(v time.Time) *GatewaySummary

SetCreationDate sets the CreationDate field's value.

func (*GatewaySummary) SetGatewayCapabilitySummaries

func (s *GatewaySummary) SetGatewayCapabilitySummaries(v []*GatewayCapabilitySummary) *GatewaySummary

SetGatewayCapabilitySummaries sets the GatewayCapabilitySummaries field's value.

func (*GatewaySummary) SetGatewayId

func (s *GatewaySummary) SetGatewayId(v string) *GatewaySummary

SetGatewayId sets the GatewayId field's value.

func (*GatewaySummary) SetGatewayName

func (s *GatewaySummary) SetGatewayName(v string) *GatewaySummary

SetGatewayName sets the GatewayName field's value.

func (*GatewaySummary) SetLastUpdateDate

func (s *GatewaySummary) SetLastUpdateDate(v time.Time) *GatewaySummary

SetLastUpdateDate sets the LastUpdateDate field's value.

func (GatewaySummary) String

func (s GatewaySummary) String() string

String returns the string representation

type GetAssetPropertyAggregatesInput

type GetAssetPropertyAggregatesInput struct {

	// The data aggregating function.
	//
	// AggregateTypes is a required field
	AggregateTypes []*string `location:"querystring" locationName:"aggregateTypes" min:"1" type:"list" required:"true"`

	// The ID of the asset.
	AssetId *string `location:"querystring" locationName:"assetId" min:"36" type:"string"`

	// The inclusive end of the range from which to query historical data, expressed
	// in seconds in Unix epoch time.
	//
	// EndDate is a required field
	EndDate *time.Time `location:"querystring" locationName:"endDate" type:"timestamp" required:"true"`

	// The maximum number of results to be returned per paginated request.
	//
	// Default: 100
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	// The token to be used for the next set of paginated results.
	NextToken *string `location:"querystring" locationName:"nextToken" min:"1" type:"string"`

	// The property alias that identifies the property, such as an OPC-UA server
	// data stream path (for example, /company/windfarm/3/turbine/7/temperature).
	// For more information, see Mapping industrial data streams to asset properties
	// (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/connect-data-streams.html)
	// in the AWS IoT SiteWise User Guide.
	PropertyAlias *string `location:"querystring" locationName:"propertyAlias" min:"1" type:"string"`

	// The ID of the asset property.
	PropertyId *string `location:"querystring" locationName:"propertyId" min:"36" type:"string"`

	// The quality by which to filter asset data.
	Qualities []*string `location:"querystring" locationName:"qualities" min:"1" type:"list"`

	// The time interval over which to aggregate data.
	//
	// Resolution is a required field
	Resolution *string `location:"querystring" locationName:"resolution" min:"2" type:"string" required:"true"`

	// The exclusive start of the range from which to query historical data, expressed
	// in seconds in Unix epoch time.
	//
	// StartDate is a required field
	StartDate *time.Time `location:"querystring" locationName:"startDate" type:"timestamp" required:"true"`

	// The chronological sorting order of the requested information.
	//
	// Default: ASCENDING
	TimeOrdering *string `location:"querystring" locationName:"timeOrdering" type:"string" enum:"TimeOrdering"`
	// contains filtered or unexported fields
}

func (GetAssetPropertyAggregatesInput) GoString

GoString returns the string representation

func (*GetAssetPropertyAggregatesInput) SetAggregateTypes

SetAggregateTypes sets the AggregateTypes field's value.

func (*GetAssetPropertyAggregatesInput) SetAssetId

SetAssetId sets the AssetId field's value.

func (*GetAssetPropertyAggregatesInput) SetEndDate

SetEndDate sets the EndDate field's value.

func (*GetAssetPropertyAggregatesInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*GetAssetPropertyAggregatesInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*GetAssetPropertyAggregatesInput) SetPropertyAlias

SetPropertyAlias sets the PropertyAlias field's value.

func (*GetAssetPropertyAggregatesInput) SetPropertyId

SetPropertyId sets the PropertyId field's value.

func (*GetAssetPropertyAggregatesInput) SetQualities

SetQualities sets the Qualities field's value.

func (*GetAssetPropertyAggregatesInput) SetResolution

SetResolution sets the Resolution field's value.

func (*GetAssetPropertyAggregatesInput) SetStartDate

SetStartDate sets the StartDate field's value.

func (*GetAssetPropertyAggregatesInput) SetTimeOrdering

SetTimeOrdering sets the TimeOrdering field's value.

func (GetAssetPropertyAggregatesInput) String

String returns the string representation

func (*GetAssetPropertyAggregatesInput) Validate

func (s *GetAssetPropertyAggregatesInput) Validate() error

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

type GetAssetPropertyAggregatesOutput

type GetAssetPropertyAggregatesOutput struct {

	// The requested aggregated values.
	//
	// AggregatedValues is a required field
	AggregatedValues []*AggregatedValue `locationName:"aggregatedValues" type:"list" required:"true"`

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

func (GetAssetPropertyAggregatesOutput) GoString

GoString returns the string representation

func (*GetAssetPropertyAggregatesOutput) SetAggregatedValues

SetAggregatedValues sets the AggregatedValues field's value.

func (*GetAssetPropertyAggregatesOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (GetAssetPropertyAggregatesOutput) String

String returns the string representation

type GetAssetPropertyValueHistoryInput

type GetAssetPropertyValueHistoryInput struct {

	// The ID of the asset.
	AssetId *string `location:"querystring" locationName:"assetId" min:"36" type:"string"`

	// The inclusive end of the range from which to query historical data, expressed
	// in seconds in Unix epoch time.
	EndDate *time.Time `location:"querystring" locationName:"endDate" type:"timestamp"`

	// The maximum number of results to be returned per paginated request.
	//
	// Default: 100
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	// The token to be used for the next set of paginated results.
	NextToken *string `location:"querystring" locationName:"nextToken" min:"1" type:"string"`

	// The property alias that identifies the property, such as an OPC-UA server
	// data stream path (for example, /company/windfarm/3/turbine/7/temperature).
	// For more information, see Mapping industrial data streams to asset properties
	// (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/connect-data-streams.html)
	// in the AWS IoT SiteWise User Guide.
	PropertyAlias *string `location:"querystring" locationName:"propertyAlias" min:"1" type:"string"`

	// The ID of the asset property.
	PropertyId *string `location:"querystring" locationName:"propertyId" min:"36" type:"string"`

	// The quality by which to filter asset data.
	Qualities []*string `location:"querystring" locationName:"qualities" min:"1" type:"list"`

	// The exclusive start of the range from which to query historical data, expressed
	// in seconds in Unix epoch time.
	StartDate *time.Time `location:"querystring" locationName:"startDate" type:"timestamp"`

	// The chronological sorting order of the requested information.
	//
	// Default: ASCENDING
	TimeOrdering *string `location:"querystring" locationName:"timeOrdering" type:"string" enum:"TimeOrdering"`
	// contains filtered or unexported fields
}

func (GetAssetPropertyValueHistoryInput) GoString

GoString returns the string representation

func (*GetAssetPropertyValueHistoryInput) SetAssetId

SetAssetId sets the AssetId field's value.

func (*GetAssetPropertyValueHistoryInput) SetEndDate

SetEndDate sets the EndDate field's value.

func (*GetAssetPropertyValueHistoryInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*GetAssetPropertyValueHistoryInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*GetAssetPropertyValueHistoryInput) SetPropertyAlias

SetPropertyAlias sets the PropertyAlias field's value.

func (*GetAssetPropertyValueHistoryInput) SetPropertyId

SetPropertyId sets the PropertyId field's value.

func (*GetAssetPropertyValueHistoryInput) SetQualities

SetQualities sets the Qualities field's value.

func (*GetAssetPropertyValueHistoryInput) SetStartDate

SetStartDate sets the StartDate field's value.

func (*GetAssetPropertyValueHistoryInput) SetTimeOrdering

SetTimeOrdering sets the TimeOrdering field's value.

func (GetAssetPropertyValueHistoryInput) String

String returns the string representation

func (*GetAssetPropertyValueHistoryInput) Validate

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

type GetAssetPropertyValueHistoryOutput

type GetAssetPropertyValueHistoryOutput struct {

	// The asset property's value history.
	//
	// AssetPropertyValueHistory is a required field
	AssetPropertyValueHistory []*AssetPropertyValue `locationName:"assetPropertyValueHistory" type:"list" required:"true"`

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

func (GetAssetPropertyValueHistoryOutput) GoString

GoString returns the string representation

func (*GetAssetPropertyValueHistoryOutput) SetAssetPropertyValueHistory

SetAssetPropertyValueHistory sets the AssetPropertyValueHistory field's value.

func (*GetAssetPropertyValueHistoryOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (GetAssetPropertyValueHistoryOutput) String

String returns the string representation

type GetAssetPropertyValueInput

type GetAssetPropertyValueInput struct {

	// The ID of the asset.
	AssetId *string `location:"querystring" locationName:"assetId" min:"36" type:"string"`

	// The property alias that identifies the property, such as an OPC-UA server
	// data stream path (for example, /company/windfarm/3/turbine/7/temperature).
	// For more information, see Mapping industrial data streams to asset properties
	// (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/connect-data-streams.html)
	// in the AWS IoT SiteWise User Guide.
	PropertyAlias *string `location:"querystring" locationName:"propertyAlias" min:"1" type:"string"`

	// The ID of the asset property.
	PropertyId *string `location:"querystring" locationName:"propertyId" min:"36" type:"string"`
	// contains filtered or unexported fields
}

func (GetAssetPropertyValueInput) GoString

func (s GetAssetPropertyValueInput) GoString() string

GoString returns the string representation

func (*GetAssetPropertyValueInput) SetAssetId

SetAssetId sets the AssetId field's value.

func (*GetAssetPropertyValueInput) SetPropertyAlias

SetPropertyAlias sets the PropertyAlias field's value.

func (*GetAssetPropertyValueInput) SetPropertyId

SetPropertyId sets the PropertyId field's value.

func (GetAssetPropertyValueInput) String

String returns the string representation

func (*GetAssetPropertyValueInput) Validate

func (s *GetAssetPropertyValueInput) Validate() error

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

type GetAssetPropertyValueOutput

type GetAssetPropertyValueOutput struct {

	// The current asset property value.
	PropertyValue *AssetPropertyValue `locationName:"propertyValue" type:"structure"`
	// contains filtered or unexported fields
}

func (GetAssetPropertyValueOutput) GoString

func (s GetAssetPropertyValueOutput) GoString() string

GoString returns the string representation

func (*GetAssetPropertyValueOutput) SetPropertyValue

SetPropertyValue sets the PropertyValue field's value.

func (GetAssetPropertyValueOutput) String

String returns the string representation

type Greengrass

type Greengrass struct {

	// The ARN (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// of the Greengrass group. For more information about how to find a group's
	// ARN, see ListGroups (https://docs.aws.amazon.com/greengrass/latest/apireference/listgroups-get.html)
	// and GetGroup (https://docs.aws.amazon.com/greengrass/latest/apireference/getgroup-get.html)
	// in the AWS IoT Greengrass API Reference.
	//
	// GroupArn is a required field
	GroupArn *string `locationName:"groupArn" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Contains details for a gateway that runs on AWS IoT Greengrass. To create a gateway that runs on AWS IoT Greengrass, you must add the IoT SiteWise connector to a Greengrass group and deploy it. Your Greengrass group must also have permissions to upload data to AWS IoT SiteWise. For more information, see Ingesting data using a gateway (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/gateway-connector.html) in the AWS IoT SiteWise User Guide.

func (Greengrass) GoString

func (s Greengrass) GoString() string

GoString returns the string representation

func (*Greengrass) SetGroupArn

func (s *Greengrass) SetGroupArn(v string) *Greengrass

SetGroupArn sets the GroupArn field's value.

func (Greengrass) String

func (s Greengrass) String() string

String returns the string representation

func (*Greengrass) Validate

func (s *Greengrass) Validate() error

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

type GroupIdentity

type GroupIdentity struct {

	// The AWS SSO ID of the group.
	//
	// Id is a required field
	Id *string `locationName:"id" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Contains information for a group identity in an access policy.

func (GroupIdentity) GoString

func (s GroupIdentity) GoString() string

GoString returns the string representation

func (*GroupIdentity) SetId

func (s *GroupIdentity) SetId(v string) *GroupIdentity

SetId sets the Id field's value.

func (GroupIdentity) String

func (s GroupIdentity) String() string

String returns the string representation

func (*GroupIdentity) Validate

func (s *GroupIdentity) Validate() error

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

type IAMRoleIdentity

type IAMRoleIdentity struct {

	// The ARN of the IAM role. For more information, see IAM ARNs (https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.htmll#identifiers-arns)
	// in the IAM User Guide.
	//
	// Arn is a required field
	Arn *string `locationName:"arn" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Contains information about an AWS Identity and Access Management (IAM) role. For more information, see IAM roles (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles.html) in the IAM User Guide.

func (IAMRoleIdentity) GoString

func (s IAMRoleIdentity) GoString() string

GoString returns the string representation

func (*IAMRoleIdentity) SetArn

func (s *IAMRoleIdentity) SetArn(v string) *IAMRoleIdentity

SetArn sets the Arn field's value.

func (IAMRoleIdentity) String

func (s IAMRoleIdentity) String() string

String returns the string representation

func (*IAMRoleIdentity) Validate

func (s *IAMRoleIdentity) Validate() error

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

type IAMUserIdentity

type IAMUserIdentity struct {

	// The ARN of the IAM user. For more information, see IAM ARNs (https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html)
	// in the IAM User Guide.
	//
	// If you delete the IAM user, access policies that contain this identity include
	// an empty arn. You can delete the access policy for the IAM user that no longer
	// exists.
	//
	// Arn is a required field
	Arn *string `locationName:"arn" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Contains information about an AWS Identity and Access Management (IAM) user.

func (IAMUserIdentity) GoString

func (s IAMUserIdentity) GoString() string

GoString returns the string representation

func (*IAMUserIdentity) SetArn

func (s *IAMUserIdentity) SetArn(v string) *IAMUserIdentity

SetArn sets the Arn field's value.

func (IAMUserIdentity) String

func (s IAMUserIdentity) String() string

String returns the string representation

func (*IAMUserIdentity) Validate

func (s *IAMUserIdentity) Validate() error

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

type Identity

type Identity struct {

	// An AWS SSO group identity.
	Group *GroupIdentity `locationName:"group" type:"structure"`

	// An IAM role identity.
	IamRole *IAMRoleIdentity `locationName:"iamRole" type:"structure"`

	// An IAM user identity.
	IamUser *IAMUserIdentity `locationName:"iamUser" type:"structure"`

	// An AWS SSO user identity.
	User *UserIdentity `locationName:"user" type:"structure"`
	// contains filtered or unexported fields
}

Contains an identity that can access an AWS IoT SiteWise Monitor resource.

Currently, you can't use AWS APIs to retrieve AWS SSO identity IDs. You can find the AWS SSO identity IDs in the URL of user and group pages in the AWS SSO console (https://console.aws.amazon.com/singlesignon).

func (Identity) GoString

func (s Identity) GoString() string

GoString returns the string representation

func (*Identity) SetGroup

func (s *Identity) SetGroup(v *GroupIdentity) *Identity

SetGroup sets the Group field's value.

func (*Identity) SetIamRole

func (s *Identity) SetIamRole(v *IAMRoleIdentity) *Identity

SetIamRole sets the IamRole field's value.

func (*Identity) SetIamUser

func (s *Identity) SetIamUser(v *IAMUserIdentity) *Identity

SetIamUser sets the IamUser field's value.

func (*Identity) SetUser

func (s *Identity) SetUser(v *UserIdentity) *Identity

SetUser sets the User field's value.

func (Identity) String

func (s Identity) String() string

String returns the string representation

func (*Identity) Validate

func (s *Identity) Validate() error

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

type Image

type Image struct {

	// Contains an image file.
	File *ImageFile `locationName:"file" type:"structure"`

	// The ID of an existing image. Specify this parameter to keep an existing image.
	Id *string `locationName:"id" min:"36" type:"string"`
	// contains filtered or unexported fields
}

Contains an image that is one of the following:

  • An image file. Choose this option to upload a new image.

  • The ID of an existing image. Choose this option to keep an existing image.

func (Image) GoString

func (s Image) GoString() string

GoString returns the string representation

func (*Image) SetFile

func (s *Image) SetFile(v *ImageFile) *Image

SetFile sets the File field's value.

func (*Image) SetId

func (s *Image) SetId(v string) *Image

SetId sets the Id field's value.

func (Image) String

func (s Image) String() string

String returns the string representation

func (*Image) Validate

func (s *Image) Validate() error

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

type ImageFile

type ImageFile struct {

	// The image file contents, represented as a base64-encoded string. The file
	// size must be less than 1 MB.
	//
	// Data is automatically base64 encoded/decoded by the SDK.
	//
	// Data is a required field
	Data []byte `locationName:"data" min:"1" type:"blob" required:"true"`

	// The file type of the image.
	//
	// Type is a required field
	Type *string `locationName:"type" type:"string" required:"true" enum:"ImageFileType"`
	// contains filtered or unexported fields
}

Contains an image file.

func (ImageFile) GoString

func (s ImageFile) GoString() string

GoString returns the string representation

func (*ImageFile) SetData

func (s *ImageFile) SetData(v []byte) *ImageFile

SetData sets the Data field's value.

func (*ImageFile) SetType

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

SetType sets the Type field's value.

func (ImageFile) String

func (s ImageFile) String() string

String returns the string representation

func (*ImageFile) Validate

func (s *ImageFile) Validate() error

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

type ImageLocation

type ImageLocation struct {

	// The ID of the image.
	//
	// Id is a required field
	Id *string `locationName:"id" min:"36" type:"string" required:"true"`

	// The URL where the image is available. The URL is valid for 15 minutes so
	// that you can view and download the image
	//
	// Url is a required field
	Url *string `locationName:"url" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Contains an image that is uploaded to AWS IoT SiteWise and available at a URL.

func (ImageLocation) GoString

func (s ImageLocation) GoString() string

GoString returns the string representation

func (*ImageLocation) SetId

func (s *ImageLocation) SetId(v string) *ImageLocation

SetId sets the Id field's value.

func (*ImageLocation) SetUrl

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

SetUrl sets the Url field's value.

func (ImageLocation) String

func (s ImageLocation) String() string

String returns the string representation

type InternalFailureException

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

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

AWS IoT SiteWise can't process your request right now. Try again later.

func (*InternalFailureException) Code

func (s *InternalFailureException) Code() string

Code returns the exception type name.

func (*InternalFailureException) Error

func (s *InternalFailureException) Error() string

func (InternalFailureException) GoString

func (s InternalFailureException) GoString() string

GoString returns the string representation

func (*InternalFailureException) Message

func (s *InternalFailureException) Message() string

Message returns the exception's message.

func (*InternalFailureException) OrigErr

func (s *InternalFailureException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InternalFailureException) RequestID

func (s *InternalFailureException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InternalFailureException) StatusCode

func (s *InternalFailureException) StatusCode() int

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

func (InternalFailureException) String

func (s InternalFailureException) String() string

String returns the string representation

type InvalidRequestException

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

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

func (*InvalidRequestException) Code

func (s *InvalidRequestException) Code() string

Code returns the exception type name.

func (*InvalidRequestException) Error

func (s *InvalidRequestException) Error() string

func (InvalidRequestException) GoString

func (s InvalidRequestException) GoString() string

GoString returns the string representation

func (*InvalidRequestException) Message

func (s *InvalidRequestException) Message() string

Message returns the exception's message.

func (*InvalidRequestException) OrigErr

func (s *InvalidRequestException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InvalidRequestException) RequestID

func (s *InvalidRequestException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InvalidRequestException) StatusCode

func (s *InvalidRequestException) StatusCode() int

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

func (InvalidRequestException) String

func (s InvalidRequestException) String() string

String returns the string representation

type IoTSiteWise

type IoTSiteWise struct {
	*client.Client
}

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

IoTSiteWise 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) *IoTSiteWise

New creates a new instance of the IoTSiteWise 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 IoTSiteWise client from just a session.
svc := iotsitewise.New(mySession)

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

func (*IoTSiteWise) AssociateAssets

func (c *IoTSiteWise) AssociateAssets(input *AssociateAssetsInput) (*AssociateAssetsOutput, error)

AssociateAssets API operation for AWS IoT SiteWise.

Associates a child asset with the given parent asset through a hierarchy defined in the parent asset's model. For more information, see Associating assets (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/add-associated-assets.html) in the AWS IoT SiteWise User 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 SiteWise's API operation AssociateAssets for usage and error information.

Returned Error Types:

  • InvalidRequestException The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

  • ResourceNotFoundException The requested resource can't be found.

  • InternalFailureException AWS IoT SiteWise can't process your request right now. Try again later.

  • LimitExceededException You've reached the limit for a resource. For example, this can occur if you're trying to associate more than the allowed number of child assets or attempting to create more than the allowed number of properties for an asset model.

    For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) in the AWS IoT SiteWise User Guide.

  • ThrottlingException Your request exceeded a rate limit. For example, you might have exceeded the number of AWS IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

    For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) in the AWS IoT SiteWise User Guide.

  • ConflictingOperationException Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time.

See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/AssociateAssets

func (*IoTSiteWise) AssociateAssetsRequest

func (c *IoTSiteWise) AssociateAssetsRequest(input *AssociateAssetsInput) (req *request.Request, output *AssociateAssetsOutput)

AssociateAssetsRequest generates a "aws/request.Request" representing the client's request for the AssociateAssets 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 AssociateAssets for more information on using the AssociateAssets 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 AssociateAssetsRequest method.
req, resp := client.AssociateAssetsRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/AssociateAssets

func (*IoTSiteWise) AssociateAssetsWithContext

func (c *IoTSiteWise) AssociateAssetsWithContext(ctx aws.Context, input *AssociateAssetsInput, opts ...request.Option) (*AssociateAssetsOutput, error)

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

See AssociateAssets 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 (*IoTSiteWise) BatchAssociateProjectAssets

func (c *IoTSiteWise) BatchAssociateProjectAssets(input *BatchAssociateProjectAssetsInput) (*BatchAssociateProjectAssetsOutput, error)

BatchAssociateProjectAssets API operation for AWS IoT SiteWise.

Associates a group (batch) of assets with an AWS IoT SiteWise Monitor project.

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 SiteWise's API operation BatchAssociateProjectAssets for usage and error information.

Returned Error Types:

  • InvalidRequestException The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

  • ResourceNotFoundException The requested resource can't be found.

  • InternalFailureException AWS IoT SiteWise can't process your request right now. Try again later.

  • ThrottlingException Your request exceeded a rate limit. For example, you might have exceeded the number of AWS IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

    For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) in the AWS IoT SiteWise User Guide.

  • LimitExceededException You've reached the limit for a resource. For example, this can occur if you're trying to associate more than the allowed number of child assets or attempting to create more than the allowed number of properties for an asset model.

    For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) in the AWS IoT SiteWise User Guide.

See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/BatchAssociateProjectAssets

func (*IoTSiteWise) BatchAssociateProjectAssetsRequest

func (c *IoTSiteWise) BatchAssociateProjectAssetsRequest(input *BatchAssociateProjectAssetsInput) (req *request.Request, output *BatchAssociateProjectAssetsOutput)

BatchAssociateProjectAssetsRequest generates a "aws/request.Request" representing the client's request for the BatchAssociateProjectAssets 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 BatchAssociateProjectAssets for more information on using the BatchAssociateProjectAssets 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 BatchAssociateProjectAssetsRequest method.
req, resp := client.BatchAssociateProjectAssetsRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/BatchAssociateProjectAssets

func (*IoTSiteWise) BatchAssociateProjectAssetsWithContext

func (c *IoTSiteWise) BatchAssociateProjectAssetsWithContext(ctx aws.Context, input *BatchAssociateProjectAssetsInput, opts ...request.Option) (*BatchAssociateProjectAssetsOutput, error)

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

See BatchAssociateProjectAssets 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 (*IoTSiteWise) BatchDisassociateProjectAssets

func (c *IoTSiteWise) BatchDisassociateProjectAssets(input *BatchDisassociateProjectAssetsInput) (*BatchDisassociateProjectAssetsOutput, error)

BatchDisassociateProjectAssets API operation for AWS IoT SiteWise.

Disassociates a group (batch) of assets from an AWS IoT SiteWise Monitor project.

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 SiteWise's API operation BatchDisassociateProjectAssets for usage and error information.

Returned Error Types:

  • InvalidRequestException The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

  • ResourceNotFoundException The requested resource can't be found.

  • InternalFailureException AWS IoT SiteWise can't process your request right now. Try again later.

  • ThrottlingException Your request exceeded a rate limit. For example, you might have exceeded the number of AWS IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

    For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) in the AWS IoT SiteWise User Guide.

See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/BatchDisassociateProjectAssets

func (*IoTSiteWise) BatchDisassociateProjectAssetsRequest

func (c *IoTSiteWise) BatchDisassociateProjectAssetsRequest(input *BatchDisassociateProjectAssetsInput) (req *request.Request, output *BatchDisassociateProjectAssetsOutput)

BatchDisassociateProjectAssetsRequest generates a "aws/request.Request" representing the client's request for the BatchDisassociateProjectAssets 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 BatchDisassociateProjectAssets for more information on using the BatchDisassociateProjectAssets 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 BatchDisassociateProjectAssetsRequest method.
req, resp := client.BatchDisassociateProjectAssetsRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/BatchDisassociateProjectAssets

func (*IoTSiteWise) BatchDisassociateProjectAssetsWithContext

func (c *IoTSiteWise) BatchDisassociateProjectAssetsWithContext(ctx aws.Context, input *BatchDisassociateProjectAssetsInput, opts ...request.Option) (*BatchDisassociateProjectAssetsOutput, error)

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

See BatchDisassociateProjectAssets 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 (*IoTSiteWise) BatchPutAssetPropertyValue

func (c *IoTSiteWise) BatchPutAssetPropertyValue(input *BatchPutAssetPropertyValueInput) (*BatchPutAssetPropertyValueOutput, error)

BatchPutAssetPropertyValue API operation for AWS IoT SiteWise.

Sends a list of asset property values to AWS IoT SiteWise. Each value is a timestamp-quality-value (TQV) data point. For more information, see Ingesting data using the API (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/ingest-api.html) in the AWS IoT SiteWise User Guide.

To identify an asset property, you must specify one of the following:

With respect to Unix epoch time, AWS IoT SiteWise accepts only TQVs that have a timestamp of no more than 7 days in the past and no more than 5 minutes in the future. AWS IoT SiteWise rejects timestamps outside of the inclusive range of [-7 days, +5 minutes] and returns a TimestampOutOfRangeException error.

For each asset property, AWS IoT SiteWise overwrites TQVs with duplicate timestamps unless the newer TQV has a different quality. For example, if you store a TQV {T1, GOOD, V1}, then storing {T1, GOOD, V2} replaces the existing TQV.

AWS IoT SiteWise authorizes access to each BatchPutAssetPropertyValue entry individually. For more information, see BatchPutAssetPropertyValue authorization (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/security_iam_service-with-iam.html#security_iam_service-with-iam-id-based-policies-batchputassetpropertyvalue-action) in the AWS IoT SiteWise User 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 SiteWise's API operation BatchPutAssetPropertyValue for usage and error information.

Returned Error Types:

  • InvalidRequestException The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

  • ResourceNotFoundException The requested resource can't be found.

  • InternalFailureException AWS IoT SiteWise can't process your request right now. Try again later.

  • ThrottlingException Your request exceeded a rate limit. For example, you might have exceeded the number of AWS IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

    For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) in the AWS IoT SiteWise User Guide.

  • LimitExceededException You've reached the limit for a resource. For example, this can occur if you're trying to associate more than the allowed number of child assets or attempting to create more than the allowed number of properties for an asset model.

    For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) in the AWS IoT SiteWise User Guide.

  • ServiceUnavailableException The requested service is unavailable.

  • ConflictingOperationException Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time.

See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/BatchPutAssetPropertyValue

func (*IoTSiteWise) BatchPutAssetPropertyValueRequest

func (c *IoTSiteWise) BatchPutAssetPropertyValueRequest(input *BatchPutAssetPropertyValueInput) (req *request.Request, output *BatchPutAssetPropertyValueOutput)

BatchPutAssetPropertyValueRequest generates a "aws/request.Request" representing the client's request for the BatchPutAssetPropertyValue 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 BatchPutAssetPropertyValue for more information on using the BatchPutAssetPropertyValue 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 BatchPutAssetPropertyValueRequest method.
req, resp := client.BatchPutAssetPropertyValueRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/BatchPutAssetPropertyValue

func (*IoTSiteWise) BatchPutAssetPropertyValueWithContext

func (c *IoTSiteWise) BatchPutAssetPropertyValueWithContext(ctx aws.Context, input *BatchPutAssetPropertyValueInput, opts ...request.Option) (*BatchPutAssetPropertyValueOutput, error)

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

See BatchPutAssetPropertyValue 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 (*IoTSiteWise) CreateAccessPolicy

func (c *IoTSiteWise) CreateAccessPolicy(input *CreateAccessPolicyInput) (*CreateAccessPolicyOutput, error)

CreateAccessPolicy API operation for AWS IoT SiteWise.

Creates an access policy that grants the specified identity (AWS SSO user, AWS SSO group, or IAM user) access to the specified AWS IoT SiteWise Monitor portal or project 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 SiteWise's API operation CreateAccessPolicy for usage and error information.

Returned Error Types:

  • InvalidRequestException The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

  • ResourceNotFoundException The requested resource can't be found.

  • InternalFailureException AWS IoT SiteWise can't process your request right now. Try again later.

  • ThrottlingException Your request exceeded a rate limit. For example, you might have exceeded the number of AWS IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

    For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) in the AWS IoT SiteWise User Guide.

  • LimitExceededException You've reached the limit for a resource. For example, this can occur if you're trying to associate more than the allowed number of child assets or attempting to create more than the allowed number of properties for an asset model.

    For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) in the AWS IoT SiteWise User Guide.

See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/CreateAccessPolicy

func (*IoTSiteWise) CreateAccessPolicyRequest

func (c *IoTSiteWise) CreateAccessPolicyRequest(input *CreateAccessPolicyInput) (req *request.Request, output *CreateAccessPolicyOutput)

CreateAccessPolicyRequest generates a "aws/request.Request" representing the client's request for the CreateAccessPolicy 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 CreateAccessPolicy for more information on using the CreateAccessPolicy 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 CreateAccessPolicyRequest method.
req, resp := client.CreateAccessPolicyRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/CreateAccessPolicy

func (*IoTSiteWise) CreateAccessPolicyWithContext

func (c *IoTSiteWise) CreateAccessPolicyWithContext(ctx aws.Context, input *CreateAccessPolicyInput, opts ...request.Option) (*CreateAccessPolicyOutput, error)

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

See CreateAccessPolicy 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 (*IoTSiteWise) CreateAsset

func (c *IoTSiteWise) CreateAsset(input *CreateAssetInput) (*CreateAssetOutput, error)

CreateAsset API operation for AWS IoT SiteWise.

Creates an asset from an existing asset model. For more information, see Creating assets (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/create-assets.html) in the AWS IoT SiteWise User 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 SiteWise's API operation CreateAsset for usage and error information.

Returned Error Types:

  • InvalidRequestException The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

  • ResourceAlreadyExistsException The resource already exists.

  • ResourceNotFoundException The requested resource can't be found.

  • InternalFailureException AWS IoT SiteWise can't process your request right now. Try again later.

  • ThrottlingException Your request exceeded a rate limit. For example, you might have exceeded the number of AWS IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

    For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) in the AWS IoT SiteWise User Guide.

  • LimitExceededException You've reached the limit for a resource. For example, this can occur if you're trying to associate more than the allowed number of child assets or attempting to create more than the allowed number of properties for an asset model.

    For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) in the AWS IoT SiteWise User Guide.

  • ConflictingOperationException Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time.

See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/CreateAsset

func (*IoTSiteWise) CreateAssetModel

func (c *IoTSiteWise) CreateAssetModel(input *CreateAssetModelInput) (*CreateAssetModelOutput, error)

CreateAssetModel API operation for AWS IoT SiteWise.

Creates an asset model from specified property and hierarchy definitions. You create assets from asset models. With asset models, you can easily create assets of the same type that have standardized definitions. Each asset created from a model inherits the asset model's property and hierarchy definitions. For more information, see Defining asset models (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/define-models.html) in the AWS IoT SiteWise User 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 SiteWise's API operation CreateAssetModel for usage and error information.

Returned Error Types:

  • InvalidRequestException The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

  • ResourceAlreadyExistsException The resource already exists.

  • ResourceNotFoundException The requested resource can't be found.

  • InternalFailureException AWS IoT SiteWise can't process your request right now. Try again later.

  • ThrottlingException Your request exceeded a rate limit. For example, you might have exceeded the number of AWS IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

    For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) in the AWS IoT SiteWise User Guide.

  • LimitExceededException You've reached the limit for a resource. For example, this can occur if you're trying to associate more than the allowed number of child assets or attempting to create more than the allowed number of properties for an asset model.

    For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) in the AWS IoT SiteWise User Guide.

  • ConflictingOperationException Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time.

See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/CreateAssetModel

func (*IoTSiteWise) CreateAssetModelRequest

func (c *IoTSiteWise) CreateAssetModelRequest(input *CreateAssetModelInput) (req *request.Request, output *CreateAssetModelOutput)

CreateAssetModelRequest generates a "aws/request.Request" representing the client's request for the CreateAssetModel 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 CreateAssetModel for more information on using the CreateAssetModel 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 CreateAssetModelRequest method.
req, resp := client.CreateAssetModelRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/CreateAssetModel

func (*IoTSiteWise) CreateAssetModelWithContext

func (c *IoTSiteWise) CreateAssetModelWithContext(ctx aws.Context, input *CreateAssetModelInput, opts ...request.Option) (*CreateAssetModelOutput, error)

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

See CreateAssetModel 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 (*IoTSiteWise) CreateAssetRequest

func (c *IoTSiteWise) CreateAssetRequest(input *CreateAssetInput) (req *request.Request, output *CreateAssetOutput)

CreateAssetRequest generates a "aws/request.Request" representing the client's request for the CreateAsset 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 CreateAsset for more information on using the CreateAsset 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 CreateAssetRequest method.
req, resp := client.CreateAssetRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/CreateAsset

func (*IoTSiteWise) CreateAssetWithContext

func (c *IoTSiteWise) CreateAssetWithContext(ctx aws.Context, input *CreateAssetInput, opts ...request.Option) (*CreateAssetOutput, error)

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

See CreateAsset 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 (*IoTSiteWise) CreateDashboard

func (c *IoTSiteWise) CreateDashboard(input *CreateDashboardInput) (*CreateDashboardOutput, error)

CreateDashboard API operation for AWS IoT SiteWise.

Creates a dashboard in an AWS IoT SiteWise Monitor project.

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 SiteWise's API operation CreateDashboard for usage and error information.

Returned Error Types:

  • InvalidRequestException The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

  • ResourceNotFoundException The requested resource can't be found.

  • InternalFailureException AWS IoT SiteWise can't process your request right now. Try again later.

  • ThrottlingException Your request exceeded a rate limit. For example, you might have exceeded the number of AWS IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

    For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) in the AWS IoT SiteWise User Guide.

  • LimitExceededException You've reached the limit for a resource. For example, this can occur if you're trying to associate more than the allowed number of child assets or attempting to create more than the allowed number of properties for an asset model.

    For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) in the AWS IoT SiteWise User Guide.

See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/CreateDashboard

func (*IoTSiteWise) CreateDashboardRequest

func (c *IoTSiteWise) CreateDashboardRequest(input *CreateDashboardInput) (req *request.Request, output *CreateDashboardOutput)

CreateDashboardRequest generates a "aws/request.Request" representing the client's request for the CreateDashboard 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 CreateDashboard for more information on using the CreateDashboard 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 CreateDashboardRequest method.
req, resp := client.CreateDashboardRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/CreateDashboard

func (*IoTSiteWise) CreateDashboardWithContext

func (c *IoTSiteWise) CreateDashboardWithContext(ctx aws.Context, input *CreateDashboardInput, opts ...request.Option) (*CreateDashboardOutput, error)

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

See CreateDashboard 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 (*IoTSiteWise) CreateGateway

func (c *IoTSiteWise) CreateGateway(input *CreateGatewayInput) (*CreateGatewayOutput, error)

CreateGateway API operation for AWS IoT SiteWise.

Creates a gateway, which is a virtual or edge device that delivers industrial data streams from local servers to AWS IoT SiteWise. For more information, see Ingesting data using a gateway (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/gateway-connector.html) in the AWS IoT SiteWise User 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 SiteWise's API operation CreateGateway for usage and error information.

Returned Error Types:

  • InvalidRequestException The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

  • ResourceAlreadyExistsException The resource already exists.

  • InternalFailureException AWS IoT SiteWise can't process your request right now. Try again later.

  • ThrottlingException Your request exceeded a rate limit. For example, you might have exceeded the number of AWS IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

    For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) in the AWS IoT SiteWise User Guide.

  • LimitExceededException You've reached the limit for a resource. For example, this can occur if you're trying to associate more than the allowed number of child assets or attempting to create more than the allowed number of properties for an asset model.

    For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) in the AWS IoT SiteWise User Guide.

See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/CreateGateway

func (*IoTSiteWise) CreateGatewayRequest

func (c *IoTSiteWise) CreateGatewayRequest(input *CreateGatewayInput) (req *request.Request, output *CreateGatewayOutput)

CreateGatewayRequest generates a "aws/request.Request" representing the client's request for the CreateGateway 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 CreateGateway for more information on using the CreateGateway 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 CreateGatewayRequest method.
req, resp := client.CreateGatewayRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/CreateGateway

func (*IoTSiteWise) CreateGatewayWithContext

func (c *IoTSiteWise) CreateGatewayWithContext(ctx aws.Context, input *CreateGatewayInput, opts ...request.Option) (*CreateGatewayOutput, error)

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

See CreateGateway 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 (*IoTSiteWise) CreatePortal

func (c *IoTSiteWise) CreatePortal(input *CreatePortalInput) (*CreatePortalOutput, error)

CreatePortal API operation for AWS IoT SiteWise.

Creates a portal, which can contain projects and dashboards. AWS IoT SiteWise Monitor uses AWS SSO or IAM to authenticate portal users and manage user permissions.

Before you can sign in to a new portal, you must add at least one identity to that portal. For more information, see Adding or removing portal administrators (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/administer-portals.html#portal-change-admins) in the AWS IoT SiteWise User 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 SiteWise's API operation CreatePortal for usage and error information.

Returned Error Types:

  • InvalidRequestException The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

  • ResourceNotFoundException The requested resource can't be found.

  • InternalFailureException AWS IoT SiteWise can't process your request right now. Try again later.

  • ThrottlingException Your request exceeded a rate limit. For example, you might have exceeded the number of AWS IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

    For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) in the AWS IoT SiteWise User Guide.

  • LimitExceededException You've reached the limit for a resource. For example, this can occur if you're trying to associate more than the allowed number of child assets or attempting to create more than the allowed number of properties for an asset model.

    For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) in the AWS IoT SiteWise User Guide.

See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/CreatePortal

func (*IoTSiteWise) CreatePortalRequest

func (c *IoTSiteWise) CreatePortalRequest(input *CreatePortalInput) (req *request.Request, output *CreatePortalOutput)

CreatePortalRequest generates a "aws/request.Request" representing the client's request for the CreatePortal 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 CreatePortal for more information on using the CreatePortal 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 CreatePortalRequest method.
req, resp := client.CreatePortalRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/CreatePortal

func (*IoTSiteWise) CreatePortalWithContext

func (c *IoTSiteWise) CreatePortalWithContext(ctx aws.Context, input *CreatePortalInput, opts ...request.Option) (*CreatePortalOutput, error)

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

See CreatePortal 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 (*IoTSiteWise) CreateProject

func (c *IoTSiteWise) CreateProject(input *CreateProjectInput) (*CreateProjectOutput, error)

CreateProject API operation for AWS IoT SiteWise.

Creates a project in the specified portal.

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 SiteWise's API operation CreateProject for usage and error information.

Returned Error Types:

  • InvalidRequestException The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

  • ResourceNotFoundException The requested resource can't be found.

  • InternalFailureException AWS IoT SiteWise can't process your request right now. Try again later.

  • ThrottlingException Your request exceeded a rate limit. For example, you might have exceeded the number of AWS IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

    For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) in the AWS IoT SiteWise User Guide.

  • LimitExceededException You've reached the limit for a resource. For example, this can occur if you're trying to associate more than the allowed number of child assets or attempting to create more than the allowed number of properties for an asset model.

    For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) in the AWS IoT SiteWise User Guide.

See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/CreateProject

func (*IoTSiteWise) CreateProjectRequest

func (c *IoTSiteWise) CreateProjectRequest(input *CreateProjectInput) (req *request.Request, output *CreateProjectOutput)

CreateProjectRequest generates a "aws/request.Request" representing the client's request for the CreateProject 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 CreateProject for more information on using the CreateProject 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 CreateProjectRequest method.
req, resp := client.CreateProjectRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/CreateProject

func (*IoTSiteWise) CreateProjectWithContext

func (c *IoTSiteWise) CreateProjectWithContext(ctx aws.Context, input *CreateProjectInput, opts ...request.Option) (*CreateProjectOutput, error)

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

See CreateProject 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 (*IoTSiteWise) DeleteAccessPolicy

func (c *IoTSiteWise) DeleteAccessPolicy(input *DeleteAccessPolicyInput) (*DeleteAccessPolicyOutput, error)

DeleteAccessPolicy API operation for AWS IoT SiteWise.

Deletes an access policy that grants the specified identity access to the specified AWS IoT SiteWise Monitor resource. You can use this operation to revoke access to an AWS IoT SiteWise Monitor 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 SiteWise's API operation DeleteAccessPolicy for usage and error information.

Returned Error Types:

  • InvalidRequestException The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

  • ResourceNotFoundException The requested resource can't be found.

  • InternalFailureException AWS IoT SiteWise can't process your request right now. Try again later.

  • ThrottlingException Your request exceeded a rate limit. For example, you might have exceeded the number of AWS IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

    For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) in the AWS IoT SiteWise User Guide.

See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/DeleteAccessPolicy

func (*IoTSiteWise) DeleteAccessPolicyRequest

func (c *IoTSiteWise) DeleteAccessPolicyRequest(input *DeleteAccessPolicyInput) (req *request.Request, output *DeleteAccessPolicyOutput)

DeleteAccessPolicyRequest generates a "aws/request.Request" representing the client's request for the DeleteAccessPolicy 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 DeleteAccessPolicy for more information on using the DeleteAccessPolicy 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 DeleteAccessPolicyRequest method.
req, resp := client.DeleteAccessPolicyRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/DeleteAccessPolicy

func (*IoTSiteWise) DeleteAccessPolicyWithContext

func (c *IoTSiteWise) DeleteAccessPolicyWithContext(ctx aws.Context, input *DeleteAccessPolicyInput, opts ...request.Option) (*DeleteAccessPolicyOutput, error)

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

See DeleteAccessPolicy 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 (*IoTSiteWise) DeleteAsset

func (c *IoTSiteWise) DeleteAsset(input *DeleteAssetInput) (*DeleteAssetOutput, error)

DeleteAsset API operation for AWS IoT SiteWise.

Deletes an asset. This action can't be undone. For more information, see Deleting assets and models (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/delete-assets-and-models.html) in the AWS IoT SiteWise User Guide.

You can't delete an asset that's associated to another asset. For more information, see DisassociateAssets (https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_DisassociateAssets.html).

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 SiteWise's API operation DeleteAsset for usage and error information.

Returned Error Types:

  • InvalidRequestException The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

  • ResourceNotFoundException The requested resource can't be found.

  • InternalFailureException AWS IoT SiteWise can't process your request right now. Try again later.

  • ThrottlingException Your request exceeded a rate limit. For example, you might have exceeded the number of AWS IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

    For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) in the AWS IoT SiteWise User Guide.

  • ConflictingOperationException Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time.

See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/DeleteAsset

func (*IoTSiteWise) DeleteAssetModel

func (c *IoTSiteWise) DeleteAssetModel(input *DeleteAssetModelInput) (*DeleteAssetModelOutput, error)

DeleteAssetModel API operation for AWS IoT SiteWise.

Deletes an asset model. This action can't be undone. You must delete all assets created from an asset model before you can delete the model. Also, you can't delete an asset model if a parent asset model exists that contains a property formula expression that depends on the asset model that you want to delete. For more information, see Deleting assets and models (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/delete-assets-and-models.html) in the AWS IoT SiteWise User 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 SiteWise's API operation DeleteAssetModel for usage and error information.

Returned Error Types:

  • InvalidRequestException The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

  • ResourceNotFoundException The requested resource can't be found.

  • InternalFailureException AWS IoT SiteWise can't process your request right now. Try again later.

  • ThrottlingException Your request exceeded a rate limit. For example, you might have exceeded the number of AWS IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

    For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) in the AWS IoT SiteWise User Guide.

  • ConflictingOperationException Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time.

See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/DeleteAssetModel

func (*IoTSiteWise) DeleteAssetModelRequest

func (c *IoTSiteWise) DeleteAssetModelRequest(input *DeleteAssetModelInput) (req *request.Request, output *DeleteAssetModelOutput)

DeleteAssetModelRequest generates a "aws/request.Request" representing the client's request for the DeleteAssetModel 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 DeleteAssetModel for more information on using the DeleteAssetModel 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 DeleteAssetModelRequest method.
req, resp := client.DeleteAssetModelRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/DeleteAssetModel

func (*IoTSiteWise) DeleteAssetModelWithContext

func (c *IoTSiteWise) DeleteAssetModelWithContext(ctx aws.Context, input *DeleteAssetModelInput, opts ...request.Option) (*DeleteAssetModelOutput, error)

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

See DeleteAssetModel 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 (*IoTSiteWise) DeleteAssetRequest

func (c *IoTSiteWise) DeleteAssetRequest(input *DeleteAssetInput) (req *request.Request, output *DeleteAssetOutput)

DeleteAssetRequest generates a "aws/request.Request" representing the client's request for the DeleteAsset 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 DeleteAsset for more information on using the DeleteAsset 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 DeleteAssetRequest method.
req, resp := client.DeleteAssetRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/DeleteAsset

func (*IoTSiteWise) DeleteAssetWithContext

func (c *IoTSiteWise) DeleteAssetWithContext(ctx aws.Context, input *DeleteAssetInput, opts ...request.Option) (*DeleteAssetOutput, error)

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

See DeleteAsset 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 (*IoTSiteWise) DeleteDashboard

func (c *IoTSiteWise) DeleteDashboard(input *DeleteDashboardInput) (*DeleteDashboardOutput, error)

DeleteDashboard API operation for AWS IoT SiteWise.

Deletes a dashboard from AWS IoT SiteWise Monitor.

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 SiteWise's API operation DeleteDashboard for usage and error information.

Returned Error Types:

  • InvalidRequestException The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

  • ResourceNotFoundException The requested resource can't be found.

  • InternalFailureException AWS IoT SiteWise can't process your request right now. Try again later.

  • ThrottlingException Your request exceeded a rate limit. For example, you might have exceeded the number of AWS IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

    For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) in the AWS IoT SiteWise User Guide.

See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/DeleteDashboard

func (*IoTSiteWise) DeleteDashboardRequest

func (c *IoTSiteWise) DeleteDashboardRequest(input *DeleteDashboardInput) (req *request.Request, output *DeleteDashboardOutput)

DeleteDashboardRequest generates a "aws/request.Request" representing the client's request for the DeleteDashboard 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 DeleteDashboard for more information on using the DeleteDashboard 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 DeleteDashboardRequest method.
req, resp := client.DeleteDashboardRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/DeleteDashboard

func (*IoTSiteWise) DeleteDashboardWithContext

func (c *IoTSiteWise) DeleteDashboardWithContext(ctx aws.Context, input *DeleteDashboardInput, opts ...request.Option) (*DeleteDashboardOutput, error)

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

See DeleteDashboard 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 (*IoTSiteWise) DeleteGateway

func (c *IoTSiteWise) DeleteGateway(input *DeleteGatewayInput) (*DeleteGatewayOutput, error)

DeleteGateway API operation for AWS IoT SiteWise.

Deletes a gateway from AWS IoT SiteWise. When you delete a gateway, some of the gateway's files remain in your gateway's file system.

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 SiteWise's API operation DeleteGateway for usage and error information.

Returned Error Types:

  • InvalidRequestException The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

  • ResourceNotFoundException The requested resource can't be found.

  • InternalFailureException AWS IoT SiteWise can't process your request right now. Try again later.

  • ThrottlingException Your request exceeded a rate limit. For example, you might have exceeded the number of AWS IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

    For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) in the AWS IoT SiteWise User Guide.

See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/DeleteGateway

func (*IoTSiteWise) DeleteGatewayRequest

func (c *IoTSiteWise) DeleteGatewayRequest(input *DeleteGatewayInput) (req *request.Request, output *DeleteGatewayOutput)

DeleteGatewayRequest generates a "aws/request.Request" representing the client's request for the DeleteGateway 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 DeleteGateway for more information on using the DeleteGateway 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 DeleteGatewayRequest method.
req, resp := client.DeleteGatewayRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/DeleteGateway

func (*IoTSiteWise) DeleteGatewayWithContext

func (c *IoTSiteWise) DeleteGatewayWithContext(ctx aws.Context, input *DeleteGatewayInput, opts ...request.Option) (*DeleteGatewayOutput, error)

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

See DeleteGateway 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 (*IoTSiteWise) DeletePortal

func (c *IoTSiteWise) DeletePortal(input *DeletePortalInput) (*DeletePortalOutput, error)

DeletePortal API operation for AWS IoT SiteWise.

Deletes a portal from AWS IoT SiteWise Monitor.

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 SiteWise's API operation DeletePortal for usage and error information.

Returned Error Types:

  • InvalidRequestException The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

  • ResourceNotFoundException The requested resource can't be found.

  • InternalFailureException AWS IoT SiteWise can't process your request right now. Try again later.

  • ThrottlingException Your request exceeded a rate limit. For example, you might have exceeded the number of AWS IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

    For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) in the AWS IoT SiteWise User Guide.

  • ConflictingOperationException Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time.

See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/DeletePortal

func (*IoTSiteWise) DeletePortalRequest

func (c *IoTSiteWise) DeletePortalRequest(input *DeletePortalInput) (req *request.Request, output *DeletePortalOutput)

DeletePortalRequest generates a "aws/request.Request" representing the client's request for the DeletePortal 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 DeletePortal for more information on using the DeletePortal 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 DeletePortalRequest method.
req, resp := client.DeletePortalRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/DeletePortal

func (*IoTSiteWise) DeletePortalWithContext

func (c *IoTSiteWise) DeletePortalWithContext(ctx aws.Context, input *DeletePortalInput, opts ...request.Option) (*DeletePortalOutput, error)

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

See DeletePortal 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 (*IoTSiteWise) DeleteProject

func (c *IoTSiteWise) DeleteProject(input *DeleteProjectInput) (*DeleteProjectOutput, error)

DeleteProject API operation for AWS IoT SiteWise.

Deletes a project from AWS IoT SiteWise Monitor.

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 SiteWise's API operation DeleteProject for usage and error information.

Returned Error Types:

  • InvalidRequestException The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

  • ResourceNotFoundException The requested resource can't be found.

  • InternalFailureException AWS IoT SiteWise can't process your request right now. Try again later.

  • ThrottlingException Your request exceeded a rate limit. For example, you might have exceeded the number of AWS IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

    For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) in the AWS IoT SiteWise User Guide.

See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/DeleteProject

func (*IoTSiteWise) DeleteProjectRequest

func (c *IoTSiteWise) DeleteProjectRequest(input *DeleteProjectInput) (req *request.Request, output *DeleteProjectOutput)

DeleteProjectRequest generates a "aws/request.Request" representing the client's request for the DeleteProject 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 DeleteProject for more information on using the DeleteProject 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 DeleteProjectRequest method.
req, resp := client.DeleteProjectRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/DeleteProject

func (*IoTSiteWise) DeleteProjectWithContext

func (c *IoTSiteWise) DeleteProjectWithContext(ctx aws.Context, input *DeleteProjectInput, opts ...request.Option) (*DeleteProjectOutput, error)

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

See DeleteProject 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 (*IoTSiteWise) DescribeAccessPolicy

func (c *IoTSiteWise) DescribeAccessPolicy(input *DescribeAccessPolicyInput) (*DescribeAccessPolicyOutput, error)

DescribeAccessPolicy API operation for AWS IoT SiteWise.

Describes an access policy, which specifies an identity's access to an AWS IoT SiteWise Monitor portal or project.

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 SiteWise's API operation DescribeAccessPolicy for usage and error information.

Returned Error Types:

  • InvalidRequestException The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

  • ResourceNotFoundException The requested resource can't be found.

  • InternalFailureException AWS IoT SiteWise can't process your request right now. Try again later.

  • ThrottlingException Your request exceeded a rate limit. For example, you might have exceeded the number of AWS IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

    For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) in the AWS IoT SiteWise User Guide.

See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/DescribeAccessPolicy

func (*IoTSiteWise) DescribeAccessPolicyRequest

func (c *IoTSiteWise) DescribeAccessPolicyRequest(input *DescribeAccessPolicyInput) (req *request.Request, output *DescribeAccessPolicyOutput)

DescribeAccessPolicyRequest generates a "aws/request.Request" representing the client's request for the DescribeAccessPolicy 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 DescribeAccessPolicy for more information on using the DescribeAccessPolicy 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 DescribeAccessPolicyRequest method.
req, resp := client.DescribeAccessPolicyRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/DescribeAccessPolicy

func (*IoTSiteWise) DescribeAccessPolicyWithContext

func (c *IoTSiteWise) DescribeAccessPolicyWithContext(ctx aws.Context, input *DescribeAccessPolicyInput, opts ...request.Option) (*DescribeAccessPolicyOutput, error)

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

See DescribeAccessPolicy 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 (*IoTSiteWise) DescribeAsset

func (c *IoTSiteWise) DescribeAsset(input *DescribeAssetInput) (*DescribeAssetOutput, error)

DescribeAsset API operation for AWS IoT SiteWise.

Retrieves information about an asset.

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 SiteWise's API operation DescribeAsset for usage and error information.

Returned Error Types:

  • InvalidRequestException The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

  • ResourceNotFoundException The requested resource can't be found.

  • InternalFailureException AWS IoT SiteWise can't process your request right now. Try again later.

  • ThrottlingException Your request exceeded a rate limit. For example, you might have exceeded the number of AWS IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

    For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) in the AWS IoT SiteWise User Guide.

See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/DescribeAsset

func (*IoTSiteWise) DescribeAssetModel

func (c *IoTSiteWise) DescribeAssetModel(input *DescribeAssetModelInput) (*DescribeAssetModelOutput, error)

DescribeAssetModel API operation for AWS IoT SiteWise.

Retrieves information about an asset 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 SiteWise's API operation DescribeAssetModel for usage and error information.

Returned Error Types:

  • InvalidRequestException The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

  • ResourceNotFoundException The requested resource can't be found.

  • InternalFailureException AWS IoT SiteWise can't process your request right now. Try again later.

  • ThrottlingException Your request exceeded a rate limit. For example, you might have exceeded the number of AWS IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

    For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) in the AWS IoT SiteWise User Guide.

See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/DescribeAssetModel

func (*IoTSiteWise) DescribeAssetModelRequest

func (c *IoTSiteWise) DescribeAssetModelRequest(input *DescribeAssetModelInput) (req *request.Request, output *DescribeAssetModelOutput)

DescribeAssetModelRequest generates a "aws/request.Request" representing the client's request for the DescribeAssetModel 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 DescribeAssetModel for more information on using the DescribeAssetModel 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 DescribeAssetModelRequest method.
req, resp := client.DescribeAssetModelRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/DescribeAssetModel

func (*IoTSiteWise) DescribeAssetModelWithContext

func (c *IoTSiteWise) DescribeAssetModelWithContext(ctx aws.Context, input *DescribeAssetModelInput, opts ...request.Option) (*DescribeAssetModelOutput, error)

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

See DescribeAssetModel 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 (*IoTSiteWise) DescribeAssetProperty

func (c *IoTSiteWise) DescribeAssetProperty(input *DescribeAssetPropertyInput) (*DescribeAssetPropertyOutput, error)

DescribeAssetProperty API operation for AWS IoT SiteWise.

Retrieves information about an asset property.

When you call this operation for an attribute property, this response includes the default attribute value that you define in the asset model. If you update the default value in the model, this operation's response includes the new default value.

This operation doesn't return the value of the asset property. To get the value of an asset property, use GetAssetPropertyValue (https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_GetAssetPropertyValue.html).

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 SiteWise's API operation DescribeAssetProperty for usage and error information.

Returned Error Types:

  • InvalidRequestException The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

  • ResourceNotFoundException The requested resource can't be found.

  • InternalFailureException AWS IoT SiteWise can't process your request right now. Try again later.

  • ThrottlingException Your request exceeded a rate limit. For example, you might have exceeded the number of AWS IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

    For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) in the AWS IoT SiteWise User Guide.

See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/DescribeAssetProperty

func (*IoTSiteWise) DescribeAssetPropertyRequest

func (c *IoTSiteWise) DescribeAssetPropertyRequest(input *DescribeAssetPropertyInput) (req *request.Request, output *DescribeAssetPropertyOutput)

DescribeAssetPropertyRequest generates a "aws/request.Request" representing the client's request for the DescribeAssetProperty 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 DescribeAssetProperty for more information on using the DescribeAssetProperty 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 DescribeAssetPropertyRequest method.
req, resp := client.DescribeAssetPropertyRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/DescribeAssetProperty

func (*IoTSiteWise) DescribeAssetPropertyWithContext

func (c *IoTSiteWise) DescribeAssetPropertyWithContext(ctx aws.Context, input *DescribeAssetPropertyInput, opts ...request.Option) (*DescribeAssetPropertyOutput, error)

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

See DescribeAssetProperty 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 (*IoTSiteWise) DescribeAssetRequest

func (c *IoTSiteWise) DescribeAssetRequest(input *DescribeAssetInput) (req *request.Request, output *DescribeAssetOutput)

DescribeAssetRequest generates a "aws/request.Request" representing the client's request for the DescribeAsset 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 DescribeAsset for more information on using the DescribeAsset 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 DescribeAssetRequest method.
req, resp := client.DescribeAssetRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/DescribeAsset

func (*IoTSiteWise) DescribeAssetWithContext

func (c *IoTSiteWise) DescribeAssetWithContext(ctx aws.Context, input *DescribeAssetInput, opts ...request.Option) (*DescribeAssetOutput, error)

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

See DescribeAsset 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 (*IoTSiteWise) DescribeDashboard

func (c *IoTSiteWise) DescribeDashboard(input *DescribeDashboardInput) (*DescribeDashboardOutput, error)

DescribeDashboard API operation for AWS IoT SiteWise.

Retrieves information about a dashboard.

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 SiteWise's API operation DescribeDashboard for usage and error information.

Returned Error Types:

  • InvalidRequestException The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

  • ResourceNotFoundException The requested resource can't be found.

  • InternalFailureException AWS IoT SiteWise can't process your request right now. Try again later.

  • ThrottlingException Your request exceeded a rate limit. For example, you might have exceeded the number of AWS IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

    For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) in the AWS IoT SiteWise User Guide.

See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/DescribeDashboard

func (*IoTSiteWise) DescribeDashboardRequest

func (c *IoTSiteWise) DescribeDashboardRequest(input *DescribeDashboardInput) (req *request.Request, output *DescribeDashboardOutput)

DescribeDashboardRequest generates a "aws/request.Request" representing the client's request for the DescribeDashboard 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 DescribeDashboard for more information on using the DescribeDashboard 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 DescribeDashboardRequest method.
req, resp := client.DescribeDashboardRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/DescribeDashboard

func (*IoTSiteWise) DescribeDashboardWithContext

func (c *IoTSiteWise) DescribeDashboardWithContext(ctx aws.Context, input *DescribeDashboardInput, opts ...request.Option) (*DescribeDashboardOutput, error)

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

See DescribeDashboard 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 (*IoTSiteWise) DescribeDefaultEncryptionConfiguration

DescribeDefaultEncryptionConfiguration API operation for AWS IoT SiteWise.

Retrieves information about the default encryption configuration for the AWS account in the default or specified region. For more information, see Key management (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/key-management.html) in the AWS IoT SiteWise User 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 SiteWise's API operation DescribeDefaultEncryptionConfiguration for usage and error information.

Returned Error Types:

  • InvalidRequestException The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

  • InternalFailureException AWS IoT SiteWise can't process your request right now. Try again later.

  • ThrottlingException Your request exceeded a rate limit. For example, you might have exceeded the number of AWS IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

    For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) in the AWS IoT SiteWise User Guide.

See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/DescribeDefaultEncryptionConfiguration

func (*IoTSiteWise) DescribeDefaultEncryptionConfigurationRequest

func (c *IoTSiteWise) DescribeDefaultEncryptionConfigurationRequest(input *DescribeDefaultEncryptionConfigurationInput) (req *request.Request, output *DescribeDefaultEncryptionConfigurationOutput)

DescribeDefaultEncryptionConfigurationRequest generates a "aws/request.Request" representing the client's request for the DescribeDefaultEncryptionConfiguration 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 DescribeDefaultEncryptionConfiguration for more information on using the DescribeDefaultEncryptionConfiguration 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 DescribeDefaultEncryptionConfigurationRequest method.
req, resp := client.DescribeDefaultEncryptionConfigurationRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/DescribeDefaultEncryptionConfiguration

func (*IoTSiteWise) DescribeDefaultEncryptionConfigurationWithContext

func (c *IoTSiteWise) DescribeDefaultEncryptionConfigurationWithContext(ctx aws.Context, input *DescribeDefaultEncryptionConfigurationInput, opts ...request.Option) (*DescribeDefaultEncryptionConfigurationOutput, error)

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

See DescribeDefaultEncryptionConfiguration 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 (*IoTSiteWise) DescribeGateway

func (c *IoTSiteWise) DescribeGateway(input *DescribeGatewayInput) (*DescribeGatewayOutput, error)

DescribeGateway API operation for AWS IoT SiteWise.

Retrieves information about a gateway.

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 SiteWise's API operation DescribeGateway for usage and error information.

Returned Error Types:

  • InvalidRequestException The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

  • ResourceNotFoundException The requested resource can't be found.

  • InternalFailureException AWS IoT SiteWise can't process your request right now. Try again later.

  • ThrottlingException Your request exceeded a rate limit. For example, you might have exceeded the number of AWS IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

    For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) in the AWS IoT SiteWise User Guide.

See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/DescribeGateway

func (*IoTSiteWise) DescribeGatewayCapabilityConfiguration

DescribeGatewayCapabilityConfiguration API operation for AWS IoT SiteWise.

Retrieves information about a gateway capability configuration. Each gateway capability defines data sources for a gateway. A capability configuration can contain multiple data source configurations. If you define OPC-UA sources for a gateway in the AWS IoT SiteWise console, all of your OPC-UA sources are stored in one capability configuration. To list all capability configurations for a gateway, use DescribeGateway (https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_DescribeGateway.html).

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 SiteWise's API operation DescribeGatewayCapabilityConfiguration for usage and error information.

Returned Error Types:

  • InvalidRequestException The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

  • ResourceNotFoundException The requested resource can't be found.

  • InternalFailureException AWS IoT SiteWise can't process your request right now. Try again later.

  • ThrottlingException Your request exceeded a rate limit. For example, you might have exceeded the number of AWS IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

    For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) in the AWS IoT SiteWise User Guide.

See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/DescribeGatewayCapabilityConfiguration

func (*IoTSiteWise) DescribeGatewayCapabilityConfigurationRequest

func (c *IoTSiteWise) DescribeGatewayCapabilityConfigurationRequest(input *DescribeGatewayCapabilityConfigurationInput) (req *request.Request, output *DescribeGatewayCapabilityConfigurationOutput)

DescribeGatewayCapabilityConfigurationRequest generates a "aws/request.Request" representing the client's request for the DescribeGatewayCapabilityConfiguration 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 DescribeGatewayCapabilityConfiguration for more information on using the DescribeGatewayCapabilityConfiguration 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 DescribeGatewayCapabilityConfigurationRequest method.
req, resp := client.DescribeGatewayCapabilityConfigurationRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/DescribeGatewayCapabilityConfiguration

func (*IoTSiteWise) DescribeGatewayCapabilityConfigurationWithContext

func (c *IoTSiteWise) DescribeGatewayCapabilityConfigurationWithContext(ctx aws.Context, input *DescribeGatewayCapabilityConfigurationInput, opts ...request.Option) (*DescribeGatewayCapabilityConfigurationOutput, error)

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

See DescribeGatewayCapabilityConfiguration 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 (*IoTSiteWise) DescribeGatewayRequest

func (c *IoTSiteWise) DescribeGatewayRequest(input *DescribeGatewayInput) (req *request.Request, output *DescribeGatewayOutput)

DescribeGatewayRequest generates a "aws/request.Request" representing the client's request for the DescribeGateway 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 DescribeGateway for more information on using the DescribeGateway 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 DescribeGatewayRequest method.
req, resp := client.DescribeGatewayRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/DescribeGateway

func (*IoTSiteWise) DescribeGatewayWithContext

func (c *IoTSiteWise) DescribeGatewayWithContext(ctx aws.Context, input *DescribeGatewayInput, opts ...request.Option) (*DescribeGatewayOutput, error)

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

See DescribeGateway 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 (*IoTSiteWise) DescribeLoggingOptions

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

DescribeLoggingOptions API operation for AWS IoT SiteWise.

Retrieves the current AWS IoT SiteWise 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 SiteWise's API operation DescribeLoggingOptions for usage and error information.

Returned Error Types:

  • InvalidRequestException The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

  • ThrottlingException Your request exceeded a rate limit. For example, you might have exceeded the number of AWS IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

    For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) in the AWS IoT SiteWise User Guide.

  • InternalFailureException AWS IoT SiteWise can't process your request right now. Try again later.

  • ResourceNotFoundException The requested resource can't be found.

See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/DescribeLoggingOptions

func (*IoTSiteWise) DescribeLoggingOptionsRequest

func (c *IoTSiteWise) 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/iotsitewise-2019-12-02/DescribeLoggingOptions

func (*IoTSiteWise) DescribeLoggingOptionsWithContext

func (c *IoTSiteWise) 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 (*IoTSiteWise) DescribePortal

func (c *IoTSiteWise) DescribePortal(input *DescribePortalInput) (*DescribePortalOutput, error)

DescribePortal API operation for AWS IoT SiteWise.

Retrieves information about a portal.

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 SiteWise's API operation DescribePortal for usage and error information.

Returned Error Types:

  • InvalidRequestException The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

  • ResourceNotFoundException The requested resource can't be found.

  • InternalFailureException AWS IoT SiteWise can't process your request right now. Try again later.

  • ThrottlingException Your request exceeded a rate limit. For example, you might have exceeded the number of AWS IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

    For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) in the AWS IoT SiteWise User Guide.

See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/DescribePortal

func (*IoTSiteWise) DescribePortalRequest

func (c *IoTSiteWise) DescribePortalRequest(input *DescribePortalInput) (req *request.Request, output *DescribePortalOutput)

DescribePortalRequest generates a "aws/request.Request" representing the client's request for the DescribePortal 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 DescribePortal for more information on using the DescribePortal 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 DescribePortalRequest method.
req, resp := client.DescribePortalRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/DescribePortal

func (*IoTSiteWise) DescribePortalWithContext

func (c *IoTSiteWise) DescribePortalWithContext(ctx aws.Context, input *DescribePortalInput, opts ...request.Option) (*DescribePortalOutput, error)

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

See DescribePortal 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 (*IoTSiteWise) DescribeProject

func (c *IoTSiteWise) DescribeProject(input *DescribeProjectInput) (*DescribeProjectOutput, error)

DescribeProject API operation for AWS IoT SiteWise.

Retrieves information about a project.

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 SiteWise's API operation DescribeProject for usage and error information.

Returned Error Types:

  • InvalidRequestException The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

  • ResourceNotFoundException The requested resource can't be found.

  • InternalFailureException AWS IoT SiteWise can't process your request right now. Try again later.

  • ThrottlingException Your request exceeded a rate limit. For example, you might have exceeded the number of AWS IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

    For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) in the AWS IoT SiteWise User Guide.

See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/DescribeProject

func (*IoTSiteWise) DescribeProjectRequest

func (c *IoTSiteWise) DescribeProjectRequest(input *DescribeProjectInput) (req *request.Request, output *DescribeProjectOutput)

DescribeProjectRequest generates a "aws/request.Request" representing the client's request for the DescribeProject 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 DescribeProject for more information on using the DescribeProject 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 DescribeProjectRequest method.
req, resp := client.DescribeProjectRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/DescribeProject

func (*IoTSiteWise) DescribeProjectWithContext

func (c *IoTSiteWise) DescribeProjectWithContext(ctx aws.Context, input *DescribeProjectInput, opts ...request.Option) (*DescribeProjectOutput, error)

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

See DescribeProject 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 (*IoTSiteWise) DisassociateAssets

func (c *IoTSiteWise) DisassociateAssets(input *DisassociateAssetsInput) (*DisassociateAssetsOutput, error)

DisassociateAssets API operation for AWS IoT SiteWise.

Disassociates a child asset from the given parent asset through a hierarchy defined in the parent asset's 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 SiteWise's API operation DisassociateAssets for usage and error information.

Returned Error Types:

  • InvalidRequestException The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

  • ResourceNotFoundException The requested resource can't be found.

  • InternalFailureException AWS IoT SiteWise can't process your request right now. Try again later.

  • ThrottlingException Your request exceeded a rate limit. For example, you might have exceeded the number of AWS IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

    For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) in the AWS IoT SiteWise User Guide.

  • ConflictingOperationException Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time.

See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/DisassociateAssets

func (*IoTSiteWise) DisassociateAssetsRequest

func (c *IoTSiteWise) DisassociateAssetsRequest(input *DisassociateAssetsInput) (req *request.Request, output *DisassociateAssetsOutput)

DisassociateAssetsRequest generates a "aws/request.Request" representing the client's request for the DisassociateAssets 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 DisassociateAssets for more information on using the DisassociateAssets 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 DisassociateAssetsRequest method.
req, resp := client.DisassociateAssetsRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/DisassociateAssets

func (*IoTSiteWise) DisassociateAssetsWithContext

func (c *IoTSiteWise) DisassociateAssetsWithContext(ctx aws.Context, input *DisassociateAssetsInput, opts ...request.Option) (*DisassociateAssetsOutput, error)

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

See DisassociateAssets 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 (*IoTSiteWise) GetAssetPropertyAggregates

func (c *IoTSiteWise) GetAssetPropertyAggregates(input *GetAssetPropertyAggregatesInput) (*GetAssetPropertyAggregatesOutput, error)

GetAssetPropertyAggregates API operation for AWS IoT SiteWise.

Gets aggregated values for an asset property. For more information, see Querying aggregates (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/query-industrial-data.html#aggregates) in the AWS IoT SiteWise User Guide.

To identify an asset property, you must specify one of the following:

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 SiteWise's API operation GetAssetPropertyAggregates for usage and error information.

Returned Error Types:

  • InvalidRequestException The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

  • ResourceNotFoundException The requested resource can't be found.

  • InternalFailureException AWS IoT SiteWise can't process your request right now. Try again later.

  • ThrottlingException Your request exceeded a rate limit. For example, you might have exceeded the number of AWS IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

    For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) in the AWS IoT SiteWise User Guide.

  • ServiceUnavailableException The requested service is unavailable.

See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/GetAssetPropertyAggregates

func (*IoTSiteWise) GetAssetPropertyAggregatesPages

func (c *IoTSiteWise) GetAssetPropertyAggregatesPages(input *GetAssetPropertyAggregatesInput, fn func(*GetAssetPropertyAggregatesOutput, bool) bool) error

GetAssetPropertyAggregatesPages iterates over the pages of a GetAssetPropertyAggregates operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See GetAssetPropertyAggregates method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a GetAssetPropertyAggregates operation.
pageNum := 0
err := client.GetAssetPropertyAggregatesPages(params,
    func(page *iotsitewise.GetAssetPropertyAggregatesOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*IoTSiteWise) GetAssetPropertyAggregatesPagesWithContext

func (c *IoTSiteWise) GetAssetPropertyAggregatesPagesWithContext(ctx aws.Context, input *GetAssetPropertyAggregatesInput, fn func(*GetAssetPropertyAggregatesOutput, bool) bool, opts ...request.Option) error

GetAssetPropertyAggregatesPagesWithContext same as GetAssetPropertyAggregatesPages except it takes a Context and allows setting request options on the pages.

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 (*IoTSiteWise) GetAssetPropertyAggregatesRequest

func (c *IoTSiteWise) GetAssetPropertyAggregatesRequest(input *GetAssetPropertyAggregatesInput) (req *request.Request, output *GetAssetPropertyAggregatesOutput)

GetAssetPropertyAggregatesRequest generates a "aws/request.Request" representing the client's request for the GetAssetPropertyAggregates 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 GetAssetPropertyAggregates for more information on using the GetAssetPropertyAggregates 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 GetAssetPropertyAggregatesRequest method.
req, resp := client.GetAssetPropertyAggregatesRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/GetAssetPropertyAggregates

func (*IoTSiteWise) GetAssetPropertyAggregatesWithContext

func (c *IoTSiteWise) GetAssetPropertyAggregatesWithContext(ctx aws.Context, input *GetAssetPropertyAggregatesInput, opts ...request.Option) (*GetAssetPropertyAggregatesOutput, error)

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

See GetAssetPropertyAggregates 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 (*IoTSiteWise) GetAssetPropertyValue

func (c *IoTSiteWise) GetAssetPropertyValue(input *GetAssetPropertyValueInput) (*GetAssetPropertyValueOutput, error)

GetAssetPropertyValue API operation for AWS IoT SiteWise.

Gets an asset property's current value. For more information, see Querying current values (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/query-industrial-data.html#current-values) in the AWS IoT SiteWise User Guide.

To identify an asset property, you must specify one of the following:

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 SiteWise's API operation GetAssetPropertyValue for usage and error information.

Returned Error Types:

  • InvalidRequestException The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

  • ResourceNotFoundException The requested resource can't be found.

  • InternalFailureException AWS IoT SiteWise can't process your request right now. Try again later.

  • ThrottlingException Your request exceeded a rate limit. For example, you might have exceeded the number of AWS IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

    For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) in the AWS IoT SiteWise User Guide.

  • ServiceUnavailableException The requested service is unavailable.

See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/GetAssetPropertyValue

func (*IoTSiteWise) GetAssetPropertyValueHistory

func (c *IoTSiteWise) GetAssetPropertyValueHistory(input *GetAssetPropertyValueHistoryInput) (*GetAssetPropertyValueHistoryOutput, error)

GetAssetPropertyValueHistory API operation for AWS IoT SiteWise.

Gets the history of an asset property's values. For more information, see Querying historical values (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/query-industrial-data.html#historical-values) in the AWS IoT SiteWise User Guide.

To identify an asset property, you must specify one of the following:

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 SiteWise's API operation GetAssetPropertyValueHistory for usage and error information.

Returned Error Types:

  • InvalidRequestException The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

  • ResourceNotFoundException The requested resource can't be found.

  • InternalFailureException AWS IoT SiteWise can't process your request right now. Try again later.

  • ThrottlingException Your request exceeded a rate limit. For example, you might have exceeded the number of AWS IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

    For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) in the AWS IoT SiteWise User Guide.

  • ServiceUnavailableException The requested service is unavailable.

See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/GetAssetPropertyValueHistory

func (*IoTSiteWise) GetAssetPropertyValueHistoryPages

func (c *IoTSiteWise) GetAssetPropertyValueHistoryPages(input *GetAssetPropertyValueHistoryInput, fn func(*GetAssetPropertyValueHistoryOutput, bool) bool) error

GetAssetPropertyValueHistoryPages iterates over the pages of a GetAssetPropertyValueHistory operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See GetAssetPropertyValueHistory method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a GetAssetPropertyValueHistory operation.
pageNum := 0
err := client.GetAssetPropertyValueHistoryPages(params,
    func(page *iotsitewise.GetAssetPropertyValueHistoryOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*IoTSiteWise) GetAssetPropertyValueHistoryPagesWithContext

func (c *IoTSiteWise) GetAssetPropertyValueHistoryPagesWithContext(ctx aws.Context, input *GetAssetPropertyValueHistoryInput, fn func(*GetAssetPropertyValueHistoryOutput, bool) bool, opts ...request.Option) error

GetAssetPropertyValueHistoryPagesWithContext same as GetAssetPropertyValueHistoryPages except it takes a Context and allows setting request options on the pages.

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 (*IoTSiteWise) GetAssetPropertyValueHistoryRequest

func (c *IoTSiteWise) GetAssetPropertyValueHistoryRequest(input *GetAssetPropertyValueHistoryInput) (req *request.Request, output *GetAssetPropertyValueHistoryOutput)

GetAssetPropertyValueHistoryRequest generates a "aws/request.Request" representing the client's request for the GetAssetPropertyValueHistory 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 GetAssetPropertyValueHistory for more information on using the GetAssetPropertyValueHistory 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 GetAssetPropertyValueHistoryRequest method.
req, resp := client.GetAssetPropertyValueHistoryRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/GetAssetPropertyValueHistory

func (*IoTSiteWise) GetAssetPropertyValueHistoryWithContext

func (c *IoTSiteWise) GetAssetPropertyValueHistoryWithContext(ctx aws.Context, input *GetAssetPropertyValueHistoryInput, opts ...request.Option) (*GetAssetPropertyValueHistoryOutput, error)

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

See GetAssetPropertyValueHistory 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 (*IoTSiteWise) GetAssetPropertyValueRequest

func (c *IoTSiteWise) GetAssetPropertyValueRequest(input *GetAssetPropertyValueInput) (req *request.Request, output *GetAssetPropertyValueOutput)

GetAssetPropertyValueRequest generates a "aws/request.Request" representing the client's request for the GetAssetPropertyValue 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 GetAssetPropertyValue for more information on using the GetAssetPropertyValue 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 GetAssetPropertyValueRequest method.
req, resp := client.GetAssetPropertyValueRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/GetAssetPropertyValue

func (*IoTSiteWise) GetAssetPropertyValueWithContext

func (c *IoTSiteWise) GetAssetPropertyValueWithContext(ctx aws.Context, input *GetAssetPropertyValueInput, opts ...request.Option) (*GetAssetPropertyValueOutput, error)

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

See GetAssetPropertyValue 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 (*IoTSiteWise) ListAccessPolicies

func (c *IoTSiteWise) ListAccessPolicies(input *ListAccessPoliciesInput) (*ListAccessPoliciesOutput, error)

ListAccessPolicies API operation for AWS IoT SiteWise.

Retrieves a paginated list of access policies for an identity (an AWS SSO user, an AWS SSO group, or an IAM user) or an AWS IoT SiteWise Monitor resource (a portal or project).

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 SiteWise's API operation ListAccessPolicies for usage and error information.

Returned Error Types:

  • InvalidRequestException The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

  • InternalFailureException AWS IoT SiteWise can't process your request right now. Try again later.

  • ThrottlingException Your request exceeded a rate limit. For example, you might have exceeded the number of AWS IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

    For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) in the AWS IoT SiteWise User Guide.

See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/ListAccessPolicies

func (*IoTSiteWise) ListAccessPoliciesPages

func (c *IoTSiteWise) ListAccessPoliciesPages(input *ListAccessPoliciesInput, fn func(*ListAccessPoliciesOutput, bool) bool) error

ListAccessPoliciesPages iterates over the pages of a ListAccessPolicies operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListAccessPolicies method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListAccessPolicies operation.
pageNum := 0
err := client.ListAccessPoliciesPages(params,
    func(page *iotsitewise.ListAccessPoliciesOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*IoTSiteWise) ListAccessPoliciesPagesWithContext

func (c *IoTSiteWise) ListAccessPoliciesPagesWithContext(ctx aws.Context, input *ListAccessPoliciesInput, fn func(*ListAccessPoliciesOutput, bool) bool, opts ...request.Option) error

ListAccessPoliciesPagesWithContext same as ListAccessPoliciesPages except it takes a Context and allows setting request options on the pages.

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 (*IoTSiteWise) ListAccessPoliciesRequest

func (c *IoTSiteWise) ListAccessPoliciesRequest(input *ListAccessPoliciesInput) (req *request.Request, output *ListAccessPoliciesOutput)

ListAccessPoliciesRequest generates a "aws/request.Request" representing the client's request for the ListAccessPolicies 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 ListAccessPolicies for more information on using the ListAccessPolicies 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 ListAccessPoliciesRequest method.
req, resp := client.ListAccessPoliciesRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/ListAccessPolicies

func (*IoTSiteWise) ListAccessPoliciesWithContext

func (c *IoTSiteWise) ListAccessPoliciesWithContext(ctx aws.Context, input *ListAccessPoliciesInput, opts ...request.Option) (*ListAccessPoliciesOutput, error)

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

See ListAccessPolicies 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 (*IoTSiteWise) ListAssetModels

func (c *IoTSiteWise) ListAssetModels(input *ListAssetModelsInput) (*ListAssetModelsOutput, error)

ListAssetModels API operation for AWS IoT SiteWise.

Retrieves a paginated list of summaries of all asset models.

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 SiteWise's API operation ListAssetModels for usage and error information.

Returned Error Types:

  • InvalidRequestException The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

  • InternalFailureException AWS IoT SiteWise can't process your request right now. Try again later.

  • ThrottlingException Your request exceeded a rate limit. For example, you might have exceeded the number of AWS IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

    For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) in the AWS IoT SiteWise User Guide.

See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/ListAssetModels

func (*IoTSiteWise) ListAssetModelsPages

func (c *IoTSiteWise) ListAssetModelsPages(input *ListAssetModelsInput, fn func(*ListAssetModelsOutput, bool) bool) error

ListAssetModelsPages iterates over the pages of a ListAssetModels operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListAssetModels method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListAssetModels operation.
pageNum := 0
err := client.ListAssetModelsPages(params,
    func(page *iotsitewise.ListAssetModelsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*IoTSiteWise) ListAssetModelsPagesWithContext

func (c *IoTSiteWise) ListAssetModelsPagesWithContext(ctx aws.Context, input *ListAssetModelsInput, fn func(*ListAssetModelsOutput, bool) bool, opts ...request.Option) error

ListAssetModelsPagesWithContext same as ListAssetModelsPages except it takes a Context and allows setting request options on the pages.

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 (*IoTSiteWise) ListAssetModelsRequest

func (c *IoTSiteWise) ListAssetModelsRequest(input *ListAssetModelsInput) (req *request.Request, output *ListAssetModelsOutput)

ListAssetModelsRequest generates a "aws/request.Request" representing the client's request for the ListAssetModels 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 ListAssetModels for more information on using the ListAssetModels 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 ListAssetModelsRequest method.
req, resp := client.ListAssetModelsRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/ListAssetModels

func (*IoTSiteWise) ListAssetModelsWithContext

func (c *IoTSiteWise) ListAssetModelsWithContext(ctx aws.Context, input *ListAssetModelsInput, opts ...request.Option) (*ListAssetModelsOutput, error)

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

See ListAssetModels 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 (*IoTSiteWise) ListAssetRelationships

func (c *IoTSiteWise) ListAssetRelationships(input *ListAssetRelationshipsInput) (*ListAssetRelationshipsOutput, error)

ListAssetRelationships API operation for AWS IoT SiteWise.

Retrieves a paginated list of asset relationships for an asset. You can use this operation to identify an asset's root asset and all associated assets between that asset and its root.

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 SiteWise's API operation ListAssetRelationships for usage and error information.

Returned Error Types:

  • InvalidRequestException The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

  • InternalFailureException AWS IoT SiteWise can't process your request right now. Try again later.

  • ResourceNotFoundException The requested resource can't be found.

  • ThrottlingException Your request exceeded a rate limit. For example, you might have exceeded the number of AWS IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

    For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) in the AWS IoT SiteWise User Guide.

See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/ListAssetRelationships

func (*IoTSiteWise) ListAssetRelationshipsPages

func (c *IoTSiteWise) ListAssetRelationshipsPages(input *ListAssetRelationshipsInput, fn func(*ListAssetRelationshipsOutput, bool) bool) error

ListAssetRelationshipsPages iterates over the pages of a ListAssetRelationships operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListAssetRelationships method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListAssetRelationships operation.
pageNum := 0
err := client.ListAssetRelationshipsPages(params,
    func(page *iotsitewise.ListAssetRelationshipsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*IoTSiteWise) ListAssetRelationshipsPagesWithContext

func (c *IoTSiteWise) ListAssetRelationshipsPagesWithContext(ctx aws.Context, input *ListAssetRelationshipsInput, fn func(*ListAssetRelationshipsOutput, bool) bool, opts ...request.Option) error

ListAssetRelationshipsPagesWithContext same as ListAssetRelationshipsPages except it takes a Context and allows setting request options on the pages.

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 (*IoTSiteWise) ListAssetRelationshipsRequest

func (c *IoTSiteWise) ListAssetRelationshipsRequest(input *ListAssetRelationshipsInput) (req *request.Request, output *ListAssetRelationshipsOutput)

ListAssetRelationshipsRequest generates a "aws/request.Request" representing the client's request for the ListAssetRelationships 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 ListAssetRelationships for more information on using the ListAssetRelationships 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 ListAssetRelationshipsRequest method.
req, resp := client.ListAssetRelationshipsRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/ListAssetRelationships

func (*IoTSiteWise) ListAssetRelationshipsWithContext

func (c *IoTSiteWise) ListAssetRelationshipsWithContext(ctx aws.Context, input *ListAssetRelationshipsInput, opts ...request.Option) (*ListAssetRelationshipsOutput, error)

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

See ListAssetRelationships 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 (*IoTSiteWise) ListAssets

func (c *IoTSiteWise) ListAssets(input *ListAssetsInput) (*ListAssetsOutput, error)

ListAssets API operation for AWS IoT SiteWise.

Retrieves a paginated list of asset summaries.

You can use this operation to do the following:

  • List assets based on a specific asset model.

  • List top-level assets.

You can't use this operation to list all assets. To retrieve summaries for all of your assets, use ListAssetModels (https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_ListAssetModels.html) to get all of your asset model IDs. Then, use ListAssets to get all assets for each asset 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 SiteWise's API operation ListAssets for usage and error information.

Returned Error Types:

  • InvalidRequestException The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

  • InternalFailureException AWS IoT SiteWise can't process your request right now. Try again later.

  • ResourceNotFoundException The requested resource can't be found.

  • ThrottlingException Your request exceeded a rate limit. For example, you might have exceeded the number of AWS IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

    For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) in the AWS IoT SiteWise User Guide.

See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/ListAssets

func (*IoTSiteWise) ListAssetsPages

func (c *IoTSiteWise) ListAssetsPages(input *ListAssetsInput, fn func(*ListAssetsOutput, bool) bool) error

ListAssetsPages iterates over the pages of a ListAssets operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListAssets method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListAssets operation.
pageNum := 0
err := client.ListAssetsPages(params,
    func(page *iotsitewise.ListAssetsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*IoTSiteWise) ListAssetsPagesWithContext

func (c *IoTSiteWise) ListAssetsPagesWithContext(ctx aws.Context, input *ListAssetsInput, fn func(*ListAssetsOutput, bool) bool, opts ...request.Option) error

ListAssetsPagesWithContext same as ListAssetsPages except it takes a Context and allows setting request options on the pages.

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 (*IoTSiteWise) ListAssetsRequest

func (c *IoTSiteWise) ListAssetsRequest(input *ListAssetsInput) (req *request.Request, output *ListAssetsOutput)

ListAssetsRequest generates a "aws/request.Request" representing the client's request for the ListAssets 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 ListAssets for more information on using the ListAssets 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 ListAssetsRequest method.
req, resp := client.ListAssetsRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/ListAssets

func (*IoTSiteWise) ListAssetsWithContext

func (c *IoTSiteWise) ListAssetsWithContext(ctx aws.Context, input *ListAssetsInput, opts ...request.Option) (*ListAssetsOutput, error)

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

See ListAssets 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 (*IoTSiteWise) ListAssociatedAssets

func (c *IoTSiteWise) ListAssociatedAssets(input *ListAssociatedAssetsInput) (*ListAssociatedAssetsOutput, error)

ListAssociatedAssets API operation for AWS IoT SiteWise.

Retrieves a paginated list of associated assets.

You can use this operation to do the following:

  • List child assets associated to a parent asset by a hierarchy that you specify.

  • List an asset's parent asset.

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 SiteWise's API operation ListAssociatedAssets for usage and error information.

Returned Error Types:

  • InvalidRequestException The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

  • InternalFailureException AWS IoT SiteWise can't process your request right now. Try again later.

  • ResourceNotFoundException The requested resource can't be found.

  • ThrottlingException Your request exceeded a rate limit. For example, you might have exceeded the number of AWS IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

    For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) in the AWS IoT SiteWise User Guide.

See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/ListAssociatedAssets

func (*IoTSiteWise) ListAssociatedAssetsPages

func (c *IoTSiteWise) ListAssociatedAssetsPages(input *ListAssociatedAssetsInput, fn func(*ListAssociatedAssetsOutput, bool) bool) error

ListAssociatedAssetsPages iterates over the pages of a ListAssociatedAssets operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListAssociatedAssets method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListAssociatedAssets operation.
pageNum := 0
err := client.ListAssociatedAssetsPages(params,
    func(page *iotsitewise.ListAssociatedAssetsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*IoTSiteWise) ListAssociatedAssetsPagesWithContext

func (c *IoTSiteWise) ListAssociatedAssetsPagesWithContext(ctx aws.Context, input *ListAssociatedAssetsInput, fn func(*ListAssociatedAssetsOutput, bool) bool, opts ...request.Option) error

ListAssociatedAssetsPagesWithContext same as ListAssociatedAssetsPages except it takes a Context and allows setting request options on the pages.

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 (*IoTSiteWise) ListAssociatedAssetsRequest

func (c *IoTSiteWise) ListAssociatedAssetsRequest(input *ListAssociatedAssetsInput) (req *request.Request, output *ListAssociatedAssetsOutput)

ListAssociatedAssetsRequest generates a "aws/request.Request" representing the client's request for the ListAssociatedAssets 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 ListAssociatedAssets for more information on using the ListAssociatedAssets 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 ListAssociatedAssetsRequest method.
req, resp := client.ListAssociatedAssetsRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/ListAssociatedAssets

func (*IoTSiteWise) ListAssociatedAssetsWithContext

func (c *IoTSiteWise) ListAssociatedAssetsWithContext(ctx aws.Context, input *ListAssociatedAssetsInput, opts ...request.Option) (*ListAssociatedAssetsOutput, error)

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

See ListAssociatedAssets 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 (*IoTSiteWise) ListDashboards

func (c *IoTSiteWise) ListDashboards(input *ListDashboardsInput) (*ListDashboardsOutput, error)

ListDashboards API operation for AWS IoT SiteWise.

Retrieves a paginated list of dashboards for an AWS IoT SiteWise Monitor project.

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 SiteWise's API operation ListDashboards for usage and error information.

Returned Error Types:

  • InvalidRequestException The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

  • InternalFailureException AWS IoT SiteWise can't process your request right now. Try again later.

  • ThrottlingException Your request exceeded a rate limit. For example, you might have exceeded the number of AWS IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

    For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) in the AWS IoT SiteWise User Guide.

See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/ListDashboards

func (*IoTSiteWise) ListDashboardsPages

func (c *IoTSiteWise) ListDashboardsPages(input *ListDashboardsInput, fn func(*ListDashboardsOutput, bool) bool) error

ListDashboardsPages iterates over the pages of a ListDashboards operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListDashboards method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListDashboards operation.
pageNum := 0
err := client.ListDashboardsPages(params,
    func(page *iotsitewise.ListDashboardsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*IoTSiteWise) ListDashboardsPagesWithContext

func (c *IoTSiteWise) ListDashboardsPagesWithContext(ctx aws.Context, input *ListDashboardsInput, fn func(*ListDashboardsOutput, bool) bool, opts ...request.Option) error

ListDashboardsPagesWithContext same as ListDashboardsPages except it takes a Context and allows setting request options on the pages.

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 (*IoTSiteWise) ListDashboardsRequest

func (c *IoTSiteWise) ListDashboardsRequest(input *ListDashboardsInput) (req *request.Request, output *ListDashboardsOutput)

ListDashboardsRequest generates a "aws/request.Request" representing the client's request for the ListDashboards 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 ListDashboards for more information on using the ListDashboards 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 ListDashboardsRequest method.
req, resp := client.ListDashboardsRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/ListDashboards

func (*IoTSiteWise) ListDashboardsWithContext

func (c *IoTSiteWise) ListDashboardsWithContext(ctx aws.Context, input *ListDashboardsInput, opts ...request.Option) (*ListDashboardsOutput, error)

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

See ListDashboards 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 (*IoTSiteWise) ListGateways

func (c *IoTSiteWise) ListGateways(input *ListGatewaysInput) (*ListGatewaysOutput, error)

ListGateways API operation for AWS IoT SiteWise.

Retrieves a paginated list of gateways.

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 SiteWise's API operation ListGateways for usage and error information.

Returned Error Types:

  • InvalidRequestException The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

  • InternalFailureException AWS IoT SiteWise can't process your request right now. Try again later.

  • ThrottlingException Your request exceeded a rate limit. For example, you might have exceeded the number of AWS IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

    For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) in the AWS IoT SiteWise User Guide.

See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/ListGateways

func (*IoTSiteWise) ListGatewaysPages

func (c *IoTSiteWise) ListGatewaysPages(input *ListGatewaysInput, fn func(*ListGatewaysOutput, bool) bool) error

ListGatewaysPages iterates over the pages of a ListGateways operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListGateways method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListGateways operation.
pageNum := 0
err := client.ListGatewaysPages(params,
    func(page *iotsitewise.ListGatewaysOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*IoTSiteWise) ListGatewaysPagesWithContext

func (c *IoTSiteWise) ListGatewaysPagesWithContext(ctx aws.Context, input *ListGatewaysInput, fn func(*ListGatewaysOutput, bool) bool, opts ...request.Option) error

ListGatewaysPagesWithContext same as ListGatewaysPages except it takes a Context and allows setting request options on the pages.

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 (*IoTSiteWise) ListGatewaysRequest

func (c *IoTSiteWise) ListGatewaysRequest(input *ListGatewaysInput) (req *request.Request, output *ListGatewaysOutput)

ListGatewaysRequest generates a "aws/request.Request" representing the client's request for the ListGateways 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 ListGateways for more information on using the ListGateways 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 ListGatewaysRequest method.
req, resp := client.ListGatewaysRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/ListGateways

func (*IoTSiteWise) ListGatewaysWithContext

func (c *IoTSiteWise) ListGatewaysWithContext(ctx aws.Context, input *ListGatewaysInput, opts ...request.Option) (*ListGatewaysOutput, error)

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

See ListGateways 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 (*IoTSiteWise) ListPortals

func (c *IoTSiteWise) ListPortals(input *ListPortalsInput) (*ListPortalsOutput, error)

ListPortals API operation for AWS IoT SiteWise.

Retrieves a paginated list of AWS IoT SiteWise Monitor portals.

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 SiteWise's API operation ListPortals for usage and error information.

Returned Error Types:

  • InvalidRequestException The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

  • InternalFailureException AWS IoT SiteWise can't process your request right now. Try again later.

  • ThrottlingException Your request exceeded a rate limit. For example, you might have exceeded the number of AWS IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

    For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) in the AWS IoT SiteWise User Guide.

See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/ListPortals

func (*IoTSiteWise) ListPortalsPages

func (c *IoTSiteWise) ListPortalsPages(input *ListPortalsInput, fn func(*ListPortalsOutput, bool) bool) error

ListPortalsPages iterates over the pages of a ListPortals operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListPortals method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListPortals operation.
pageNum := 0
err := client.ListPortalsPages(params,
    func(page *iotsitewise.ListPortalsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*IoTSiteWise) ListPortalsPagesWithContext

func (c *IoTSiteWise) ListPortalsPagesWithContext(ctx aws.Context, input *ListPortalsInput, fn func(*ListPortalsOutput, bool) bool, opts ...request.Option) error

ListPortalsPagesWithContext same as ListPortalsPages except it takes a Context and allows setting request options on the pages.

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 (*IoTSiteWise) ListPortalsRequest

func (c *IoTSiteWise) ListPortalsRequest(input *ListPortalsInput) (req *request.Request, output *ListPortalsOutput)

ListPortalsRequest generates a "aws/request.Request" representing the client's request for the ListPortals 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 ListPortals for more information on using the ListPortals 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 ListPortalsRequest method.
req, resp := client.ListPortalsRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/ListPortals

func (*IoTSiteWise) ListPortalsWithContext

func (c *IoTSiteWise) ListPortalsWithContext(ctx aws.Context, input *ListPortalsInput, opts ...request.Option) (*ListPortalsOutput, error)

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

See ListPortals 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 (*IoTSiteWise) ListProjectAssets

func (c *IoTSiteWise) ListProjectAssets(input *ListProjectAssetsInput) (*ListProjectAssetsOutput, error)

ListProjectAssets API operation for AWS IoT SiteWise.

Retrieves a paginated list of assets associated with an AWS IoT SiteWise Monitor project.

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 SiteWise's API operation ListProjectAssets for usage and error information.

Returned Error Types:

  • InvalidRequestException The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

  • InternalFailureException AWS IoT SiteWise can't process your request right now. Try again later.

  • ThrottlingException Your request exceeded a rate limit. For example, you might have exceeded the number of AWS IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

    For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) in the AWS IoT SiteWise User Guide.

See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/ListProjectAssets

func (*IoTSiteWise) ListProjectAssetsPages

func (c *IoTSiteWise) ListProjectAssetsPages(input *ListProjectAssetsInput, fn func(*ListProjectAssetsOutput, bool) bool) error

ListProjectAssetsPages iterates over the pages of a ListProjectAssets operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListProjectAssets method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListProjectAssets operation.
pageNum := 0
err := client.ListProjectAssetsPages(params,
    func(page *iotsitewise.ListProjectAssetsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*IoTSiteWise) ListProjectAssetsPagesWithContext

func (c *IoTSiteWise) ListProjectAssetsPagesWithContext(ctx aws.Context, input *ListProjectAssetsInput, fn func(*ListProjectAssetsOutput, bool) bool, opts ...request.Option) error

ListProjectAssetsPagesWithContext same as ListProjectAssetsPages except it takes a Context and allows setting request options on the pages.

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 (*IoTSiteWise) ListProjectAssetsRequest

func (c *IoTSiteWise) ListProjectAssetsRequest(input *ListProjectAssetsInput) (req *request.Request, output *ListProjectAssetsOutput)

ListProjectAssetsRequest generates a "aws/request.Request" representing the client's request for the ListProjectAssets 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 ListProjectAssets for more information on using the ListProjectAssets 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 ListProjectAssetsRequest method.
req, resp := client.ListProjectAssetsRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/ListProjectAssets

func (*IoTSiteWise) ListProjectAssetsWithContext

func (c *IoTSiteWise) ListProjectAssetsWithContext(ctx aws.Context, input *ListProjectAssetsInput, opts ...request.Option) (*ListProjectAssetsOutput, error)

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

See ListProjectAssets 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 (*IoTSiteWise) ListProjects

func (c *IoTSiteWise) ListProjects(input *ListProjectsInput) (*ListProjectsOutput, error)

ListProjects API operation for AWS IoT SiteWise.

Retrieves a paginated list of projects for an AWS IoT SiteWise Monitor portal.

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 SiteWise's API operation ListProjects for usage and error information.

Returned Error Types:

  • InvalidRequestException The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

  • InternalFailureException AWS IoT SiteWise can't process your request right now. Try again later.

  • ThrottlingException Your request exceeded a rate limit. For example, you might have exceeded the number of AWS IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

    For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) in the AWS IoT SiteWise User Guide.

See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/ListProjects

func (*IoTSiteWise) ListProjectsPages

func (c *IoTSiteWise) ListProjectsPages(input *ListProjectsInput, fn func(*ListProjectsOutput, bool) bool) error

ListProjectsPages iterates over the pages of a ListProjects operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListProjects method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListProjects operation.
pageNum := 0
err := client.ListProjectsPages(params,
    func(page *iotsitewise.ListProjectsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*IoTSiteWise) ListProjectsPagesWithContext

func (c *IoTSiteWise) ListProjectsPagesWithContext(ctx aws.Context, input *ListProjectsInput, fn func(*ListProjectsOutput, bool) bool, opts ...request.Option) error

ListProjectsPagesWithContext same as ListProjectsPages except it takes a Context and allows setting request options on the pages.

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 (*IoTSiteWise) ListProjectsRequest

func (c *IoTSiteWise) ListProjectsRequest(input *ListProjectsInput) (req *request.Request, output *ListProjectsOutput)

ListProjectsRequest generates a "aws/request.Request" representing the client's request for the ListProjects 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 ListProjects for more information on using the ListProjects 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 ListProjectsRequest method.
req, resp := client.ListProjectsRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/ListProjects

func (*IoTSiteWise) ListProjectsWithContext

func (c *IoTSiteWise) ListProjectsWithContext(ctx aws.Context, input *ListProjectsInput, opts ...request.Option) (*ListProjectsOutput, error)

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

See ListProjects 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 (*IoTSiteWise) ListTagsForResource

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

ListTagsForResource API operation for AWS IoT SiteWise.

Retrieves the list of tags for an AWS IoT SiteWise 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 SiteWise's API operation ListTagsForResource for usage and error information.

Returned Error Types:

  • InvalidRequestException The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

  • InternalFailureException AWS IoT SiteWise can't process your request right now. Try again later.

  • ThrottlingException Your request exceeded a rate limit. For example, you might have exceeded the number of AWS IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

    For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) in the AWS IoT SiteWise User Guide.

  • ResourceNotFoundException The requested resource can't be found.

  • ConflictingOperationException Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time.

  • LimitExceededException You've reached the limit for a resource. For example, this can occur if you're trying to associate more than the allowed number of child assets or attempting to create more than the allowed number of properties for an asset model.

    For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) in the AWS IoT SiteWise User Guide.

  • UnauthorizedException You are not authorized.

See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/ListTagsForResource

func (*IoTSiteWise) ListTagsForResourceRequest

func (c *IoTSiteWise) 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/iotsitewise-2019-12-02/ListTagsForResource

func (*IoTSiteWise) ListTagsForResourceWithContext

func (c *IoTSiteWise) 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 (*IoTSiteWise) PutDefaultEncryptionConfiguration

PutDefaultEncryptionConfiguration API operation for AWS IoT SiteWise.

Sets the default encryption configuration for the AWS account. For more information, see Key management (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/key-management.html) in the AWS IoT SiteWise User 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 SiteWise's API operation PutDefaultEncryptionConfiguration for usage and error information.

Returned Error Types:

  • InvalidRequestException The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

  • InternalFailureException AWS IoT SiteWise can't process your request right now. Try again later.

  • ThrottlingException Your request exceeded a rate limit. For example, you might have exceeded the number of AWS IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

    For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) in the AWS IoT SiteWise User Guide.

  • LimitExceededException You've reached the limit for a resource. For example, this can occur if you're trying to associate more than the allowed number of child assets or attempting to create more than the allowed number of properties for an asset model.

    For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) in the AWS IoT SiteWise User Guide.

  • ConflictingOperationException Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time.

See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/PutDefaultEncryptionConfiguration

func (*IoTSiteWise) PutDefaultEncryptionConfigurationRequest

func (c *IoTSiteWise) PutDefaultEncryptionConfigurationRequest(input *PutDefaultEncryptionConfigurationInput) (req *request.Request, output *PutDefaultEncryptionConfigurationOutput)

PutDefaultEncryptionConfigurationRequest generates a "aws/request.Request" representing the client's request for the PutDefaultEncryptionConfiguration 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 PutDefaultEncryptionConfiguration for more information on using the PutDefaultEncryptionConfiguration 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 PutDefaultEncryptionConfigurationRequest method.
req, resp := client.PutDefaultEncryptionConfigurationRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/PutDefaultEncryptionConfiguration

func (*IoTSiteWise) PutDefaultEncryptionConfigurationWithContext

func (c *IoTSiteWise) PutDefaultEncryptionConfigurationWithContext(ctx aws.Context, input *PutDefaultEncryptionConfigurationInput, opts ...request.Option) (*PutDefaultEncryptionConfigurationOutput, error)

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

See PutDefaultEncryptionConfiguration 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 (*IoTSiteWise) PutLoggingOptions

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

PutLoggingOptions API operation for AWS IoT SiteWise.

Sets logging options for AWS IoT SiteWise.

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 SiteWise's API operation PutLoggingOptions for usage and error information.

Returned Error Types:

  • InvalidRequestException The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

  • ThrottlingException Your request exceeded a rate limit. For example, you might have exceeded the number of AWS IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

    For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) in the AWS IoT SiteWise User Guide.

  • InternalFailureException AWS IoT SiteWise can't process your request right now. Try again later.

  • ConflictingOperationException Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time.

  • ResourceNotFoundException The requested resource can't be found.

See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/PutLoggingOptions

func (*IoTSiteWise) PutLoggingOptionsRequest

func (c *IoTSiteWise) 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/iotsitewise-2019-12-02/PutLoggingOptions

func (*IoTSiteWise) PutLoggingOptionsWithContext

func (c *IoTSiteWise) 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 (*IoTSiteWise) TagResource

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

TagResource API operation for AWS IoT SiteWise.

Adds tags to an AWS IoT SiteWise resource. If a tag already exists for the resource, this operation updates the tag's value.

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 SiteWise's API operation TagResource for usage and error information.

Returned Error Types:

  • InvalidRequestException The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

  • InternalFailureException AWS IoT SiteWise can't process your request right now. Try again later.

  • ThrottlingException Your request exceeded a rate limit. For example, you might have exceeded the number of AWS IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

    For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) in the AWS IoT SiteWise User Guide.

  • ResourceNotFoundException The requested resource can't be found.

  • ConflictingOperationException Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time.

  • LimitExceededException You've reached the limit for a resource. For example, this can occur if you're trying to associate more than the allowed number of child assets or attempting to create more than the allowed number of properties for an asset model.

    For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) in the AWS IoT SiteWise User Guide.

  • UnauthorizedException You are not authorized.

  • TooManyTagsException You've reached the limit for the number of tags allowed for a resource. For more information, see Tag naming limits and requirements (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html#tag-conventions) in the AWS General Reference.

See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/TagResource

func (*IoTSiteWise) TagResourceRequest

func (c *IoTSiteWise) 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/iotsitewise-2019-12-02/TagResource

func (*IoTSiteWise) TagResourceWithContext

func (c *IoTSiteWise) 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 (*IoTSiteWise) UntagResource

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

UntagResource API operation for AWS IoT SiteWise.

Removes a tag from an AWS IoT SiteWise 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 SiteWise's API operation UntagResource for usage and error information.

Returned Error Types:

  • InvalidRequestException The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

  • InternalFailureException AWS IoT SiteWise can't process your request right now. Try again later.

  • ThrottlingException Your request exceeded a rate limit. For example, you might have exceeded the number of AWS IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

    For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) in the AWS IoT SiteWise User Guide.

  • ResourceNotFoundException The requested resource can't be found.

  • ConflictingOperationException Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time.

  • LimitExceededException You've reached the limit for a resource. For example, this can occur if you're trying to associate more than the allowed number of child assets or attempting to create more than the allowed number of properties for an asset model.

    For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) in the AWS IoT SiteWise User Guide.

  • UnauthorizedException You are not authorized.

See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/UntagResource

func (*IoTSiteWise) UntagResourceRequest

func (c *IoTSiteWise) 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/iotsitewise-2019-12-02/UntagResource

func (*IoTSiteWise) UntagResourceWithContext

func (c *IoTSiteWise) 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 (*IoTSiteWise) UpdateAccessPolicy

func (c *IoTSiteWise) UpdateAccessPolicy(input *UpdateAccessPolicyInput) (*UpdateAccessPolicyOutput, error)

UpdateAccessPolicy API operation for AWS IoT SiteWise.

Updates an existing access policy that specifies an identity's access to an AWS IoT SiteWise Monitor portal or project 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 SiteWise's API operation UpdateAccessPolicy for usage and error information.

Returned Error Types:

  • InvalidRequestException The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

  • ResourceNotFoundException The requested resource can't be found.

  • InternalFailureException AWS IoT SiteWise can't process your request right now. Try again later.

  • ThrottlingException Your request exceeded a rate limit. For example, you might have exceeded the number of AWS IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

    For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) in the AWS IoT SiteWise User Guide.

See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/UpdateAccessPolicy

func (*IoTSiteWise) UpdateAccessPolicyRequest

func (c *IoTSiteWise) UpdateAccessPolicyRequest(input *UpdateAccessPolicyInput) (req *request.Request, output *UpdateAccessPolicyOutput)

UpdateAccessPolicyRequest generates a "aws/request.Request" representing the client's request for the UpdateAccessPolicy 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 UpdateAccessPolicy for more information on using the UpdateAccessPolicy 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 UpdateAccessPolicyRequest method.
req, resp := client.UpdateAccessPolicyRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/UpdateAccessPolicy

func (*IoTSiteWise) UpdateAccessPolicyWithContext

func (c *IoTSiteWise) UpdateAccessPolicyWithContext(ctx aws.Context, input *UpdateAccessPolicyInput, opts ...request.Option) (*UpdateAccessPolicyOutput, error)

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

See UpdateAccessPolicy 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 (*IoTSiteWise) UpdateAsset

func (c *IoTSiteWise) UpdateAsset(input *UpdateAssetInput) (*UpdateAssetOutput, error)

UpdateAsset API operation for AWS IoT SiteWise.

Updates an asset's name. For more information, see Updating assets and models (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/update-assets-and-models.html) in the AWS IoT SiteWise User 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 SiteWise's API operation UpdateAsset for usage and error information.

Returned Error Types:

  • InvalidRequestException The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

  • ResourceAlreadyExistsException The resource already exists.

  • ResourceNotFoundException The requested resource can't be found.

  • InternalFailureException AWS IoT SiteWise can't process your request right now. Try again later.

  • ThrottlingException Your request exceeded a rate limit. For example, you might have exceeded the number of AWS IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

    For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) in the AWS IoT SiteWise User Guide.

  • ConflictingOperationException Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time.

See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/UpdateAsset

func (*IoTSiteWise) UpdateAssetModel

func (c *IoTSiteWise) UpdateAssetModel(input *UpdateAssetModelInput) (*UpdateAssetModelOutput, error)

UpdateAssetModel API operation for AWS IoT SiteWise.

Updates an asset model and all of the assets that were created from the model. Each asset created from the model inherits the updated asset model's property and hierarchy definitions. For more information, see Updating assets and models (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/update-assets-and-models.html) in the AWS IoT SiteWise User Guide.

This operation overwrites the existing model with the provided model. To avoid deleting your asset model's properties or hierarchies, you must include their IDs and definitions in the updated asset model payload. For more information, see DescribeAssetModel (https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_DescribeAssetModel.html).

If you remove a property from an asset model, AWS IoT SiteWise deletes all previous data for that property. If you remove a hierarchy definition from an asset model, AWS IoT SiteWise disassociates every asset associated with that hierarchy. You can't change the type or data type of an existing property.

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 SiteWise's API operation UpdateAssetModel for usage and error information.

Returned Error Types:

  • InvalidRequestException The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

  • ResourceAlreadyExistsException The resource already exists.

  • ResourceNotFoundException The requested resource can't be found.

  • InternalFailureException AWS IoT SiteWise can't process your request right now. Try again later.

  • LimitExceededException You've reached the limit for a resource. For example, this can occur if you're trying to associate more than the allowed number of child assets or attempting to create more than the allowed number of properties for an asset model.

    For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) in the AWS IoT SiteWise User Guide.

  • ThrottlingException Your request exceeded a rate limit. For example, you might have exceeded the number of AWS IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

    For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) in the AWS IoT SiteWise User Guide.

  • ConflictingOperationException Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time.

See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/UpdateAssetModel

func (*IoTSiteWise) UpdateAssetModelRequest

func (c *IoTSiteWise) UpdateAssetModelRequest(input *UpdateAssetModelInput) (req *request.Request, output *UpdateAssetModelOutput)

UpdateAssetModelRequest generates a "aws/request.Request" representing the client's request for the UpdateAssetModel 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 UpdateAssetModel for more information on using the UpdateAssetModel 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 UpdateAssetModelRequest method.
req, resp := client.UpdateAssetModelRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/UpdateAssetModel

func (*IoTSiteWise) UpdateAssetModelWithContext

func (c *IoTSiteWise) UpdateAssetModelWithContext(ctx aws.Context, input *UpdateAssetModelInput, opts ...request.Option) (*UpdateAssetModelOutput, error)

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

See UpdateAssetModel 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 (*IoTSiteWise) UpdateAssetProperty

func (c *IoTSiteWise) UpdateAssetProperty(input *UpdateAssetPropertyInput) (*UpdateAssetPropertyOutput, error)

UpdateAssetProperty API operation for AWS IoT SiteWise.

Updates an asset property's alias and notification state.

This operation overwrites the property's existing alias and notification state. To keep your existing property's alias or notification state, you must include the existing values in the UpdateAssetProperty request. For more information, see DescribeAssetProperty (https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_DescribeAssetProperty.html).

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 SiteWise's API operation UpdateAssetProperty for usage and error information.

Returned Error Types:

  • InvalidRequestException The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

  • ResourceNotFoundException The requested resource can't be found.

  • InternalFailureException AWS IoT SiteWise can't process your request right now. Try again later.

  • ThrottlingException Your request exceeded a rate limit. For example, you might have exceeded the number of AWS IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

    For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) in the AWS IoT SiteWise User Guide.

  • ConflictingOperationException Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time.

See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/UpdateAssetProperty

func (*IoTSiteWise) UpdateAssetPropertyRequest

func (c *IoTSiteWise) UpdateAssetPropertyRequest(input *UpdateAssetPropertyInput) (req *request.Request, output *UpdateAssetPropertyOutput)

UpdateAssetPropertyRequest generates a "aws/request.Request" representing the client's request for the UpdateAssetProperty 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 UpdateAssetProperty for more information on using the UpdateAssetProperty 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 UpdateAssetPropertyRequest method.
req, resp := client.UpdateAssetPropertyRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/UpdateAssetProperty

func (*IoTSiteWise) UpdateAssetPropertyWithContext

func (c *IoTSiteWise) UpdateAssetPropertyWithContext(ctx aws.Context, input *UpdateAssetPropertyInput, opts ...request.Option) (*UpdateAssetPropertyOutput, error)

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

See UpdateAssetProperty 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 (*IoTSiteWise) UpdateAssetRequest

func (c *IoTSiteWise) UpdateAssetRequest(input *UpdateAssetInput) (req *request.Request, output *UpdateAssetOutput)

UpdateAssetRequest generates a "aws/request.Request" representing the client's request for the UpdateAsset 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 UpdateAsset for more information on using the UpdateAsset 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 UpdateAssetRequest method.
req, resp := client.UpdateAssetRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/UpdateAsset

func (*IoTSiteWise) UpdateAssetWithContext

func (c *IoTSiteWise) UpdateAssetWithContext(ctx aws.Context, input *UpdateAssetInput, opts ...request.Option) (*UpdateAssetOutput, error)

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

See UpdateAsset 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 (*IoTSiteWise) UpdateDashboard

func (c *IoTSiteWise) UpdateDashboard(input *UpdateDashboardInput) (*UpdateDashboardOutput, error)

UpdateDashboard API operation for AWS IoT SiteWise.

Updates an AWS IoT SiteWise Monitor dashboard.

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 SiteWise's API operation UpdateDashboard for usage and error information.

Returned Error Types:

  • InvalidRequestException The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

  • ResourceNotFoundException The requested resource can't be found.

  • InternalFailureException AWS IoT SiteWise can't process your request right now. Try again later.

  • ThrottlingException Your request exceeded a rate limit. For example, you might have exceeded the number of AWS IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

    For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) in the AWS IoT SiteWise User Guide.

See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/UpdateDashboard

func (*IoTSiteWise) UpdateDashboardRequest

func (c *IoTSiteWise) UpdateDashboardRequest(input *UpdateDashboardInput) (req *request.Request, output *UpdateDashboardOutput)

UpdateDashboardRequest generates a "aws/request.Request" representing the client's request for the UpdateDashboard 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 UpdateDashboard for more information on using the UpdateDashboard 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 UpdateDashboardRequest method.
req, resp := client.UpdateDashboardRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/UpdateDashboard

func (*IoTSiteWise) UpdateDashboardWithContext

func (c *IoTSiteWise) UpdateDashboardWithContext(ctx aws.Context, input *UpdateDashboardInput, opts ...request.Option) (*UpdateDashboardOutput, error)

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

See UpdateDashboard 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 (*IoTSiteWise) UpdateGateway

func (c *IoTSiteWise) UpdateGateway(input *UpdateGatewayInput) (*UpdateGatewayOutput, error)

UpdateGateway API operation for AWS IoT SiteWise.

Updates a gateway's name.

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 SiteWise's API operation UpdateGateway for usage and error information.

Returned Error Types:

  • InvalidRequestException The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

  • ResourceNotFoundException The requested resource can't be found.

  • ConflictingOperationException Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time.

  • InternalFailureException AWS IoT SiteWise can't process your request right now. Try again later.

  • ThrottlingException Your request exceeded a rate limit. For example, you might have exceeded the number of AWS IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

    For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) in the AWS IoT SiteWise User Guide.

See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/UpdateGateway

func (*IoTSiteWise) UpdateGatewayCapabilityConfiguration

UpdateGatewayCapabilityConfiguration API operation for AWS IoT SiteWise.

Updates a gateway capability configuration or defines a new capability configuration. Each gateway capability defines data sources for a gateway. A capability configuration can contain multiple data source configurations. If you define OPC-UA sources for a gateway in the AWS IoT SiteWise console, all of your OPC-UA sources are stored in one capability configuration. To list all capability configurations for a gateway, use DescribeGateway (https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_DescribeGateway.html).

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 SiteWise's API operation UpdateGatewayCapabilityConfiguration for usage and error information.

Returned Error Types:

  • InvalidRequestException The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

  • ResourceNotFoundException The requested resource can't be found.

  • ConflictingOperationException Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time.

  • InternalFailureException AWS IoT SiteWise can't process your request right now. Try again later.

  • ThrottlingException Your request exceeded a rate limit. For example, you might have exceeded the number of AWS IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

    For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) in the AWS IoT SiteWise User Guide.

  • LimitExceededException You've reached the limit for a resource. For example, this can occur if you're trying to associate more than the allowed number of child assets or attempting to create more than the allowed number of properties for an asset model.

    For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) in the AWS IoT SiteWise User Guide.

See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/UpdateGatewayCapabilityConfiguration

func (*IoTSiteWise) UpdateGatewayCapabilityConfigurationRequest

func (c *IoTSiteWise) UpdateGatewayCapabilityConfigurationRequest(input *UpdateGatewayCapabilityConfigurationInput) (req *request.Request, output *UpdateGatewayCapabilityConfigurationOutput)

UpdateGatewayCapabilityConfigurationRequest generates a "aws/request.Request" representing the client's request for the UpdateGatewayCapabilityConfiguration 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 UpdateGatewayCapabilityConfiguration for more information on using the UpdateGatewayCapabilityConfiguration 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 UpdateGatewayCapabilityConfigurationRequest method.
req, resp := client.UpdateGatewayCapabilityConfigurationRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/UpdateGatewayCapabilityConfiguration

func (*IoTSiteWise) UpdateGatewayCapabilityConfigurationWithContext

func (c *IoTSiteWise) UpdateGatewayCapabilityConfigurationWithContext(ctx aws.Context, input *UpdateGatewayCapabilityConfigurationInput, opts ...request.Option) (*UpdateGatewayCapabilityConfigurationOutput, error)

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

See UpdateGatewayCapabilityConfiguration 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 (*IoTSiteWise) UpdateGatewayRequest

func (c *IoTSiteWise) UpdateGatewayRequest(input *UpdateGatewayInput) (req *request.Request, output *UpdateGatewayOutput)

UpdateGatewayRequest generates a "aws/request.Request" representing the client's request for the UpdateGateway 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 UpdateGateway for more information on using the UpdateGateway 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 UpdateGatewayRequest method.
req, resp := client.UpdateGatewayRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/UpdateGateway

func (*IoTSiteWise) UpdateGatewayWithContext

func (c *IoTSiteWise) UpdateGatewayWithContext(ctx aws.Context, input *UpdateGatewayInput, opts ...request.Option) (*UpdateGatewayOutput, error)

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

See UpdateGateway 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 (*IoTSiteWise) UpdatePortal

func (c *IoTSiteWise) UpdatePortal(input *UpdatePortalInput) (*UpdatePortalOutput, error)

UpdatePortal API operation for AWS IoT SiteWise.

Updates an AWS IoT SiteWise Monitor portal.

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 SiteWise's API operation UpdatePortal for usage and error information.

Returned Error Types:

  • InvalidRequestException The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

  • ResourceNotFoundException The requested resource can't be found.

  • InternalFailureException AWS IoT SiteWise can't process your request right now. Try again later.

  • ThrottlingException Your request exceeded a rate limit. For example, you might have exceeded the number of AWS IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

    For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) in the AWS IoT SiteWise User Guide.

  • ConflictingOperationException Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time.

See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/UpdatePortal

func (*IoTSiteWise) UpdatePortalRequest

func (c *IoTSiteWise) UpdatePortalRequest(input *UpdatePortalInput) (req *request.Request, output *UpdatePortalOutput)

UpdatePortalRequest generates a "aws/request.Request" representing the client's request for the UpdatePortal 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 UpdatePortal for more information on using the UpdatePortal 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 UpdatePortalRequest method.
req, resp := client.UpdatePortalRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/UpdatePortal

func (*IoTSiteWise) UpdatePortalWithContext

func (c *IoTSiteWise) UpdatePortalWithContext(ctx aws.Context, input *UpdatePortalInput, opts ...request.Option) (*UpdatePortalOutput, error)

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

See UpdatePortal 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 (*IoTSiteWise) UpdateProject

func (c *IoTSiteWise) UpdateProject(input *UpdateProjectInput) (*UpdateProjectOutput, error)

UpdateProject API operation for AWS IoT SiteWise.

Updates an AWS IoT SiteWise Monitor project.

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 SiteWise's API operation UpdateProject for usage and error information.

Returned Error Types:

  • InvalidRequestException The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

  • ResourceNotFoundException The requested resource can't be found.

  • InternalFailureException AWS IoT SiteWise can't process your request right now. Try again later.

  • ThrottlingException Your request exceeded a rate limit. For example, you might have exceeded the number of AWS IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

    For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) in the AWS IoT SiteWise User Guide.

See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/UpdateProject

func (*IoTSiteWise) UpdateProjectRequest

func (c *IoTSiteWise) UpdateProjectRequest(input *UpdateProjectInput) (req *request.Request, output *UpdateProjectOutput)

UpdateProjectRequest generates a "aws/request.Request" representing the client's request for the UpdateProject 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 UpdateProject for more information on using the UpdateProject 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 UpdateProjectRequest method.
req, resp := client.UpdateProjectRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/UpdateProject

func (*IoTSiteWise) UpdateProjectWithContext

func (c *IoTSiteWise) UpdateProjectWithContext(ctx aws.Context, input *UpdateProjectInput, opts ...request.Option) (*UpdateProjectOutput, error)

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

See UpdateProject 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 (*IoTSiteWise) WaitUntilAssetActive

func (c *IoTSiteWise) WaitUntilAssetActive(input *DescribeAssetInput) error

WaitUntilAssetActive uses the AWS IoT SiteWise API operation DescribeAsset to wait for a condition to be met before returning. If the condition is not met within the max attempt window, an error will be returned.

func (*IoTSiteWise) WaitUntilAssetActiveWithContext

func (c *IoTSiteWise) WaitUntilAssetActiveWithContext(ctx aws.Context, input *DescribeAssetInput, opts ...request.WaiterOption) error

WaitUntilAssetActiveWithContext is an extended version of WaitUntilAssetActive. With the support for passing in a context and options to configure the Waiter and the underlying request options.

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 (*IoTSiteWise) WaitUntilAssetModelActive

func (c *IoTSiteWise) WaitUntilAssetModelActive(input *DescribeAssetModelInput) error

WaitUntilAssetModelActive uses the AWS IoT SiteWise API operation DescribeAssetModel to wait for a condition to be met before returning. If the condition is not met within the max attempt window, an error will be returned.

func (*IoTSiteWise) WaitUntilAssetModelActiveWithContext

func (c *IoTSiteWise) WaitUntilAssetModelActiveWithContext(ctx aws.Context, input *DescribeAssetModelInput, opts ...request.WaiterOption) error

WaitUntilAssetModelActiveWithContext is an extended version of WaitUntilAssetModelActive. With the support for passing in a context and options to configure the Waiter and the underlying request options.

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 (*IoTSiteWise) WaitUntilAssetModelNotExists

func (c *IoTSiteWise) WaitUntilAssetModelNotExists(input *DescribeAssetModelInput) error

WaitUntilAssetModelNotExists uses the AWS IoT SiteWise API operation DescribeAssetModel to wait for a condition to be met before returning. If the condition is not met within the max attempt window, an error will be returned.

func (*IoTSiteWise) WaitUntilAssetModelNotExistsWithContext

func (c *IoTSiteWise) WaitUntilAssetModelNotExistsWithContext(ctx aws.Context, input *DescribeAssetModelInput, opts ...request.WaiterOption) error

WaitUntilAssetModelNotExistsWithContext is an extended version of WaitUntilAssetModelNotExists. With the support for passing in a context and options to configure the Waiter and the underlying request options.

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 (*IoTSiteWise) WaitUntilAssetNotExists

func (c *IoTSiteWise) WaitUntilAssetNotExists(input *DescribeAssetInput) error

WaitUntilAssetNotExists uses the AWS IoT SiteWise API operation DescribeAsset to wait for a condition to be met before returning. If the condition is not met within the max attempt window, an error will be returned.

func (*IoTSiteWise) WaitUntilAssetNotExistsWithContext

func (c *IoTSiteWise) WaitUntilAssetNotExistsWithContext(ctx aws.Context, input *DescribeAssetInput, opts ...request.WaiterOption) error

WaitUntilAssetNotExistsWithContext is an extended version of WaitUntilAssetNotExists. With the support for passing in a context and options to configure the Waiter and the underlying request options.

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 (*IoTSiteWise) WaitUntilPortalActive

func (c *IoTSiteWise) WaitUntilPortalActive(input *DescribePortalInput) error

WaitUntilPortalActive uses the AWS IoT SiteWise API operation DescribePortal to wait for a condition to be met before returning. If the condition is not met within the max attempt window, an error will be returned.

func (*IoTSiteWise) WaitUntilPortalActiveWithContext

func (c *IoTSiteWise) WaitUntilPortalActiveWithContext(ctx aws.Context, input *DescribePortalInput, opts ...request.WaiterOption) error

WaitUntilPortalActiveWithContext is an extended version of WaitUntilPortalActive. With the support for passing in a context and options to configure the Waiter and the underlying request options.

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 (*IoTSiteWise) WaitUntilPortalNotExists

func (c *IoTSiteWise) WaitUntilPortalNotExists(input *DescribePortalInput) error

WaitUntilPortalNotExists uses the AWS IoT SiteWise API operation DescribePortal to wait for a condition to be met before returning. If the condition is not met within the max attempt window, an error will be returned.

func (*IoTSiteWise) WaitUntilPortalNotExistsWithContext

func (c *IoTSiteWise) WaitUntilPortalNotExistsWithContext(ctx aws.Context, input *DescribePortalInput, opts ...request.WaiterOption) error

WaitUntilPortalNotExistsWithContext is an extended version of WaitUntilPortalNotExists. With the support for passing in a context and options to configure the Waiter and the underlying request options.

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 LimitExceededException

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

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

You've reached the limit for a resource. For example, this can occur if you're trying to associate more than the allowed number of child assets or attempting to create more than the allowed number of properties for an asset model.

For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) in the AWS IoT SiteWise User Guide.

func (*LimitExceededException) Code

func (s *LimitExceededException) Code() string

Code returns the exception type name.

func (*LimitExceededException) Error

func (s *LimitExceededException) Error() string

func (LimitExceededException) GoString

func (s LimitExceededException) GoString() string

GoString returns the string representation

func (*LimitExceededException) Message

func (s *LimitExceededException) Message() string

Message returns the exception's message.

func (*LimitExceededException) OrigErr

func (s *LimitExceededException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*LimitExceededException) RequestID

func (s *LimitExceededException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*LimitExceededException) StatusCode

func (s *LimitExceededException) StatusCode() int

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

func (LimitExceededException) String

func (s LimitExceededException) String() string

String returns the string representation

type ListAccessPoliciesInput

type ListAccessPoliciesInput struct {

	// The ARN of the IAM user. For more information, see IAM ARNs (https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html)
	// in the IAM User Guide. This parameter is required if you specify IAM for
	// identityType.
	IamArn *string `location:"querystring" locationName:"iamArn" min:"1" type:"string"`

	// The ID of the identity. This parameter is required if you specify USER or
	// GROUP for identityType.
	IdentityId *string `location:"querystring" locationName:"identityId" min:"1" type:"string"`

	// The type of identity (AWS SSO user, AWS SSO group, or IAM user). This parameter
	// is required if you specify identityId.
	IdentityType *string `location:"querystring" locationName:"identityType" type:"string" enum:"IdentityType"`

	// The maximum number of results to be returned per paginated request.
	//
	// Default: 50
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	// The token to be used for the next set of paginated results.
	NextToken *string `location:"querystring" locationName:"nextToken" min:"1" type:"string"`

	// The ID of the resource. This parameter is required if you specify resourceType.
	ResourceId *string `location:"querystring" locationName:"resourceId" min:"36" type:"string"`

	// The type of resource (portal or project). This parameter is required if you
	// specify resourceId.
	ResourceType *string `location:"querystring" locationName:"resourceType" type:"string" enum:"ResourceType"`
	// contains filtered or unexported fields
}

func (ListAccessPoliciesInput) GoString

func (s ListAccessPoliciesInput) GoString() string

GoString returns the string representation

func (*ListAccessPoliciesInput) SetIamArn

SetIamArn sets the IamArn field's value.

func (*ListAccessPoliciesInput) SetIdentityId

SetIdentityId sets the IdentityId field's value.

func (*ListAccessPoliciesInput) SetIdentityType

SetIdentityType sets the IdentityType field's value.

func (*ListAccessPoliciesInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListAccessPoliciesInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListAccessPoliciesInput) SetResourceId

SetResourceId sets the ResourceId field's value.

func (*ListAccessPoliciesInput) SetResourceType

SetResourceType sets the ResourceType field's value.

func (ListAccessPoliciesInput) String

func (s ListAccessPoliciesInput) String() string

String returns the string representation

func (*ListAccessPoliciesInput) Validate

func (s *ListAccessPoliciesInput) Validate() error

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

type ListAccessPoliciesOutput

type ListAccessPoliciesOutput struct {

	// A list that summarizes each access policy.
	//
	// AccessPolicySummaries is a required field
	AccessPolicySummaries []*AccessPolicySummary `locationName:"accessPolicySummaries" type:"list" required:"true"`

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

func (ListAccessPoliciesOutput) GoString

func (s ListAccessPoliciesOutput) GoString() string

GoString returns the string representation

func (*ListAccessPoliciesOutput) SetAccessPolicySummaries

func (s *ListAccessPoliciesOutput) SetAccessPolicySummaries(v []*AccessPolicySummary) *ListAccessPoliciesOutput

SetAccessPolicySummaries sets the AccessPolicySummaries field's value.

func (*ListAccessPoliciesOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListAccessPoliciesOutput) String

func (s ListAccessPoliciesOutput) String() string

String returns the string representation

type ListAssetModelsInput

type ListAssetModelsInput struct {

	// The maximum number of results to be returned per paginated request.
	//
	// Default: 50
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

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

func (ListAssetModelsInput) GoString

func (s ListAssetModelsInput) GoString() string

GoString returns the string representation

func (*ListAssetModelsInput) SetMaxResults

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

SetMaxResults sets the MaxResults field's value.

func (*ListAssetModelsInput) SetNextToken

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

SetNextToken sets the NextToken field's value.

func (ListAssetModelsInput) String

func (s ListAssetModelsInput) String() string

String returns the string representation

func (*ListAssetModelsInput) Validate

func (s *ListAssetModelsInput) Validate() error

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

type ListAssetModelsOutput

type ListAssetModelsOutput struct {

	// A list that summarizes each asset model.
	//
	// AssetModelSummaries is a required field
	AssetModelSummaries []*AssetModelSummary `locationName:"assetModelSummaries" type:"list" required:"true"`

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

func (ListAssetModelsOutput) GoString

func (s ListAssetModelsOutput) GoString() string

GoString returns the string representation

func (*ListAssetModelsOutput) SetAssetModelSummaries

func (s *ListAssetModelsOutput) SetAssetModelSummaries(v []*AssetModelSummary) *ListAssetModelsOutput

SetAssetModelSummaries sets the AssetModelSummaries field's value.

func (*ListAssetModelsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListAssetModelsOutput) String

func (s ListAssetModelsOutput) String() string

String returns the string representation

type ListAssetRelationshipsInput

type ListAssetRelationshipsInput struct {

	// The ID of the asset.
	//
	// AssetId is a required field
	AssetId *string `location:"uri" locationName:"assetId" min:"36" type:"string" required:"true"`

	// The maximum number of results to be returned per paginated request.
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	// The token to be used for the next set of paginated results.
	NextToken *string `location:"querystring" locationName:"nextToken" min:"1" type:"string"`

	// The type of traversal to use to identify asset relationships. Choose the
	// following option:
	//
	//    * PATH_TO_ROOT – Identify the asset's parent assets up to the root asset.
	//    The asset that you specify in assetId is the first result in the list
	//    of assetRelationshipSummaries, and the root asset is the last result.
	//
	// TraversalType is a required field
	TraversalType *string `location:"querystring" locationName:"traversalType" type:"string" required:"true" enum:"TraversalType"`
	// contains filtered or unexported fields
}

func (ListAssetRelationshipsInput) GoString

func (s ListAssetRelationshipsInput) GoString() string

GoString returns the string representation

func (*ListAssetRelationshipsInput) SetAssetId

SetAssetId sets the AssetId field's value.

func (*ListAssetRelationshipsInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListAssetRelationshipsInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListAssetRelationshipsInput) SetTraversalType

SetTraversalType sets the TraversalType field's value.

func (ListAssetRelationshipsInput) String

String returns the string representation

func (*ListAssetRelationshipsInput) Validate

func (s *ListAssetRelationshipsInput) Validate() error

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

type ListAssetRelationshipsOutput

type ListAssetRelationshipsOutput struct {

	// A list that summarizes each asset relationship.
	//
	// AssetRelationshipSummaries is a required field
	AssetRelationshipSummaries []*AssetRelationshipSummary `locationName:"assetRelationshipSummaries" type:"list" required:"true"`

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

func (ListAssetRelationshipsOutput) GoString

func (s ListAssetRelationshipsOutput) GoString() string

GoString returns the string representation

func (*ListAssetRelationshipsOutput) SetAssetRelationshipSummaries

SetAssetRelationshipSummaries sets the AssetRelationshipSummaries field's value.

func (*ListAssetRelationshipsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListAssetRelationshipsOutput) String

String returns the string representation

type ListAssetsInput

type ListAssetsInput struct {

	// The ID of the asset model by which to filter the list of assets. This parameter
	// is required if you choose ALL for filter.
	AssetModelId *string `location:"querystring" locationName:"assetModelId" min:"36" type:"string"`

	// The filter for the requested list of assets. Choose one of the following
	// options:
	//
	//    * ALL – The list includes all assets for a given asset model ID. The
	//    assetModelId parameter is required if you filter by ALL.
	//
	//    * TOP_LEVEL – The list includes only top-level assets in the asset hierarchy
	//    tree.
	//
	// Default: ALL
	Filter *string `location:"querystring" locationName:"filter" type:"string" enum:"ListAssetsFilter"`

	// The maximum number of results to be returned per paginated request.
	//
	// Default: 50
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

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

func (ListAssetsInput) GoString

func (s ListAssetsInput) GoString() string

GoString returns the string representation

func (*ListAssetsInput) SetAssetModelId

func (s *ListAssetsInput) SetAssetModelId(v string) *ListAssetsInput

SetAssetModelId sets the AssetModelId field's value.

func (*ListAssetsInput) SetFilter

func (s *ListAssetsInput) SetFilter(v string) *ListAssetsInput

SetFilter sets the Filter field's value.

func (*ListAssetsInput) SetMaxResults

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

SetMaxResults sets the MaxResults field's value.

func (*ListAssetsInput) SetNextToken

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

SetNextToken sets the NextToken field's value.

func (ListAssetsInput) String

func (s ListAssetsInput) String() string

String returns the string representation

func (*ListAssetsInput) Validate

func (s *ListAssetsInput) Validate() error

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

type ListAssetsOutput

type ListAssetsOutput struct {

	// A list that summarizes each asset.
	//
	// AssetSummaries is a required field
	AssetSummaries []*AssetSummary `locationName:"assetSummaries" type:"list" required:"true"`

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

func (ListAssetsOutput) GoString

func (s ListAssetsOutput) GoString() string

GoString returns the string representation

func (*ListAssetsOutput) SetAssetSummaries

func (s *ListAssetsOutput) SetAssetSummaries(v []*AssetSummary) *ListAssetsOutput

SetAssetSummaries sets the AssetSummaries field's value.

func (*ListAssetsOutput) SetNextToken

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

SetNextToken sets the NextToken field's value.

func (ListAssetsOutput) String

func (s ListAssetsOutput) String() string

String returns the string representation

type ListAssociatedAssetsInput

type ListAssociatedAssetsInput struct {

	// The ID of the asset to query.
	//
	// AssetId is a required field
	AssetId *string `location:"uri" locationName:"assetId" min:"36" type:"string" required:"true"`

	// The ID of the hierarchy by which child assets are associated to the asset.
	// To find a hierarchy ID, use the DescribeAsset (https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_DescribeAsset.html)
	// or DescribeAssetModel (https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_DescribeAssetModel.html)
	// operations. This parameter is required if you choose CHILD for traversalDirection.
	//
	// For more information, see Asset hierarchies (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/asset-hierarchies.html)
	// in the AWS IoT SiteWise User Guide.
	HierarchyId *string `location:"querystring" locationName:"hierarchyId" min:"36" type:"string"`

	// The maximum number of results to be returned per paginated request.
	//
	// Default: 50
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	// The token to be used for the next set of paginated results.
	NextToken *string `location:"querystring" locationName:"nextToken" min:"1" type:"string"`

	// The direction to list associated assets. Choose one of the following options:
	//
	//    * CHILD – The list includes all child assets associated to the asset.
	//    The hierarchyId parameter is required if you choose CHILD.
	//
	//    * PARENT – The list includes the asset's parent asset.
	//
	// Default: CHILD
	TraversalDirection *string `location:"querystring" locationName:"traversalDirection" type:"string" enum:"TraversalDirection"`
	// contains filtered or unexported fields
}

func (ListAssociatedAssetsInput) GoString

func (s ListAssociatedAssetsInput) GoString() string

GoString returns the string representation

func (*ListAssociatedAssetsInput) SetAssetId

SetAssetId sets the AssetId field's value.

func (*ListAssociatedAssetsInput) SetHierarchyId

SetHierarchyId sets the HierarchyId field's value.

func (*ListAssociatedAssetsInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListAssociatedAssetsInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListAssociatedAssetsInput) SetTraversalDirection

func (s *ListAssociatedAssetsInput) SetTraversalDirection(v string) *ListAssociatedAssetsInput

SetTraversalDirection sets the TraversalDirection field's value.

func (ListAssociatedAssetsInput) String

func (s ListAssociatedAssetsInput) String() string

String returns the string representation

func (*ListAssociatedAssetsInput) Validate

func (s *ListAssociatedAssetsInput) Validate() error

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

type ListAssociatedAssetsOutput

type ListAssociatedAssetsOutput struct {

	// A list that summarizes the associated assets.
	//
	// AssetSummaries is a required field
	AssetSummaries []*AssociatedAssetsSummary `locationName:"assetSummaries" type:"list" required:"true"`

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

func (ListAssociatedAssetsOutput) GoString

func (s ListAssociatedAssetsOutput) GoString() string

GoString returns the string representation

func (*ListAssociatedAssetsOutput) SetAssetSummaries

SetAssetSummaries sets the AssetSummaries field's value.

func (*ListAssociatedAssetsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListAssociatedAssetsOutput) String

String returns the string representation

type ListDashboardsInput

type ListDashboardsInput struct {

	// The maximum number of results to be returned per paginated request.
	//
	// Default: 50
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	// The token to be used for the next set of paginated results.
	NextToken *string `location:"querystring" locationName:"nextToken" min:"1" type:"string"`

	// The ID of the project.
	//
	// ProjectId is a required field
	ProjectId *string `location:"querystring" locationName:"projectId" min:"36" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ListDashboardsInput) GoString

func (s ListDashboardsInput) GoString() string

GoString returns the string representation

func (*ListDashboardsInput) SetMaxResults

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

SetMaxResults sets the MaxResults field's value.

func (*ListDashboardsInput) SetNextToken

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

SetNextToken sets the NextToken field's value.

func (*ListDashboardsInput) SetProjectId

func (s *ListDashboardsInput) SetProjectId(v string) *ListDashboardsInput

SetProjectId sets the ProjectId field's value.

func (ListDashboardsInput) String

func (s ListDashboardsInput) String() string

String returns the string representation

func (*ListDashboardsInput) Validate

func (s *ListDashboardsInput) Validate() error

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

type ListDashboardsOutput

type ListDashboardsOutput struct {

	// A list that summarizes each dashboard in the project.
	//
	// DashboardSummaries is a required field
	DashboardSummaries []*DashboardSummary `locationName:"dashboardSummaries" type:"list" required:"true"`

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

func (ListDashboardsOutput) GoString

func (s ListDashboardsOutput) GoString() string

GoString returns the string representation

func (*ListDashboardsOutput) SetDashboardSummaries

func (s *ListDashboardsOutput) SetDashboardSummaries(v []*DashboardSummary) *ListDashboardsOutput

SetDashboardSummaries sets the DashboardSummaries field's value.

func (*ListDashboardsOutput) SetNextToken

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

SetNextToken sets the NextToken field's value.

func (ListDashboardsOutput) String

func (s ListDashboardsOutput) String() string

String returns the string representation

type ListGatewaysInput

type ListGatewaysInput struct {

	// The maximum number of results to be returned per paginated request.
	//
	// Default: 50
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

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

func (ListGatewaysInput) GoString

func (s ListGatewaysInput) GoString() string

GoString returns the string representation

func (*ListGatewaysInput) SetMaxResults

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

SetMaxResults sets the MaxResults field's value.

func (*ListGatewaysInput) SetNextToken

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

SetNextToken sets the NextToken field's value.

func (ListGatewaysInput) String

func (s ListGatewaysInput) String() string

String returns the string representation

func (*ListGatewaysInput) Validate

func (s *ListGatewaysInput) Validate() error

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

type ListGatewaysOutput

type ListGatewaysOutput struct {

	// A list that summarizes each gateway.
	//
	// GatewaySummaries is a required field
	GatewaySummaries []*GatewaySummary `locationName:"gatewaySummaries" type:"list" required:"true"`

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

func (ListGatewaysOutput) GoString

func (s ListGatewaysOutput) GoString() string

GoString returns the string representation

func (*ListGatewaysOutput) SetGatewaySummaries

func (s *ListGatewaysOutput) SetGatewaySummaries(v []*GatewaySummary) *ListGatewaysOutput

SetGatewaySummaries sets the GatewaySummaries field's value.

func (*ListGatewaysOutput) SetNextToken

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

SetNextToken sets the NextToken field's value.

func (ListGatewaysOutput) String

func (s ListGatewaysOutput) String() string

String returns the string representation

type ListPortalsInput

type ListPortalsInput struct {

	// The maximum number of results to be returned per paginated request.
	//
	// Default: 50
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

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

func (ListPortalsInput) GoString

func (s ListPortalsInput) GoString() string

GoString returns the string representation

func (*ListPortalsInput) SetMaxResults

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

SetMaxResults sets the MaxResults field's value.

func (*ListPortalsInput) SetNextToken

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

SetNextToken sets the NextToken field's value.

func (ListPortalsInput) String

func (s ListPortalsInput) String() string

String returns the string representation

func (*ListPortalsInput) Validate

func (s *ListPortalsInput) Validate() error

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

type ListPortalsOutput

type ListPortalsOutput struct {

	// The token for the next set of results, or null if there are no additional
	// results.
	NextToken *string `locationName:"nextToken" min:"1" type:"string"`

	// A list that summarizes each portal.
	PortalSummaries []*PortalSummary `locationName:"portalSummaries" type:"list"`
	// contains filtered or unexported fields
}

func (ListPortalsOutput) GoString

func (s ListPortalsOutput) GoString() string

GoString returns the string representation

func (*ListPortalsOutput) SetNextToken

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

SetNextToken sets the NextToken field's value.

func (*ListPortalsOutput) SetPortalSummaries

func (s *ListPortalsOutput) SetPortalSummaries(v []*PortalSummary) *ListPortalsOutput

SetPortalSummaries sets the PortalSummaries field's value.

func (ListPortalsOutput) String

func (s ListPortalsOutput) String() string

String returns the string representation

type ListProjectAssetsInput

type ListProjectAssetsInput struct {

	// The maximum number of results to be returned per paginated request.
	//
	// Default: 50
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	// The token to be used for the next set of paginated results.
	NextToken *string `location:"querystring" locationName:"nextToken" min:"1" type:"string"`

	// The ID of the project.
	//
	// ProjectId is a required field
	ProjectId *string `location:"uri" locationName:"projectId" min:"36" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ListProjectAssetsInput) GoString

func (s ListProjectAssetsInput) GoString() string

GoString returns the string representation

func (*ListProjectAssetsInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListProjectAssetsInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListProjectAssetsInput) SetProjectId

SetProjectId sets the ProjectId field's value.

func (ListProjectAssetsInput) String

func (s ListProjectAssetsInput) String() string

String returns the string representation

func (*ListProjectAssetsInput) Validate

func (s *ListProjectAssetsInput) Validate() error

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

type ListProjectAssetsOutput

type ListProjectAssetsOutput struct {

	// A list that contains the IDs of each asset associated with the project.
	//
	// AssetIds is a required field
	AssetIds []*string `locationName:"assetIds" type:"list" required:"true"`

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

func (ListProjectAssetsOutput) GoString

func (s ListProjectAssetsOutput) GoString() string

GoString returns the string representation

func (*ListProjectAssetsOutput) SetAssetIds

SetAssetIds sets the AssetIds field's value.

func (*ListProjectAssetsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListProjectAssetsOutput) String

func (s ListProjectAssetsOutput) String() string

String returns the string representation

type ListProjectsInput

type ListProjectsInput struct {

	// The maximum number of results to be returned per paginated request.
	//
	// Default: 50
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	// The token to be used for the next set of paginated results.
	NextToken *string `location:"querystring" locationName:"nextToken" min:"1" type:"string"`

	// The ID of the portal.
	//
	// PortalId is a required field
	PortalId *string `location:"querystring" locationName:"portalId" min:"36" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ListProjectsInput) GoString

func (s ListProjectsInput) GoString() string

GoString returns the string representation

func (*ListProjectsInput) SetMaxResults

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

SetMaxResults sets the MaxResults field's value.

func (*ListProjectsInput) SetNextToken

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

SetNextToken sets the NextToken field's value.

func (*ListProjectsInput) SetPortalId

func (s *ListProjectsInput) SetPortalId(v string) *ListProjectsInput

SetPortalId sets the PortalId field's value.

func (ListProjectsInput) String

func (s ListProjectsInput) String() string

String returns the string representation

func (*ListProjectsInput) Validate

func (s *ListProjectsInput) Validate() error

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

type ListProjectsOutput

type ListProjectsOutput struct {

	// The token for the next set of results, or null if there are no additional
	// results.
	NextToken *string `locationName:"nextToken" min:"1" type:"string"`

	// A list that summarizes each project in the portal.
	//
	// ProjectSummaries is a required field
	ProjectSummaries []*ProjectSummary `locationName:"projectSummaries" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (ListProjectsOutput) GoString

func (s ListProjectsOutput) GoString() string

GoString returns the string representation

func (*ListProjectsOutput) SetNextToken

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

SetNextToken sets the NextToken field's value.

func (*ListProjectsOutput) SetProjectSummaries

func (s *ListProjectsOutput) SetProjectSummaries(v []*ProjectSummary) *ListProjectsOutput

SetProjectSummaries sets the ProjectSummaries field's value.

func (ListProjectsOutput) String

func (s ListProjectsOutput) String() string

String returns the string representation

type ListTagsForResourceInput

type ListTagsForResourceInput struct {

	// The ARN (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// of the resource.
	//
	// ResourceArn is a required field
	ResourceArn *string `location:"querystring" locationName:"resourceArn" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ListTagsForResourceInput) GoString

func (s ListTagsForResourceInput) GoString() string

GoString returns the string representation

func (*ListTagsForResourceInput) SetResourceArn

SetResourceArn sets the ResourceArn field's value.

func (ListTagsForResourceInput) String

func (s ListTagsForResourceInput) String() string

String returns the string representation

func (*ListTagsForResourceInput) Validate

func (s *ListTagsForResourceInput) Validate() error

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

type ListTagsForResourceOutput

type ListTagsForResourceOutput struct {

	// The list of key-value pairs that contain metadata for the resource. For more
	// information, see Tagging your AWS IoT SiteWise resources (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/tag-resources.html)
	// in the AWS IoT SiteWise User Guide.
	Tags map[string]*string `locationName:"tags" min:"1" type:"map"`
	// contains filtered or unexported fields
}

func (ListTagsForResourceOutput) GoString

func (s ListTagsForResourceOutput) GoString() string

GoString returns the string representation

func (*ListTagsForResourceOutput) SetTags

SetTags sets the Tags field's value.

func (ListTagsForResourceOutput) String

func (s ListTagsForResourceOutput) String() string

String returns the string representation

type LoggingOptions

type LoggingOptions struct {

	// The AWS IoT SiteWise logging verbosity level.
	//
	// Level is a required field
	Level *string `locationName:"level" type:"string" required:"true" enum:"LoggingLevel"`
	// contains filtered or unexported fields
}

Contains logging options.

func (LoggingOptions) GoString

func (s LoggingOptions) GoString() string

GoString returns the string representation

func (*LoggingOptions) SetLevel

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

SetLevel sets the Level 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 Measurement

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

Contains an asset measurement property. For more information, see Measurements (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/asset-properties.html#measurements) in the AWS IoT SiteWise User Guide.

func (Measurement) GoString

func (s Measurement) GoString() string

GoString returns the string representation

func (Measurement) String

func (s Measurement) String() string

String returns the string representation

type Metric

type Metric struct {

	// The mathematical expression that defines the metric aggregation function.
	// You can specify up to 10 variables per expression. You can specify up to
	// 10 functions per expression.
	//
	// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html)
	// in the AWS IoT SiteWise User Guide.
	//
	// Expression is a required field
	Expression *string `locationName:"expression" min:"1" type:"string" required:"true"`

	// The list of variables used in the expression.
	//
	// Variables is a required field
	Variables []*ExpressionVariable `locationName:"variables" type:"list" required:"true"`

	// The window (time interval) over which AWS IoT SiteWise computes the metric's
	// aggregation expression. AWS IoT SiteWise computes one data point per window.
	//
	// Window is a required field
	Window *MetricWindow `locationName:"window" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Contains an asset metric property. With metrics, you can calculate aggregate functions, such as an average, maximum, or minimum, as specified through an expression. A metric maps several values to a single value (such as a sum).

The maximum number of dependent/cascading variables used in any one metric calculation is 10. Therefore, a root metric can have up to 10 cascading metrics in its computational dependency tree. Additionally, a metric can only have a data type of DOUBLE and consume properties with data types of INTEGER or DOUBLE.

For more information, see Metrics (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/asset-properties.html#metrics) in the AWS IoT SiteWise User Guide.

func (Metric) GoString

func (s Metric) GoString() string

GoString returns the string representation

func (*Metric) SetExpression

func (s *Metric) SetExpression(v string) *Metric

SetExpression sets the Expression field's value.

func (*Metric) SetVariables

func (s *Metric) SetVariables(v []*ExpressionVariable) *Metric

SetVariables sets the Variables field's value.

func (*Metric) SetWindow

func (s *Metric) SetWindow(v *MetricWindow) *Metric

SetWindow sets the Window field's value.

func (Metric) String

func (s Metric) String() string

String returns the string representation

func (*Metric) Validate

func (s *Metric) Validate() error

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

type MetricWindow

type MetricWindow struct {

	// The tumbling time interval window.
	Tumbling *TumblingWindow `locationName:"tumbling" type:"structure"`
	// contains filtered or unexported fields
}

Contains a time interval window used for data aggregate computations (for example, average, sum, count, and so on).

func (MetricWindow) GoString

func (s MetricWindow) GoString() string

GoString returns the string representation

func (*MetricWindow) SetTumbling

func (s *MetricWindow) SetTumbling(v *TumblingWindow) *MetricWindow

SetTumbling sets the Tumbling field's value.

func (MetricWindow) String

func (s MetricWindow) String() string

String returns the string representation

func (*MetricWindow) Validate

func (s *MetricWindow) Validate() error

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

type MonitorErrorDetails

type MonitorErrorDetails struct {

	// The error code.
	Code *string `locationName:"code" type:"string" enum:"MonitorErrorCode"`

	// The error message.
	Message *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

Contains AWS IoT SiteWise Monitor error details.

func (MonitorErrorDetails) GoString

func (s MonitorErrorDetails) GoString() string

GoString returns the string representation

func (*MonitorErrorDetails) SetCode

SetCode sets the Code field's value.

func (*MonitorErrorDetails) SetMessage

SetMessage sets the Message field's value.

func (MonitorErrorDetails) String

func (s MonitorErrorDetails) String() string

String returns the string representation

type PortalResource

type PortalResource struct {

	// The ID of the portal.
	//
	// Id is a required field
	Id *string `locationName:"id" min:"36" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Identifies an AWS IoT SiteWise Monitor portal.

func (PortalResource) GoString

func (s PortalResource) GoString() string

GoString returns the string representation

func (*PortalResource) SetId

func (s *PortalResource) SetId(v string) *PortalResource

SetId sets the Id field's value.

func (PortalResource) String

func (s PortalResource) String() string

String returns the string representation

func (*PortalResource) Validate

func (s *PortalResource) Validate() error

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

type PortalStatus

type PortalStatus struct {

	// Contains associated error information, if any.
	Error *MonitorErrorDetails `locationName:"error" type:"structure"`

	// The current state of the portal.
	//
	// State is a required field
	State *string `locationName:"state" type:"string" required:"true" enum:"PortalState"`
	// contains filtered or unexported fields
}

Contains information about the current status of a portal.

func (PortalStatus) GoString

func (s PortalStatus) GoString() string

GoString returns the string representation

func (*PortalStatus) SetError

SetError sets the Error field's value.

func (*PortalStatus) SetState

func (s *PortalStatus) SetState(v string) *PortalStatus

SetState sets the State field's value.

func (PortalStatus) String

func (s PortalStatus) String() string

String returns the string representation

type PortalSummary

type PortalSummary struct {

	// The date the portal was created, in Unix epoch time.
	CreationDate *time.Time `locationName:"creationDate" type:"timestamp"`

	// The portal's description.
	Description *string `locationName:"description" min:"1" type:"string"`

	// The ID of the portal.
	//
	// Id is a required field
	Id *string `locationName:"id" min:"36" type:"string" required:"true"`

	// The date the portal was last updated, in Unix epoch time.
	LastUpdateDate *time.Time `locationName:"lastUpdateDate" type:"timestamp"`

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

	// The ARN (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// of the service role that allows the portal's users to access your AWS IoT
	// SiteWise resources on your behalf. For more information, see Using service
	// roles for AWS IoT SiteWise Monitor (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/monitor-service-role.html)
	// in the AWS IoT SiteWise User Guide.
	RoleArn *string `locationName:"roleArn" min:"1" type:"string"`

	// The URL for the AWS IoT SiteWise Monitor portal. You can use this URL to
	// access portals that use AWS SSO for authentication. For portals that use
	// IAM for authentication, you must use the AWS IoT SiteWise console to get
	// a URL that you can use to access the portal.
	//
	// StartUrl is a required field
	StartUrl *string `locationName:"startUrl" min:"1" type:"string" required:"true"`

	// Contains information about the current status of a portal.
	//
	// Status is a required field
	Status *PortalStatus `locationName:"status" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Contains a portal summary.

func (PortalSummary) GoString

func (s PortalSummary) GoString() string

GoString returns the string representation

func (*PortalSummary) SetCreationDate

func (s *PortalSummary) SetCreationDate(v time.Time) *PortalSummary

SetCreationDate sets the CreationDate field's value.

func (*PortalSummary) SetDescription

func (s *PortalSummary) SetDescription(v string) *PortalSummary

SetDescription sets the Description field's value.

func (*PortalSummary) SetId

func (s *PortalSummary) SetId(v string) *PortalSummary

SetId sets the Id field's value.

func (*PortalSummary) SetLastUpdateDate

func (s *PortalSummary) SetLastUpdateDate(v time.Time) *PortalSummary

SetLastUpdateDate sets the LastUpdateDate field's value.

func (*PortalSummary) SetName

func (s *PortalSummary) SetName(v string) *PortalSummary

SetName sets the Name field's value.

func (*PortalSummary) SetRoleArn

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

SetRoleArn sets the RoleArn field's value.

func (*PortalSummary) SetStartUrl

func (s *PortalSummary) SetStartUrl(v string) *PortalSummary

SetStartUrl sets the StartUrl field's value.

func (*PortalSummary) SetStatus

func (s *PortalSummary) SetStatus(v *PortalStatus) *PortalSummary

SetStatus sets the Status field's value.

func (PortalSummary) String

func (s PortalSummary) String() string

String returns the string representation

type ProjectResource

type ProjectResource struct {

	// The ID of the project.
	//
	// Id is a required field
	Id *string `locationName:"id" min:"36" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Identifies a specific AWS IoT SiteWise Monitor project.

func (ProjectResource) GoString

func (s ProjectResource) GoString() string

GoString returns the string representation

func (*ProjectResource) SetId

func (s *ProjectResource) SetId(v string) *ProjectResource

SetId sets the Id field's value.

func (ProjectResource) String

func (s ProjectResource) String() string

String returns the string representation

func (*ProjectResource) Validate

func (s *ProjectResource) Validate() error

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

type ProjectSummary

type ProjectSummary struct {

	// The date the project was created, in Unix epoch time.
	CreationDate *time.Time `locationName:"creationDate" type:"timestamp"`

	// The project's description.
	Description *string `locationName:"description" min:"1" type:"string"`

	// The ID of the project.
	//
	// Id is a required field
	Id *string `locationName:"id" min:"36" type:"string" required:"true"`

	// The date the project was last updated, in Unix epoch time.
	LastUpdateDate *time.Time `locationName:"lastUpdateDate" type:"timestamp"`

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

Contains project summary information.

func (ProjectSummary) GoString

func (s ProjectSummary) GoString() string

GoString returns the string representation

func (*ProjectSummary) SetCreationDate

func (s *ProjectSummary) SetCreationDate(v time.Time) *ProjectSummary

SetCreationDate sets the CreationDate field's value.

func (*ProjectSummary) SetDescription

func (s *ProjectSummary) SetDescription(v string) *ProjectSummary

SetDescription sets the Description field's value.

func (*ProjectSummary) SetId

func (s *ProjectSummary) SetId(v string) *ProjectSummary

SetId sets the Id field's value.

func (*ProjectSummary) SetLastUpdateDate

func (s *ProjectSummary) SetLastUpdateDate(v time.Time) *ProjectSummary

SetLastUpdateDate sets the LastUpdateDate field's value.

func (*ProjectSummary) SetName

func (s *ProjectSummary) SetName(v string) *ProjectSummary

SetName sets the Name field's value.

func (ProjectSummary) String

func (s ProjectSummary) String() string

String returns the string representation

type Property

type Property struct {

	// The property alias that identifies the property, such as an OPC-UA server
	// data stream path (for example, /company/windfarm/3/turbine/7/temperature).
	// For more information, see Mapping industrial data streams to asset properties
	// (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/connect-data-streams.html)
	// in the AWS IoT SiteWise User Guide.
	Alias *string `locationName:"alias" min:"1" type:"string"`

	// The property data type.
	//
	// DataType is a required field
	DataType *string `locationName:"dataType" type:"string" required:"true" enum:"PropertyDataType"`

	// The ID of the asset property.
	//
	// Id is a required field
	Id *string `locationName:"id" min:"36" type:"string" required:"true"`

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

	// The asset property's notification topic and state. For more information,
	// see UpdateAssetProperty (https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_UpdateAssetProperty.html).
	Notification *PropertyNotification `locationName:"notification" type:"structure"`

	// The property type (see PropertyType). A property contains one type.
	Type *PropertyType `locationName:"type" type:"structure"`

	// The unit (such as Newtons or RPM) of the asset property.
	Unit *string `locationName:"unit" min:"1" type:"string"`
	// contains filtered or unexported fields
}

Contains asset property information.

func (Property) GoString

func (s Property) GoString() string

GoString returns the string representation

func (*Property) SetAlias

func (s *Property) SetAlias(v string) *Property

SetAlias sets the Alias field's value.

func (*Property) SetDataType

func (s *Property) SetDataType(v string) *Property

SetDataType sets the DataType field's value.

func (*Property) SetId

func (s *Property) SetId(v string) *Property

SetId sets the Id field's value.

func (*Property) SetName

func (s *Property) SetName(v string) *Property

SetName sets the Name field's value.

func (*Property) SetNotification

func (s *Property) SetNotification(v *PropertyNotification) *Property

SetNotification sets the Notification field's value.

func (*Property) SetType

func (s *Property) SetType(v *PropertyType) *Property

SetType sets the Type field's value.

func (*Property) SetUnit

func (s *Property) SetUnit(v string) *Property

SetUnit sets the Unit field's value.

func (Property) String

func (s Property) String() string

String returns the string representation

type PropertyNotification

type PropertyNotification struct {

	// The current notification state.
	//
	// State is a required field
	State *string `locationName:"state" type:"string" required:"true" enum:"PropertyNotificationState"`

	// The MQTT topic to which AWS IoT SiteWise publishes property value update
	// notifications.
	//
	// Topic is a required field
	Topic *string `locationName:"topic" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Contains asset property value notification information. When the notification state is enabled, AWS IoT SiteWise publishes property value updates to a unique MQTT topic. For more information, see Interacting with other services (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/interact-with-other-services.html) in the AWS IoT SiteWise User Guide.

func (PropertyNotification) GoString

func (s PropertyNotification) GoString() string

GoString returns the string representation

func (*PropertyNotification) SetState

SetState sets the State field's value.

func (*PropertyNotification) SetTopic

SetTopic sets the Topic field's value.

func (PropertyNotification) String

func (s PropertyNotification) String() string

String returns the string representation

type PropertyType

type PropertyType struct {

	// Specifies an asset attribute property. An attribute generally contains static
	// information, such as the serial number of an IIoT (https://en.wikipedia.org/wiki/Internet_of_things#Industrial_applications)
	// wind turbine.
	Attribute *Attribute `locationName:"attribute" type:"structure"`

	// Specifies an asset measurement property. A measurement represents a device's
	// raw sensor data stream, such as timestamped temperature values or timestamped
	// power values.
	Measurement *Measurement `locationName:"measurement" type:"structure"`

	// Specifies an asset metric property. A metric contains a mathematical expression
	// that uses aggregate functions to process all input data points over a time
	// interval and output a single data point, such as to calculate the average
	// hourly temperature.
	Metric *Metric `locationName:"metric" type:"structure"`

	// Specifies an asset transform property. A transform contains a mathematical
	// expression that maps a property's data points from one form to another, such
	// as a unit conversion from Celsius to Fahrenheit.
	Transform *Transform `locationName:"transform" type:"structure"`
	// contains filtered or unexported fields
}

Contains a property type, which can be one of attribute, measurement, metric, or transform.

func (PropertyType) GoString

func (s PropertyType) GoString() string

GoString returns the string representation

func (*PropertyType) SetAttribute

func (s *PropertyType) SetAttribute(v *Attribute) *PropertyType

SetAttribute sets the Attribute field's value.

func (*PropertyType) SetMeasurement

func (s *PropertyType) SetMeasurement(v *Measurement) *PropertyType

SetMeasurement sets the Measurement field's value.

func (*PropertyType) SetMetric

func (s *PropertyType) SetMetric(v *Metric) *PropertyType

SetMetric sets the Metric field's value.

func (*PropertyType) SetTransform

func (s *PropertyType) SetTransform(v *Transform) *PropertyType

SetTransform sets the Transform field's value.

func (PropertyType) String

func (s PropertyType) String() string

String returns the string representation

func (*PropertyType) Validate

func (s *PropertyType) Validate() error

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

type PutAssetPropertyValueEntry

type PutAssetPropertyValueEntry struct {

	// The ID of the asset to update.
	AssetId *string `locationName:"assetId" min:"36" type:"string"`

	// The user specified ID for the entry. You can use this ID to identify which
	// entries failed.
	//
	// EntryId is a required field
	EntryId *string `locationName:"entryId" min:"1" type:"string" required:"true"`

	// The property alias that identifies the property, such as an OPC-UA server
	// data stream path (for example, /company/windfarm/3/turbine/7/temperature).
	// For more information, see Mapping industrial data streams to asset properties
	// (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/connect-data-streams.html)
	// in the AWS IoT SiteWise User Guide.
	PropertyAlias *string `locationName:"propertyAlias" min:"1" type:"string"`

	// The ID of the asset property for this entry.
	PropertyId *string `locationName:"propertyId" min:"36" type:"string"`

	// The list of property values to upload. You can specify up to 10 propertyValues
	// array elements.
	//
	// PropertyValues is a required field
	PropertyValues []*AssetPropertyValue `locationName:"propertyValues" type:"list" required:"true"`
	// contains filtered or unexported fields
}

Contains a list of value updates for an asset property in the list of asset entries consumed by the BatchPutAssetPropertyValue (https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_BatchPutAssetPropertyValue.html) API operation.

func (PutAssetPropertyValueEntry) GoString

func (s PutAssetPropertyValueEntry) GoString() string

GoString returns the string representation

func (*PutAssetPropertyValueEntry) SetAssetId

SetAssetId sets the AssetId field's value.

func (*PutAssetPropertyValueEntry) SetEntryId

SetEntryId sets the EntryId field's value.

func (*PutAssetPropertyValueEntry) SetPropertyAlias

SetPropertyAlias sets the PropertyAlias field's value.

func (*PutAssetPropertyValueEntry) SetPropertyId

SetPropertyId sets the PropertyId field's value.

func (*PutAssetPropertyValueEntry) SetPropertyValues

SetPropertyValues sets the PropertyValues field's value.

func (PutAssetPropertyValueEntry) String

String returns the string representation

func (*PutAssetPropertyValueEntry) Validate

func (s *PutAssetPropertyValueEntry) Validate() error

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

type PutDefaultEncryptionConfigurationInput

type PutDefaultEncryptionConfigurationInput struct {

	// The type of encryption used for the encryption configuration.
	//
	// EncryptionType is a required field
	EncryptionType *string `locationName:"encryptionType" type:"string" required:"true" enum:"EncryptionType"`

	// The Key ID of the customer managed customer master key (CMK) used for AWS
	// KMS encryption. This is required if you use KMS_BASED_ENCRYPTION.
	KmsKeyId *string `locationName:"kmsKeyId" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (PutDefaultEncryptionConfigurationInput) GoString

GoString returns the string representation

func (*PutDefaultEncryptionConfigurationInput) SetEncryptionType

SetEncryptionType sets the EncryptionType field's value.

func (*PutDefaultEncryptionConfigurationInput) SetKmsKeyId

SetKmsKeyId sets the KmsKeyId field's value.

func (PutDefaultEncryptionConfigurationInput) String

String returns the string representation

func (*PutDefaultEncryptionConfigurationInput) Validate

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

type PutDefaultEncryptionConfigurationOutput

type PutDefaultEncryptionConfigurationOutput struct {

	// The status of the account configuration. This contains the ConfigurationState.
	// If there is an error, it also contains the ErrorDetails.
	//
	// ConfigurationStatus is a required field
	ConfigurationStatus *ConfigurationStatus `locationName:"configurationStatus" type:"structure" required:"true"`

	// The type of encryption used for the encryption configuration.
	//
	// EncryptionType is a required field
	EncryptionType *string `locationName:"encryptionType" type:"string" required:"true" enum:"EncryptionType"`

	// The Key ARN of the AWS KMS CMK used for AWS KMS encryption if you use KMS_BASED_ENCRYPTION.
	KmsKeyArn *string `locationName:"kmsKeyArn" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (PutDefaultEncryptionConfigurationOutput) GoString

GoString returns the string representation

func (*PutDefaultEncryptionConfigurationOutput) SetConfigurationStatus

SetConfigurationStatus sets the ConfigurationStatus field's value.

func (*PutDefaultEncryptionConfigurationOutput) SetEncryptionType

SetEncryptionType sets the EncryptionType field's value.

func (*PutDefaultEncryptionConfigurationOutput) SetKmsKeyArn

SetKmsKeyArn sets the KmsKeyArn field's value.

func (PutDefaultEncryptionConfigurationOutput) String

String returns the string representation

type PutLoggingOptionsInput

type PutLoggingOptionsInput struct {

	// The logging options to set.
	//
	// LoggingOptions is a required field
	LoggingOptions *LoggingOptions `locationName:"loggingOptions" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (PutLoggingOptionsInput) GoString

func (s PutLoggingOptionsInput) GoString() string

GoString returns the string representation

func (*PutLoggingOptionsInput) SetLoggingOptions

SetLoggingOptions sets the LoggingOptions field's value.

func (PutLoggingOptionsInput) String

func (s PutLoggingOptionsInput) String() string

String returns the string representation

func (*PutLoggingOptionsInput) Validate

func (s *PutLoggingOptionsInput) Validate() error

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

type PutLoggingOptionsOutput

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

func (PutLoggingOptionsOutput) GoString

func (s PutLoggingOptionsOutput) GoString() string

GoString returns the string representation

func (PutLoggingOptionsOutput) String

func (s PutLoggingOptionsOutput) String() string

String returns the string representation

type Resource

type Resource struct {

	// A portal resource.
	Portal *PortalResource `locationName:"portal" type:"structure"`

	// A project resource.
	Project *ProjectResource `locationName:"project" type:"structure"`
	// contains filtered or unexported fields
}

Contains an AWS IoT SiteWise Monitor resource ID for a portal or project.

func (Resource) GoString

func (s Resource) GoString() string

GoString returns the string representation

func (*Resource) SetPortal

func (s *Resource) SetPortal(v *PortalResource) *Resource

SetPortal sets the Portal field's value.

func (*Resource) SetProject

func (s *Resource) SetProject(v *ProjectResource) *Resource

SetProject sets the Project field's value.

func (Resource) String

func (s Resource) String() string

String returns the string representation

func (*Resource) Validate

func (s *Resource) Validate() error

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

type ResourceAlreadyExistsException

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

	Message_ *string `locationName:"message" type:"string"`

	// The ARN of the resource that already exists.
	//
	// ResourceArn is a required field
	ResourceArn *string `locationName:"resourceArn" type:"string" required:"true"`

	// The ID of the resource that already exists.
	//
	// ResourceId is a required field
	ResourceId *string `locationName:"resourceId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

The resource already exists.

func (*ResourceAlreadyExistsException) Code

Code returns the exception type name.

func (*ResourceAlreadyExistsException) Error

func (ResourceAlreadyExistsException) GoString

GoString returns the string representation

func (*ResourceAlreadyExistsException) Message

Message returns the exception's message.

func (*ResourceAlreadyExistsException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ResourceAlreadyExistsException) RequestID

func (s *ResourceAlreadyExistsException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ResourceAlreadyExistsException) StatusCode

func (s *ResourceAlreadyExistsException) StatusCode() int

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

func (ResourceAlreadyExistsException) String

String returns the string representation

type ResourceNotFoundException

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

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

The requested resource can't be found.

func (*ResourceNotFoundException) Code

Code returns the exception type name.

func (*ResourceNotFoundException) Error

func (s *ResourceNotFoundException) Error() string

func (ResourceNotFoundException) GoString

func (s ResourceNotFoundException) GoString() string

GoString returns the string representation

func (*ResourceNotFoundException) Message

func (s *ResourceNotFoundException) Message() string

Message returns the exception's message.

func (*ResourceNotFoundException) OrigErr

func (s *ResourceNotFoundException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ResourceNotFoundException) RequestID

func (s *ResourceNotFoundException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ResourceNotFoundException) StatusCode

func (s *ResourceNotFoundException) StatusCode() int

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

func (ResourceNotFoundException) String

func (s ResourceNotFoundException) String() string

String returns the string representation

type ServiceUnavailableException

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

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

The requested service is unavailable.

func (*ServiceUnavailableException) Code

Code returns the exception type name.

func (*ServiceUnavailableException) Error

func (ServiceUnavailableException) GoString

func (s ServiceUnavailableException) GoString() string

GoString returns the string representation

func (*ServiceUnavailableException) Message

func (s *ServiceUnavailableException) Message() string

Message returns the exception's message.

func (*ServiceUnavailableException) OrigErr

func (s *ServiceUnavailableException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ServiceUnavailableException) RequestID

func (s *ServiceUnavailableException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ServiceUnavailableException) StatusCode

func (s *ServiceUnavailableException) StatusCode() int

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

func (ServiceUnavailableException) String

String returns the string representation

type TagResourceInput

type TagResourceInput struct {

	// The ARN (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// of the resource to tag.
	//
	// ResourceArn is a required field
	ResourceArn *string `location:"querystring" locationName:"resourceArn" min:"1" type:"string" required:"true"`

	// A list of key-value pairs that contain metadata for the resource. For more
	// information, see Tagging your AWS IoT SiteWise resources (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/tag-resources.html)
	// in the AWS IoT SiteWise User Guide.
	//
	// Tags is a required field
	Tags map[string]*string `locationName:"tags" min:"1" type:"map" 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 map[string]*string) *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

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

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

Your request exceeded a rate limit. For example, you might have exceeded the number of AWS IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) in the AWS IoT SiteWise User Guide.

func (*ThrottlingException) Code

func (s *ThrottlingException) Code() string

Code returns the exception type name.

func (*ThrottlingException) Error

func (s *ThrottlingException) Error() string

func (ThrottlingException) GoString

func (s ThrottlingException) GoString() string

GoString returns the string representation

func (*ThrottlingException) Message

func (s *ThrottlingException) Message() string

Message returns the exception's message.

func (*ThrottlingException) OrigErr

func (s *ThrottlingException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ThrottlingException) RequestID

func (s *ThrottlingException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ThrottlingException) StatusCode

func (s *ThrottlingException) StatusCode() int

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

func (ThrottlingException) String

func (s ThrottlingException) String() string

String returns the string representation

type TimeInNanos

type TimeInNanos struct {

	// The nanosecond offset from timeInSeconds.
	OffsetInNanos *int64 `locationName:"offsetInNanos" type:"integer"`

	// The timestamp date, in seconds, in the Unix epoch format. Fractional nanosecond
	// data is provided by offsetInNanos.
	//
	// TimeInSeconds is a required field
	TimeInSeconds *int64 `locationName:"timeInSeconds" min:"1" type:"long" required:"true"`
	// contains filtered or unexported fields
}

Contains a timestamp with optional nanosecond granularity.

func (TimeInNanos) GoString

func (s TimeInNanos) GoString() string

GoString returns the string representation

func (*TimeInNanos) SetOffsetInNanos

func (s *TimeInNanos) SetOffsetInNanos(v int64) *TimeInNanos

SetOffsetInNanos sets the OffsetInNanos field's value.

func (*TimeInNanos) SetTimeInSeconds

func (s *TimeInNanos) SetTimeInSeconds(v int64) *TimeInNanos

SetTimeInSeconds sets the TimeInSeconds field's value.

func (TimeInNanos) String

func (s TimeInNanos) String() string

String returns the string representation

func (*TimeInNanos) Validate

func (s *TimeInNanos) Validate() error

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

type TooManyTagsException

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

	Message_ *string `locationName:"message" type:"string"`

	// The name of the resource with too many tags.
	ResourceName *string `locationName:"resourceName" min:"1" type:"string"`
	// contains filtered or unexported fields
}

You've reached the limit for the number of tags allowed for a resource. For more information, see Tag naming limits and requirements (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html#tag-conventions) in the AWS General Reference.

func (*TooManyTagsException) Code

func (s *TooManyTagsException) Code() string

Code returns the exception type name.

func (*TooManyTagsException) Error

func (s *TooManyTagsException) Error() string

func (TooManyTagsException) GoString

func (s TooManyTagsException) GoString() string

GoString returns the string representation

func (*TooManyTagsException) Message

func (s *TooManyTagsException) Message() string

Message returns the exception's message.

func (*TooManyTagsException) OrigErr

func (s *TooManyTagsException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*TooManyTagsException) RequestID

func (s *TooManyTagsException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*TooManyTagsException) StatusCode

func (s *TooManyTagsException) StatusCode() int

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

func (TooManyTagsException) String

func (s TooManyTagsException) String() string

String returns the string representation

type Transform

type Transform struct {

	// The mathematical expression that defines the transformation function. You
	// can specify up to 10 variables per expression. You can specify up to 10 functions
	// per expression.
	//
	// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html)
	// in the AWS IoT SiteWise User Guide.
	//
	// Expression is a required field
	Expression *string `locationName:"expression" min:"1" type:"string" required:"true"`

	// The list of variables used in the expression.
	//
	// Variables is a required field
	Variables []*ExpressionVariable `locationName:"variables" type:"list" required:"true"`
	// contains filtered or unexported fields
}

Contains an asset transform property. A transform is a one-to-one mapping of a property's data points from one form to another. For example, you can use a transform to convert a Celsius data stream to Fahrenheit by applying the transformation expression to each data point of the Celsius stream. A transform can only have a data type of DOUBLE and consume properties with data types of INTEGER or DOUBLE.

For more information, see Transforms (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/asset-properties.html#transforms) in the AWS IoT SiteWise User Guide.

func (Transform) GoString

func (s Transform) GoString() string

GoString returns the string representation

func (*Transform) SetExpression

func (s *Transform) SetExpression(v string) *Transform

SetExpression sets the Expression field's value.

func (*Transform) SetVariables

func (s *Transform) SetVariables(v []*ExpressionVariable) *Transform

SetVariables sets the Variables field's value.

func (Transform) String

func (s Transform) String() string

String returns the string representation

func (*Transform) Validate

func (s *Transform) Validate() error

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

type TumblingWindow

type TumblingWindow struct {

	// The time interval for the tumbling window. Note that w represents weeks,
	// d represents days, h represents hours, and m represents minutes. AWS IoT
	// SiteWise computes the 1w interval the end of Sunday at midnight each week
	// (UTC), the 1d interval at the end of each day at midnight (UTC), the 1h interval
	// at the end of each hour, and so on.
	//
	// When AWS IoT SiteWise aggregates data points for metric computations, the
	// start of each interval is exclusive and the end of each interval is inclusive.
	// AWS IoT SiteWise places the computed data point at the end of the interval.
	//
	// Interval is a required field
	Interval *string `locationName:"interval" min:"2" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Contains a tumbling window, which is a repeating fixed-sized, non-overlapping, and contiguous time interval. This window is used in metric and aggregation computations.

func (TumblingWindow) GoString

func (s TumblingWindow) GoString() string

GoString returns the string representation

func (*TumblingWindow) SetInterval

func (s *TumblingWindow) SetInterval(v string) *TumblingWindow

SetInterval sets the Interval field's value.

func (TumblingWindow) String

func (s TumblingWindow) String() string

String returns the string representation

func (*TumblingWindow) Validate

func (s *TumblingWindow) Validate() error

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

type UnauthorizedException

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

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

You are not authorized.

func (*UnauthorizedException) Code

func (s *UnauthorizedException) Code() string

Code returns the exception type name.

func (*UnauthorizedException) Error

func (s *UnauthorizedException) Error() string

func (UnauthorizedException) GoString

func (s UnauthorizedException) GoString() string

GoString returns the string representation

func (*UnauthorizedException) Message

func (s *UnauthorizedException) Message() string

Message returns the exception's message.

func (*UnauthorizedException) OrigErr

func (s *UnauthorizedException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*UnauthorizedException) RequestID

func (s *UnauthorizedException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*UnauthorizedException) StatusCode

func (s *UnauthorizedException) StatusCode() int

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

func (UnauthorizedException) String

func (s UnauthorizedException) String() string

String returns the string representation

type UntagResourceInput

type UntagResourceInput struct {

	// The ARN (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// of the resource to untag.
	//
	// ResourceArn is a required field
	ResourceArn *string `location:"querystring" locationName:"resourceArn" min:"1" type:"string" required:"true"`

	// A list of keys for tags to remove 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 UpdateAccessPolicyInput

type UpdateAccessPolicyInput struct {

	// The ID of the access policy.
	//
	// AccessPolicyId is a required field
	AccessPolicyId *string `location:"uri" locationName:"accessPolicyId" min:"36" type:"string" required:"true"`

	// The identity for this access policy. Choose an AWS SSO user, an AWS SSO group,
	// or an IAM user.
	//
	// AccessPolicyIdentity is a required field
	AccessPolicyIdentity *Identity `locationName:"accessPolicyIdentity" type:"structure" required:"true"`

	// The permission level for this access policy. Note that a project ADMINISTRATOR
	// is also known as a project owner.
	//
	// AccessPolicyPermission is a required field
	AccessPolicyPermission *string `locationName:"accessPolicyPermission" type:"string" required:"true" enum:"Permission"`

	// The AWS IoT SiteWise Monitor resource for this access policy. Choose either
	// a portal or a project.
	//
	// AccessPolicyResource is a required field
	AccessPolicyResource *Resource `locationName:"accessPolicyResource" type:"structure" required:"true"`

	// A unique case-sensitive identifier that you can provide to ensure the idempotency
	// of the request. Don't reuse this client token if a new idempotent request
	// is required.
	ClientToken *string `locationName:"clientToken" min:"36" type:"string" idempotencyToken:"true"`
	// contains filtered or unexported fields
}

func (UpdateAccessPolicyInput) GoString

func (s UpdateAccessPolicyInput) GoString() string

GoString returns the string representation

func (*UpdateAccessPolicyInput) SetAccessPolicyId

func (s *UpdateAccessPolicyInput) SetAccessPolicyId(v string) *UpdateAccessPolicyInput

SetAccessPolicyId sets the AccessPolicyId field's value.

func (*UpdateAccessPolicyInput) SetAccessPolicyIdentity

func (s *UpdateAccessPolicyInput) SetAccessPolicyIdentity(v *Identity) *UpdateAccessPolicyInput

SetAccessPolicyIdentity sets the AccessPolicyIdentity field's value.

func (*UpdateAccessPolicyInput) SetAccessPolicyPermission

func (s *UpdateAccessPolicyInput) SetAccessPolicyPermission(v string) *UpdateAccessPolicyInput

SetAccessPolicyPermission sets the AccessPolicyPermission field's value.

func (*UpdateAccessPolicyInput) SetAccessPolicyResource

func (s *UpdateAccessPolicyInput) SetAccessPolicyResource(v *Resource) *UpdateAccessPolicyInput

SetAccessPolicyResource sets the AccessPolicyResource field's value.

func (*UpdateAccessPolicyInput) SetClientToken

SetClientToken sets the ClientToken field's value.

func (UpdateAccessPolicyInput) String

func (s UpdateAccessPolicyInput) String() string

String returns the string representation

func (*UpdateAccessPolicyInput) Validate

func (s *UpdateAccessPolicyInput) Validate() error

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

type UpdateAccessPolicyOutput

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

func (UpdateAccessPolicyOutput) GoString

func (s UpdateAccessPolicyOutput) GoString() string

GoString returns the string representation

func (UpdateAccessPolicyOutput) String

func (s UpdateAccessPolicyOutput) String() string

String returns the string representation

type UpdateAssetInput

type UpdateAssetInput struct {

	// The ID of the asset to update.
	//
	// AssetId is a required field
	AssetId *string `location:"uri" locationName:"assetId" min:"36" type:"string" required:"true"`

	// A unique, friendly name for the asset.
	//
	// AssetName is a required field
	AssetName *string `locationName:"assetName" min:"1" type:"string" required:"true"`

	// A unique case-sensitive identifier that you can provide to ensure the idempotency
	// of the request. Don't reuse this client token if a new idempotent request
	// is required.
	ClientToken *string `locationName:"clientToken" min:"36" type:"string" idempotencyToken:"true"`
	// contains filtered or unexported fields
}

func (UpdateAssetInput) GoString

func (s UpdateAssetInput) GoString() string

GoString returns the string representation

func (*UpdateAssetInput) SetAssetId

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

SetAssetId sets the AssetId field's value.

func (*UpdateAssetInput) SetAssetName

func (s *UpdateAssetInput) SetAssetName(v string) *UpdateAssetInput

SetAssetName sets the AssetName field's value.

func (*UpdateAssetInput) SetClientToken

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

SetClientToken sets the ClientToken field's value.

func (UpdateAssetInput) String

func (s UpdateAssetInput) String() string

String returns the string representation

func (*UpdateAssetInput) Validate

func (s *UpdateAssetInput) Validate() error

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

type UpdateAssetModelInput

type UpdateAssetModelInput struct {

	// The composite asset models that are part of this asset model. Composite asset
	// models are asset models that contain specific properties. Each composite
	// model has a type that defines the properties that the composite model supports.
	// Use composite asset models to define alarms on this asset model.
	AssetModelCompositeModels []*AssetModelCompositeModel `locationName:"assetModelCompositeModels" type:"list"`

	// A description for the asset model.
	AssetModelDescription *string `locationName:"assetModelDescription" min:"1" type:"string"`

	// The updated hierarchy definitions of the asset model. Each hierarchy specifies
	// an asset model whose assets can be children of any other assets created from
	// this asset model. For more information, see Asset hierarchies (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/asset-hierarchies.html)
	// in the AWS IoT SiteWise User Guide.
	//
	// You can specify up to 10 hierarchies per asset model. For more information,
	// see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html)
	// in the AWS IoT SiteWise User Guide.
	AssetModelHierarchies []*AssetModelHierarchy `locationName:"assetModelHierarchies" type:"list"`

	// The ID of the asset model to update.
	//
	// AssetModelId is a required field
	AssetModelId *string `location:"uri" locationName:"assetModelId" min:"36" type:"string" required:"true"`

	// A unique, friendly name for the asset model.
	//
	// AssetModelName is a required field
	AssetModelName *string `locationName:"assetModelName" min:"1" type:"string" required:"true"`

	// The updated property definitions of the asset model. For more information,
	// see Asset properties (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/asset-properties.html)
	// in the AWS IoT SiteWise User Guide.
	//
	// You can specify up to 200 properties per asset model. For more information,
	// see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html)
	// in the AWS IoT SiteWise User Guide.
	AssetModelProperties []*AssetModelProperty `locationName:"assetModelProperties" type:"list"`

	// A unique case-sensitive identifier that you can provide to ensure the idempotency
	// of the request. Don't reuse this client token if a new idempotent request
	// is required.
	ClientToken *string `locationName:"clientToken" min:"36" type:"string" idempotencyToken:"true"`
	// contains filtered or unexported fields
}

func (UpdateAssetModelInput) GoString

func (s UpdateAssetModelInput) GoString() string

GoString returns the string representation

func (*UpdateAssetModelInput) SetAssetModelCompositeModels

func (s *UpdateAssetModelInput) SetAssetModelCompositeModels(v []*AssetModelCompositeModel) *UpdateAssetModelInput

SetAssetModelCompositeModels sets the AssetModelCompositeModels field's value.

func (*UpdateAssetModelInput) SetAssetModelDescription

func (s *UpdateAssetModelInput) SetAssetModelDescription(v string) *UpdateAssetModelInput

SetAssetModelDescription sets the AssetModelDescription field's value.

func (*UpdateAssetModelInput) SetAssetModelHierarchies

func (s *UpdateAssetModelInput) SetAssetModelHierarchies(v []*AssetModelHierarchy) *UpdateAssetModelInput

SetAssetModelHierarchies sets the AssetModelHierarchies field's value.

func (*UpdateAssetModelInput) SetAssetModelId

func (s *UpdateAssetModelInput) SetAssetModelId(v string) *UpdateAssetModelInput

SetAssetModelId sets the AssetModelId field's value.

func (*UpdateAssetModelInput) SetAssetModelName

func (s *UpdateAssetModelInput) SetAssetModelName(v string) *UpdateAssetModelInput

SetAssetModelName sets the AssetModelName field's value.

func (*UpdateAssetModelInput) SetAssetModelProperties

func (s *UpdateAssetModelInput) SetAssetModelProperties(v []*AssetModelProperty) *UpdateAssetModelInput

SetAssetModelProperties sets the AssetModelProperties field's value.

func (*UpdateAssetModelInput) SetClientToken

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

SetClientToken sets the ClientToken field's value.

func (UpdateAssetModelInput) String

func (s UpdateAssetModelInput) String() string

String returns the string representation

func (*UpdateAssetModelInput) Validate

func (s *UpdateAssetModelInput) Validate() error

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

type UpdateAssetModelOutput

type UpdateAssetModelOutput struct {

	// The status of the asset model, which contains a state (UPDATING after successfully
	// calling this operation) and any error message.
	//
	// AssetModelStatus is a required field
	AssetModelStatus *AssetModelStatus `locationName:"assetModelStatus" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (UpdateAssetModelOutput) GoString

func (s UpdateAssetModelOutput) GoString() string

GoString returns the string representation

func (*UpdateAssetModelOutput) SetAssetModelStatus

SetAssetModelStatus sets the AssetModelStatus field's value.

func (UpdateAssetModelOutput) String

func (s UpdateAssetModelOutput) String() string

String returns the string representation

type UpdateAssetOutput

type UpdateAssetOutput struct {

	// The status of the asset, which contains a state (UPDATING after successfully
	// calling this operation) and any error message.
	//
	// AssetStatus is a required field
	AssetStatus *AssetStatus `locationName:"assetStatus" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (UpdateAssetOutput) GoString

func (s UpdateAssetOutput) GoString() string

GoString returns the string representation

func (*UpdateAssetOutput) SetAssetStatus

func (s *UpdateAssetOutput) SetAssetStatus(v *AssetStatus) *UpdateAssetOutput

SetAssetStatus sets the AssetStatus field's value.

func (UpdateAssetOutput) String

func (s UpdateAssetOutput) String() string

String returns the string representation

type UpdateAssetPropertyInput

type UpdateAssetPropertyInput struct {

	// The ID of the asset to be updated.
	//
	// AssetId is a required field
	AssetId *string `location:"uri" locationName:"assetId" min:"36" type:"string" required:"true"`

	// A unique case-sensitive identifier that you can provide to ensure the idempotency
	// of the request. Don't reuse this client token if a new idempotent request
	// is required.
	ClientToken *string `locationName:"clientToken" min:"36" type:"string" idempotencyToken:"true"`

	// The property alias that identifies the property, such as an OPC-UA server
	// data stream path (for example, /company/windfarm/3/turbine/7/temperature).
	// For more information, see Mapping industrial data streams to asset properties
	// (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/connect-data-streams.html)
	// in the AWS IoT SiteWise User Guide.
	//
	// If you omit this parameter, the alias is removed from the property.
	PropertyAlias *string `locationName:"propertyAlias" min:"1" type:"string"`

	// The ID of the asset property to be updated.
	//
	// PropertyId is a required field
	PropertyId *string `location:"uri" locationName:"propertyId" min:"36" type:"string" required:"true"`

	// The MQTT notification state (enabled or disabled) for this asset property.
	// When the notification state is enabled, AWS IoT SiteWise publishes property
	// value updates to a unique MQTT topic. For more information, see Interacting
	// with other services (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/interact-with-other-services.html)
	// in the AWS IoT SiteWise User Guide.
	//
	// If you omit this parameter, the notification state is set to DISABLED.
	PropertyNotificationState *string `locationName:"propertyNotificationState" type:"string" enum:"PropertyNotificationState"`
	// contains filtered or unexported fields
}

func (UpdateAssetPropertyInput) GoString

func (s UpdateAssetPropertyInput) GoString() string

GoString returns the string representation

func (*UpdateAssetPropertyInput) SetAssetId

SetAssetId sets the AssetId field's value.

func (*UpdateAssetPropertyInput) SetClientToken

SetClientToken sets the ClientToken field's value.

func (*UpdateAssetPropertyInput) SetPropertyAlias

SetPropertyAlias sets the PropertyAlias field's value.

func (*UpdateAssetPropertyInput) SetPropertyId

SetPropertyId sets the PropertyId field's value.

func (*UpdateAssetPropertyInput) SetPropertyNotificationState

func (s *UpdateAssetPropertyInput) SetPropertyNotificationState(v string) *UpdateAssetPropertyInput

SetPropertyNotificationState sets the PropertyNotificationState field's value.

func (UpdateAssetPropertyInput) String

func (s UpdateAssetPropertyInput) String() string

String returns the string representation

func (*UpdateAssetPropertyInput) Validate

func (s *UpdateAssetPropertyInput) Validate() error

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

type UpdateAssetPropertyOutput

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

func (UpdateAssetPropertyOutput) GoString

func (s UpdateAssetPropertyOutput) GoString() string

GoString returns the string representation

func (UpdateAssetPropertyOutput) String

func (s UpdateAssetPropertyOutput) String() string

String returns the string representation

type UpdateDashboardInput

type UpdateDashboardInput struct {

	// A unique case-sensitive identifier that you can provide to ensure the idempotency
	// of the request. Don't reuse this client token if a new idempotent request
	// is required.
	ClientToken *string `locationName:"clientToken" min:"36" type:"string" idempotencyToken:"true"`

	// The new dashboard definition, as specified in a JSON literal. For detailed
	// information, see Creating dashboards (CLI) (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/create-dashboards-using-aws-cli.html)
	// in the AWS IoT SiteWise User Guide.
	//
	// DashboardDefinition is a required field
	DashboardDefinition *string `locationName:"dashboardDefinition" type:"string" required:"true"`

	// A new description for the dashboard.
	DashboardDescription *string `locationName:"dashboardDescription" min:"1" type:"string"`

	// The ID of the dashboard to update.
	//
	// DashboardId is a required field
	DashboardId *string `location:"uri" locationName:"dashboardId" min:"36" type:"string" required:"true"`

	// A new friendly name for the dashboard.
	//
	// DashboardName is a required field
	DashboardName *string `locationName:"dashboardName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (UpdateDashboardInput) GoString

func (s UpdateDashboardInput) GoString() string

GoString returns the string representation

func (*UpdateDashboardInput) SetClientToken

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

SetClientToken sets the ClientToken field's value.

func (*UpdateDashboardInput) SetDashboardDefinition

func (s *UpdateDashboardInput) SetDashboardDefinition(v string) *UpdateDashboardInput

SetDashboardDefinition sets the DashboardDefinition field's value.

func (*UpdateDashboardInput) SetDashboardDescription

func (s *UpdateDashboardInput) SetDashboardDescription(v string) *UpdateDashboardInput

SetDashboardDescription sets the DashboardDescription field's value.

func (*UpdateDashboardInput) SetDashboardId

func (s *UpdateDashboardInput) SetDashboardId(v string) *UpdateDashboardInput

SetDashboardId sets the DashboardId field's value.

func (*UpdateDashboardInput) SetDashboardName

func (s *UpdateDashboardInput) SetDashboardName(v string) *UpdateDashboardInput

SetDashboardName sets the DashboardName field's value.

func (UpdateDashboardInput) String

func (s UpdateDashboardInput) String() string

String returns the string representation

func (*UpdateDashboardInput) Validate

func (s *UpdateDashboardInput) Validate() error

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

type UpdateDashboardOutput

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

func (UpdateDashboardOutput) GoString

func (s UpdateDashboardOutput) GoString() string

GoString returns the string representation

func (UpdateDashboardOutput) String

func (s UpdateDashboardOutput) String() string

String returns the string representation

type UpdateGatewayCapabilityConfigurationInput

type UpdateGatewayCapabilityConfigurationInput struct {

	// The JSON document that defines the configuration for the gateway capability.
	// For more information, see Configuring data sources (CLI) (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/configure-sources.html#configure-source-cli)
	// in the AWS IoT SiteWise User Guide.
	//
	// CapabilityConfiguration is a required field
	CapabilityConfiguration *string `locationName:"capabilityConfiguration" min:"1" type:"string" required:"true"`

	// The namespace of the gateway capability configuration to be updated. For
	// example, if you configure OPC-UA sources from the AWS IoT SiteWise console,
	// your OPC-UA capability configuration has the namespace iotsitewise:opcuacollector:version,
	// where version is a number such as 1.
	//
	// CapabilityNamespace is a required field
	CapabilityNamespace *string `locationName:"capabilityNamespace" min:"1" type:"string" required:"true"`

	// The ID of the gateway to be updated.
	//
	// GatewayId is a required field
	GatewayId *string `location:"uri" locationName:"gatewayId" min:"36" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (UpdateGatewayCapabilityConfigurationInput) GoString

GoString returns the string representation

func (*UpdateGatewayCapabilityConfigurationInput) SetCapabilityConfiguration

SetCapabilityConfiguration sets the CapabilityConfiguration field's value.

func (*UpdateGatewayCapabilityConfigurationInput) SetCapabilityNamespace

SetCapabilityNamespace sets the CapabilityNamespace field's value.

func (*UpdateGatewayCapabilityConfigurationInput) SetGatewayId

SetGatewayId sets the GatewayId field's value.

func (UpdateGatewayCapabilityConfigurationInput) String

String returns the string representation

func (*UpdateGatewayCapabilityConfigurationInput) Validate

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

type UpdateGatewayCapabilityConfigurationOutput

type UpdateGatewayCapabilityConfigurationOutput struct {

	// The namespace of the gateway capability.
	//
	// CapabilityNamespace is a required field
	CapabilityNamespace *string `locationName:"capabilityNamespace" min:"1" type:"string" required:"true"`

	// The synchronization status of the capability configuration. The sync status
	// can be one of the following:
	//
	//    * IN_SYNC – The gateway is running the capability configuration.
	//
	//    * OUT_OF_SYNC – The gateway hasn't received the capability configuration.
	//
	//    * SYNC_FAILED – The gateway rejected the capability configuration.
	//
	// After you update a capability configuration, its sync status is OUT_OF_SYNC
	// until the gateway receives and applies or rejects the updated configuration.
	//
	// CapabilitySyncStatus is a required field
	CapabilitySyncStatus *string `locationName:"capabilitySyncStatus" type:"string" required:"true" enum:"CapabilitySyncStatus"`
	// contains filtered or unexported fields
}

func (UpdateGatewayCapabilityConfigurationOutput) GoString

GoString returns the string representation

func (*UpdateGatewayCapabilityConfigurationOutput) SetCapabilityNamespace

SetCapabilityNamespace sets the CapabilityNamespace field's value.

func (*UpdateGatewayCapabilityConfigurationOutput) SetCapabilitySyncStatus

SetCapabilitySyncStatus sets the CapabilitySyncStatus field's value.

func (UpdateGatewayCapabilityConfigurationOutput) String

String returns the string representation

type UpdateGatewayInput

type UpdateGatewayInput struct {

	// The ID of the gateway to update.
	//
	// GatewayId is a required field
	GatewayId *string `location:"uri" locationName:"gatewayId" min:"36" type:"string" required:"true"`

	// A unique, friendly name for the gateway.
	//
	// GatewayName is a required field
	GatewayName *string `locationName:"gatewayName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (UpdateGatewayInput) GoString

func (s UpdateGatewayInput) GoString() string

GoString returns the string representation

func (*UpdateGatewayInput) SetGatewayId

func (s *UpdateGatewayInput) SetGatewayId(v string) *UpdateGatewayInput

SetGatewayId sets the GatewayId field's value.

func (*UpdateGatewayInput) SetGatewayName

func (s *UpdateGatewayInput) SetGatewayName(v string) *UpdateGatewayInput

SetGatewayName sets the GatewayName field's value.

func (UpdateGatewayInput) String

func (s UpdateGatewayInput) String() string

String returns the string representation

func (*UpdateGatewayInput) Validate

func (s *UpdateGatewayInput) Validate() error

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

type UpdateGatewayOutput

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

func (UpdateGatewayOutput) GoString

func (s UpdateGatewayOutput) GoString() string

GoString returns the string representation

func (UpdateGatewayOutput) String

func (s UpdateGatewayOutput) String() string

String returns the string representation

type UpdatePortalInput

type UpdatePortalInput struct {

	// A unique case-sensitive identifier that you can provide to ensure the idempotency
	// of the request. Don't reuse this client token if a new idempotent request
	// is required.
	ClientToken *string `locationName:"clientToken" min:"36" type:"string" idempotencyToken:"true"`

	// The AWS administrator's contact email address.
	//
	// PortalContactEmail is a required field
	PortalContactEmail *string `locationName:"portalContactEmail" min:"1" type:"string" required:"true"`

	// A new description for the portal.
	PortalDescription *string `locationName:"portalDescription" min:"1" type:"string"`

	// The ID of the portal to update.
	//
	// PortalId is a required field
	PortalId *string `location:"uri" locationName:"portalId" min:"36" type:"string" required:"true"`

	// Contains an image that is one of the following:
	//
	//    * An image file. Choose this option to upload a new image.
	//
	//    * The ID of an existing image. Choose this option to keep an existing
	//    image.
	PortalLogoImage *Image `locationName:"portalLogoImage" type:"structure"`

	// A new friendly name for the portal.
	//
	// PortalName is a required field
	PortalName *string `locationName:"portalName" min:"1" type:"string" required:"true"`

	// The ARN (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// of a service role that allows the portal's users to access your AWS IoT SiteWise
	// resources on your behalf. For more information, see Using service roles for
	// AWS IoT SiteWise Monitor (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/monitor-service-role.html)
	// in the AWS IoT SiteWise User Guide.
	//
	// RoleArn is a required field
	RoleArn *string `locationName:"roleArn" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (UpdatePortalInput) GoString

func (s UpdatePortalInput) GoString() string

GoString returns the string representation

func (*UpdatePortalInput) SetClientToken

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

SetClientToken sets the ClientToken field's value.

func (*UpdatePortalInput) SetPortalContactEmail

func (s *UpdatePortalInput) SetPortalContactEmail(v string) *UpdatePortalInput

SetPortalContactEmail sets the PortalContactEmail field's value.

func (*UpdatePortalInput) SetPortalDescription

func (s *UpdatePortalInput) SetPortalDescription(v string) *UpdatePortalInput

SetPortalDescription sets the PortalDescription field's value.

func (*UpdatePortalInput) SetPortalId

func (s *UpdatePortalInput) SetPortalId(v string) *UpdatePortalInput

SetPortalId sets the PortalId field's value.

func (*UpdatePortalInput) SetPortalLogoImage

func (s *UpdatePortalInput) SetPortalLogoImage(v *Image) *UpdatePortalInput

SetPortalLogoImage sets the PortalLogoImage field's value.

func (*UpdatePortalInput) SetPortalName

func (s *UpdatePortalInput) SetPortalName(v string) *UpdatePortalInput

SetPortalName sets the PortalName field's value.

func (*UpdatePortalInput) SetRoleArn

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

SetRoleArn sets the RoleArn field's value.

func (UpdatePortalInput) String

func (s UpdatePortalInput) String() string

String returns the string representation

func (*UpdatePortalInput) Validate

func (s *UpdatePortalInput) Validate() error

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

type UpdatePortalOutput

type UpdatePortalOutput struct {

	// The status of the portal, which contains a state (UPDATING after successfully
	// calling this operation) and any error message.
	//
	// PortalStatus is a required field
	PortalStatus *PortalStatus `locationName:"portalStatus" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (UpdatePortalOutput) GoString

func (s UpdatePortalOutput) GoString() string

GoString returns the string representation

func (*UpdatePortalOutput) SetPortalStatus

func (s *UpdatePortalOutput) SetPortalStatus(v *PortalStatus) *UpdatePortalOutput

SetPortalStatus sets the PortalStatus field's value.

func (UpdatePortalOutput) String

func (s UpdatePortalOutput) String() string

String returns the string representation

type UpdateProjectInput

type UpdateProjectInput struct {

	// A unique case-sensitive identifier that you can provide to ensure the idempotency
	// of the request. Don't reuse this client token if a new idempotent request
	// is required.
	ClientToken *string `locationName:"clientToken" min:"36" type:"string" idempotencyToken:"true"`

	// A new description for the project.
	ProjectDescription *string `locationName:"projectDescription" min:"1" type:"string"`

	// The ID of the project to update.
	//
	// ProjectId is a required field
	ProjectId *string `location:"uri" locationName:"projectId" min:"36" type:"string" required:"true"`

	// A new friendly name for the project.
	//
	// ProjectName is a required field
	ProjectName *string `locationName:"projectName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (UpdateProjectInput) GoString

func (s UpdateProjectInput) GoString() string

GoString returns the string representation

func (*UpdateProjectInput) SetClientToken

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

SetClientToken sets the ClientToken field's value.

func (*UpdateProjectInput) SetProjectDescription

func (s *UpdateProjectInput) SetProjectDescription(v string) *UpdateProjectInput

SetProjectDescription sets the ProjectDescription field's value.

func (*UpdateProjectInput) SetProjectId

func (s *UpdateProjectInput) SetProjectId(v string) *UpdateProjectInput

SetProjectId sets the ProjectId field's value.

func (*UpdateProjectInput) SetProjectName

func (s *UpdateProjectInput) SetProjectName(v string) *UpdateProjectInput

SetProjectName sets the ProjectName field's value.

func (UpdateProjectInput) String

func (s UpdateProjectInput) String() string

String returns the string representation

func (*UpdateProjectInput) Validate

func (s *UpdateProjectInput) Validate() error

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

type UpdateProjectOutput

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

func (UpdateProjectOutput) GoString

func (s UpdateProjectOutput) GoString() string

GoString returns the string representation

func (UpdateProjectOutput) String

func (s UpdateProjectOutput) String() string

String returns the string representation

type UserIdentity

type UserIdentity struct {

	// The AWS SSO ID of the user.
	//
	// Id is a required field
	Id *string `locationName:"id" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Contains information for a user identity in an access policy.

func (UserIdentity) GoString

func (s UserIdentity) GoString() string

GoString returns the string representation

func (*UserIdentity) SetId

func (s *UserIdentity) SetId(v string) *UserIdentity

SetId sets the Id field's value.

func (UserIdentity) String

func (s UserIdentity) String() string

String returns the string representation

func (*UserIdentity) Validate

func (s *UserIdentity) Validate() error

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

type VariableValue

type VariableValue struct {

	// The ID of the hierarchy to query for the property ID. You can use the hierarchy's
	// name instead of the hierarchy's ID.
	//
	// You use a hierarchy ID instead of a model ID because you can have several
	// hierarchies using the same model and therefore the same propertyId. For example,
	// you might have separately grouped assets that come from the same asset model.
	// For more information, see Asset hierarchies (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/asset-hierarchies.html)
	// in the AWS IoT SiteWise User Guide.
	HierarchyId *string `locationName:"hierarchyId" min:"1" type:"string"`

	// The ID of the property to use as the variable. You can use the property name
	// if it's from the same asset model.
	//
	// PropertyId is a required field
	PropertyId *string `locationName:"propertyId" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Identifies a property value used in an expression.

func (VariableValue) GoString

func (s VariableValue) GoString() string

GoString returns the string representation

func (*VariableValue) SetHierarchyId

func (s *VariableValue) SetHierarchyId(v string) *VariableValue

SetHierarchyId sets the HierarchyId field's value.

func (*VariableValue) SetPropertyId

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

SetPropertyId sets the PropertyId field's value.

func (VariableValue) String

func (s VariableValue) String() string

String returns the string representation

func (*VariableValue) Validate

func (s *VariableValue) Validate() error

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

type Variant

type Variant struct {

	// Asset property data of type Boolean (true or false).
	BooleanValue *bool `locationName:"booleanValue" type:"boolean"`

	// Asset property data of type double (floating point number).
	DoubleValue *float64 `locationName:"doubleValue" type:"double"`

	// Asset property data of type integer (whole number).
	IntegerValue *int64 `locationName:"integerValue" type:"integer"`

	// Asset property data of type string (sequence of characters).
	StringValue *string `locationName:"stringValue" type:"string"`
	// contains filtered or unexported fields
}

Contains an asset property value (of a single type only).

func (Variant) GoString

func (s Variant) GoString() string

GoString returns the string representation

func (*Variant) SetBooleanValue

func (s *Variant) SetBooleanValue(v bool) *Variant

SetBooleanValue sets the BooleanValue field's value.

func (*Variant) SetDoubleValue

func (s *Variant) SetDoubleValue(v float64) *Variant

SetDoubleValue sets the DoubleValue field's value.

func (*Variant) SetIntegerValue

func (s *Variant) SetIntegerValue(v int64) *Variant

SetIntegerValue sets the IntegerValue field's value.

func (*Variant) SetStringValue

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

SetStringValue sets the StringValue field's value.

func (Variant) String

func (s Variant) String() string

String returns the string representation

Directories

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

Jump to

Keyboard shortcuts

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