aws-sdk-iot 1.138.0 → 1.140.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.
data/sig/types.rbs CHANGED
@@ -190,6 +190,7 @@ module Aws::IoT
190
190
  class AttachThingPrincipalRequest
191
191
  attr_accessor thing_name: ::String
192
192
  attr_accessor principal: ::String
193
+ attr_accessor thing_principal_type: ("EXCLUSIVE_THING" | "NON_EXCLUSIVE_THING")
193
194
  SENSITIVE: []
194
195
  end
195
196
 
@@ -603,6 +604,60 @@ module Aws::IoT
603
604
  SENSITIVE: []
604
605
  end
605
606
 
607
+ class CommandExecutionResult
608
+ attr_accessor s: ::String
609
+ attr_accessor b: bool
610
+ attr_accessor bin: ::String
611
+ SENSITIVE: []
612
+ end
613
+
614
+ class CommandExecutionSummary
615
+ attr_accessor command_arn: ::String
616
+ attr_accessor execution_id: ::String
617
+ attr_accessor target_arn: ::String
618
+ attr_accessor status: ("CREATED" | "IN_PROGRESS" | "SUCCEEDED" | "FAILED" | "REJECTED" | "TIMED_OUT")
619
+ attr_accessor created_at: ::Time
620
+ attr_accessor started_at: ::Time
621
+ attr_accessor completed_at: ::Time
622
+ SENSITIVE: []
623
+ end
624
+
625
+ class CommandParameter
626
+ attr_accessor name: ::String
627
+ attr_accessor value: Types::CommandParameterValue
628
+ attr_accessor default_value: Types::CommandParameterValue
629
+ attr_accessor description: ::String
630
+ SENSITIVE: []
631
+ end
632
+
633
+ class CommandParameterValue
634
+ attr_accessor s: ::String
635
+ attr_accessor b: bool
636
+ attr_accessor i: ::Integer
637
+ attr_accessor l: ::Integer
638
+ attr_accessor d: ::Float
639
+ attr_accessor bin: ::String
640
+ attr_accessor ul: ::String
641
+ SENSITIVE: []
642
+ end
643
+
644
+ class CommandPayload
645
+ attr_accessor content: ::String
646
+ attr_accessor content_type: ::String
647
+ SENSITIVE: []
648
+ end
649
+
650
+ class CommandSummary
651
+ attr_accessor command_arn: ::String
652
+ attr_accessor command_id: ::String
653
+ attr_accessor display_name: ::String
654
+ attr_accessor deprecated: bool
655
+ attr_accessor created_at: ::Time
656
+ attr_accessor last_updated_at: ::Time
657
+ attr_accessor pending_deletion: bool
658
+ SENSITIVE: []
659
+ end
660
+
606
661
  class Configuration
607
662
  attr_accessor enabled: bool
608
663
  SENSITIVE: []
@@ -700,6 +755,24 @@ module Aws::IoT
700
755
  SENSITIVE: []
701
756
  end
702
757
 
758
+ class CreateCommandRequest
759
+ attr_accessor command_id: ::String
760
+ attr_accessor namespace: ("AWS-IoT" | "AWS-IoT-FleetWise")
761
+ attr_accessor display_name: ::String
762
+ attr_accessor description: ::String
763
+ attr_accessor payload: Types::CommandPayload
764
+ attr_accessor mandatory_parameters: ::Array[Types::CommandParameter]
765
+ attr_accessor role_arn: ::String
766
+ attr_accessor tags: ::Array[Types::Tag]
767
+ SENSITIVE: []
768
+ end
769
+
770
+ class CreateCommandResponse
771
+ attr_accessor command_id: ::String
772
+ attr_accessor command_arn: ::String
773
+ SENSITIVE: []
774
+ end
775
+
703
776
  class CreateCustomMetricRequest
704
777
  attr_accessor metric_name: ::String
705
778
  attr_accessor display_name: ::String
@@ -1200,6 +1273,25 @@ module Aws::IoT
1200
1273
  SENSITIVE: []
1201
1274
  end
1202
1275
 
1276
+ class DeleteCommandExecutionRequest
1277
+ attr_accessor execution_id: ::String
1278
+ attr_accessor target_arn: ::String
1279
+ SENSITIVE: []
1280
+ end
1281
+
1282
+ class DeleteCommandExecutionResponse < Aws::EmptyStructure
1283
+ end
1284
+
1285
+ class DeleteCommandRequest
1286
+ attr_accessor command_id: ::String
1287
+ SENSITIVE: []
1288
+ end
1289
+
1290
+ class DeleteCommandResponse
1291
+ attr_accessor status_code: ::Integer
1292
+ SENSITIVE: []
1293
+ end
1294
+
1203
1295
  class DeleteConflictException
1204
1296
  attr_accessor message: ::String
1205
1297
  SENSITIVE: []
@@ -2166,6 +2258,51 @@ module Aws::IoT
2166
2258
  SENSITIVE: []
2167
2259
  end
2168
2260
 
2261
+ class GetCommandExecutionRequest
2262
+ attr_accessor execution_id: ::String
2263
+ attr_accessor target_arn: ::String
2264
+ attr_accessor include_result: bool
2265
+ SENSITIVE: []
2266
+ end
2267
+
2268
+ class GetCommandExecutionResponse
2269
+ attr_accessor execution_id: ::String
2270
+ attr_accessor command_arn: ::String
2271
+ attr_accessor target_arn: ::String
2272
+ attr_accessor status: ("CREATED" | "IN_PROGRESS" | "SUCCEEDED" | "FAILED" | "REJECTED" | "TIMED_OUT")
2273
+ attr_accessor status_reason: Types::StatusReason
2274
+ attr_accessor result: ::Hash[::String, Types::CommandExecutionResult]
2275
+ attr_accessor parameters: ::Hash[::String, Types::CommandParameterValue]
2276
+ attr_accessor execution_timeout_seconds: ::Integer
2277
+ attr_accessor created_at: ::Time
2278
+ attr_accessor last_updated_at: ::Time
2279
+ attr_accessor started_at: ::Time
2280
+ attr_accessor completed_at: ::Time
2281
+ attr_accessor time_to_live: ::Time
2282
+ SENSITIVE: []
2283
+ end
2284
+
2285
+ class GetCommandRequest
2286
+ attr_accessor command_id: ::String
2287
+ SENSITIVE: []
2288
+ end
2289
+
2290
+ class GetCommandResponse
2291
+ attr_accessor command_id: ::String
2292
+ attr_accessor command_arn: ::String
2293
+ attr_accessor namespace: ("AWS-IoT" | "AWS-IoT-FleetWise")
2294
+ attr_accessor display_name: ::String
2295
+ attr_accessor description: ::String
2296
+ attr_accessor mandatory_parameters: ::Array[Types::CommandParameter]
2297
+ attr_accessor payload: Types::CommandPayload
2298
+ attr_accessor role_arn: ::String
2299
+ attr_accessor created_at: ::Time
2300
+ attr_accessor last_updated_at: ::Time
2301
+ attr_accessor deprecated: bool
2302
+ attr_accessor pending_deletion: bool
2303
+ SENSITIVE: []
2304
+ end
2305
+
2169
2306
  class GetEffectivePoliciesRequest
2170
2307
  attr_accessor principal: ::String
2171
2308
  attr_accessor cognito_identity_pool_id: ::String
@@ -2841,6 +2978,40 @@ module Aws::IoT
2841
2978
  SENSITIVE: []
2842
2979
  end
2843
2980
 
2981
+ class ListCommandExecutionsRequest
2982
+ attr_accessor max_results: ::Integer
2983
+ attr_accessor next_token: ::String
2984
+ attr_accessor namespace: ("AWS-IoT" | "AWS-IoT-FleetWise")
2985
+ attr_accessor status: ("CREATED" | "IN_PROGRESS" | "SUCCEEDED" | "FAILED" | "REJECTED" | "TIMED_OUT")
2986
+ attr_accessor sort_order: ("ASCENDING" | "DESCENDING")
2987
+ attr_accessor started_time_filter: Types::TimeFilter
2988
+ attr_accessor completed_time_filter: Types::TimeFilter
2989
+ attr_accessor target_arn: ::String
2990
+ attr_accessor command_arn: ::String
2991
+ SENSITIVE: []
2992
+ end
2993
+
2994
+ class ListCommandExecutionsResponse
2995
+ attr_accessor command_executions: ::Array[Types::CommandExecutionSummary]
2996
+ attr_accessor next_token: ::String
2997
+ SENSITIVE: []
2998
+ end
2999
+
3000
+ class ListCommandsRequest
3001
+ attr_accessor max_results: ::Integer
3002
+ attr_accessor next_token: ::String
3003
+ attr_accessor namespace: ("AWS-IoT" | "AWS-IoT-FleetWise")
3004
+ attr_accessor command_parameter_name: ::String
3005
+ attr_accessor sort_order: ("ASCENDING" | "DESCENDING")
3006
+ SENSITIVE: []
3007
+ end
3008
+
3009
+ class ListCommandsResponse
3010
+ attr_accessor commands: ::Array[Types::CommandSummary]
3011
+ attr_accessor next_token: ::String
3012
+ SENSITIVE: []
3013
+ end
3014
+
2844
3015
  class ListCustomMetricsRequest
2845
3016
  attr_accessor next_token: ::String
2846
3017
  attr_accessor max_results: ::Integer
@@ -3152,6 +3323,20 @@ module Aws::IoT
3152
3323
  SENSITIVE: []
3153
3324
  end
3154
3325
 
3326
+ class ListPrincipalThingsV2Request
3327
+ attr_accessor next_token: ::String
3328
+ attr_accessor max_results: ::Integer
3329
+ attr_accessor principal: ::String
3330
+ attr_accessor thing_principal_type: ("EXCLUSIVE_THING" | "NON_EXCLUSIVE_THING")
3331
+ SENSITIVE: []
3332
+ end
3333
+
3334
+ class ListPrincipalThingsV2Response
3335
+ attr_accessor principal_thing_objects: ::Array[Types::PrincipalThingObject]
3336
+ attr_accessor next_token: ::String
3337
+ SENSITIVE: []
3338
+ end
3339
+
3155
3340
  class ListProvisioningTemplateVersionsRequest
3156
3341
  attr_accessor template_name: ::String
3157
3342
  attr_accessor max_results: ::Integer
@@ -3350,6 +3535,20 @@ module Aws::IoT
3350
3535
  SENSITIVE: []
3351
3536
  end
3352
3537
 
3538
+ class ListThingPrincipalsV2Request
3539
+ attr_accessor next_token: ::String
3540
+ attr_accessor max_results: ::Integer
3541
+ attr_accessor thing_name: ::String
3542
+ attr_accessor thing_principal_type: ("EXCLUSIVE_THING" | "NON_EXCLUSIVE_THING")
3543
+ SENSITIVE: []
3544
+ end
3545
+
3546
+ class ListThingPrincipalsV2Response
3547
+ attr_accessor thing_principal_objects: ::Array[Types::ThingPrincipalObject]
3548
+ attr_accessor next_token: ::String
3549
+ SENSITIVE: []
3550
+ end
3551
+
3353
3552
  class ListThingRegistrationTaskReportsRequest
3354
3553
  attr_accessor task_id: ::String
3355
3554
  attr_accessor report_type: ("ERRORS" | "RESULTS")
@@ -3611,6 +3810,11 @@ module Aws::IoT
3611
3810
  SENSITIVE: []
3612
3811
  end
3613
3812
 
3813
+ class Mqtt5Configuration
3814
+ attr_accessor propagating_attributes: ::Array[Types::PropagatingAttribute]
3815
+ SENSITIVE: []
3816
+ end
3817
+
3614
3818
  class MqttContext
3615
3819
  attr_accessor username: ::String
3616
3820
  attr_accessor password: ::String
@@ -3749,6 +3953,19 @@ module Aws::IoT
3749
3953
  SENSITIVE: []
3750
3954
  end
3751
3955
 
3956
+ class PrincipalThingObject
3957
+ attr_accessor thing_name: ::String
3958
+ attr_accessor thing_principal_type: ("EXCLUSIVE_THING" | "NON_EXCLUSIVE_THING")
3959
+ SENSITIVE: []
3960
+ end
3961
+
3962
+ class PropagatingAttribute
3963
+ attr_accessor user_property_key: ::String
3964
+ attr_accessor thing_attribute: ::String
3965
+ attr_accessor connection_attribute: ::String
3966
+ SENSITIVE: []
3967
+ end
3968
+
3752
3969
  class ProvisioningHook
3753
3970
  attr_accessor payload_version: ::String
3754
3971
  attr_accessor target_arn: ::String
@@ -4074,6 +4291,8 @@ module Aws::IoT
4074
4291
 
4075
4292
  class ServerCertificateConfig
4076
4293
  attr_accessor enable_ocsp_check: bool
4294
+ attr_accessor ocsp_lambda_arn: ::String
4295
+ attr_accessor ocsp_authorized_responder_arn: ::String
4077
4296
  SENSITIVE: []
4078
4297
  end
4079
4298
 
@@ -4238,6 +4457,12 @@ module Aws::IoT
4238
4457
  SENSITIVE: []
4239
4458
  end
4240
4459
 
4460
+ class StatusReason
4461
+ attr_accessor reason_code: ::String
4462
+ attr_accessor reason_description: ::String
4463
+ SENSITIVE: []
4464
+ end
4465
+
4241
4466
  class StepFunctionsAction
4242
4467
  attr_accessor execution_name_prefix: ::String
4243
4468
  attr_accessor state_machine_name: ::String
@@ -4432,6 +4657,12 @@ module Aws::IoT
4432
4657
  SENSITIVE: []
4433
4658
  end
4434
4659
 
4660
+ class ThingPrincipalObject
4661
+ attr_accessor principal: ::String
4662
+ attr_accessor thing_principal_type: ("EXCLUSIVE_THING" | "NON_EXCLUSIVE_THING")
4663
+ SENSITIVE: []
4664
+ end
4665
+
4435
4666
  class ThingTypeDefinition
4436
4667
  attr_accessor thing_type_name: ::String
4437
4668
  attr_accessor thing_type_arn: ::String
@@ -4450,6 +4681,7 @@ module Aws::IoT
4450
4681
  class ThingTypeProperties
4451
4682
  attr_accessor thing_type_description: ::String
4452
4683
  attr_accessor searchable_attributes: ::Array[::String]
4684
+ attr_accessor mqtt5_configuration: Types::Mqtt5Configuration
4453
4685
  SENSITIVE: []
4454
4686
  end
4455
4687
 
@@ -4458,6 +4690,12 @@ module Aws::IoT
4458
4690
  SENSITIVE: []
4459
4691
  end
4460
4692
 
4693
+ class TimeFilter
4694
+ attr_accessor after: ::String
4695
+ attr_accessor before: ::String
4696
+ SENSITIVE: []
4697
+ end
4698
+
4461
4699
  class TimeoutConfig
4462
4700
  attr_accessor in_progress_timeout_in_minutes: ::Integer
4463
4701
  SENSITIVE: []
@@ -4681,6 +4919,23 @@ module Aws::IoT
4681
4919
  SENSITIVE: []
4682
4920
  end
4683
4921
 
4922
+ class UpdateCommandRequest
4923
+ attr_accessor command_id: ::String
4924
+ attr_accessor display_name: ::String
4925
+ attr_accessor description: ::String
4926
+ attr_accessor deprecated: bool
4927
+ SENSITIVE: []
4928
+ end
4929
+
4930
+ class UpdateCommandResponse
4931
+ attr_accessor command_id: ::String
4932
+ attr_accessor display_name: ::String
4933
+ attr_accessor description: ::String
4934
+ attr_accessor deprecated: bool
4935
+ attr_accessor last_updated_at: ::Time
4936
+ SENSITIVE: []
4937
+ end
4938
+
4684
4939
  class UpdateCustomMetricRequest
4685
4940
  attr_accessor metric_name: ::String
4686
4941
  attr_accessor display_name: ::String
@@ -4967,6 +5222,15 @@ module Aws::IoT
4967
5222
  class UpdateThingResponse < Aws::EmptyStructure
4968
5223
  end
4969
5224
 
5225
+ class UpdateThingTypeRequest
5226
+ attr_accessor thing_type_name: ::String
5227
+ attr_accessor thing_type_properties: Types::ThingTypeProperties
5228
+ SENSITIVE: []
5229
+ end
5230
+
5231
+ class UpdateThingTypeResponse < Aws::EmptyStructure
5232
+ end
5233
+
4970
5234
  class UpdateTopicRuleDestinationRequest
4971
5235
  attr_accessor arn: ::String
4972
5236
  attr_accessor status: ("ENABLED" | "IN_PROGRESS" | "DISABLED" | "ERROR" | "DELETING")
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.138.0
4
+ version: 1.140.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: 2024-11-06 00:00:00.000000000 Z
11
+ date: 2024-11-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core