aws-sdk-iot 1.150.0 → 1.152.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 +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-iot/client.rb +141 -16
- data/lib/aws-sdk-iot/client_api.rb +59 -0
- data/lib/aws-sdk-iot/types.rb +90 -0
- data/lib/aws-sdk-iot.rb +1 -1
- data/sig/client.rbs +24 -0
- data/sig/types.rbs +29 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4135b37136c6092d1dc81ecc0463704bfc78c1ae528639b814c4f735154dd325
|
4
|
+
data.tar.gz: e01f0b474152be1929325a6c25800c5037b9b030513a2535bbd48c9e2a955a47
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ea7354d3d9c3d71866391a606e4a651f94e1ee19fde3709b6da663a7173b6e25817d9e8f92a715976644ed0aeff02ea3eb990a7370a20a342acbdcacd4608217
|
7
|
+
data.tar.gz: 67f291bf2201e62880f7be861079a18a5749bf7204b2cfa36f49fa98dc2a74b06f2c50f7d51ad5f22bb2678b520ff645227bc5a799a657f889c8c55119dba228
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.152.0 (2025-08-04)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.151.0 (2025-07-31)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - This release allows AWS IoT Core users to use their own AWS KMS keys for data protection
|
13
|
+
|
4
14
|
1.150.0 (2025-07-21)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.152.0
|
data/lib/aws-sdk-iot/client.rb
CHANGED
@@ -95,8 +95,8 @@ module Aws::IoT
|
|
95
95
|
# class name or an instance of a plugin class.
|
96
96
|
#
|
97
97
|
# @option options [required, Aws::CredentialProvider] :credentials
|
98
|
-
# Your AWS credentials used for authentication. This can be
|
99
|
-
# following classes:
|
98
|
+
# Your AWS credentials used for authentication. This can be any class that includes and implements
|
99
|
+
# `Aws::CredentialProvider`, or instance of any one of the following classes:
|
100
100
|
#
|
101
101
|
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
102
102
|
# credentials.
|
@@ -124,8 +124,7 @@ module Aws::IoT
|
|
124
124
|
# * `Aws::CognitoIdentityCredentials` - Used for loading credentials
|
125
125
|
# from the Cognito Identity service.
|
126
126
|
#
|
127
|
-
# When `:credentials` are not configured directly, the following
|
128
|
-
# locations will be searched for credentials:
|
127
|
+
# When `:credentials` are not configured directly, the following locations will be searched for credentials:
|
129
128
|
#
|
130
129
|
# * `Aws.config[:credentials]`
|
131
130
|
#
|
@@ -139,12 +138,10 @@ module Aws::IoT
|
|
139
138
|
#
|
140
139
|
# * `~/.aws/config`
|
141
140
|
#
|
142
|
-
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
143
|
-
#
|
144
|
-
#
|
145
|
-
#
|
146
|
-
# fetching can be disabled by setting `ENV['AWS_EC2_METADATA_DISABLED']`
|
147
|
-
# to `true`.
|
141
|
+
# * EC2/ECS IMDS instance profile - When used by default, the timeouts are very aggressive.
|
142
|
+
# Construct and pass an instance of `Aws::InstanceProfileCredentials` or `Aws::ECSCredentials` to
|
143
|
+
# enable retries and extended timeouts. Instance profile credential fetching can be disabled by
|
144
|
+
# setting `ENV['AWS_EC2_METADATA_DISABLED']` to `true`.
|
148
145
|
#
|
149
146
|
# @option options [required, String] :region
|
150
147
|
# The AWS region to connect to. The configured `:region` is
|
@@ -377,8 +374,8 @@ module Aws::IoT
|
|
377
374
|
# `Aws::Telemetry::OTelProvider` for telemetry provider.
|
378
375
|
#
|
379
376
|
# @option options [Aws::TokenProvider] :token_provider
|
380
|
-
# Your Bearer token used for authentication. This can be
|
381
|
-
# following classes:
|
377
|
+
# Your Bearer token used for authentication. This can be any class that includes and implements
|
378
|
+
# `Aws::TokenProvider`, or instance of any one of the following classes:
|
382
379
|
#
|
383
380
|
# * `Aws::StaticTokenProvider` - Used for configuring static, non-refreshing
|
384
381
|
# tokens.
|
@@ -6378,6 +6375,59 @@ module Aws::IoT
|
|
6378
6375
|
req.send_request(options)
|
6379
6376
|
end
|
6380
6377
|
|
6378
|
+
# Retrieves the encryption configuration for resources and data of your
|
6379
|
+
# Amazon Web Services account in Amazon Web Services IoT Core. For more
|
6380
|
+
# information, see [Key management in IoT][1] from the *Amazon Web
|
6381
|
+
# Services IoT Core Developer Guide*.
|
6382
|
+
#
|
6383
|
+
#
|
6384
|
+
#
|
6385
|
+
# [1]: https://docs.aws.amazon.com/iot/latest/developerguide/key-management.html
|
6386
|
+
#
|
6387
|
+
# @return [Types::DescribeEncryptionConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
6388
|
+
#
|
6389
|
+
# * {Types::DescribeEncryptionConfigurationResponse#encryption_type #encryption_type} => String
|
6390
|
+
# * {Types::DescribeEncryptionConfigurationResponse#kms_key_arn #kms_key_arn} => String
|
6391
|
+
# * {Types::DescribeEncryptionConfigurationResponse#kms_access_role_arn #kms_access_role_arn} => String
|
6392
|
+
# * {Types::DescribeEncryptionConfigurationResponse#configuration_details #configuration_details} => Types::ConfigurationDetails
|
6393
|
+
# * {Types::DescribeEncryptionConfigurationResponse#last_modified_date #last_modified_date} => Time
|
6394
|
+
#
|
6395
|
+
#
|
6396
|
+
# @example Example: DescribeEncryptionConfiguration
|
6397
|
+
#
|
6398
|
+
# # DescribeEncryptionConfiguration API operation example
|
6399
|
+
#
|
6400
|
+
# resp = client.describe_encryption_configuration({
|
6401
|
+
# })
|
6402
|
+
#
|
6403
|
+
# resp.to_h outputs the following:
|
6404
|
+
# {
|
6405
|
+
# configuration_details: {
|
6406
|
+
# configuration_status: "HEALTHY",
|
6407
|
+
# },
|
6408
|
+
# encryption_type: "CUSTOMER_MANAGED_KMS_KEY",
|
6409
|
+
# kms_access_role_arn: "arn:aws:iam:us-west-2:111122223333:role/myrole",
|
6410
|
+
# kms_key_arn: "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab",
|
6411
|
+
# last_modified_date: Time.parse("2024-09-26T22:01:02.365000-07:00"),
|
6412
|
+
# }
|
6413
|
+
#
|
6414
|
+
# @example Response structure
|
6415
|
+
#
|
6416
|
+
# resp.encryption_type #=> String, one of "CUSTOMER_MANAGED_KMS_KEY", "AWS_OWNED_KMS_KEY"
|
6417
|
+
# resp.kms_key_arn #=> String
|
6418
|
+
# resp.kms_access_role_arn #=> String
|
6419
|
+
# resp.configuration_details.configuration_status #=> String, one of "HEALTHY", "UNHEALTHY"
|
6420
|
+
# resp.configuration_details.error_code #=> String
|
6421
|
+
# resp.configuration_details.error_message #=> String
|
6422
|
+
# resp.last_modified_date #=> Time
|
6423
|
+
#
|
6424
|
+
# @overload describe_encryption_configuration(params = {})
|
6425
|
+
# @param [Hash] params ({})
|
6426
|
+
def describe_encryption_configuration(params = {}, options = {})
|
6427
|
+
req = build_request(:describe_encryption_configuration, params)
|
6428
|
+
req.send_request(options)
|
6429
|
+
end
|
6430
|
+
|
6381
6431
|
# Returns or creates a unique endpoint specific to the Amazon Web
|
6382
6432
|
# Services account making the call.
|
6383
6433
|
#
|
@@ -14333,15 +14383,39 @@ module Aws::IoT
|
|
14333
14383
|
#
|
14334
14384
|
# You can cancel the transfer until it is acknowledged by the recipient.
|
14335
14385
|
#
|
14336
|
-
# No notification is sent to the transfer destination's account. It
|
14386
|
+
# No notification is sent to the transfer destination's account. It's
|
14337
14387
|
# up to the caller to notify the transfer target.
|
14338
14388
|
#
|
14339
|
-
# The certificate being transferred must not be in the ACTIVE state.
|
14340
|
-
# can use the UpdateCertificate action to deactivate it.
|
14389
|
+
# The certificate being transferred must not be in the `ACTIVE` state.
|
14390
|
+
# You can use the UpdateCertificate action to deactivate it.
|
14341
14391
|
#
|
14342
14392
|
# The certificate must not have any policies attached to it. You can use
|
14343
14393
|
# the DetachPolicy action to detach them.
|
14344
14394
|
#
|
14395
|
+
# **Customer managed key behavior:** When you use a customer managed key
|
14396
|
+
# to secure your data and then transfer the key to a customer in a
|
14397
|
+
# different account using the TransferCertificate operation, the
|
14398
|
+
# certificates will no longer be protected by their customer managed key
|
14399
|
+
# configuration. During the transfer process, certificates are encrypted
|
14400
|
+
# using IoT owned keys.
|
14401
|
+
#
|
14402
|
+
# While a certificate is in the **PENDING\_TRANSFER** state, it's
|
14403
|
+
# always protected by IoT owned keys, regardless of the customer managed
|
14404
|
+
# key configuration of either the source or destination account.
|
14405
|
+
#
|
14406
|
+
# Once the transfer is completed through AcceptCertificateTransfer,
|
14407
|
+
# RejectCertificateTransfer, or CancelCertificateTransfer, the
|
14408
|
+
# certificate will be protected by the customer managed key
|
14409
|
+
# configuration of the account that owns the certificate after the
|
14410
|
+
# transfer operation:
|
14411
|
+
#
|
14412
|
+
# * If the transfer is accepted: The certificate is protected by the
|
14413
|
+
# destination account's customer managed key configuration.
|
14414
|
+
#
|
14415
|
+
# * If the transfer is rejected or cancelled: The certificate is
|
14416
|
+
# protected by the source account's customer managed key
|
14417
|
+
# configuration.
|
14418
|
+
#
|
14345
14419
|
#
|
14346
14420
|
#
|
14347
14421
|
# [1]: https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions
|
@@ -15134,6 +15208,57 @@ module Aws::IoT
|
|
15134
15208
|
req.send_request(options)
|
15135
15209
|
end
|
15136
15210
|
|
15211
|
+
# Updates the encryption configuration. By default, all Amazon Web
|
15212
|
+
# Services IoT Core data at rest is encrypted using Amazon Web Services
|
15213
|
+
# owned keys. Amazon Web Services IoT Core also supports symmetric
|
15214
|
+
# customer managed keys from Amazon Web Services Key Management Service
|
15215
|
+
# (KMS). With customer managed keys, you create, own, and manage the KMS
|
15216
|
+
# keys in your Amazon Web Services account. For more information, see
|
15217
|
+
# [Data encryption][1] in the *Amazon Web Services IoT Core Developer
|
15218
|
+
# Guide*.
|
15219
|
+
#
|
15220
|
+
#
|
15221
|
+
#
|
15222
|
+
# [1]: https://docs.aws.amazon.com/iot/latest/developerguide/data-encryption.html
|
15223
|
+
#
|
15224
|
+
# @option params [required, String] :encryption_type
|
15225
|
+
# The type of the Amazon Web Services Key Management Service (KMS) key.
|
15226
|
+
#
|
15227
|
+
# @option params [String] :kms_key_arn
|
15228
|
+
# The ARN of the customer-managed KMS key.
|
15229
|
+
#
|
15230
|
+
# @option params [String] :kms_access_role_arn
|
15231
|
+
# The Amazon Resource Name (ARN) of the IAM role assumed by Amazon Web
|
15232
|
+
# Services IoT Core to call KMS on behalf of the customer.
|
15233
|
+
#
|
15234
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
15235
|
+
#
|
15236
|
+
#
|
15237
|
+
# @example Example: UpdateEncryptionConfiguration example
|
15238
|
+
#
|
15239
|
+
# # This operation updates the encryption configuration.
|
15240
|
+
#
|
15241
|
+
# resp = client.update_encryption_configuration({
|
15242
|
+
# encryption_type: "CUSTOMER_MANAGED_KMS_KEY",
|
15243
|
+
# kms_access_role_arn: "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab",
|
15244
|
+
# kms_key_arn: "arn:aws:iam:us-west-2:111122223333:role/myrole",
|
15245
|
+
# })
|
15246
|
+
#
|
15247
|
+
# @example Request syntax with placeholder values
|
15248
|
+
#
|
15249
|
+
# resp = client.update_encryption_configuration({
|
15250
|
+
# encryption_type: "CUSTOMER_MANAGED_KMS_KEY", # required, accepts CUSTOMER_MANAGED_KMS_KEY, AWS_OWNED_KMS_KEY
|
15251
|
+
# kms_key_arn: "KmsKeyArn",
|
15252
|
+
# kms_access_role_arn: "KmsAccessRoleArn",
|
15253
|
+
# })
|
15254
|
+
#
|
15255
|
+
# @overload update_encryption_configuration(params = {})
|
15256
|
+
# @param [Hash] params ({})
|
15257
|
+
def update_encryption_configuration(params = {}, options = {})
|
15258
|
+
req = build_request(:update_encryption_configuration, params)
|
15259
|
+
req.send_request(options)
|
15260
|
+
end
|
15261
|
+
|
15137
15262
|
# Updates the event configurations.
|
15138
15263
|
#
|
15139
15264
|
# Requires permission to access the [UpdateEventConfigurations][1]
|
@@ -16421,7 +16546,7 @@ module Aws::IoT
|
|
16421
16546
|
tracer: tracer
|
16422
16547
|
)
|
16423
16548
|
context[:gem_name] = 'aws-sdk-iot'
|
16424
|
-
context[:gem_version] = '1.
|
16549
|
+
context[:gem_version] = '1.152.0'
|
16425
16550
|
Seahorse::Client::Request.new(handlers, context)
|
16426
16551
|
end
|
16427
16552
|
|
@@ -270,6 +270,8 @@ module Aws::IoT
|
|
270
270
|
ConfigName = Shapes::StringShape.new(name: 'ConfigName')
|
271
271
|
ConfigValue = Shapes::StringShape.new(name: 'ConfigValue')
|
272
272
|
Configuration = Shapes::StructureShape.new(name: 'Configuration')
|
273
|
+
ConfigurationDetails = Shapes::StructureShape.new(name: 'ConfigurationDetails')
|
274
|
+
ConfigurationStatus = Shapes::StringShape.new(name: 'ConfigurationStatus')
|
273
275
|
ConfirmTopicRuleDestinationRequest = Shapes::StructureShape.new(name: 'ConfirmTopicRuleDestinationRequest')
|
274
276
|
ConfirmTopicRuleDestinationResponse = Shapes::StructureShape.new(name: 'ConfirmTopicRuleDestinationResponse')
|
275
277
|
ConfirmationToken = Shapes::StringShape.new(name: 'ConfirmationToken')
|
@@ -465,6 +467,8 @@ module Aws::IoT
|
|
465
467
|
DescribeDimensionResponse = Shapes::StructureShape.new(name: 'DescribeDimensionResponse')
|
466
468
|
DescribeDomainConfigurationRequest = Shapes::StructureShape.new(name: 'DescribeDomainConfigurationRequest')
|
467
469
|
DescribeDomainConfigurationResponse = Shapes::StructureShape.new(name: 'DescribeDomainConfigurationResponse')
|
470
|
+
DescribeEncryptionConfigurationRequest = Shapes::StructureShape.new(name: 'DescribeEncryptionConfigurationRequest')
|
471
|
+
DescribeEncryptionConfigurationResponse = Shapes::StructureShape.new(name: 'DescribeEncryptionConfigurationResponse')
|
468
472
|
DescribeEndpointRequest = Shapes::StructureShape.new(name: 'DescribeEndpointRequest')
|
469
473
|
DescribeEndpointResponse = Shapes::StructureShape.new(name: 'DescribeEndpointResponse')
|
470
474
|
DescribeEventConfigurationsRequest = Shapes::StructureShape.new(name: 'DescribeEventConfigurationsRequest')
|
@@ -572,6 +576,7 @@ module Aws::IoT
|
|
572
576
|
EnableTopicRuleRequest = Shapes::StructureShape.new(name: 'EnableTopicRuleRequest')
|
573
577
|
Enabled = Shapes::BooleanShape.new(name: 'Enabled')
|
574
578
|
EnabledBoolean = Shapes::BooleanShape.new(name: 'EnabledBoolean')
|
579
|
+
EncryptionType = Shapes::StringShape.new(name: 'EncryptionType')
|
575
580
|
EndpointAddress = Shapes::StringShape.new(name: 'EndpointAddress')
|
576
581
|
EndpointType = Shapes::StringShape.new(name: 'EndpointType')
|
577
582
|
Environment = Shapes::StringShape.new(name: 'Environment')
|
@@ -756,6 +761,8 @@ module Aws::IoT
|
|
756
761
|
KeyPair = Shapes::StructureShape.new(name: 'KeyPair')
|
757
762
|
KeyValue = Shapes::StringShape.new(name: 'KeyValue')
|
758
763
|
KinesisAction = Shapes::StructureShape.new(name: 'KinesisAction')
|
764
|
+
KmsAccessRoleArn = Shapes::StringShape.new(name: 'KmsAccessRoleArn')
|
765
|
+
KmsKeyArn = Shapes::StringShape.new(name: 'KmsKeyArn')
|
759
766
|
LambdaAction = Shapes::StructureShape.new(name: 'LambdaAction')
|
760
767
|
LaserMaxResults = Shapes::IntegerShape.new(name: 'LaserMaxResults')
|
761
768
|
LastModifiedDate = Shapes::TimestampShape.new(name: 'LastModifiedDate')
|
@@ -1406,6 +1413,8 @@ module Aws::IoT
|
|
1406
1413
|
UpdateDomainConfigurationResponse = Shapes::StructureShape.new(name: 'UpdateDomainConfigurationResponse')
|
1407
1414
|
UpdateDynamicThingGroupRequest = Shapes::StructureShape.new(name: 'UpdateDynamicThingGroupRequest')
|
1408
1415
|
UpdateDynamicThingGroupResponse = Shapes::StructureShape.new(name: 'UpdateDynamicThingGroupResponse')
|
1416
|
+
UpdateEncryptionConfigurationRequest = Shapes::StructureShape.new(name: 'UpdateEncryptionConfigurationRequest')
|
1417
|
+
UpdateEncryptionConfigurationResponse = Shapes::StructureShape.new(name: 'UpdateEncryptionConfigurationResponse')
|
1409
1418
|
UpdateEventConfigurationsRequest = Shapes::StructureShape.new(name: 'UpdateEventConfigurationsRequest')
|
1410
1419
|
UpdateEventConfigurationsResponse = Shapes::StructureShape.new(name: 'UpdateEventConfigurationsResponse')
|
1411
1420
|
UpdateFleetMetricRequest = Shapes::StructureShape.new(name: 'UpdateFleetMetricRequest')
|
@@ -2063,6 +2072,11 @@ module Aws::IoT
|
|
2063
2072
|
Configuration.add_member(:enabled, Shapes::ShapeRef.new(shape: Enabled, location_name: "Enabled"))
|
2064
2073
|
Configuration.struct_class = Types::Configuration
|
2065
2074
|
|
2075
|
+
ConfigurationDetails.add_member(:configuration_status, Shapes::ShapeRef.new(shape: ConfigurationStatus, location_name: "configurationStatus"))
|
2076
|
+
ConfigurationDetails.add_member(:error_code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "errorCode"))
|
2077
|
+
ConfigurationDetails.add_member(:error_message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "errorMessage"))
|
2078
|
+
ConfigurationDetails.struct_class = Types::ConfigurationDetails
|
2079
|
+
|
2066
2080
|
ConfirmTopicRuleDestinationRequest.add_member(:confirmation_token, Shapes::ShapeRef.new(shape: ConfirmationToken, required: true, location: "uri", location_name: "confirmationToken"))
|
2067
2081
|
ConfirmTopicRuleDestinationRequest.struct_class = Types::ConfirmTopicRuleDestinationRequest
|
2068
2082
|
|
@@ -2823,6 +2837,15 @@ module Aws::IoT
|
|
2823
2837
|
DescribeDomainConfigurationResponse.add_member(:client_certificate_config, Shapes::ShapeRef.new(shape: ClientCertificateConfig, location_name: "clientCertificateConfig"))
|
2824
2838
|
DescribeDomainConfigurationResponse.struct_class = Types::DescribeDomainConfigurationResponse
|
2825
2839
|
|
2840
|
+
DescribeEncryptionConfigurationRequest.struct_class = Types::DescribeEncryptionConfigurationRequest
|
2841
|
+
|
2842
|
+
DescribeEncryptionConfigurationResponse.add_member(:encryption_type, Shapes::ShapeRef.new(shape: EncryptionType, location_name: "encryptionType"))
|
2843
|
+
DescribeEncryptionConfigurationResponse.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "kmsKeyArn"))
|
2844
|
+
DescribeEncryptionConfigurationResponse.add_member(:kms_access_role_arn, Shapes::ShapeRef.new(shape: KmsAccessRoleArn, location_name: "kmsAccessRoleArn"))
|
2845
|
+
DescribeEncryptionConfigurationResponse.add_member(:configuration_details, Shapes::ShapeRef.new(shape: ConfigurationDetails, location_name: "configurationDetails"))
|
2846
|
+
DescribeEncryptionConfigurationResponse.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: DateType, location_name: "lastModifiedDate"))
|
2847
|
+
DescribeEncryptionConfigurationResponse.struct_class = Types::DescribeEncryptionConfigurationResponse
|
2848
|
+
|
2826
2849
|
DescribeEndpointRequest.add_member(:endpoint_type, Shapes::ShapeRef.new(shape: EndpointType, location: "querystring", location_name: "endpointType"))
|
2827
2850
|
DescribeEndpointRequest.struct_class = Types::DescribeEndpointRequest
|
2828
2851
|
|
@@ -5421,6 +5444,13 @@ module Aws::IoT
|
|
5421
5444
|
UpdateDynamicThingGroupResponse.add_member(:version, Shapes::ShapeRef.new(shape: Version, location_name: "version"))
|
5422
5445
|
UpdateDynamicThingGroupResponse.struct_class = Types::UpdateDynamicThingGroupResponse
|
5423
5446
|
|
5447
|
+
UpdateEncryptionConfigurationRequest.add_member(:encryption_type, Shapes::ShapeRef.new(shape: EncryptionType, required: true, location_name: "encryptionType"))
|
5448
|
+
UpdateEncryptionConfigurationRequest.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "kmsKeyArn"))
|
5449
|
+
UpdateEncryptionConfigurationRequest.add_member(:kms_access_role_arn, Shapes::ShapeRef.new(shape: KmsAccessRoleArn, location_name: "kmsAccessRoleArn"))
|
5450
|
+
UpdateEncryptionConfigurationRequest.struct_class = Types::UpdateEncryptionConfigurationRequest
|
5451
|
+
|
5452
|
+
UpdateEncryptionConfigurationResponse.struct_class = Types::UpdateEncryptionConfigurationResponse
|
5453
|
+
|
5424
5454
|
UpdateEventConfigurationsRequest.add_member(:event_configurations, Shapes::ShapeRef.new(shape: EventConfigurations, location_name: "eventConfigurations"))
|
5425
5455
|
UpdateEventConfigurationsRequest.struct_class = Types::UpdateEventConfigurationsRequest
|
5426
5456
|
|
@@ -6351,6 +6381,7 @@ module Aws::IoT
|
|
6351
6381
|
o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
|
6352
6382
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
6353
6383
|
o.errors << Shapes::ShapeRef.new(shape: ConflictingResourceUpdateException)
|
6384
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
6354
6385
|
end)
|
6355
6386
|
|
6356
6387
|
api.add_operation(:create_topic_rule_destination, Seahorse::Model::Operation.new.tap do |o|
|
@@ -6364,6 +6395,7 @@ module Aws::IoT
|
|
6364
6395
|
o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
|
6365
6396
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
6366
6397
|
o.errors << Shapes::ShapeRef.new(shape: ConflictingResourceUpdateException)
|
6398
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
6367
6399
|
end)
|
6368
6400
|
|
6369
6401
|
api.add_operation(:delete_account_audit_configuration, Seahorse::Model::Operation.new.tap do |o|
|
@@ -7044,6 +7076,19 @@ module Aws::IoT
|
|
7044
7076
|
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
7045
7077
|
end)
|
7046
7078
|
|
7079
|
+
api.add_operation(:describe_encryption_configuration, Seahorse::Model::Operation.new.tap do |o|
|
7080
|
+
o.name = "DescribeEncryptionConfiguration"
|
7081
|
+
o.http_method = "GET"
|
7082
|
+
o.http_request_uri = "/encryption-configuration"
|
7083
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeEncryptionConfigurationRequest)
|
7084
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeEncryptionConfigurationResponse)
|
7085
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
7086
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
7087
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
7088
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
7089
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
7090
|
+
end)
|
7091
|
+
|
7047
7092
|
api.add_operation(:describe_endpoint, Seahorse::Model::Operation.new.tap do |o|
|
7048
7093
|
o.name = "DescribeEndpoint"
|
7049
7094
|
o.http_method = "GET"
|
@@ -8814,6 +8859,7 @@ module Aws::IoT
|
|
8814
8859
|
o.errors << Shapes::ShapeRef.new(shape: InternalException)
|
8815
8860
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
8816
8861
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
8862
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
8817
8863
|
o[:pager] = Aws::Pager.new(
|
8818
8864
|
limit_key: "max_results",
|
8819
8865
|
tokens: {
|
@@ -9361,6 +9407,19 @@ module Aws::IoT
|
|
9361
9407
|
o.errors << Shapes::ShapeRef.new(shape: InvalidQueryException)
|
9362
9408
|
end)
|
9363
9409
|
|
9410
|
+
api.add_operation(:update_encryption_configuration, Seahorse::Model::Operation.new.tap do |o|
|
9411
|
+
o.name = "UpdateEncryptionConfiguration"
|
9412
|
+
o.http_method = "PATCH"
|
9413
|
+
o.http_request_uri = "/encryption-configuration"
|
9414
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateEncryptionConfigurationRequest)
|
9415
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateEncryptionConfigurationResponse)
|
9416
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
9417
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
9418
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
9419
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
9420
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
9421
|
+
end)
|
9422
|
+
|
9364
9423
|
api.add_operation(:update_event_configurations, Seahorse::Model::Operation.new.tap do |o|
|
9365
9424
|
o.name = "UpdateEventConfigurations"
|
9366
9425
|
o.http_method = "PATCH"
|
data/lib/aws-sdk-iot/types.rb
CHANGED
@@ -2456,6 +2456,35 @@ module Aws::IoT
|
|
2456
2456
|
include Aws::Structure
|
2457
2457
|
end
|
2458
2458
|
|
2459
|
+
# The encryption configuration details that include the status
|
2460
|
+
# information of the Amazon Web Services Key Management Service (KMS)
|
2461
|
+
# key and the KMS access role.
|
2462
|
+
#
|
2463
|
+
# @!attribute [rw] configuration_status
|
2464
|
+
# The health status of KMS key and KMS access role. If either KMS key
|
2465
|
+
# or KMS access role is `UNHEALTHY`, the return value will be
|
2466
|
+
# `UNHEALTHY`. To use a customer-managed KMS key, the value of
|
2467
|
+
# `configurationStatus` must be `HEALTHY`.
|
2468
|
+
# @return [String]
|
2469
|
+
#
|
2470
|
+
# @!attribute [rw] error_code
|
2471
|
+
# The error code that indicates either the KMS key or the KMS access
|
2472
|
+
# role is `UNHEALTHY`. Valid values: `KMS_KEY_VALIDATION_ERROR` and
|
2473
|
+
# `ROLE_VALIDATION_ERROR`.
|
2474
|
+
# @return [String]
|
2475
|
+
#
|
2476
|
+
# @!attribute [rw] error_message
|
2477
|
+
# The detailed error message that corresponds to the `errorCode`.
|
2478
|
+
# @return [String]
|
2479
|
+
#
|
2480
|
+
class ConfigurationDetails < Struct.new(
|
2481
|
+
:configuration_status,
|
2482
|
+
:error_code,
|
2483
|
+
:error_message)
|
2484
|
+
SENSITIVE = []
|
2485
|
+
include Aws::Structure
|
2486
|
+
end
|
2487
|
+
|
2459
2488
|
# @!attribute [rw] confirmation_token
|
2460
2489
|
# The token used to confirm ownership or access to the topic rule
|
2461
2490
|
# confirmation URL.
|
@@ -6089,6 +6118,43 @@ module Aws::IoT
|
|
6089
6118
|
include Aws::Structure
|
6090
6119
|
end
|
6091
6120
|
|
6121
|
+
# @api private
|
6122
|
+
#
|
6123
|
+
class DescribeEncryptionConfigurationRequest < Aws::EmptyStructure; end
|
6124
|
+
|
6125
|
+
# @!attribute [rw] encryption_type
|
6126
|
+
# The type of the Amazon Web Services Key Management Service (KMS)
|
6127
|
+
# key.
|
6128
|
+
# @return [String]
|
6129
|
+
#
|
6130
|
+
# @!attribute [rw] kms_key_arn
|
6131
|
+
# The Amazon Resource Name (ARN) of the IAM role assumed by Amazon Web
|
6132
|
+
# Services IoT Core to call KMS on behalf of the customer.
|
6133
|
+
# @return [String]
|
6134
|
+
#
|
6135
|
+
# @!attribute [rw] kms_access_role_arn
|
6136
|
+
# The ARN of the customer-managed KMS key.
|
6137
|
+
# @return [String]
|
6138
|
+
#
|
6139
|
+
# @!attribute [rw] configuration_details
|
6140
|
+
# The encryption configuration details that include the status
|
6141
|
+
# information of the KMS key and the KMS access role.
|
6142
|
+
# @return [Types::ConfigurationDetails]
|
6143
|
+
#
|
6144
|
+
# @!attribute [rw] last_modified_date
|
6145
|
+
# The date when encryption configuration is last updated.
|
6146
|
+
# @return [Time]
|
6147
|
+
#
|
6148
|
+
class DescribeEncryptionConfigurationResponse < Struct.new(
|
6149
|
+
:encryption_type,
|
6150
|
+
:kms_key_arn,
|
6151
|
+
:kms_access_role_arn,
|
6152
|
+
:configuration_details,
|
6153
|
+
:last_modified_date)
|
6154
|
+
SENSITIVE = []
|
6155
|
+
include Aws::Structure
|
6156
|
+
end
|
6157
|
+
|
6092
6158
|
# The input for the DescribeEndpoint operation.
|
6093
6159
|
#
|
6094
6160
|
# @!attribute [rw] endpoint_type
|
@@ -17716,6 +17782,30 @@ module Aws::IoT
|
|
17716
17782
|
include Aws::Structure
|
17717
17783
|
end
|
17718
17784
|
|
17785
|
+
# @!attribute [rw] encryption_type
|
17786
|
+
# The type of the Amazon Web Services Key Management Service (KMS)
|
17787
|
+
# key.
|
17788
|
+
# @return [String]
|
17789
|
+
#
|
17790
|
+
# @!attribute [rw] kms_key_arn
|
17791
|
+
# The ARN of the customer-managed KMS key.
|
17792
|
+
# @return [String]
|
17793
|
+
#
|
17794
|
+
# @!attribute [rw] kms_access_role_arn
|
17795
|
+
# The Amazon Resource Name (ARN) of the IAM role assumed by Amazon Web
|
17796
|
+
# Services IoT Core to call KMS on behalf of the customer.
|
17797
|
+
# @return [String]
|
17798
|
+
#
|
17799
|
+
class UpdateEncryptionConfigurationRequest < Struct.new(
|
17800
|
+
:encryption_type,
|
17801
|
+
:kms_key_arn,
|
17802
|
+
:kms_access_role_arn)
|
17803
|
+
SENSITIVE = []
|
17804
|
+
include Aws::Structure
|
17805
|
+
end
|
17806
|
+
|
17807
|
+
class UpdateEncryptionConfigurationResponse < Aws::EmptyStructure; end
|
17808
|
+
|
17719
17809
|
# @!attribute [rw] event_configurations
|
17720
17810
|
# The new event configuration values.
|
17721
17811
|
# @return [Hash<String,Types::Configuration>]
|
data/lib/aws-sdk-iot.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -2200,6 +2200,19 @@ module Aws
|
|
2200
2200
|
) -> _DescribeDomainConfigurationResponseSuccess
|
2201
2201
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeDomainConfigurationResponseSuccess
|
2202
2202
|
|
2203
|
+
interface _DescribeEncryptionConfigurationResponseSuccess
|
2204
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeEncryptionConfigurationResponse]
|
2205
|
+
def encryption_type: () -> ("CUSTOMER_MANAGED_KMS_KEY" | "AWS_OWNED_KMS_KEY")
|
2206
|
+
def kms_key_arn: () -> ::String
|
2207
|
+
def kms_access_role_arn: () -> ::String
|
2208
|
+
def configuration_details: () -> Types::ConfigurationDetails
|
2209
|
+
def last_modified_date: () -> ::Time
|
2210
|
+
end
|
2211
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoT/Client.html#describe_encryption_configuration-instance_method
|
2212
|
+
def describe_encryption_configuration: (
|
2213
|
+
) -> _DescribeEncryptionConfigurationResponseSuccess
|
2214
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeEncryptionConfigurationResponseSuccess
|
2215
|
+
|
2203
2216
|
interface _DescribeEndpointResponseSuccess
|
2204
2217
|
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeEndpointResponse]
|
2205
2218
|
def endpoint_address: () -> ::String
|
@@ -4763,6 +4776,17 @@ module Aws
|
|
4763
4776
|
) -> _UpdateDynamicThingGroupResponseSuccess
|
4764
4777
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateDynamicThingGroupResponseSuccess
|
4765
4778
|
|
4779
|
+
interface _UpdateEncryptionConfigurationResponseSuccess
|
4780
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateEncryptionConfigurationResponse]
|
4781
|
+
end
|
4782
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoT/Client.html#update_encryption_configuration-instance_method
|
4783
|
+
def update_encryption_configuration: (
|
4784
|
+
encryption_type: ("CUSTOMER_MANAGED_KMS_KEY" | "AWS_OWNED_KMS_KEY"),
|
4785
|
+
?kms_key_arn: ::String,
|
4786
|
+
?kms_access_role_arn: ::String
|
4787
|
+
) -> _UpdateEncryptionConfigurationResponseSuccess
|
4788
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateEncryptionConfigurationResponseSuccess
|
4789
|
+
|
4766
4790
|
interface _UpdateEventConfigurationsResponseSuccess
|
4767
4791
|
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateEventConfigurationsResponse]
|
4768
4792
|
end
|
data/sig/types.rbs
CHANGED
@@ -664,6 +664,13 @@ module Aws::IoT
|
|
664
664
|
SENSITIVE: []
|
665
665
|
end
|
666
666
|
|
667
|
+
class ConfigurationDetails
|
668
|
+
attr_accessor configuration_status: ("HEALTHY" | "UNHEALTHY")
|
669
|
+
attr_accessor error_code: ::String
|
670
|
+
attr_accessor error_message: ::String
|
671
|
+
SENSITIVE: []
|
672
|
+
end
|
673
|
+
|
667
674
|
class ConfirmTopicRuleDestinationRequest
|
668
675
|
attr_accessor confirmation_token: ::String
|
669
676
|
SENSITIVE: []
|
@@ -1720,6 +1727,18 @@ module Aws::IoT
|
|
1720
1727
|
SENSITIVE: []
|
1721
1728
|
end
|
1722
1729
|
|
1730
|
+
class DescribeEncryptionConfigurationRequest < Aws::EmptyStructure
|
1731
|
+
end
|
1732
|
+
|
1733
|
+
class DescribeEncryptionConfigurationResponse
|
1734
|
+
attr_accessor encryption_type: ("CUSTOMER_MANAGED_KMS_KEY" | "AWS_OWNED_KMS_KEY")
|
1735
|
+
attr_accessor kms_key_arn: ::String
|
1736
|
+
attr_accessor kms_access_role_arn: ::String
|
1737
|
+
attr_accessor configuration_details: Types::ConfigurationDetails
|
1738
|
+
attr_accessor last_modified_date: ::Time
|
1739
|
+
SENSITIVE: []
|
1740
|
+
end
|
1741
|
+
|
1723
1742
|
class DescribeEndpointRequest
|
1724
1743
|
attr_accessor endpoint_type: ::String
|
1725
1744
|
SENSITIVE: []
|
@@ -5021,6 +5040,16 @@ module Aws::IoT
|
|
5021
5040
|
SENSITIVE: []
|
5022
5041
|
end
|
5023
5042
|
|
5043
|
+
class UpdateEncryptionConfigurationRequest
|
5044
|
+
attr_accessor encryption_type: ("CUSTOMER_MANAGED_KMS_KEY" | "AWS_OWNED_KMS_KEY")
|
5045
|
+
attr_accessor kms_key_arn: ::String
|
5046
|
+
attr_accessor kms_access_role_arn: ::String
|
5047
|
+
SENSITIVE: []
|
5048
|
+
end
|
5049
|
+
|
5050
|
+
class UpdateEncryptionConfigurationResponse < Aws::EmptyStructure
|
5051
|
+
end
|
5052
|
+
|
5024
5053
|
class UpdateEventConfigurationsRequest
|
5025
5054
|
attr_accessor event_configurations: ::Hash[("THING" | "THING_GROUP" | "THING_TYPE" | "THING_GROUP_MEMBERSHIP" | "THING_GROUP_HIERARCHY" | "THING_TYPE_ASSOCIATION" | "JOB" | "JOB_EXECUTION" | "POLICY" | "CERTIFICATE" | "CA_CERTIFICATE"), Types::Configuration]
|
5026
5055
|
SENSITIVE: []
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-iot
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.152.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
@@ -18,7 +18,7 @@ dependencies:
|
|
18
18
|
version: '3'
|
19
19
|
- - ">="
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 3.
|
21
|
+
version: 3.228.0
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -28,7 +28,7 @@ dependencies:
|
|
28
28
|
version: '3'
|
29
29
|
- - ">="
|
30
30
|
- !ruby/object:Gem::Version
|
31
|
-
version: 3.
|
31
|
+
version: 3.228.0
|
32
32
|
- !ruby/object:Gem::Dependency
|
33
33
|
name: aws-sigv4
|
34
34
|
requirement: !ruby/object:Gem::Requirement
|