aws-sdk-iot 1.103.0 → 1.104.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-iot/client.rb +22 -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 +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 01e5ad5a3d646e135e055828a31ce47b4852806442bbd0452b3cfd61d0addf29
|
4
|
+
data.tar.gz: cba531abefc8cd095fac3d1f4b841c1f2fbe227561a04502e7a2d6a133819ccc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5582baddbe8994f46a327aef86cedd7965cc6642f5caadeed429e96e5aa1722d99bea07f678310d78bd8a8b835551543fdeabeb41f3bbcfd656140c1ddfe9e1f
|
7
|
+
data.tar.gz: 8b272534c34853f3df6b63d9ae56bdf769a82fad525260cb3d68af4e5b24060113ebb637ae6fe8418d6dfd8d4cd9fa565fb62d98d2c6f5146c47fb11432da87c
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.104.0 (2023-04-28)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release allows AWS IoT Core users to specify a TLS security policy when creating and updating AWS IoT Domain Configurations.
|
8
|
+
|
4
9
|
1.103.0 (2023-04-20)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.104.0
|
data/lib/aws-sdk-iot/client.rb
CHANGED
@@ -1482,6 +1482,9 @@ module Aws::IoT
|
|
1482
1482
|
#
|
1483
1483
|
# </note>
|
1484
1484
|
#
|
1485
|
+
# @option params [Types::TlsConfig] :tls_config
|
1486
|
+
# An object that specifies the TLS configuration for a domain.
|
1487
|
+
#
|
1485
1488
|
# @return [Types::CreateDomainConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1486
1489
|
#
|
1487
1490
|
# * {Types::CreateDomainConfigurationResponse#domain_configuration_name #domain_configuration_name} => String
|
@@ -1505,6 +1508,9 @@ module Aws::IoT
|
|
1505
1508
|
# value: "TagValue",
|
1506
1509
|
# },
|
1507
1510
|
# ],
|
1511
|
+
# tls_config: {
|
1512
|
+
# security_policy: "SecurityPolicy",
|
1513
|
+
# },
|
1508
1514
|
# })
|
1509
1515
|
#
|
1510
1516
|
# @example Response structure
|
@@ -1710,20 +1716,18 @@ module Aws::IoT
|
|
1710
1716
|
# A list of things and thing groups to which the job should be sent.
|
1711
1717
|
#
|
1712
1718
|
# @option params [String] :document_source
|
1713
|
-
# An S3 link to the job document.
|
1714
|
-
# for
|
1719
|
+
# An S3 link, or S3 object URL, to the job document. The link is an
|
1720
|
+
# Amazon S3 object URL and is required if you don't specify a value for
|
1721
|
+
# `document`.
|
1715
1722
|
#
|
1716
|
-
#
|
1717
|
-
#
|
1723
|
+
# For example, `--document-source
|
1724
|
+
# https://s3.region-code.amazonaws.com/example-firmware/device-firmware.1.0`.
|
1718
1725
|
#
|
1719
|
-
#
|
1726
|
+
# For more information, see [Methods for accessing a bucket][1].
|
1720
1727
|
#
|
1721
|
-
# `$\{aws:iot:s3-presigned-url:https://s3.amazonaws.com/bucket/key\}`
|
1722
1728
|
#
|
1723
|
-
# where *bucket* is your bucket name and *key* is the object in the
|
1724
|
-
# bucket to which you are linking.
|
1725
1729
|
#
|
1726
|
-
#
|
1730
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-bucket-intro.html
|
1727
1731
|
#
|
1728
1732
|
# @option params [String] :document
|
1729
1733
|
# The job document. Required if you don't specify a value for
|
@@ -5408,6 +5412,7 @@ module Aws::IoT
|
|
5408
5412
|
# * {Types::DescribeDomainConfigurationResponse#service_type #service_type} => String
|
5409
5413
|
# * {Types::DescribeDomainConfigurationResponse#domain_type #domain_type} => String
|
5410
5414
|
# * {Types::DescribeDomainConfigurationResponse#last_status_change_date #last_status_change_date} => Time
|
5415
|
+
# * {Types::DescribeDomainConfigurationResponse#tls_config #tls_config} => Types::TlsConfig
|
5411
5416
|
#
|
5412
5417
|
# @example Request syntax with placeholder values
|
5413
5418
|
#
|
@@ -5430,6 +5435,7 @@ module Aws::IoT
|
|
5430
5435
|
# resp.service_type #=> String, one of "DATA", "CREDENTIAL_PROVIDER", "JOBS"
|
5431
5436
|
# resp.domain_type #=> String, one of "ENDPOINT", "AWS_MANAGED", "CUSTOMER_MANAGED"
|
5432
5437
|
# resp.last_status_change_date #=> Time
|
5438
|
+
# resp.tls_config.security_policy #=> String
|
5433
5439
|
#
|
5434
5440
|
# @overload describe_domain_configuration(params = {})
|
5435
5441
|
# @param [Hash] params ({})
|
@@ -12969,6 +12975,9 @@ module Aws::IoT
|
|
12969
12975
|
# @option params [Boolean] :remove_authorizer_config
|
12970
12976
|
# Removes the authorization configuration from a domain.
|
12971
12977
|
#
|
12978
|
+
# @option params [Types::TlsConfig] :tls_config
|
12979
|
+
# An object that specifies the TLS configuration for a domain.
|
12980
|
+
#
|
12972
12981
|
# @return [Types::UpdateDomainConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
12973
12982
|
#
|
12974
12983
|
# * {Types::UpdateDomainConfigurationResponse#domain_configuration_name #domain_configuration_name} => String
|
@@ -12984,6 +12993,9 @@ module Aws::IoT
|
|
12984
12993
|
# },
|
12985
12994
|
# domain_configuration_status: "ENABLED", # accepts ENABLED, DISABLED
|
12986
12995
|
# remove_authorizer_config: false,
|
12996
|
+
# tls_config: {
|
12997
|
+
# security_policy: "SecurityPolicy",
|
12998
|
+
# },
|
12987
12999
|
# })
|
12988
13000
|
#
|
12989
13001
|
# @example Response structure
|
@@ -14093,7 +14105,7 @@ module Aws::IoT
|
|
14093
14105
|
params: params,
|
14094
14106
|
config: config)
|
14095
14107
|
context[:gem_name] = 'aws-sdk-iot'
|
14096
|
-
context[:gem_version] = '1.
|
14108
|
+
context[:gem_version] = '1.104.0'
|
14097
14109
|
Seahorse::Client::Request.new(handlers, context)
|
14098
14110
|
end
|
14099
14111
|
|
@@ -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.104.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-04-
|
11
|
+
date: 2023-04-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|