aws-sdk-iotsitewise 1.14.0 → 1.15.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2cf6d34fa9b2edac25b834a055c94fbcb0b2e558965a1cfc6277661c025aa9d4
4
- data.tar.gz: 127a34845d2c514d2601353c43a2b215732373e90d954c0073c5ded45c95af56
3
+ metadata.gz: ac4b695574efbb800c7b7fb99d8b5df540b14e4667763e13584da1a88124ad44
4
+ data.tar.gz: 65be80a4c8c44ad80e4d2051ecd015ffbd9eedf7fd2d0f9c5c122bb10e92f795
5
5
  SHA512:
6
- metadata.gz: a9986b6a02fd9cfacb321a398d68a1aa9352b0ed9c270e1b6da0ae69b4bc9f3bdc2aafc12bb9daa8b81cd2cc50e5632e103d3991bb8244e92d38fdadd0517e34
7
- data.tar.gz: fc83e7c819f87749a1371796255e27a75da50a0b89c4816f74c4c67add24cbd19b2bfe374779920e6ccf4619ba4b49f7a0c7c98f901e50b4a1a39365f1357ccc
6
+ metadata.gz: 1636c172907f9c13a3707bbe27ba578190c31b4c5e8fe1b93973ad5fe3b093f8229fc119c97cb17f78d1773681871bd8994efbcf86cef49af33162abaaa822d3
7
+ data.tar.gz: 4c6397f8d3188110528769dbcfed58d2e1d6047761c62dd8d96c76e09f4cfcd38706389d851f49981b49bc5dbfd7ce1991b0f12486a8259545865ba22b72da40
@@ -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.14.0'
52
+ GEM_VERSION = '1.15.0'
53
53
 
54
54
  end
@@ -1082,8 +1082,8 @@ module Aws::IoTSiteWise
1082
1082
  # Creates a pre-signed URL to a portal. Use this operation to create
1083
1083
  # URLs to portals that use AWS Identity and Access Management (IAM) to
1084
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.
1085
+ # API to get a URL to that portal. The URL contains an authentication
1086
+ # token that lets the IAM user access the portal.
1087
1087
  #
1088
1088
  # @option params [required, String] :portal_id
1089
1089
  # The ID of the portal to access.
@@ -1091,7 +1091,7 @@ module Aws::IoTSiteWise
1091
1091
  # @option params [Integer] :session_duration_seconds
1092
1092
  # The duration (in seconds) for which the session at the URL is valid.
1093
1093
  #
1094
- # Default: 900 seconds (15 minutes)
1094
+ # Default: 43,200 seconds (12 hours)
1095
1095
  #
1096
1096
  # @return [Types::CreatePresignedPortalUrlResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1097
1097
  #
@@ -1692,6 +1692,36 @@ module Aws::IoTSiteWise
1692
1692
  req.send_request(options)
1693
1693
  end
1694
1694
 
1695
+ # Retrieves information about the default encryption configuration for
1696
+ # the AWS account in the default or specified region. For more
1697
+ # information, see [Key management][1] in the *AWS IoT SiteWise User
1698
+ # Guide*.
1699
+ #
1700
+ #
1701
+ #
1702
+ # [1]: https://docs.aws.amazon.com/iot-sitewise/latest/userguide/key-management.html
1703
+ #
1704
+ # @return [Types::DescribeDefaultEncryptionConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1705
+ #
1706
+ # * {Types::DescribeDefaultEncryptionConfigurationResponse#encryption_type #encryption_type} => String
1707
+ # * {Types::DescribeDefaultEncryptionConfigurationResponse#kms_key_arn #kms_key_arn} => String
1708
+ # * {Types::DescribeDefaultEncryptionConfigurationResponse#configuration_status #configuration_status} => Types::ConfigurationStatus
1709
+ #
1710
+ # @example Response structure
1711
+ #
1712
+ # resp.encryption_type #=> String, one of "SITEWISE_DEFAULT_ENCRYPTION", "KMS_BASED_ENCRYPTION"
1713
+ # resp.kms_key_arn #=> String
1714
+ # resp.configuration_status.state #=> String, one of "ACTIVE", "UPDATE_IN_PROGRESS", "UPDATE_FAILED"
1715
+ # resp.configuration_status.error.code #=> String, one of "VALIDATION_ERROR", "INTERNAL_FAILURE"
1716
+ # resp.configuration_status.error.message #=> String
1717
+ #
1718
+ # @overload describe_default_encryption_configuration(params = {})
1719
+ # @param [Hash] params ({})
1720
+ def describe_default_encryption_configuration(params = {}, options = {})
1721
+ req = build_request(:describe_default_encryption_configuration, params)
1722
+ req.send_request(options)
1723
+ end
1724
+
1695
1725
  # Retrieves information about a gateway.
1696
1726
  #
1697
1727
  # @option params [required, String] :gateway_id
@@ -2753,6 +2783,50 @@ module Aws::IoTSiteWise
2753
2783
  req.send_request(options)
2754
2784
  end
2755
2785
 
2786
+ # Sets the default encryption configuration for the AWS account. For
2787
+ # more information, see [Key management][1] in the *AWS IoT SiteWise
2788
+ # User Guide*.
2789
+ #
2790
+ #
2791
+ #
2792
+ # [1]: https://docs.aws.amazon.com/iot-sitewise/latest/userguide/key-management.html
2793
+ #
2794
+ # @option params [required, String] :encryption_type
2795
+ # The type of encryption used for the encryption configuration.
2796
+ #
2797
+ # @option params [String] :kms_key_id
2798
+ # The Key ID of the customer managed customer master key (CMK) used for
2799
+ # AWS KMS encryption. This is required if you use
2800
+ # `KMS_BASED_ENCRYPTION`.
2801
+ #
2802
+ # @return [Types::PutDefaultEncryptionConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2803
+ #
2804
+ # * {Types::PutDefaultEncryptionConfigurationResponse#encryption_type #encryption_type} => String
2805
+ # * {Types::PutDefaultEncryptionConfigurationResponse#kms_key_arn #kms_key_arn} => String
2806
+ # * {Types::PutDefaultEncryptionConfigurationResponse#configuration_status #configuration_status} => Types::ConfigurationStatus
2807
+ #
2808
+ # @example Request syntax with placeholder values
2809
+ #
2810
+ # resp = client.put_default_encryption_configuration({
2811
+ # encryption_type: "SITEWISE_DEFAULT_ENCRYPTION", # required, accepts SITEWISE_DEFAULT_ENCRYPTION, KMS_BASED_ENCRYPTION
2812
+ # kms_key_id: "KmsKeyId",
2813
+ # })
2814
+ #
2815
+ # @example Response structure
2816
+ #
2817
+ # resp.encryption_type #=> String, one of "SITEWISE_DEFAULT_ENCRYPTION", "KMS_BASED_ENCRYPTION"
2818
+ # resp.kms_key_arn #=> String
2819
+ # resp.configuration_status.state #=> String, one of "ACTIVE", "UPDATE_IN_PROGRESS", "UPDATE_FAILED"
2820
+ # resp.configuration_status.error.code #=> String, one of "VALIDATION_ERROR", "INTERNAL_FAILURE"
2821
+ # resp.configuration_status.error.message #=> String
2822
+ #
2823
+ # @overload put_default_encryption_configuration(params = {})
2824
+ # @param [Hash] params ({})
2825
+ def put_default_encryption_configuration(params = {}, options = {})
2826
+ req = build_request(:put_default_encryption_configuration, params)
2827
+ req.send_request(options)
2828
+ end
2829
+
2756
2830
  # Sets logging options for AWS IoT SiteWise.
2757
2831
  #
2758
2832
  # @option params [required, Types::LoggingOptions] :logging_options
@@ -3417,7 +3491,7 @@ module Aws::IoTSiteWise
3417
3491
  params: params,
3418
3492
  config: config)
3419
3493
  context[:gem_name] = 'aws-sdk-iotsitewise'
3420
- context[:gem_version] = '1.14.0'
3494
+ context[:gem_version] = '1.15.0'
3421
3495
  Seahorse::Client::Request.new(handlers, context)
3422
3496
  end
3423
3497
 
@@ -73,6 +73,9 @@ module Aws::IoTSiteWise
73
73
  CapabilityNamespace = Shapes::StringShape.new(name: 'CapabilityNamespace')
74
74
  CapabilitySyncStatus = Shapes::StringShape.new(name: 'CapabilitySyncStatus')
75
75
  ClientToken = Shapes::StringShape.new(name: 'ClientToken')
76
+ ConfigurationErrorDetails = Shapes::StructureShape.new(name: 'ConfigurationErrorDetails')
77
+ ConfigurationState = Shapes::StringShape.new(name: 'ConfigurationState')
78
+ ConfigurationStatus = Shapes::StructureShape.new(name: 'ConfigurationStatus')
76
79
  ConflictingOperationException = Shapes::StructureShape.new(name: 'ConflictingOperationException')
77
80
  CreateAccessPolicyRequest = Shapes::StructureShape.new(name: 'CreateAccessPolicyRequest')
78
81
  CreateAccessPolicyResponse = Shapes::StructureShape.new(name: 'CreateAccessPolicyResponse')
@@ -117,6 +120,8 @@ module Aws::IoTSiteWise
117
120
  DescribeAssetResponse = Shapes::StructureShape.new(name: 'DescribeAssetResponse')
118
121
  DescribeDashboardRequest = Shapes::StructureShape.new(name: 'DescribeDashboardRequest')
119
122
  DescribeDashboardResponse = Shapes::StructureShape.new(name: 'DescribeDashboardResponse')
123
+ DescribeDefaultEncryptionConfigurationRequest = Shapes::StructureShape.new(name: 'DescribeDefaultEncryptionConfigurationRequest')
124
+ DescribeDefaultEncryptionConfigurationResponse = Shapes::StructureShape.new(name: 'DescribeDefaultEncryptionConfigurationResponse')
120
125
  DescribeGatewayCapabilityConfigurationRequest = Shapes::StructureShape.new(name: 'DescribeGatewayCapabilityConfigurationRequest')
121
126
  DescribeGatewayCapabilityConfigurationResponse = Shapes::StructureShape.new(name: 'DescribeGatewayCapabilityConfigurationResponse')
122
127
  DescribeGatewayRequest = Shapes::StructureShape.new(name: 'DescribeGatewayRequest')
@@ -130,6 +135,7 @@ module Aws::IoTSiteWise
130
135
  Description = Shapes::StringShape.new(name: 'Description')
131
136
  DisassociateAssetsRequest = Shapes::StructureShape.new(name: 'DisassociateAssetsRequest')
132
137
  Email = Shapes::StringShape.new(name: 'Email')
138
+ EncryptionType = Shapes::StringShape.new(name: 'EncryptionType')
133
139
  EntryId = Shapes::StringShape.new(name: 'EntryId')
134
140
  ErrorCode = Shapes::StringShape.new(name: 'ErrorCode')
135
141
  ErrorDetails = Shapes::StructureShape.new(name: 'ErrorDetails')
@@ -165,6 +171,7 @@ module Aws::IoTSiteWise
165
171
  InternalFailureException = Shapes::StructureShape.new(name: 'InternalFailureException')
166
172
  Interval = Shapes::StringShape.new(name: 'Interval')
167
173
  InvalidRequestException = Shapes::StructureShape.new(name: 'InvalidRequestException')
174
+ KmsKeyId = Shapes::StringShape.new(name: 'KmsKeyId')
168
175
  LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
169
176
  ListAccessPoliciesRequest = Shapes::StructureShape.new(name: 'ListAccessPoliciesRequest')
170
177
  ListAccessPoliciesResponse = Shapes::StructureShape.new(name: 'ListAccessPoliciesResponse')
@@ -224,6 +231,8 @@ module Aws::IoTSiteWise
224
231
  PropertyValueStringValue = Shapes::StringShape.new(name: 'PropertyValueStringValue')
225
232
  PutAssetPropertyValueEntries = Shapes::ListShape.new(name: 'PutAssetPropertyValueEntries')
226
233
  PutAssetPropertyValueEntry = Shapes::StructureShape.new(name: 'PutAssetPropertyValueEntry')
234
+ PutDefaultEncryptionConfigurationRequest = Shapes::StructureShape.new(name: 'PutDefaultEncryptionConfigurationRequest')
235
+ PutDefaultEncryptionConfigurationResponse = Shapes::StructureShape.new(name: 'PutDefaultEncryptionConfigurationResponse')
227
236
  PutLoggingOptionsRequest = Shapes::StructureShape.new(name: 'PutLoggingOptionsRequest')
228
237
  PutLoggingOptionsResponse = Shapes::StructureShape.new(name: 'PutLoggingOptionsResponse')
229
238
  Qualities = Shapes::ListShape.new(name: 'Qualities')
@@ -458,6 +467,14 @@ module Aws::IoTSiteWise
458
467
  BatchPutAssetPropertyValueResponse.add_member(:error_entries, Shapes::ShapeRef.new(shape: BatchPutAssetPropertyErrorEntries, required: true, location_name: "errorEntries"))
459
468
  BatchPutAssetPropertyValueResponse.struct_class = Types::BatchPutAssetPropertyValueResponse
460
469
 
470
+ ConfigurationErrorDetails.add_member(:code, Shapes::ShapeRef.new(shape: ErrorCode, required: true, location_name: "code"))
471
+ ConfigurationErrorDetails.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, required: true, location_name: "message"))
472
+ ConfigurationErrorDetails.struct_class = Types::ConfigurationErrorDetails
473
+
474
+ ConfigurationStatus.add_member(:state, Shapes::ShapeRef.new(shape: ConfigurationState, required: true, location_name: "state"))
475
+ ConfigurationStatus.add_member(:error, Shapes::ShapeRef.new(shape: ConfigurationErrorDetails, location_name: "error"))
476
+ ConfigurationStatus.struct_class = Types::ConfigurationStatus
477
+
461
478
  ConflictingOperationException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, required: true, location_name: "message"))
462
479
  ConflictingOperationException.add_member(:resource_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location_name: "resourceId"))
463
480
  ConflictingOperationException.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location_name: "resourceArn"))
@@ -668,6 +685,13 @@ module Aws::IoTSiteWise
668
685
  DescribeDashboardResponse.add_member(:dashboard_last_update_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "dashboardLastUpdateDate"))
669
686
  DescribeDashboardResponse.struct_class = Types::DescribeDashboardResponse
670
687
 
688
+ DescribeDefaultEncryptionConfigurationRequest.struct_class = Types::DescribeDefaultEncryptionConfigurationRequest
689
+
690
+ DescribeDefaultEncryptionConfigurationResponse.add_member(:encryption_type, Shapes::ShapeRef.new(shape: EncryptionType, required: true, location_name: "encryptionType"))
691
+ DescribeDefaultEncryptionConfigurationResponse.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "kmsKeyArn"))
692
+ DescribeDefaultEncryptionConfigurationResponse.add_member(:configuration_status, Shapes::ShapeRef.new(shape: ConfigurationStatus, required: true, location_name: "configurationStatus"))
693
+ DescribeDefaultEncryptionConfigurationResponse.struct_class = Types::DescribeDefaultEncryptionConfigurationResponse
694
+
671
695
  DescribeGatewayCapabilityConfigurationRequest.add_member(:gateway_id, Shapes::ShapeRef.new(shape: ID, required: true, location: "uri", location_name: "gatewayId"))
672
696
  DescribeGatewayCapabilityConfigurationRequest.add_member(:capability_namespace, Shapes::ShapeRef.new(shape: CapabilityNamespace, required: true, location: "uri", location_name: "capabilityNamespace"))
673
697
  DescribeGatewayCapabilityConfigurationRequest.struct_class = Types::DescribeGatewayCapabilityConfigurationRequest
@@ -1003,6 +1027,15 @@ module Aws::IoTSiteWise
1003
1027
  PutAssetPropertyValueEntry.add_member(:property_values, Shapes::ShapeRef.new(shape: AssetPropertyValues, required: true, location_name: "propertyValues"))
1004
1028
  PutAssetPropertyValueEntry.struct_class = Types::PutAssetPropertyValueEntry
1005
1029
 
1030
+ PutDefaultEncryptionConfigurationRequest.add_member(:encryption_type, Shapes::ShapeRef.new(shape: EncryptionType, required: true, location_name: "encryptionType"))
1031
+ PutDefaultEncryptionConfigurationRequest.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "kmsKeyId"))
1032
+ PutDefaultEncryptionConfigurationRequest.struct_class = Types::PutDefaultEncryptionConfigurationRequest
1033
+
1034
+ PutDefaultEncryptionConfigurationResponse.add_member(:encryption_type, Shapes::ShapeRef.new(shape: EncryptionType, required: true, location_name: "encryptionType"))
1035
+ PutDefaultEncryptionConfigurationResponse.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "kmsKeyArn"))
1036
+ PutDefaultEncryptionConfigurationResponse.add_member(:configuration_status, Shapes::ShapeRef.new(shape: ConfigurationStatus, required: true, location_name: "configurationStatus"))
1037
+ PutDefaultEncryptionConfigurationResponse.struct_class = Types::PutDefaultEncryptionConfigurationResponse
1038
+
1006
1039
  PutLoggingOptionsRequest.add_member(:logging_options, Shapes::ShapeRef.new(shape: LoggingOptions, required: true, location_name: "loggingOptions"))
1007
1040
  PutLoggingOptionsRequest.struct_class = Types::PutLoggingOptionsRequest
1008
1041
 
@@ -1549,6 +1582,17 @@ module Aws::IoTSiteWise
1549
1582
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1550
1583
  end)
1551
1584
 
1585
+ api.add_operation(:describe_default_encryption_configuration, Seahorse::Model::Operation.new.tap do |o|
1586
+ o.name = "DescribeDefaultEncryptionConfiguration"
1587
+ o.http_method = "GET"
1588
+ o.http_request_uri = "/configuration/account/encryption"
1589
+ o.input = Shapes::ShapeRef.new(shape: DescribeDefaultEncryptionConfigurationRequest)
1590
+ o.output = Shapes::ShapeRef.new(shape: DescribeDefaultEncryptionConfigurationResponse)
1591
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1592
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
1593
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1594
+ end)
1595
+
1552
1596
  api.add_operation(:describe_gateway, Seahorse::Model::Operation.new.tap do |o|
1553
1597
  o.name = "DescribeGateway"
1554
1598
  o.http_method = "GET"
@@ -1894,6 +1938,19 @@ module Aws::IoTSiteWise
1894
1938
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1895
1939
  end)
1896
1940
 
1941
+ api.add_operation(:put_default_encryption_configuration, Seahorse::Model::Operation.new.tap do |o|
1942
+ o.name = "PutDefaultEncryptionConfiguration"
1943
+ o.http_method = "POST"
1944
+ o.http_request_uri = "/configuration/account/encryption"
1945
+ o.input = Shapes::ShapeRef.new(shape: PutDefaultEncryptionConfigurationRequest)
1946
+ o.output = Shapes::ShapeRef.new(shape: PutDefaultEncryptionConfigurationResponse)
1947
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1948
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
1949
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1950
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1951
+ o.errors << Shapes::ShapeRef.new(shape: ConflictingOperationException)
1952
+ end)
1953
+
1897
1954
  api.add_operation(:put_logging_options, Seahorse::Model::Operation.new.tap do |o|
1898
1955
  o.name = "PutLoggingOptions"
1899
1956
  o.http_method = "PUT"
@@ -937,6 +937,32 @@ module Aws::IoTSiteWise
937
937
  include Aws::Structure
938
938
  end
939
939
 
940
+ # @!attribute [rw] code
941
+ # @return [String]
942
+ #
943
+ # @!attribute [rw] message
944
+ # @return [String]
945
+ #
946
+ class ConfigurationErrorDetails < Struct.new(
947
+ :code,
948
+ :message)
949
+ SENSITIVE = []
950
+ include Aws::Structure
951
+ end
952
+
953
+ # @!attribute [rw] state
954
+ # @return [String]
955
+ #
956
+ # @!attribute [rw] error
957
+ # @return [Types::ConfigurationErrorDetails]
958
+ #
959
+ class ConfigurationStatus < Struct.new(
960
+ :state,
961
+ :error)
962
+ SENSITIVE = []
963
+ include Aws::Structure
964
+ end
965
+
940
966
  # Your request has conflicting operations. This can occur if you're
941
967
  # trying to perform more than one operation on the same resource at the
942
968
  # same time.
@@ -1603,7 +1629,7 @@ module Aws::IoTSiteWise
1603
1629
  # @!attribute [rw] session_duration_seconds
1604
1630
  # The duration (in seconds) for which the session at the URL is valid.
1605
1631
  #
1606
- # Default: 900 seconds (15 minutes)
1632
+ # Default: 43,200 seconds (12 hours)
1607
1633
  # @return [Integer]
1608
1634
  #
1609
1635
  class CreatePresignedPortalUrlRequest < Struct.new(
@@ -1615,10 +1641,10 @@ module Aws::IoTSiteWise
1615
1641
 
1616
1642
  # @!attribute [rw] presigned_portal_url
1617
1643
  # The pre-signed URL to the portal. The URL contains the portal ID and
1618
- # a session token that lets you access the portal. The URL has the
1619
- # following format.
1644
+ # an authentication token that lets you access the portal. The URL has
1645
+ # the following format.
1620
1646
  #
1621
- # `https://<portal-id>.app.iotsitewise.aws/auth?token=<encrypted-token>`
1647
+ # `https://<portal-id>.app.iotsitewise.aws/iam?token=<encrypted-token>`
1622
1648
  # @return [String]
1623
1649
  #
1624
1650
  class CreatePresignedPortalUrlResponse < Struct.new(
@@ -2298,6 +2324,33 @@ module Aws::IoTSiteWise
2298
2324
  include Aws::Structure
2299
2325
  end
2300
2326
 
2327
+ # @api private
2328
+ #
2329
+ class DescribeDefaultEncryptionConfigurationRequest < Aws::EmptyStructure; end
2330
+
2331
+ # @!attribute [rw] encryption_type
2332
+ # The type of encryption used for the encryption configuration.
2333
+ # @return [String]
2334
+ #
2335
+ # @!attribute [rw] kms_key_arn
2336
+ # The key ARN of the customer managed customer master key (CMK) used
2337
+ # for AWS KMS encryption if you use `KMS_BASED_ENCRYPTION`.
2338
+ # @return [String]
2339
+ #
2340
+ # @!attribute [rw] configuration_status
2341
+ # The status of the account configuration. This contains the
2342
+ # `ConfigurationState`. If there's an error, it also contains the
2343
+ # `ErrorDetails`.
2344
+ # @return [Types::ConfigurationStatus]
2345
+ #
2346
+ class DescribeDefaultEncryptionConfigurationResponse < Struct.new(
2347
+ :encryption_type,
2348
+ :kms_key_arn,
2349
+ :configuration_status)
2350
+ SENSITIVE = []
2351
+ include Aws::Structure
2352
+ end
2353
+
2301
2354
  # @note When making an API call, you may pass DescribeGatewayCapabilityConfigurationRequest
2302
2355
  # data as a hash:
2303
2356
  #
@@ -4370,6 +4423,54 @@ module Aws::IoTSiteWise
4370
4423
  include Aws::Structure
4371
4424
  end
4372
4425
 
4426
+ # @note When making an API call, you may pass PutDefaultEncryptionConfigurationRequest
4427
+ # data as a hash:
4428
+ #
4429
+ # {
4430
+ # encryption_type: "SITEWISE_DEFAULT_ENCRYPTION", # required, accepts SITEWISE_DEFAULT_ENCRYPTION, KMS_BASED_ENCRYPTION
4431
+ # kms_key_id: "KmsKeyId",
4432
+ # }
4433
+ #
4434
+ # @!attribute [rw] encryption_type
4435
+ # The type of encryption used for the encryption configuration.
4436
+ # @return [String]
4437
+ #
4438
+ # @!attribute [rw] kms_key_id
4439
+ # The Key ID of the customer managed customer master key (CMK) used
4440
+ # for AWS KMS encryption. This is required if you use
4441
+ # `KMS_BASED_ENCRYPTION`.
4442
+ # @return [String]
4443
+ #
4444
+ class PutDefaultEncryptionConfigurationRequest < Struct.new(
4445
+ :encryption_type,
4446
+ :kms_key_id)
4447
+ SENSITIVE = []
4448
+ include Aws::Structure
4449
+ end
4450
+
4451
+ # @!attribute [rw] encryption_type
4452
+ # The type of encryption used for the encryption configuration.
4453
+ # @return [String]
4454
+ #
4455
+ # @!attribute [rw] kms_key_arn
4456
+ # The Key ARN of the AWS KMS CMK used for AWS KMS encryption if you
4457
+ # use `KMS_BASED_ENCRYPTION`.
4458
+ # @return [String]
4459
+ #
4460
+ # @!attribute [rw] configuration_status
4461
+ # The status of the account configuration. This contains the
4462
+ # `ConfigurationState`. If there is an error, it also contains the
4463
+ # `ErrorDetails`.
4464
+ # @return [Types::ConfigurationStatus]
4465
+ #
4466
+ class PutDefaultEncryptionConfigurationResponse < Struct.new(
4467
+ :encryption_type,
4468
+ :kms_key_arn,
4469
+ :configuration_status)
4470
+ SENSITIVE = []
4471
+ include Aws::Structure
4472
+ end
4473
+
4373
4474
  # @note When making an API call, you may pass PutLoggingOptionsRequest
4374
4475
  # data as a hash:
4375
4476
  #
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.14.0
4
+ version: 1.15.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-11-16 00:00:00.000000000 Z
11
+ date: 2020-11-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core