aws-sdk-iot 1.80.0 → 1.81.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: 99180939c760040c4b2a57cd344c3ffcf2d7ef7c4db67cc4ce431e3eefddef4d
4
- data.tar.gz: ac8101a6a0eecd480f0e4780c1f4ce91192136c1a5bead7d641c26d1c5a25ef8
3
+ metadata.gz: 8653184804ca4728a5e14255d83cda910d253294bb90cde2460b4823afb0a886
4
+ data.tar.gz: 6d67809e8c7d696f2107b8fd3f60c6acbe9d6710f153074ccd50435895f92500
5
5
  SHA512:
6
- metadata.gz: 89db1fe535c5e329fe927c835efa29c5c5546ee16578242cd72c73b0fdda33de013fc765037d8379a99539ff444cbbf02c2cb93bfa3779f886f11a9eb1d07910
7
- data.tar.gz: dc7611ec8edb674aa99c84c87be38e4e6fcf530d046c60665b38d3a0b3f64eb82cb45d7320ce620b1d113863b4a65fbfe6fec9523e1c3681c01489a7a66cc311
6
+ metadata.gz: 50e61a2d8bbfc00dcaa19dc1e5a0ff12d0bf7d7de7604067e270f4977b145dadd196097439f2ae2ef03e6829835c383b17e0811dbda0786bb230c63cd6e4cd17
7
+ data.tar.gz: 9a6a989f10fb390f54ca555dea2ae72753c9a573f1ee921efe9eda9fb1337df4341a628bd205125d19a747d3ac3f76a006de78d2b24e54e88108219baafdf064
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.81.0 (2021-12-08)
5
+ ------------------
6
+
7
+ * Feature - This release allows customer to enable caching of custom authorizer on HTTP protocol for clients that use persistent or Keep-Alive connection in order to reduce the number of Lambda invocations.
8
+
4
9
  1.80.0 (2021-11-30)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.80.0
1
+ 1.81.0
@@ -1063,6 +1063,15 @@ module Aws::IoT
1063
1063
  # Specifies whether IoT validates the token signature in an
1064
1064
  # authorization request.
1065
1065
  #
1066
+ # @option params [Boolean] :enable_caching_for_http
1067
+ # When `true`, the result from the authorizer’s Lambda function is
1068
+ # cached for clients that use persistent HTTP connections. The results
1069
+ # are cached for the time specified by the Lambda function in
1070
+ # `refreshAfterInSeconds`. This value does not affect authorization of
1071
+ # clients that use MQTT connections.
1072
+ #
1073
+ # The default value is `false`.
1074
+ #
1066
1075
  # @return [Types::CreateAuthorizerResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1067
1076
  #
1068
1077
  # * {Types::CreateAuthorizerResponse#authorizer_name #authorizer_name} => String
@@ -1085,6 +1094,7 @@ module Aws::IoT
1085
1094
  # },
1086
1095
  # ],
1087
1096
  # signing_disabled: false,
1097
+ # enable_caching_for_http: false,
1088
1098
  # })
1089
1099
  #
1090
1100
  # @example Response structure
@@ -4845,6 +4855,7 @@ module Aws::IoT
4845
4855
  # resp.authorizer_description.creation_date #=> Time
4846
4856
  # resp.authorizer_description.last_modified_date #=> Time
4847
4857
  # resp.authorizer_description.signing_disabled #=> Boolean
4858
+ # resp.authorizer_description.enable_caching_for_http #=> Boolean
4848
4859
  #
4849
4860
  # @overload describe_authorizer(params = {})
4850
4861
  # @param [Hash] params ({})
@@ -5059,6 +5070,7 @@ module Aws::IoT
5059
5070
  # resp.authorizer_description.creation_date #=> Time
5060
5071
  # resp.authorizer_description.last_modified_date #=> Time
5061
5072
  # resp.authorizer_description.signing_disabled #=> Boolean
5073
+ # resp.authorizer_description.enable_caching_for_http #=> Boolean
5062
5074
  #
5063
5075
  # @overload describe_default_authorizer(params = {})
5064
5076
  # @param [Hash] params ({})
@@ -12115,6 +12127,11 @@ module Aws::IoT
12115
12127
  # @option params [String] :status
12116
12128
  # The status of the update authorizer request.
12117
12129
  #
12130
+ # @option params [Boolean] :enable_caching_for_http
12131
+ # When `true`, the result from the authorizer’s Lambda function is
12132
+ # cached for the time specified in `refreshAfterInSeconds`. The cached
12133
+ # result is used while the device reuses the same HTTP connection.
12134
+ #
12118
12135
  # @return [Types::UpdateAuthorizerResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
12119
12136
  #
12120
12137
  # * {Types::UpdateAuthorizerResponse#authorizer_name #authorizer_name} => String
@@ -12130,6 +12147,7 @@ module Aws::IoT
12130
12147
  # "KeyName" => "KeyValue",
12131
12148
  # },
12132
12149
  # status: "ACTIVE", # accepts ACTIVE, INACTIVE
12150
+ # enable_caching_for_http: false,
12133
12151
  # })
12134
12152
  #
12135
12153
  # @example Response structure
@@ -13508,7 +13526,7 @@ module Aws::IoT
13508
13526
  params: params,
13509
13527
  config: config)
13510
13528
  context[:gem_name] = 'aws-sdk-iot'
13511
- context[:gem_version] = '1.80.0'
13529
+ context[:gem_version] = '1.81.0'
13512
13530
  Seahorse::Client::Request.new(handlers, context)
13513
13531
  end
13514
13532
 
@@ -485,6 +485,7 @@ module Aws::IoT
485
485
  ElasticsearchId = Shapes::StringShape.new(name: 'ElasticsearchId')
486
486
  ElasticsearchIndex = Shapes::StringShape.new(name: 'ElasticsearchIndex')
487
487
  ElasticsearchType = Shapes::StringShape.new(name: 'ElasticsearchType')
488
+ EnableCachingForHttp = Shapes::BooleanShape.new(name: 'EnableCachingForHttp')
488
489
  EnableIoTLoggingParams = Shapes::StructureShape.new(name: 'EnableIoTLoggingParams')
489
490
  EnableTopicRuleRequest = Shapes::StructureShape.new(name: 'EnableTopicRuleRequest')
490
491
  Enabled = Shapes::BooleanShape.new(name: 'Enabled')
@@ -1528,6 +1529,7 @@ module Aws::IoT
1528
1529
  AuthorizerDescription.add_member(:creation_date, Shapes::ShapeRef.new(shape: DateType, location_name: "creationDate"))
1529
1530
  AuthorizerDescription.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: DateType, location_name: "lastModifiedDate"))
1530
1531
  AuthorizerDescription.add_member(:signing_disabled, Shapes::ShapeRef.new(shape: BooleanKey, location_name: "signingDisabled"))
1532
+ AuthorizerDescription.add_member(:enable_caching_for_http, Shapes::ShapeRef.new(shape: EnableCachingForHttp, location_name: "enableCachingForHttp"))
1531
1533
  AuthorizerDescription.struct_class = Types::AuthorizerDescription
1532
1534
 
1533
1535
  AuthorizerSummary.add_member(:authorizer_name, Shapes::ShapeRef.new(shape: AuthorizerName, location_name: "authorizerName"))
@@ -1776,6 +1778,7 @@ module Aws::IoT
1776
1778
  CreateAuthorizerRequest.add_member(:status, Shapes::ShapeRef.new(shape: AuthorizerStatus, location_name: "status"))
1777
1779
  CreateAuthorizerRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
1778
1780
  CreateAuthorizerRequest.add_member(:signing_disabled, Shapes::ShapeRef.new(shape: BooleanKey, location_name: "signingDisabled"))
1781
+ CreateAuthorizerRequest.add_member(:enable_caching_for_http, Shapes::ShapeRef.new(shape: EnableCachingForHttp, location_name: "enableCachingForHttp"))
1779
1782
  CreateAuthorizerRequest.struct_class = Types::CreateAuthorizerRequest
1780
1783
 
1781
1784
  CreateAuthorizerResponse.add_member(:authorizer_name, Shapes::ShapeRef.new(shape: AuthorizerName, location_name: "authorizerName"))
@@ -4507,6 +4510,7 @@ module Aws::IoT
4507
4510
  UpdateAuthorizerRequest.add_member(:token_key_name, Shapes::ShapeRef.new(shape: TokenKeyName, location_name: "tokenKeyName"))
4508
4511
  UpdateAuthorizerRequest.add_member(:token_signing_public_keys, Shapes::ShapeRef.new(shape: PublicKeyMap, location_name: "tokenSigningPublicKeys"))
4509
4512
  UpdateAuthorizerRequest.add_member(:status, Shapes::ShapeRef.new(shape: AuthorizerStatus, location_name: "status"))
4513
+ UpdateAuthorizerRequest.add_member(:enable_caching_for_http, Shapes::ShapeRef.new(shape: EnableCachingForHttp, location_name: "enableCachingForHttp"))
4510
4514
  UpdateAuthorizerRequest.struct_class = Types::UpdateAuthorizerRequest
4511
4515
 
4512
4516
  UpdateAuthorizerResponse.add_member(:authorizer_name, Shapes::ShapeRef.new(shape: AuthorizerName, location_name: "authorizerName"))
@@ -1463,6 +1463,12 @@ module Aws::IoT
1463
1463
  # authorization request.
1464
1464
  # @return [Boolean]
1465
1465
  #
1466
+ # @!attribute [rw] enable_caching_for_http
1467
+ # When `true`, the result from the authorizer’s Lambda function is
1468
+ # cached for the time specified in `refreshAfterInSeconds`. The cached
1469
+ # result is used while the device reuses the same HTTP connection.
1470
+ # @return [Boolean]
1471
+ #
1466
1472
  class AuthorizerDescription < Struct.new(
1467
1473
  :authorizer_name,
1468
1474
  :authorizer_arn,
@@ -1472,7 +1478,8 @@ module Aws::IoT
1472
1478
  :status,
1473
1479
  :creation_date,
1474
1480
  :last_modified_date,
1475
- :signing_disabled)
1481
+ :signing_disabled,
1482
+ :enable_caching_for_http)
1476
1483
  SENSITIVE = []
1477
1484
  include Aws::Structure
1478
1485
  end
@@ -2828,6 +2835,7 @@ module Aws::IoT
2828
2835
  # },
2829
2836
  # ],
2830
2837
  # signing_disabled: false,
2838
+ # enable_caching_for_http: false,
2831
2839
  # }
2832
2840
  #
2833
2841
  # @!attribute [rw] authorizer_name
@@ -2872,6 +2880,16 @@ module Aws::IoT
2872
2880
  # authorization request.
2873
2881
  # @return [Boolean]
2874
2882
  #
2883
+ # @!attribute [rw] enable_caching_for_http
2884
+ # When `true`, the result from the authorizer’s Lambda function is
2885
+ # cached for clients that use persistent HTTP connections. The results
2886
+ # are cached for the time specified by the Lambda function in
2887
+ # `refreshAfterInSeconds`. This value does not affect authorization of
2888
+ # clients that use MQTT connections.
2889
+ #
2890
+ # The default value is `false`.
2891
+ # @return [Boolean]
2892
+ #
2875
2893
  class CreateAuthorizerRequest < Struct.new(
2876
2894
  :authorizer_name,
2877
2895
  :authorizer_function_arn,
@@ -2879,7 +2897,8 @@ module Aws::IoT
2879
2897
  :token_signing_public_keys,
2880
2898
  :status,
2881
2899
  :tags,
2882
- :signing_disabled)
2900
+ :signing_disabled,
2901
+ :enable_caching_for_http)
2883
2902
  SENSITIVE = []
2884
2903
  include Aws::Structure
2885
2904
  end
@@ -18626,6 +18645,7 @@ module Aws::IoT
18626
18645
  # "KeyName" => "KeyValue",
18627
18646
  # },
18628
18647
  # status: "ACTIVE", # accepts ACTIVE, INACTIVE
18648
+ # enable_caching_for_http: false,
18629
18649
  # }
18630
18650
  #
18631
18651
  # @!attribute [rw] authorizer_name
@@ -18648,12 +18668,19 @@ module Aws::IoT
18648
18668
  # The status of the update authorizer request.
18649
18669
  # @return [String]
18650
18670
  #
18671
+ # @!attribute [rw] enable_caching_for_http
18672
+ # When `true`, the result from the authorizer’s Lambda function is
18673
+ # cached for the time specified in `refreshAfterInSeconds`. The cached
18674
+ # result is used while the device reuses the same HTTP connection.
18675
+ # @return [Boolean]
18676
+ #
18651
18677
  class UpdateAuthorizerRequest < Struct.new(
18652
18678
  :authorizer_name,
18653
18679
  :authorizer_function_arn,
18654
18680
  :token_key_name,
18655
18681
  :token_signing_public_keys,
18656
- :status)
18682
+ :status,
18683
+ :enable_caching_for_http)
18657
18684
  SENSITIVE = []
18658
18685
  include Aws::Structure
18659
18686
  end
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.80.0'
51
+ GEM_VERSION = '1.81.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.80.0
4
+ version: 1.81.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: 2021-11-30 00:00:00.000000000 Z
11
+ date: 2021-12-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core