package iotsitewise
import "github.com/aws/aws-sdk-go-v2/service/iotsitewise"
Package iotsitewise provides the API client, operations, and parameter types for 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.
Index ¶
- Constants
- func NewDefaultEndpointResolver() *internalendpoints.Resolver
- func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options)
- func WithEndpointResolver(v EndpointResolver) func(*Options)
- type AssetActiveWaiter
- func NewAssetActiveWaiter(client DescribeAssetAPIClient, optFns ...func(*AssetActiveWaiterOptions)) *AssetActiveWaiter
- func (w *AssetActiveWaiter) Wait(ctx context.Context, params *DescribeAssetInput, maxWaitDur time.Duration, optFns ...func(*AssetActiveWaiterOptions)) error
- type AssetActiveWaiterOptions
- type AssetModelActiveWaiter
- func NewAssetModelActiveWaiter(client DescribeAssetModelAPIClient, optFns ...func(*AssetModelActiveWaiterOptions)) *AssetModelActiveWaiter
- func (w *AssetModelActiveWaiter) Wait(ctx context.Context, params *DescribeAssetModelInput, maxWaitDur time.Duration, optFns ...func(*AssetModelActiveWaiterOptions)) error
- type AssetModelActiveWaiterOptions
- type AssetModelNotExistsWaiter
- func NewAssetModelNotExistsWaiter(client DescribeAssetModelAPIClient, optFns ...func(*AssetModelNotExistsWaiterOptions)) *AssetModelNotExistsWaiter
- func (w *AssetModelNotExistsWaiter) Wait(ctx context.Context, params *DescribeAssetModelInput, maxWaitDur time.Duration, optFns ...func(*AssetModelNotExistsWaiterOptions)) error
- type AssetModelNotExistsWaiterOptions
- type AssetNotExistsWaiter
- func NewAssetNotExistsWaiter(client DescribeAssetAPIClient, optFns ...func(*AssetNotExistsWaiterOptions)) *AssetNotExistsWaiter
- func (w *AssetNotExistsWaiter) Wait(ctx context.Context, params *DescribeAssetInput, maxWaitDur time.Duration, optFns ...func(*AssetNotExistsWaiterOptions)) error
- type AssetNotExistsWaiterOptions
- type AssociateAssetsInput
- type AssociateAssetsOutput
- type BatchAssociateProjectAssetsInput
- type BatchAssociateProjectAssetsOutput
- type BatchDisassociateProjectAssetsInput
- type BatchDisassociateProjectAssetsOutput
- type BatchPutAssetPropertyValueInput
- type BatchPutAssetPropertyValueOutput
- type Client
- func New(options Options, optFns ...func(*Options)) *Client
- func NewFromConfig(cfg aws.Config, optFns ...func(*Options)) *Client
- func (c *Client) AssociateAssets(ctx context.Context, params *AssociateAssetsInput, optFns ...func(*Options)) (*AssociateAssetsOutput, error)
- func (c *Client) BatchAssociateProjectAssets(ctx context.Context, params *BatchAssociateProjectAssetsInput, optFns ...func(*Options)) (*BatchAssociateProjectAssetsOutput, error)
- func (c *Client) BatchDisassociateProjectAssets(ctx context.Context, params *BatchDisassociateProjectAssetsInput, optFns ...func(*Options)) (*BatchDisassociateProjectAssetsOutput, error)
- func (c *Client) BatchPutAssetPropertyValue(ctx context.Context, params *BatchPutAssetPropertyValueInput, optFns ...func(*Options)) (*BatchPutAssetPropertyValueOutput, error)
- func (c *Client) CreateAccessPolicy(ctx context.Context, params *CreateAccessPolicyInput, optFns ...func(*Options)) (*CreateAccessPolicyOutput, error)
- func (c *Client) CreateAsset(ctx context.Context, params *CreateAssetInput, optFns ...func(*Options)) (*CreateAssetOutput, error)
- func (c *Client) CreateAssetModel(ctx context.Context, params *CreateAssetModelInput, optFns ...func(*Options)) (*CreateAssetModelOutput, error)
- func (c *Client) CreateDashboard(ctx context.Context, params *CreateDashboardInput, optFns ...func(*Options)) (*CreateDashboardOutput, error)
- func (c *Client) CreateGateway(ctx context.Context, params *CreateGatewayInput, optFns ...func(*Options)) (*CreateGatewayOutput, error)
- func (c *Client) CreatePortal(ctx context.Context, params *CreatePortalInput, optFns ...func(*Options)) (*CreatePortalOutput, error)
- func (c *Client) CreateProject(ctx context.Context, params *CreateProjectInput, optFns ...func(*Options)) (*CreateProjectOutput, error)
- func (c *Client) DeleteAccessPolicy(ctx context.Context, params *DeleteAccessPolicyInput, optFns ...func(*Options)) (*DeleteAccessPolicyOutput, error)
- func (c *Client) DeleteAsset(ctx context.Context, params *DeleteAssetInput, optFns ...func(*Options)) (*DeleteAssetOutput, error)
- func (c *Client) DeleteAssetModel(ctx context.Context, params *DeleteAssetModelInput, optFns ...func(*Options)) (*DeleteAssetModelOutput, error)
- func (c *Client) DeleteDashboard(ctx context.Context, params *DeleteDashboardInput, optFns ...func(*Options)) (*DeleteDashboardOutput, error)
- func (c *Client) DeleteGateway(ctx context.Context, params *DeleteGatewayInput, optFns ...func(*Options)) (*DeleteGatewayOutput, error)
- func (c *Client) DeletePortal(ctx context.Context, params *DeletePortalInput, optFns ...func(*Options)) (*DeletePortalOutput, error)
- func (c *Client) DeleteProject(ctx context.Context, params *DeleteProjectInput, optFns ...func(*Options)) (*DeleteProjectOutput, error)
- func (c *Client) DescribeAccessPolicy(ctx context.Context, params *DescribeAccessPolicyInput, optFns ...func(*Options)) (*DescribeAccessPolicyOutput, error)
- func (c *Client) DescribeAsset(ctx context.Context, params *DescribeAssetInput, optFns ...func(*Options)) (*DescribeAssetOutput, error)
- func (c *Client) DescribeAssetModel(ctx context.Context, params *DescribeAssetModelInput, optFns ...func(*Options)) (*DescribeAssetModelOutput, error)
- func (c *Client) DescribeAssetProperty(ctx context.Context, params *DescribeAssetPropertyInput, optFns ...func(*Options)) (*DescribeAssetPropertyOutput, error)
- func (c *Client) DescribeDashboard(ctx context.Context, params *DescribeDashboardInput, optFns ...func(*Options)) (*DescribeDashboardOutput, error)
- func (c *Client) DescribeDefaultEncryptionConfiguration(ctx context.Context, params *DescribeDefaultEncryptionConfigurationInput, optFns ...func(*Options)) (*DescribeDefaultEncryptionConfigurationOutput, error)
- func (c *Client) DescribeGateway(ctx context.Context, params *DescribeGatewayInput, optFns ...func(*Options)) (*DescribeGatewayOutput, error)
- func (c *Client) DescribeGatewayCapabilityConfiguration(ctx context.Context, params *DescribeGatewayCapabilityConfigurationInput, optFns ...func(*Options)) (*DescribeGatewayCapabilityConfigurationOutput, error)
- func (c *Client) DescribeLoggingOptions(ctx context.Context, params *DescribeLoggingOptionsInput, optFns ...func(*Options)) (*DescribeLoggingOptionsOutput, error)
- func (c *Client) DescribePortal(ctx context.Context, params *DescribePortalInput, optFns ...func(*Options)) (*DescribePortalOutput, error)
- func (c *Client) DescribeProject(ctx context.Context, params *DescribeProjectInput, optFns ...func(*Options)) (*DescribeProjectOutput, error)
- func (c *Client) DisassociateAssets(ctx context.Context, params *DisassociateAssetsInput, optFns ...func(*Options)) (*DisassociateAssetsOutput, error)
- func (c *Client) GetAssetPropertyAggregates(ctx context.Context, params *GetAssetPropertyAggregatesInput, optFns ...func(*Options)) (*GetAssetPropertyAggregatesOutput, error)
- func (c *Client) GetAssetPropertyValue(ctx context.Context, params *GetAssetPropertyValueInput, optFns ...func(*Options)) (*GetAssetPropertyValueOutput, error)
- func (c *Client) GetAssetPropertyValueHistory(ctx context.Context, params *GetAssetPropertyValueHistoryInput, optFns ...func(*Options)) (*GetAssetPropertyValueHistoryOutput, error)
- func (c *Client) GetInterpolatedAssetPropertyValues(ctx context.Context, params *GetInterpolatedAssetPropertyValuesInput, optFns ...func(*Options)) (*GetInterpolatedAssetPropertyValuesOutput, error)
- func (c *Client) ListAccessPolicies(ctx context.Context, params *ListAccessPoliciesInput, optFns ...func(*Options)) (*ListAccessPoliciesOutput, error)
- func (c *Client) ListAssetModels(ctx context.Context, params *ListAssetModelsInput, optFns ...func(*Options)) (*ListAssetModelsOutput, error)
- func (c *Client) ListAssetRelationships(ctx context.Context, params *ListAssetRelationshipsInput, optFns ...func(*Options)) (*ListAssetRelationshipsOutput, error)
- func (c *Client) ListAssets(ctx context.Context, params *ListAssetsInput, optFns ...func(*Options)) (*ListAssetsOutput, error)
- func (c *Client) ListAssociatedAssets(ctx context.Context, params *ListAssociatedAssetsInput, optFns ...func(*Options)) (*ListAssociatedAssetsOutput, error)
- func (c *Client) ListDashboards(ctx context.Context, params *ListDashboardsInput, optFns ...func(*Options)) (*ListDashboardsOutput, error)
- func (c *Client) ListGateways(ctx context.Context, params *ListGatewaysInput, optFns ...func(*Options)) (*ListGatewaysOutput, error)
- func (c *Client) ListPortals(ctx context.Context, params *ListPortalsInput, optFns ...func(*Options)) (*ListPortalsOutput, error)
- func (c *Client) ListProjectAssets(ctx context.Context, params *ListProjectAssetsInput, optFns ...func(*Options)) (*ListProjectAssetsOutput, error)
- func (c *Client) ListProjects(ctx context.Context, params *ListProjectsInput, optFns ...func(*Options)) (*ListProjectsOutput, error)
- func (c *Client) ListTagsForResource(ctx context.Context, params *ListTagsForResourceInput, optFns ...func(*Options)) (*ListTagsForResourceOutput, error)
- func (c *Client) PutDefaultEncryptionConfiguration(ctx context.Context, params *PutDefaultEncryptionConfigurationInput, optFns ...func(*Options)) (*PutDefaultEncryptionConfigurationOutput, error)
- func (c *Client) PutLoggingOptions(ctx context.Context, params *PutLoggingOptionsInput, optFns ...func(*Options)) (*PutLoggingOptionsOutput, error)
- func (c *Client) TagResource(ctx context.Context, params *TagResourceInput, optFns ...func(*Options)) (*TagResourceOutput, error)
- func (c *Client) UntagResource(ctx context.Context, params *UntagResourceInput, optFns ...func(*Options)) (*UntagResourceOutput, error)
- func (c *Client) UpdateAccessPolicy(ctx context.Context, params *UpdateAccessPolicyInput, optFns ...func(*Options)) (*UpdateAccessPolicyOutput, error)
- func (c *Client) UpdateAsset(ctx context.Context, params *UpdateAssetInput, optFns ...func(*Options)) (*UpdateAssetOutput, error)
- func (c *Client) UpdateAssetModel(ctx context.Context, params *UpdateAssetModelInput, optFns ...func(*Options)) (*UpdateAssetModelOutput, error)
- func (c *Client) UpdateAssetProperty(ctx context.Context, params *UpdateAssetPropertyInput, optFns ...func(*Options)) (*UpdateAssetPropertyOutput, error)
- func (c *Client) UpdateDashboard(ctx context.Context, params *UpdateDashboardInput, optFns ...func(*Options)) (*UpdateDashboardOutput, error)
- func (c *Client) UpdateGateway(ctx context.Context, params *UpdateGatewayInput, optFns ...func(*Options)) (*UpdateGatewayOutput, error)
- func (c *Client) UpdateGatewayCapabilityConfiguration(ctx context.Context, params *UpdateGatewayCapabilityConfigurationInput, optFns ...func(*Options)) (*UpdateGatewayCapabilityConfigurationOutput, error)
- func (c *Client) UpdatePortal(ctx context.Context, params *UpdatePortalInput, optFns ...func(*Options)) (*UpdatePortalOutput, error)
- func (c *Client) UpdateProject(ctx context.Context, params *UpdateProjectInput, optFns ...func(*Options)) (*UpdateProjectOutput, error)
- type CreateAccessPolicyInput
- type CreateAccessPolicyOutput
- type CreateAssetInput
- type CreateAssetModelInput
- type CreateAssetModelOutput
- type CreateAssetOutput
- type CreateDashboardInput
- type CreateDashboardOutput
- type CreateGatewayInput
- type CreateGatewayOutput
- type CreatePortalInput
- type CreatePortalOutput
- type CreateProjectInput
- type CreateProjectOutput
- type DeleteAccessPolicyInput
- type DeleteAccessPolicyOutput
- type DeleteAssetInput
- type DeleteAssetModelInput
- type DeleteAssetModelOutput
- type DeleteAssetOutput
- type DeleteDashboardInput
- type DeleteDashboardOutput
- type DeleteGatewayInput
- type DeleteGatewayOutput
- type DeletePortalInput
- type DeletePortalOutput
- type DeleteProjectInput
- type DeleteProjectOutput
- type DescribeAccessPolicyInput
- type DescribeAccessPolicyOutput
- type DescribeAssetAPIClient
- type DescribeAssetInput
- type DescribeAssetModelAPIClient
- type DescribeAssetModelInput
- type DescribeAssetModelOutput
- type DescribeAssetOutput
- type DescribeAssetPropertyInput
- type DescribeAssetPropertyOutput
- type DescribeDashboardInput
- type DescribeDashboardOutput
- type DescribeDefaultEncryptionConfigurationInput
- type DescribeDefaultEncryptionConfigurationOutput
- type DescribeGatewayCapabilityConfigurationInput
- type DescribeGatewayCapabilityConfigurationOutput
- type DescribeGatewayInput
- type DescribeGatewayOutput
- type DescribeLoggingOptionsInput
- type DescribeLoggingOptionsOutput
- type DescribePortalAPIClient
- type DescribePortalInput
- type DescribePortalOutput
- type DescribeProjectInput
- type DescribeProjectOutput
- type DisassociateAssetsInput
- type DisassociateAssetsOutput
- type EndpointResolver
- type EndpointResolverFunc
- type EndpointResolverOptions
- type GetAssetPropertyAggregatesAPIClient
- type GetAssetPropertyAggregatesInput
- type GetAssetPropertyAggregatesOutput
- type GetAssetPropertyAggregatesPaginator
- func NewGetAssetPropertyAggregatesPaginator(client GetAssetPropertyAggregatesAPIClient, params *GetAssetPropertyAggregatesInput, optFns ...func(*GetAssetPropertyAggregatesPaginatorOptions)) *GetAssetPropertyAggregatesPaginator
- func (p *GetAssetPropertyAggregatesPaginator) HasMorePages() bool
- func (p *GetAssetPropertyAggregatesPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*GetAssetPropertyAggregatesOutput, error)
- type GetAssetPropertyAggregatesPaginatorOptions
- type GetAssetPropertyValueHistoryAPIClient
- type GetAssetPropertyValueHistoryInput
- type GetAssetPropertyValueHistoryOutput
- type GetAssetPropertyValueHistoryPaginator
- func NewGetAssetPropertyValueHistoryPaginator(client GetAssetPropertyValueHistoryAPIClient, params *GetAssetPropertyValueHistoryInput, optFns ...func(*GetAssetPropertyValueHistoryPaginatorOptions)) *GetAssetPropertyValueHistoryPaginator
- func (p *GetAssetPropertyValueHistoryPaginator) HasMorePages() bool
- func (p *GetAssetPropertyValueHistoryPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*GetAssetPropertyValueHistoryOutput, error)
- type GetAssetPropertyValueHistoryPaginatorOptions
- type GetAssetPropertyValueInput
- type GetAssetPropertyValueOutput
- type GetInterpolatedAssetPropertyValuesAPIClient
- type GetInterpolatedAssetPropertyValuesInput
- type GetInterpolatedAssetPropertyValuesOutput
- type GetInterpolatedAssetPropertyValuesPaginator
- func NewGetInterpolatedAssetPropertyValuesPaginator(client GetInterpolatedAssetPropertyValuesAPIClient, params *GetInterpolatedAssetPropertyValuesInput, optFns ...func(*GetInterpolatedAssetPropertyValuesPaginatorOptions)) *GetInterpolatedAssetPropertyValuesPaginator
- func (p *GetInterpolatedAssetPropertyValuesPaginator) HasMorePages() bool
- func (p *GetInterpolatedAssetPropertyValuesPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*GetInterpolatedAssetPropertyValuesOutput, error)
- type GetInterpolatedAssetPropertyValuesPaginatorOptions
- type HTTPClient
- type HTTPSignerV4
- type IdempotencyTokenProvider
- type ListAccessPoliciesAPIClient
- type ListAccessPoliciesInput
- type ListAccessPoliciesOutput
- type ListAccessPoliciesPaginator
- func NewListAccessPoliciesPaginator(client ListAccessPoliciesAPIClient, params *ListAccessPoliciesInput, optFns ...func(*ListAccessPoliciesPaginatorOptions)) *ListAccessPoliciesPaginator
- func (p *ListAccessPoliciesPaginator) HasMorePages() bool
- func (p *ListAccessPoliciesPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListAccessPoliciesOutput, error)
- type ListAccessPoliciesPaginatorOptions
- type ListAssetModelsAPIClient
- type ListAssetModelsInput
- type ListAssetModelsOutput
- type ListAssetModelsPaginator
- func NewListAssetModelsPaginator(client ListAssetModelsAPIClient, params *ListAssetModelsInput, optFns ...func(*ListAssetModelsPaginatorOptions)) *ListAssetModelsPaginator
- func (p *ListAssetModelsPaginator) HasMorePages() bool
- func (p *ListAssetModelsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListAssetModelsOutput, error)
- type ListAssetModelsPaginatorOptions
- type ListAssetRelationshipsAPIClient
- type ListAssetRelationshipsInput
- type ListAssetRelationshipsOutput
- type ListAssetRelationshipsPaginator
- func NewListAssetRelationshipsPaginator(client ListAssetRelationshipsAPIClient, params *ListAssetRelationshipsInput, optFns ...func(*ListAssetRelationshipsPaginatorOptions)) *ListAssetRelationshipsPaginator
- func (p *ListAssetRelationshipsPaginator) HasMorePages() bool
- func (p *ListAssetRelationshipsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListAssetRelationshipsOutput, error)
- type ListAssetRelationshipsPaginatorOptions
- type ListAssetsAPIClient
- type ListAssetsInput
- type ListAssetsOutput
- type ListAssetsPaginator
- func NewListAssetsPaginator(client ListAssetsAPIClient, params *ListAssetsInput, optFns ...func(*ListAssetsPaginatorOptions)) *ListAssetsPaginator
- func (p *ListAssetsPaginator) HasMorePages() bool
- func (p *ListAssetsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListAssetsOutput, error)
- type ListAssetsPaginatorOptions
- type ListAssociatedAssetsAPIClient
- type ListAssociatedAssetsInput
- type ListAssociatedAssetsOutput
- type ListAssociatedAssetsPaginator
- func NewListAssociatedAssetsPaginator(client ListAssociatedAssetsAPIClient, params *ListAssociatedAssetsInput, optFns ...func(*ListAssociatedAssetsPaginatorOptions)) *ListAssociatedAssetsPaginator
- func (p *ListAssociatedAssetsPaginator) HasMorePages() bool
- func (p *ListAssociatedAssetsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListAssociatedAssetsOutput, error)
- type ListAssociatedAssetsPaginatorOptions
- type ListDashboardsAPIClient
- type ListDashboardsInput
- type ListDashboardsOutput
- type ListDashboardsPaginator
- func NewListDashboardsPaginator(client ListDashboardsAPIClient, params *ListDashboardsInput, optFns ...func(*ListDashboardsPaginatorOptions)) *ListDashboardsPaginator
- func (p *ListDashboardsPaginator) HasMorePages() bool
- func (p *ListDashboardsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListDashboardsOutput, error)
- type ListDashboardsPaginatorOptions
- type ListGatewaysAPIClient
- type ListGatewaysInput
- type ListGatewaysOutput
- type ListGatewaysPaginator
- func NewListGatewaysPaginator(client ListGatewaysAPIClient, params *ListGatewaysInput, optFns ...func(*ListGatewaysPaginatorOptions)) *ListGatewaysPaginator
- func (p *ListGatewaysPaginator) HasMorePages() bool
- func (p *ListGatewaysPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListGatewaysOutput, error)
- type ListGatewaysPaginatorOptions
- type ListPortalsAPIClient
- type ListPortalsInput
- type ListPortalsOutput
- type ListPortalsPaginator
- func NewListPortalsPaginator(client ListPortalsAPIClient, params *ListPortalsInput, optFns ...func(*ListPortalsPaginatorOptions)) *ListPortalsPaginator
- func (p *ListPortalsPaginator) HasMorePages() bool
- func (p *ListPortalsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListPortalsOutput, error)
- type ListPortalsPaginatorOptions
- type ListProjectAssetsAPIClient
- type ListProjectAssetsInput
- type ListProjectAssetsOutput
- type ListProjectAssetsPaginator
- func NewListProjectAssetsPaginator(client ListProjectAssetsAPIClient, params *ListProjectAssetsInput, optFns ...func(*ListProjectAssetsPaginatorOptions)) *ListProjectAssetsPaginator
- func (p *ListProjectAssetsPaginator) HasMorePages() bool
- func (p *ListProjectAssetsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListProjectAssetsOutput, error)
- type ListProjectAssetsPaginatorOptions
- type ListProjectsAPIClient
- type ListProjectsInput
- type ListProjectsOutput
- type ListProjectsPaginator
- func NewListProjectsPaginator(client ListProjectsAPIClient, params *ListProjectsInput, optFns ...func(*ListProjectsPaginatorOptions)) *ListProjectsPaginator
- func (p *ListProjectsPaginator) HasMorePages() bool
- func (p *ListProjectsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListProjectsOutput, error)
- type ListProjectsPaginatorOptions
- type ListTagsForResourceInput
- type ListTagsForResourceOutput
- type Options
- type PortalActiveWaiter
- func NewPortalActiveWaiter(client DescribePortalAPIClient, optFns ...func(*PortalActiveWaiterOptions)) *PortalActiveWaiter
- func (w *PortalActiveWaiter) Wait(ctx context.Context, params *DescribePortalInput, maxWaitDur time.Duration, optFns ...func(*PortalActiveWaiterOptions)) error
- type PortalActiveWaiterOptions
- type PortalNotExistsWaiter
- func NewPortalNotExistsWaiter(client DescribePortalAPIClient, optFns ...func(*PortalNotExistsWaiterOptions)) *PortalNotExistsWaiter
- func (w *PortalNotExistsWaiter) Wait(ctx context.Context, params *DescribePortalInput, maxWaitDur time.Duration, optFns ...func(*PortalNotExistsWaiterOptions)) error
- type PortalNotExistsWaiterOptions
- type PutDefaultEncryptionConfigurationInput
- type PutDefaultEncryptionConfigurationOutput
- type PutLoggingOptionsInput
- type PutLoggingOptionsOutput
- type ResolveEndpoint
- func (m *ResolveEndpoint) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( out middleware.SerializeOutput, metadata middleware.Metadata, err error, )
- func (*ResolveEndpoint) ID() string
- type TagResourceInput
- type TagResourceOutput
- type UntagResourceInput
- type UntagResourceOutput
- type UpdateAccessPolicyInput
- type UpdateAccessPolicyOutput
- type UpdateAssetInput
- type UpdateAssetModelInput
- type UpdateAssetModelOutput
- type UpdateAssetOutput
- type UpdateAssetPropertyInput
- type UpdateAssetPropertyOutput
- type UpdateDashboardInput
- type UpdateDashboardOutput
- type UpdateGatewayCapabilityConfigurationInput
- type UpdateGatewayCapabilityConfigurationOutput
- type UpdateGatewayInput
- type UpdateGatewayOutput
- type UpdatePortalInput
- type UpdatePortalOutput
- type UpdateProjectInput
- type UpdateProjectOutput
Constants ¶
const ServiceAPIVersion = "2019-12-02"
const ServiceID = "IoTSiteWise"
Functions ¶
func NewDefaultEndpointResolver ¶
func NewDefaultEndpointResolver() *internalendpoints.Resolver
NewDefaultEndpointResolver constructs a new service endpoint resolver
func WithAPIOptions ¶
func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options)
WithAPIOptions returns a functional option for setting the Client's APIOptions option.
func WithEndpointResolver ¶
func WithEndpointResolver(v EndpointResolver) func(*Options)
WithEndpointResolver returns a functional option for setting the Client's EndpointResolver option.
Types ¶
type AssetActiveWaiter ¶
type AssetActiveWaiter struct {
// contains filtered or unexported fields
}
AssetActiveWaiter defines the waiters for AssetActive
func NewAssetActiveWaiter ¶
func NewAssetActiveWaiter(client DescribeAssetAPIClient, optFns ...func(*AssetActiveWaiterOptions)) *AssetActiveWaiter
NewAssetActiveWaiter constructs a AssetActiveWaiter.
func (*AssetActiveWaiter) Wait ¶
func (w *AssetActiveWaiter) Wait(ctx context.Context, params *DescribeAssetInput, maxWaitDur time.Duration, optFns ...func(*AssetActiveWaiterOptions)) error
Wait calls the waiter function for AssetActive waiter. The maxWaitDur is the maximum wait duration the waiter will wait. The maxWaitDur is required and must be greater than zero.
type AssetActiveWaiterOptions ¶
type AssetActiveWaiterOptions struct { // Set of options to modify how an operation is invoked. These apply to all // operations invoked for this client. Use functional options on operation call to // modify this list for per operation behavior. APIOptions []func(*middleware.Stack) error // MinDelay is the minimum amount of time to delay between retries. If unset, // AssetActiveWaiter will use default minimum delay of 3 seconds. Note that // MinDelay must resolve to a value lesser than or equal to the MaxDelay. MinDelay time.Duration // MaxDelay is the maximum amount of time to delay between retries. If unset or set // to zero, AssetActiveWaiter will use default max delay of 120 seconds. Note that // MaxDelay must resolve to value greater than or equal to the MinDelay. MaxDelay time.Duration // LogWaitAttempts is used to enable logging for waiter retry attempts LogWaitAttempts bool // Retryable is function that can be used to override the service defined // waiter-behavior based on operation output, or returned error. This function is // used by the waiter to decide if a state is retryable or a terminal state. By // default service-modeled logic will populate this option. This option can thus be // used to define a custom waiter state with fall-back to service-modeled waiter // state mutators.The function returns an error in case of a failure state. In case // of retry state, this function returns a bool value of true and nil error, while // in case of success it returns a bool value of false and nil error. Retryable func(context.Context, *DescribeAssetInput, *DescribeAssetOutput, error) (bool, error) }
AssetActiveWaiterOptions are waiter options for AssetActiveWaiter
type AssetModelActiveWaiter ¶
type AssetModelActiveWaiter struct {
// contains filtered or unexported fields
}
AssetModelActiveWaiter defines the waiters for AssetModelActive
func NewAssetModelActiveWaiter ¶
func NewAssetModelActiveWaiter(client DescribeAssetModelAPIClient, optFns ...func(*AssetModelActiveWaiterOptions)) *AssetModelActiveWaiter
NewAssetModelActiveWaiter constructs a AssetModelActiveWaiter.
func (*AssetModelActiveWaiter) Wait ¶
func (w *AssetModelActiveWaiter) Wait(ctx context.Context, params *DescribeAssetModelInput, maxWaitDur time.Duration, optFns ...func(*AssetModelActiveWaiterOptions)) error
Wait calls the waiter function for AssetModelActive waiter. The maxWaitDur is the maximum wait duration the waiter will wait. The maxWaitDur is required and must be greater than zero.
type AssetModelActiveWaiterOptions ¶
type AssetModelActiveWaiterOptions struct { // Set of options to modify how an operation is invoked. These apply to all // operations invoked for this client. Use functional options on operation call to // modify this list for per operation behavior. APIOptions []func(*middleware.Stack) error // MinDelay is the minimum amount of time to delay between retries. If unset, // AssetModelActiveWaiter will use default minimum delay of 3 seconds. Note that // MinDelay must resolve to a value lesser than or equal to the MaxDelay. MinDelay time.Duration // MaxDelay is the maximum amount of time to delay between retries. If unset or set // to zero, AssetModelActiveWaiter will use default max delay of 120 seconds. Note // that MaxDelay must resolve to value greater than or equal to the MinDelay. MaxDelay time.Duration // LogWaitAttempts is used to enable logging for waiter retry attempts LogWaitAttempts bool // Retryable is function that can be used to override the service defined // waiter-behavior based on operation output, or returned error. This function is // used by the waiter to decide if a state is retryable or a terminal state. By // default service-modeled logic will populate this option. This option can thus be // used to define a custom waiter state with fall-back to service-modeled waiter // state mutators.The function returns an error in case of a failure state. In case // of retry state, this function returns a bool value of true and nil error, while // in case of success it returns a bool value of false and nil error. Retryable func(context.Context, *DescribeAssetModelInput, *DescribeAssetModelOutput, error) (bool, error) }
AssetModelActiveWaiterOptions are waiter options for AssetModelActiveWaiter
type AssetModelNotExistsWaiter ¶
type AssetModelNotExistsWaiter struct {
// contains filtered or unexported fields
}
AssetModelNotExistsWaiter defines the waiters for AssetModelNotExists
func NewAssetModelNotExistsWaiter ¶
func NewAssetModelNotExistsWaiter(client DescribeAssetModelAPIClient, optFns ...func(*AssetModelNotExistsWaiterOptions)) *AssetModelNotExistsWaiter
NewAssetModelNotExistsWaiter constructs a AssetModelNotExistsWaiter.
func (*AssetModelNotExistsWaiter) Wait ¶
func (w *AssetModelNotExistsWaiter) Wait(ctx context.Context, params *DescribeAssetModelInput, maxWaitDur time.Duration, optFns ...func(*AssetModelNotExistsWaiterOptions)) error
Wait calls the waiter function for AssetModelNotExists waiter. The maxWaitDur is the maximum wait duration the waiter will wait. The maxWaitDur is required and must be greater than zero.
type AssetModelNotExistsWaiterOptions ¶
type AssetModelNotExistsWaiterOptions struct { // Set of options to modify how an operation is invoked. These apply to all // operations invoked for this client. Use functional options on operation call to // modify this list for per operation behavior. APIOptions []func(*middleware.Stack) error // MinDelay is the minimum amount of time to delay between retries. If unset, // AssetModelNotExistsWaiter will use default minimum delay of 3 seconds. Note that // MinDelay must resolve to a value lesser than or equal to the MaxDelay. MinDelay time.Duration // MaxDelay is the maximum amount of time to delay between retries. If unset or set // to zero, AssetModelNotExistsWaiter will use default max delay of 120 seconds. // Note that MaxDelay must resolve to value greater than or equal to the MinDelay. MaxDelay time.Duration // LogWaitAttempts is used to enable logging for waiter retry attempts LogWaitAttempts bool // Retryable is function that can be used to override the service defined // waiter-behavior based on operation output, or returned error. This function is // used by the waiter to decide if a state is retryable or a terminal state. By // default service-modeled logic will populate this option. This option can thus be // used to define a custom waiter state with fall-back to service-modeled waiter // state mutators.The function returns an error in case of a failure state. In case // of retry state, this function returns a bool value of true and nil error, while // in case of success it returns a bool value of false and nil error. Retryable func(context.Context, *DescribeAssetModelInput, *DescribeAssetModelOutput, error) (bool, error) }
AssetModelNotExistsWaiterOptions are waiter options for AssetModelNotExistsWaiter
type AssetNotExistsWaiter ¶
type AssetNotExistsWaiter struct {
// contains filtered or unexported fields
}
AssetNotExistsWaiter defines the waiters for AssetNotExists
func NewAssetNotExistsWaiter ¶
func NewAssetNotExistsWaiter(client DescribeAssetAPIClient, optFns ...func(*AssetNotExistsWaiterOptions)) *AssetNotExistsWaiter
NewAssetNotExistsWaiter constructs a AssetNotExistsWaiter.
func (*AssetNotExistsWaiter) Wait ¶
func (w *AssetNotExistsWaiter) Wait(ctx context.Context, params *DescribeAssetInput, maxWaitDur time.Duration, optFns ...func(*AssetNotExistsWaiterOptions)) error
Wait calls the waiter function for AssetNotExists waiter. The maxWaitDur is the maximum wait duration the waiter will wait. The maxWaitDur is required and must be greater than zero.
type AssetNotExistsWaiterOptions ¶
type AssetNotExistsWaiterOptions struct { // Set of options to modify how an operation is invoked. These apply to all // operations invoked for this client. Use functional options on operation call to // modify this list for per operation behavior. APIOptions []func(*middleware.Stack) error // MinDelay is the minimum amount of time to delay between retries. If unset, // AssetNotExistsWaiter will use default minimum delay of 3 seconds. Note that // MinDelay must resolve to a value lesser than or equal to the MaxDelay. MinDelay time.Duration // MaxDelay is the maximum amount of time to delay between retries. If unset or set // to zero, AssetNotExistsWaiter will use default max delay of 120 seconds. Note // that MaxDelay must resolve to value greater than or equal to the MinDelay. MaxDelay time.Duration // LogWaitAttempts is used to enable logging for waiter retry attempts LogWaitAttempts bool // Retryable is function that can be used to override the service defined // waiter-behavior based on operation output, or returned error. This function is // used by the waiter to decide if a state is retryable or a terminal state. By // default service-modeled logic will populate this option. This option can thus be // used to define a custom waiter state with fall-back to service-modeled waiter // state mutators.The function returns an error in case of a failure state. In case // of retry state, this function returns a bool value of true and nil error, while // in case of success it returns a bool value of false and nil error. Retryable func(context.Context, *DescribeAssetInput, *DescribeAssetOutput, error) (bool, error) }
AssetNotExistsWaiterOptions are waiter options for AssetNotExistsWaiter
type AssociateAssetsInput ¶
type AssociateAssetsInput struct { // The ID of the parent asset. // // This member is required. AssetId *string // The ID of the child asset to be associated. // // This member is required. ChildAssetId *string // 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. // // This member is required. HierarchyId *string // 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 }
type AssociateAssetsOutput ¶
type AssociateAssetsOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type BatchAssociateProjectAssetsInput ¶
type BatchAssociateProjectAssetsInput struct { // The IDs of the assets to be associated to the project. // // This member is required. AssetIds []string // The ID of the project to which to associate the assets. // // This member is required. ProjectId *string // 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 }
type BatchAssociateProjectAssetsOutput ¶
type BatchAssociateProjectAssetsOutput struct { // A list of associated error information, if any. Errors []types.AssetErrorDetails // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type BatchDisassociateProjectAssetsInput ¶
type BatchDisassociateProjectAssetsInput struct { // The IDs of the assets to be disassociated from the project. // // This member is required. AssetIds []string // The ID of the project from which to disassociate the assets. // // This member is required. ProjectId *string // 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 }
type BatchDisassociateProjectAssetsOutput ¶
type BatchDisassociateProjectAssetsOutput struct { // A list of associated error information, if any. Errors []types.AssetErrorDetails // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
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. // // This member is required. Entries []types.PutAssetPropertyValueEntry }
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. // // This member is required. ErrorEntries []types.BatchPutAssetPropertyErrorEntry // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client provides the API client to make operations call for AWS IoT SiteWise.
func New ¶
New returns an initialized Client based on the functional options. Provide additional functional options to further configure the behavior of the client, such as changing the client's endpoint or adding custom middleware behavior.
func NewFromConfig ¶
NewFromConfig returns a new client from the provided config.
func (*Client) AssociateAssets ¶
func (c *Client) AssociateAssets(ctx context.Context, params *AssociateAssetsInput, optFns ...func(*Options)) (*AssociateAssetsOutput, error)
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.
func (*Client) BatchAssociateProjectAssets ¶
func (c *Client) BatchAssociateProjectAssets(ctx context.Context, params *BatchAssociateProjectAssetsInput, optFns ...func(*Options)) (*BatchAssociateProjectAssetsOutput, error)
Associates a group (batch) of assets with an AWS IoT SiteWise Monitor project.
func (*Client) BatchDisassociateProjectAssets ¶
func (c *Client) BatchDisassociateProjectAssets(ctx context.Context, params *BatchDisassociateProjectAssetsInput, optFns ...func(*Options)) (*BatchDisassociateProjectAssetsOutput, error)
Disassociates a group (batch) of assets from an AWS IoT SiteWise Monitor project.
func (*Client) BatchPutAssetPropertyValue ¶
func (c *Client) BatchPutAssetPropertyValue(ctx context.Context, params *BatchPutAssetPropertyValueInput, optFns ...func(*Options)) (*BatchPutAssetPropertyValueOutput, error)
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:
* The assetId and propertyId of an asset property.
* A propertyAlias, which is a data stream alias (for example, /company/windfarm/3/turbine/7/temperature). To define an asset property's alias, see UpdateAssetProperty (https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_UpdateAssetProperty.html).
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 10 minutes in the future. AWS IoT SiteWise rejects timestamps outside of the inclusive range of [-7 days, +10 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.
func (*Client) CreateAccessPolicy ¶
func (c *Client) CreateAccessPolicy(ctx context.Context, params *CreateAccessPolicyInput, optFns ...func(*Options)) (*CreateAccessPolicyOutput, error)
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.
func (*Client) CreateAsset ¶
func (c *Client) CreateAsset(ctx context.Context, params *CreateAssetInput, optFns ...func(*Options)) (*CreateAssetOutput, error)
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.
func (*Client) CreateAssetModel ¶
func (c *Client) CreateAssetModel(ctx context.Context, params *CreateAssetModelInput, optFns ...func(*Options)) (*CreateAssetModelOutput, error)
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.
func (*Client) CreateDashboard ¶
func (c *Client) CreateDashboard(ctx context.Context, params *CreateDashboardInput, optFns ...func(*Options)) (*CreateDashboardOutput, error)
Creates a dashboard in an AWS IoT SiteWise Monitor project.
func (*Client) CreateGateway ¶
func (c *Client) CreateGateway(ctx context.Context, params *CreateGatewayInput, optFns ...func(*Options)) (*CreateGatewayOutput, error)
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.
func (*Client) CreatePortal ¶
func (c *Client) CreatePortal(ctx context.Context, params *CreatePortalInput, optFns ...func(*Options)) (*CreatePortalOutput, error)
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.
func (*Client) CreateProject ¶
func (c *Client) CreateProject(ctx context.Context, params *CreateProjectInput, optFns ...func(*Options)) (*CreateProjectOutput, error)
Creates a project in the specified portal.
func (*Client) DeleteAccessPolicy ¶
func (c *Client) DeleteAccessPolicy(ctx context.Context, params *DeleteAccessPolicyInput, optFns ...func(*Options)) (*DeleteAccessPolicyOutput, error)
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.
func (*Client) DeleteAsset ¶
func (c *Client) DeleteAsset(ctx context.Context, params *DeleteAssetInput, optFns ...func(*Options)) (*DeleteAssetOutput, error)
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).
func (*Client) DeleteAssetModel ¶
func (c *Client) DeleteAssetModel(ctx context.Context, params *DeleteAssetModelInput, optFns ...func(*Options)) (*DeleteAssetModelOutput, error)
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.
func (*Client) DeleteDashboard ¶
func (c *Client) DeleteDashboard(ctx context.Context, params *DeleteDashboardInput, optFns ...func(*Options)) (*DeleteDashboardOutput, error)
Deletes a dashboard from AWS IoT SiteWise Monitor.
func (*Client) DeleteGateway ¶
func (c *Client) DeleteGateway(ctx context.Context, params *DeleteGatewayInput, optFns ...func(*Options)) (*DeleteGatewayOutput, error)
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.
func (*Client) DeletePortal ¶
func (c *Client) DeletePortal(ctx context.Context, params *DeletePortalInput, optFns ...func(*Options)) (*DeletePortalOutput, error)
Deletes a portal from AWS IoT SiteWise Monitor.
func (*Client) DeleteProject ¶
func (c *Client) DeleteProject(ctx context.Context, params *DeleteProjectInput, optFns ...func(*Options)) (*DeleteProjectOutput, error)
Deletes a project from AWS IoT SiteWise Monitor.
func (*Client) DescribeAccessPolicy ¶
func (c *Client) DescribeAccessPolicy(ctx context.Context, params *DescribeAccessPolicyInput, optFns ...func(*Options)) (*DescribeAccessPolicyOutput, error)
Describes an access policy, which specifies an identity's access to an AWS IoT SiteWise Monitor portal or project.
func (*Client) DescribeAsset ¶
func (c *Client) DescribeAsset(ctx context.Context, params *DescribeAssetInput, optFns ...func(*Options)) (*DescribeAssetOutput, error)
Retrieves information about an asset.
func (*Client) DescribeAssetModel ¶
func (c *Client) DescribeAssetModel(ctx context.Context, params *DescribeAssetModelInput, optFns ...func(*Options)) (*DescribeAssetModelOutput, error)
Retrieves information about an asset model.
func (*Client) DescribeAssetProperty ¶
func (c *Client) DescribeAssetProperty(ctx context.Context, params *DescribeAssetPropertyInput, optFns ...func(*Options)) (*DescribeAssetPropertyOutput, error)
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).
func (*Client) DescribeDashboard ¶
func (c *Client) DescribeDashboard(ctx context.Context, params *DescribeDashboardInput, optFns ...func(*Options)) (*DescribeDashboardOutput, error)
Retrieves information about a dashboard.
func (*Client) DescribeDefaultEncryptionConfiguration ¶
func (c *Client) DescribeDefaultEncryptionConfiguration(ctx context.Context, params *DescribeDefaultEncryptionConfigurationInput, optFns ...func(*Options)) (*DescribeDefaultEncryptionConfigurationOutput, error)
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.
func (*Client) DescribeGateway ¶
func (c *Client) DescribeGateway(ctx context.Context, params *DescribeGatewayInput, optFns ...func(*Options)) (*DescribeGatewayOutput, error)
Retrieves information about a gateway.
func (*Client) DescribeGatewayCapabilityConfiguration ¶
func (c *Client) DescribeGatewayCapabilityConfiguration(ctx context.Context, params *DescribeGatewayCapabilityConfigurationInput, optFns ...func(*Options)) (*DescribeGatewayCapabilityConfigurationOutput, error)
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).
func (*Client) DescribeLoggingOptions ¶
func (c *Client) DescribeLoggingOptions(ctx context.Context, params *DescribeLoggingOptionsInput, optFns ...func(*Options)) (*DescribeLoggingOptionsOutput, error)
Retrieves the current AWS IoT SiteWise logging options.
func (*Client) DescribePortal ¶
func (c *Client) DescribePortal(ctx context.Context, params *DescribePortalInput, optFns ...func(*Options)) (*DescribePortalOutput, error)
Retrieves information about a portal.
func (*Client) DescribeProject ¶
func (c *Client) DescribeProject(ctx context.Context, params *DescribeProjectInput, optFns ...func(*Options)) (*DescribeProjectOutput, error)
Retrieves information about a project.
func (*Client) DisassociateAssets ¶
func (c *Client) DisassociateAssets(ctx context.Context, params *DisassociateAssetsInput, optFns ...func(*Options)) (*DisassociateAssetsOutput, error)
Disassociates a child asset from the given parent asset through a hierarchy defined in the parent asset's model.
func (*Client) GetAssetPropertyAggregates ¶
func (c *Client) GetAssetPropertyAggregates(ctx context.Context, params *GetAssetPropertyAggregatesInput, optFns ...func(*Options)) (*GetAssetPropertyAggregatesOutput, error)
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:
* The assetId and propertyId of an asset property.
* A propertyAlias, which is a data stream alias (for example, /company/windfarm/3/turbine/7/temperature). To define an asset property's alias, see UpdateAssetProperty (https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_UpdateAssetProperty.html).
func (*Client) GetAssetPropertyValue ¶
func (c *Client) GetAssetPropertyValue(ctx context.Context, params *GetAssetPropertyValueInput, optFns ...func(*Options)) (*GetAssetPropertyValueOutput, error)
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:
* The assetId and propertyId of an asset property.
* A propertyAlias, which is a data stream alias (for example, /company/windfarm/3/turbine/7/temperature). To define an asset property's alias, see UpdateAssetProperty (https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_UpdateAssetProperty.html).
func (*Client) GetAssetPropertyValueHistory ¶
func (c *Client) GetAssetPropertyValueHistory(ctx context.Context, params *GetAssetPropertyValueHistoryInput, optFns ...func(*Options)) (*GetAssetPropertyValueHistoryOutput, error)
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:
* The assetId and propertyId of an asset property.
* A propertyAlias, which is a data stream alias (for example, /company/windfarm/3/turbine/7/temperature). To define an asset property's alias, see UpdateAssetProperty (https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_UpdateAssetProperty.html).
func (*Client) GetInterpolatedAssetPropertyValues ¶
func (c *Client) GetInterpolatedAssetPropertyValues(ctx context.Context, params *GetInterpolatedAssetPropertyValuesInput, optFns ...func(*Options)) (*GetInterpolatedAssetPropertyValuesOutput, error)
Get interpolated values for an asset property for a specified time interval, during a period of time. For example, you can use the this operation to return the interpolated temperature values for a wind turbine every 24 hours over a duration of 7 days. This API isn't available in China (Beijing). To identify an asset property, you must specify one of the following:
* The assetId and propertyId of an asset property.
* A propertyAlias, which is a data stream alias (for example, /company/windfarm/3/turbine/7/temperature). To define an asset property's alias, see UpdateAssetProperty (https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_UpdateAssetProperty.html).
func (*Client) ListAccessPolicies ¶
func (c *Client) ListAccessPolicies(ctx context.Context, params *ListAccessPoliciesInput, optFns ...func(*Options)) (*ListAccessPoliciesOutput, error)
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).
func (*Client) ListAssetModels ¶
func (c *Client) ListAssetModels(ctx context.Context, params *ListAssetModelsInput, optFns ...func(*Options)) (*ListAssetModelsOutput, error)
Retrieves a paginated list of summaries of all asset models.
func (*Client) ListAssetRelationships ¶
func (c *Client) ListAssetRelationships(ctx context.Context, params *ListAssetRelationshipsInput, optFns ...func(*Options)) (*ListAssetRelationshipsOutput, error)
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.
func (*Client) ListAssets ¶
func (c *Client) ListAssets(ctx context.Context, params *ListAssetsInput, optFns ...func(*Options)) (*ListAssetsOutput, error)
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.
func (*Client) ListAssociatedAssets ¶
func (c *Client) ListAssociatedAssets(ctx context.Context, params *ListAssociatedAssetsInput, optFns ...func(*Options)) (*ListAssociatedAssetsOutput, error)
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.
func (*Client) ListDashboards ¶
func (c *Client) ListDashboards(ctx context.Context, params *ListDashboardsInput, optFns ...func(*Options)) (*ListDashboardsOutput, error)
Retrieves a paginated list of dashboards for an AWS IoT SiteWise Monitor project.
func (*Client) ListGateways ¶
func (c *Client) ListGateways(ctx context.Context, params *ListGatewaysInput, optFns ...func(*Options)) (*ListGatewaysOutput, error)
Retrieves a paginated list of gateways.
func (*Client) ListPortals ¶
func (c *Client) ListPortals(ctx context.Context, params *ListPortalsInput, optFns ...func(*Options)) (*ListPortalsOutput, error)
Retrieves a paginated list of AWS IoT SiteWise Monitor portals.
func (*Client) ListProjectAssets ¶
func (c *Client) ListProjectAssets(ctx context.Context, params *ListProjectAssetsInput, optFns ...func(*Options)) (*ListProjectAssetsOutput, error)
Retrieves a paginated list of assets associated with an AWS IoT SiteWise Monitor project.
func (*Client) ListProjects ¶
func (c *Client) ListProjects(ctx context.Context, params *ListProjectsInput, optFns ...func(*Options)) (*ListProjectsOutput, error)
Retrieves a paginated list of projects for an AWS IoT SiteWise Monitor portal.
func (*Client) ListTagsForResource ¶
func (c *Client) ListTagsForResource(ctx context.Context, params *ListTagsForResourceInput, optFns ...func(*Options)) (*ListTagsForResourceOutput, error)
Retrieves the list of tags for an AWS IoT SiteWise resource.
func (*Client) PutDefaultEncryptionConfiguration ¶
func (c *Client) PutDefaultEncryptionConfiguration(ctx context.Context, params *PutDefaultEncryptionConfigurationInput, optFns ...func(*Options)) (*PutDefaultEncryptionConfigurationOutput, error)
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.
func (*Client) PutLoggingOptions ¶
func (c *Client) PutLoggingOptions(ctx context.Context, params *PutLoggingOptionsInput, optFns ...func(*Options)) (*PutLoggingOptionsOutput, error)
Sets logging options for AWS IoT SiteWise.
func (*Client) TagResource ¶
func (c *Client) TagResource(ctx context.Context, params *TagResourceInput, optFns ...func(*Options)) (*TagResourceOutput, error)
Adds tags to an AWS IoT SiteWise resource. If a tag already exists for the resource, this operation updates the tag's value.
func (*Client) UntagResource ¶
func (c *Client) UntagResource(ctx context.Context, params *UntagResourceInput, optFns ...func(*Options)) (*UntagResourceOutput, error)
Removes a tag from an AWS IoT SiteWise resource.
func (*Client) UpdateAccessPolicy ¶
func (c *Client) UpdateAccessPolicy(ctx context.Context, params *UpdateAccessPolicyInput, optFns ...func(*Options)) (*UpdateAccessPolicyOutput, error)
Updates an existing access policy that specifies an identity's access to an AWS IoT SiteWise Monitor portal or project resource.
func (*Client) UpdateAsset ¶
func (c *Client) UpdateAsset(ctx context.Context, params *UpdateAssetInput, optFns ...func(*Options)) (*UpdateAssetOutput, error)
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.
func (*Client) UpdateAssetModel ¶
func (c *Client) UpdateAssetModel(ctx context.Context, params *UpdateAssetModelInput, optFns ...func(*Options)) (*UpdateAssetModelOutput, error)
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.
func (*Client) UpdateAssetProperty ¶
func (c *Client) UpdateAssetProperty(ctx context.Context, params *UpdateAssetPropertyInput, optFns ...func(*Options)) (*UpdateAssetPropertyOutput, error)
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).
func (*Client) UpdateDashboard ¶
func (c *Client) UpdateDashboard(ctx context.Context, params *UpdateDashboardInput, optFns ...func(*Options)) (*UpdateDashboardOutput, error)
Updates an AWS IoT SiteWise Monitor dashboard.
func (*Client) UpdateGateway ¶
func (c *Client) UpdateGateway(ctx context.Context, params *UpdateGatewayInput, optFns ...func(*Options)) (*UpdateGatewayOutput, error)
Updates a gateway's name.
func (*Client) UpdateGatewayCapabilityConfiguration ¶
func (c *Client) UpdateGatewayCapabilityConfiguration(ctx context.Context, params *UpdateGatewayCapabilityConfigurationInput, optFns ...func(*Options)) (*UpdateGatewayCapabilityConfigurationOutput, error)
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).
func (*Client) UpdatePortal ¶
func (c *Client) UpdatePortal(ctx context.Context, params *UpdatePortalInput, optFns ...func(*Options)) (*UpdatePortalOutput, error)
Updates an AWS IoT SiteWise Monitor portal.
func (*Client) UpdateProject ¶
func (c *Client) UpdateProject(ctx context.Context, params *UpdateProjectInput, optFns ...func(*Options)) (*UpdateProjectOutput, error)
Updates an AWS IoT SiteWise Monitor project.
type CreateAccessPolicyInput ¶
type CreateAccessPolicyInput struct { // The identity for this access policy. Choose an AWS SSO user, an AWS SSO group, // or an IAM user. // // This member is required. AccessPolicyIdentity *types.Identity // The permission level for this access policy. Note that a project ADMINISTRATOR // is also known as a project owner. // // This member is required. AccessPolicyPermission types.Permission // The AWS IoT SiteWise Monitor resource for this access policy. Choose either a // portal or a project. // // This member is required. AccessPolicyResource *types.Resource // 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 // 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 }
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} // // This member is required. AccessPolicyArn *string // The ID of the access policy. // // This member is required. AccessPolicyId *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type CreateAssetInput ¶
type CreateAssetInput struct { // The ID of the asset model from which to create the asset. // // This member is required. AssetModelId *string // A unique, friendly name for the asset. // // This member is required. AssetName *string // 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 // 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 }
type CreateAssetModelInput ¶
type CreateAssetModelInput struct { // A unique, friendly name for the asset model. // // This member is required. AssetModelName *string // 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 []types.AssetModelCompositeModelDefinition // A description for the asset model. AssetModelDescription *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 []types.AssetModelHierarchyDefinition // 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 []types.AssetModelPropertyDefinition // 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 // 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 }
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} // // This member is required. AssetModelArn *string // The ID of the asset model. You can use this ID when you call other AWS IoT // SiteWise APIs. // // This member is required. AssetModelId *string // The status of the asset model, which contains a state (CREATING after // successfully calling this operation) and any error message. // // This member is required. AssetModelStatus *types.AssetModelStatus // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
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} // // This member is required. AssetArn *string // 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. // // This member is required. AssetId *string // The status of the asset, which contains a state (CREATING after successfully // calling this operation) and any error message. // // This member is required. AssetStatus *types.AssetStatus // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type CreateDashboardInput ¶
type CreateDashboardInput struct { // 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. // // This member is required. DashboardDefinition *string // A friendly name for the dashboard. // // This member is required. DashboardName *string // The ID of the project in which to create the dashboard. // // This member is required. ProjectId *string // 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 // A description for the dashboard. DashboardDescription *string // 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 }
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} // // This member is required. DashboardArn *string // The ID of the dashboard. // // This member is required. DashboardId *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type CreateGatewayInput ¶
type CreateGatewayInput struct { // A unique, friendly name for the gateway. // // This member is required. GatewayName *string // The gateway's platform. You can only specify one platform in a gateway. // // This member is required. GatewayPlatform *types.GatewayPlatform // 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 }
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} // // This member is required. GatewayArn *string // The ID of the gateway device. You can use this ID when you call other AWS IoT // SiteWise APIs. // // This member is required. GatewayId *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type CreatePortalInput ¶
type CreatePortalInput struct { // The AWS administrator's contact email address. // // This member is required. PortalContactEmail *string // A friendly name for the portal. // // This member is required. PortalName *string // 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. // // This member is required. RoleArn *string // 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 // 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 types.AuthMode // A description for the portal. PortalDescription *string // A logo image to display in the portal. Upload a square, high-resolution image. // The image is displayed on a dark background. PortalLogoImageFile *types.ImageFile // 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 }
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} // // This member is required. PortalArn *string // The ID of the created portal. // // This member is required. PortalId *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. // // This member is required. PortalStartUrl *string // The status of the portal, which contains a state (CREATING after successfully // calling this operation) and any error message. // // This member is required. PortalStatus *types.PortalStatus // The associated AWS SSO application ID, if the portal uses AWS SSO. // // This member is required. SsoApplicationId *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type CreateProjectInput ¶
type CreateProjectInput struct { // The ID of the portal in which to create the project. // // This member is required. PortalId *string // A friendly name for the project. // // This member is required. ProjectName *string // 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 // A description for the project. ProjectDescription *string // 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 }
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} // // This member is required. ProjectArn *string // The ID of the project. // // This member is required. ProjectId *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DeleteAccessPolicyInput ¶
type DeleteAccessPolicyInput struct { // The ID of the access policy to be deleted. // // This member is required. AccessPolicyId *string // 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 }
type DeleteAccessPolicyOutput ¶
type DeleteAccessPolicyOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DeleteAssetInput ¶
type DeleteAssetInput struct { // The ID of the asset to delete. // // This member is required. AssetId *string // 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 }
type DeleteAssetModelInput ¶
type DeleteAssetModelInput struct { // The ID of the asset model to delete. // // This member is required. AssetModelId *string // 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 }
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. // // This member is required. AssetModelStatus *types.AssetModelStatus // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DeleteAssetOutput ¶
type DeleteAssetOutput struct { // The status of the asset, which contains a state (DELETING after successfully // calling this operation) and any error message. // // This member is required. AssetStatus *types.AssetStatus // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DeleteDashboardInput ¶
type DeleteDashboardInput struct { // The ID of the dashboard to delete. // // This member is required. DashboardId *string // 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 }
type DeleteDashboardOutput ¶
type DeleteDashboardOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DeleteGatewayInput ¶
type DeleteGatewayInput struct { // The ID of the gateway to delete. // // This member is required. GatewayId *string }
type DeleteGatewayOutput ¶
type DeleteGatewayOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DeletePortalInput ¶
type DeletePortalInput struct { // The ID of the portal to delete. // // This member is required. PortalId *string // 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 }
type DeletePortalOutput ¶
type DeletePortalOutput struct { // The status of the portal, which contains a state (DELETING after successfully // calling this operation) and any error message. // // This member is required. PortalStatus *types.PortalStatus // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DeleteProjectInput ¶
type DeleteProjectInput struct { // The ID of the project. // // This member is required. ProjectId *string // 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 }
type DeleteProjectOutput ¶
type DeleteProjectOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DescribeAccessPolicyInput ¶
type DescribeAccessPolicyInput struct { // The ID of the access policy. // // This member is required. AccessPolicyId *string }
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} // // This member is required. AccessPolicyArn *string // The date the access policy was created, in Unix epoch time. // // This member is required. AccessPolicyCreationDate *time.Time // The ID of the access policy. // // This member is required. AccessPolicyId *string // The identity (AWS SSO user, AWS SSO group, or IAM user) to which this access // policy applies. // // This member is required. AccessPolicyIdentity *types.Identity // The date the access policy was last updated, in Unix epoch time. // // This member is required. AccessPolicyLastUpdateDate *time.Time // The access policy permission. Note that a project ADMINISTRATOR is also known as // a project owner. // // This member is required. AccessPolicyPermission types.Permission // The AWS IoT SiteWise Monitor resource (portal or project) to which this access // policy provides access. // // This member is required. AccessPolicyResource *types.Resource // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DescribeAssetAPIClient ¶
type DescribeAssetAPIClient interface { DescribeAsset(context.Context, *DescribeAssetInput, ...func(*Options)) (*DescribeAssetOutput, error) }
DescribeAssetAPIClient is a client that implements the DescribeAsset operation.
type DescribeAssetInput ¶
type DescribeAssetInput struct { // The ID of the asset. // // This member is required. AssetId *string }
type DescribeAssetModelAPIClient ¶
type DescribeAssetModelAPIClient interface { DescribeAssetModel(context.Context, *DescribeAssetModelInput, ...func(*Options)) (*DescribeAssetModelOutput, error) }
DescribeAssetModelAPIClient is a client that implements the DescribeAssetModel operation.
type DescribeAssetModelInput ¶
type DescribeAssetModelInput struct { // The ID of the asset model. // // This member is required. AssetModelId *string }
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} // // This member is required. AssetModelArn *string // The date the asset model was created, in Unix epoch time. // // This member is required. AssetModelCreationDate *time.Time // The asset model's description. // // This member is required. AssetModelDescription *string // 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. // // This member is required. AssetModelHierarchies []types.AssetModelHierarchy // The ID of the asset model. // // This member is required. AssetModelId *string // The date the asset model was last updated, in Unix epoch time. // // This member is required. AssetModelLastUpdateDate *time.Time // The name of the asset model. // // This member is required. AssetModelName *string // 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. // // This member is required. AssetModelProperties []types.AssetModelProperty // The current status of the asset model, which contains a state and any error // message. // // This member is required. AssetModelStatus *types.AssetModelStatus // The list of composite asset models for the asset model. AssetModelCompositeModels []types.AssetModelCompositeModel // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
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} // // This member is required. AssetArn *string // The date the asset was created, in Unix epoch time. // // This member is required. AssetCreationDate *time.Time // A list of asset hierarchies that each contain a hierarchyId. A hierarchy // specifies allowed parent/child asset relationships. // // This member is required. AssetHierarchies []types.AssetHierarchy // The ID of the asset. // // This member is required. AssetId *string // The date the asset was last updated, in Unix epoch time. // // This member is required. AssetLastUpdateDate *time.Time // The ID of the asset model that was used to create the asset. // // This member is required. AssetModelId *string // The name of the asset. // // This member is required. AssetName *string // 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. // // This member is required. AssetProperties []types.AssetProperty // The current status of the asset, which contains a state and any error message. // // This member is required. AssetStatus *types.AssetStatus // The composite models for the asset. AssetCompositeModels []types.AssetCompositeModel // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DescribeAssetPropertyInput ¶
type DescribeAssetPropertyInput struct { // The ID of the asset. // // This member is required. AssetId *string // The ID of the asset property. // // This member is required. PropertyId *string }
type DescribeAssetPropertyOutput ¶
type DescribeAssetPropertyOutput struct { // The ID of the asset. // // This member is required. AssetId *string // The ID of the asset model. // // This member is required. AssetModelId *string // The name of the asset. // // This member is required. AssetName *string // 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 *types.Property // The composite asset model that declares this asset property, if this asset // property exists in a composite model. CompositeModel *types.CompositeModelProperty // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DescribeDashboardInput ¶
type DescribeDashboardInput struct { // The ID of the dashboard. // // This member is required. DashboardId *string }
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} // // This member is required. DashboardArn *string // The date the dashboard was created, in Unix epoch time. // // This member is required. DashboardCreationDate *time.Time // 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. // // This member is required. DashboardDefinition *string // The ID of the dashboard. // // This member is required. DashboardId *string // The date the dashboard was last updated, in Unix epoch time. // // This member is required. DashboardLastUpdateDate *time.Time // The name of the dashboard. // // This member is required. DashboardName *string // The ID of the project that the dashboard is in. // // This member is required. ProjectId *string // The dashboard's description. DashboardDescription *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DescribeDefaultEncryptionConfigurationInput ¶
type DescribeDefaultEncryptionConfigurationInput struct { }
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. // // This member is required. ConfigurationStatus *types.ConfigurationStatus // The type of encryption used for the encryption configuration. // // This member is required. EncryptionType types.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 // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
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. // // This member is required. CapabilityNamespace *string // The ID of the gateway that defines the capability configuration. // // This member is required. GatewayId *string }
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. // // This member is required. CapabilityConfiguration *string // The namespace of the gateway capability. // // This member is required. CapabilityNamespace *string // 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. // // This member is required. CapabilitySyncStatus types.CapabilitySyncStatus // The ID of the gateway that defines the capability configuration. // // This member is required. GatewayId *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DescribeGatewayInput ¶
type DescribeGatewayInput struct { // The ID of the gateway device. // // This member is required. GatewayId *string }
type DescribeGatewayOutput ¶
type DescribeGatewayOutput struct { // The date the gateway was created, in Unix epoch time. // // This member is required. CreationDate *time.Time // 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} // // This member is required. GatewayArn *string // 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). // // This member is required. GatewayCapabilitySummaries []types.GatewayCapabilitySummary // The ID of the gateway device. // // This member is required. GatewayId *string // The name of the gateway. // // This member is required. GatewayName *string // The date the gateway was last updated, in Unix epoch time. // // This member is required. LastUpdateDate *time.Time // The gateway's platform. GatewayPlatform *types.GatewayPlatform // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DescribeLoggingOptionsInput ¶
type DescribeLoggingOptionsInput struct { }
type DescribeLoggingOptionsOutput ¶
type DescribeLoggingOptionsOutput struct { // The current logging options. // // This member is required. LoggingOptions *types.LoggingOptions // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DescribePortalAPIClient ¶
type DescribePortalAPIClient interface { DescribePortal(context.Context, *DescribePortalInput, ...func(*Options)) (*DescribePortalOutput, error) }
DescribePortalAPIClient is a client that implements the DescribePortal operation.
type DescribePortalInput ¶
type DescribePortalInput struct { // The ID of the portal. // // This member is required. PortalId *string }
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} // // This member is required. PortalArn *string // 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. // // This member is required. PortalClientId *string // The AWS administrator's contact email address. // // This member is required. PortalContactEmail *string // The date the portal was created, in Unix epoch time. // // This member is required. PortalCreationDate *time.Time // The ID of the portal. // // This member is required. PortalId *string // The date the portal was last updated, in Unix epoch time. // // This member is required. PortalLastUpdateDate *time.Time // The name of the portal. // // This member is required. PortalName *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. // // This member is required. PortalStartUrl *string // The current status of the portal, which contains a state and any error message. // // This member is required. PortalStatus *types.PortalStatus // The service to use to authenticate users to the portal. PortalAuthMode types.AuthMode // The portal's description. PortalDescription *string // The portal's logo image, which is available at a URL. PortalLogoImageLocation *types.ImageLocation // 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 // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DescribeProjectInput ¶
type DescribeProjectInput struct { // The ID of the project. // // This member is required. ProjectId *string }
type DescribeProjectOutput ¶
type DescribeProjectOutput struct { // The ID of the portal that the project is in. // // This member is required. PortalId *string // 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} // // This member is required. ProjectArn *string // The date the project was created, in Unix epoch time. // // This member is required. ProjectCreationDate *time.Time // The ID of the project. // // This member is required. ProjectId *string // The date the project was last updated, in Unix epoch time. // // This member is required. ProjectLastUpdateDate *time.Time // The name of the project. // // This member is required. ProjectName *string // The project's description. ProjectDescription *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DisassociateAssetsInput ¶
type DisassociateAssetsInput struct { // The ID of the parent asset from which to disassociate the child asset. // // This member is required. AssetId *string // The ID of the child asset to disassociate. // // This member is required. ChildAssetId *string // 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. // // This member is required. HierarchyId *string // 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 }
type DisassociateAssetsOutput ¶
type DisassociateAssetsOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type EndpointResolver ¶
type EndpointResolver interface { ResolveEndpoint(region string, options EndpointResolverOptions) (aws.Endpoint, error) }
EndpointResolver interface for resolving service endpoints.
func EndpointResolverFromURL ¶
func EndpointResolverFromURL(url string, optFns ...func(*aws.Endpoint)) EndpointResolver
EndpointResolverFromURL returns an EndpointResolver configured using the provided endpoint url. By default, the resolved endpoint resolver uses the client region as signing region, and the endpoint source is set to EndpointSourceCustom.You can provide functional options to configure endpoint values for the resolved endpoint.
type EndpointResolverFunc ¶
type EndpointResolverFunc func(region string, options EndpointResolverOptions) (aws.Endpoint, error)
EndpointResolverFunc is a helper utility that wraps a function so it satisfies the EndpointResolver interface. This is useful when you want to add additional endpoint resolving logic, or stub out specific endpoints with custom values.
func (EndpointResolverFunc) ResolveEndpoint ¶
func (fn EndpointResolverFunc) ResolveEndpoint(region string, options EndpointResolverOptions) (endpoint aws.Endpoint, err error)
type EndpointResolverOptions ¶
type EndpointResolverOptions = internalendpoints.Options
EndpointResolverOptions is the service endpoint resolver options
type GetAssetPropertyAggregatesAPIClient ¶
type GetAssetPropertyAggregatesAPIClient interface { GetAssetPropertyAggregates(context.Context, *GetAssetPropertyAggregatesInput, ...func(*Options)) (*GetAssetPropertyAggregatesOutput, error) }
GetAssetPropertyAggregatesAPIClient is a client that implements the GetAssetPropertyAggregates operation.
type GetAssetPropertyAggregatesInput ¶
type GetAssetPropertyAggregatesInput struct { // The data aggregating function. // // This member is required. AggregateTypes []types.AggregateType // The inclusive end of the range from which to query historical data, expressed in // seconds in Unix epoch time. // // This member is required. EndDate *time.Time // The time interval over which to aggregate data. // // This member is required. Resolution *string // The exclusive start of the range from which to query historical data, expressed // in seconds in Unix epoch time. // // This member is required. StartDate *time.Time // The ID of the asset. AssetId *string // The maximum number of results to be returned per paginated request. Default: 100 MaxResults *int32 // The token to be used for the next set of paginated results. NextToken *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 // The ID of the asset property. PropertyId *string // The quality by which to filter asset data. Qualities []types.Quality // The chronological sorting order of the requested information. Default: ASCENDING TimeOrdering types.TimeOrdering }
type GetAssetPropertyAggregatesOutput ¶
type GetAssetPropertyAggregatesOutput struct { // The requested aggregated values. // // This member is required. AggregatedValues []types.AggregatedValue // The token for the next set of results, or null if there are no additional // results. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type GetAssetPropertyAggregatesPaginator ¶
type GetAssetPropertyAggregatesPaginator struct {
// contains filtered or unexported fields
}
GetAssetPropertyAggregatesPaginator is a paginator for GetAssetPropertyAggregates
func NewGetAssetPropertyAggregatesPaginator ¶
func NewGetAssetPropertyAggregatesPaginator(client GetAssetPropertyAggregatesAPIClient, params *GetAssetPropertyAggregatesInput, optFns ...func(*GetAssetPropertyAggregatesPaginatorOptions)) *GetAssetPropertyAggregatesPaginator
NewGetAssetPropertyAggregatesPaginator returns a new GetAssetPropertyAggregatesPaginator
func (*GetAssetPropertyAggregatesPaginator) HasMorePages ¶
func (p *GetAssetPropertyAggregatesPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*GetAssetPropertyAggregatesPaginator) NextPage ¶
func (p *GetAssetPropertyAggregatesPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*GetAssetPropertyAggregatesOutput, error)
NextPage retrieves the next GetAssetPropertyAggregates page.
type GetAssetPropertyAggregatesPaginatorOptions ¶
type GetAssetPropertyAggregatesPaginatorOptions struct { // The maximum number of results to be returned per paginated request. Default: 100 Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
GetAssetPropertyAggregatesPaginatorOptions is the paginator options for GetAssetPropertyAggregates
type GetAssetPropertyValueHistoryAPIClient ¶
type GetAssetPropertyValueHistoryAPIClient interface { GetAssetPropertyValueHistory(context.Context, *GetAssetPropertyValueHistoryInput, ...func(*Options)) (*GetAssetPropertyValueHistoryOutput, error) }
GetAssetPropertyValueHistoryAPIClient is a client that implements the GetAssetPropertyValueHistory operation.
type GetAssetPropertyValueHistoryInput ¶
type GetAssetPropertyValueHistoryInput struct { // The ID of the asset. AssetId *string // The inclusive end of the range from which to query historical data, expressed in // seconds in Unix epoch time. EndDate *time.Time // The maximum number of results to be returned per paginated request. Default: 100 MaxResults *int32 // The token to be used for the next set of paginated results. NextToken *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 // The ID of the asset property. PropertyId *string // The quality by which to filter asset data. Qualities []types.Quality // The exclusive start of the range from which to query historical data, expressed // in seconds in Unix epoch time. StartDate *time.Time // The chronological sorting order of the requested information. Default: ASCENDING TimeOrdering types.TimeOrdering }
type GetAssetPropertyValueHistoryOutput ¶
type GetAssetPropertyValueHistoryOutput struct { // The asset property's value history. // // This member is required. AssetPropertyValueHistory []types.AssetPropertyValue // The token for the next set of results, or null if there are no additional // results. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type GetAssetPropertyValueHistoryPaginator ¶
type GetAssetPropertyValueHistoryPaginator struct {
// contains filtered or unexported fields
}
GetAssetPropertyValueHistoryPaginator is a paginator for GetAssetPropertyValueHistory
func NewGetAssetPropertyValueHistoryPaginator ¶
func NewGetAssetPropertyValueHistoryPaginator(client GetAssetPropertyValueHistoryAPIClient, params *GetAssetPropertyValueHistoryInput, optFns ...func(*GetAssetPropertyValueHistoryPaginatorOptions)) *GetAssetPropertyValueHistoryPaginator
NewGetAssetPropertyValueHistoryPaginator returns a new GetAssetPropertyValueHistoryPaginator
func (*GetAssetPropertyValueHistoryPaginator) HasMorePages ¶
func (p *GetAssetPropertyValueHistoryPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*GetAssetPropertyValueHistoryPaginator) NextPage ¶
func (p *GetAssetPropertyValueHistoryPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*GetAssetPropertyValueHistoryOutput, error)
NextPage retrieves the next GetAssetPropertyValueHistory page.
type GetAssetPropertyValueHistoryPaginatorOptions ¶
type GetAssetPropertyValueHistoryPaginatorOptions struct { // The maximum number of results to be returned per paginated request. Default: 100 Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
GetAssetPropertyValueHistoryPaginatorOptions is the paginator options for GetAssetPropertyValueHistory
type GetAssetPropertyValueInput ¶
type GetAssetPropertyValueInput struct { // The ID of the asset. AssetId *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 // The ID of the asset property. PropertyId *string }
type GetAssetPropertyValueOutput ¶
type GetAssetPropertyValueOutput struct { // The current asset property value. PropertyValue *types.AssetPropertyValue // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type GetInterpolatedAssetPropertyValuesAPIClient ¶
type GetInterpolatedAssetPropertyValuesAPIClient interface { GetInterpolatedAssetPropertyValues(context.Context, *GetInterpolatedAssetPropertyValuesInput, ...func(*Options)) (*GetInterpolatedAssetPropertyValuesOutput, error) }
GetInterpolatedAssetPropertyValuesAPIClient is a client that implements the GetInterpolatedAssetPropertyValues operation.
type GetInterpolatedAssetPropertyValuesInput ¶
type GetInterpolatedAssetPropertyValuesInput struct { // The inclusive end of the range from which to interpolate data, expressed in // seconds in Unix epoch time. // // This member is required. EndTimeInSeconds *int64 // The time interval in seconds over which to interpolate data. Each interval // starts when the previous one ends. // // This member is required. IntervalInSeconds *int64 // The quality of the asset property value. You can use this parameter as a filter // to choose only the asset property values that have a specific quality. // // This member is required. Quality types.Quality // The exclusive start of the range from which to interpolate data, expressed in // seconds in Unix epoch time. // // This member is required. StartTimeInSeconds *int64 // The interpolation type. Valid values: LINEAR_INTERPOLATION // // This member is required. Type *string // The ID of the asset. AssetId *string // The nanosecond offset converted from endTimeInSeconds. EndTimeOffsetInNanos *int32 // The maximum number of results to be returned per paginated request. If not // specified, the default value is 10. MaxResults *int32 // The token to be used for the next set of paginated results. NextToken *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 // The ID of the asset property. PropertyId *string // The nanosecond offset converted from startTimeInSeconds. StartTimeOffsetInNanos *int32 }
type GetInterpolatedAssetPropertyValuesOutput ¶
type GetInterpolatedAssetPropertyValuesOutput struct { // The requested interpolated values. // // This member is required. InterpolatedAssetPropertyValues []types.InterpolatedAssetPropertyValue // The token for the next set of results, or null if there are no additional // results. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type GetInterpolatedAssetPropertyValuesPaginator ¶
type GetInterpolatedAssetPropertyValuesPaginator struct {
// contains filtered or unexported fields
}
GetInterpolatedAssetPropertyValuesPaginator is a paginator for GetInterpolatedAssetPropertyValues
func NewGetInterpolatedAssetPropertyValuesPaginator ¶
func NewGetInterpolatedAssetPropertyValuesPaginator(client GetInterpolatedAssetPropertyValuesAPIClient, params *GetInterpolatedAssetPropertyValuesInput, optFns ...func(*GetInterpolatedAssetPropertyValuesPaginatorOptions)) *GetInterpolatedAssetPropertyValuesPaginator
NewGetInterpolatedAssetPropertyValuesPaginator returns a new GetInterpolatedAssetPropertyValuesPaginator
func (*GetInterpolatedAssetPropertyValuesPaginator) HasMorePages ¶
func (p *GetInterpolatedAssetPropertyValuesPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*GetInterpolatedAssetPropertyValuesPaginator) NextPage ¶
func (p *GetInterpolatedAssetPropertyValuesPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*GetInterpolatedAssetPropertyValuesOutput, error)
NextPage retrieves the next GetInterpolatedAssetPropertyValues page.
type GetInterpolatedAssetPropertyValuesPaginatorOptions ¶
type GetInterpolatedAssetPropertyValuesPaginatorOptions struct { // The maximum number of results to be returned per paginated request. If not // specified, the default value is 10. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
GetInterpolatedAssetPropertyValuesPaginatorOptions is the paginator options for GetInterpolatedAssetPropertyValues
type HTTPClient ¶
type HTTPSignerV4 ¶
type HTTPSignerV4 interface { SignHTTP(ctx context.Context, credentials aws.Credentials, r *http.Request, payloadHash string, service string, region string, signingTime time.Time, optFns ...func(*v4.SignerOptions)) error }
type IdempotencyTokenProvider ¶
IdempotencyTokenProvider interface for providing idempotency token
type ListAccessPoliciesAPIClient ¶
type ListAccessPoliciesAPIClient interface { ListAccessPolicies(context.Context, *ListAccessPoliciesInput, ...func(*Options)) (*ListAccessPoliciesOutput, error) }
ListAccessPoliciesAPIClient is a client that implements the ListAccessPolicies operation.
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 // The ID of the identity. This parameter is required if you specify USER or GROUP // for identityType. IdentityId *string // The type of identity (AWS SSO user, AWS SSO group, or IAM user). This parameter // is required if you specify identityId. IdentityType types.IdentityType // The maximum number of results to be returned per paginated request. Default: 50 MaxResults *int32 // The token to be used for the next set of paginated results. NextToken *string // The ID of the resource. This parameter is required if you specify resourceType. ResourceId *string // The type of resource (portal or project). This parameter is required if you // specify resourceId. ResourceType types.ResourceType }
type ListAccessPoliciesOutput ¶
type ListAccessPoliciesOutput struct { // A list that summarizes each access policy. // // This member is required. AccessPolicySummaries []types.AccessPolicySummary // The token for the next set of results, or null if there are no additional // results. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type ListAccessPoliciesPaginator ¶
type ListAccessPoliciesPaginator struct {
// contains filtered or unexported fields
}
ListAccessPoliciesPaginator is a paginator for ListAccessPolicies
func NewListAccessPoliciesPaginator ¶
func NewListAccessPoliciesPaginator(client ListAccessPoliciesAPIClient, params *ListAccessPoliciesInput, optFns ...func(*ListAccessPoliciesPaginatorOptions)) *ListAccessPoliciesPaginator
NewListAccessPoliciesPaginator returns a new ListAccessPoliciesPaginator
func (*ListAccessPoliciesPaginator) HasMorePages ¶
func (p *ListAccessPoliciesPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListAccessPoliciesPaginator) NextPage ¶
func (p *ListAccessPoliciesPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListAccessPoliciesOutput, error)
NextPage retrieves the next ListAccessPolicies page.
type ListAccessPoliciesPaginatorOptions ¶
type ListAccessPoliciesPaginatorOptions struct { // The maximum number of results to be returned per paginated request. Default: 50 Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListAccessPoliciesPaginatorOptions is the paginator options for ListAccessPolicies
type ListAssetModelsAPIClient ¶
type ListAssetModelsAPIClient interface { ListAssetModels(context.Context, *ListAssetModelsInput, ...func(*Options)) (*ListAssetModelsOutput, error) }
ListAssetModelsAPIClient is a client that implements the ListAssetModels operation.
type ListAssetModelsInput ¶
type ListAssetModelsInput struct { // The maximum number of results to be returned per paginated request. Default: 50 MaxResults *int32 // The token to be used for the next set of paginated results. NextToken *string }
type ListAssetModelsOutput ¶
type ListAssetModelsOutput struct { // A list that summarizes each asset model. // // This member is required. AssetModelSummaries []types.AssetModelSummary // The token for the next set of results, or null if there are no additional // results. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type ListAssetModelsPaginator ¶
type ListAssetModelsPaginator struct {
// contains filtered or unexported fields
}
ListAssetModelsPaginator is a paginator for ListAssetModels
func NewListAssetModelsPaginator ¶
func NewListAssetModelsPaginator(client ListAssetModelsAPIClient, params *ListAssetModelsInput, optFns ...func(*ListAssetModelsPaginatorOptions)) *ListAssetModelsPaginator
NewListAssetModelsPaginator returns a new ListAssetModelsPaginator
func (*ListAssetModelsPaginator) HasMorePages ¶
func (p *ListAssetModelsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListAssetModelsPaginator) NextPage ¶
func (p *ListAssetModelsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListAssetModelsOutput, error)
NextPage retrieves the next ListAssetModels page.
type ListAssetModelsPaginatorOptions ¶
type ListAssetModelsPaginatorOptions struct { // The maximum number of results to be returned per paginated request. Default: 50 Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListAssetModelsPaginatorOptions is the paginator options for ListAssetModels
type ListAssetRelationshipsAPIClient ¶
type ListAssetRelationshipsAPIClient interface { ListAssetRelationships(context.Context, *ListAssetRelationshipsInput, ...func(*Options)) (*ListAssetRelationshipsOutput, error) }
ListAssetRelationshipsAPIClient is a client that implements the ListAssetRelationships operation.
type ListAssetRelationshipsInput ¶
type ListAssetRelationshipsInput struct { // The ID of the asset. // // This member is required. AssetId *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. // // This member is required. TraversalType types.TraversalType // The maximum number of results to be returned per paginated request. MaxResults *int32 // The token to be used for the next set of paginated results. NextToken *string }
type ListAssetRelationshipsOutput ¶
type ListAssetRelationshipsOutput struct { // A list that summarizes each asset relationship. // // This member is required. AssetRelationshipSummaries []types.AssetRelationshipSummary // The token for the next set of results, or null if there are no additional // results. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type ListAssetRelationshipsPaginator ¶
type ListAssetRelationshipsPaginator struct {
// contains filtered or unexported fields
}
ListAssetRelationshipsPaginator is a paginator for ListAssetRelationships
func NewListAssetRelationshipsPaginator ¶
func NewListAssetRelationshipsPaginator(client ListAssetRelationshipsAPIClient, params *ListAssetRelationshipsInput, optFns ...func(*ListAssetRelationshipsPaginatorOptions)) *ListAssetRelationshipsPaginator
NewListAssetRelationshipsPaginator returns a new ListAssetRelationshipsPaginator
func (*ListAssetRelationshipsPaginator) HasMorePages ¶
func (p *ListAssetRelationshipsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListAssetRelationshipsPaginator) NextPage ¶
func (p *ListAssetRelationshipsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListAssetRelationshipsOutput, error)
NextPage retrieves the next ListAssetRelationships page.
type ListAssetRelationshipsPaginatorOptions ¶
type ListAssetRelationshipsPaginatorOptions struct { // The maximum number of results to be returned per paginated request. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListAssetRelationshipsPaginatorOptions is the paginator options for ListAssetRelationships
type ListAssetsAPIClient ¶
type ListAssetsAPIClient interface { ListAssets(context.Context, *ListAssetsInput, ...func(*Options)) (*ListAssetsOutput, error) }
ListAssetsAPIClient is a client that implements the ListAssets operation.
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 // 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 types.ListAssetsFilter // The maximum number of results to be returned per paginated request. Default: 50 MaxResults *int32 // The token to be used for the next set of paginated results. NextToken *string }
type ListAssetsOutput ¶
type ListAssetsOutput struct { // A list that summarizes each asset. // // This member is required. AssetSummaries []types.AssetSummary // The token for the next set of results, or null if there are no additional // results. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type ListAssetsPaginator ¶
type ListAssetsPaginator struct {
// contains filtered or unexported fields
}
ListAssetsPaginator is a paginator for ListAssets
func NewListAssetsPaginator ¶
func NewListAssetsPaginator(client ListAssetsAPIClient, params *ListAssetsInput, optFns ...func(*ListAssetsPaginatorOptions)) *ListAssetsPaginator
NewListAssetsPaginator returns a new ListAssetsPaginator
func (*ListAssetsPaginator) HasMorePages ¶
func (p *ListAssetsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListAssetsPaginator) NextPage ¶
func (p *ListAssetsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListAssetsOutput, error)
NextPage retrieves the next ListAssets page.
type ListAssetsPaginatorOptions ¶
type ListAssetsPaginatorOptions struct { // The maximum number of results to be returned per paginated request. Default: 50 Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListAssetsPaginatorOptions is the paginator options for ListAssets
type ListAssociatedAssetsAPIClient ¶
type ListAssociatedAssetsAPIClient interface { ListAssociatedAssets(context.Context, *ListAssociatedAssetsInput, ...func(*Options)) (*ListAssociatedAssetsOutput, error) }
ListAssociatedAssetsAPIClient is a client that implements the ListAssociatedAssets operation.
type ListAssociatedAssetsInput ¶
type ListAssociatedAssetsInput struct { // The ID of the asset to query. // // This member is required. AssetId *string // 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 // The maximum number of results to be returned per paginated request. Default: 50 MaxResults *int32 // The token to be used for the next set of paginated results. NextToken *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 types.TraversalDirection }
type ListAssociatedAssetsOutput ¶
type ListAssociatedAssetsOutput struct { // A list that summarizes the associated assets. // // This member is required. AssetSummaries []types.AssociatedAssetsSummary // The token for the next set of results, or null if there are no additional // results. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type ListAssociatedAssetsPaginator ¶
type ListAssociatedAssetsPaginator struct {
// contains filtered or unexported fields
}
ListAssociatedAssetsPaginator is a paginator for ListAssociatedAssets
func NewListAssociatedAssetsPaginator ¶
func NewListAssociatedAssetsPaginator(client ListAssociatedAssetsAPIClient, params *ListAssociatedAssetsInput, optFns ...func(*ListAssociatedAssetsPaginatorOptions)) *ListAssociatedAssetsPaginator
NewListAssociatedAssetsPaginator returns a new ListAssociatedAssetsPaginator
func (*ListAssociatedAssetsPaginator) HasMorePages ¶
func (p *ListAssociatedAssetsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListAssociatedAssetsPaginator) NextPage ¶
func (p *ListAssociatedAssetsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListAssociatedAssetsOutput, error)
NextPage retrieves the next ListAssociatedAssets page.
type ListAssociatedAssetsPaginatorOptions ¶
type ListAssociatedAssetsPaginatorOptions struct { // The maximum number of results to be returned per paginated request. Default: 50 Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListAssociatedAssetsPaginatorOptions is the paginator options for ListAssociatedAssets
type ListDashboardsAPIClient ¶
type ListDashboardsAPIClient interface { ListDashboards(context.Context, *ListDashboardsInput, ...func(*Options)) (*ListDashboardsOutput, error) }
ListDashboardsAPIClient is a client that implements the ListDashboards operation.
type ListDashboardsInput ¶
type ListDashboardsInput struct { // The ID of the project. // // This member is required. ProjectId *string // The maximum number of results to be returned per paginated request. Default: 50 MaxResults *int32 // The token to be used for the next set of paginated results. NextToken *string }
type ListDashboardsOutput ¶
type ListDashboardsOutput struct { // A list that summarizes each dashboard in the project. // // This member is required. DashboardSummaries []types.DashboardSummary // The token for the next set of results, or null if there are no additional // results. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type ListDashboardsPaginator ¶
type ListDashboardsPaginator struct {
// contains filtered or unexported fields
}
ListDashboardsPaginator is a paginator for ListDashboards
func NewListDashboardsPaginator ¶
func NewListDashboardsPaginator(client ListDashboardsAPIClient, params *ListDashboardsInput, optFns ...func(*ListDashboardsPaginatorOptions)) *ListDashboardsPaginator
NewListDashboardsPaginator returns a new ListDashboardsPaginator
func (*ListDashboardsPaginator) HasMorePages ¶
func (p *ListDashboardsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListDashboardsPaginator) NextPage ¶
func (p *ListDashboardsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListDashboardsOutput, error)
NextPage retrieves the next ListDashboards page.
type ListDashboardsPaginatorOptions ¶
type ListDashboardsPaginatorOptions struct { // The maximum number of results to be returned per paginated request. Default: 50 Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListDashboardsPaginatorOptions is the paginator options for ListDashboards
type ListGatewaysAPIClient ¶
type ListGatewaysAPIClient interface { ListGateways(context.Context, *ListGatewaysInput, ...func(*Options)) (*ListGatewaysOutput, error) }
ListGatewaysAPIClient is a client that implements the ListGateways operation.
type ListGatewaysInput ¶
type ListGatewaysInput struct { // The maximum number of results to be returned per paginated request. Default: 50 MaxResults *int32 // The token to be used for the next set of paginated results. NextToken *string }
type ListGatewaysOutput ¶
type ListGatewaysOutput struct { // A list that summarizes each gateway. // // This member is required. GatewaySummaries []types.GatewaySummary // The token for the next set of results, or null if there are no additional // results. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type ListGatewaysPaginator ¶
type ListGatewaysPaginator struct {
// contains filtered or unexported fields
}
ListGatewaysPaginator is a paginator for ListGateways
func NewListGatewaysPaginator ¶
func NewListGatewaysPaginator(client ListGatewaysAPIClient, params *ListGatewaysInput, optFns ...func(*ListGatewaysPaginatorOptions)) *ListGatewaysPaginator
NewListGatewaysPaginator returns a new ListGatewaysPaginator
func (*ListGatewaysPaginator) HasMorePages ¶
func (p *ListGatewaysPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListGatewaysPaginator) NextPage ¶
func (p *ListGatewaysPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListGatewaysOutput, error)
NextPage retrieves the next ListGateways page.
type ListGatewaysPaginatorOptions ¶
type ListGatewaysPaginatorOptions struct { // The maximum number of results to be returned per paginated request. Default: 50 Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListGatewaysPaginatorOptions is the paginator options for ListGateways
type ListPortalsAPIClient ¶
type ListPortalsAPIClient interface { ListPortals(context.Context, *ListPortalsInput, ...func(*Options)) (*ListPortalsOutput, error) }
ListPortalsAPIClient is a client that implements the ListPortals operation.
type ListPortalsInput ¶
type ListPortalsInput struct { // The maximum number of results to be returned per paginated request. Default: 50 MaxResults *int32 // The token to be used for the next set of paginated results. NextToken *string }
type ListPortalsOutput ¶
type ListPortalsOutput struct { // The token for the next set of results, or null if there are no additional // results. NextToken *string // A list that summarizes each portal. PortalSummaries []types.PortalSummary // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type ListPortalsPaginator ¶
type ListPortalsPaginator struct {
// contains filtered or unexported fields
}
ListPortalsPaginator is a paginator for ListPortals
func NewListPortalsPaginator ¶
func NewListPortalsPaginator(client ListPortalsAPIClient, params *ListPortalsInput, optFns ...func(*ListPortalsPaginatorOptions)) *ListPortalsPaginator
NewListPortalsPaginator returns a new ListPortalsPaginator
func (*ListPortalsPaginator) HasMorePages ¶
func (p *ListPortalsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListPortalsPaginator) NextPage ¶
func (p *ListPortalsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListPortalsOutput, error)
NextPage retrieves the next ListPortals page.
type ListPortalsPaginatorOptions ¶
type ListPortalsPaginatorOptions struct { // The maximum number of results to be returned per paginated request. Default: 50 Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListPortalsPaginatorOptions is the paginator options for ListPortals
type ListProjectAssetsAPIClient ¶
type ListProjectAssetsAPIClient interface { ListProjectAssets(context.Context, *ListProjectAssetsInput, ...func(*Options)) (*ListProjectAssetsOutput, error) }
ListProjectAssetsAPIClient is a client that implements the ListProjectAssets operation.
type ListProjectAssetsInput ¶
type ListProjectAssetsInput struct { // The ID of the project. // // This member is required. ProjectId *string // The maximum number of results to be returned per paginated request. Default: 50 MaxResults *int32 // The token to be used for the next set of paginated results. NextToken *string }
type ListProjectAssetsOutput ¶
type ListProjectAssetsOutput struct { // A list that contains the IDs of each asset associated with the project. // // This member is required. AssetIds []string // The token for the next set of results, or null if there are no additional // results. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type ListProjectAssetsPaginator ¶
type ListProjectAssetsPaginator struct {
// contains filtered or unexported fields
}
ListProjectAssetsPaginator is a paginator for ListProjectAssets
func NewListProjectAssetsPaginator ¶
func NewListProjectAssetsPaginator(client ListProjectAssetsAPIClient, params *ListProjectAssetsInput, optFns ...func(*ListProjectAssetsPaginatorOptions)) *ListProjectAssetsPaginator
NewListProjectAssetsPaginator returns a new ListProjectAssetsPaginator
func (*ListProjectAssetsPaginator) HasMorePages ¶
func (p *ListProjectAssetsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListProjectAssetsPaginator) NextPage ¶
func (p *ListProjectAssetsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListProjectAssetsOutput, error)
NextPage retrieves the next ListProjectAssets page.
type ListProjectAssetsPaginatorOptions ¶
type ListProjectAssetsPaginatorOptions struct { // The maximum number of results to be returned per paginated request. Default: 50 Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListProjectAssetsPaginatorOptions is the paginator options for ListProjectAssets
type ListProjectsAPIClient ¶
type ListProjectsAPIClient interface { ListProjects(context.Context, *ListProjectsInput, ...func(*Options)) (*ListProjectsOutput, error) }
ListProjectsAPIClient is a client that implements the ListProjects operation.
type ListProjectsInput ¶
type ListProjectsInput struct { // The ID of the portal. // // This member is required. PortalId *string // The maximum number of results to be returned per paginated request. Default: 50 MaxResults *int32 // The token to be used for the next set of paginated results. NextToken *string }
type ListProjectsOutput ¶
type ListProjectsOutput struct { // A list that summarizes each project in the portal. // // This member is required. ProjectSummaries []types.ProjectSummary // The token for the next set of results, or null if there are no additional // results. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type ListProjectsPaginator ¶
type ListProjectsPaginator struct {
// contains filtered or unexported fields
}
ListProjectsPaginator is a paginator for ListProjects
func NewListProjectsPaginator ¶
func NewListProjectsPaginator(client ListProjectsAPIClient, params *ListProjectsInput, optFns ...func(*ListProjectsPaginatorOptions)) *ListProjectsPaginator
NewListProjectsPaginator returns a new ListProjectsPaginator
func (*ListProjectsPaginator) HasMorePages ¶
func (p *ListProjectsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListProjectsPaginator) NextPage ¶
func (p *ListProjectsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListProjectsOutput, error)
NextPage retrieves the next ListProjects page.
type ListProjectsPaginatorOptions ¶
type ListProjectsPaginatorOptions struct { // The maximum number of results to be returned per paginated request. Default: 50 Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListProjectsPaginatorOptions is the paginator options for ListProjects
type ListTagsForResourceInput ¶
type ListTagsForResourceInput struct { // The ARN // (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) of // the resource. // // This member is required. ResourceArn *string }
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 // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type Options ¶
type Options struct { // Set of options to modify how an operation is invoked. These apply to all // operations invoked for this client. Use functional options on operation call to // modify this list for per operation behavior. APIOptions []func(*middleware.Stack) error // Configures the events that will be sent to the configured logger. ClientLogMode aws.ClientLogMode // The credentials object to use when signing requests. Credentials aws.CredentialsProvider // The endpoint options to be used when attempting to resolve an endpoint. EndpointOptions EndpointResolverOptions // The service endpoint resolver. EndpointResolver EndpointResolver // Signature Version 4 (SigV4) Signer HTTPSignerV4 HTTPSignerV4 // Provides idempotency tokens values that will be automatically populated into // idempotent API operations. IdempotencyTokenProvider IdempotencyTokenProvider // The logger writer interface to write logging messages to. Logger logging.Logger // The region to send requests to. (Required) Region string // Retryer guides how HTTP requests should be retried in case of recoverable // failures. When nil the API client will use a default retryer. Retryer aws.Retryer // The HTTP client to invoke API calls with. Defaults to client's default HTTP // implementation if nil. HTTPClient HTTPClient }
func (Options) Copy ¶
Copy creates a clone where the APIOptions list is deep copied.
type PortalActiveWaiter ¶
type PortalActiveWaiter struct {
// contains filtered or unexported fields
}
PortalActiveWaiter defines the waiters for PortalActive
func NewPortalActiveWaiter ¶
func NewPortalActiveWaiter(client DescribePortalAPIClient, optFns ...func(*PortalActiveWaiterOptions)) *PortalActiveWaiter
NewPortalActiveWaiter constructs a PortalActiveWaiter.
func (*PortalActiveWaiter) Wait ¶
func (w *PortalActiveWaiter) Wait(ctx context.Context, params *DescribePortalInput, maxWaitDur time.Duration, optFns ...func(*PortalActiveWaiterOptions)) error
Wait calls the waiter function for PortalActive waiter. The maxWaitDur is the maximum wait duration the waiter will wait. The maxWaitDur is required and must be greater than zero.
type PortalActiveWaiterOptions ¶
type PortalActiveWaiterOptions struct { // Set of options to modify how an operation is invoked. These apply to all // operations invoked for this client. Use functional options on operation call to // modify this list for per operation behavior. APIOptions []func(*middleware.Stack) error // MinDelay is the minimum amount of time to delay between retries. If unset, // PortalActiveWaiter will use default minimum delay of 3 seconds. Note that // MinDelay must resolve to a value lesser than or equal to the MaxDelay. MinDelay time.Duration // MaxDelay is the maximum amount of time to delay between retries. If unset or set // to zero, PortalActiveWaiter will use default max delay of 120 seconds. Note that // MaxDelay must resolve to value greater than or equal to the MinDelay. MaxDelay time.Duration // LogWaitAttempts is used to enable logging for waiter retry attempts LogWaitAttempts bool // Retryable is function that can be used to override the service defined // waiter-behavior based on operation output, or returned error. This function is // used by the waiter to decide if a state is retryable or a terminal state. By // default service-modeled logic will populate this option. This option can thus be // used to define a custom waiter state with fall-back to service-modeled waiter // state mutators.The function returns an error in case of a failure state. In case // of retry state, this function returns a bool value of true and nil error, while // in case of success it returns a bool value of false and nil error. Retryable func(context.Context, *DescribePortalInput, *DescribePortalOutput, error) (bool, error) }
PortalActiveWaiterOptions are waiter options for PortalActiveWaiter
type PortalNotExistsWaiter ¶
type PortalNotExistsWaiter struct {
// contains filtered or unexported fields
}
PortalNotExistsWaiter defines the waiters for PortalNotExists
func NewPortalNotExistsWaiter ¶
func NewPortalNotExistsWaiter(client DescribePortalAPIClient, optFns ...func(*PortalNotExistsWaiterOptions)) *PortalNotExistsWaiter
NewPortalNotExistsWaiter constructs a PortalNotExistsWaiter.
func (*PortalNotExistsWaiter) Wait ¶
func (w *PortalNotExistsWaiter) Wait(ctx context.Context, params *DescribePortalInput, maxWaitDur time.Duration, optFns ...func(*PortalNotExistsWaiterOptions)) error
Wait calls the waiter function for PortalNotExists waiter. The maxWaitDur is the maximum wait duration the waiter will wait. The maxWaitDur is required and must be greater than zero.
type PortalNotExistsWaiterOptions ¶
type PortalNotExistsWaiterOptions struct { // Set of options to modify how an operation is invoked. These apply to all // operations invoked for this client. Use functional options on operation call to // modify this list for per operation behavior. APIOptions []func(*middleware.Stack) error // MinDelay is the minimum amount of time to delay between retries. If unset, // PortalNotExistsWaiter will use default minimum delay of 3 seconds. Note that // MinDelay must resolve to a value lesser than or equal to the MaxDelay. MinDelay time.Duration // MaxDelay is the maximum amount of time to delay between retries. If unset or set // to zero, PortalNotExistsWaiter will use default max delay of 120 seconds. Note // that MaxDelay must resolve to value greater than or equal to the MinDelay. MaxDelay time.Duration // LogWaitAttempts is used to enable logging for waiter retry attempts LogWaitAttempts bool // Retryable is function that can be used to override the service defined // waiter-behavior based on operation output, or returned error. This function is // used by the waiter to decide if a state is retryable or a terminal state. By // default service-modeled logic will populate this option. This option can thus be // used to define a custom waiter state with fall-back to service-modeled waiter // state mutators.The function returns an error in case of a failure state. In case // of retry state, this function returns a bool value of true and nil error, while // in case of success it returns a bool value of false and nil error. Retryable func(context.Context, *DescribePortalInput, *DescribePortalOutput, error) (bool, error) }
PortalNotExistsWaiterOptions are waiter options for PortalNotExistsWaiter
type PutDefaultEncryptionConfigurationInput ¶
type PutDefaultEncryptionConfigurationInput struct { // The type of encryption used for the encryption configuration. // // This member is required. EncryptionType types.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 }
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. // // This member is required. ConfigurationStatus *types.ConfigurationStatus // The type of encryption used for the encryption configuration. // // This member is required. EncryptionType types.EncryptionType // The Key ARN of the AWS KMS CMK used for AWS KMS encryption if you use // KMS_BASED_ENCRYPTION. KmsKeyArn *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type PutLoggingOptionsInput ¶
type PutLoggingOptionsInput struct { // The logging options to set. // // This member is required. LoggingOptions *types.LoggingOptions }
type PutLoggingOptionsOutput ¶
type PutLoggingOptionsOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type ResolveEndpoint ¶
type ResolveEndpoint struct { Resolver EndpointResolver Options EndpointResolverOptions }
func (*ResolveEndpoint) HandleSerialize ¶
func (m *ResolveEndpoint) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( out middleware.SerializeOutput, metadata middleware.Metadata, err error, )
func (*ResolveEndpoint) ID ¶
func (*ResolveEndpoint) ID() string
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. // // This member is required. ResourceArn *string // 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. // // This member is required. Tags map[string]string }
type TagResourceOutput ¶
type TagResourceOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
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. // // This member is required. ResourceArn *string // A list of keys for tags to remove from the resource. // // This member is required. TagKeys []string }
type UntagResourceOutput ¶
type UntagResourceOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type UpdateAccessPolicyInput ¶
type UpdateAccessPolicyInput struct { // The ID of the access policy. // // This member is required. AccessPolicyId *string // The identity for this access policy. Choose an AWS SSO user, an AWS SSO group, // or an IAM user. // // This member is required. AccessPolicyIdentity *types.Identity // The permission level for this access policy. Note that a project ADMINISTRATOR // is also known as a project owner. // // This member is required. AccessPolicyPermission types.Permission // The AWS IoT SiteWise Monitor resource for this access policy. Choose either a // portal or a project. // // This member is required. AccessPolicyResource *types.Resource // 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 }
type UpdateAccessPolicyOutput ¶
type UpdateAccessPolicyOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type UpdateAssetInput ¶
type UpdateAssetInput struct { // The ID of the asset to update. // // This member is required. AssetId *string // A unique, friendly name for the asset. // // This member is required. AssetName *string // 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 }
type UpdateAssetModelInput ¶
type UpdateAssetModelInput struct { // The ID of the asset model to update. // // This member is required. AssetModelId *string // A unique, friendly name for the asset model. // // This member is required. AssetModelName *string // 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 []types.AssetModelCompositeModel // A description for the asset model. AssetModelDescription *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 []types.AssetModelHierarchy // 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 []types.AssetModelProperty // 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 }
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. // // This member is required. AssetModelStatus *types.AssetModelStatus // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type UpdateAssetOutput ¶
type UpdateAssetOutput struct { // The status of the asset, which contains a state (UPDATING after successfully // calling this operation) and any error message. // // This member is required. AssetStatus *types.AssetStatus // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type UpdateAssetPropertyInput ¶
type UpdateAssetPropertyInput struct { // The ID of the asset to be updated. // // This member is required. AssetId *string // The ID of the asset property to be updated. // // This member is required. PropertyId *string // 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 // 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 // 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 types.PropertyNotificationState }
type UpdateAssetPropertyOutput ¶
type UpdateAssetPropertyOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type UpdateDashboardInput ¶
type UpdateDashboardInput struct { // 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. // // This member is required. DashboardDefinition *string // The ID of the dashboard to update. // // This member is required. DashboardId *string // A new friendly name for the dashboard. // // This member is required. DashboardName *string // 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 // A new description for the dashboard. DashboardDescription *string }
type UpdateDashboardOutput ¶
type UpdateDashboardOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
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. // // This member is required. CapabilityConfiguration *string // 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. // // This member is required. CapabilityNamespace *string // The ID of the gateway to be updated. // // This member is required. GatewayId *string }
type UpdateGatewayCapabilityConfigurationOutput ¶
type UpdateGatewayCapabilityConfigurationOutput struct { // The namespace of the gateway capability. // // This member is required. CapabilityNamespace *string // 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. // // This member is required. CapabilitySyncStatus types.CapabilitySyncStatus // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type UpdateGatewayInput ¶
type UpdateGatewayInput struct { // The ID of the gateway to update. // // This member is required. GatewayId *string // A unique, friendly name for the gateway. // // This member is required. GatewayName *string }
type UpdateGatewayOutput ¶
type UpdateGatewayOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type UpdatePortalInput ¶
type UpdatePortalInput struct { // The AWS administrator's contact email address. // // This member is required. PortalContactEmail *string // The ID of the portal to update. // // This member is required. PortalId *string // A new friendly name for the portal. // // This member is required. PortalName *string // 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. // // This member is required. RoleArn *string // 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 // A new description for the portal. PortalDescription *string // 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 *types.Image }
type UpdatePortalOutput ¶
type UpdatePortalOutput struct { // The status of the portal, which contains a state (UPDATING after successfully // calling this operation) and any error message. // // This member is required. PortalStatus *types.PortalStatus // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type UpdateProjectInput ¶
type UpdateProjectInput struct { // The ID of the project to update. // // This member is required. ProjectId *string // A new friendly name for the project. // // This member is required. ProjectName *string // 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 // A new description for the project. ProjectDescription *string }
type UpdateProjectOutput ¶
type UpdateProjectOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
Source Files ¶
api_client.go api_op_AssociateAssets.go api_op_BatchAssociateProjectAssets.go api_op_BatchDisassociateProjectAssets.go api_op_BatchPutAssetPropertyValue.go api_op_CreateAccessPolicy.go api_op_CreateAsset.go api_op_CreateAssetModel.go api_op_CreateDashboard.go api_op_CreateGateway.go api_op_CreatePortal.go api_op_CreateProject.go api_op_DeleteAccessPolicy.go api_op_DeleteAsset.go api_op_DeleteAssetModel.go api_op_DeleteDashboard.go api_op_DeleteGateway.go api_op_DeletePortal.go api_op_DeleteProject.go api_op_DescribeAccessPolicy.go api_op_DescribeAsset.go api_op_DescribeAssetModel.go api_op_DescribeAssetProperty.go api_op_DescribeDashboard.go api_op_DescribeDefaultEncryptionConfiguration.go api_op_DescribeGateway.go api_op_DescribeGatewayCapabilityConfiguration.go api_op_DescribeLoggingOptions.go api_op_DescribePortal.go api_op_DescribeProject.go api_op_DisassociateAssets.go api_op_GetAssetPropertyAggregates.go api_op_GetAssetPropertyValue.go api_op_GetAssetPropertyValueHistory.go api_op_GetInterpolatedAssetPropertyValues.go api_op_ListAccessPolicies.go api_op_ListAssetModels.go api_op_ListAssetRelationships.go api_op_ListAssets.go api_op_ListAssociatedAssets.go api_op_ListDashboards.go api_op_ListGateways.go api_op_ListPortals.go api_op_ListProjectAssets.go api_op_ListProjects.go api_op_ListTagsForResource.go api_op_PutDefaultEncryptionConfiguration.go api_op_PutLoggingOptions.go api_op_TagResource.go api_op_UntagResource.go api_op_UpdateAccessPolicy.go api_op_UpdateAsset.go api_op_UpdateAssetModel.go api_op_UpdateAssetProperty.go api_op_UpdateDashboard.go api_op_UpdateGateway.go api_op_UpdateGatewayCapabilityConfiguration.go api_op_UpdatePortal.go api_op_UpdateProject.go deserializers.go doc.go endpoints.go go_module_metadata.go serializers.go validators.go
Directories ¶
Path | Synopsis |
---|---|
internal | |
types |
- Version
- v1.5.0
- Published
- May 20, 2021
- Platform
- js/wasm
- Imports
- 32 packages
- Last checked
- 6 days ago –
Tools for package owners.