aws-sdk-iotsitewise 1.77.0 → 1.78.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -54,8 +54,9 @@ module Aws::IoTSiteWise
54
54
  autoload :EndpointParameters, 'aws-sdk-iotsitewise/endpoint_parameters'
55
55
  autoload :EndpointProvider, 'aws-sdk-iotsitewise/endpoint_provider'
56
56
  autoload :Endpoints, 'aws-sdk-iotsitewise/endpoints'
57
+ autoload :EventStreams, 'aws-sdk-iotsitewise/event_streams'
57
58
 
58
- GEM_VERSION = '1.77.0'
59
+ GEM_VERSION = '1.78.0'
59
60
 
60
61
  end
61
62
 
data/sig/client.rbs CHANGED
@@ -33,11 +33,14 @@ module Aws
33
33
  ?endpoint_cache_max_threads: Integer,
34
34
  ?endpoint_cache_poll_interval: Integer,
35
35
  ?endpoint_discovery: bool,
36
+ ?event_stream_handler: Proc,
36
37
  ?ignore_configured_endpoint_urls: bool,
38
+ ?input_event_stream_handler: Proc,
37
39
  ?log_formatter: untyped,
38
40
  ?log_level: Symbol,
39
41
  ?logger: untyped,
40
42
  ?max_attempts: Integer,
43
+ ?output_event_stream_handler: Proc,
41
44
  ?profile: String,
42
45
  ?request_min_compression_size_bytes: Integer,
43
46
  ?retry_backoff: Proc,
@@ -605,6 +608,32 @@ module Aws
605
608
  ) -> _CreateDashboardResponseSuccess
606
609
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateDashboardResponseSuccess
607
610
 
611
+ interface _CreateDatasetResponseSuccess
612
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateDatasetResponse]
613
+ def dataset_id: () -> ::String
614
+ def dataset_arn: () -> ::String
615
+ def dataset_status: () -> Types::DatasetStatus
616
+ end
617
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTSiteWise/Client.html#create_dataset-instance_method
618
+ def create_dataset: (
619
+ ?dataset_id: ::String,
620
+ dataset_name: ::String,
621
+ ?dataset_description: ::String,
622
+ dataset_source: {
623
+ source_type: ("KENDRA"),
624
+ source_format: ("KNOWLEDGE_BASE"),
625
+ source_detail: {
626
+ kendra: {
627
+ knowledge_base_arn: ::String,
628
+ role_arn: ::String
629
+ }?
630
+ }?
631
+ },
632
+ ?client_token: ::String,
633
+ ?tags: Hash[::String, ::String]
634
+ ) -> _CreateDatasetResponseSuccess
635
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateDatasetResponseSuccess
636
+
608
637
  interface _CreateGatewayResponseSuccess
609
638
  include ::Seahorse::Client::_ResponseSuccess[Types::CreateGatewayResponse]
610
639
  def gateway_id: () -> ::String
@@ -653,7 +682,11 @@ module Aws
653
682
  ?alarms: {
654
683
  alarm_role_arn: ::String,
655
684
  notification_lambda_arn: ::String?
656
- }
685
+ },
686
+ ?portal_type: ("SITEWISE_PORTAL_V1" | "SITEWISE_PORTAL_V2"),
687
+ ?portal_type_configuration: Hash[::String, {
688
+ portal_tools: Array[::String]?
689
+ }]
657
690
  ) -> _CreatePortalResponseSuccess
658
691
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreatePortalResponseSuccess
659
692
 
@@ -732,6 +765,17 @@ module Aws
732
765
  ) -> _DeleteDashboardResponseSuccess
733
766
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteDashboardResponseSuccess
734
767
 
768
+ interface _DeleteDatasetResponseSuccess
769
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteDatasetResponse]
770
+ def dataset_status: () -> Types::DatasetStatus
771
+ end
772
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTSiteWise/Client.html#delete_dataset-instance_method
773
+ def delete_dataset: (
774
+ dataset_id: ::String,
775
+ ?client_token: ::String
776
+ ) -> _DeleteDatasetResponseSuccess
777
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteDatasetResponseSuccess
778
+
735
779
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTSiteWise/Client.html#delete_gateway-instance_method
736
780
  def delete_gateway: (
737
781
  gateway_id: ::String
@@ -942,6 +986,24 @@ module Aws
942
986
  ) -> _DescribeDashboardResponseSuccess
943
987
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeDashboardResponseSuccess
944
988
 
989
+ interface _DescribeDatasetResponseSuccess
990
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeDatasetResponse]
991
+ def dataset_id: () -> ::String
992
+ def dataset_arn: () -> ::String
993
+ def dataset_name: () -> ::String
994
+ def dataset_description: () -> ::String
995
+ def dataset_source: () -> Types::DatasetSource
996
+ def dataset_status: () -> Types::DatasetStatus
997
+ def dataset_creation_date: () -> ::Time
998
+ def dataset_last_update_date: () -> ::Time
999
+ def dataset_version: () -> ::String
1000
+ end
1001
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTSiteWise/Client.html#describe_dataset-instance_method
1002
+ def describe_dataset: (
1003
+ dataset_id: ::String
1004
+ ) -> _DescribeDatasetResponseSuccess
1005
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeDatasetResponseSuccess
1006
+
945
1007
  interface _DescribeDefaultEncryptionConfigurationResponseSuccess
946
1008
  include ::Seahorse::Client::_ResponseSuccess[Types::DescribeDefaultEncryptionConfigurationResponse]
947
1009
  def encryption_type: () -> ("SITEWISE_DEFAULT_ENCRYPTION" | "KMS_BASED_ENCRYPTION")
@@ -1009,6 +1071,8 @@ module Aws
1009
1071
  def portal_auth_mode: () -> ("IAM" | "SSO")
1010
1072
  def notification_sender_email: () -> ::String
1011
1073
  def alarms: () -> Types::Alarms
1074
+ def portal_type: () -> ("SITEWISE_PORTAL_V1" | "SITEWISE_PORTAL_V2")
1075
+ def portal_type_configuration: () -> ::Hash[::String, Types::PortalTypeEntry]
1012
1076
  end
1013
1077
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTSiteWise/Client.html#describe_portal-instance_method
1014
1078
  def describe_portal: (
@@ -1113,7 +1177,8 @@ module Aws
1113
1177
  def execute_query: (
1114
1178
  query_statement: ::String,
1115
1179
  ?next_token: ::String,
1116
- ?max_results: ::Integer
1180
+ ?max_results: ::Integer,
1181
+ ?client_token: ::String
1117
1182
  ) -> _ExecuteQueryResponseSuccess
1118
1183
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ExecuteQueryResponseSuccess
1119
1184
 
@@ -1192,6 +1257,19 @@ module Aws
1192
1257
  ) -> _GetInterpolatedAssetPropertyValuesResponseSuccess
1193
1258
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetInterpolatedAssetPropertyValuesResponseSuccess
1194
1259
 
1260
+ interface _InvokeAssistantResponseSuccess
1261
+ include ::Seahorse::Client::_ResponseSuccess[Types::InvokeAssistantResponse]
1262
+ def body: () -> Types::ResponseStream
1263
+ def conversation_id: () -> ::String
1264
+ end
1265
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTSiteWise/Client.html#invoke_assistant-instance_method
1266
+ def invoke_assistant: (
1267
+ ?conversation_id: ::String,
1268
+ message: ::String,
1269
+ ?enable_trace: bool
1270
+ ) ?{ (*untyped) -> void } -> _InvokeAssistantResponseSuccess
1271
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) ?{ (*untyped) -> void } -> _InvokeAssistantResponseSuccess
1272
+
1195
1273
  interface _ListAccessPoliciesResponseSuccess
1196
1274
  include ::Seahorse::Client::_ResponseSuccess[Types::ListAccessPoliciesResponse]
1197
1275
  def access_policy_summaries: () -> ::Array[Types::AccessPolicySummary]
@@ -1362,6 +1440,19 @@ module Aws
1362
1440
  ) -> _ListDashboardsResponseSuccess
1363
1441
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListDashboardsResponseSuccess
1364
1442
 
1443
+ interface _ListDatasetsResponseSuccess
1444
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListDatasetsResponse]
1445
+ def dataset_summaries: () -> ::Array[Types::DatasetSummary]
1446
+ def next_token: () -> ::String
1447
+ end
1448
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTSiteWise/Client.html#list_datasets-instance_method
1449
+ def list_datasets: (
1450
+ source_type: ("KENDRA"),
1451
+ ?next_token: ::String,
1452
+ ?max_results: ::Integer
1453
+ ) -> _ListDatasetsResponseSuccess
1454
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListDatasetsResponseSuccess
1455
+
1365
1456
  interface _ListGatewaysResponseSuccess
1366
1457
  include ::Seahorse::Client::_ResponseSuccess[Types::ListGatewaysResponse]
1367
1458
  def gateway_summaries: () -> ::Array[Types::GatewaySummary]
@@ -1874,6 +1965,31 @@ module Aws
1874
1965
  ) -> _UpdateDashboardResponseSuccess
1875
1966
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateDashboardResponseSuccess
1876
1967
 
1968
+ interface _UpdateDatasetResponseSuccess
1969
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateDatasetResponse]
1970
+ def dataset_id: () -> ::String
1971
+ def dataset_arn: () -> ::String
1972
+ def dataset_status: () -> Types::DatasetStatus
1973
+ end
1974
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTSiteWise/Client.html#update_dataset-instance_method
1975
+ def update_dataset: (
1976
+ dataset_id: ::String,
1977
+ dataset_name: ::String,
1978
+ ?dataset_description: ::String,
1979
+ dataset_source: {
1980
+ source_type: ("KENDRA"),
1981
+ source_format: ("KNOWLEDGE_BASE"),
1982
+ source_detail: {
1983
+ kendra: {
1984
+ knowledge_base_arn: ::String,
1985
+ role_arn: ::String
1986
+ }?
1987
+ }?
1988
+ },
1989
+ ?client_token: ::String
1990
+ ) -> _UpdateDatasetResponseSuccess
1991
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateDatasetResponseSuccess
1992
+
1877
1993
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTSiteWise/Client.html#update_gateway-instance_method
1878
1994
  def update_gateway: (
1879
1995
  gateway_id: ::String,
@@ -1917,7 +2033,11 @@ module Aws
1917
2033
  ?alarms: {
1918
2034
  alarm_role_arn: ::String,
1919
2035
  notification_lambda_arn: ::String?
1920
- }
2036
+ },
2037
+ ?portal_type: ("SITEWISE_PORTAL_V1" | "SITEWISE_PORTAL_V2"),
2038
+ ?portal_type_configuration: Hash[::String, {
2039
+ portal_tools: Array[::String]?
2040
+ }]
1921
2041
  ) -> _UpdatePortalResponseSuccess
1922
2042
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdatePortalResponseSuccess
1923
2043
 
data/sig/resource.rbs CHANGED
@@ -33,11 +33,14 @@ module Aws
33
33
  ?endpoint_cache_max_threads: Integer,
34
34
  ?endpoint_cache_poll_interval: Integer,
35
35
  ?endpoint_discovery: bool,
36
+ ?event_stream_handler: Proc,
36
37
  ?ignore_configured_endpoint_urls: bool,
38
+ ?input_event_stream_handler: Proc,
37
39
  ?log_formatter: untyped,
38
40
  ?log_level: Symbol,
39
41
  ?logger: untyped,
40
42
  ?max_attempts: Integer,
43
+ ?output_event_stream_handler: Proc,
41
44
  ?profile: String,
42
45
  ?request_min_compression_size_bytes: Integer,
43
46
  ?retry_backoff: Proc,
data/sig/types.rbs CHANGED
@@ -10,6 +10,7 @@ module Aws::IoTSiteWise
10
10
 
11
11
  class AccessDeniedException
12
12
  attr_accessor message: ::String
13
+ attr_accessor event_type: untyped
13
14
  SENSITIVE: []
14
15
  end
15
16
 
@@ -526,6 +527,12 @@ module Aws::IoTSiteWise
526
527
  SENSITIVE: []
527
528
  end
528
529
 
530
+ class Citation
531
+ attr_accessor reference: Types::Reference
532
+ attr_accessor content: Types::Content
533
+ SENSITIVE: []
534
+ end
535
+
529
536
  class ColumnInfo
530
537
  attr_accessor name: ::String
531
538
  attr_accessor type: Types::ColumnType
@@ -579,6 +586,12 @@ module Aws::IoTSiteWise
579
586
  attr_accessor message: ::String
580
587
  attr_accessor resource_id: ::String
581
588
  attr_accessor resource_arn: ::String
589
+ attr_accessor event_type: untyped
590
+ SENSITIVE: []
591
+ end
592
+
593
+ class Content
594
+ attr_accessor text: ::String
582
595
  SENSITIVE: []
583
596
  end
584
597
 
@@ -694,6 +707,23 @@ module Aws::IoTSiteWise
694
707
  SENSITIVE: []
695
708
  end
696
709
 
710
+ class CreateDatasetRequest
711
+ attr_accessor dataset_id: ::String
712
+ attr_accessor dataset_name: ::String
713
+ attr_accessor dataset_description: ::String
714
+ attr_accessor dataset_source: Types::DatasetSource
715
+ attr_accessor client_token: ::String
716
+ attr_accessor tags: ::Hash[::String, ::String]
717
+ SENSITIVE: []
718
+ end
719
+
720
+ class CreateDatasetResponse
721
+ attr_accessor dataset_id: ::String
722
+ attr_accessor dataset_arn: ::String
723
+ attr_accessor dataset_status: Types::DatasetStatus
724
+ SENSITIVE: []
725
+ end
726
+
697
727
  class CreateGatewayRequest
698
728
  attr_accessor gateway_name: ::String
699
729
  attr_accessor gateway_platform: Types::GatewayPlatform
@@ -718,7 +748,9 @@ module Aws::IoTSiteWise
718
748
  attr_accessor portal_auth_mode: ("IAM" | "SSO")
719
749
  attr_accessor notification_sender_email: ::String
720
750
  attr_accessor alarms: Types::Alarms
721
- SENSITIVE: []
751
+ attr_accessor portal_type: ("SITEWISE_PORTAL_V1" | "SITEWISE_PORTAL_V2")
752
+ attr_accessor portal_type_configuration: ::Hash[::String, Types::PortalTypeEntry]
753
+ SENSITIVE: [:portal_contact_email, :notification_sender_email]
722
754
  end
723
755
 
724
756
  class CreatePortalResponse
@@ -765,6 +797,36 @@ module Aws::IoTSiteWise
765
797
  SENSITIVE: []
766
798
  end
767
799
 
800
+ class DataSetReference
801
+ attr_accessor dataset_arn: ::String
802
+ attr_accessor source: Types::Source
803
+ SENSITIVE: []
804
+ end
805
+
806
+ class DatasetSource
807
+ attr_accessor source_type: ("KENDRA")
808
+ attr_accessor source_format: ("KNOWLEDGE_BASE")
809
+ attr_accessor source_detail: Types::SourceDetail
810
+ SENSITIVE: []
811
+ end
812
+
813
+ class DatasetStatus
814
+ attr_accessor state: ("CREATING" | "ACTIVE" | "UPDATING" | "DELETING" | "FAILED")
815
+ attr_accessor error: Types::ErrorDetails
816
+ SENSITIVE: []
817
+ end
818
+
819
+ class DatasetSummary
820
+ attr_accessor id: ::String
821
+ attr_accessor arn: ::String
822
+ attr_accessor name: ::String
823
+ attr_accessor description: ::String
824
+ attr_accessor creation_date: ::Time
825
+ attr_accessor last_update_date: ::Time
826
+ attr_accessor status: Types::DatasetStatus
827
+ SENSITIVE: []
828
+ end
829
+
768
830
  class Datum
769
831
  attr_accessor scalar_value: ::String
770
832
  attr_accessor array_value: ::Array[Types::Datum]
@@ -831,6 +893,17 @@ module Aws::IoTSiteWise
831
893
  class DeleteDashboardResponse < Aws::EmptyStructure
832
894
  end
833
895
 
896
+ class DeleteDatasetRequest
897
+ attr_accessor dataset_id: ::String
898
+ attr_accessor client_token: ::String
899
+ SENSITIVE: []
900
+ end
901
+
902
+ class DeleteDatasetResponse
903
+ attr_accessor dataset_status: Types::DatasetStatus
904
+ SENSITIVE: []
905
+ end
906
+
834
907
  class DeleteGatewayRequest
835
908
  attr_accessor gateway_id: ::String
836
909
  SENSITIVE: []
@@ -1038,6 +1111,24 @@ module Aws::IoTSiteWise
1038
1111
  SENSITIVE: []
1039
1112
  end
1040
1113
 
1114
+ class DescribeDatasetRequest
1115
+ attr_accessor dataset_id: ::String
1116
+ SENSITIVE: []
1117
+ end
1118
+
1119
+ class DescribeDatasetResponse
1120
+ attr_accessor dataset_id: ::String
1121
+ attr_accessor dataset_arn: ::String
1122
+ attr_accessor dataset_name: ::String
1123
+ attr_accessor dataset_description: ::String
1124
+ attr_accessor dataset_source: Types::DatasetSource
1125
+ attr_accessor dataset_status: Types::DatasetStatus
1126
+ attr_accessor dataset_creation_date: ::Time
1127
+ attr_accessor dataset_last_update_date: ::Time
1128
+ attr_accessor dataset_version: ::String
1129
+ SENSITIVE: []
1130
+ end
1131
+
1041
1132
  class DescribeDefaultEncryptionConfigurationRequest < Aws::EmptyStructure
1042
1133
  end
1043
1134
 
@@ -1107,7 +1198,9 @@ module Aws::IoTSiteWise
1107
1198
  attr_accessor portal_auth_mode: ("IAM" | "SSO")
1108
1199
  attr_accessor notification_sender_email: ::String
1109
1200
  attr_accessor alarms: Types::Alarms
1110
- SENSITIVE: []
1201
+ attr_accessor portal_type: ("SITEWISE_PORTAL_V1" | "SITEWISE_PORTAL_V2")
1202
+ attr_accessor portal_type_configuration: ::Hash[::String, Types::PortalTypeEntry]
1203
+ SENSITIVE: [:portal_contact_email, :notification_sender_email]
1111
1204
  end
1112
1205
 
1113
1206
  class DescribeProjectRequest
@@ -1213,6 +1306,7 @@ module Aws::IoTSiteWise
1213
1306
  attr_accessor query_statement: ::String
1214
1307
  attr_accessor next_token: ::String
1215
1308
  attr_accessor max_results: ::Integer
1309
+ attr_accessor client_token: ::String
1216
1310
  SENSITIVE: []
1217
1311
  end
1218
1312
 
@@ -1398,6 +1492,7 @@ module Aws::IoTSiteWise
1398
1492
 
1399
1493
  class InternalFailureException
1400
1494
  attr_accessor message: ::String
1495
+ attr_accessor event_type: untyped
1401
1496
  SENSITIVE: []
1402
1497
  end
1403
1498
 
@@ -1409,6 +1504,27 @@ module Aws::IoTSiteWise
1409
1504
 
1410
1505
  class InvalidRequestException
1411
1506
  attr_accessor message: ::String
1507
+ attr_accessor event_type: untyped
1508
+ SENSITIVE: []
1509
+ end
1510
+
1511
+ class InvocationOutput
1512
+ attr_accessor message: ::String
1513
+ attr_accessor citations: ::Array[Types::Citation]
1514
+ attr_accessor event_type: untyped
1515
+ SENSITIVE: []
1516
+ end
1517
+
1518
+ class InvokeAssistantRequest
1519
+ attr_accessor conversation_id: ::String
1520
+ attr_accessor message: ::String
1521
+ attr_accessor enable_trace: bool
1522
+ SENSITIVE: [:message]
1523
+ end
1524
+
1525
+ class InvokeAssistantResponse
1526
+ attr_accessor body: Types::ResponseStream
1527
+ attr_accessor conversation_id: ::String
1412
1528
  SENSITIVE: []
1413
1529
  end
1414
1530
 
@@ -1424,8 +1540,15 @@ module Aws::IoTSiteWise
1424
1540
  SENSITIVE: []
1425
1541
  end
1426
1542
 
1543
+ class KendraSourceDetail
1544
+ attr_accessor knowledge_base_arn: ::String
1545
+ attr_accessor role_arn: ::String
1546
+ SENSITIVE: []
1547
+ end
1548
+
1427
1549
  class LimitExceededException
1428
1550
  attr_accessor message: ::String
1551
+ attr_accessor event_type: untyped
1429
1552
  SENSITIVE: []
1430
1553
  end
1431
1554
 
@@ -1599,6 +1722,19 @@ module Aws::IoTSiteWise
1599
1722
  SENSITIVE: []
1600
1723
  end
1601
1724
 
1725
+ class ListDatasetsRequest
1726
+ attr_accessor source_type: ("KENDRA")
1727
+ attr_accessor next_token: ::String
1728
+ attr_accessor max_results: ::Integer
1729
+ SENSITIVE: []
1730
+ end
1731
+
1732
+ class ListDatasetsResponse
1733
+ attr_accessor dataset_summaries: ::Array[Types::DatasetSummary]
1734
+ attr_accessor next_token: ::String
1735
+ SENSITIVE: []
1736
+ end
1737
+
1602
1738
  class ListGatewaysRequest
1603
1739
  attr_accessor next_token: ::String
1604
1740
  attr_accessor max_results: ::Integer
@@ -1674,6 +1810,11 @@ module Aws::IoTSiteWise
1674
1810
  SENSITIVE: []
1675
1811
  end
1676
1812
 
1813
+ class Location
1814
+ attr_accessor uri: ::String
1815
+ SENSITIVE: []
1816
+ end
1817
+
1677
1818
  class LoggingOptions
1678
1819
  attr_accessor level: ("ERROR" | "INFO" | "OFF")
1679
1820
  SENSITIVE: []
@@ -1727,7 +1868,7 @@ module Aws::IoTSiteWise
1727
1868
  end
1728
1869
 
1729
1870
  class PortalStatus
1730
- attr_accessor state: ("CREATING" | "UPDATING" | "DELETING" | "ACTIVE" | "FAILED")
1871
+ attr_accessor state: ("CREATING" | "PENDING" | "UPDATING" | "DELETING" | "ACTIVE" | "FAILED")
1731
1872
  attr_accessor error: Types::MonitorErrorDetails
1732
1873
  SENSITIVE: []
1733
1874
  end
@@ -1741,6 +1882,12 @@ module Aws::IoTSiteWise
1741
1882
  attr_accessor last_update_date: ::Time
1742
1883
  attr_accessor role_arn: ::String
1743
1884
  attr_accessor status: Types::PortalStatus
1885
+ attr_accessor portal_type: ("SITEWISE_PORTAL_V1" | "SITEWISE_PORTAL_V2")
1886
+ SENSITIVE: []
1887
+ end
1888
+
1889
+ class PortalTypeEntry
1890
+ attr_accessor portal_tools: ::Array[::String]
1744
1891
  SENSITIVE: []
1745
1892
  end
1746
1893
 
@@ -1848,6 +1995,11 @@ module Aws::IoTSiteWise
1848
1995
  SENSITIVE: []
1849
1996
  end
1850
1997
 
1998
+ class Reference
1999
+ attr_accessor dataset: Types::DataSetReference
2000
+ SENSITIVE: []
2001
+ end
2002
+
1851
2003
  class Resource
1852
2004
  attr_accessor portal: Types::PortalResource
1853
2005
  attr_accessor project: Types::ProjectResource
@@ -1863,6 +2015,7 @@ module Aws::IoTSiteWise
1863
2015
 
1864
2016
  class ResourceNotFoundException
1865
2017
  attr_accessor message: ::String
2018
+ attr_accessor event_type: untyped
1866
2019
  SENSITIVE: []
1867
2020
  end
1868
2021
 
@@ -1887,6 +2040,17 @@ module Aws::IoTSiteWise
1887
2040
  SENSITIVE: []
1888
2041
  end
1889
2042
 
2043
+ class Source
2044
+ attr_accessor arn: ::String
2045
+ attr_accessor location: Types::Location
2046
+ SENSITIVE: []
2047
+ end
2048
+
2049
+ class SourceDetail
2050
+ attr_accessor kendra: Types::KendraSourceDetail
2051
+ SENSITIVE: []
2052
+ end
2053
+
1890
2054
  class TagResourceRequest
1891
2055
  attr_accessor resource_arn: ::String
1892
2056
  attr_accessor tags: ::Hash[::String, ::String]
@@ -1903,6 +2067,7 @@ module Aws::IoTSiteWise
1903
2067
 
1904
2068
  class ThrottlingException
1905
2069
  attr_accessor message: ::String
2070
+ attr_accessor event_type: untyped
1906
2071
  SENSITIVE: []
1907
2072
  end
1908
2073
 
@@ -1931,6 +2096,12 @@ module Aws::IoTSiteWise
1931
2096
  SENSITIVE: []
1932
2097
  end
1933
2098
 
2099
+ class Trace
2100
+ attr_accessor text: ::String
2101
+ attr_accessor event_type: untyped
2102
+ SENSITIVE: []
2103
+ end
2104
+
1934
2105
  class Transform
1935
2106
  attr_accessor expression: ::String
1936
2107
  attr_accessor variables: ::Array[Types::ExpressionVariable]
@@ -2052,6 +2223,22 @@ module Aws::IoTSiteWise
2052
2223
  class UpdateDashboardResponse < Aws::EmptyStructure
2053
2224
  end
2054
2225
 
2226
+ class UpdateDatasetRequest
2227
+ attr_accessor dataset_id: ::String
2228
+ attr_accessor dataset_name: ::String
2229
+ attr_accessor dataset_description: ::String
2230
+ attr_accessor dataset_source: Types::DatasetSource
2231
+ attr_accessor client_token: ::String
2232
+ SENSITIVE: []
2233
+ end
2234
+
2235
+ class UpdateDatasetResponse
2236
+ attr_accessor dataset_id: ::String
2237
+ attr_accessor dataset_arn: ::String
2238
+ attr_accessor dataset_status: Types::DatasetStatus
2239
+ SENSITIVE: []
2240
+ end
2241
+
2055
2242
  class UpdateGatewayCapabilityConfigurationRequest
2056
2243
  attr_accessor gateway_id: ::String
2057
2244
  attr_accessor capability_namespace: ::String
@@ -2081,7 +2268,9 @@ module Aws::IoTSiteWise
2081
2268
  attr_accessor client_token: ::String
2082
2269
  attr_accessor notification_sender_email: ::String
2083
2270
  attr_accessor alarms: Types::Alarms
2084
- SENSITIVE: []
2271
+ attr_accessor portal_type: ("SITEWISE_PORTAL_V1" | "SITEWISE_PORTAL_V2")
2272
+ attr_accessor portal_type_configuration: ::Hash[::String, Types::PortalTypeEntry]
2273
+ SENSITIVE: [:portal_contact_email, :notification_sender_email]
2085
2274
  end
2086
2275
 
2087
2276
  class UpdatePortalResponse
@@ -2130,5 +2319,9 @@ module Aws::IoTSiteWise
2130
2319
  attr_accessor unlimited: bool
2131
2320
  SENSITIVE: []
2132
2321
  end
2322
+
2323
+ class ResponseStream < Enumerator[untyped, untyped]
2324
+ def event_types: () -> [:trace, :output, :access_denied_exception, :conflicting_operation_exception, :internal_failure_exception, :invalid_request_exception, :limit_exceeded_exception, :resource_not_found_exception, :throttling_exception]
2325
+ end
2133
2326
  end
2134
2327
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-iotsitewise
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.77.0
4
+ version: 1.78.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-11-06 00:00:00.000000000 Z
11
+ date: 2024-11-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -63,6 +63,7 @@ files:
63
63
  - lib/aws-sdk-iotsitewise/endpoint_provider.rb
64
64
  - lib/aws-sdk-iotsitewise/endpoints.rb
65
65
  - lib/aws-sdk-iotsitewise/errors.rb
66
+ - lib/aws-sdk-iotsitewise/event_streams.rb
66
67
  - lib/aws-sdk-iotsitewise/plugins/endpoints.rb
67
68
  - lib/aws-sdk-iotsitewise/resource.rb
68
69
  - lib/aws-sdk-iotsitewise/types.rb