aws-sdk-iot 1.59.0 → 1.60.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-iot.rb +1 -1
- data/lib/aws-sdk-iot/client.rb +100 -1
- data/lib/aws-sdk-iot/client_api.rb +9 -0
- data/lib/aws-sdk-iot/types.rb +134 -7
- 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: 776f23406e1409292b2e9acd105288a7c9d9d4e7b47e7e347509b499302b8ec6
|
4
|
+
data.tar.gz: 570efe63fb2356ea0fe385a439ca216628da15cab9c3d1507f46b6af723df4aa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 405418302ae30a6607dc926fb1b9739ccddc708e9aacf56ad249fb538d9df73aaee1d2305e022f6e3a313d357c51a61422091649c35838f6c2957f2134ddff54
|
7
|
+
data.tar.gz: b00c6a971f42168b716caa9147c159d2d6e7496347678461e87799f9317fb004e1d5e45c899364389b90b9d51aac527f500a55d0079ce15ced7c2b8a08729bec
|
data/lib/aws-sdk-iot.rb
CHANGED
data/lib/aws-sdk-iot/client.rb
CHANGED
@@ -448,6 +448,19 @@ module Aws::IoT
|
|
448
448
|
# An optional comment string describing why the job was associated with
|
449
449
|
# the targets.
|
450
450
|
#
|
451
|
+
# @option params [String] :namespace_id
|
452
|
+
# The namespace used to indicate that a job is a customer-managed job.
|
453
|
+
#
|
454
|
+
# When you specify a value for this parameter, AWS IoT Core sends jobs
|
455
|
+
# notifications to MQTT topics that contain the value in the following
|
456
|
+
# format.
|
457
|
+
#
|
458
|
+
# `$aws/things/THING_NAME/jobs/JOB_ID/notify-namespace-NAMESPACE_ID/`
|
459
|
+
#
|
460
|
+
# <note markdown="1"> The `namespaceId` feature is in public preview.
|
461
|
+
#
|
462
|
+
# </note>
|
463
|
+
#
|
451
464
|
# @return [Types::AssociateTargetsWithJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
452
465
|
#
|
453
466
|
# * {Types::AssociateTargetsWithJobResponse#job_arn #job_arn} => String
|
@@ -460,6 +473,7 @@ module Aws::IoT
|
|
460
473
|
# targets: ["TargetArn"], # required
|
461
474
|
# job_id: "JobId", # required
|
462
475
|
# comment: "Comment",
|
476
|
+
# namespace_id: "NamespaceId",
|
463
477
|
# })
|
464
478
|
#
|
465
479
|
# @example Response structure
|
@@ -1347,6 +1361,19 @@ module Aws::IoT
|
|
1347
1361
|
# @option params [Array<Types::Tag>] :tags
|
1348
1362
|
# Metadata which can be used to manage the job.
|
1349
1363
|
#
|
1364
|
+
# @option params [String] :namespace_id
|
1365
|
+
# The namespace used to indicate that a job is a customer-managed job.
|
1366
|
+
#
|
1367
|
+
# When you specify a value for this parameter, AWS IoT Core sends jobs
|
1368
|
+
# notifications to MQTT topics that contain the value in the following
|
1369
|
+
# format.
|
1370
|
+
#
|
1371
|
+
# `$aws/things/THING_NAME/jobs/JOB_ID/notify-namespace-NAMESPACE_ID/`
|
1372
|
+
#
|
1373
|
+
# <note markdown="1"> The `namespaceId` feature is in public preview.
|
1374
|
+
#
|
1375
|
+
# </note>
|
1376
|
+
#
|
1350
1377
|
# @return [Types::CreateJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1351
1378
|
#
|
1352
1379
|
# * {Types::CreateJobResponse#job_arn #job_arn} => String
|
@@ -1396,6 +1423,7 @@ module Aws::IoT
|
|
1396
1423
|
# value: "TagValue",
|
1397
1424
|
# },
|
1398
1425
|
# ],
|
1426
|
+
# namespace_id: "NamespaceId",
|
1399
1427
|
# })
|
1400
1428
|
#
|
1401
1429
|
# @example Response structure
|
@@ -3086,6 +3114,19 @@ module Aws::IoT
|
|
3086
3114
|
#
|
3087
3115
|
# </note>
|
3088
3116
|
#
|
3117
|
+
# @option params [String] :namespace_id
|
3118
|
+
# The namespace used to indicate that a job is a customer-managed job.
|
3119
|
+
#
|
3120
|
+
# When you specify a value for this parameter, AWS IoT Core sends jobs
|
3121
|
+
# notifications to MQTT topics that contain the value in the following
|
3122
|
+
# format.
|
3123
|
+
#
|
3124
|
+
# `$aws/things/THING_NAME/jobs/JOB_ID/notify-namespace-NAMESPACE_ID/`
|
3125
|
+
#
|
3126
|
+
# <note markdown="1"> The `namespaceId` feature is in public preview.
|
3127
|
+
#
|
3128
|
+
# </note>
|
3129
|
+
#
|
3089
3130
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
3090
3131
|
#
|
3091
3132
|
# @example Request syntax with placeholder values
|
@@ -3093,6 +3134,7 @@ module Aws::IoT
|
|
3093
3134
|
# resp = client.delete_job({
|
3094
3135
|
# job_id: "JobId", # required
|
3095
3136
|
# force: false,
|
3137
|
+
# namespace_id: "NamespaceId",
|
3096
3138
|
# })
|
3097
3139
|
#
|
3098
3140
|
# @overload delete_job(params = {})
|
@@ -3132,6 +3174,19 @@ module Aws::IoT
|
|
3132
3174
|
#
|
3133
3175
|
# </note>
|
3134
3176
|
#
|
3177
|
+
# @option params [String] :namespace_id
|
3178
|
+
# The namespace used to indicate that a job is a customer-managed job.
|
3179
|
+
#
|
3180
|
+
# When you specify a value for this parameter, AWS IoT Core sends jobs
|
3181
|
+
# notifications to MQTT topics that contain the value in the following
|
3182
|
+
# format.
|
3183
|
+
#
|
3184
|
+
# `$aws/things/THING_NAME/jobs/JOB_ID/notify-namespace-NAMESPACE_ID/`
|
3185
|
+
#
|
3186
|
+
# <note markdown="1"> The `namespaceId` feature is in public preview.
|
3187
|
+
#
|
3188
|
+
# </note>
|
3189
|
+
#
|
3135
3190
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
3136
3191
|
#
|
3137
3192
|
# @example Request syntax with placeholder values
|
@@ -3141,6 +3196,7 @@ module Aws::IoT
|
|
3141
3196
|
# thing_name: "ThingName", # required
|
3142
3197
|
# execution_number: 1, # required
|
3143
3198
|
# force: false,
|
3199
|
+
# namespace_id: "NamespaceId",
|
3144
3200
|
# })
|
3145
3201
|
#
|
3146
3202
|
# @overload delete_job_execution(params = {})
|
@@ -4262,6 +4318,7 @@ module Aws::IoT
|
|
4262
4318
|
# resp.job.job_process_details.number_of_removed_things #=> Integer
|
4263
4319
|
# resp.job.job_process_details.number_of_timed_out_things #=> Integer
|
4264
4320
|
# resp.job.timeout_config.in_progress_timeout_in_minutes #=> Integer
|
4321
|
+
# resp.job.namespace_id #=> String
|
4265
4322
|
#
|
4266
4323
|
# @overload describe_job(params = {})
|
4267
4324
|
# @param [Hash] params ({})
|
@@ -6539,6 +6596,19 @@ module Aws::IoT
|
|
6539
6596
|
# An optional filter that lets you search for jobs that have the
|
6540
6597
|
# specified status.
|
6541
6598
|
#
|
6599
|
+
# @option params [String] :namespace_id
|
6600
|
+
# The namespace used to indicate that a job is a customer-managed job.
|
6601
|
+
#
|
6602
|
+
# When you specify a value for this parameter, AWS IoT Core sends jobs
|
6603
|
+
# notifications to MQTT topics that contain the value in the following
|
6604
|
+
# format.
|
6605
|
+
#
|
6606
|
+
# `$aws/things/THING_NAME/jobs/JOB_ID/notify-namespace-NAMESPACE_ID/`
|
6607
|
+
#
|
6608
|
+
# <note markdown="1"> The `namespaceId` feature is in public preview.
|
6609
|
+
#
|
6610
|
+
# </note>
|
6611
|
+
#
|
6542
6612
|
# @option params [Integer] :max_results
|
6543
6613
|
# The maximum number of results to be returned per request.
|
6544
6614
|
#
|
@@ -6557,6 +6627,7 @@ module Aws::IoT
|
|
6557
6627
|
# resp = client.list_job_executions_for_thing({
|
6558
6628
|
# thing_name: "ThingName", # required
|
6559
6629
|
# status: "QUEUED", # accepts QUEUED, IN_PROGRESS, SUCCEEDED, FAILED, TIMED_OUT, REJECTED, REMOVED, CANCELED
|
6630
|
+
# namespace_id: "NamespaceId",
|
6560
6631
|
# max_results: 1,
|
6561
6632
|
# next_token: "NextToken",
|
6562
6633
|
# })
|
@@ -6607,6 +6678,19 @@ module Aws::IoT
|
|
6607
6678
|
# A filter that limits the returned jobs to those for the specified
|
6608
6679
|
# group.
|
6609
6680
|
#
|
6681
|
+
# @option params [String] :namespace_id
|
6682
|
+
# The namespace used to indicate that a job is a customer-managed job.
|
6683
|
+
#
|
6684
|
+
# When you specify a value for this parameter, AWS IoT Core sends jobs
|
6685
|
+
# notifications to MQTT topics that contain the value in the following
|
6686
|
+
# format.
|
6687
|
+
#
|
6688
|
+
# `$aws/things/THING_NAME/jobs/JOB_ID/notify-namespace-NAMESPACE_ID/`
|
6689
|
+
#
|
6690
|
+
# <note markdown="1"> The `namespaceId` feature is in public preview.
|
6691
|
+
#
|
6692
|
+
# </note>
|
6693
|
+
#
|
6610
6694
|
# @return [Types::ListJobsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
6611
6695
|
#
|
6612
6696
|
# * {Types::ListJobsResponse#jobs #jobs} => Array<Types::JobSummary>
|
@@ -6623,6 +6707,7 @@ module Aws::IoT
|
|
6623
6707
|
# next_token: "NextToken",
|
6624
6708
|
# thing_group_name: "ThingGroupName",
|
6625
6709
|
# thing_group_id: "ThingGroupId",
|
6710
|
+
# namespace_id: "NamespaceId",
|
6626
6711
|
# })
|
6627
6712
|
#
|
6628
6713
|
# @example Response structure
|
@@ -9783,6 +9868,19 @@ module Aws::IoT
|
|
9783
9868
|
# terminal state before the time expires, it will be automatically set
|
9784
9869
|
# to `TIMED_OUT`.
|
9785
9870
|
#
|
9871
|
+
# @option params [String] :namespace_id
|
9872
|
+
# The namespace used to indicate that a job is a customer-managed job.
|
9873
|
+
#
|
9874
|
+
# When you specify a value for this parameter, AWS IoT Core sends jobs
|
9875
|
+
# notifications to MQTT topics that contain the value in the following
|
9876
|
+
# format.
|
9877
|
+
#
|
9878
|
+
# `$aws/things/THING_NAME/jobs/JOB_ID/notify-namespace-NAMESPACE_ID/`
|
9879
|
+
#
|
9880
|
+
# <note markdown="1"> The `namespaceId` feature is in public preview.
|
9881
|
+
#
|
9882
|
+
# </note>
|
9883
|
+
#
|
9786
9884
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
9787
9885
|
#
|
9788
9886
|
# @example Request syntax with placeholder values
|
@@ -9818,6 +9916,7 @@ module Aws::IoT
|
|
9818
9916
|
# timeout_config: {
|
9819
9917
|
# in_progress_timeout_in_minutes: 1,
|
9820
9918
|
# },
|
9919
|
+
# namespace_id: "NamespaceId",
|
9821
9920
|
# })
|
9822
9921
|
#
|
9823
9922
|
# @overload update_job(params = {})
|
@@ -10485,7 +10584,7 @@ module Aws::IoT
|
|
10485
10584
|
params: params,
|
10486
10585
|
config: config)
|
10487
10586
|
context[:gem_name] = 'aws-sdk-iot'
|
10488
|
-
context[:gem_version] = '1.
|
10587
|
+
context[:gem_version] = '1.60.0'
|
10489
10588
|
Seahorse::Client::Request.new(handlers, context)
|
10490
10589
|
end
|
10491
10590
|
|
@@ -710,6 +710,7 @@ module Aws::IoT
|
|
710
710
|
MqttContext = Shapes::StructureShape.new(name: 'MqttContext')
|
711
711
|
MqttPassword = Shapes::BlobShape.new(name: 'MqttPassword')
|
712
712
|
MqttUsername = Shapes::StringShape.new(name: 'MqttUsername')
|
713
|
+
NamespaceId = Shapes::StringShape.new(name: 'NamespaceId')
|
713
714
|
NextToken = Shapes::StringShape.new(name: 'NextToken')
|
714
715
|
NonCompliantChecksCount = Shapes::IntegerShape.new(name: 'NonCompliantChecksCount')
|
715
716
|
NonCompliantResource = Shapes::StructureShape.new(name: 'NonCompliantResource')
|
@@ -1222,6 +1223,7 @@ module Aws::IoT
|
|
1222
1223
|
AssociateTargetsWithJobRequest.add_member(:targets, Shapes::ShapeRef.new(shape: JobTargets, required: true, location_name: "targets"))
|
1223
1224
|
AssociateTargetsWithJobRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location: "uri", location_name: "jobId"))
|
1224
1225
|
AssociateTargetsWithJobRequest.add_member(:comment, Shapes::ShapeRef.new(shape: Comment, location_name: "comment"))
|
1226
|
+
AssociateTargetsWithJobRequest.add_member(:namespace_id, Shapes::ShapeRef.new(shape: NamespaceId, location: "querystring", location_name: "namespaceId"))
|
1225
1227
|
AssociateTargetsWithJobRequest.struct_class = Types::AssociateTargetsWithJobRequest
|
1226
1228
|
|
1227
1229
|
AssociateTargetsWithJobResponse.add_member(:job_arn, Shapes::ShapeRef.new(shape: JobArn, location_name: "jobArn"))
|
@@ -1670,6 +1672,7 @@ module Aws::IoT
|
|
1670
1672
|
CreateJobRequest.add_member(:abort_config, Shapes::ShapeRef.new(shape: AbortConfig, location_name: "abortConfig"))
|
1671
1673
|
CreateJobRequest.add_member(:timeout_config, Shapes::ShapeRef.new(shape: TimeoutConfig, location_name: "timeoutConfig"))
|
1672
1674
|
CreateJobRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
|
1675
|
+
CreateJobRequest.add_member(:namespace_id, Shapes::ShapeRef.new(shape: NamespaceId, location_name: "namespaceId"))
|
1673
1676
|
CreateJobRequest.struct_class = Types::CreateJobRequest
|
1674
1677
|
|
1675
1678
|
CreateJobResponse.add_member(:job_arn, Shapes::ShapeRef.new(shape: JobArn, location_name: "jobArn"))
|
@@ -1926,10 +1929,12 @@ module Aws::IoT
|
|
1926
1929
|
DeleteJobExecutionRequest.add_member(:thing_name, Shapes::ShapeRef.new(shape: ThingName, required: true, location: "uri", location_name: "thingName"))
|
1927
1930
|
DeleteJobExecutionRequest.add_member(:execution_number, Shapes::ShapeRef.new(shape: ExecutionNumber, required: true, location: "uri", location_name: "executionNumber"))
|
1928
1931
|
DeleteJobExecutionRequest.add_member(:force, Shapes::ShapeRef.new(shape: ForceFlag, location: "querystring", location_name: "force"))
|
1932
|
+
DeleteJobExecutionRequest.add_member(:namespace_id, Shapes::ShapeRef.new(shape: NamespaceId, location: "querystring", location_name: "namespaceId"))
|
1929
1933
|
DeleteJobExecutionRequest.struct_class = Types::DeleteJobExecutionRequest
|
1930
1934
|
|
1931
1935
|
DeleteJobRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location: "uri", location_name: "jobId"))
|
1932
1936
|
DeleteJobRequest.add_member(:force, Shapes::ShapeRef.new(shape: ForceFlag, location: "querystring", location_name: "force"))
|
1937
|
+
DeleteJobRequest.add_member(:namespace_id, Shapes::ShapeRef.new(shape: NamespaceId, location: "querystring", location_name: "namespaceId"))
|
1933
1938
|
DeleteJobRequest.struct_class = Types::DeleteJobRequest
|
1934
1939
|
|
1935
1940
|
DeleteMitigationActionRequest.add_member(:action_name, Shapes::ShapeRef.new(shape: MitigationActionName, required: true, location: "uri", location_name: "actionName"))
|
@@ -2615,6 +2620,7 @@ module Aws::IoT
|
|
2615
2620
|
Job.add_member(:completed_at, Shapes::ShapeRef.new(shape: DateType, location_name: "completedAt"))
|
2616
2621
|
Job.add_member(:job_process_details, Shapes::ShapeRef.new(shape: JobProcessDetails, location_name: "jobProcessDetails"))
|
2617
2622
|
Job.add_member(:timeout_config, Shapes::ShapeRef.new(shape: TimeoutConfig, location_name: "timeoutConfig"))
|
2623
|
+
Job.add_member(:namespace_id, Shapes::ShapeRef.new(shape: NamespaceId, location_name: "namespaceId"))
|
2618
2624
|
Job.struct_class = Types::Job
|
2619
2625
|
|
2620
2626
|
JobExecution.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "jobId"))
|
@@ -2861,6 +2867,7 @@ module Aws::IoT
|
|
2861
2867
|
|
2862
2868
|
ListJobExecutionsForThingRequest.add_member(:thing_name, Shapes::ShapeRef.new(shape: ThingName, required: true, location: "uri", location_name: "thingName"))
|
2863
2869
|
ListJobExecutionsForThingRequest.add_member(:status, Shapes::ShapeRef.new(shape: JobExecutionStatus, location: "querystring", location_name: "status"))
|
2870
|
+
ListJobExecutionsForThingRequest.add_member(:namespace_id, Shapes::ShapeRef.new(shape: NamespaceId, location: "querystring", location_name: "namespaceId"))
|
2864
2871
|
ListJobExecutionsForThingRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: LaserMaxResults, location: "querystring", location_name: "maxResults"))
|
2865
2872
|
ListJobExecutionsForThingRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
2866
2873
|
ListJobExecutionsForThingRequest.struct_class = Types::ListJobExecutionsForThingRequest
|
@@ -2875,6 +2882,7 @@ module Aws::IoT
|
|
2875
2882
|
ListJobsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
2876
2883
|
ListJobsRequest.add_member(:thing_group_name, Shapes::ShapeRef.new(shape: ThingGroupName, location: "querystring", location_name: "thingGroupName"))
|
2877
2884
|
ListJobsRequest.add_member(:thing_group_id, Shapes::ShapeRef.new(shape: ThingGroupId, location: "querystring", location_name: "thingGroupId"))
|
2885
|
+
ListJobsRequest.add_member(:namespace_id, Shapes::ShapeRef.new(shape: NamespaceId, location: "querystring", location_name: "namespaceId"))
|
2878
2886
|
ListJobsRequest.struct_class = Types::ListJobsRequest
|
2879
2887
|
|
2880
2888
|
ListJobsResponse.add_member(:jobs, Shapes::ShapeRef.new(shape: JobSummaryList, location_name: "jobs"))
|
@@ -4043,6 +4051,7 @@ module Aws::IoT
|
|
4043
4051
|
UpdateJobRequest.add_member(:job_executions_rollout_config, Shapes::ShapeRef.new(shape: JobExecutionsRolloutConfig, location_name: "jobExecutionsRolloutConfig"))
|
4044
4052
|
UpdateJobRequest.add_member(:abort_config, Shapes::ShapeRef.new(shape: AbortConfig, location_name: "abortConfig"))
|
4045
4053
|
UpdateJobRequest.add_member(:timeout_config, Shapes::ShapeRef.new(shape: TimeoutConfig, location_name: "timeoutConfig"))
|
4054
|
+
UpdateJobRequest.add_member(:namespace_id, Shapes::ShapeRef.new(shape: NamespaceId, location: "querystring", location_name: "namespaceId"))
|
4046
4055
|
UpdateJobRequest.struct_class = Types::UpdateJobRequest
|
4047
4056
|
|
4048
4057
|
UpdateMitigationActionRequest.add_member(:action_name, Shapes::ShapeRef.new(shape: MitigationActionName, required: true, location: "uri", location_name: "actionName"))
|
data/lib/aws-sdk-iot/types.rb
CHANGED
@@ -692,6 +692,7 @@ module Aws::IoT
|
|
692
692
|
# targets: ["TargetArn"], # required
|
693
693
|
# job_id: "JobId", # required
|
694
694
|
# comment: "Comment",
|
695
|
+
# namespace_id: "NamespaceId",
|
695
696
|
# }
|
696
697
|
#
|
697
698
|
# @!attribute [rw] targets
|
@@ -707,10 +708,25 @@ module Aws::IoT
|
|
707
708
|
# with the targets.
|
708
709
|
# @return [String]
|
709
710
|
#
|
711
|
+
# @!attribute [rw] namespace_id
|
712
|
+
# The namespace used to indicate that a job is a customer-managed job.
|
713
|
+
#
|
714
|
+
# When you specify a value for this parameter, AWS IoT Core sends jobs
|
715
|
+
# notifications to MQTT topics that contain the value in the following
|
716
|
+
# format.
|
717
|
+
#
|
718
|
+
# `$aws/things/THING_NAME/jobs/JOB_ID/notify-namespace-NAMESPACE_ID/`
|
719
|
+
#
|
720
|
+
# <note markdown="1"> The `namespaceId` feature is in public preview.
|
721
|
+
#
|
722
|
+
# </note>
|
723
|
+
# @return [String]
|
724
|
+
#
|
710
725
|
class AssociateTargetsWithJobRequest < Struct.new(
|
711
726
|
:targets,
|
712
727
|
:job_id,
|
713
|
-
:comment
|
728
|
+
:comment,
|
729
|
+
:namespace_id)
|
714
730
|
SENSITIVE = []
|
715
731
|
include Aws::Structure
|
716
732
|
end
|
@@ -3075,6 +3091,7 @@ module Aws::IoT
|
|
3075
3091
|
# value: "TagValue",
|
3076
3092
|
# },
|
3077
3093
|
# ],
|
3094
|
+
# namespace_id: "NamespaceId",
|
3078
3095
|
# }
|
3079
3096
|
#
|
3080
3097
|
# @!attribute [rw] job_id
|
@@ -3144,6 +3161,20 @@ module Aws::IoT
|
|
3144
3161
|
# Metadata which can be used to manage the job.
|
3145
3162
|
# @return [Array<Types::Tag>]
|
3146
3163
|
#
|
3164
|
+
# @!attribute [rw] namespace_id
|
3165
|
+
# The namespace used to indicate that a job is a customer-managed job.
|
3166
|
+
#
|
3167
|
+
# When you specify a value for this parameter, AWS IoT Core sends jobs
|
3168
|
+
# notifications to MQTT topics that contain the value in the following
|
3169
|
+
# format.
|
3170
|
+
#
|
3171
|
+
# `$aws/things/THING_NAME/jobs/JOB_ID/notify-namespace-NAMESPACE_ID/`
|
3172
|
+
#
|
3173
|
+
# <note markdown="1"> The `namespaceId` feature is in public preview.
|
3174
|
+
#
|
3175
|
+
# </note>
|
3176
|
+
# @return [String]
|
3177
|
+
#
|
3147
3178
|
class CreateJobRequest < Struct.new(
|
3148
3179
|
:job_id,
|
3149
3180
|
:targets,
|
@@ -3155,7 +3186,8 @@ module Aws::IoT
|
|
3155
3186
|
:job_executions_rollout_config,
|
3156
3187
|
:abort_config,
|
3157
3188
|
:timeout_config,
|
3158
|
-
:tags
|
3189
|
+
:tags,
|
3190
|
+
:namespace_id)
|
3159
3191
|
SENSITIVE = []
|
3160
3192
|
include Aws::Structure
|
3161
3193
|
end
|
@@ -5065,6 +5097,7 @@ module Aws::IoT
|
|
5065
5097
|
# thing_name: "ThingName", # required
|
5066
5098
|
# execution_number: 1, # required
|
5067
5099
|
# force: false,
|
5100
|
+
# namespace_id: "NamespaceId",
|
5068
5101
|
# }
|
5069
5102
|
#
|
5070
5103
|
# @!attribute [rw] job_id
|
@@ -5099,11 +5132,26 @@ module Aws::IoT
|
|
5099
5132
|
# </note>
|
5100
5133
|
# @return [Boolean]
|
5101
5134
|
#
|
5135
|
+
# @!attribute [rw] namespace_id
|
5136
|
+
# The namespace used to indicate that a job is a customer-managed job.
|
5137
|
+
#
|
5138
|
+
# When you specify a value for this parameter, AWS IoT Core sends jobs
|
5139
|
+
# notifications to MQTT topics that contain the value in the following
|
5140
|
+
# format.
|
5141
|
+
#
|
5142
|
+
# `$aws/things/THING_NAME/jobs/JOB_ID/notify-namespace-NAMESPACE_ID/`
|
5143
|
+
#
|
5144
|
+
# <note markdown="1"> The `namespaceId` feature is in public preview.
|
5145
|
+
#
|
5146
|
+
# </note>
|
5147
|
+
# @return [String]
|
5148
|
+
#
|
5102
5149
|
class DeleteJobExecutionRequest < Struct.new(
|
5103
5150
|
:job_id,
|
5104
5151
|
:thing_name,
|
5105
5152
|
:execution_number,
|
5106
|
-
:force
|
5153
|
+
:force,
|
5154
|
+
:namespace_id)
|
5107
5155
|
SENSITIVE = []
|
5108
5156
|
include Aws::Structure
|
5109
5157
|
end
|
@@ -5114,6 +5162,7 @@ module Aws::IoT
|
|
5114
5162
|
# {
|
5115
5163
|
# job_id: "JobId", # required
|
5116
5164
|
# force: false,
|
5165
|
+
# namespace_id: "NamespaceId",
|
5117
5166
|
# }
|
5118
5167
|
#
|
5119
5168
|
# @!attribute [rw] job_id
|
@@ -5140,9 +5189,24 @@ module Aws::IoT
|
|
5140
5189
|
# </note>
|
5141
5190
|
# @return [Boolean]
|
5142
5191
|
#
|
5192
|
+
# @!attribute [rw] namespace_id
|
5193
|
+
# The namespace used to indicate that a job is a customer-managed job.
|
5194
|
+
#
|
5195
|
+
# When you specify a value for this parameter, AWS IoT Core sends jobs
|
5196
|
+
# notifications to MQTT topics that contain the value in the following
|
5197
|
+
# format.
|
5198
|
+
#
|
5199
|
+
# `$aws/things/THING_NAME/jobs/JOB_ID/notify-namespace-NAMESPACE_ID/`
|
5200
|
+
#
|
5201
|
+
# <note markdown="1"> The `namespaceId` feature is in public preview.
|
5202
|
+
#
|
5203
|
+
# </note>
|
5204
|
+
# @return [String]
|
5205
|
+
#
|
5143
5206
|
class DeleteJobRequest < Struct.new(
|
5144
5207
|
:job_id,
|
5145
|
-
:force
|
5208
|
+
:force,
|
5209
|
+
:namespace_id)
|
5146
5210
|
SENSITIVE = []
|
5147
5211
|
include Aws::Structure
|
5148
5212
|
end
|
@@ -8614,6 +8678,20 @@ module Aws::IoT
|
|
8614
8678
|
# set to `TIMED_OUT`.
|
8615
8679
|
# @return [Types::TimeoutConfig]
|
8616
8680
|
#
|
8681
|
+
# @!attribute [rw] namespace_id
|
8682
|
+
# The namespace used to indicate that a job is a customer-managed job.
|
8683
|
+
#
|
8684
|
+
# When you specify a value for this parameter, AWS IoT Core sends jobs
|
8685
|
+
# notifications to MQTT topics that contain the value in the following
|
8686
|
+
# format.
|
8687
|
+
#
|
8688
|
+
# `$aws/things/THING_NAME/jobs/JOB_ID/notify-namespace-NAMESPACE_ID/`
|
8689
|
+
#
|
8690
|
+
# <note markdown="1"> The `namespaceId` feature is in public preview.
|
8691
|
+
#
|
8692
|
+
# </note>
|
8693
|
+
# @return [String]
|
8694
|
+
#
|
8617
8695
|
class Job < Struct.new(
|
8618
8696
|
:job_arn,
|
8619
8697
|
:job_id,
|
@@ -8631,7 +8709,8 @@ module Aws::IoT
|
|
8631
8709
|
:last_updated_at,
|
8632
8710
|
:completed_at,
|
8633
8711
|
:job_process_details,
|
8634
|
-
:timeout_config
|
8712
|
+
:timeout_config,
|
8713
|
+
:namespace_id)
|
8635
8714
|
SENSITIVE = []
|
8636
8715
|
include Aws::Structure
|
8637
8716
|
end
|
@@ -9943,6 +10022,7 @@ module Aws::IoT
|
|
9943
10022
|
# {
|
9944
10023
|
# thing_name: "ThingName", # required
|
9945
10024
|
# status: "QUEUED", # accepts QUEUED, IN_PROGRESS, SUCCEEDED, FAILED, TIMED_OUT, REJECTED, REMOVED, CANCELED
|
10025
|
+
# namespace_id: "NamespaceId",
|
9946
10026
|
# max_results: 1,
|
9947
10027
|
# next_token: "NextToken",
|
9948
10028
|
# }
|
@@ -9956,6 +10036,20 @@ module Aws::IoT
|
|
9956
10036
|
# specified status.
|
9957
10037
|
# @return [String]
|
9958
10038
|
#
|
10039
|
+
# @!attribute [rw] namespace_id
|
10040
|
+
# The namespace used to indicate that a job is a customer-managed job.
|
10041
|
+
#
|
10042
|
+
# When you specify a value for this parameter, AWS IoT Core sends jobs
|
10043
|
+
# notifications to MQTT topics that contain the value in the following
|
10044
|
+
# format.
|
10045
|
+
#
|
10046
|
+
# `$aws/things/THING_NAME/jobs/JOB_ID/notify-namespace-NAMESPACE_ID/`
|
10047
|
+
#
|
10048
|
+
# <note markdown="1"> The `namespaceId` feature is in public preview.
|
10049
|
+
#
|
10050
|
+
# </note>
|
10051
|
+
# @return [String]
|
10052
|
+
#
|
9959
10053
|
# @!attribute [rw] max_results
|
9960
10054
|
# The maximum number of results to be returned per request.
|
9961
10055
|
# @return [Integer]
|
@@ -9967,6 +10061,7 @@ module Aws::IoT
|
|
9967
10061
|
class ListJobExecutionsForThingRequest < Struct.new(
|
9968
10062
|
:thing_name,
|
9969
10063
|
:status,
|
10064
|
+
:namespace_id,
|
9970
10065
|
:max_results,
|
9971
10066
|
:next_token)
|
9972
10067
|
SENSITIVE = []
|
@@ -9999,6 +10094,7 @@ module Aws::IoT
|
|
9999
10094
|
# next_token: "NextToken",
|
10000
10095
|
# thing_group_name: "ThingGroupName",
|
10001
10096
|
# thing_group_id: "ThingGroupId",
|
10097
|
+
# namespace_id: "NamespaceId",
|
10002
10098
|
# }
|
10003
10099
|
#
|
10004
10100
|
# @!attribute [rw] status
|
@@ -10033,13 +10129,28 @@ module Aws::IoT
|
|
10033
10129
|
# group.
|
10034
10130
|
# @return [String]
|
10035
10131
|
#
|
10132
|
+
# @!attribute [rw] namespace_id
|
10133
|
+
# The namespace used to indicate that a job is a customer-managed job.
|
10134
|
+
#
|
10135
|
+
# When you specify a value for this parameter, AWS IoT Core sends jobs
|
10136
|
+
# notifications to MQTT topics that contain the value in the following
|
10137
|
+
# format.
|
10138
|
+
#
|
10139
|
+
# `$aws/things/THING_NAME/jobs/JOB_ID/notify-namespace-NAMESPACE_ID/`
|
10140
|
+
#
|
10141
|
+
# <note markdown="1"> The `namespaceId` feature is in public preview.
|
10142
|
+
#
|
10143
|
+
# </note>
|
10144
|
+
# @return [String]
|
10145
|
+
#
|
10036
10146
|
class ListJobsRequest < Struct.new(
|
10037
10147
|
:status,
|
10038
10148
|
:target_selection,
|
10039
10149
|
:max_results,
|
10040
10150
|
:next_token,
|
10041
10151
|
:thing_group_name,
|
10042
|
-
:thing_group_id
|
10152
|
+
:thing_group_id,
|
10153
|
+
:namespace_id)
|
10043
10154
|
SENSITIVE = []
|
10044
10155
|
include Aws::Structure
|
10045
10156
|
end
|
@@ -16680,6 +16791,7 @@ module Aws::IoT
|
|
16680
16791
|
# timeout_config: {
|
16681
16792
|
# in_progress_timeout_in_minutes: 1,
|
16682
16793
|
# },
|
16794
|
+
# namespace_id: "NamespaceId",
|
16683
16795
|
# }
|
16684
16796
|
#
|
16685
16797
|
# @!attribute [rw] job_id
|
@@ -16710,13 +16822,28 @@ module Aws::IoT
|
|
16710
16822
|
# automatically set to `TIMED_OUT`.
|
16711
16823
|
# @return [Types::TimeoutConfig]
|
16712
16824
|
#
|
16825
|
+
# @!attribute [rw] namespace_id
|
16826
|
+
# The namespace used to indicate that a job is a customer-managed job.
|
16827
|
+
#
|
16828
|
+
# When you specify a value for this parameter, AWS IoT Core sends jobs
|
16829
|
+
# notifications to MQTT topics that contain the value in the following
|
16830
|
+
# format.
|
16831
|
+
#
|
16832
|
+
# `$aws/things/THING_NAME/jobs/JOB_ID/notify-namespace-NAMESPACE_ID/`
|
16833
|
+
#
|
16834
|
+
# <note markdown="1"> The `namespaceId` feature is in public preview.
|
16835
|
+
#
|
16836
|
+
# </note>
|
16837
|
+
# @return [String]
|
16838
|
+
#
|
16713
16839
|
class UpdateJobRequest < Struct.new(
|
16714
16840
|
:job_id,
|
16715
16841
|
:description,
|
16716
16842
|
:presigned_url_config,
|
16717
16843
|
:job_executions_rollout_config,
|
16718
16844
|
:abort_config,
|
16719
|
-
:timeout_config
|
16845
|
+
:timeout_config,
|
16846
|
+
:namespace_id)
|
16720
16847
|
SENSITIVE = []
|
16721
16848
|
include Aws::Structure
|
16722
16849
|
end
|
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.60.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: 2020-10-
|
11
|
+
date: 2020-10-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|