aws-sdk-iot 1.103.0 → 1.105.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-iot/client.rb +27 -10
- data/lib/aws-sdk-iot/client_api.rb +8 -0
- data/lib/aws-sdk-iot/types.rb +46 -15
- data/lib/aws-sdk-iot.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 85b050f9d5510e110ef2135de20f74ffcedb6db8369a97ba51685c19136ca446
|
4
|
+
data.tar.gz: 9f1208608deb16d1c2e99aae5ca5d2354a24e8a83e97a848ba6ea84a4f8b6e61
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 673a9e77ba012796c6d375c5c40765bbd11351030c1648509a767e0ebc8340cfc1711322e60eeb16e6d60fffba57ecd1cad8745b4aea6978d6e55251b96a7b2e
|
7
|
+
data.tar.gz: c684b974509a0a8b76646e9804c6b915bba76ae5b1cfce4745c6767e0213e07422348d689654a2cb491416730e418fb8f41c741fea6aeb604e5732d3b9e03473
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.105.0 (2023-05-31)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.104.0 (2023-04-28)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - This release allows AWS IoT Core users to specify a TLS security policy when creating and updating AWS IoT Domain Configurations.
|
13
|
+
|
4
14
|
1.103.0 (2023-04-20)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.105.0
|
data/lib/aws-sdk-iot/client.rb
CHANGED
@@ -275,6 +275,11 @@ module Aws::IoT
|
|
275
275
|
# in the future.
|
276
276
|
#
|
277
277
|
#
|
278
|
+
# @option options [String] :sdk_ua_app_id
|
279
|
+
# A unique and opaque application ID that is appended to the
|
280
|
+
# User-Agent header as app/<sdk_ua_app_id>. It should have a
|
281
|
+
# maximum length of 50.
|
282
|
+
#
|
278
283
|
# @option options [String] :secret_access_key
|
279
284
|
#
|
280
285
|
# @option options [String] :session_token
|
@@ -1482,6 +1487,9 @@ module Aws::IoT
|
|
1482
1487
|
#
|
1483
1488
|
# </note>
|
1484
1489
|
#
|
1490
|
+
# @option params [Types::TlsConfig] :tls_config
|
1491
|
+
# An object that specifies the TLS configuration for a domain.
|
1492
|
+
#
|
1485
1493
|
# @return [Types::CreateDomainConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1486
1494
|
#
|
1487
1495
|
# * {Types::CreateDomainConfigurationResponse#domain_configuration_name #domain_configuration_name} => String
|
@@ -1505,6 +1513,9 @@ module Aws::IoT
|
|
1505
1513
|
# value: "TagValue",
|
1506
1514
|
# },
|
1507
1515
|
# ],
|
1516
|
+
# tls_config: {
|
1517
|
+
# security_policy: "SecurityPolicy",
|
1518
|
+
# },
|
1508
1519
|
# })
|
1509
1520
|
#
|
1510
1521
|
# @example Response structure
|
@@ -1710,20 +1721,18 @@ module Aws::IoT
|
|
1710
1721
|
# A list of things and thing groups to which the job should be sent.
|
1711
1722
|
#
|
1712
1723
|
# @option params [String] :document_source
|
1713
|
-
# An S3 link to the job document.
|
1714
|
-
# for
|
1724
|
+
# An S3 link, or S3 object URL, to the job document. The link is an
|
1725
|
+
# Amazon S3 object URL and is required if you don't specify a value for
|
1726
|
+
# `document`.
|
1715
1727
|
#
|
1716
|
-
#
|
1717
|
-
#
|
1728
|
+
# For example, `--document-source
|
1729
|
+
# https://s3.region-code.amazonaws.com/example-firmware/device-firmware.1.0`.
|
1718
1730
|
#
|
1719
|
-
#
|
1731
|
+
# For more information, see [Methods for accessing a bucket][1].
|
1720
1732
|
#
|
1721
|
-
# `$\{aws:iot:s3-presigned-url:https://s3.amazonaws.com/bucket/key\}`
|
1722
1733
|
#
|
1723
|
-
# where *bucket* is your bucket name and *key* is the object in the
|
1724
|
-
# bucket to which you are linking.
|
1725
1734
|
#
|
1726
|
-
#
|
1735
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-bucket-intro.html
|
1727
1736
|
#
|
1728
1737
|
# @option params [String] :document
|
1729
1738
|
# The job document. Required if you don't specify a value for
|
@@ -5408,6 +5417,7 @@ module Aws::IoT
|
|
5408
5417
|
# * {Types::DescribeDomainConfigurationResponse#service_type #service_type} => String
|
5409
5418
|
# * {Types::DescribeDomainConfigurationResponse#domain_type #domain_type} => String
|
5410
5419
|
# * {Types::DescribeDomainConfigurationResponse#last_status_change_date #last_status_change_date} => Time
|
5420
|
+
# * {Types::DescribeDomainConfigurationResponse#tls_config #tls_config} => Types::TlsConfig
|
5411
5421
|
#
|
5412
5422
|
# @example Request syntax with placeholder values
|
5413
5423
|
#
|
@@ -5430,6 +5440,7 @@ module Aws::IoT
|
|
5430
5440
|
# resp.service_type #=> String, one of "DATA", "CREDENTIAL_PROVIDER", "JOBS"
|
5431
5441
|
# resp.domain_type #=> String, one of "ENDPOINT", "AWS_MANAGED", "CUSTOMER_MANAGED"
|
5432
5442
|
# resp.last_status_change_date #=> Time
|
5443
|
+
# resp.tls_config.security_policy #=> String
|
5433
5444
|
#
|
5434
5445
|
# @overload describe_domain_configuration(params = {})
|
5435
5446
|
# @param [Hash] params ({})
|
@@ -12969,6 +12980,9 @@ module Aws::IoT
|
|
12969
12980
|
# @option params [Boolean] :remove_authorizer_config
|
12970
12981
|
# Removes the authorization configuration from a domain.
|
12971
12982
|
#
|
12983
|
+
# @option params [Types::TlsConfig] :tls_config
|
12984
|
+
# An object that specifies the TLS configuration for a domain.
|
12985
|
+
#
|
12972
12986
|
# @return [Types::UpdateDomainConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
12973
12987
|
#
|
12974
12988
|
# * {Types::UpdateDomainConfigurationResponse#domain_configuration_name #domain_configuration_name} => String
|
@@ -12984,6 +12998,9 @@ module Aws::IoT
|
|
12984
12998
|
# },
|
12985
12999
|
# domain_configuration_status: "ENABLED", # accepts ENABLED, DISABLED
|
12986
13000
|
# remove_authorizer_config: false,
|
13001
|
+
# tls_config: {
|
13002
|
+
# security_policy: "SecurityPolicy",
|
13003
|
+
# },
|
12987
13004
|
# })
|
12988
13005
|
#
|
12989
13006
|
# @example Response structure
|
@@ -14093,7 +14110,7 @@ module Aws::IoT
|
|
14093
14110
|
params: params,
|
14094
14111
|
config: config)
|
14095
14112
|
context[:gem_name] = 'aws-sdk-iot'
|
14096
|
-
context[:gem_version] = '1.
|
14113
|
+
context[:gem_version] = '1.105.0'
|
14097
14114
|
Seahorse::Client::Request.new(handlers, context)
|
14098
14115
|
end
|
14099
14116
|
|
@@ -1019,6 +1019,7 @@ module Aws::IoT
|
|
1019
1019
|
Seconds = Shapes::IntegerShape.new(name: 'Seconds')
|
1020
1020
|
SecurityGroupId = Shapes::StringShape.new(name: 'SecurityGroupId')
|
1021
1021
|
SecurityGroupList = Shapes::ListShape.new(name: 'SecurityGroupList')
|
1022
|
+
SecurityPolicy = Shapes::StringShape.new(name: 'SecurityPolicy')
|
1022
1023
|
SecurityProfileArn = Shapes::StringShape.new(name: 'SecurityProfileArn')
|
1023
1024
|
SecurityProfileDescription = Shapes::StringShape.new(name: 'SecurityProfileDescription')
|
1024
1025
|
SecurityProfileIdentifier = Shapes::StructureShape.new(name: 'SecurityProfileIdentifier')
|
@@ -1183,6 +1184,7 @@ module Aws::IoT
|
|
1183
1184
|
TimestreamTimestampUnit = Shapes::StringShape.new(name: 'TimestreamTimestampUnit')
|
1184
1185
|
TimestreamTimestampValue = Shapes::StringShape.new(name: 'TimestreamTimestampValue')
|
1185
1186
|
TinyMaxResults = Shapes::IntegerShape.new(name: 'TinyMaxResults')
|
1187
|
+
TlsConfig = Shapes::StructureShape.new(name: 'TlsConfig')
|
1186
1188
|
TlsContext = Shapes::StructureShape.new(name: 'TlsContext')
|
1187
1189
|
Token = Shapes::StringShape.new(name: 'Token')
|
1188
1190
|
TokenKeyName = Shapes::StringShape.new(name: 'TokenKeyName')
|
@@ -1878,6 +1880,7 @@ module Aws::IoT
|
|
1878
1880
|
CreateDomainConfigurationRequest.add_member(:authorizer_config, Shapes::ShapeRef.new(shape: AuthorizerConfig, location_name: "authorizerConfig"))
|
1879
1881
|
CreateDomainConfigurationRequest.add_member(:service_type, Shapes::ShapeRef.new(shape: ServiceType, location_name: "serviceType"))
|
1880
1882
|
CreateDomainConfigurationRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
|
1883
|
+
CreateDomainConfigurationRequest.add_member(:tls_config, Shapes::ShapeRef.new(shape: TlsConfig, location_name: "tlsConfig"))
|
1881
1884
|
CreateDomainConfigurationRequest.struct_class = Types::CreateDomainConfigurationRequest
|
1882
1885
|
|
1883
1886
|
CreateDomainConfigurationResponse.add_member(:domain_configuration_name, Shapes::ShapeRef.new(shape: DomainConfigurationName, location_name: "domainConfigurationName"))
|
@@ -2443,6 +2446,7 @@ module Aws::IoT
|
|
2443
2446
|
DescribeDomainConfigurationResponse.add_member(:service_type, Shapes::ShapeRef.new(shape: ServiceType, location_name: "serviceType"))
|
2444
2447
|
DescribeDomainConfigurationResponse.add_member(:domain_type, Shapes::ShapeRef.new(shape: DomainType, location_name: "domainType"))
|
2445
2448
|
DescribeDomainConfigurationResponse.add_member(:last_status_change_date, Shapes::ShapeRef.new(shape: DateType, location_name: "lastStatusChangeDate"))
|
2449
|
+
DescribeDomainConfigurationResponse.add_member(:tls_config, Shapes::ShapeRef.new(shape: TlsConfig, location_name: "tlsConfig"))
|
2446
2450
|
DescribeDomainConfigurationResponse.struct_class = Types::DescribeDomainConfigurationResponse
|
2447
2451
|
|
2448
2452
|
DescribeEndpointRequest.add_member(:endpoint_type, Shapes::ShapeRef.new(shape: EndpointType, location: "querystring", location_name: "endpointType"))
|
@@ -4558,6 +4562,9 @@ module Aws::IoT
|
|
4558
4562
|
TimestreamTimestamp.add_member(:unit, Shapes::ShapeRef.new(shape: TimestreamTimestampUnit, required: true, location_name: "unit"))
|
4559
4563
|
TimestreamTimestamp.struct_class = Types::TimestreamTimestamp
|
4560
4564
|
|
4565
|
+
TlsConfig.add_member(:security_policy, Shapes::ShapeRef.new(shape: SecurityPolicy, location_name: "securityPolicy"))
|
4566
|
+
TlsConfig.struct_class = Types::TlsConfig
|
4567
|
+
|
4561
4568
|
TlsContext.add_member(:server_name, Shapes::ShapeRef.new(shape: ServerName, location_name: "serverName"))
|
4562
4569
|
TlsContext.struct_class = Types::TlsContext
|
4563
4570
|
|
@@ -4723,6 +4730,7 @@ module Aws::IoT
|
|
4723
4730
|
UpdateDomainConfigurationRequest.add_member(:authorizer_config, Shapes::ShapeRef.new(shape: AuthorizerConfig, location_name: "authorizerConfig"))
|
4724
4731
|
UpdateDomainConfigurationRequest.add_member(:domain_configuration_status, Shapes::ShapeRef.new(shape: DomainConfigurationStatus, location_name: "domainConfigurationStatus"))
|
4725
4732
|
UpdateDomainConfigurationRequest.add_member(:remove_authorizer_config, Shapes::ShapeRef.new(shape: RemoveAuthorizerConfig, location_name: "removeAuthorizerConfig"))
|
4733
|
+
UpdateDomainConfigurationRequest.add_member(:tls_config, Shapes::ShapeRef.new(shape: TlsConfig, location_name: "tlsConfig"))
|
4726
4734
|
UpdateDomainConfigurationRequest.struct_class = Types::UpdateDomainConfigurationRequest
|
4727
4735
|
|
4728
4736
|
UpdateDomainConfigurationResponse.add_member(:domain_configuration_name, Shapes::ShapeRef.new(shape: ReservedDomainConfigurationName, location_name: "domainConfigurationName"))
|
data/lib/aws-sdk-iot/types.rb
CHANGED
@@ -2508,6 +2508,10 @@ module Aws::IoT
|
|
2508
2508
|
# </note>
|
2509
2509
|
# @return [Array<Types::Tag>]
|
2510
2510
|
#
|
2511
|
+
# @!attribute [rw] tls_config
|
2512
|
+
# An object that specifies the TLS configuration for a domain.
|
2513
|
+
# @return [Types::TlsConfig]
|
2514
|
+
#
|
2511
2515
|
class CreateDomainConfigurationRequest < Struct.new(
|
2512
2516
|
:domain_configuration_name,
|
2513
2517
|
:domain_name,
|
@@ -2515,7 +2519,8 @@ module Aws::IoT
|
|
2515
2519
|
:validation_certificate_arn,
|
2516
2520
|
:authorizer_config,
|
2517
2521
|
:service_type,
|
2518
|
-
:tags
|
2522
|
+
:tags,
|
2523
|
+
:tls_config)
|
2519
2524
|
SENSITIVE = []
|
2520
2525
|
include Aws::Structure
|
2521
2526
|
end
|
@@ -2707,20 +2712,18 @@ module Aws::IoT
|
|
2707
2712
|
# @return [Array<String>]
|
2708
2713
|
#
|
2709
2714
|
# @!attribute [rw] document_source
|
2710
|
-
# An S3 link to the job document.
|
2711
|
-
#
|
2715
|
+
# An S3 link, or S3 object URL, to the job document. The link is an
|
2716
|
+
# Amazon S3 object URL and is required if you don't specify a value
|
2717
|
+
# for `document`.
|
2712
2718
|
#
|
2713
|
-
#
|
2714
|
-
#
|
2719
|
+
# For example, `--document-source
|
2720
|
+
# https://s3.region-code.amazonaws.com/example-firmware/device-firmware.1.0`.
|
2715
2721
|
#
|
2716
|
-
#
|
2722
|
+
# For more information, see [Methods for accessing a bucket][1].
|
2717
2723
|
#
|
2718
|
-
# `$\{aws:iot:s3-presigned-url:https://s3.amazonaws.com/bucket/key\}`
|
2719
2724
|
#
|
2720
|
-
# where *bucket* is your bucket name and *key* is the object in the
|
2721
|
-
# bucket to which you are linking.
|
2722
2725
|
#
|
2723
|
-
#
|
2726
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-bucket-intro.html
|
2724
2727
|
# @return [String]
|
2725
2728
|
#
|
2726
2729
|
# @!attribute [rw] document
|
@@ -5022,6 +5025,10 @@ module Aws::IoT
|
|
5022
5025
|
# changed.
|
5023
5026
|
# @return [Time]
|
5024
5027
|
#
|
5028
|
+
# @!attribute [rw] tls_config
|
5029
|
+
# An object that specifies the TLS configuration for a domain.
|
5030
|
+
# @return [Types::TlsConfig]
|
5031
|
+
#
|
5025
5032
|
class DescribeDomainConfigurationResponse < Struct.new(
|
5026
5033
|
:domain_configuration_name,
|
5027
5034
|
:domain_configuration_arn,
|
@@ -5031,7 +5038,8 @@ module Aws::IoT
|
|
5031
5038
|
:domain_configuration_status,
|
5032
5039
|
:service_type,
|
5033
5040
|
:domain_type,
|
5034
|
-
:last_status_change_date
|
5041
|
+
:last_status_change_date,
|
5042
|
+
:tls_config)
|
5035
5043
|
SENSITIVE = []
|
5036
5044
|
include Aws::Structure
|
5037
5045
|
end
|
@@ -11667,9 +11675,9 @@ module Aws::IoT
|
|
11667
11675
|
# Configuration for pre-signed S3 URLs.
|
11668
11676
|
#
|
11669
11677
|
# @!attribute [rw] role_arn
|
11670
|
-
# The ARN of an IAM role that grants
|
11671
|
-
#
|
11672
|
-
#
|
11678
|
+
# The ARN of an IAM role that grants permission to download files from
|
11679
|
+
# the S3 bucket where the job data/updates are stored. The role must
|
11680
|
+
# also grant permission for IoT to download the files.
|
11673
11681
|
#
|
11674
11682
|
# For information about addressing the confused deputy problem, see
|
11675
11683
|
# [cross-service confused deputy prevention][1] in the *Amazon Web
|
@@ -14194,6 +14202,24 @@ module Aws::IoT
|
|
14194
14202
|
include Aws::Structure
|
14195
14203
|
end
|
14196
14204
|
|
14205
|
+
# An object that specifies the TLS configuration for a domain.
|
14206
|
+
#
|
14207
|
+
# @!attribute [rw] security_policy
|
14208
|
+
# The security policy for a domain configuration. For more
|
14209
|
+
# information, see [Security policies ][1] in the *Amazon Web Services
|
14210
|
+
# IoT Core developer guide*.
|
14211
|
+
#
|
14212
|
+
#
|
14213
|
+
#
|
14214
|
+
# [1]: https://docs.aws.amazon.com/iot/latest/developerguide/transport-security.html#tls-policy-table
|
14215
|
+
# @return [String]
|
14216
|
+
#
|
14217
|
+
class TlsConfig < Struct.new(
|
14218
|
+
:security_policy)
|
14219
|
+
SENSITIVE = []
|
14220
|
+
include Aws::Structure
|
14221
|
+
end
|
14222
|
+
|
14197
14223
|
# Specifies the TLS context to use for the test authorizer request.
|
14198
14224
|
#
|
14199
14225
|
# @!attribute [rw] server_name
|
@@ -14990,11 +15016,16 @@ module Aws::IoT
|
|
14990
15016
|
# Removes the authorization configuration from a domain.
|
14991
15017
|
# @return [Boolean]
|
14992
15018
|
#
|
15019
|
+
# @!attribute [rw] tls_config
|
15020
|
+
# An object that specifies the TLS configuration for a domain.
|
15021
|
+
# @return [Types::TlsConfig]
|
15022
|
+
#
|
14993
15023
|
class UpdateDomainConfigurationRequest < Struct.new(
|
14994
15024
|
:domain_configuration_name,
|
14995
15025
|
:authorizer_config,
|
14996
15026
|
:domain_configuration_status,
|
14997
|
-
:remove_authorizer_config
|
15027
|
+
:remove_authorizer_config,
|
15028
|
+
:tls_config)
|
14998
15029
|
SENSITIVE = []
|
14999
15030
|
include Aws::Structure
|
15000
15031
|
end
|
data/lib/aws-sdk-iot.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
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.105.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: 2023-
|
11
|
+
date: 2023-05-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.174.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.174.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|