aws-sdk-iotsitewise 1.6.0 → 1.12.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-iotsitewise.rb +3 -2
- data/lib/aws-sdk-iotsitewise/client.rb +256 -103
- data/lib/aws-sdk-iotsitewise/client_api.rb +39 -3
- data/lib/aws-sdk-iotsitewise/types.rb +271 -66
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 58db42ef833feb7565fd341eabbf2880f9793ce9c698dd698bd0059e9a3e1477
|
4
|
+
data.tar.gz: 128c16cc63ed3a0f1ebfd08ae1d9d9b2377f2d10cd1e809fcdbd41b100b3198c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1f76a3be9a0c186966535526f0b6ddf6f50905af145d6e49cd7dde99be6d8efea0d37ebe61c368f214d521513180a7685485abd9e76f300f07918419dad0948b
|
7
|
+
data.tar.gz: 73e9b21dcde1c9f681b073fc662c153d21b8b42b53eadc3ee60f5c61bf263d263e9c3e30f96095b73d73f830c96092f2219cdbb08149ca6202e7cb447cc52982
|
data/lib/aws-sdk-iotsitewise.rb
CHANGED
@@ -7,6 +7,7 @@
|
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
10
|
+
|
10
11
|
require 'aws-sdk-core'
|
11
12
|
require 'aws-sigv4'
|
12
13
|
|
@@ -45,9 +46,9 @@ require_relative 'aws-sdk-iotsitewise/customizations'
|
|
45
46
|
#
|
46
47
|
# See {Errors} for more information.
|
47
48
|
#
|
48
|
-
#
|
49
|
+
# @!group service
|
49
50
|
module Aws::IoTSiteWise
|
50
51
|
|
51
|
-
GEM_VERSION = '1.
|
52
|
+
GEM_VERSION = '1.12.0'
|
52
53
|
|
53
54
|
end
|
@@ -85,13 +85,28 @@ module Aws::IoTSiteWise
|
|
85
85
|
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
86
86
|
# credentials.
|
87
87
|
#
|
88
|
+
# * `Aws::SharedCredentials` - Used for loading static credentials from a
|
89
|
+
# shared file, such as `~/.aws/config`.
|
90
|
+
#
|
91
|
+
# * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
|
92
|
+
#
|
93
|
+
# * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
|
94
|
+
# assume a role after providing credentials via the web.
|
95
|
+
#
|
96
|
+
# * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
|
97
|
+
# access token generated from `aws login`.
|
98
|
+
#
|
99
|
+
# * `Aws::ProcessCredentials` - Used for loading credentials from a
|
100
|
+
# process that outputs to stdout.
|
101
|
+
#
|
88
102
|
# * `Aws::InstanceProfileCredentials` - Used for loading credentials
|
89
103
|
# from an EC2 IMDS on an EC2 instance.
|
90
104
|
#
|
91
|
-
# * `Aws::
|
92
|
-
#
|
105
|
+
# * `Aws::ECSCredentials` - Used for loading credentials from
|
106
|
+
# instances running in ECS.
|
93
107
|
#
|
94
|
-
# * `Aws::
|
108
|
+
# * `Aws::CognitoIdentityCredentials` - Used for loading credentials
|
109
|
+
# from the Cognito Identity service.
|
95
110
|
#
|
96
111
|
# When `:credentials` are not configured directly, the following
|
97
112
|
# locations will be searched for credentials:
|
@@ -101,10 +116,10 @@ module Aws::IoTSiteWise
|
|
101
116
|
# * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
|
102
117
|
# * `~/.aws/credentials`
|
103
118
|
# * `~/.aws/config`
|
104
|
-
# * EC2 IMDS instance profile - When used by default, the timeouts
|
105
|
-
# very aggressive. Construct and pass an instance of
|
106
|
-
# `Aws::InstanceProfileCredentails`
|
107
|
-
# timeouts.
|
119
|
+
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
120
|
+
# are very aggressive. Construct and pass an instance of
|
121
|
+
# `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
|
122
|
+
# enable retries and extended timeouts.
|
108
123
|
#
|
109
124
|
# @option options [required, String] :region
|
110
125
|
# The AWS region to connect to. The configured `:region` is
|
@@ -314,7 +329,7 @@ module Aws::IoTSiteWise
|
|
314
329
|
|
315
330
|
# Associates a child asset with the given parent asset through a
|
316
331
|
# hierarchy defined in the parent asset's model. For more information,
|
317
|
-
# see [Associating
|
332
|
+
# see [Associating assets][1] in the *AWS IoT SiteWise User Guide*.
|
318
333
|
#
|
319
334
|
#
|
320
335
|
#
|
@@ -326,7 +341,7 @@ module Aws::IoTSiteWise
|
|
326
341
|
# @option params [required, String] :hierarchy_id
|
327
342
|
# The ID of a hierarchy in the parent asset's model. Hierarchies allow
|
328
343
|
# different groupings of assets to be formed that all come from the same
|
329
|
-
# asset model. For more information, see [Asset
|
344
|
+
# asset model. For more information, see [Asset hierarchies][1] in the
|
330
345
|
# *AWS IoT SiteWise User Guide*.
|
331
346
|
#
|
332
347
|
#
|
@@ -450,7 +465,7 @@ module Aws::IoTSiteWise
|
|
450
465
|
|
451
466
|
# Sends a list of asset property values to AWS IoT SiteWise. Each value
|
452
467
|
# is a timestamp-quality-value (TQV) data point. For more information,
|
453
|
-
# see [Ingesting
|
468
|
+
# see [Ingesting data using the API][1] in the *AWS IoT SiteWise User
|
454
469
|
# Guide*.
|
455
470
|
#
|
456
471
|
# To identify an asset property, you must specify one of the following:
|
@@ -472,10 +487,16 @@ module Aws::IoTSiteWise
|
|
472
487
|
# example, if you store a TQV `\{T1, GOOD, V1\}`, then storing `\{T1,
|
473
488
|
# GOOD, V2\}` replaces the existing TQV.
|
474
489
|
#
|
490
|
+
# AWS IoT SiteWise authorizes access to each
|
491
|
+
# `BatchPutAssetPropertyValue` entry individually. For more information,
|
492
|
+
# see [BatchPutAssetPropertyValue authorization][3] in the *AWS IoT
|
493
|
+
# SiteWise User Guide*.
|
494
|
+
#
|
475
495
|
#
|
476
496
|
#
|
477
497
|
# [1]: https://docs.aws.amazon.com/iot-sitewise/latest/userguide/ingest-api.html
|
478
498
|
# [2]: https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_UpdateAssetProperty.html
|
499
|
+
# [3]: 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
|
479
500
|
#
|
480
501
|
# @option params [required, Array<Types::PutAssetPropertyValueEntry>] :entries
|
481
502
|
# The list of asset property value entries for the batch put request.
|
@@ -531,17 +552,17 @@ module Aws::IoTSiteWise
|
|
531
552
|
req.send_request(options)
|
532
553
|
end
|
533
554
|
|
534
|
-
# Creates an access policy that grants the specified AWS
|
535
|
-
# user
|
536
|
-
# or project resource.
|
555
|
+
# Creates an access policy that grants the specified identity (AWS SSO
|
556
|
+
# user, AWS SSO group, or IAM user) access to the specified AWS IoT
|
557
|
+
# SiteWise Monitor portal or project resource.
|
537
558
|
#
|
538
559
|
# @option params [required, Types::Identity] :access_policy_identity
|
539
|
-
# The identity for this access policy. Choose
|
540
|
-
#
|
560
|
+
# The identity for this access policy. Choose an AWS SSO user, an AWS
|
561
|
+
# SSO group, or an IAM user.
|
541
562
|
#
|
542
563
|
# @option params [required, Types::Resource] :access_policy_resource
|
543
564
|
# The AWS IoT SiteWise Monitor resource for this access policy. Choose
|
544
|
-
# either
|
565
|
+
# either a portal or a project.
|
545
566
|
#
|
546
567
|
# @option params [required, String] :access_policy_permission
|
547
568
|
# The permission level for this access policy. Note that a project
|
@@ -579,6 +600,9 @@ module Aws::IoTSiteWise
|
|
579
600
|
# group: {
|
580
601
|
# id: "IdentityId", # required
|
581
602
|
# },
|
603
|
+
# iam_user: {
|
604
|
+
# arn: "ARN", # required
|
605
|
+
# },
|
582
606
|
# },
|
583
607
|
# access_policy_resource: { # required
|
584
608
|
# portal: {
|
@@ -608,7 +632,7 @@ module Aws::IoTSiteWise
|
|
608
632
|
end
|
609
633
|
|
610
634
|
# Creates an asset from an existing asset model. For more information,
|
611
|
-
# see [Creating
|
635
|
+
# see [Creating assets][1] in the *AWS IoT SiteWise User Guide*.
|
612
636
|
#
|
613
637
|
#
|
614
638
|
#
|
@@ -674,7 +698,7 @@ module Aws::IoTSiteWise
|
|
674
698
|
# you can easily create assets of the same type that have standardized
|
675
699
|
# definitions. Each asset created from a model inherits the asset
|
676
700
|
# model's property and hierarchy definitions. For more information, see
|
677
|
-
# [Defining
|
701
|
+
# [Defining asset models][1] in the *AWS IoT SiteWise User Guide*.
|
678
702
|
#
|
679
703
|
#
|
680
704
|
#
|
@@ -688,7 +712,7 @@ module Aws::IoTSiteWise
|
|
688
712
|
#
|
689
713
|
# @option params [Array<Types::AssetModelPropertyDefinition>] :asset_model_properties
|
690
714
|
# The property definitions of the asset model. For more information, see
|
691
|
-
# [Asset
|
715
|
+
# [Asset properties][1] in the *AWS IoT SiteWise User Guide*.
|
692
716
|
#
|
693
717
|
# You can specify up to 200 properties per asset model. For more
|
694
718
|
# information, see [Quotas][2] in the *AWS IoT SiteWise User Guide*.
|
@@ -702,7 +726,7 @@ module Aws::IoTSiteWise
|
|
702
726
|
# The hierarchy definitions of the asset model. Each hierarchy specifies
|
703
727
|
# an asset model whose assets can be children of any other assets
|
704
728
|
# created from this asset model. For more information, see [Asset
|
705
|
-
#
|
729
|
+
# hierarchies][1] in the *AWS IoT SiteWise User Guide*.
|
706
730
|
#
|
707
731
|
# You can specify up to 10 hierarchies per asset model. For more
|
708
732
|
# information, see [Quotas][2] in the *AWS IoT SiteWise User Guide*.
|
@@ -823,7 +847,7 @@ module Aws::IoTSiteWise
|
|
823
847
|
#
|
824
848
|
# @option params [required, String] :dashboard_definition
|
825
849
|
# The dashboard definition specified in a JSON literal. For detailed
|
826
|
-
# information, see [Creating
|
850
|
+
# information, see [Creating dashboards (CLI)][1] in the *AWS IoT
|
827
851
|
# SiteWise User Guide*.
|
828
852
|
#
|
829
853
|
#
|
@@ -933,23 +957,19 @@ module Aws::IoTSiteWise
|
|
933
957
|
req.send_request(options)
|
934
958
|
end
|
935
959
|
|
936
|
-
# Creates a portal, which can contain projects and dashboards.
|
937
|
-
#
|
938
|
-
#
|
939
|
-
# permissions. For more information, see [Enabling AWS SSO][1] in the
|
940
|
-
# *AWS IoT SiteWise User Guide*.
|
960
|
+
# Creates a portal, which can contain projects and dashboards. AWS IoT
|
961
|
+
# SiteWise Monitor uses AWS SSO or IAM to authenticate portal users and
|
962
|
+
# manage user permissions.
|
941
963
|
#
|
942
|
-
# <note markdown="1"> Before you can sign in to a new portal, you must add at least one
|
943
|
-
#
|
944
|
-
#
|
945
|
-
# Guide*.
|
964
|
+
# <note markdown="1"> Before you can sign in to a new portal, you must add at least one
|
965
|
+
# identity to that portal. For more information, see [Adding or removing
|
966
|
+
# portal administrators][1] in the *AWS IoT SiteWise User Guide*.
|
946
967
|
#
|
947
968
|
# </note>
|
948
969
|
#
|
949
970
|
#
|
950
971
|
#
|
951
|
-
# [1]: https://docs.aws.amazon.com/iot-sitewise/latest/userguide/
|
952
|
-
# [2]: https://docs.aws.amazon.com/iot-sitewise/latest/userguide/administer-portals.html#portal-change-admins
|
972
|
+
# [1]: https://docs.aws.amazon.com/iot-sitewise/latest/userguide/administer-portals.html#portal-change-admins
|
953
973
|
#
|
954
974
|
# @option params [required, String] :portal_name
|
955
975
|
# A friendly name for the portal.
|
@@ -992,6 +1012,30 @@ module Aws::IoTSiteWise
|
|
992
1012
|
#
|
993
1013
|
# [1]: https://docs.aws.amazon.com/iot-sitewise/latest/userguide/tag-resources.html
|
994
1014
|
#
|
1015
|
+
# @option params [String] :portal_auth_mode
|
1016
|
+
# The service to use to authenticate users to the portal. Choose from
|
1017
|
+
# the following options:
|
1018
|
+
#
|
1019
|
+
# * `SSO` – The portal uses AWS Single Sign-On to authenticate users and
|
1020
|
+
# manage user permissions. Before you can create a portal that uses
|
1021
|
+
# AWS SSO, you must enable AWS SSO. For more information, see
|
1022
|
+
# [Enabling AWS SSO][1] in the *AWS IoT SiteWise User Guide*. This
|
1023
|
+
# option is only available in AWS Regions other than the China
|
1024
|
+
# Regions.
|
1025
|
+
#
|
1026
|
+
# * `IAM` – The portal uses AWS Identity and Access Management (IAM) to
|
1027
|
+
# authenticate users and manage user permissions. IAM users must have
|
1028
|
+
# the `iotsitewise:CreatePresignedPortalUrl` permission to sign in to
|
1029
|
+
# the portal. This option is only available in the China Regions.
|
1030
|
+
#
|
1031
|
+
# You can't change this value after you create a portal.
|
1032
|
+
#
|
1033
|
+
# Default: `SSO`
|
1034
|
+
#
|
1035
|
+
#
|
1036
|
+
#
|
1037
|
+
# [1]: https://docs.aws.amazon.com/iot-sitewise/latest/userguide/monitor-get-started.html#mon-gs-sso
|
1038
|
+
#
|
995
1039
|
# @return [Types::CreatePortalResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
996
1040
|
#
|
997
1041
|
# * {Types::CreatePortalResponse#portal_id #portal_id} => String
|
@@ -1015,6 +1059,7 @@ module Aws::IoTSiteWise
|
|
1015
1059
|
# tags: {
|
1016
1060
|
# "TagKey" => "TagValue",
|
1017
1061
|
# },
|
1062
|
+
# portal_auth_mode: "IAM", # accepts IAM, SSO
|
1018
1063
|
# })
|
1019
1064
|
#
|
1020
1065
|
# @example Response structure
|
@@ -1023,7 +1068,7 @@ module Aws::IoTSiteWise
|
|
1023
1068
|
# resp.portal_arn #=> String
|
1024
1069
|
# resp.portal_start_url #=> String
|
1025
1070
|
# resp.portal_status.state #=> String, one of "CREATING", "UPDATING", "DELETING", "ACTIVE", "FAILED"
|
1026
|
-
# resp.portal_status.error.code #=> String, one of "INTERNAL_FAILURE"
|
1071
|
+
# resp.portal_status.error.code #=> String, one of "INTERNAL_FAILURE", "VALIDATION_ERROR", "LIMIT_EXCEEDED"
|
1027
1072
|
# resp.portal_status.error.message #=> String
|
1028
1073
|
# resp.sso_application_id #=> String
|
1029
1074
|
#
|
@@ -1034,6 +1079,42 @@ module Aws::IoTSiteWise
|
|
1034
1079
|
req.send_request(options)
|
1035
1080
|
end
|
1036
1081
|
|
1082
|
+
# Creates a pre-signed URL to a portal. Use this operation to create
|
1083
|
+
# URLs to portals that use AWS Identity and Access Management (IAM) to
|
1084
|
+
# authenticate users. An IAM user with access to a portal can call this
|
1085
|
+
# API to get a URL to that portal. The URL contains a session token that
|
1086
|
+
# lets the IAM user access the portal.
|
1087
|
+
#
|
1088
|
+
# @option params [required, String] :portal_id
|
1089
|
+
# The ID of the portal to access.
|
1090
|
+
#
|
1091
|
+
# @option params [Integer] :session_duration_seconds
|
1092
|
+
# The duration (in seconds) for which the session at the URL is valid.
|
1093
|
+
#
|
1094
|
+
# Default: 900 seconds (15 minutes)
|
1095
|
+
#
|
1096
|
+
# @return [Types::CreatePresignedPortalUrlResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1097
|
+
#
|
1098
|
+
# * {Types::CreatePresignedPortalUrlResponse#presigned_portal_url #presigned_portal_url} => String
|
1099
|
+
#
|
1100
|
+
# @example Request syntax with placeholder values
|
1101
|
+
#
|
1102
|
+
# resp = client.create_presigned_portal_url({
|
1103
|
+
# portal_id: "ID", # required
|
1104
|
+
# session_duration_seconds: 1,
|
1105
|
+
# })
|
1106
|
+
#
|
1107
|
+
# @example Response structure
|
1108
|
+
#
|
1109
|
+
# resp.presigned_portal_url #=> String
|
1110
|
+
#
|
1111
|
+
# @overload create_presigned_portal_url(params = {})
|
1112
|
+
# @param [Hash] params ({})
|
1113
|
+
def create_presigned_portal_url(params = {}, options = {})
|
1114
|
+
req = build_request(:create_presigned_portal_url, params)
|
1115
|
+
req.send_request(options)
|
1116
|
+
end
|
1117
|
+
|
1037
1118
|
# Creates a project in the specified portal.
|
1038
1119
|
#
|
1039
1120
|
# @option params [required, String] :portal_id
|
@@ -1091,10 +1172,9 @@ module Aws::IoTSiteWise
|
|
1091
1172
|
req.send_request(options)
|
1092
1173
|
end
|
1093
1174
|
|
1094
|
-
# Deletes an access policy that grants the specified
|
1095
|
-
#
|
1096
|
-
#
|
1097
|
-
# Monitor resource.
|
1175
|
+
# Deletes an access policy that grants the specified identity access to
|
1176
|
+
# the specified AWS IoT SiteWise Monitor resource. You can use this
|
1177
|
+
# operation to revoke access to an AWS IoT SiteWise Monitor resource.
|
1098
1178
|
#
|
1099
1179
|
# @option params [required, String] :access_policy_id
|
1100
1180
|
# The ID of the access policy to be deleted.
|
@@ -1124,7 +1204,7 @@ module Aws::IoTSiteWise
|
|
1124
1204
|
end
|
1125
1205
|
|
1126
1206
|
# Deletes an asset. This action can't be undone. For more information,
|
1127
|
-
# see [Deleting
|
1207
|
+
# see [Deleting assets and models][1] in the *AWS IoT SiteWise User
|
1128
1208
|
# Guide*.
|
1129
1209
|
#
|
1130
1210
|
# <note markdown="1"> You can't delete an asset that's associated to another asset. For
|
@@ -1177,7 +1257,7 @@ module Aws::IoTSiteWise
|
|
1177
1257
|
# model. Also, you can't delete an asset model if a parent asset model
|
1178
1258
|
# exists that contains a property formula expression that depends on the
|
1179
1259
|
# asset model that you want to delete. For more information, see
|
1180
|
-
# [Deleting
|
1260
|
+
# [Deleting assets and models][1] in the *AWS IoT SiteWise User Guide*.
|
1181
1261
|
#
|
1182
1262
|
#
|
1183
1263
|
#
|
@@ -1249,12 +1329,6 @@ module Aws::IoTSiteWise
|
|
1249
1329
|
|
1250
1330
|
# Deletes a gateway from AWS IoT SiteWise. When you delete a gateway,
|
1251
1331
|
# some of the gateway's files remain in your gateway's file system.
|
1252
|
-
# For more information, see [Data retention][1] in the *AWS IoT SiteWise
|
1253
|
-
# User Guide*.
|
1254
|
-
#
|
1255
|
-
#
|
1256
|
-
#
|
1257
|
-
# [1]: https://docs.aws.amazon.com/iot-sitewise/latest/userguide/data-retention.html
|
1258
1332
|
#
|
1259
1333
|
# @option params [required, String] :gateway_id
|
1260
1334
|
# The ID of the gateway to delete.
|
@@ -1301,7 +1375,7 @@ module Aws::IoTSiteWise
|
|
1301
1375
|
# @example Response structure
|
1302
1376
|
#
|
1303
1377
|
# resp.portal_status.state #=> String, one of "CREATING", "UPDATING", "DELETING", "ACTIVE", "FAILED"
|
1304
|
-
# resp.portal_status.error.code #=> String, one of "INTERNAL_FAILURE"
|
1378
|
+
# resp.portal_status.error.code #=> String, one of "INTERNAL_FAILURE", "VALIDATION_ERROR", "LIMIT_EXCEEDED"
|
1305
1379
|
# resp.portal_status.error.message #=> String
|
1306
1380
|
#
|
1307
1381
|
# @overload delete_portal(params = {})
|
@@ -1340,8 +1414,8 @@ module Aws::IoTSiteWise
|
|
1340
1414
|
req.send_request(options)
|
1341
1415
|
end
|
1342
1416
|
|
1343
|
-
# Describes an access policy, which specifies an
|
1344
|
-
#
|
1417
|
+
# Describes an access policy, which specifies an identity's access to
|
1418
|
+
# an AWS IoT SiteWise Monitor portal or project.
|
1345
1419
|
#
|
1346
1420
|
# @option params [required, String] :access_policy_id
|
1347
1421
|
# The ID of the access policy.
|
@@ -1368,6 +1442,7 @@ module Aws::IoTSiteWise
|
|
1368
1442
|
# resp.access_policy_arn #=> String
|
1369
1443
|
# resp.access_policy_identity.user.id #=> String
|
1370
1444
|
# resp.access_policy_identity.group.id #=> String
|
1445
|
+
# resp.access_policy_identity.iam_user.arn #=> String
|
1371
1446
|
# resp.access_policy_resource.portal.id #=> String
|
1372
1447
|
# resp.access_policy_resource.project.id #=> String
|
1373
1448
|
# resp.access_policy_permission #=> String, one of "ADMINISTRATOR", "VIEWER"
|
@@ -1509,7 +1584,21 @@ module Aws::IoTSiteWise
|
|
1509
1584
|
req.send_request(options)
|
1510
1585
|
end
|
1511
1586
|
|
1512
|
-
# Retrieves information about an asset
|
1587
|
+
# Retrieves information about an asset property.
|
1588
|
+
#
|
1589
|
+
# <note markdown="1"> When you call this operation for an attribute property, this response
|
1590
|
+
# includes the default attribute value that you define in the asset
|
1591
|
+
# model. If you update the default value in the model, this operation's
|
1592
|
+
# response includes the new default value.
|
1593
|
+
#
|
1594
|
+
# </note>
|
1595
|
+
#
|
1596
|
+
# This operation doesn't return the value of the asset property. To get
|
1597
|
+
# the value of an asset property, use [GetAssetPropertyValue][1].
|
1598
|
+
#
|
1599
|
+
#
|
1600
|
+
#
|
1601
|
+
# [1]: https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_GetAssetPropertyValue.html
|
1513
1602
|
#
|
1514
1603
|
# @option params [required, String] :asset_id
|
1515
1604
|
# The ID of the asset.
|
@@ -1729,6 +1818,7 @@ module Aws::IoTSiteWise
|
|
1729
1818
|
# * {Types::DescribePortalResponse#portal_last_update_date #portal_last_update_date} => Time
|
1730
1819
|
# * {Types::DescribePortalResponse#portal_logo_image_location #portal_logo_image_location} => Types::ImageLocation
|
1731
1820
|
# * {Types::DescribePortalResponse#role_arn #role_arn} => String
|
1821
|
+
# * {Types::DescribePortalResponse#portal_auth_mode #portal_auth_mode} => String
|
1732
1822
|
#
|
1733
1823
|
# @example Request syntax with placeholder values
|
1734
1824
|
#
|
@@ -1746,13 +1836,14 @@ module Aws::IoTSiteWise
|
|
1746
1836
|
# resp.portal_start_url #=> String
|
1747
1837
|
# resp.portal_contact_email #=> String
|
1748
1838
|
# resp.portal_status.state #=> String, one of "CREATING", "UPDATING", "DELETING", "ACTIVE", "FAILED"
|
1749
|
-
# resp.portal_status.error.code #=> String, one of "INTERNAL_FAILURE"
|
1839
|
+
# resp.portal_status.error.code #=> String, one of "INTERNAL_FAILURE", "VALIDATION_ERROR", "LIMIT_EXCEEDED"
|
1750
1840
|
# resp.portal_status.error.message #=> String
|
1751
1841
|
# resp.portal_creation_date #=> Time
|
1752
1842
|
# resp.portal_last_update_date #=> Time
|
1753
1843
|
# resp.portal_logo_image_location.id #=> String
|
1754
1844
|
# resp.portal_logo_image_location.url #=> String
|
1755
1845
|
# resp.role_arn #=> String
|
1846
|
+
# resp.portal_auth_mode #=> String, one of "IAM", "SSO"
|
1756
1847
|
#
|
1757
1848
|
#
|
1758
1849
|
# The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
|
@@ -1816,7 +1907,7 @@ module Aws::IoTSiteWise
|
|
1816
1907
|
# different groupings of assets to be formed that all come from the same
|
1817
1908
|
# asset model. You can use the hierarchy ID to identify the correct
|
1818
1909
|
# asset to disassociate. For more information, see [Asset
|
1819
|
-
#
|
1910
|
+
# hierarchies][1] in the *AWS IoT SiteWise User Guide*.
|
1820
1911
|
#
|
1821
1912
|
#
|
1822
1913
|
#
|
@@ -1852,8 +1943,7 @@ module Aws::IoTSiteWise
|
|
1852
1943
|
end
|
1853
1944
|
|
1854
1945
|
# Gets aggregated values for an asset property. For more information,
|
1855
|
-
# see [Querying
|
1856
|
-
# User Guide*.
|
1946
|
+
# see [Querying aggregates][1] in the *AWS IoT SiteWise User Guide*.
|
1857
1947
|
#
|
1858
1948
|
# To identify an asset property, you must specify one of the following:
|
1859
1949
|
#
|
@@ -1878,7 +1968,7 @@ module Aws::IoTSiteWise
|
|
1878
1968
|
# The property alias that identifies the property, such as an OPC-UA
|
1879
1969
|
# server data stream path (for example,
|
1880
1970
|
# `/company/windfarm/3/turbine/7/temperature`). For more information,
|
1881
|
-
# see [Mapping
|
1971
|
+
# see [Mapping industrial data streams to asset properties][1] in the
|
1882
1972
|
# *AWS IoT SiteWise User Guide*.
|
1883
1973
|
#
|
1884
1974
|
#
|
@@ -1905,12 +1995,16 @@ module Aws::IoTSiteWise
|
|
1905
1995
|
# @option params [String] :time_ordering
|
1906
1996
|
# The chronological sorting order of the requested information.
|
1907
1997
|
#
|
1998
|
+
# Default: `ASCENDING`
|
1999
|
+
#
|
1908
2000
|
# @option params [String] :next_token
|
1909
2001
|
# The token to be used for the next set of paginated results.
|
1910
2002
|
#
|
1911
2003
|
# @option params [Integer] :max_results
|
1912
2004
|
# The maximum number of results to be returned per paginated request.
|
1913
2005
|
#
|
2006
|
+
# Default: 100
|
2007
|
+
#
|
1914
2008
|
# @return [Types::GetAssetPropertyAggregatesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1915
2009
|
#
|
1916
2010
|
# * {Types::GetAssetPropertyAggregatesResponse#aggregated_values #aggregated_values} => Array<Types::AggregatedValue>
|
@@ -1955,8 +2049,7 @@ module Aws::IoTSiteWise
|
|
1955
2049
|
end
|
1956
2050
|
|
1957
2051
|
# Gets an asset property's current value. For more information, see
|
1958
|
-
# [Querying
|
1959
|
-
# Guide*.
|
2052
|
+
# [Querying current values][1] in the *AWS IoT SiteWise User Guide*.
|
1960
2053
|
#
|
1961
2054
|
# To identify an asset property, you must specify one of the following:
|
1962
2055
|
#
|
@@ -1981,7 +2074,7 @@ module Aws::IoTSiteWise
|
|
1981
2074
|
# The property alias that identifies the property, such as an OPC-UA
|
1982
2075
|
# server data stream path (for example,
|
1983
2076
|
# `/company/windfarm/3/turbine/7/temperature`). For more information,
|
1984
|
-
# see [Mapping
|
2077
|
+
# see [Mapping industrial data streams to asset properties][1] in the
|
1985
2078
|
# *AWS IoT SiteWise User Guide*.
|
1986
2079
|
#
|
1987
2080
|
#
|
@@ -2018,8 +2111,8 @@ module Aws::IoTSiteWise
|
|
2018
2111
|
end
|
2019
2112
|
|
2020
2113
|
# Gets the history of an asset property's values. For more information,
|
2021
|
-
# see [Querying
|
2022
|
-
#
|
2114
|
+
# see [Querying historical values][1] in the *AWS IoT SiteWise User
|
2115
|
+
# Guide*.
|
2023
2116
|
#
|
2024
2117
|
# To identify an asset property, you must specify one of the following:
|
2025
2118
|
#
|
@@ -2044,18 +2137,18 @@ module Aws::IoTSiteWise
|
|
2044
2137
|
# The property alias that identifies the property, such as an OPC-UA
|
2045
2138
|
# server data stream path (for example,
|
2046
2139
|
# `/company/windfarm/3/turbine/7/temperature`). For more information,
|
2047
|
-
# see [Mapping
|
2140
|
+
# see [Mapping industrial data streams to asset properties][1] in the
|
2048
2141
|
# *AWS IoT SiteWise User Guide*.
|
2049
2142
|
#
|
2050
2143
|
#
|
2051
2144
|
#
|
2052
2145
|
# [1]: https://docs.aws.amazon.com/iot-sitewise/latest/userguide/connect-data-streams.html
|
2053
2146
|
#
|
2054
|
-
# @option params [
|
2147
|
+
# @option params [Time,DateTime,Date,Integer,String] :start_date
|
2055
2148
|
# The exclusive start of the range from which to query historical data,
|
2056
2149
|
# expressed in seconds in Unix epoch time.
|
2057
2150
|
#
|
2058
|
-
# @option params [
|
2151
|
+
# @option params [Time,DateTime,Date,Integer,String] :end_date
|
2059
2152
|
# The inclusive end of the range from which to query historical data,
|
2060
2153
|
# expressed in seconds in Unix epoch time.
|
2061
2154
|
#
|
@@ -2065,12 +2158,16 @@ module Aws::IoTSiteWise
|
|
2065
2158
|
# @option params [String] :time_ordering
|
2066
2159
|
# The chronological sorting order of the requested information.
|
2067
2160
|
#
|
2161
|
+
# Default: `ASCENDING`
|
2162
|
+
#
|
2068
2163
|
# @option params [String] :next_token
|
2069
2164
|
# The token to be used for the next set of paginated results.
|
2070
2165
|
#
|
2071
2166
|
# @option params [Integer] :max_results
|
2072
2167
|
# The maximum number of results to be returned per paginated request.
|
2073
2168
|
#
|
2169
|
+
# Default: 100
|
2170
|
+
#
|
2074
2171
|
# @return [Types::GetAssetPropertyValueHistoryResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2075
2172
|
#
|
2076
2173
|
# * {Types::GetAssetPropertyValueHistoryResponse#asset_property_value_history #asset_property_value_history} => Array<Types::AssetPropertyValue>
|
@@ -2084,8 +2181,8 @@ module Aws::IoTSiteWise
|
|
2084
2181
|
# asset_id: "ID",
|
2085
2182
|
# property_id: "ID",
|
2086
2183
|
# property_alias: "AssetPropertyAlias",
|
2087
|
-
# start_date: Time.now,
|
2088
|
-
# end_date: Time.now,
|
2184
|
+
# start_date: Time.now,
|
2185
|
+
# end_date: Time.now,
|
2089
2186
|
# qualities: ["GOOD"], # accepts GOOD, BAD, UNCERTAIN
|
2090
2187
|
# time_ordering: "ASCENDING", # accepts ASCENDING, DESCENDING
|
2091
2188
|
# next_token: "NextToken",
|
@@ -2111,17 +2208,17 @@ module Aws::IoTSiteWise
|
|
2111
2208
|
req.send_request(options)
|
2112
2209
|
end
|
2113
2210
|
|
2114
|
-
# Retrieves a paginated list of access policies for an
|
2115
|
-
#
|
2116
|
-
# project).
|
2211
|
+
# Retrieves a paginated list of access policies for an identity (an AWS
|
2212
|
+
# SSO user, an AWS SSO group, or an IAM user) or an AWS IoT SiteWise
|
2213
|
+
# Monitor resource (a portal or project).
|
2117
2214
|
#
|
2118
2215
|
# @option params [String] :identity_type
|
2119
|
-
# The type of identity (user or
|
2120
|
-
# you specify `identityId`.
|
2216
|
+
# The type of identity (AWS SSO user, AWS SSO group, or IAM user). This
|
2217
|
+
# parameter is required if you specify `identityId`.
|
2121
2218
|
#
|
2122
2219
|
# @option params [String] :identity_id
|
2123
2220
|
# The ID of the identity. This parameter is required if you specify
|
2124
|
-
# `identityType`.
|
2221
|
+
# `USER` or `GROUP` for `identityType`.
|
2125
2222
|
#
|
2126
2223
|
# @option params [String] :resource_type
|
2127
2224
|
# The type of resource (portal or project). This parameter is required
|
@@ -2131,12 +2228,23 @@ module Aws::IoTSiteWise
|
|
2131
2228
|
# The ID of the resource. This parameter is required if you specify
|
2132
2229
|
# `resourceType`.
|
2133
2230
|
#
|
2231
|
+
# @option params [String] :iam_arn
|
2232
|
+
# The ARN of the IAM user. For more information, see [IAM ARNs][1] in
|
2233
|
+
# the *IAM User Guide*. This parameter is required if you specify `IAM`
|
2234
|
+
# for `identityType`.
|
2235
|
+
#
|
2236
|
+
#
|
2237
|
+
#
|
2238
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html
|
2239
|
+
#
|
2134
2240
|
# @option params [String] :next_token
|
2135
2241
|
# The token to be used for the next set of paginated results.
|
2136
2242
|
#
|
2137
2243
|
# @option params [Integer] :max_results
|
2138
2244
|
# The maximum number of results to be returned per paginated request.
|
2139
2245
|
#
|
2246
|
+
# Default: 50
|
2247
|
+
#
|
2140
2248
|
# @return [Types::ListAccessPoliciesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2141
2249
|
#
|
2142
2250
|
# * {Types::ListAccessPoliciesResponse#access_policy_summaries #access_policy_summaries} => Array<Types::AccessPolicySummary>
|
@@ -2147,10 +2255,11 @@ module Aws::IoTSiteWise
|
|
2147
2255
|
# @example Request syntax with placeholder values
|
2148
2256
|
#
|
2149
2257
|
# resp = client.list_access_policies({
|
2150
|
-
# identity_type: "USER", # accepts USER, GROUP
|
2258
|
+
# identity_type: "USER", # accepts USER, GROUP, IAM
|
2151
2259
|
# identity_id: "IdentityId",
|
2152
2260
|
# resource_type: "PORTAL", # accepts PORTAL, PROJECT
|
2153
2261
|
# resource_id: "ID",
|
2262
|
+
# iam_arn: "ARN",
|
2154
2263
|
# next_token: "NextToken",
|
2155
2264
|
# max_results: 1,
|
2156
2265
|
# })
|
@@ -2161,6 +2270,7 @@ module Aws::IoTSiteWise
|
|
2161
2270
|
# resp.access_policy_summaries[0].id #=> String
|
2162
2271
|
# resp.access_policy_summaries[0].identity.user.id #=> String
|
2163
2272
|
# resp.access_policy_summaries[0].identity.group.id #=> String
|
2273
|
+
# resp.access_policy_summaries[0].identity.iam_user.arn #=> String
|
2164
2274
|
# resp.access_policy_summaries[0].resource.portal.id #=> String
|
2165
2275
|
# resp.access_policy_summaries[0].resource.project.id #=> String
|
2166
2276
|
# resp.access_policy_summaries[0].permission #=> String, one of "ADMINISTRATOR", "VIEWER"
|
@@ -2183,6 +2293,8 @@ module Aws::IoTSiteWise
|
|
2183
2293
|
# @option params [Integer] :max_results
|
2184
2294
|
# The maximum number of results to be returned per paginated request.
|
2185
2295
|
#
|
2296
|
+
# Default: 50
|
2297
|
+
#
|
2186
2298
|
# @return [Types::ListAssetModelsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2187
2299
|
#
|
2188
2300
|
# * {Types::ListAssetModelsResponse#asset_model_summaries #asset_model_summaries} => Array<Types::AssetModelSummary>
|
@@ -2241,13 +2353,15 @@ module Aws::IoTSiteWise
|
|
2241
2353
|
# @option params [Integer] :max_results
|
2242
2354
|
# The maximum number of results to be returned per paginated request.
|
2243
2355
|
#
|
2356
|
+
# Default: 50
|
2357
|
+
#
|
2244
2358
|
# @option params [String] :asset_model_id
|
2245
2359
|
# The ID of the asset model by which to filter the list of assets. This
|
2246
2360
|
# parameter is required if you choose `ALL` for `filter`.
|
2247
2361
|
#
|
2248
2362
|
# @option params [String] :filter
|
2249
2363
|
# The filter for the requested list of assets. Choose one of the
|
2250
|
-
# following options
|
2364
|
+
# following options:
|
2251
2365
|
#
|
2252
2366
|
# * `ALL` – The list includes all assets for a given asset model ID. The
|
2253
2367
|
# `assetModelId` parameter is required if you filter by `ALL`.
|
@@ -2255,6 +2369,8 @@ module Aws::IoTSiteWise
|
|
2255
2369
|
# * `TOP_LEVEL` – The list includes only top-level assets in the asset
|
2256
2370
|
# hierarchy tree.
|
2257
2371
|
#
|
2372
|
+
# Default: `ALL`
|
2373
|
+
#
|
2258
2374
|
# @return [Types::ListAssetsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2259
2375
|
#
|
2260
2376
|
# * {Types::ListAssetsResponse#asset_summaries #asset_summaries} => Array<Types::AssetSummary>
|
@@ -2295,18 +2411,25 @@ module Aws::IoTSiteWise
|
|
2295
2411
|
req.send_request(options)
|
2296
2412
|
end
|
2297
2413
|
|
2298
|
-
# Retrieves a paginated list of
|
2299
|
-
#
|
2414
|
+
# Retrieves a paginated list of associated assets.
|
2415
|
+
#
|
2416
|
+
# You can use this operation to do the following:
|
2417
|
+
#
|
2418
|
+
# * List child assets associated to a parent asset by a hierarchy that
|
2419
|
+
# you specify.
|
2420
|
+
#
|
2421
|
+
# * List an asset's parent asset.
|
2300
2422
|
#
|
2301
2423
|
# @option params [required, String] :asset_id
|
2302
|
-
# The ID of the
|
2424
|
+
# The ID of the asset to query.
|
2303
2425
|
#
|
2304
|
-
# @option params [
|
2305
|
-
# The
|
2306
|
-
#
|
2307
|
-
# [DescribeAssetModel][2]
|
2426
|
+
# @option params [String] :hierarchy_id
|
2427
|
+
# The ID of the hierarchy by which child assets are associated to the
|
2428
|
+
# asset. To find a hierarchy ID, use the [DescribeAsset][1] or
|
2429
|
+
# [DescribeAssetModel][2] operations. This parameter is required if you
|
2430
|
+
# choose `CHILD` for `traversalDirection`.
|
2308
2431
|
#
|
2309
|
-
# For more information, see [Asset
|
2432
|
+
# For more information, see [Asset hierarchies][3] in the *AWS IoT
|
2310
2433
|
# SiteWise User Guide*.
|
2311
2434
|
#
|
2312
2435
|
#
|
@@ -2315,12 +2438,26 @@ module Aws::IoTSiteWise
|
|
2315
2438
|
# [2]: https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_DescribeAssetModel.html
|
2316
2439
|
# [3]: https://docs.aws.amazon.com/iot-sitewise/latest/userguide/asset-hierarchies.html
|
2317
2440
|
#
|
2441
|
+
# @option params [String] :traversal_direction
|
2442
|
+
# The direction to list associated assets. Choose one of the following
|
2443
|
+
# options:
|
2444
|
+
#
|
2445
|
+
# * `CHILD` – The list includes all child assets associated to the
|
2446
|
+
# asset. The `hierarchyId` parameter is required if you choose
|
2447
|
+
# `CHILD`.
|
2448
|
+
#
|
2449
|
+
# * `PARENT` – The list includes the asset's parent asset.
|
2450
|
+
#
|
2451
|
+
# Default: `CHILD`
|
2452
|
+
#
|
2318
2453
|
# @option params [String] :next_token
|
2319
2454
|
# The token to be used for the next set of paginated results.
|
2320
2455
|
#
|
2321
2456
|
# @option params [Integer] :max_results
|
2322
2457
|
# The maximum number of results to be returned per paginated request.
|
2323
2458
|
#
|
2459
|
+
# Default: 50
|
2460
|
+
#
|
2324
2461
|
# @return [Types::ListAssociatedAssetsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2325
2462
|
#
|
2326
2463
|
# * {Types::ListAssociatedAssetsResponse#asset_summaries #asset_summaries} => Array<Types::AssociatedAssetsSummary>
|
@@ -2332,7 +2469,8 @@ module Aws::IoTSiteWise
|
|
2332
2469
|
#
|
2333
2470
|
# resp = client.list_associated_assets({
|
2334
2471
|
# asset_id: "ID", # required
|
2335
|
-
# hierarchy_id: "ID",
|
2472
|
+
# hierarchy_id: "ID",
|
2473
|
+
# traversal_direction: "PARENT", # accepts PARENT, CHILD
|
2336
2474
|
# next_token: "NextToken",
|
2337
2475
|
# max_results: 1,
|
2338
2476
|
# })
|
@@ -2373,6 +2511,8 @@ module Aws::IoTSiteWise
|
|
2373
2511
|
# @option params [Integer] :max_results
|
2374
2512
|
# The maximum number of results to be returned per paginated request.
|
2375
2513
|
#
|
2514
|
+
# Default: 50
|
2515
|
+
#
|
2376
2516
|
# @return [Types::ListDashboardsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2377
2517
|
#
|
2378
2518
|
# * {Types::ListDashboardsResponse#dashboard_summaries #dashboard_summaries} => Array<Types::DashboardSummary>
|
@@ -2413,6 +2553,8 @@ module Aws::IoTSiteWise
|
|
2413
2553
|
# @option params [Integer] :max_results
|
2414
2554
|
# The maximum number of results to be returned per paginated request.
|
2415
2555
|
#
|
2556
|
+
# Default: 50
|
2557
|
+
#
|
2416
2558
|
# @return [Types::ListGatewaysResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2417
2559
|
#
|
2418
2560
|
# * {Types::ListGatewaysResponse#gateway_summaries #gateway_summaries} => Array<Types::GatewaySummary>
|
@@ -2454,6 +2596,8 @@ module Aws::IoTSiteWise
|
|
2454
2596
|
# @option params [Integer] :max_results
|
2455
2597
|
# The maximum number of results to be returned per paginated request.
|
2456
2598
|
#
|
2599
|
+
# Default: 50
|
2600
|
+
#
|
2457
2601
|
# @return [Types::ListPortalsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2458
2602
|
#
|
2459
2603
|
# * {Types::ListPortalsResponse#portal_summaries #portal_summaries} => Array<Types::PortalSummary>
|
@@ -2478,6 +2622,9 @@ module Aws::IoTSiteWise
|
|
2478
2622
|
# resp.portal_summaries[0].creation_date #=> Time
|
2479
2623
|
# resp.portal_summaries[0].last_update_date #=> Time
|
2480
2624
|
# resp.portal_summaries[0].role_arn #=> String
|
2625
|
+
# resp.portal_summaries[0].status.state #=> String, one of "CREATING", "UPDATING", "DELETING", "ACTIVE", "FAILED"
|
2626
|
+
# resp.portal_summaries[0].status.error.code #=> String, one of "INTERNAL_FAILURE", "VALIDATION_ERROR", "LIMIT_EXCEEDED"
|
2627
|
+
# resp.portal_summaries[0].status.error.message #=> String
|
2481
2628
|
# resp.next_token #=> String
|
2482
2629
|
#
|
2483
2630
|
# @overload list_portals(params = {})
|
@@ -2499,6 +2646,8 @@ module Aws::IoTSiteWise
|
|
2499
2646
|
# @option params [Integer] :max_results
|
2500
2647
|
# The maximum number of results to be returned per paginated request.
|
2501
2648
|
#
|
2649
|
+
# Default: 50
|
2650
|
+
#
|
2502
2651
|
# @return [Types::ListProjectAssetsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2503
2652
|
#
|
2504
2653
|
# * {Types::ListProjectAssetsResponse#asset_ids #asset_ids} => Array<String>
|
@@ -2539,6 +2688,8 @@ module Aws::IoTSiteWise
|
|
2539
2688
|
# @option params [Integer] :max_results
|
2540
2689
|
# The maximum number of results to be returned per paginated request.
|
2541
2690
|
#
|
2691
|
+
# Default: 50
|
2692
|
+
#
|
2542
2693
|
# @return [Types::ListProjectsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2543
2694
|
#
|
2544
2695
|
# * {Types::ListProjectsResponse#project_summaries #project_summaries} => Array<Types::ProjectSummary>
|
@@ -2689,20 +2840,19 @@ module Aws::IoTSiteWise
|
|
2689
2840
|
req.send_request(options)
|
2690
2841
|
end
|
2691
2842
|
|
2692
|
-
# Updates an existing access policy that specifies an
|
2693
|
-
#
|
2694
|
-
# resource.
|
2843
|
+
# Updates an existing access policy that specifies an identity's access
|
2844
|
+
# to an AWS IoT SiteWise Monitor portal or project resource.
|
2695
2845
|
#
|
2696
2846
|
# @option params [required, String] :access_policy_id
|
2697
2847
|
# The ID of the access policy.
|
2698
2848
|
#
|
2699
2849
|
# @option params [required, Types::Identity] :access_policy_identity
|
2700
|
-
# The identity for this access policy. Choose
|
2701
|
-
#
|
2850
|
+
# The identity for this access policy. Choose an AWS SSO user, an AWS
|
2851
|
+
# SSO group, or an IAM user.
|
2702
2852
|
#
|
2703
2853
|
# @option params [required, Types::Resource] :access_policy_resource
|
2704
2854
|
# The AWS IoT SiteWise Monitor resource for this access policy. Choose
|
2705
|
-
# either
|
2855
|
+
# either a portal or a project.
|
2706
2856
|
#
|
2707
2857
|
# @option params [required, String] :access_policy_permission
|
2708
2858
|
# The permission level for this access policy. Note that a project
|
@@ -2729,6 +2879,9 @@ module Aws::IoTSiteWise
|
|
2729
2879
|
# group: {
|
2730
2880
|
# id: "IdentityId", # required
|
2731
2881
|
# },
|
2882
|
+
# iam_user: {
|
2883
|
+
# arn: "ARN", # required
|
2884
|
+
# },
|
2732
2885
|
# },
|
2733
2886
|
# access_policy_resource: { # required
|
2734
2887
|
# portal: {
|
@@ -2749,8 +2902,8 @@ module Aws::IoTSiteWise
|
|
2749
2902
|
req.send_request(options)
|
2750
2903
|
end
|
2751
2904
|
|
2752
|
-
# Updates an asset's name. For more information, see [Updating
|
2753
|
-
# and
|
2905
|
+
# Updates an asset's name. For more information, see [Updating assets
|
2906
|
+
# and models][1] in the *AWS IoT SiteWise User Guide*.
|
2754
2907
|
#
|
2755
2908
|
#
|
2756
2909
|
#
|
@@ -2798,7 +2951,7 @@ module Aws::IoTSiteWise
|
|
2798
2951
|
# Updates an asset model and all of the assets that were created from
|
2799
2952
|
# the model. Each asset created from the model inherits the updated
|
2800
2953
|
# asset model's property and hierarchy definitions. For more
|
2801
|
-
# information, see [Updating
|
2954
|
+
# information, see [Updating assets and models][1] in the *AWS IoT
|
2802
2955
|
# SiteWise User Guide*.
|
2803
2956
|
#
|
2804
2957
|
# This operation overwrites the existing model with the provided model.
|
@@ -2806,12 +2959,12 @@ module Aws::IoTSiteWise
|
|
2806
2959
|
# must include their IDs and definitions in the updated asset model
|
2807
2960
|
# payload. For more information, see [DescribeAssetModel][2].
|
2808
2961
|
#
|
2809
|
-
# If you remove a property from an asset model
|
2810
|
-
#
|
2811
|
-
# that property. If you remove a hierarchy
|
2812
|
-
# model, AWS IoT SiteWise disassociates every
|
2813
|
-
# hierarchy. You can't change the type or
|
2814
|
-
# property.
|
2962
|
+
# If you remove a property from an asset model, AWS IoT SiteWise
|
2963
|
+
# deletes
|
2964
|
+
# all previous data for that property. If you remove a hierarchy
|
2965
|
+
# definition from an asset model, AWS IoT SiteWise disassociates every
|
2966
|
+
# asset associated with that hierarchy. You can't change the type or
|
2967
|
+
# data type of an existing property.
|
2815
2968
|
#
|
2816
2969
|
#
|
2817
2970
|
#
|
@@ -2829,7 +2982,7 @@ module Aws::IoTSiteWise
|
|
2829
2982
|
#
|
2830
2983
|
# @option params [Array<Types::AssetModelProperty>] :asset_model_properties
|
2831
2984
|
# The updated property definitions of the asset model. For more
|
2832
|
-
# information, see [Asset
|
2985
|
+
# information, see [Asset properties][1] in the *AWS IoT SiteWise User
|
2833
2986
|
# Guide*.
|
2834
2987
|
#
|
2835
2988
|
# You can specify up to 200 properties per asset model. For more
|
@@ -2844,7 +2997,7 @@ module Aws::IoTSiteWise
|
|
2844
2997
|
# The updated hierarchy definitions of the asset model. Each hierarchy
|
2845
2998
|
# specifies an asset model whose assets can be children of any other
|
2846
2999
|
# assets created from this asset model. For more information, see [Asset
|
2847
|
-
#
|
3000
|
+
# hierarchies][1] in the *AWS IoT SiteWise User Guide*.
|
2848
3001
|
#
|
2849
3002
|
# You can specify up to 10 hierarchies per asset model. For more
|
2850
3003
|
# information, see [Quotas][2] in the *AWS IoT SiteWise User Guide*.
|
@@ -2961,7 +3114,7 @@ module Aws::IoTSiteWise
|
|
2961
3114
|
# The property alias that identifies the property, such as an OPC-UA
|
2962
3115
|
# server data stream path (for example,
|
2963
3116
|
# `/company/windfarm/3/turbine/7/temperature`). For more information,
|
2964
|
-
# see [Mapping
|
3117
|
+
# see [Mapping industrial data streams to asset properties][1] in the
|
2965
3118
|
# *AWS IoT SiteWise User Guide*.
|
2966
3119
|
#
|
2967
3120
|
# If you omit this parameter, the alias is removed from the property.
|
@@ -2974,7 +3127,7 @@ module Aws::IoTSiteWise
|
|
2974
3127
|
# The MQTT notification state (enabled or disabled) for this asset
|
2975
3128
|
# property. When the notification state is enabled, AWS IoT SiteWise
|
2976
3129
|
# publishes property value updates to a unique MQTT topic. For more
|
2977
|
-
# information, see [Interacting with
|
3130
|
+
# information, see [Interacting with other services][1] in the *AWS IoT
|
2978
3131
|
# SiteWise User Guide*.
|
2979
3132
|
#
|
2980
3133
|
# If you omit this parameter, the notification state is set to
|
@@ -3024,7 +3177,7 @@ module Aws::IoTSiteWise
|
|
3024
3177
|
#
|
3025
3178
|
# @option params [required, String] :dashboard_definition
|
3026
3179
|
# The new dashboard definition, as specified in a JSON literal. For
|
3027
|
-
# detailed information, see [Creating
|
3180
|
+
# detailed information, see [Creating dashboards (CLI)][1] in the *AWS
|
3028
3181
|
# IoT SiteWise User Guide*.
|
3029
3182
|
#
|
3030
3183
|
#
|
@@ -3204,7 +3357,7 @@ module Aws::IoTSiteWise
|
|
3204
3357
|
# @example Response structure
|
3205
3358
|
#
|
3206
3359
|
# resp.portal_status.state #=> String, one of "CREATING", "UPDATING", "DELETING", "ACTIVE", "FAILED"
|
3207
|
-
# resp.portal_status.error.code #=> String, one of "INTERNAL_FAILURE"
|
3360
|
+
# resp.portal_status.error.code #=> String, one of "INTERNAL_FAILURE", "VALIDATION_ERROR", "LIMIT_EXCEEDED"
|
3208
3361
|
# resp.portal_status.error.message #=> String
|
3209
3362
|
#
|
3210
3363
|
# @overload update_portal(params = {})
|
@@ -3264,7 +3417,7 @@ module Aws::IoTSiteWise
|
|
3264
3417
|
params: params,
|
3265
3418
|
config: config)
|
3266
3419
|
context[:gem_name] = 'aws-sdk-iotsitewise'
|
3267
|
-
context[:gem_version] = '1.
|
3420
|
+
context[:gem_version] = '1.12.0'
|
3268
3421
|
Seahorse::Client::Request.new(handlers, context)
|
3269
3422
|
end
|
3270
3423
|
|