aws-sdk-iot 1.9.0 → 1.10.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/lib/aws-sdk-iot.rb +1 -1
- data/lib/aws-sdk-iot/client.rb +27 -11
- data/lib/aws-sdk-iot/client_api.rb +0 -8
- data/lib/aws-sdk-iot/types.rb +6 -24
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e3c571548bd1eb6c0c97cd73cb3892e7a5ceca19
|
4
|
+
data.tar.gz: 7420c89f19c0178ac5ee288eb7749cbadc1bfe25
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4346acafa0186e86e8f1c422a38f3d13cd0ebb34247d90982280f6c3d774d25060d86a578eb6bfa2231a81b1d01285df74a11767b36edffd45933afa7b9c7d68
|
7
|
+
data.tar.gz: 34bb5b27d44851a14353810d6d2f1e1cd8d70f8a557fd34432a8cc35fb43a8ae79b695c771ae03eee6a6bcb19c8aeae8fc37b9f9de2b5138d2ddfa786cd678f6
|
data/lib/aws-sdk-iot.rb
CHANGED
data/lib/aws-sdk-iot/client.rb
CHANGED
@@ -645,9 +645,6 @@ module Aws::IoT
|
|
645
645
|
# @option params [Types::JobExecutionsRolloutConfig] :job_executions_rollout_config
|
646
646
|
# Allows you to create a staged rollout of the job.
|
647
647
|
#
|
648
|
-
# @option params [Hash<String,String>] :document_parameters
|
649
|
-
# Parameters for the job document.
|
650
|
-
#
|
651
648
|
# @return [Types::CreateJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
652
649
|
#
|
653
650
|
# * {Types::CreateJobResponse#job_arn #job_arn} => String
|
@@ -670,9 +667,6 @@ module Aws::IoT
|
|
670
667
|
# job_executions_rollout_config: {
|
671
668
|
# maximum_per_minute: 1,
|
672
669
|
# },
|
673
|
-
# document_parameters: {
|
674
|
-
# "ParameterKey" => "ParameterValue",
|
675
|
-
# },
|
676
670
|
# })
|
677
671
|
#
|
678
672
|
# @example Response structure
|
@@ -1020,6 +1014,15 @@ module Aws::IoT
|
|
1020
1014
|
|
1021
1015
|
# Creates a thing record in the registry.
|
1022
1016
|
#
|
1017
|
+
# <note markdown="1"> This is a control plane operation. See [Authorization][1] for
|
1018
|
+
# information about authorizing control plane actions.
|
1019
|
+
#
|
1020
|
+
# </note>
|
1021
|
+
#
|
1022
|
+
#
|
1023
|
+
#
|
1024
|
+
# [1]: http://docs.aws.amazon.com/iot/latest/developerguide/authorization.html
|
1025
|
+
#
|
1023
1026
|
# @option params [required, String] :thing_name
|
1024
1027
|
# The name of the thing to create.
|
1025
1028
|
#
|
@@ -1066,6 +1069,15 @@ module Aws::IoT
|
|
1066
1069
|
|
1067
1070
|
# Create a thing group.
|
1068
1071
|
#
|
1072
|
+
# <note markdown="1"> This is a control plane operation. See [Authorization][1] for
|
1073
|
+
# information about authorizing control plane actions.
|
1074
|
+
#
|
1075
|
+
# </note>
|
1076
|
+
#
|
1077
|
+
#
|
1078
|
+
#
|
1079
|
+
# [1]: http://docs.aws.amazon.com/iot/latest/developerguide/authorization.html
|
1080
|
+
#
|
1069
1081
|
# @option params [required, String] :thing_group_name
|
1070
1082
|
# The thing group name to create.
|
1071
1083
|
#
|
@@ -2053,8 +2065,6 @@ module Aws::IoT
|
|
2053
2065
|
# resp.job.job_process_details.number_of_queued_things #=> Integer
|
2054
2066
|
# resp.job.job_process_details.number_of_in_progress_things #=> Integer
|
2055
2067
|
# resp.job.job_process_details.number_of_removed_things #=> Integer
|
2056
|
-
# resp.job.document_parameters #=> Hash
|
2057
|
-
# resp.job.document_parameters["ParameterKey"] #=> String
|
2058
2068
|
#
|
2059
2069
|
# @overload describe_job(params = {})
|
2060
2070
|
# @param [Hash] params ({})
|
@@ -2548,6 +2558,9 @@ module Aws::IoT
|
|
2548
2558
|
|
2549
2559
|
# Gets the logging options.
|
2550
2560
|
#
|
2561
|
+
# NOTE: use of this command is not recommended. Use
|
2562
|
+
# `GetV2LoggingOptions` instead.
|
2563
|
+
#
|
2551
2564
|
# @return [Types::GetLoggingOptionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2552
2565
|
#
|
2553
2566
|
# * {Types::GetLoggingOptionsResponse#role_arn #role_arn} => String
|
@@ -4634,6 +4647,9 @@ module Aws::IoT
|
|
4634
4647
|
|
4635
4648
|
# Sets the logging options.
|
4636
4649
|
#
|
4650
|
+
# NOTE: use of this command is not recommended. Use
|
4651
|
+
# `SetV2LoggingOptions` instead.
|
4652
|
+
#
|
4637
4653
|
# @option params [required, Types::LoggingOptionsPayload] :logging_options_payload
|
4638
4654
|
# The logging options payload.
|
4639
4655
|
#
|
@@ -4685,13 +4701,13 @@ module Aws::IoT
|
|
4685
4701
|
# Sets the logging options for the V2 logging service.
|
4686
4702
|
#
|
4687
4703
|
# @option params [String] :role_arn
|
4688
|
-
# The role
|
4704
|
+
# The ARN of the role that allows IoT to write to Cloudwatch logs.
|
4689
4705
|
#
|
4690
4706
|
# @option params [String] :default_log_level
|
4691
4707
|
# The default logging level.
|
4692
4708
|
#
|
4693
4709
|
# @option params [Boolean] :disable_all_logs
|
4694
|
-
#
|
4710
|
+
# If true all logs are disabled. The default is false.
|
4695
4711
|
#
|
4696
4712
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
4697
4713
|
#
|
@@ -5334,7 +5350,7 @@ module Aws::IoT
|
|
5334
5350
|
params: params,
|
5335
5351
|
config: config)
|
5336
5352
|
context[:gem_name] = 'aws-sdk-iot'
|
5337
|
-
context[:gem_version] = '1.
|
5353
|
+
context[:gem_version] = '1.10.0'
|
5338
5354
|
Seahorse::Client::Request.new(handlers, context)
|
5339
5355
|
end
|
5340
5356
|
|
@@ -273,7 +273,6 @@ module Aws::IoT
|
|
273
273
|
JobArn = Shapes::StringShape.new(name: 'JobArn')
|
274
274
|
JobDescription = Shapes::StringShape.new(name: 'JobDescription')
|
275
275
|
JobDocument = Shapes::StringShape.new(name: 'JobDocument')
|
276
|
-
JobDocumentParameters = Shapes::MapShape.new(name: 'JobDocumentParameters')
|
277
276
|
JobDocumentSource = Shapes::StringShape.new(name: 'JobDocumentSource')
|
278
277
|
JobExecution = Shapes::StructureShape.new(name: 'JobExecution')
|
279
278
|
JobExecutionStatus = Shapes::StringShape.new(name: 'JobExecutionStatus')
|
@@ -396,8 +395,6 @@ module Aws::IoT
|
|
396
395
|
OutgoingCertificates = Shapes::ListShape.new(name: 'OutgoingCertificates')
|
397
396
|
PageSize = Shapes::IntegerShape.new(name: 'PageSize')
|
398
397
|
Parameter = Shapes::StringShape.new(name: 'Parameter')
|
399
|
-
ParameterKey = Shapes::StringShape.new(name: 'ParameterKey')
|
400
|
-
ParameterValue = Shapes::StringShape.new(name: 'ParameterValue')
|
401
398
|
Parameters = Shapes::MapShape.new(name: 'Parameters')
|
402
399
|
PartitionKey = Shapes::StringShape.new(name: 'PartitionKey')
|
403
400
|
PayloadField = Shapes::StringShape.new(name: 'PayloadField')
|
@@ -831,7 +828,6 @@ module Aws::IoT
|
|
831
828
|
CreateJobRequest.add_member(:presigned_url_config, Shapes::ShapeRef.new(shape: PresignedUrlConfig, location_name: "presignedUrlConfig"))
|
832
829
|
CreateJobRequest.add_member(:target_selection, Shapes::ShapeRef.new(shape: TargetSelection, location_name: "targetSelection"))
|
833
830
|
CreateJobRequest.add_member(:job_executions_rollout_config, Shapes::ShapeRef.new(shape: JobExecutionsRolloutConfig, location_name: "jobExecutionsRolloutConfig"))
|
834
|
-
CreateJobRequest.add_member(:document_parameters, Shapes::ShapeRef.new(shape: JobDocumentParameters, location_name: "documentParameters"))
|
835
831
|
CreateJobRequest.struct_class = Types::CreateJobRequest
|
836
832
|
|
837
833
|
CreateJobResponse.add_member(:job_arn, Shapes::ShapeRef.new(shape: JobArn, location_name: "jobArn"))
|
@@ -1325,12 +1321,8 @@ module Aws::IoT
|
|
1325
1321
|
Job.add_member(:last_updated_at, Shapes::ShapeRef.new(shape: DateType, location_name: "lastUpdatedAt"))
|
1326
1322
|
Job.add_member(:completed_at, Shapes::ShapeRef.new(shape: DateType, location_name: "completedAt"))
|
1327
1323
|
Job.add_member(:job_process_details, Shapes::ShapeRef.new(shape: JobProcessDetails, location_name: "jobProcessDetails"))
|
1328
|
-
Job.add_member(:document_parameters, Shapes::ShapeRef.new(shape: JobDocumentParameters, location_name: "documentParameters"))
|
1329
1324
|
Job.struct_class = Types::Job
|
1330
1325
|
|
1331
|
-
JobDocumentParameters.key = Shapes::ShapeRef.new(shape: ParameterKey)
|
1332
|
-
JobDocumentParameters.value = Shapes::ShapeRef.new(shape: ParameterValue)
|
1333
|
-
|
1334
1326
|
JobExecution.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "jobId"))
|
1335
1327
|
JobExecution.add_member(:status, Shapes::ShapeRef.new(shape: JobExecutionStatus, location_name: "status"))
|
1336
1328
|
JobExecution.add_member(:force_canceled, Shapes::ShapeRef.new(shape: Forced, location_name: "forceCanceled"))
|
data/lib/aws-sdk-iot/types.rb
CHANGED
@@ -1000,7 +1000,7 @@ module Aws::IoT
|
|
1000
1000
|
# }
|
1001
1001
|
#
|
1002
1002
|
# @!attribute [rw] stream
|
1003
|
-
#
|
1003
|
+
# Describes a group of files that can be streamed.
|
1004
1004
|
# @return [Types::Stream]
|
1005
1005
|
#
|
1006
1006
|
# @!attribute [rw] certificate_name
|
@@ -1033,7 +1033,7 @@ module Aws::IoT
|
|
1033
1033
|
# }
|
1034
1034
|
#
|
1035
1035
|
# @!attribute [rw] stream
|
1036
|
-
#
|
1036
|
+
# Describes a group of files that can be streamed.
|
1037
1037
|
# @return [Types::Stream]
|
1038
1038
|
#
|
1039
1039
|
# @!attribute [rw] inline_document
|
@@ -1187,9 +1187,6 @@ module Aws::IoT
|
|
1187
1187
|
# job_executions_rollout_config: {
|
1188
1188
|
# maximum_per_minute: 1,
|
1189
1189
|
# },
|
1190
|
-
# document_parameters: {
|
1191
|
-
# "ParameterKey" => "ParameterValue",
|
1192
|
-
# },
|
1193
1190
|
# }
|
1194
1191
|
#
|
1195
1192
|
# @!attribute [rw] job_id
|
@@ -1231,10 +1228,6 @@ module Aws::IoT
|
|
1231
1228
|
# Allows you to create a staged rollout of the job.
|
1232
1229
|
# @return [Types::JobExecutionsRolloutConfig]
|
1233
1230
|
#
|
1234
|
-
# @!attribute [rw] document_parameters
|
1235
|
-
# Parameters for the job document.
|
1236
|
-
# @return [Hash<String,String>]
|
1237
|
-
#
|
1238
1231
|
class CreateJobRequest < Struct.new(
|
1239
1232
|
:job_id,
|
1240
1233
|
:targets,
|
@@ -1243,8 +1236,7 @@ module Aws::IoT
|
|
1243
1236
|
:description,
|
1244
1237
|
:presigned_url_config,
|
1245
1238
|
:target_selection,
|
1246
|
-
:job_executions_rollout_config
|
1247
|
-
:document_parameters)
|
1239
|
+
:job_executions_rollout_config)
|
1248
1240
|
include Aws::Structure
|
1249
1241
|
end
|
1250
1242
|
|
@@ -3886,10 +3878,6 @@ module Aws::IoT
|
|
3886
3878
|
# Details about the job process.
|
3887
3879
|
# @return [Types::JobProcessDetails]
|
3888
3880
|
#
|
3889
|
-
# @!attribute [rw] document_parameters
|
3890
|
-
# The parameters specified for the job document.
|
3891
|
-
# @return [Hash<String,String>]
|
3892
|
-
#
|
3893
3881
|
class Job < Struct.new(
|
3894
3882
|
:job_arn,
|
3895
3883
|
:job_id,
|
@@ -3904,8 +3892,7 @@ module Aws::IoT
|
|
3904
3892
|
:created_at,
|
3905
3893
|
:last_updated_at,
|
3906
3894
|
:completed_at,
|
3907
|
-
:job_process_details
|
3908
|
-
:document_parameters)
|
3895
|
+
:job_process_details)
|
3909
3896
|
include Aws::Structure
|
3910
3897
|
end
|
3911
3898
|
|
@@ -6532,8 +6519,6 @@ module Aws::IoT
|
|
6532
6519
|
include Aws::Structure
|
6533
6520
|
end
|
6534
6521
|
|
6535
|
-
# The location in S3 the contains the files to stream.
|
6536
|
-
#
|
6537
6522
|
# @note When making an API call, you may pass S3Location
|
6538
6523
|
# data as a hash:
|
6539
6524
|
#
|
@@ -6544,15 +6529,12 @@ module Aws::IoT
|
|
6544
6529
|
# }
|
6545
6530
|
#
|
6546
6531
|
# @!attribute [rw] bucket
|
6547
|
-
# The S3 bucket that contains the file to stream.
|
6548
6532
|
# @return [String]
|
6549
6533
|
#
|
6550
6534
|
# @!attribute [rw] key
|
6551
|
-
# The name of the file within the S3 bucket to stream.
|
6552
6535
|
# @return [String]
|
6553
6536
|
#
|
6554
6537
|
# @!attribute [rw] version
|
6555
|
-
# The file version.
|
6556
6538
|
# @return [String]
|
6557
6539
|
#
|
6558
6540
|
class S3Location < Struct.new(
|
@@ -6757,7 +6739,7 @@ module Aws::IoT
|
|
6757
6739
|
# }
|
6758
6740
|
#
|
6759
6741
|
# @!attribute [rw] role_arn
|
6760
|
-
# The role
|
6742
|
+
# The ARN of the role that allows IoT to write to Cloudwatch logs.
|
6761
6743
|
# @return [String]
|
6762
6744
|
#
|
6763
6745
|
# @!attribute [rw] default_log_level
|
@@ -6765,7 +6747,7 @@ module Aws::IoT
|
|
6765
6747
|
# @return [String]
|
6766
6748
|
#
|
6767
6749
|
# @!attribute [rw] disable_all_logs
|
6768
|
-
#
|
6750
|
+
# If true all logs are disabled. The default is false.
|
6769
6751
|
# @return [Boolean]
|
6770
6752
|
#
|
6771
6753
|
class SetV2LoggingOptionsRequest < Struct.new(
|
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.10.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: 2018-
|
11
|
+
date: 2018-07-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|