aws-sdk-iotsitewise 1.22.0 → 1.23.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 475b664f08aa75fff087661240437ba7ac4feec495f2c786009bfcef7862801a
4
- data.tar.gz: '088f081cddad3d8c913bcfeb837c13f9f059446606a82f13fb20d3a97e5699e8'
3
+ metadata.gz: af97c5fc1bae0732e47062bced832b10873250302dea4c9ff75720a132828e67
4
+ data.tar.gz: 0f02d47cbf5944af9ae663f643f7b79579af2d2563d3af0d433673526a63f0c6
5
5
  SHA512:
6
- metadata.gz: 7d07039e97c726330f1de60b65a9962705df1f53c6043cf4083adbdc1696a250b7db83f6584618d388881dc06e9bf75ec984d098fedbff833d599e346a2c9766
7
- data.tar.gz: 37d627465c8d7dbebd22c01a8ce4d1ef245ea77127056c1b8bbe4c0d344882eec103461ffad07cb25bd5a1e8a49e531efd108dd37fb697361f8e2c927b2d8e9a
6
+ metadata.gz: 2cc711b359d9f3cade65fca22e6fc2410206ed311d92d5f57c67498d2693ae41815ed22be6c672a889da6fd2e6c6b12bd6921884701052174cabf3d5f3a22f30
7
+ data.tar.gz: 14b228dbd31a586f44ea0babb5ecfbe9455aeeb960dc2185a252026b2492e198a6fe97e992a215ca8a0a05a9a44d91cddcba89e451ba16ec2bd9d28b5637b6e9
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.23.0 (2021-05-27)
5
+ ------------------
6
+
7
+ * Feature - IoT SiteWise Monitor Portal API updates to add alarms feature configuration.
8
+
4
9
  1.22.0 (2021-05-18)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.22.0
1
+ 1.23.0
@@ -49,6 +49,6 @@ require_relative 'aws-sdk-iotsitewise/customizations'
49
49
  # @!group service
50
50
  module Aws::IoTSiteWise
51
51
 
52
- GEM_VERSION = '1.22.0'
52
+ GEM_VERSION = '1.23.0'
53
53
 
54
54
  end
@@ -1097,6 +1097,23 @@ module Aws::IoTSiteWise
1097
1097
  #
1098
1098
  # [1]: https://docs.aws.amazon.com/iot-sitewise/latest/userguide/monitor-get-started.html#mon-gs-sso
1099
1099
  #
1100
+ # @option params [String] :notification_sender_email
1101
+ # The email address that sends alarm notifications.
1102
+ #
1103
+ # If you use the AWS IoT Events managed AWS Lambda function to manage
1104
+ # your emails, you must [verify the sender email address in Amazon
1105
+ # SES][1].
1106
+ #
1107
+ #
1108
+ #
1109
+ # [1]: https://docs.aws.amazon.com/ses/latest/DeveloperGuide/verify-email-addresses.html
1110
+ #
1111
+ # @option params [Types::Alarms] :alarms
1112
+ # Contains the configuration information of an alarm created in an AWS
1113
+ # IoT SiteWise Monitor portal. You can use the alarm to monitor an asset
1114
+ # property and get notified when the asset property value is outside a
1115
+ # specified range. For more information, see .
1116
+ #
1100
1117
  # @return [Types::CreatePortalResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1101
1118
  #
1102
1119
  # * {Types::CreatePortalResponse#portal_id #portal_id} => String
@@ -1121,6 +1138,11 @@ module Aws::IoTSiteWise
1121
1138
  # "TagKey" => "TagValue",
1122
1139
  # },
1123
1140
  # portal_auth_mode: "IAM", # accepts IAM, SSO
1141
+ # notification_sender_email: "Email",
1142
+ # alarms: {
1143
+ # alarm_role_arn: "ARN", # required
1144
+ # notification_lambda_arn: "ARN",
1145
+ # },
1124
1146
  # })
1125
1147
  #
1126
1148
  # @example Response structure
@@ -1936,6 +1958,8 @@ module Aws::IoTSiteWise
1936
1958
  # * {Types::DescribePortalResponse#portal_logo_image_location #portal_logo_image_location} => Types::ImageLocation
1937
1959
  # * {Types::DescribePortalResponse#role_arn #role_arn} => String
1938
1960
  # * {Types::DescribePortalResponse#portal_auth_mode #portal_auth_mode} => String
1961
+ # * {Types::DescribePortalResponse#notification_sender_email #notification_sender_email} => String
1962
+ # * {Types::DescribePortalResponse#alarms #alarms} => Types::Alarms
1939
1963
  #
1940
1964
  # @example Request syntax with placeholder values
1941
1965
  #
@@ -1961,6 +1985,9 @@ module Aws::IoTSiteWise
1961
1985
  # resp.portal_logo_image_location.url #=> String
1962
1986
  # resp.role_arn #=> String
1963
1987
  # resp.portal_auth_mode #=> String, one of "IAM", "SSO"
1988
+ # resp.notification_sender_email #=> String
1989
+ # resp.alarms.alarm_role_arn #=> String
1990
+ # resp.alarms.notification_lambda_arn #=> String
1964
1991
  #
1965
1992
  #
1966
1993
  # The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
@@ -3727,6 +3754,15 @@ module Aws::IoTSiteWise
3727
3754
  # **A suitable default value is auto-generated.** You should normally
3728
3755
  # not need to pass this option.**
3729
3756
  #
3757
+ # @option params [String] :notification_sender_email
3758
+ # The email address that sends alarm notifications.
3759
+ #
3760
+ # @option params [Types::Alarms] :alarms
3761
+ # Contains the configuration information of an alarm created in an AWS
3762
+ # IoT SiteWise Monitor portal. You can use the alarm to monitor an asset
3763
+ # property and get notified when the asset property value is outside a
3764
+ # specified range. For more information, see .
3765
+ #
3730
3766
  # @return [Types::UpdatePortalResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3731
3767
  #
3732
3768
  # * {Types::UpdatePortalResponse#portal_status #portal_status} => Types::PortalStatus
@@ -3747,6 +3783,11 @@ module Aws::IoTSiteWise
3747
3783
  # },
3748
3784
  # role_arn: "ARN", # required
3749
3785
  # client_token: "ClientToken",
3786
+ # notification_sender_email: "Email",
3787
+ # alarms: {
3788
+ # alarm_role_arn: "ARN", # required
3789
+ # notification_lambda_arn: "ARN",
3790
+ # },
3750
3791
  # })
3751
3792
  #
3752
3793
  # @example Response structure
@@ -3812,7 +3853,7 @@ module Aws::IoTSiteWise
3812
3853
  params: params,
3813
3854
  config: config)
3814
3855
  context[:gem_name] = 'aws-sdk-iotsitewise'
3815
- context[:gem_version] = '1.22.0'
3856
+ context[:gem_version] = '1.23.0'
3816
3857
  Seahorse::Client::Request.new(handlers, context)
3817
3858
  end
3818
3859
 
@@ -22,6 +22,7 @@ module Aws::IoTSiteWise
22
22
  AggregatedValue = Shapes::StructureShape.new(name: 'AggregatedValue')
23
23
  AggregatedValues = Shapes::ListShape.new(name: 'AggregatedValues')
24
24
  Aggregates = Shapes::StructureShape.new(name: 'Aggregates')
25
+ Alarms = Shapes::StructureShape.new(name: 'Alarms')
25
26
  AmazonResourceName = Shapes::StringShape.new(name: 'AmazonResourceName')
26
27
  AssetCompositeModel = Shapes::StructureShape.new(name: 'AssetCompositeModel')
27
28
  AssetCompositeModels = Shapes::ListShape.new(name: 'AssetCompositeModels')
@@ -334,6 +335,10 @@ module Aws::IoTSiteWise
334
335
  Aggregates.add_member(:standard_deviation, Shapes::ShapeRef.new(shape: AggregatedDoubleValue, location_name: "standardDeviation"))
335
336
  Aggregates.struct_class = Types::Aggregates
336
337
 
338
+ Alarms.add_member(:alarm_role_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "alarmRoleArn"))
339
+ Alarms.add_member(:notification_lambda_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "notificationLambdaArn"))
340
+ Alarms.struct_class = Types::Alarms
341
+
337
342
  AssetCompositeModel.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
338
343
  AssetCompositeModel.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
339
344
  AssetCompositeModel.add_member(:type, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "type"))
@@ -607,6 +612,8 @@ module Aws::IoTSiteWise
607
612
  CreatePortalRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "roleArn"))
608
613
  CreatePortalRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
609
614
  CreatePortalRequest.add_member(:portal_auth_mode, Shapes::ShapeRef.new(shape: AuthMode, location_name: "portalAuthMode"))
615
+ CreatePortalRequest.add_member(:notification_sender_email, Shapes::ShapeRef.new(shape: Email, location_name: "notificationSenderEmail"))
616
+ CreatePortalRequest.add_member(:alarms, Shapes::ShapeRef.new(shape: Alarms, location_name: "alarms"))
610
617
  CreatePortalRequest.struct_class = Types::CreatePortalRequest
611
618
 
612
619
  CreatePortalResponse.add_member(:portal_id, Shapes::ShapeRef.new(shape: ID, required: true, location_name: "portalId"))
@@ -794,6 +801,8 @@ module Aws::IoTSiteWise
794
801
  DescribePortalResponse.add_member(:portal_logo_image_location, Shapes::ShapeRef.new(shape: ImageLocation, location_name: "portalLogoImageLocation"))
795
802
  DescribePortalResponse.add_member(:role_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "roleArn"))
796
803
  DescribePortalResponse.add_member(:portal_auth_mode, Shapes::ShapeRef.new(shape: AuthMode, location_name: "portalAuthMode"))
804
+ DescribePortalResponse.add_member(:notification_sender_email, Shapes::ShapeRef.new(shape: Email, location_name: "notificationSenderEmail"))
805
+ DescribePortalResponse.add_member(:alarms, Shapes::ShapeRef.new(shape: Alarms, location_name: "alarms"))
797
806
  DescribePortalResponse.struct_class = Types::DescribePortalResponse
798
807
 
799
808
  DescribeProjectRequest.add_member(:project_id, Shapes::ShapeRef.new(shape: ID, required: true, location: "uri", location_name: "projectId"))
@@ -1260,6 +1269,8 @@ module Aws::IoTSiteWise
1260
1269
  UpdatePortalRequest.add_member(:portal_logo_image, Shapes::ShapeRef.new(shape: Image, location_name: "portalLogoImage"))
1261
1270
  UpdatePortalRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "roleArn"))
1262
1271
  UpdatePortalRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
1272
+ UpdatePortalRequest.add_member(:notification_sender_email, Shapes::ShapeRef.new(shape: Email, location_name: "notificationSenderEmail"))
1273
+ UpdatePortalRequest.add_member(:alarms, Shapes::ShapeRef.new(shape: Alarms, location_name: "alarms"))
1263
1274
  UpdatePortalRequest.struct_class = Types::UpdatePortalRequest
1264
1275
 
1265
1276
  UpdatePortalResponse.add_member(:portal_status, Shapes::ShapeRef.new(shape: PortalStatus, required: true, location_name: "portalStatus"))
@@ -112,6 +112,46 @@ module Aws::IoTSiteWise
112
112
  include Aws::Structure
113
113
  end
114
114
 
115
+ # Contains the configuration information of an alarm created in an AWS
116
+ # IoT SiteWise Monitor portal. You can use the alarm to monitor an asset
117
+ # property and get notified when the asset property value is outside a
118
+ # specified range. For more information, see .
119
+ #
120
+ # @note When making an API call, you may pass Alarms
121
+ # data as a hash:
122
+ #
123
+ # {
124
+ # alarm_role_arn: "ARN", # required
125
+ # notification_lambda_arn: "ARN",
126
+ # }
127
+ #
128
+ # @!attribute [rw] alarm_role_arn
129
+ # The [ARN][1] of the IAM role that allows the alarm to perform
130
+ # actions and access AWS resources, including AWS IoT Events.
131
+ #
132
+ #
133
+ #
134
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
135
+ # @return [String]
136
+ #
137
+ # @!attribute [rw] notification_lambda_arn
138
+ # The [ARN][1] of the AWS Lambda function that manages alarm
139
+ # notifications. For more information, see [Managing alarm
140
+ # notifications][2] in the *AWS IoT Events Developer Guide*.
141
+ #
142
+ #
143
+ #
144
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
145
+ # [2]: https://docs.aws.amazon.com/
146
+ # @return [String]
147
+ #
148
+ class Alarms < Struct.new(
149
+ :alarm_role_arn,
150
+ :notification_lambda_arn)
151
+ SENSITIVE = []
152
+ include Aws::Structure
153
+ end
154
+
115
155
  # Contains information about a composite model in an asset. This object
116
156
  # contains the asset's properties that you define in the composite
117
157
  # model.
@@ -1842,6 +1882,11 @@ module Aws::IoTSiteWise
1842
1882
  # "TagKey" => "TagValue",
1843
1883
  # },
1844
1884
  # portal_auth_mode: "IAM", # accepts IAM, SSO
1885
+ # notification_sender_email: "Email",
1886
+ # alarms: {
1887
+ # alarm_role_arn: "ARN", # required
1888
+ # notification_lambda_arn: "ARN",
1889
+ # },
1845
1890
  # }
1846
1891
  #
1847
1892
  # @!attribute [rw] portal_name
@@ -1916,6 +1961,25 @@ module Aws::IoTSiteWise
1916
1961
  # [1]: https://docs.aws.amazon.com/iot-sitewise/latest/userguide/monitor-get-started.html#mon-gs-sso
1917
1962
  # @return [String]
1918
1963
  #
1964
+ # @!attribute [rw] notification_sender_email
1965
+ # The email address that sends alarm notifications.
1966
+ #
1967
+ # If you use the AWS IoT Events managed AWS Lambda function to manage
1968
+ # your emails, you must [verify the sender email address in Amazon
1969
+ # SES][1].
1970
+ #
1971
+ #
1972
+ #
1973
+ # [1]: https://docs.aws.amazon.com/ses/latest/DeveloperGuide/verify-email-addresses.html
1974
+ # @return [String]
1975
+ #
1976
+ # @!attribute [rw] alarms
1977
+ # Contains the configuration information of an alarm created in an AWS
1978
+ # IoT SiteWise Monitor portal. You can use the alarm to monitor an
1979
+ # asset property and get notified when the asset property value is
1980
+ # outside a specified range. For more information, see .
1981
+ # @return [Types::Alarms]
1982
+ #
1919
1983
  class CreatePortalRequest < Struct.new(
1920
1984
  :portal_name,
1921
1985
  :portal_description,
@@ -1924,7 +1988,9 @@ module Aws::IoTSiteWise
1924
1988
  :portal_logo_image_file,
1925
1989
  :role_arn,
1926
1990
  :tags,
1927
- :portal_auth_mode)
1991
+ :portal_auth_mode,
1992
+ :notification_sender_email,
1993
+ :alarms)
1928
1994
  SENSITIVE = []
1929
1995
  include Aws::Structure
1930
1996
  end
@@ -2934,6 +3000,15 @@ module Aws::IoTSiteWise
2934
3000
  # The service to use to authenticate users to the portal.
2935
3001
  # @return [String]
2936
3002
  #
3003
+ # @!attribute [rw] notification_sender_email
3004
+ # The email address that sends alarm notifications.
3005
+ # @return [String]
3006
+ #
3007
+ # @!attribute [rw] alarms
3008
+ # Contains the configuration information of an alarm created in a AWS
3009
+ # IoT SiteWise Monitor portal.
3010
+ # @return [Types::Alarms]
3011
+ #
2937
3012
  class DescribePortalResponse < Struct.new(
2938
3013
  :portal_id,
2939
3014
  :portal_arn,
@@ -2947,7 +3022,9 @@ module Aws::IoTSiteWise
2947
3022
  :portal_last_update_date,
2948
3023
  :portal_logo_image_location,
2949
3024
  :role_arn,
2950
- :portal_auth_mode)
3025
+ :portal_auth_mode,
3026
+ :notification_sender_email,
3027
+ :alarms)
2951
3028
  SENSITIVE = []
2952
3029
  include Aws::Structure
2953
3030
  end
@@ -5894,6 +5971,11 @@ module Aws::IoTSiteWise
5894
5971
  # },
5895
5972
  # role_arn: "ARN", # required
5896
5973
  # client_token: "ClientToken",
5974
+ # notification_sender_email: "Email",
5975
+ # alarms: {
5976
+ # alarm_role_arn: "ARN", # required
5977
+ # notification_lambda_arn: "ARN",
5978
+ # },
5897
5979
  # }
5898
5980
  #
5899
5981
  # @!attribute [rw] portal_id
@@ -5942,6 +6024,17 @@ module Aws::IoTSiteWise
5942
6024
  # not need to pass this option.
5943
6025
  # @return [String]
5944
6026
  #
6027
+ # @!attribute [rw] notification_sender_email
6028
+ # The email address that sends alarm notifications.
6029
+ # @return [String]
6030
+ #
6031
+ # @!attribute [rw] alarms
6032
+ # Contains the configuration information of an alarm created in an AWS
6033
+ # IoT SiteWise Monitor portal. You can use the alarm to monitor an
6034
+ # asset property and get notified when the asset property value is
6035
+ # outside a specified range. For more information, see .
6036
+ # @return [Types::Alarms]
6037
+ #
5945
6038
  class UpdatePortalRequest < Struct.new(
5946
6039
  :portal_id,
5947
6040
  :portal_name,
@@ -5949,7 +6042,9 @@ module Aws::IoTSiteWise
5949
6042
  :portal_contact_email,
5950
6043
  :portal_logo_image,
5951
6044
  :role_arn,
5952
- :client_token)
6045
+ :client_token,
6046
+ :notification_sender_email,
6047
+ :alarms)
5953
6048
  SENSITIVE = []
5954
6049
  include Aws::Structure
5955
6050
  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.22.0
4
+ version: 1.23.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: 2021-05-18 00:00:00.000000000 Z
11
+ date: 2021-05-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core