aws-sdk-iot 1.168.0 → 1.169.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
  SHA256:
3
- metadata.gz: 4601c90e0ad63fe743d7b1c060440a548e2953d22d24216a732992fe072c87dd
4
- data.tar.gz: 2c46466870e7d335061ecf730622c2d404318a2e85ed69518676301685123e15
3
+ metadata.gz: 45ac58acafda4c04969c03b5fc2837586fc51e4c59943259e9a5f0b6b0866daa
4
+ data.tar.gz: a40807cbbebf3a3a17c0fd3467f8079c2227e4c44e883dfc5952593d2ece19ad
5
5
  SHA512:
6
- metadata.gz: 8fd7ff7ec493db5ff70da4854887afccc85f1e1b2f1050afb7a4044c80a054aa90be55b0483ddecdc42e795e53552a7a629c7bee8dd40d281953c2d71dd5200f
7
- data.tar.gz: 01503a66ebd475e0745e327b0506554271cc1d3e89d01c0b3da500a135f9455b0282d6f5cde9b93b7d453a8dada8bc6a9cbd6d5f6bf8328c7899f98ad0ef11a9
6
+ metadata.gz: 0d2122c1de6cd20e52557f60a8b3e27d4135376e15c178efe3529002dc39f555c8d537d78a008ca418813c1b3afa3a13af9fa376a6ed9acda504677edf133679
7
+ data.tar.gz: f0d37e2596fc6b6e6a27171969aac1909d6e3437b9cd01c0d9ac89c13992d3f0ffed9d533c77caed88542d60b7c4a0f69aae821fefa2d0cd8f1d420c02560411
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.169.0 (2026-05-28)
5
+ ------------------
6
+
7
+ * Feature - Adds new connectivity-related fields to Fleet Indexing API requests and responses.
8
+
4
9
  1.168.0 (2026-05-21)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.168.0
1
+ 1.169.0
@@ -8115,6 +8115,8 @@ module Aws::IoT
8115
8115
  # resp.thing_indexing_configuration.filter.geo_locations #=> Array
8116
8116
  # resp.thing_indexing_configuration.filter.geo_locations[0].name #=> String
8117
8117
  # resp.thing_indexing_configuration.filter.geo_locations[0].order #=> String, one of "LatLon", "LonLat"
8118
+ # resp.thing_indexing_configuration.filter.connectivity.include_socket_information #=> Array
8119
+ # resp.thing_indexing_configuration.filter.connectivity.include_socket_information[0] #=> String, one of "GET_THING_CONNECTIVITY_DATA"
8118
8120
  # resp.thing_group_indexing_configuration.thing_group_indexing_mode #=> String, one of "OFF", "ON"
8119
8121
  # resp.thing_group_indexing_configuration.managed_fields #=> Array
8120
8122
  # resp.thing_group_indexing_configuration.managed_fields[0].name #=> String
@@ -8648,17 +8650,34 @@ module Aws::IoT
8648
8650
  # @option params [required, String] :thing_name
8649
8651
  # The name of your IoT thing.
8650
8652
  #
8653
+ # @option params [Boolean] :include_socket_information
8654
+ # Specifies if socket information (sourcePort, targetPort, sourceIp,
8655
+ # targetIp, vpcEndpointId) should be included in the
8656
+ # GetThingConnectivityData response. Set to `true` to include socket
8657
+ # information. Set to `false` to omit socket information. By default,
8658
+ # this is set to `false`.
8659
+ #
8651
8660
  # @return [Types::GetThingConnectivityDataResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
8652
8661
  #
8653
8662
  # * {Types::GetThingConnectivityDataResponse#thing_name #thing_name} => String
8654
8663
  # * {Types::GetThingConnectivityDataResponse#connected #connected} => Boolean
8655
8664
  # * {Types::GetThingConnectivityDataResponse#timestamp #timestamp} => Time
8656
8665
  # * {Types::GetThingConnectivityDataResponse#disconnect_reason #disconnect_reason} => String
8666
+ # * {Types::GetThingConnectivityDataResponse#source_ip #source_ip} => String
8667
+ # * {Types::GetThingConnectivityDataResponse#source_port #source_port} => Integer
8668
+ # * {Types::GetThingConnectivityDataResponse#target_ip #target_ip} => String
8669
+ # * {Types::GetThingConnectivityDataResponse#target_port #target_port} => Integer
8670
+ # * {Types::GetThingConnectivityDataResponse#vpc_endpoint_id #vpc_endpoint_id} => String
8671
+ # * {Types::GetThingConnectivityDataResponse#keep_alive_duration #keep_alive_duration} => Integer
8672
+ # * {Types::GetThingConnectivityDataResponse#clean_session #clean_session} => Boolean
8673
+ # * {Types::GetThingConnectivityDataResponse#session_expiry #session_expiry} => Integer
8674
+ # * {Types::GetThingConnectivityDataResponse#client_id #client_id} => String
8657
8675
  #
8658
8676
  # @example Request syntax with placeholder values
8659
8677
  #
8660
8678
  # resp = client.get_thing_connectivity_data({
8661
8679
  # thing_name: "ConnectivityApiThingName", # required
8680
+ # include_socket_information: false,
8662
8681
  # })
8663
8682
  #
8664
8683
  # @example Response structure
@@ -8666,7 +8685,16 @@ module Aws::IoT
8666
8685
  # resp.thing_name #=> String
8667
8686
  # resp.connected #=> Boolean
8668
8687
  # resp.timestamp #=> Time
8669
- # resp.disconnect_reason #=> String, one of "AUTH_ERROR", "CLIENT_INITIATED_DISCONNECT", "CLIENT_ERROR", "CONNECTION_LOST", "DUPLICATE_CLIENTID", "FORBIDDEN_ACCESS", "MQTT_KEEP_ALIVE_TIMEOUT", "SERVER_ERROR", "SERVER_INITIATED_DISCONNECT", "THROTTLED", "WEBSOCKET_TTL_EXPIRATION", "CUSTOMAUTH_TTL_EXPIRATION", "UNKNOWN", "NONE"
8688
+ # resp.disconnect_reason #=> String, one of "AUTH_ERROR", "CLIENT_INITIATED_DISCONNECT", "CLIENT_ERROR", "CONNECTION_LOST", "DUPLICATE_CLIENTID", "FORBIDDEN_ACCESS", "MQTT_KEEP_ALIVE_TIMEOUT", "SERVER_ERROR", "SERVER_INITIATED_DISCONNECT", "API_INITIATED_DISCONNECT", "THROTTLED", "WEBSOCKET_TTL_EXPIRATION", "CUSTOMAUTH_TTL_EXPIRATION", "UNKNOWN", "NONE"
8689
+ # resp.source_ip #=> String
8690
+ # resp.source_port #=> Integer
8691
+ # resp.target_ip #=> String
8692
+ # resp.target_port #=> Integer
8693
+ # resp.vpc_endpoint_id #=> String
8694
+ # resp.keep_alive_duration #=> Integer
8695
+ # resp.clean_session #=> Boolean
8696
+ # resp.session_expiry #=> Integer
8697
+ # resp.client_id #=> String
8670
8698
  #
8671
8699
  # @overload get_thing_connectivity_data(params = {})
8672
8700
  # @param [Hash] params ({})
@@ -13860,6 +13888,10 @@ module Aws::IoT
13860
13888
  # resp.things[0].connectivity.connected #=> Boolean
13861
13889
  # resp.things[0].connectivity.timestamp #=> Integer
13862
13890
  # resp.things[0].connectivity.disconnect_reason #=> String
13891
+ # resp.things[0].connectivity.keep_alive_duration #=> Integer
13892
+ # resp.things[0].connectivity.clean_session #=> Boolean
13893
+ # resp.things[0].connectivity.session_expiry #=> Integer
13894
+ # resp.things[0].connectivity.client_id #=> String
13863
13895
  # resp.thing_groups #=> Array
13864
13896
  # resp.thing_groups[0].thing_group_name #=> String
13865
13897
  # resp.thing_groups[0].thing_group_id #=> String
@@ -15522,6 +15554,9 @@ module Aws::IoT
15522
15554
  # order: "LatLon", # accepts LatLon, LonLat
15523
15555
  # },
15524
15556
  # ],
15557
+ # connectivity: {
15558
+ # include_socket_information: ["GET_THING_CONNECTIVITY_DATA"], # accepts GET_THING_CONNECTIVITY_DATA
15559
+ # },
15525
15560
  # },
15526
15561
  # },
15527
15562
  # thing_group_indexing_configuration: {
@@ -16662,7 +16697,7 @@ module Aws::IoT
16662
16697
  tracer: tracer
16663
16698
  )
16664
16699
  context[:gem_name] = 'aws-sdk-iot'
16665
- context[:gem_version] = '1.168.0'
16700
+ context[:gem_version] = '1.169.0'
16666
16701
  Seahorse::Client::Request.new(handlers, context)
16667
16702
  end
16668
16703
 
@@ -291,6 +291,7 @@ module Aws::IoT
291
291
  ConflictingResourceUpdateException = Shapes::StructureShape.new(name: 'ConflictingResourceUpdateException')
292
292
  ConnectionAttributeName = Shapes::StringShape.new(name: 'ConnectionAttributeName')
293
293
  ConnectivityApiThingName = Shapes::StringShape.new(name: 'ConnectivityApiThingName')
294
+ ConnectivityFilter = Shapes::StructureShape.new(name: 'ConnectivityFilter')
294
295
  ConnectivityTimestamp = Shapes::IntegerShape.new(name: 'ConnectivityTimestamp')
295
296
  ConsecutiveDatapointsToAlarm = Shapes::IntegerShape.new(name: 'ConsecutiveDatapointsToAlarm')
296
297
  ConsecutiveDatapointsToClear = Shapes::IntegerShape.new(name: 'ConsecutiveDatapointsToClear')
@@ -625,6 +626,8 @@ module Aws::IoT
625
626
  FirehoseAction = Shapes::StructureShape.new(name: 'FirehoseAction')
626
627
  FirehoseSeparator = Shapes::StringShape.new(name: 'FirehoseSeparator')
627
628
  Flag = Shapes::BooleanShape.new(name: 'Flag')
629
+ FleetIndexingApi = Shapes::StringShape.new(name: 'FleetIndexingApi')
630
+ FleetIndexingApiList = Shapes::ListShape.new(name: 'FleetIndexingApiList')
628
631
  FleetMetricArn = Shapes::StringShape.new(name: 'FleetMetricArn')
629
632
  FleetMetricDescription = Shapes::StringShape.new(name: 'FleetMetricDescription')
630
633
  FleetMetricName = Shapes::StringShape.new(name: 'FleetMetricName')
@@ -769,6 +772,7 @@ module Aws::IoT
769
772
  KafkaHeaderKey = Shapes::StringShape.new(name: 'KafkaHeaderKey')
770
773
  KafkaHeaderValue = Shapes::StringShape.new(name: 'KafkaHeaderValue')
771
774
  KafkaHeaders = Shapes::ListShape.new(name: 'KafkaHeaders')
775
+ KeepAliveDuration = Shapes::IntegerShape.new(name: 'KeepAliveDuration')
772
776
  Key = Shapes::StringShape.new(name: 'Key')
773
777
  KeyName = Shapes::StringShape.new(name: 'KeyName')
774
778
  KeyPair = Shapes::StructureShape.new(name: 'KeyPair')
@@ -1218,6 +1222,7 @@ module Aws::IoT
1218
1222
  ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
1219
1223
  ServiceType = Shapes::StringShape.new(name: 'ServiceType')
1220
1224
  ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
1225
+ SessionExpiry = Shapes::IntegerShape.new(name: 'SessionExpiry')
1221
1226
  SetAsActive = Shapes::BooleanShape.new(name: 'SetAsActive')
1222
1227
  SetAsActiveFlag = Shapes::BooleanShape.new(name: 'SetAsActiveFlag')
1223
1228
  SetAsDefault = Shapes::BooleanShape.new(name: 'SetAsDefault')
@@ -1240,6 +1245,8 @@ module Aws::IoT
1240
1245
  SnsAction = Shapes::StructureShape.new(name: 'SnsAction')
1241
1246
  SnsTopicArn = Shapes::StringShape.new(name: 'SnsTopicArn')
1242
1247
  SortOrder = Shapes::StringShape.new(name: 'SortOrder')
1248
+ SourceIp = Shapes::StringShape.new(name: 'SourceIp')
1249
+ SourcePort = Shapes::IntegerShape.new(name: 'SourcePort')
1243
1250
  SqlParseException = Shapes::StructureShape.new(name: 'SqlParseException')
1244
1251
  SqsAction = Shapes::StructureShape.new(name: 'SqsAction')
1245
1252
  StartAuditMitigationActionsTaskRequest = Shapes::StructureShape.new(name: 'StartAuditMitigationActionsTaskRequest')
@@ -1305,6 +1312,8 @@ module Aws::IoT
1305
1312
  TargetAuditCheckNames = Shapes::ListShape.new(name: 'TargetAuditCheckNames')
1306
1313
  TargetFieldName = Shapes::StringShape.new(name: 'TargetFieldName')
1307
1314
  TargetFieldOrder = Shapes::StringShape.new(name: 'TargetFieldOrder')
1315
+ TargetIp = Shapes::StringShape.new(name: 'TargetIp')
1316
+ TargetPort = Shapes::IntegerShape.new(name: 'TargetPort')
1308
1317
  TargetSelection = Shapes::StringShape.new(name: 'TargetSelection')
1309
1318
  TargetViolationIdsForDetectMitigationActions = Shapes::ListShape.new(name: 'TargetViolationIdsForDetectMitigationActions')
1310
1319
  Targets = Shapes::ListShape.new(name: 'Targets')
@@ -1503,6 +1512,7 @@ module Aws::IoT
1503
1512
  VpcDestinationConfiguration = Shapes::StructureShape.new(name: 'VpcDestinationConfiguration')
1504
1513
  VpcDestinationProperties = Shapes::StructureShape.new(name: 'VpcDestinationProperties')
1505
1514
  VpcDestinationSummary = Shapes::StructureShape.new(name: 'VpcDestinationSummary')
1515
+ VpcEndpointId = Shapes::StringShape.new(name: 'VpcEndpointId')
1506
1516
  VpcId = Shapes::StringShape.new(name: 'VpcId')
1507
1517
  WaitingForDataCollectionChecksCount = Shapes::IntegerShape.new(name: 'WaitingForDataCollectionChecksCount')
1508
1518
  errorMessage = Shapes::StringShape.new(name: 'errorMessage')
@@ -2144,6 +2154,9 @@ module Aws::IoT
2144
2154
  ConflictingResourceUpdateException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
2145
2155
  ConflictingResourceUpdateException.struct_class = Types::ConflictingResourceUpdateException
2146
2156
 
2157
+ ConnectivityFilter.add_member(:include_socket_information, Shapes::ShapeRef.new(shape: FleetIndexingApiList, location_name: "includeSocketInformation"))
2158
+ ConnectivityFilter.struct_class = Types::ConnectivityFilter
2159
+
2147
2160
  CreateAuditSuppressionRequest.add_member(:check_name, Shapes::ShapeRef.new(shape: AuditCheckName, required: true, location_name: "checkName"))
2148
2161
  CreateAuditSuppressionRequest.add_member(:resource_identifier, Shapes::ShapeRef.new(shape: ResourceIdentifier, required: true, location_name: "resourceIdentifier"))
2149
2162
  CreateAuditSuppressionRequest.add_member(:expiration_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "expirationDate"))
@@ -3291,6 +3304,8 @@ module Aws::IoT
3291
3304
  FirehoseAction.add_member(:batch_mode, Shapes::ShapeRef.new(shape: BatchMode, location_name: "batchMode"))
3292
3305
  FirehoseAction.struct_class = Types::FirehoseAction
3293
3306
 
3307
+ FleetIndexingApiList.member = Shapes::ShapeRef.new(shape: FleetIndexingApi)
3308
+
3294
3309
  FleetMetricNameAndArn.add_member(:metric_name, Shapes::ShapeRef.new(shape: FleetMetricName, location_name: "metricName"))
3295
3310
  FleetMetricNameAndArn.add_member(:metric_arn, Shapes::ShapeRef.new(shape: FleetMetricArn, location_name: "metricArn"))
3296
3311
  FleetMetricNameAndArn.struct_class = Types::FleetMetricNameAndArn
@@ -3490,12 +3505,22 @@ module Aws::IoT
3490
3505
  GetStatisticsResponse.struct_class = Types::GetStatisticsResponse
3491
3506
 
3492
3507
  GetThingConnectivityDataRequest.add_member(:thing_name, Shapes::ShapeRef.new(shape: ConnectivityApiThingName, required: true, location: "uri", location_name: "thingName"))
3508
+ GetThingConnectivityDataRequest.add_member(:include_socket_information, Shapes::ShapeRef.new(shape: Boolean, location_name: "includeSocketInformation"))
3493
3509
  GetThingConnectivityDataRequest.struct_class = Types::GetThingConnectivityDataRequest
3494
3510
 
3495
3511
  GetThingConnectivityDataResponse.add_member(:thing_name, Shapes::ShapeRef.new(shape: ConnectivityApiThingName, location_name: "thingName"))
3496
3512
  GetThingConnectivityDataResponse.add_member(:connected, Shapes::ShapeRef.new(shape: Boolean, location_name: "connected"))
3497
3513
  GetThingConnectivityDataResponse.add_member(:timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "timestamp"))
3498
3514
  GetThingConnectivityDataResponse.add_member(:disconnect_reason, Shapes::ShapeRef.new(shape: DisconnectReasonValue, location_name: "disconnectReason"))
3515
+ GetThingConnectivityDataResponse.add_member(:source_ip, Shapes::ShapeRef.new(shape: SourceIp, location_name: "sourceIp"))
3516
+ GetThingConnectivityDataResponse.add_member(:source_port, Shapes::ShapeRef.new(shape: SourcePort, location_name: "sourcePort"))
3517
+ GetThingConnectivityDataResponse.add_member(:target_ip, Shapes::ShapeRef.new(shape: TargetIp, location_name: "targetIp"))
3518
+ GetThingConnectivityDataResponse.add_member(:target_port, Shapes::ShapeRef.new(shape: TargetPort, location_name: "targetPort"))
3519
+ GetThingConnectivityDataResponse.add_member(:vpc_endpoint_id, Shapes::ShapeRef.new(shape: VpcEndpointId, location_name: "vpcEndpointId"))
3520
+ GetThingConnectivityDataResponse.add_member(:keep_alive_duration, Shapes::ShapeRef.new(shape: KeepAliveDuration, location_name: "keepAliveDuration"))
3521
+ GetThingConnectivityDataResponse.add_member(:clean_session, Shapes::ShapeRef.new(shape: Boolean, location_name: "cleanSession"))
3522
+ GetThingConnectivityDataResponse.add_member(:session_expiry, Shapes::ShapeRef.new(shape: SessionExpiry, location_name: "sessionExpiry"))
3523
+ GetThingConnectivityDataResponse.add_member(:client_id, Shapes::ShapeRef.new(shape: ClientId, location_name: "clientId"))
3499
3524
  GetThingConnectivityDataResponse.struct_class = Types::GetThingConnectivityDataResponse
3500
3525
 
3501
3526
  GetTopicRuleDestinationRequest.add_member(:arn, Shapes::ShapeRef.new(shape: AwsArn, required: true, location: "uri", location_name: "arn"))
@@ -3567,6 +3592,7 @@ module Aws::IoT
3567
3592
 
3568
3593
  IndexingFilter.add_member(:named_shadow_names, Shapes::ShapeRef.new(shape: NamedShadowNamesFilter, location_name: "namedShadowNames"))
3569
3594
  IndexingFilter.add_member(:geo_locations, Shapes::ShapeRef.new(shape: GeoLocationsFilter, location_name: "geoLocations"))
3595
+ IndexingFilter.add_member(:connectivity, Shapes::ShapeRef.new(shape: ConnectivityFilter, location_name: "connectivity"))
3570
3596
  IndexingFilter.struct_class = Types::IndexingFilter
3571
3597
 
3572
3598
  InternalException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
@@ -5196,6 +5222,10 @@ module Aws::IoT
5196
5222
  ThingConnectivity.add_member(:connected, Shapes::ShapeRef.new(shape: Boolean, location_name: "connected"))
5197
5223
  ThingConnectivity.add_member(:timestamp, Shapes::ShapeRef.new(shape: ConnectivityTimestamp, location_name: "timestamp"))
5198
5224
  ThingConnectivity.add_member(:disconnect_reason, Shapes::ShapeRef.new(shape: DisconnectReason, location_name: "disconnectReason"))
5225
+ ThingConnectivity.add_member(:keep_alive_duration, Shapes::ShapeRef.new(shape: KeepAliveDuration, location_name: "keepAliveDuration"))
5226
+ ThingConnectivity.add_member(:clean_session, Shapes::ShapeRef.new(shape: Boolean, location_name: "cleanSession"))
5227
+ ThingConnectivity.add_member(:session_expiry, Shapes::ShapeRef.new(shape: SessionExpiry, location_name: "sessionExpiry"))
5228
+ ThingConnectivity.add_member(:client_id, Shapes::ShapeRef.new(shape: ClientId, location_name: "clientId"))
5199
5229
  ThingConnectivity.struct_class = Types::ThingConnectivity
5200
5230
 
5201
5231
  ThingDocument.add_member(:thing_name, Shapes::ShapeRef.new(shape: ThingName, location_name: "thingName"))
@@ -1395,6 +1395,20 @@ module Aws::IoT
1395
1395
  # Whether to allow batching messages from different MQTT topics into a
1396
1396
  # single HTTP request. By default, only messages from the same topic
1397
1397
  # are batched together. The default value is `false`.
1398
+ #
1399
+ # <note markdown="1"> When `batchAcrossTopics` is enabled, the error payload format
1400
+ # changes: the `topic` field moves from the top level to inside each
1401
+ # entry in the `payloadsWithMetadata` array, since each message in the
1402
+ # batch may originate from a different topic.
1403
+ #
1404
+ # </note>
1405
+ #
1406
+ # <note markdown="1"> Messages are always batched within the scope of the same account,
1407
+ # rule name, target HTTP endpoint URL, and billing group. Messages
1408
+ # that differ in any of these attributes are never combined into the
1409
+ # same batch, regardless of the `batchAcrossTopics` setting.
1410
+ #
1411
+ # </note>
1398
1412
  # @return [Boolean]
1399
1413
  #
1400
1414
  class BatchConfig < Struct.new(
@@ -2671,6 +2685,21 @@ module Aws::IoT
2671
2685
  include Aws::Structure
2672
2686
  end
2673
2687
 
2688
+ # Provides connectivity filter selections for the fleet indexing
2689
+ # configuration.
2690
+ #
2691
+ # @!attribute [rw] include_socket_information
2692
+ # A list of fleet indexing APIs for which to enable socket information
2693
+ # retrieval. Currently, the only supported value is
2694
+ # `GET_THING_CONNECTIVITY_DATA`.
2695
+ # @return [Array<String>]
2696
+ #
2697
+ class ConnectivityFilter < Struct.new(
2698
+ :include_socket_information)
2699
+ SENSITIVE = []
2700
+ include Aws::Structure
2701
+ end
2702
+
2674
2703
  # @!attribute [rw] check_name
2675
2704
  # An audit check name. Checks must be enabled for your account. (Use
2676
2705
  # `DescribeAccountAuditConfiguration` to see the list of all checks,
@@ -8926,8 +8955,17 @@ module Aws::IoT
8926
8955
  # The name of your IoT thing.
8927
8956
  # @return [String]
8928
8957
  #
8958
+ # @!attribute [rw] include_socket_information
8959
+ # Specifies if socket information (sourcePort, targetPort, sourceIp,
8960
+ # targetIp, vpcEndpointId) should be included in the
8961
+ # GetThingConnectivityData response. Set to `true` to include socket
8962
+ # information. Set to `false` to omit socket information. By default,
8963
+ # this is set to `false`.
8964
+ # @return [Boolean]
8965
+ #
8929
8966
  class GetThingConnectivityDataRequest < Struct.new(
8930
- :thing_name)
8967
+ :thing_name,
8968
+ :include_socket_information)
8931
8969
  SENSITIVE = [:thing_name]
8932
8970
  include Aws::Structure
8933
8971
  end
@@ -8941,19 +8979,77 @@ module Aws::IoT
8941
8979
  # @return [Boolean]
8942
8980
  #
8943
8981
  # @!attribute [rw] timestamp
8944
- # The timestamp of when the event occurred.
8982
+ # The timestamp of when the event occurred. When you enable or update
8983
+ # the indexing configuration, this value might be the Unix epoch time
8984
+ # (0) for devices that have never connected or have been disconnected
8985
+ # for more than an hour.
8945
8986
  # @return [Time]
8946
8987
  #
8947
8988
  # @!attribute [rw] disconnect_reason
8948
- # The reason why the client is disconnecting.
8989
+ # The reason why the client is disconnecting. When you enable or
8990
+ # update the indexing configuration, this value might be `UNKNOWN` for
8991
+ # devices that have never connected or have been disconnected for more
8992
+ # than an hour.
8993
+ # @return [String]
8994
+ #
8995
+ # @!attribute [rw] source_ip
8996
+ # The IP address of the client that initiated the connection.
8997
+ # @return [String]
8998
+ #
8999
+ # @!attribute [rw] source_port
9000
+ # The client's source port.
9001
+ # @return [Integer]
9002
+ #
9003
+ # @!attribute [rw] target_ip
9004
+ # The IP address of the Amazon Web Services IoT Core endpoint that the
9005
+ # client connected to.
9006
+ # @return [String]
9007
+ #
9008
+ # @!attribute [rw] target_port
9009
+ # The port number of the Amazon Web Services IoT Core endpoint that
9010
+ # the client connected to.
9011
+ # @return [Integer]
9012
+ #
9013
+ # @!attribute [rw] vpc_endpoint_id
9014
+ # The ID of the VPC endpoint. Present for clients connected to Amazon
9015
+ # Web Services IoT Core via a VPC endpoint.
9016
+ # @return [String]
9017
+ #
9018
+ # @!attribute [rw] keep_alive_duration
9019
+ # The keep-alive interval in seconds that the client specified when
9020
+ # establishing the connection.
9021
+ # @return [Integer]
9022
+ #
9023
+ # @!attribute [rw] clean_session
9024
+ # Indicates whether the client is using a clean session. Returns
9025
+ # `true` for clean sessions.
9026
+ # @return [Boolean]
9027
+ #
9028
+ # @!attribute [rw] session_expiry
9029
+ # The session expiry interval in seconds for the MQTT client
9030
+ # connection. This value indicates how long the session will remain
9031
+ # active after the client disconnects.
9032
+ # @return [Integer]
9033
+ #
9034
+ # @!attribute [rw] client_id
9035
+ # The unique identifier of the MQTT client.
8949
9036
  # @return [String]
8950
9037
  #
8951
9038
  class GetThingConnectivityDataResponse < Struct.new(
8952
9039
  :thing_name,
8953
9040
  :connected,
8954
9041
  :timestamp,
8955
- :disconnect_reason)
8956
- SENSITIVE = [:thing_name]
9042
+ :disconnect_reason,
9043
+ :source_ip,
9044
+ :source_port,
9045
+ :target_ip,
9046
+ :target_port,
9047
+ :vpc_endpoint_id,
9048
+ :keep_alive_duration,
9049
+ :clean_session,
9050
+ :session_expiry,
9051
+ :client_id)
9052
+ SENSITIVE = [:thing_name, :source_ip, :source_port, :target_ip, :target_port, :vpc_endpoint_id]
8957
9053
  include Aws::Structure
8958
9054
  end
8959
9055
 
@@ -9274,9 +9370,15 @@ module Aws::IoT
9274
9370
  # [1]: https://docs.aws.amazon.com/general/latest/gr/iot_device_management.html#fleet-indexing-limits
9275
9371
  # @return [Array<Types::GeoLocationTarget>]
9276
9372
  #
9373
+ # @!attribute [rw] connectivity
9374
+ # Provides additional connectivity filter selections for the fleet
9375
+ # indexing configuration.
9376
+ # @return [Types::ConnectivityFilter]
9377
+ #
9277
9378
  class IndexingFilter < Struct.new(
9278
9379
  :named_shadow_names,
9279
- :geo_locations)
9380
+ :geo_locations,
9381
+ :connectivity)
9280
9382
  SENSITIVE = []
9281
9383
  include Aws::Structure
9282
9384
  end
@@ -16371,19 +16473,47 @@ module Aws::IoT
16371
16473
  # @!attribute [rw] timestamp
16372
16474
  # The epoch time (in milliseconds) when the thing last connected or
16373
16475
  # disconnected. If the thing has been disconnected for approximately
16374
- # an hour, the time value might be missing.
16476
+ # an hour, the time value might be missing. When you enable or update
16477
+ # the indexing configuration, this value might be `0` (the Unix epoch
16478
+ # time) for devices that have never connected or have been
16479
+ # disconnected for more than an hour.
16375
16480
  # @return [Integer]
16376
16481
  #
16377
16482
  # @!attribute [rw] disconnect_reason
16378
- # The reason why the client is disconnected. If the thing has been
16379
- # disconnected for approximately an hour, the `disconnectReason` value
16380
- # might be missing.
16483
+ # The reason why the client is disconnected. When you enable or update
16484
+ # the indexing configuration, this value might be missing for devices
16485
+ # that have never connected or have been disconnected for more than an
16486
+ # hour.
16487
+ # @return [String]
16488
+ #
16489
+ # @!attribute [rw] keep_alive_duration
16490
+ # The keep-alive interval in seconds that the client specified when
16491
+ # establishing the connection.
16492
+ # @return [Integer]
16493
+ #
16494
+ # @!attribute [rw] clean_session
16495
+ # Indicates whether the client is using a clean session. Returns
16496
+ # `true` for clean sessions.
16497
+ # @return [Boolean]
16498
+ #
16499
+ # @!attribute [rw] session_expiry
16500
+ # The session expiry interval in seconds for the MQTT client
16501
+ # connection. This value indicates how long the session will remain
16502
+ # active after the client disconnects.
16503
+ # @return [Integer]
16504
+ #
16505
+ # @!attribute [rw] client_id
16506
+ # The unique identifier of the MQTT client.
16381
16507
  # @return [String]
16382
16508
  #
16383
16509
  class ThingConnectivity < Struct.new(
16384
16510
  :connected,
16385
16511
  :timestamp,
16386
- :disconnect_reason)
16512
+ :disconnect_reason,
16513
+ :keep_alive_duration,
16514
+ :clean_session,
16515
+ :session_expiry,
16516
+ :client_id)
16387
16517
  SENSITIVE = []
16388
16518
  include Aws::Structure
16389
16519
  end
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.168.0'
57
+ GEM_VERSION = '1.169.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -2255,11 +2255,21 @@ module Aws
2255
2255
  def thing_name: () -> ::String
2256
2256
  def connected: () -> bool
2257
2257
  def timestamp: () -> ::Time
2258
- def disconnect_reason: () -> ("AUTH_ERROR" | "CLIENT_INITIATED_DISCONNECT" | "CLIENT_ERROR" | "CONNECTION_LOST" | "DUPLICATE_CLIENTID" | "FORBIDDEN_ACCESS" | "MQTT_KEEP_ALIVE_TIMEOUT" | "SERVER_ERROR" | "SERVER_INITIATED_DISCONNECT" | "THROTTLED" | "WEBSOCKET_TTL_EXPIRATION" | "CUSTOMAUTH_TTL_EXPIRATION" | "UNKNOWN" | "NONE")
2258
+ def disconnect_reason: () -> ("AUTH_ERROR" | "CLIENT_INITIATED_DISCONNECT" | "CLIENT_ERROR" | "CONNECTION_LOST" | "DUPLICATE_CLIENTID" | "FORBIDDEN_ACCESS" | "MQTT_KEEP_ALIVE_TIMEOUT" | "SERVER_ERROR" | "SERVER_INITIATED_DISCONNECT" | "API_INITIATED_DISCONNECT" | "THROTTLED" | "WEBSOCKET_TTL_EXPIRATION" | "CUSTOMAUTH_TTL_EXPIRATION" | "UNKNOWN" | "NONE")
2259
+ def source_ip: () -> ::String
2260
+ def source_port: () -> ::Integer
2261
+ def target_ip: () -> ::String
2262
+ def target_port: () -> ::Integer
2263
+ def vpc_endpoint_id: () -> ::String
2264
+ def keep_alive_duration: () -> ::Integer
2265
+ def clean_session: () -> bool
2266
+ def session_expiry: () -> ::Integer
2267
+ def client_id: () -> ::String
2259
2268
  end
2260
2269
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoT/Client.html#get_thing_connectivity_data-instance_method
2261
2270
  def get_thing_connectivity_data: (
2262
- thing_name: ::String
2271
+ thing_name: ::String,
2272
+ ?include_socket_information: bool
2263
2273
  ) -> _GetThingConnectivityDataResponseSuccess
2264
2274
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetThingConnectivityDataResponseSuccess
2265
2275
 
@@ -3810,7 +3820,10 @@ module Aws
3810
3820
  name: ::String?,
3811
3821
  order: ("LatLon" | "LonLat")?
3812
3822
  }
3813
- ]?
3823
+ ]?,
3824
+ connectivity: {
3825
+ include_socket_information: Array[("GET_THING_CONNECTIVITY_DATA")]?
3826
+ }?
3814
3827
  }?
3815
3828
  },
3816
3829
  ?thing_group_indexing_configuration: {
data/sig/types.rbs CHANGED
@@ -731,6 +731,11 @@ module Aws::IoT
731
731
  SENSITIVE: []
732
732
  end
733
733
 
734
+ class ConnectivityFilter
735
+ attr_accessor include_socket_information: ::Array[("GET_THING_CONNECTIVITY_DATA")]
736
+ SENSITIVE: []
737
+ end
738
+
734
739
  class CreateAuditSuppressionRequest
735
740
  attr_accessor check_name: ::String
736
741
  attr_accessor resource_identifier: Types::ResourceIdentifier
@@ -2536,6 +2541,7 @@ module Aws::IoT
2536
2541
 
2537
2542
  class GetThingConnectivityDataRequest
2538
2543
  attr_accessor thing_name: ::String
2544
+ attr_accessor include_socket_information: bool
2539
2545
  SENSITIVE: [:thing_name]
2540
2546
  end
2541
2547
 
@@ -2543,8 +2549,17 @@ module Aws::IoT
2543
2549
  attr_accessor thing_name: ::String
2544
2550
  attr_accessor connected: bool
2545
2551
  attr_accessor timestamp: ::Time
2546
- attr_accessor disconnect_reason: ("AUTH_ERROR" | "CLIENT_INITIATED_DISCONNECT" | "CLIENT_ERROR" | "CONNECTION_LOST" | "DUPLICATE_CLIENTID" | "FORBIDDEN_ACCESS" | "MQTT_KEEP_ALIVE_TIMEOUT" | "SERVER_ERROR" | "SERVER_INITIATED_DISCONNECT" | "THROTTLED" | "WEBSOCKET_TTL_EXPIRATION" | "CUSTOMAUTH_TTL_EXPIRATION" | "UNKNOWN" | "NONE")
2547
- SENSITIVE: [:thing_name]
2552
+ attr_accessor disconnect_reason: ("AUTH_ERROR" | "CLIENT_INITIATED_DISCONNECT" | "CLIENT_ERROR" | "CONNECTION_LOST" | "DUPLICATE_CLIENTID" | "FORBIDDEN_ACCESS" | "MQTT_KEEP_ALIVE_TIMEOUT" | "SERVER_ERROR" | "SERVER_INITIATED_DISCONNECT" | "API_INITIATED_DISCONNECT" | "THROTTLED" | "WEBSOCKET_TTL_EXPIRATION" | "CUSTOMAUTH_TTL_EXPIRATION" | "UNKNOWN" | "NONE")
2553
+ attr_accessor source_ip: ::String
2554
+ attr_accessor source_port: ::Integer
2555
+ attr_accessor target_ip: ::String
2556
+ attr_accessor target_port: ::Integer
2557
+ attr_accessor vpc_endpoint_id: ::String
2558
+ attr_accessor keep_alive_duration: ::Integer
2559
+ attr_accessor clean_session: bool
2560
+ attr_accessor session_expiry: ::Integer
2561
+ attr_accessor client_id: ::String
2562
+ SENSITIVE: [:thing_name, :source_ip, :source_port, :target_ip, :target_port, :vpc_endpoint_id]
2548
2563
  end
2549
2564
 
2550
2565
  class GetTopicRuleDestinationRequest
@@ -2642,6 +2657,7 @@ module Aws::IoT
2642
2657
  class IndexingFilter
2643
2658
  attr_accessor named_shadow_names: ::Array[::String]
2644
2659
  attr_accessor geo_locations: ::Array[Types::GeoLocationTarget]
2660
+ attr_accessor connectivity: Types::ConnectivityFilter
2645
2661
  SENSITIVE: []
2646
2662
  end
2647
2663
 
@@ -4693,6 +4709,10 @@ module Aws::IoT
4693
4709
  attr_accessor connected: bool
4694
4710
  attr_accessor timestamp: ::Integer
4695
4711
  attr_accessor disconnect_reason: ::String
4712
+ attr_accessor keep_alive_duration: ::Integer
4713
+ attr_accessor clean_session: bool
4714
+ attr_accessor session_expiry: ::Integer
4715
+ attr_accessor client_id: ::String
4696
4716
  SENSITIVE: []
4697
4717
  end
4698
4718
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-iot
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.168.0
4
+ version: 1.169.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services