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/lib/aws-sdk-iot.rb CHANGED
@@ -54,7 +54,7 @@ module Aws::IoT
54
54
  autoload :EndpointProvider, 'aws-sdk-iot/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-iot/endpoints'
56
56
 
57
- GEM_VERSION = '1.138.0'
57
+ GEM_VERSION = '1.140.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -174,7 +174,8 @@ module Aws
174
174
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoT/Client.html#attach_thing_principal-instance_method
175
175
  def attach_thing_principal: (
176
176
  thing_name: ::String,
177
- principal: ::String
177
+ principal: ::String,
178
+ ?thing_principal_type: ("EXCLUSIVE_THING" | "NON_EXCLUSIVE_THING")
178
179
  ) -> _AttachThingPrincipalResponseSuccess
179
180
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AttachThingPrincipalResponseSuccess
180
181
 
@@ -362,6 +363,55 @@ module Aws
362
363
  ) -> _CreateCertificateProviderResponseSuccess
363
364
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateCertificateProviderResponseSuccess
364
365
 
366
+ interface _CreateCommandResponseSuccess
367
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateCommandResponse]
368
+ def command_id: () -> ::String
369
+ def command_arn: () -> ::String
370
+ end
371
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoT/Client.html#create_command-instance_method
372
+ def create_command: (
373
+ command_id: ::String,
374
+ ?namespace: ("AWS-IoT" | "AWS-IoT-FleetWise"),
375
+ ?display_name: ::String,
376
+ ?description: ::String,
377
+ ?payload: {
378
+ content: ::String?,
379
+ content_type: ::String?
380
+ },
381
+ ?mandatory_parameters: Array[
382
+ {
383
+ name: ::String,
384
+ value: {
385
+ s: ::String?,
386
+ b: bool?,
387
+ i: ::Integer?,
388
+ l: ::Integer?,
389
+ d: ::Float?,
390
+ bin: ::String?,
391
+ ul: ::String?
392
+ }?,
393
+ default_value: {
394
+ s: ::String?,
395
+ b: bool?,
396
+ i: ::Integer?,
397
+ l: ::Integer?,
398
+ d: ::Float?,
399
+ bin: ::String?,
400
+ ul: ::String?
401
+ }?,
402
+ description: ::String?
403
+ },
404
+ ],
405
+ ?role_arn: ::String,
406
+ ?tags: Array[
407
+ {
408
+ key: ::String,
409
+ value: ::String?
410
+ },
411
+ ]
412
+ ) -> _CreateCommandResponseSuccess
413
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateCommandResponseSuccess
414
+
365
415
  interface _CreateCustomMetricResponseSuccess
366
416
  include ::Seahorse::Client::_ResponseSuccess[Types::CreateCustomMetricResponse]
367
417
  def metric_name: () -> ::String
@@ -428,7 +478,9 @@ module Aws
428
478
  security_policy: ::String?
429
479
  },
430
480
  ?server_certificate_config: {
431
- enable_ocsp_check: bool?
481
+ enable_ocsp_check: bool?,
482
+ ocsp_lambda_arn: ::String?,
483
+ ocsp_authorized_responder_arn: ::String?
432
484
  },
433
485
  ?authentication_type: ("CUSTOM_AUTH_X509" | "CUSTOM_AUTH" | "AWS_X509" | "AWS_SIGV4" | "DEFAULT"),
434
486
  ?application_protocol: ("SECURE_MQTT" | "MQTT_WSS" | "HTTPS" | "DEFAULT"),
@@ -1116,7 +1168,16 @@ module Aws
1116
1168
  thing_type_name: ::String,
1117
1169
  ?thing_type_properties: {
1118
1170
  thing_type_description: ::String?,
1119
- searchable_attributes: Array[::String]?
1171
+ searchable_attributes: Array[::String]?,
1172
+ mqtt5_configuration: {
1173
+ propagating_attributes: Array[
1174
+ {
1175
+ user_property_key: ::String?,
1176
+ thing_attribute: ::String?,
1177
+ connection_attribute: ::String?
1178
+ },
1179
+ ]?
1180
+ }?
1120
1181
  },
1121
1182
  ?tags: Array[
1122
1183
  {
@@ -1651,6 +1712,26 @@ module Aws
1651
1712
  ) -> _DeleteCertificateProviderResponseSuccess
1652
1713
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteCertificateProviderResponseSuccess
1653
1714
 
1715
+ interface _DeleteCommandResponseSuccess
1716
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteCommandResponse]
1717
+ def status_code: () -> ::Integer
1718
+ end
1719
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoT/Client.html#delete_command-instance_method
1720
+ def delete_command: (
1721
+ command_id: ::String
1722
+ ) -> _DeleteCommandResponseSuccess
1723
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteCommandResponseSuccess
1724
+
1725
+ interface _DeleteCommandExecutionResponseSuccess
1726
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteCommandExecutionResponse]
1727
+ end
1728
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoT/Client.html#delete_command_execution-instance_method
1729
+ def delete_command_execution: (
1730
+ execution_id: ::String,
1731
+ target_arn: ::String
1732
+ ) -> _DeleteCommandExecutionResponseSuccess
1733
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteCommandExecutionResponseSuccess
1734
+
1654
1735
  interface _DeleteCustomMetricResponseSuccess
1655
1736
  include ::Seahorse::Client::_ResponseSuccess[Types::DeleteCustomMetricResponse]
1656
1737
  end
@@ -2513,6 +2594,51 @@ module Aws
2513
2594
  ) -> _GetCardinalityResponseSuccess
2514
2595
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetCardinalityResponseSuccess
2515
2596
 
2597
+ interface _GetCommandResponseSuccess
2598
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetCommandResponse]
2599
+ def command_id: () -> ::String
2600
+ def command_arn: () -> ::String
2601
+ def namespace: () -> ("AWS-IoT" | "AWS-IoT-FleetWise")
2602
+ def display_name: () -> ::String
2603
+ def description: () -> ::String
2604
+ def mandatory_parameters: () -> ::Array[Types::CommandParameter]
2605
+ def payload: () -> Types::CommandPayload
2606
+ def role_arn: () -> ::String
2607
+ def created_at: () -> ::Time
2608
+ def last_updated_at: () -> ::Time
2609
+ def deprecated: () -> bool
2610
+ def pending_deletion: () -> bool
2611
+ end
2612
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoT/Client.html#get_command-instance_method
2613
+ def get_command: (
2614
+ command_id: ::String
2615
+ ) -> _GetCommandResponseSuccess
2616
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetCommandResponseSuccess
2617
+
2618
+ interface _GetCommandExecutionResponseSuccess
2619
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetCommandExecutionResponse]
2620
+ def execution_id: () -> ::String
2621
+ def command_arn: () -> ::String
2622
+ def target_arn: () -> ::String
2623
+ def status: () -> ("CREATED" | "IN_PROGRESS" | "SUCCEEDED" | "FAILED" | "REJECTED" | "TIMED_OUT")
2624
+ def status_reason: () -> Types::StatusReason
2625
+ def result: () -> ::Hash[::String, Types::CommandExecutionResult]
2626
+ def parameters: () -> ::Hash[::String, Types::CommandParameterValue]
2627
+ def execution_timeout_seconds: () -> ::Integer
2628
+ def created_at: () -> ::Time
2629
+ def last_updated_at: () -> ::Time
2630
+ def started_at: () -> ::Time
2631
+ def completed_at: () -> ::Time
2632
+ def time_to_live: () -> ::Time
2633
+ end
2634
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoT/Client.html#get_command_execution-instance_method
2635
+ def get_command_execution: (
2636
+ execution_id: ::String,
2637
+ target_arn: ::String,
2638
+ ?include_result: bool
2639
+ ) -> _GetCommandExecutionResponseSuccess
2640
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetCommandExecutionResponseSuccess
2641
+
2516
2642
  interface _GetEffectivePoliciesResponseSuccess
2517
2643
  include ::Seahorse::Client::_ResponseSuccess[Types::GetEffectivePoliciesResponse]
2518
2644
  def effective_policies: () -> ::Array[Types::EffectivePolicy]
@@ -2943,6 +3069,46 @@ module Aws
2943
3069
  ) -> _ListCertificatesByCAResponseSuccess
2944
3070
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListCertificatesByCAResponseSuccess
2945
3071
 
3072
+ interface _ListCommandExecutionsResponseSuccess
3073
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListCommandExecutionsResponse]
3074
+ def command_executions: () -> ::Array[Types::CommandExecutionSummary]
3075
+ def next_token: () -> ::String
3076
+ end
3077
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoT/Client.html#list_command_executions-instance_method
3078
+ def list_command_executions: (
3079
+ ?max_results: ::Integer,
3080
+ ?next_token: ::String,
3081
+ ?namespace: ("AWS-IoT" | "AWS-IoT-FleetWise"),
3082
+ ?status: ("CREATED" | "IN_PROGRESS" | "SUCCEEDED" | "FAILED" | "REJECTED" | "TIMED_OUT"),
3083
+ ?sort_order: ("ASCENDING" | "DESCENDING"),
3084
+ ?started_time_filter: {
3085
+ after: ::String?,
3086
+ before: ::String?
3087
+ },
3088
+ ?completed_time_filter: {
3089
+ after: ::String?,
3090
+ before: ::String?
3091
+ },
3092
+ ?target_arn: ::String,
3093
+ ?command_arn: ::String
3094
+ ) -> _ListCommandExecutionsResponseSuccess
3095
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListCommandExecutionsResponseSuccess
3096
+
3097
+ interface _ListCommandsResponseSuccess
3098
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListCommandsResponse]
3099
+ def commands: () -> ::Array[Types::CommandSummary]
3100
+ def next_token: () -> ::String
3101
+ end
3102
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoT/Client.html#list_commands-instance_method
3103
+ def list_commands: (
3104
+ ?max_results: ::Integer,
3105
+ ?next_token: ::String,
3106
+ ?namespace: ("AWS-IoT" | "AWS-IoT-FleetWise"),
3107
+ ?command_parameter_name: ::String,
3108
+ ?sort_order: ("ASCENDING" | "DESCENDING")
3109
+ ) -> _ListCommandsResponseSuccess
3110
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListCommandsResponseSuccess
3111
+
2946
3112
  interface _ListCustomMetricsResponseSuccess
2947
3113
  include ::Seahorse::Client::_ResponseSuccess[Types::ListCustomMetricsResponse]
2948
3114
  def metric_names: () -> ::Array[::String]
@@ -3254,6 +3420,20 @@ module Aws
3254
3420
  ) -> _ListPrincipalThingsResponseSuccess
3255
3421
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListPrincipalThingsResponseSuccess
3256
3422
 
3423
+ interface _ListPrincipalThingsV2ResponseSuccess
3424
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListPrincipalThingsV2Response]
3425
+ def principal_thing_objects: () -> ::Array[Types::PrincipalThingObject]
3426
+ def next_token: () -> ::String
3427
+ end
3428
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoT/Client.html#list_principal_things_v2-instance_method
3429
+ def list_principal_things_v2: (
3430
+ ?next_token: ::String,
3431
+ ?max_results: ::Integer,
3432
+ principal: ::String,
3433
+ ?thing_principal_type: ("EXCLUSIVE_THING" | "NON_EXCLUSIVE_THING")
3434
+ ) -> _ListPrincipalThingsV2ResponseSuccess
3435
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListPrincipalThingsV2ResponseSuccess
3436
+
3257
3437
  interface _ListProvisioningTemplateVersionsResponseSuccess
3258
3438
  include ::Seahorse::Client::_ResponseSuccess[Types::ListProvisioningTemplateVersionsResponse]
3259
3439
  def versions: () -> ::Array[Types::ProvisioningTemplateVersionSummary]
@@ -3452,6 +3632,20 @@ module Aws
3452
3632
  ) -> _ListThingPrincipalsResponseSuccess
3453
3633
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListThingPrincipalsResponseSuccess
3454
3634
 
3635
+ interface _ListThingPrincipalsV2ResponseSuccess
3636
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListThingPrincipalsV2Response]
3637
+ def thing_principal_objects: () -> ::Array[Types::ThingPrincipalObject]
3638
+ def next_token: () -> ::String
3639
+ end
3640
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoT/Client.html#list_thing_principals_v2-instance_method
3641
+ def list_thing_principals_v2: (
3642
+ ?next_token: ::String,
3643
+ ?max_results: ::Integer,
3644
+ thing_name: ::String,
3645
+ ?thing_principal_type: ("EXCLUSIVE_THING" | "NON_EXCLUSIVE_THING")
3646
+ ) -> _ListThingPrincipalsV2ResponseSuccess
3647
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListThingPrincipalsV2ResponseSuccess
3648
+
3455
3649
  interface _ListThingRegistrationTaskReportsResponseSuccess
3456
3650
  include ::Seahorse::Client::_ResponseSuccess[Types::ListThingRegistrationTaskReportsResponse]
3457
3651
  def resource_links: () -> ::Array[::String]
@@ -4452,6 +4646,23 @@ module Aws
4452
4646
  ) -> _UpdateCertificateProviderResponseSuccess
4453
4647
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateCertificateProviderResponseSuccess
4454
4648
 
4649
+ interface _UpdateCommandResponseSuccess
4650
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateCommandResponse]
4651
+ def command_id: () -> ::String
4652
+ def display_name: () -> ::String
4653
+ def description: () -> ::String
4654
+ def deprecated: () -> bool
4655
+ def last_updated_at: () -> ::Time
4656
+ end
4657
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoT/Client.html#update_command-instance_method
4658
+ def update_command: (
4659
+ command_id: ::String,
4660
+ ?display_name: ::String,
4661
+ ?description: ::String,
4662
+ ?deprecated: bool
4663
+ ) -> _UpdateCommandResponseSuccess
4664
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateCommandResponseSuccess
4665
+
4455
4666
  interface _UpdateCustomMetricResponseSuccess
4456
4667
  include ::Seahorse::Client::_ResponseSuccess[Types::UpdateCustomMetricResponse]
4457
4668
  def metric_name: () -> ::String
@@ -4502,7 +4713,9 @@ module Aws
4502
4713
  security_policy: ::String?
4503
4714
  },
4504
4715
  ?server_certificate_config: {
4505
- enable_ocsp_check: bool?
4716
+ enable_ocsp_check: bool?,
4717
+ ocsp_lambda_arn: ::String?,
4718
+ ocsp_authorized_responder_arn: ::String?
4506
4719
  },
4507
4720
  ?authentication_type: ("CUSTOM_AUTH_X509" | "CUSTOM_AUTH" | "AWS_X509" | "AWS_SIGV4" | "DEFAULT"),
4508
4721
  ?application_protocol: ("SECURE_MQTT" | "MQTT_WSS" | "HTTPS" | "DEFAULT"),
@@ -4931,6 +5144,28 @@ module Aws
4931
5144
  ) -> _UpdateThingGroupsForThingResponseSuccess
4932
5145
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateThingGroupsForThingResponseSuccess
4933
5146
 
5147
+ interface _UpdateThingTypeResponseSuccess
5148
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateThingTypeResponse]
5149
+ end
5150
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoT/Client.html#update_thing_type-instance_method
5151
+ def update_thing_type: (
5152
+ thing_type_name: ::String,
5153
+ ?thing_type_properties: {
5154
+ thing_type_description: ::String?,
5155
+ searchable_attributes: Array[::String]?,
5156
+ mqtt5_configuration: {
5157
+ propagating_attributes: Array[
5158
+ {
5159
+ user_property_key: ::String?,
5160
+ thing_attribute: ::String?,
5161
+ connection_attribute: ::String?
5162
+ },
5163
+ ]?
5164
+ }?
5165
+ }
5166
+ ) -> _UpdateThingTypeResponseSuccess
5167
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateThingTypeResponseSuccess
5168
+
4934
5169
  interface _UpdateTopicRuleDestinationResponseSuccess
4935
5170
  include ::Seahorse::Client::_ResponseSuccess[Types::UpdateTopicRuleDestinationResponse]
4936
5171
  end