aws-sdk-iotsitewise 1.2.0 → 1.3.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: a7f1282ff64d79f66469f819e3986300bb9669bd64a2f012807e0b3c60eedd10
4
- data.tar.gz: 2ca7198cb2c521305da1deeb8b096d26de26cb3c6a3c5d4ebec08fcf7b23f5bc
3
+ metadata.gz: 7826dafb616d111f03f07fbf2922e5f329de65a4653b8ac35f7fd4bb729af2ff
4
+ data.tar.gz: d26707b7b308d2785558cf23cd3c99690207592c7d2d7d4d0cbf0b280bf9c16a
5
5
  SHA512:
6
- metadata.gz: 34bd2911b7bcbd69b65b11a673482a64facd6acebbf006d99a7f9ad485fb82ec6861a68565cc1dcacf1ee338b0941df295e6ff5585dfe0d0bb72f71057ae6334
7
- data.tar.gz: 145b4d77c14a506468e0467eeca241e329099d9319d069d94436804920e802a22cf73765b9a05efa7ecadc80758643ed401f0085df01759d587bf2a2b91da154
6
+ metadata.gz: 0b2994a9ae635d6b73a45f247bfa2e066cb52d340d128ae792261f1c464ef7c48ce9c29e956bdf2b575074caf855851b2b9968e3d2ed2db20b36934f86372648
7
+ data.tar.gz: dc976383e0095908fe7a7df8a7206b1400a7873f27e4e0f66095b9da8acbf1221d29c1f76e3b30368238933fbee18e7ae45663a8e425e7c88e525efed974fd2f
@@ -46,6 +46,6 @@ require_relative 'aws-sdk-iotsitewise/customizations'
46
46
  # @service
47
47
  module Aws::IoTSiteWise
48
48
 
49
- GEM_VERSION = '1.2.0'
49
+ GEM_VERSION = '1.3.0'
50
50
 
51
51
  end
@@ -1004,8 +1004,8 @@ module Aws::IoTSiteWise
1004
1004
  # portal_contact_email: "Email", # required
1005
1005
  # client_token: "ClientToken",
1006
1006
  # portal_logo_image_file: {
1007
- # encoded_string: "data", # required
1008
- # file_type: "PNG", # required, accepts PNG
1007
+ # data: "data", # required
1008
+ # type: "PNG", # required, accepts PNG
1009
1009
  # },
1010
1010
  # role_arn: "ARN", # required
1011
1011
  # tags: {
@@ -1089,7 +1089,7 @@ module Aws::IoTSiteWise
1089
1089
 
1090
1090
  # Deletes an access policy that grants the specified AWS Single Sign-On
1091
1091
  # identity access to the specified AWS IoT SiteWise Monitor resource.
1092
- # You can use this action to revoke access to an AWS IoT SiteWise
1092
+ # You can use this operation to revoke access to an AWS IoT SiteWise
1093
1093
  # Monitor resource.
1094
1094
  #
1095
1095
  # @option params [required, String] :access_policy_id
@@ -1723,7 +1723,7 @@ module Aws::IoTSiteWise
1723
1723
  # * {Types::DescribePortalResponse#portal_status #portal_status} => Types::PortalStatus
1724
1724
  # * {Types::DescribePortalResponse#portal_creation_date #portal_creation_date} => Time
1725
1725
  # * {Types::DescribePortalResponse#portal_last_update_date #portal_last_update_date} => Time
1726
- # * {Types::DescribePortalResponse#portal_logo_image #portal_logo_image} => Types::Image
1726
+ # * {Types::DescribePortalResponse#portal_logo_image_location #portal_logo_image_location} => Types::ImageLocation
1727
1727
  # * {Types::DescribePortalResponse#role_arn #role_arn} => String
1728
1728
  #
1729
1729
  # @example Request syntax with placeholder values
@@ -1746,8 +1746,8 @@ module Aws::IoTSiteWise
1746
1746
  # resp.portal_status.error.message #=> String
1747
1747
  # resp.portal_creation_date #=> Time
1748
1748
  # resp.portal_last_update_date #=> Time
1749
- # resp.portal_logo_image.location_url #=> String
1750
- # resp.portal_logo_image.last_update_date #=> Time
1749
+ # resp.portal_logo_image_location.id #=> String
1750
+ # resp.portal_logo_image_location.url #=> String
1751
1751
  # resp.role_arn #=> String
1752
1752
  #
1753
1753
  #
@@ -1920,7 +1920,7 @@ module Aws::IoTSiteWise
1920
1920
  # asset_id: "ID",
1921
1921
  # property_id: "ID",
1922
1922
  # property_alias: "AssetPropertyAlias",
1923
- # aggregate_types: ["AVERAGE"], # required, accepts AVERAGE, COUNT, MAXIMUM, MINIMUM, SUM
1923
+ # aggregate_types: ["AVERAGE"], # required, accepts AVERAGE, COUNT, MAXIMUM, MINIMUM, SUM, STANDARD_DEVIATION
1924
1924
  # resolution: "Resolution", # required
1925
1925
  # qualities: ["GOOD"], # accepts GOOD, BAD, UNCERTAIN
1926
1926
  # start_date: Time.now, # required
@@ -1940,6 +1940,7 @@ module Aws::IoTSiteWise
1940
1940
  # resp.aggregated_values[0].value.maximum #=> Float
1941
1941
  # resp.aggregated_values[0].value.minimum #=> Float
1942
1942
  # resp.aggregated_values[0].value.sum #=> Float
1943
+ # resp.aggregated_values[0].value.standard_deviation #=> Float
1943
1944
  # resp.next_token #=> String
1944
1945
  #
1945
1946
  # @overload get_asset_property_aggregates(params = {})
@@ -2111,16 +2112,20 @@ module Aws::IoTSiteWise
2111
2112
  # project).
2112
2113
  #
2113
2114
  # @option params [String] :identity_type
2114
- # The type of identity (user or group).
2115
+ # The type of identity (user or group). This parameter is required if
2116
+ # you specify `identityId`.
2115
2117
  #
2116
2118
  # @option params [String] :identity_id
2117
- # The ID of the identity.
2119
+ # The ID of the identity. This parameter is required if you specify
2120
+ # `identityType`.
2118
2121
  #
2119
2122
  # @option params [String] :resource_type
2120
- # The type of resource (portal or project).
2123
+ # The type of resource (portal or project). This parameter is required
2124
+ # if you specify `resourceId`.
2121
2125
  #
2122
2126
  # @option params [String] :resource_id
2123
- # The ID of the resource.
2127
+ # The ID of the resource. This parameter is required if you specify
2128
+ # `resourceType`.
2124
2129
  #
2125
2130
  # @option params [String] :next_token
2126
2131
  # The token to be used for the next set of paginated results.
@@ -2792,10 +2797,10 @@ module Aws::IoTSiteWise
2792
2797
  # information, see [Updating Assets and Models][1] in the *AWS IoT
2793
2798
  # SiteWise User Guide*.
2794
2799
  #
2795
- # This action overwrites the existing model with the provided model. To
2796
- # avoid deleting your asset model's properties or hierarchies, you must
2797
- # include their IDs and definitions in the updated asset model payload.
2798
- # For more information, see [DescribeAssetModel][2].
2800
+ # This operation overwrites the existing model with the provided model.
2801
+ # To avoid deleting your asset model's properties or hierarchies, you
2802
+ # must include their IDs and definitions in the updated asset model
2803
+ # payload. For more information, see [DescribeAssetModel][2].
2799
2804
  #
2800
2805
  # If you remove a property from an asset model or update a property's
2801
2806
  # formula expression, AWS IoT SiteWise deletes all previous data for
@@ -3143,9 +3148,13 @@ module Aws::IoTSiteWise
3143
3148
  # @option params [required, String] :portal_contact_email
3144
3149
  # The AWS administrator's contact email address.
3145
3150
  #
3146
- # @option params [Types::ImageFile] :portal_logo_image_file
3147
- # A logo image to display in the portal. Upload a square,
3148
- # high-resolution image. The image is displayed on a dark background.
3151
+ # @option params [Types::Image] :portal_logo_image
3152
+ # Contains an image that is one of the following:
3153
+ #
3154
+ # * An image file. Choose this option to upload a new image.
3155
+ #
3156
+ # * The ID of an existing image. Choose this option to keep an existing
3157
+ # image.
3149
3158
  #
3150
3159
  # @option params [required, String] :role_arn
3151
3160
  # The [ARN][1] of a service role that allows the portal's users to
@@ -3177,9 +3186,12 @@ module Aws::IoTSiteWise
3177
3186
  # portal_name: "Name", # required
3178
3187
  # portal_description: "Description",
3179
3188
  # portal_contact_email: "Email", # required
3180
- # portal_logo_image_file: {
3181
- # encoded_string: "data", # required
3182
- # file_type: "PNG", # required, accepts PNG
3189
+ # portal_logo_image: {
3190
+ # id: "ID",
3191
+ # file: {
3192
+ # data: "data", # required
3193
+ # type: "PNG", # required, accepts PNG
3194
+ # },
3183
3195
  # },
3184
3196
  # role_arn: "ARN", # required
3185
3197
  # client_token: "ClientToken",
@@ -3248,7 +3260,7 @@ module Aws::IoTSiteWise
3248
3260
  params: params,
3249
3261
  config: config)
3250
3262
  context[:gem_name] = 'aws-sdk-iotsitewise'
3251
- context[:gem_version] = '1.2.0'
3263
+ context[:gem_version] = '1.3.0'
3252
3264
  Seahorse::Client::Request.new(handlers, context)
3253
3265
  end
3254
3266
 
@@ -155,6 +155,7 @@ module Aws::IoTSiteWise
155
155
  ImageFile = Shapes::StructureShape.new(name: 'ImageFile')
156
156
  ImageFileData = Shapes::BlobShape.new(name: 'ImageFileData')
157
157
  ImageFileType = Shapes::StringShape.new(name: 'ImageFileType')
158
+ ImageLocation = Shapes::StructureShape.new(name: 'ImageLocation')
158
159
  InternalFailureException = Shapes::StructureShape.new(name: 'InternalFailureException')
159
160
  Interval = Shapes::StringShape.new(name: 'Interval')
160
161
  InvalidRequestException = Shapes::StructureShape.new(name: 'InvalidRequestException')
@@ -293,6 +294,7 @@ module Aws::IoTSiteWise
293
294
  Aggregates.add_member(:maximum, Shapes::ShapeRef.new(shape: AggregatedDoubleValue, location_name: "maximum"))
294
295
  Aggregates.add_member(:minimum, Shapes::ShapeRef.new(shape: AggregatedDoubleValue, location_name: "minimum"))
295
296
  Aggregates.add_member(:sum, Shapes::ShapeRef.new(shape: AggregatedDoubleValue, location_name: "sum"))
297
+ Aggregates.add_member(:standard_deviation, Shapes::ShapeRef.new(shape: AggregatedDoubleValue, location_name: "standardDeviation"))
296
298
  Aggregates.struct_class = Types::Aggregates
297
299
 
298
300
  AssetErrorDetails.add_member(:asset_id, Shapes::ShapeRef.new(shape: ID, required: true, location_name: "assetId"))
@@ -690,7 +692,7 @@ module Aws::IoTSiteWise
690
692
  DescribePortalResponse.add_member(:portal_status, Shapes::ShapeRef.new(shape: PortalStatus, required: true, location_name: "portalStatus"))
691
693
  DescribePortalResponse.add_member(:portal_creation_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "portalCreationDate"))
692
694
  DescribePortalResponse.add_member(:portal_last_update_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "portalLastUpdateDate"))
693
- DescribePortalResponse.add_member(:portal_logo_image, Shapes::ShapeRef.new(shape: Image, location_name: "portalLogoImage"))
695
+ DescribePortalResponse.add_member(:portal_logo_image_location, Shapes::ShapeRef.new(shape: ImageLocation, location_name: "portalLogoImageLocation"))
694
696
  DescribePortalResponse.add_member(:role_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "roleArn"))
695
697
  DescribePortalResponse.struct_class = Types::DescribePortalResponse
696
698
 
@@ -792,14 +794,18 @@ module Aws::IoTSiteWise
792
794
  Identity.add_member(:group, Shapes::ShapeRef.new(shape: GroupIdentity, location_name: "group"))
793
795
  Identity.struct_class = Types::Identity
794
796
 
795
- Image.add_member(:location_url, Shapes::ShapeRef.new(shape: Url, location_name: "locationUrl"))
796
- Image.add_member(:last_update_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdateDate"))
797
+ Image.add_member(:id, Shapes::ShapeRef.new(shape: ID, location_name: "id"))
798
+ Image.add_member(:file, Shapes::ShapeRef.new(shape: ImageFile, location_name: "file"))
797
799
  Image.struct_class = Types::Image
798
800
 
799
- ImageFile.add_member(:encoded_string, Shapes::ShapeRef.new(shape: ImageFileData, required: true, location_name: "encodedString"))
800
- ImageFile.add_member(:file_type, Shapes::ShapeRef.new(shape: ImageFileType, required: true, location_name: "fileType"))
801
+ ImageFile.add_member(:data, Shapes::ShapeRef.new(shape: ImageFileData, required: true, location_name: "data"))
802
+ ImageFile.add_member(:type, Shapes::ShapeRef.new(shape: ImageFileType, required: true, location_name: "type"))
801
803
  ImageFile.struct_class = Types::ImageFile
802
804
 
805
+ ImageLocation.add_member(:id, Shapes::ShapeRef.new(shape: ID, required: true, location_name: "id"))
806
+ ImageLocation.add_member(:url, Shapes::ShapeRef.new(shape: Url, required: true, location_name: "url"))
807
+ ImageLocation.struct_class = Types::ImageLocation
808
+
803
809
  InternalFailureException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, required: true, location_name: "message"))
804
810
  InternalFailureException.struct_class = Types::InternalFailureException
805
811
 
@@ -1093,7 +1099,7 @@ module Aws::IoTSiteWise
1093
1099
  UpdatePortalRequest.add_member(:portal_name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "portalName"))
1094
1100
  UpdatePortalRequest.add_member(:portal_description, Shapes::ShapeRef.new(shape: Description, location_name: "portalDescription"))
1095
1101
  UpdatePortalRequest.add_member(:portal_contact_email, Shapes::ShapeRef.new(shape: Email, required: true, location_name: "portalContactEmail"))
1096
- UpdatePortalRequest.add_member(:portal_logo_image_file, Shapes::ShapeRef.new(shape: ImageFile, location_name: "portalLogoImageFile"))
1102
+ UpdatePortalRequest.add_member(:portal_logo_image, Shapes::ShapeRef.new(shape: Image, location_name: "portalLogoImage"))
1097
1103
  UpdatePortalRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "roleArn"))
1098
1104
  UpdatePortalRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
1099
1105
  UpdatePortalRequest.struct_class = Types::UpdatePortalRequest
@@ -71,27 +71,30 @@ module Aws::IoTSiteWise
71
71
  # Contains the (pre-calculated) aggregate values for an asset property.
72
72
  #
73
73
  # @!attribute [rw] average
74
- # The average (mean) value of the time series for the last time
75
- # interval window.
74
+ # The average (mean) value of the time series over a time interval
75
+ # window.
76
76
  # @return [Float]
77
77
  #
78
78
  # @!attribute [rw] count
79
- # The count of data points in the time series for the last time
80
- # interval window.
79
+ # The count of data points in the time series over a time interval
80
+ # window.
81
81
  # @return [Float]
82
82
  #
83
83
  # @!attribute [rw] maximum
84
- # The maximum value of the time series for the last time interval
85
- # window.
84
+ # The maximum value of the time series over a time interval window.
86
85
  # @return [Float]
87
86
  #
88
87
  # @!attribute [rw] minimum
89
- # The minimum value of the time series for the last time interval
90
- # window.
88
+ # The minimum value of the time series over a time interval window.
91
89
  # @return [Float]
92
90
  #
93
91
  # @!attribute [rw] sum
94
- # The sum of the time series for the last time interval window.
92
+ # The sum of the time series over a time interval window.
93
+ # @return [Float]
94
+ #
95
+ # @!attribute [rw] standard_deviation
96
+ # The standard deviation of the time series over a time interval
97
+ # window.
95
98
  # @return [Float]
96
99
  #
97
100
  class Aggregates < Struct.new(
@@ -99,7 +102,8 @@ module Aws::IoTSiteWise
99
102
  :count,
100
103
  :maximum,
101
104
  :minimum,
102
- :sum)
105
+ :sum,
106
+ :standard_deviation)
103
107
  include Aws::Structure
104
108
  end
105
109
 
@@ -1160,7 +1164,7 @@ module Aws::IoTSiteWise
1160
1164
  #
1161
1165
  # @!attribute [rw] asset_model_status
1162
1166
  # The status of the asset model, which contains a state (`CREATING`
1163
- # after successfully calling this action) and any error message.
1167
+ # after successfully calling this operation) and any error message.
1164
1168
  # @return [Types::AssetModelStatus]
1165
1169
  #
1166
1170
  class CreateAssetModelResponse < Struct.new(
@@ -1234,7 +1238,7 @@ module Aws::IoTSiteWise
1234
1238
  #
1235
1239
  # @!attribute [rw] asset_status
1236
1240
  # The status of the asset, which contains a state (`CREATING` after
1237
- # successfully calling this action) and any error message.
1241
+ # successfully calling this operation) and any error message.
1238
1242
  # @return [Types::AssetStatus]
1239
1243
  #
1240
1244
  class CreateAssetResponse < Struct.new(
@@ -1400,8 +1404,8 @@ module Aws::IoTSiteWise
1400
1404
  # portal_contact_email: "Email", # required
1401
1405
  # client_token: "ClientToken",
1402
1406
  # portal_logo_image_file: {
1403
- # encoded_string: "data", # required
1404
- # file_type: "PNG", # required, accepts PNG
1407
+ # data: "data", # required
1408
+ # type: "PNG", # required, accepts PNG
1405
1409
  # },
1406
1410
  # role_arn: "ARN", # required
1407
1411
  # tags: {
@@ -1488,7 +1492,7 @@ module Aws::IoTSiteWise
1488
1492
  #
1489
1493
  # @!attribute [rw] portal_status
1490
1494
  # The status of the portal, which contains a state (`CREATING` after
1491
- # successfully calling this action) and any error message.
1495
+ # successfully calling this operation) and any error message.
1492
1496
  # @return [Types::PortalStatus]
1493
1497
  #
1494
1498
  # @!attribute [rw] sso_application_id
@@ -1666,7 +1670,7 @@ module Aws::IoTSiteWise
1666
1670
 
1667
1671
  # @!attribute [rw] asset_model_status
1668
1672
  # The status of the asset model, which contains a state (`DELETING`
1669
- # after successfully calling this action) and any error message.
1673
+ # after successfully calling this operation) and any error message.
1670
1674
  # @return [Types::AssetModelStatus]
1671
1675
  #
1672
1676
  class DeleteAssetModelResponse < Struct.new(
@@ -1703,7 +1707,7 @@ module Aws::IoTSiteWise
1703
1707
 
1704
1708
  # @!attribute [rw] asset_status
1705
1709
  # The status of the asset, which contains a state (`DELETING` after
1706
- # successfully calling this action) and any error message.
1710
+ # successfully calling this operation) and any error message.
1707
1711
  # @return [Types::AssetStatus]
1708
1712
  #
1709
1713
  class DeleteAssetResponse < Struct.new(
@@ -1785,7 +1789,7 @@ module Aws::IoTSiteWise
1785
1789
 
1786
1790
  # @!attribute [rw] portal_status
1787
1791
  # The status of the portal, which contains a state (`DELETING` after
1788
- # successfully calling this action) and any error message.
1792
+ # successfully calling this operation) and any error message.
1789
1793
  # @return [Types::PortalStatus]
1790
1794
  #
1791
1795
  class DeletePortalResponse < Struct.new(
@@ -2362,9 +2366,9 @@ module Aws::IoTSiteWise
2362
2366
  # The date the portal was last updated, in Unix epoch time.
2363
2367
  # @return [Time]
2364
2368
  #
2365
- # @!attribute [rw] portal_logo_image
2366
- # The portal's logo image.
2367
- # @return [Types::Image]
2369
+ # @!attribute [rw] portal_logo_image_location
2370
+ # The portal's logo image, which is available at a URL.
2371
+ # @return [Types::ImageLocation]
2368
2372
  #
2369
2373
  # @!attribute [rw] role_arn
2370
2374
  # The [ARN][1] of the service role that allows the portal's users to
@@ -2389,7 +2393,7 @@ module Aws::IoTSiteWise
2389
2393
  :portal_status,
2390
2394
  :portal_creation_date,
2391
2395
  :portal_last_update_date,
2392
- :portal_logo_image,
2396
+ :portal_logo_image_location,
2393
2397
  :role_arn)
2394
2398
  include Aws::Structure
2395
2399
  end
@@ -2640,7 +2644,7 @@ module Aws::IoTSiteWise
2640
2644
  # asset_id: "ID",
2641
2645
  # property_id: "ID",
2642
2646
  # property_alias: "AssetPropertyAlias",
2643
- # aggregate_types: ["AVERAGE"], # required, accepts AVERAGE, COUNT, MAXIMUM, MINIMUM, SUM
2647
+ # aggregate_types: ["AVERAGE"], # required, accepts AVERAGE, COUNT, MAXIMUM, MINIMUM, SUM, STANDARD_DEVIATION
2644
2648
  # resolution: "Resolution", # required
2645
2649
  # qualities: ["GOOD"], # accepts GOOD, BAD, UNCERTAIN
2646
2650
  # start_date: Time.now, # required
@@ -2959,20 +2963,36 @@ module Aws::IoTSiteWise
2959
2963
  include Aws::Structure
2960
2964
  end
2961
2965
 
2962
- # Contains an image that is available at a URL.
2966
+ # Contains an image that is one of the following:
2963
2967
  #
2964
- # @!attribute [rw] location_url
2965
- # A URL at which the image is available. The URL is valid for 15
2966
- # minutes for you to view and download the image.
2968
+ # * An image file. Choose this option to upload a new image.
2969
+ #
2970
+ # * The ID of an existing image. Choose this option to keep an existing
2971
+ # image.
2972
+ #
2973
+ # @note When making an API call, you may pass Image
2974
+ # data as a hash:
2975
+ #
2976
+ # {
2977
+ # id: "ID",
2978
+ # file: {
2979
+ # data: "data", # required
2980
+ # type: "PNG", # required, accepts PNG
2981
+ # },
2982
+ # }
2983
+ #
2984
+ # @!attribute [rw] id
2985
+ # The ID of an existing image. Specify this parameter to keep an
2986
+ # existing image.
2967
2987
  # @return [String]
2968
2988
  #
2969
- # @!attribute [rw] last_update_date
2970
- # The date the image was last updated, in Unix epoch time.
2971
- # @return [Time]
2989
+ # @!attribute [rw] file
2990
+ # Contains an image file.
2991
+ # @return [Types::ImageFile]
2972
2992
  #
2973
2993
  class Image < Struct.new(
2974
- :location_url,
2975
- :last_update_date)
2994
+ :id,
2995
+ :file)
2976
2996
  include Aws::Structure
2977
2997
  end
2978
2998
 
@@ -2982,22 +3002,40 @@ module Aws::IoTSiteWise
2982
3002
  # data as a hash:
2983
3003
  #
2984
3004
  # {
2985
- # encoded_string: "data", # required
2986
- # file_type: "PNG", # required, accepts PNG
3005
+ # data: "data", # required
3006
+ # type: "PNG", # required, accepts PNG
2987
3007
  # }
2988
3008
  #
2989
- # @!attribute [rw] encoded_string
3009
+ # @!attribute [rw] data
2990
3010
  # The image file contents, represented as a base64-encoded string. The
2991
3011
  # file size must be less than 1 MB.
2992
3012
  # @return [String]
2993
3013
  #
2994
- # @!attribute [rw] file_type
3014
+ # @!attribute [rw] type
2995
3015
  # The file type of the image.
2996
3016
  # @return [String]
2997
3017
  #
2998
3018
  class ImageFile < Struct.new(
2999
- :encoded_string,
3000
- :file_type)
3019
+ :data,
3020
+ :type)
3021
+ include Aws::Structure
3022
+ end
3023
+
3024
+ # Contains an image that is uploaded to AWS IoT SiteWise and available
3025
+ # at a URL.
3026
+ #
3027
+ # @!attribute [rw] id
3028
+ # The ID of the image.
3029
+ # @return [String]
3030
+ #
3031
+ # @!attribute [rw] url
3032
+ # The URL where the image is available. The URL is valid for 15
3033
+ # minutes so that you can view and download the image
3034
+ # @return [String]
3035
+ #
3036
+ class ImageLocation < Struct.new(
3037
+ :id,
3038
+ :url)
3001
3039
  include Aws::Structure
3002
3040
  end
3003
3041
 
@@ -3057,19 +3095,23 @@ module Aws::IoTSiteWise
3057
3095
  # }
3058
3096
  #
3059
3097
  # @!attribute [rw] identity_type
3060
- # The type of identity (user or group).
3098
+ # The type of identity (user or group). This parameter is required if
3099
+ # you specify `identityId`.
3061
3100
  # @return [String]
3062
3101
  #
3063
3102
  # @!attribute [rw] identity_id
3064
- # The ID of the identity.
3103
+ # The ID of the identity. This parameter is required if you specify
3104
+ # `identityType`.
3065
3105
  # @return [String]
3066
3106
  #
3067
3107
  # @!attribute [rw] resource_type
3068
- # The type of resource (portal or project).
3108
+ # The type of resource (portal or project). This parameter is required
3109
+ # if you specify `resourceId`.
3069
3110
  # @return [String]
3070
3111
  #
3071
3112
  # @!attribute [rw] resource_id
3072
- # The ID of the resource.
3113
+ # The ID of the resource. This parameter is required if you specify
3114
+ # `resourceType`.
3073
3115
  # @return [String]
3074
3116
  #
3075
3117
  # @!attribute [rw] next_token
@@ -4488,7 +4530,7 @@ module Aws::IoTSiteWise
4488
4530
 
4489
4531
  # @!attribute [rw] asset_model_status
4490
4532
  # The status of the asset model, which contains a state (`UPDATING`
4491
- # after successfully calling this action) and any error message.
4533
+ # after successfully calling this operation) and any error message.
4492
4534
  # @return [Types::AssetModelStatus]
4493
4535
  #
4494
4536
  class UpdateAssetModelResponse < Struct.new(
@@ -4597,7 +4639,7 @@ module Aws::IoTSiteWise
4597
4639
 
4598
4640
  # @!attribute [rw] asset_status
4599
4641
  # The status of the asset, which contains a state (`UPDATING` after
4600
- # successfully calling this action) and any error message.
4642
+ # successfully calling this operation) and any error message.
4601
4643
  # @return [Types::AssetStatus]
4602
4644
  #
4603
4645
  class UpdateAssetResponse < Struct.new(
@@ -4752,9 +4794,12 @@ module Aws::IoTSiteWise
4752
4794
  # portal_name: "Name", # required
4753
4795
  # portal_description: "Description",
4754
4796
  # portal_contact_email: "Email", # required
4755
- # portal_logo_image_file: {
4756
- # encoded_string: "data", # required
4757
- # file_type: "PNG", # required, accepts PNG
4797
+ # portal_logo_image: {
4798
+ # id: "ID",
4799
+ # file: {
4800
+ # data: "data", # required
4801
+ # type: "PNG", # required, accepts PNG
4802
+ # },
4758
4803
  # },
4759
4804
  # role_arn: "ARN", # required
4760
4805
  # client_token: "ClientToken",
@@ -4776,10 +4821,14 @@ module Aws::IoTSiteWise
4776
4821
  # The AWS administrator's contact email address.
4777
4822
  # @return [String]
4778
4823
  #
4779
- # @!attribute [rw] portal_logo_image_file
4780
- # A logo image to display in the portal. Upload a square,
4781
- # high-resolution image. The image is displayed on a dark background.
4782
- # @return [Types::ImageFile]
4824
+ # @!attribute [rw] portal_logo_image
4825
+ # Contains an image that is one of the following:
4826
+ #
4827
+ # * An image file. Choose this option to upload a new image.
4828
+ #
4829
+ # * The ID of an existing image. Choose this option to keep an
4830
+ # existing image.
4831
+ # @return [Types::Image]
4783
4832
  #
4784
4833
  # @!attribute [rw] role_arn
4785
4834
  # The [ARN][1] of a service role that allows the portal's users to
@@ -4807,7 +4856,7 @@ module Aws::IoTSiteWise
4807
4856
  :portal_name,
4808
4857
  :portal_description,
4809
4858
  :portal_contact_email,
4810
- :portal_logo_image_file,
4859
+ :portal_logo_image,
4811
4860
  :role_arn,
4812
4861
  :client_token)
4813
4862
  include Aws::Structure
@@ -4815,7 +4864,7 @@ module Aws::IoTSiteWise
4815
4864
 
4816
4865
  # @!attribute [rw] portal_status
4817
4866
  # The status of the portal, which contains a state (`UPDATING` after
4818
- # successfully calling this action) and any error message.
4867
+ # successfully calling this operation) and any error message.
4819
4868
  # @return [Types::PortalStatus]
4820
4869
  #
4821
4870
  class UpdatePortalResponse < Struct.new(
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.2.0
4
+ version: 1.3.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: 2020-05-12 00:00:00.000000000 Z
11
+ date: 2020-05-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core