aws-sdk-iot 1.41.0 → 1.42.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
  SHA1:
3
- metadata.gz: c703ad0a1d71343a2c0fcac7925eb8c01b4887af
4
- data.tar.gz: a3b87a0a85b08cad450995731738fa93dc413cef
3
+ metadata.gz: c95ca72812c2033d5b7b2eac794faeb835cf7a26
4
+ data.tar.gz: b4c550af882f1d71faafe46bef7c136495618b45
5
5
  SHA512:
6
- metadata.gz: 76a856a4d06d5dbf533b25cf34ab1ed3e932571f69f22c268a5713cef9cc289ade158b91a811764629c1e6a623a03d9aaf1a380e97d49822adb64cfff101fc5e
7
- data.tar.gz: db5e806d43adff57c33cacc959bade56c4b348458d5115bb0c7b456e0a58bd8bb088e71aba5cd022eac6b173a80b35cd0fc187ac790b32d2a92ab5631699e79c
6
+ metadata.gz: d730270ea6f3c03a6c23189cbee3e71d66a8e955f3ac1a13ed79b41a6d5a1ec8b70921611d9dc5a89be7951b27a80264df2194c17774f59d76b7f74102a0a394
7
+ data.tar.gz: 952535cf9323f67850ad48dde8ff05db70ef5b0ee0ba311b01eb9ace3229e51fdf2ac36ad53212217661665a823eb8fd4816caca273813213c9bdbc4058e9393
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-iot/customizations'
42
42
  # @service
43
43
  module Aws::IoT
44
44
 
45
- GEM_VERSION = '1.41.0'
45
+ GEM_VERSION = '1.42.0'
46
46
 
47
47
  end
@@ -1297,6 +1297,11 @@ module Aws::IoT
1297
1297
  # @option params [required, Array<String>] :targets
1298
1298
  # The targeted devices to receive OTA updates.
1299
1299
  #
1300
+ # @option params [Array<String>] :protocols
1301
+ # The protocol used to transfer the OTA update image. Valid values are
1302
+ # \[HTTP\], \[MQTT\], \[HTTP, MQTT\]. When both HTTP and MQTT are
1303
+ # specified, the target device can choose the protocol.
1304
+ #
1300
1305
  # @option params [String] :target_selection
1301
1306
  # Specifies whether the update will continue to run (CONTINUOUS), or
1302
1307
  # will be complete after all the things specified as targets have
@@ -1309,6 +1314,9 @@ module Aws::IoT
1309
1314
  # @option params [Types::AwsJobExecutionsRolloutConfig] :aws_job_executions_rollout_config
1310
1315
  # Configuration for the rollout of OTA updates.
1311
1316
  #
1317
+ # @option params [Types::AwsJobPresignedUrlConfig] :aws_job_presigned_url_config
1318
+ # Configuration information for pre-signed URLs.
1319
+ #
1312
1320
  # @option params [required, Array<Types::OTAUpdateFile>] :files
1313
1321
  # The files to be streamed by the OTA update.
1314
1322
  #
@@ -1335,10 +1343,14 @@ module Aws::IoT
1335
1343
  # ota_update_id: "OTAUpdateId", # required
1336
1344
  # description: "OTAUpdateDescription",
1337
1345
  # targets: ["Target"], # required
1346
+ # protocols: ["MQTT"], # accepts MQTT, HTTP
1338
1347
  # target_selection: "CONTINUOUS", # accepts CONTINUOUS, SNAPSHOT
1339
1348
  # aws_job_executions_rollout_config: {
1340
1349
  # maximum_per_minute: 1,
1341
1350
  # },
1351
+ # aws_job_presigned_url_config: {
1352
+ # expires_in_sec: 1,
1353
+ # },
1342
1354
  # files: [ # required
1343
1355
  # {
1344
1356
  # file_name: "FileName",
@@ -4552,7 +4564,10 @@ module Aws::IoT
4552
4564
  # resp.ota_update_info.description #=> String
4553
4565
  # resp.ota_update_info.targets #=> Array
4554
4566
  # resp.ota_update_info.targets[0] #=> String
4567
+ # resp.ota_update_info.protocols #=> Array
4568
+ # resp.ota_update_info.protocols[0] #=> String, one of "MQTT", "HTTP"
4555
4569
  # resp.ota_update_info.aws_job_executions_rollout_config.maximum_per_minute #=> Integer
4570
+ # resp.ota_update_info.aws_job_presigned_url_config.expires_in_sec #=> Integer
4556
4571
  # resp.ota_update_info.target_selection #=> String, one of "CONTINUOUS", "SNAPSHOT"
4557
4572
  # resp.ota_update_info.ota_update_files #=> Array
4558
4573
  # resp.ota_update_info.ota_update_files[0].file_name #=> String
@@ -8183,7 +8198,7 @@ module Aws::IoT
8183
8198
  # Specifies a test HTTP authorization request.
8184
8199
  #
8185
8200
  # @option params [Types::MqttContext] :mqtt_context
8186
- # Specifies a test MQTT authorization request.&gt;
8201
+ # Specifies a test MQTT authorization request.
8187
8202
  #
8188
8203
  # @option params [Types::TlsContext] :tls_context
8189
8204
  # Specifies a test TLS authorization request.
@@ -9395,7 +9410,7 @@ module Aws::IoT
9395
9410
  params: params,
9396
9411
  config: config)
9397
9412
  context[:gem_name] = 'aws-sdk-iot'
9398
- context[:gem_version] = '1.41.0'
9413
+ context[:gem_version] = '1.42.0'
9399
9414
  Seahorse::Client::Request.new(handlers, context)
9400
9415
  end
9401
9416
 
@@ -120,6 +120,7 @@ module Aws::IoT
120
120
  AwsIotJobId = Shapes::StringShape.new(name: 'AwsIotJobId')
121
121
  AwsIotSqlVersion = Shapes::StringShape.new(name: 'AwsIotSqlVersion')
122
122
  AwsJobExecutionsRolloutConfig = Shapes::StructureShape.new(name: 'AwsJobExecutionsRolloutConfig')
123
+ AwsJobPresignedUrlConfig = Shapes::StructureShape.new(name: 'AwsJobPresignedUrlConfig')
123
124
  Behavior = Shapes::StructureShape.new(name: 'Behavior')
124
125
  BehaviorCriteria = Shapes::StructureShape.new(name: 'BehaviorCriteria')
125
126
  BehaviorMetric = Shapes::StringShape.new(name: 'BehaviorMetric')
@@ -404,6 +405,7 @@ module Aws::IoT
404
405
  ExecutionNumber = Shapes::IntegerShape.new(name: 'ExecutionNumber')
405
406
  ExpectedVersion = Shapes::IntegerShape.new(name: 'ExpectedVersion')
406
407
  ExpiresInSec = Shapes::IntegerShape.new(name: 'ExpiresInSec')
408
+ ExpiresInSeconds = Shapes::IntegerShape.new(name: 'ExpiresInSeconds')
407
409
  ExplicitDeny = Shapes::StructureShape.new(name: 'ExplicitDeny')
408
410
  ExponentialRolloutRate = Shapes::StructureShape.new(name: 'ExponentialRolloutRate')
409
411
  FailedChecksCount = Shapes::IntegerShape.new(name: 'FailedChecksCount')
@@ -716,6 +718,8 @@ module Aws::IoT
716
718
  PrivateKey = Shapes::StringShape.new(name: 'PrivateKey')
717
719
  ProcessingTargetName = Shapes::StringShape.new(name: 'ProcessingTargetName')
718
720
  ProcessingTargetNameList = Shapes::ListShape.new(name: 'ProcessingTargetNameList')
721
+ Protocol = Shapes::StringShape.new(name: 'Protocol')
722
+ Protocols = Shapes::ListShape.new(name: 'Protocols')
719
723
  ProvisioningTemplateListing = Shapes::ListShape.new(name: 'ProvisioningTemplateListing')
720
724
  ProvisioningTemplateSummary = Shapes::StructureShape.new(name: 'ProvisioningTemplateSummary')
721
725
  ProvisioningTemplateVersionListing = Shapes::ListShape.new(name: 'ProvisioningTemplateVersionListing')
@@ -1299,6 +1303,9 @@ module Aws::IoT
1299
1303
  AwsJobExecutionsRolloutConfig.add_member(:maximum_per_minute, Shapes::ShapeRef.new(shape: MaximumPerMinute, location_name: "maximumPerMinute"))
1300
1304
  AwsJobExecutionsRolloutConfig.struct_class = Types::AwsJobExecutionsRolloutConfig
1301
1305
 
1306
+ AwsJobPresignedUrlConfig.add_member(:expires_in_sec, Shapes::ShapeRef.new(shape: ExpiresInSeconds, location_name: "expiresInSec"))
1307
+ AwsJobPresignedUrlConfig.struct_class = Types::AwsJobPresignedUrlConfig
1308
+
1302
1309
  Behavior.add_member(:name, Shapes::ShapeRef.new(shape: BehaviorName, required: true, location_name: "name"))
1303
1310
  Behavior.add_member(:metric, Shapes::ShapeRef.new(shape: BehaviorMetric, location_name: "metric"))
1304
1311
  Behavior.add_member(:criteria, Shapes::ShapeRef.new(shape: BehaviorCriteria, location_name: "criteria"))
@@ -1552,8 +1559,10 @@ module Aws::IoT
1552
1559
  CreateOTAUpdateRequest.add_member(:ota_update_id, Shapes::ShapeRef.new(shape: OTAUpdateId, required: true, location: "uri", location_name: "otaUpdateId"))
1553
1560
  CreateOTAUpdateRequest.add_member(:description, Shapes::ShapeRef.new(shape: OTAUpdateDescription, location_name: "description"))
1554
1561
  CreateOTAUpdateRequest.add_member(:targets, Shapes::ShapeRef.new(shape: Targets, required: true, location_name: "targets"))
1562
+ CreateOTAUpdateRequest.add_member(:protocols, Shapes::ShapeRef.new(shape: Protocols, location_name: "protocols"))
1555
1563
  CreateOTAUpdateRequest.add_member(:target_selection, Shapes::ShapeRef.new(shape: TargetSelection, location_name: "targetSelection"))
1556
1564
  CreateOTAUpdateRequest.add_member(:aws_job_executions_rollout_config, Shapes::ShapeRef.new(shape: AwsJobExecutionsRolloutConfig, location_name: "awsJobExecutionsRolloutConfig"))
1565
+ CreateOTAUpdateRequest.add_member(:aws_job_presigned_url_config, Shapes::ShapeRef.new(shape: AwsJobPresignedUrlConfig, location_name: "awsJobPresignedUrlConfig"))
1557
1566
  CreateOTAUpdateRequest.add_member(:files, Shapes::ShapeRef.new(shape: OTAUpdateFiles, required: true, location_name: "files"))
1558
1567
  CreateOTAUpdateRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "roleArn"))
1559
1568
  CreateOTAUpdateRequest.add_member(:additional_parameters, Shapes::ShapeRef.new(shape: AdditionalParameterMap, location_name: "additionalParameters"))
@@ -3025,7 +3034,9 @@ module Aws::IoT
3025
3034
  OTAUpdateInfo.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: DateType, location_name: "lastModifiedDate"))
3026
3035
  OTAUpdateInfo.add_member(:description, Shapes::ShapeRef.new(shape: OTAUpdateDescription, location_name: "description"))
3027
3036
  OTAUpdateInfo.add_member(:targets, Shapes::ShapeRef.new(shape: Targets, location_name: "targets"))
3037
+ OTAUpdateInfo.add_member(:protocols, Shapes::ShapeRef.new(shape: Protocols, location_name: "protocols"))
3028
3038
  OTAUpdateInfo.add_member(:aws_job_executions_rollout_config, Shapes::ShapeRef.new(shape: AwsJobExecutionsRolloutConfig, location_name: "awsJobExecutionsRolloutConfig"))
3039
+ OTAUpdateInfo.add_member(:aws_job_presigned_url_config, Shapes::ShapeRef.new(shape: AwsJobPresignedUrlConfig, location_name: "awsJobPresignedUrlConfig"))
3029
3040
  OTAUpdateInfo.add_member(:target_selection, Shapes::ShapeRef.new(shape: TargetSelection, location_name: "targetSelection"))
3030
3041
  OTAUpdateInfo.add_member(:ota_update_files, Shapes::ShapeRef.new(shape: OTAUpdateFiles, location_name: "otaUpdateFiles"))
3031
3042
  OTAUpdateInfo.add_member(:ota_update_status, Shapes::ShapeRef.new(shape: OTAUpdateStatus, location_name: "otaUpdateStatus"))
@@ -3096,6 +3107,8 @@ module Aws::IoT
3096
3107
 
3097
3108
  ProcessingTargetNameList.member = Shapes::ShapeRef.new(shape: ProcessingTargetName)
3098
3109
 
3110
+ Protocols.member = Shapes::ShapeRef.new(shape: Protocol)
3111
+
3099
3112
  ProvisioningTemplateListing.member = Shapes::ShapeRef.new(shape: ProvisioningTemplateSummary)
3100
3113
 
3101
3114
  ProvisioningTemplateSummary.add_member(:template_arn, Shapes::ShapeRef.new(shape: TemplateArn, location_name: "templateArn"))
@@ -1289,6 +1289,27 @@ module Aws::IoT
1289
1289
  include Aws::Structure
1290
1290
  end
1291
1291
 
1292
+ # Configuration information for pre-signed URLs. Valid when `protocols`
1293
+ # contains HTTP.
1294
+ #
1295
+ # @note When making an API call, you may pass AwsJobPresignedUrlConfig
1296
+ # data as a hash:
1297
+ #
1298
+ # {
1299
+ # expires_in_sec: 1,
1300
+ # }
1301
+ #
1302
+ # @!attribute [rw] expires_in_sec
1303
+ # How long (in seconds) pre-signed URLs are valid. Valid values are 60
1304
+ # - 3600, the default value is 1800 seconds. Pre-signed URLs are
1305
+ # generated when a request for the job document is received.
1306
+ # @return [Integer]
1307
+ #
1308
+ class AwsJobPresignedUrlConfig < Struct.new(
1309
+ :expires_in_sec)
1310
+ include Aws::Structure
1311
+ end
1312
+
1292
1313
  # A Device Defender security profile behavior.
1293
1314
  #
1294
1315
  # @note When making an API call, you may pass Behavior
@@ -2715,10 +2736,14 @@ module Aws::IoT
2715
2736
  # ota_update_id: "OTAUpdateId", # required
2716
2737
  # description: "OTAUpdateDescription",
2717
2738
  # targets: ["Target"], # required
2739
+ # protocols: ["MQTT"], # accepts MQTT, HTTP
2718
2740
  # target_selection: "CONTINUOUS", # accepts CONTINUOUS, SNAPSHOT
2719
2741
  # aws_job_executions_rollout_config: {
2720
2742
  # maximum_per_minute: 1,
2721
2743
  # },
2744
+ # aws_job_presigned_url_config: {
2745
+ # expires_in_sec: 1,
2746
+ # },
2722
2747
  # files: [ # required
2723
2748
  # {
2724
2749
  # file_name: "FileName",
@@ -2791,6 +2816,12 @@ module Aws::IoT
2791
2816
  # The targeted devices to receive OTA updates.
2792
2817
  # @return [Array<String>]
2793
2818
  #
2819
+ # @!attribute [rw] protocols
2820
+ # The protocol used to transfer the OTA update image. Valid values are
2821
+ # \[HTTP\], \[MQTT\], \[HTTP, MQTT\]. When both HTTP and MQTT are
2822
+ # specified, the target device can choose the protocol.
2823
+ # @return [Array<String>]
2824
+ #
2794
2825
  # @!attribute [rw] target_selection
2795
2826
  # Specifies whether the update will continue to run (CONTINUOUS), or
2796
2827
  # will be complete after all the things specified as targets have
@@ -2805,6 +2836,10 @@ module Aws::IoT
2805
2836
  # Configuration for the rollout of OTA updates.
2806
2837
  # @return [Types::AwsJobExecutionsRolloutConfig]
2807
2838
  #
2839
+ # @!attribute [rw] aws_job_presigned_url_config
2840
+ # Configuration information for pre-signed URLs.
2841
+ # @return [Types::AwsJobPresignedUrlConfig]
2842
+ #
2808
2843
  # @!attribute [rw] files
2809
2844
  # The files to be streamed by the OTA update.
2810
2845
  # @return [Array<Types::OTAUpdateFile>]
@@ -2826,8 +2861,10 @@ module Aws::IoT
2826
2861
  :ota_update_id,
2827
2862
  :description,
2828
2863
  :targets,
2864
+ :protocols,
2829
2865
  :target_selection,
2830
2866
  :aws_job_executions_rollout_config,
2867
+ :aws_job_presigned_url_config,
2831
2868
  :files,
2832
2869
  :role_arn,
2833
2870
  :additional_parameters,
@@ -10517,10 +10554,21 @@ module Aws::IoT
10517
10554
  # The targets of the OTA update.
10518
10555
  # @return [Array<String>]
10519
10556
  #
10557
+ # @!attribute [rw] protocols
10558
+ # The protocol used to transfer the OTA update image. Valid values are
10559
+ # \[HTTP\], \[MQTT\], \[HTTP, MQTT\]. When both HTTP and MQTT are
10560
+ # specified, the target device can choose the protocol.
10561
+ # @return [Array<String>]
10562
+ #
10520
10563
  # @!attribute [rw] aws_job_executions_rollout_config
10521
10564
  # Configuration for the rollout of OTA updates.
10522
10565
  # @return [Types::AwsJobExecutionsRolloutConfig]
10523
10566
  #
10567
+ # @!attribute [rw] aws_job_presigned_url_config
10568
+ # Configuration information for pre-signed URLs. Valid when
10569
+ # `protocols` contains HTTP.
10570
+ # @return [Types::AwsJobPresignedUrlConfig]
10571
+ #
10524
10572
  # @!attribute [rw] target_selection
10525
10573
  # Specifies whether the OTA update will continue to run (CONTINUOUS),
10526
10574
  # or will be complete after all those things specified as targets have
@@ -10562,7 +10610,9 @@ module Aws::IoT
10562
10610
  :last_modified_date,
10563
10611
  :description,
10564
10612
  :targets,
10613
+ :protocols,
10565
10614
  :aws_job_executions_rollout_config,
10615
+ :aws_job_presigned_url_config,
10566
10616
  :target_selection,
10567
10617
  :ota_update_files,
10568
10618
  :ota_update_status,
@@ -10850,13 +10900,13 @@ module Aws::IoT
10850
10900
  #
10851
10901
  # @!attribute [rw] asset_id
10852
10902
  # The ID of the AWS IoT SiteWise asset. You must specify either a
10853
- # `propertyAlias` or both an `analiasId` and a `propertyId`. Accepts
10903
+ # `propertyAlias` or both an `aliasId` and a `propertyId`. Accepts
10854
10904
  # substitution templates.
10855
10905
  # @return [String]
10856
10906
  #
10857
10907
  # @!attribute [rw] property_id
10858
10908
  # The ID of the asset's property. You must specify either a
10859
- # `propertyAlias` or both an `analiasId` and a `propertyId`. Accepts
10909
+ # `propertyAlias` or both an `aliasId` and a `propertyId`. Accepts
10860
10910
  # substitution templates.
10861
10911
  # @return [String]
10862
10912
  #
@@ -12990,7 +13040,7 @@ module Aws::IoT
12990
13040
  # @return [Types::HttpContext]
12991
13041
  #
12992
13042
  # @!attribute [rw] mqtt_context
12993
- # Specifies a test MQTT authorization request.&gt;
13043
+ # Specifies a test MQTT authorization request.
12994
13044
  # @return [Types::MqttContext]
12995
13045
  #
12996
13046
  # @!attribute [rw] tls_context
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.41.0
4
+ version: 1.42.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: 2019-11-25 00:00:00.000000000 Z
11
+ date: 2019-12-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core