aws-sdk-iot 1.92.0 → 1.93.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: 9283fd04d9f3c1ecfb6fe9139ca25d86936a6f2724869c0ba934661e67281260
4
- data.tar.gz: 27a06475760c8cbad48c37bcd8cb48461e7897ac20aa014085caece4555d6eab
3
+ metadata.gz: df857261db57dc128538430c92ad797e1c0de5b1a978dbafecafa4eb04e8fe9b
4
+ data.tar.gz: d4c6b2b7f6ccfa7fda00008fcd3c5117aed117d815b768d79acd6f147d86295a
5
5
  SHA512:
6
- metadata.gz: d1bcdd45880e8c961cd8a1dad75898a06c426f14c8fc39fe301f95e354cd9f4c37eaf8a3fd0bc9196b722e320605033f49cb8c406494b3d6a551d3052221642b
7
- data.tar.gz: cdfce80213ed22b13333c1c8d40d5a8eeaeb832708542783be02eee40b7f82aff58f865832c33ccfa1d9b9e6b10d92c094a1941b050d817fc9fd8b8d60fcdfe2
6
+ metadata.gz: 6a5459ef149b6b627c7374c3e656861f7410c9e2fc18198cb4b13b0e09c7d5b42343b4015a49cd822c1a931cb39ae6178dcbbb026abe2b579d4f9a35c99f8871
7
+ data.tar.gz: 93a67bd34e33f6c16494c67ed848f54c62701291e6d8cd88dadda7821e28564f17892b239aba06c65a3e69fdb9a82802e70ea6c3d6be38f4bbd9abb9a8d67eaf
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.93.0 (2022-07-20)
5
+ ------------------
6
+
7
+ * Feature - GA release the ability to enable/disable IoT Fleet Indexing for Device Defender and Named Shadow information, and search them through IoT Fleet Indexing APIs. This includes Named Shadow Selection as a part of the UpdateIndexingConfiguration API.
8
+
4
9
  1.92.0 (2022-07-07)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.92.0
1
+ 1.93.0
@@ -582,7 +582,9 @@ module Aws::IoT
582
582
  # Attaches the specified policy to the specified principal (certificate
583
583
  # or other credential).
584
584
  #
585
- # **Note:** This action is deprecated. Please use AttachPolicy instead.
585
+ # **Note:** This action is deprecated and works as expected for backward
586
+ # compatibility, but we won't add enhancements. Use AttachPolicy
587
+ # instead.
586
588
  #
587
589
  # Requires permission to access the [AttachPrincipalPolicy][1] action.
588
590
  #
@@ -6690,6 +6692,8 @@ module Aws::IoT
6690
6692
  # resp.thing_indexing_configuration.custom_fields #=> Array
6691
6693
  # resp.thing_indexing_configuration.custom_fields[0].name #=> String
6692
6694
  # resp.thing_indexing_configuration.custom_fields[0].type #=> String, one of "Number", "String", "Boolean"
6695
+ # resp.thing_indexing_configuration.filter.named_shadow_names #=> Array
6696
+ # resp.thing_indexing_configuration.filter.named_shadow_names[0] #=> String
6693
6697
  # resp.thing_group_indexing_configuration.thing_group_indexing_mode #=> String, one of "OFF", "ON"
6694
6698
  # resp.thing_group_indexing_configuration.managed_fields #=> Array
6695
6699
  # resp.thing_group_indexing_configuration.managed_fields[0].name #=> String
@@ -12838,6 +12842,9 @@ module Aws::IoT
12838
12842
  # type: "Number", # accepts Number, String, Boolean
12839
12843
  # },
12840
12844
  # ],
12845
+ # filter: {
12846
+ # named_shadow_names: ["ShadowName"],
12847
+ # },
12841
12848
  # },
12842
12849
  # thing_group_indexing_configuration: {
12843
12850
  # thing_group_indexing_mode: "OFF", # required, accepts OFF, ON
@@ -13716,7 +13723,7 @@ module Aws::IoT
13716
13723
  params: params,
13717
13724
  config: config)
13718
13725
  context[:gem_name] = 'aws-sdk-iot'
13719
- context[:gem_version] = '1.92.0'
13726
+ context[:gem_version] = '1.93.0'
13720
13727
  Seahorse::Client::Request.new(handlers, context)
13721
13728
  end
13722
13729
 
@@ -598,6 +598,7 @@ module Aws::IoT
598
598
  IndexNotReadyException = Shapes::StructureShape.new(name: 'IndexNotReadyException')
599
599
  IndexSchema = Shapes::StringShape.new(name: 'IndexSchema')
600
600
  IndexStatus = Shapes::StringShape.new(name: 'IndexStatus')
601
+ IndexingFilter = Shapes::StructureShape.new(name: 'IndexingFilter')
601
602
  InlineDocument = Shapes::StringShape.new(name: 'InlineDocument')
602
603
  InputName = Shapes::StringShape.new(name: 'InputName')
603
604
  InternalException = Shapes::StructureShape.new(name: 'InternalException')
@@ -818,6 +819,7 @@ module Aws::IoT
818
819
  MqttPassword = Shapes::BlobShape.new(name: 'MqttPassword')
819
820
  MqttUsername = Shapes::StringShape.new(name: 'MqttUsername')
820
821
  NamedShadowIndexingMode = Shapes::StringShape.new(name: 'NamedShadowIndexingMode')
822
+ NamedShadowNamesFilter = Shapes::ListShape.new(name: 'NamedShadowNamesFilter')
821
823
  NamespaceId = Shapes::StringShape.new(name: 'NamespaceId')
822
824
  NextToken = Shapes::StringShape.new(name: 'NextToken')
823
825
  NonCompliantChecksCount = Shapes::IntegerShape.new(name: 'NonCompliantChecksCount')
@@ -1023,6 +1025,7 @@ module Aws::IoT
1023
1025
  SetLoggingOptionsRequest = Shapes::StructureShape.new(name: 'SetLoggingOptionsRequest')
1024
1026
  SetV2LoggingLevelRequest = Shapes::StructureShape.new(name: 'SetV2LoggingLevelRequest')
1025
1027
  SetV2LoggingOptionsRequest = Shapes::StructureShape.new(name: 'SetV2LoggingOptionsRequest')
1028
+ ShadowName = Shapes::StringShape.new(name: 'ShadowName')
1026
1029
  SigV4Authorization = Shapes::StructureShape.new(name: 'SigV4Authorization')
1027
1030
  Signature = Shapes::BlobShape.new(name: 'Signature')
1028
1031
  SignatureAlgorithm = Shapes::StringShape.new(name: 'SignatureAlgorithm')
@@ -2963,6 +2966,9 @@ module Aws::IoT
2963
2966
  IndexNotReadyException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
2964
2967
  IndexNotReadyException.struct_class = Types::IndexNotReadyException
2965
2968
 
2969
+ IndexingFilter.add_member(:named_shadow_names, Shapes::ShapeRef.new(shape: NamedShadowNamesFilter, location_name: "namedShadowNames"))
2970
+ IndexingFilter.struct_class = Types::IndexingFilter
2971
+
2966
2972
  InternalException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
2967
2973
  InternalException.struct_class = Types::InternalException
2968
2974
 
@@ -3763,6 +3769,8 @@ module Aws::IoT
3763
3769
  MqttContext.add_member(:client_id, Shapes::ShapeRef.new(shape: MqttClientId, location_name: "clientId"))
3764
3770
  MqttContext.struct_class = Types::MqttContext
3765
3771
 
3772
+ NamedShadowNamesFilter.member = Shapes::ShapeRef.new(shape: ShadowName)
3773
+
3766
3774
  NonCompliantResource.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "resourceType"))
3767
3775
  NonCompliantResource.add_member(:resource_identifier, Shapes::ShapeRef.new(shape: ResourceIdentifier, location_name: "resourceIdentifier"))
3768
3776
  NonCompliantResource.add_member(:additional_info, Shapes::ShapeRef.new(shape: StringMap, location_name: "additionalInfo"))
@@ -4411,6 +4419,7 @@ module Aws::IoT
4411
4419
  ThingIndexingConfiguration.add_member(:named_shadow_indexing_mode, Shapes::ShapeRef.new(shape: NamedShadowIndexingMode, location_name: "namedShadowIndexingMode"))
4412
4420
  ThingIndexingConfiguration.add_member(:managed_fields, Shapes::ShapeRef.new(shape: Fields, location_name: "managedFields"))
4413
4421
  ThingIndexingConfiguration.add_member(:custom_fields, Shapes::ShapeRef.new(shape: Fields, location_name: "customFields"))
4422
+ ThingIndexingConfiguration.add_member(:filter, Shapes::ShapeRef.new(shape: IndexingFilter, location_name: "filter"))
4414
4423
  ThingIndexingConfiguration.struct_class = Types::ThingIndexingConfiguration
4415
4424
 
4416
4425
  ThingNameList.member = Shapes::ShapeRef.new(shape: ThingName)
@@ -9901,6 +9901,36 @@ module Aws::IoT
9901
9901
  include Aws::Structure
9902
9902
  end
9903
9903
 
9904
+ # Provides additional filters for specific data sources. Named shadow is
9905
+ # the only data source that currently supports and requires a filter. To
9906
+ # add named shadows to your fleet indexing configuration, set
9907
+ # `namedShadowIndexingMode` to be `ON` and specify your shadow names in
9908
+ # `filter`.
9909
+ #
9910
+ # @note When making an API call, you may pass IndexingFilter
9911
+ # data as a hash:
9912
+ #
9913
+ # {
9914
+ # named_shadow_names: ["ShadowName"],
9915
+ # }
9916
+ #
9917
+ # @!attribute [rw] named_shadow_names
9918
+ # The shadow names that you select to index. The default maximum
9919
+ # number of shadow names for indexing is 10. To increase the limit,
9920
+ # see [Amazon Web Services IoT Device Management Quotas][1] in the
9921
+ # *Amazon Web Services General Reference*.
9922
+ #
9923
+ #
9924
+ #
9925
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/iot_device_management.html#fleet-indexing-limits
9926
+ # @return [Array<String>]
9927
+ #
9928
+ class IndexingFilter < Struct.new(
9929
+ :named_shadow_names)
9930
+ SENSITIVE = []
9931
+ include Aws::Structure
9932
+ end
9933
+
9904
9934
  # An unexpected error has occurred.
9905
9935
  #
9906
9936
  # @!attribute [rw] message
@@ -17736,6 +17766,9 @@ module Aws::IoT
17736
17766
  # type: "Number", # accepts Number, String, Boolean
17737
17767
  # },
17738
17768
  # ],
17769
+ # filter: {
17770
+ # named_shadow_names: ["ShadowName"],
17771
+ # },
17739
17772
  # }
17740
17773
  #
17741
17774
  # @!attribute [rw] thing_indexing_mode
@@ -17801,13 +17834,22 @@ module Aws::IoT
17801
17834
  # Contains custom field names and their data type.
17802
17835
  # @return [Array<Types::Field>]
17803
17836
  #
17837
+ # @!attribute [rw] filter
17838
+ # Provides additional filters for specific data sources. Named shadow
17839
+ # is the only data source that currently supports and requires a
17840
+ # filter. To add named shadows to your fleet indexing configuration,
17841
+ # set `namedShadowIndexingMode` to be `ON` and specify your shadow
17842
+ # names in `filter`.
17843
+ # @return [Types::IndexingFilter]
17844
+ #
17804
17845
  class ThingIndexingConfiguration < Struct.new(
17805
17846
  :thing_indexing_mode,
17806
17847
  :thing_connectivity_indexing_mode,
17807
17848
  :device_defender_indexing_mode,
17808
17849
  :named_shadow_indexing_mode,
17809
17850
  :managed_fields,
17810
- :custom_fields)
17851
+ :custom_fields,
17852
+ :filter)
17811
17853
  SENSITIVE = []
17812
17854
  include Aws::Structure
17813
17855
  end
@@ -19618,6 +19660,9 @@ module Aws::IoT
19618
19660
  # type: "Number", # accepts Number, String, Boolean
19619
19661
  # },
19620
19662
  # ],
19663
+ # filter: {
19664
+ # named_shadow_names: ["ShadowName"],
19665
+ # },
19621
19666
  # },
19622
19667
  # thing_group_indexing_configuration: {
19623
19668
  # thing_group_indexing_mode: "OFF", # required, accepts OFF, ON
data/lib/aws-sdk-iot.rb CHANGED
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-iot/customizations'
48
48
  # @!group service
49
49
  module Aws::IoT
50
50
 
51
- GEM_VERSION = '1.92.0'
51
+ GEM_VERSION = '1.93.0'
52
52
 
53
53
  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.92.0
4
+ version: 1.93.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: 2022-07-07 00:00:00.000000000 Z
11
+ date: 2022-07-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core