aws-sdk-iot 1.101.0 → 1.103.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: 96636d17e491b5c5c4903497dc0c157d33547001dfac12c7bb3ffd17a9f3a737
4
- data.tar.gz: 127d488f7ef299d5822ea0634b2f3ef679613ab28ebdca9d1dd7844247361460
3
+ metadata.gz: 7080bb6f3825e6299f872bf59470fa2c9e30303c4f2bc01b025a0fb660fb8339
4
+ data.tar.gz: 10e528352c420c779e171830de096c696aa71ff72d49fdc82e4853cbe836a507
5
5
  SHA512:
6
- metadata.gz: 59f0ac3f5b57edbf8a24583082a51e89c0d349308d7644596b2b9f94ed126cc923e9833ae8c6782013f51dda4f0da97d6532f9a82e3c018eed2f2c129b6442c7
7
- data.tar.gz: 300bf8291fce0f89843c63df3191461b5e2fbe6bcf7e3c19f76f8a94750611c138c44cd7616b23de2cbefb8fd00f4430fbaf8b51bf58a206b27d7acaf82ea54d
6
+ metadata.gz: aa71399ab7d30ae7fa842849b364fba06a2566c5a57e681a9472ab39f5f9378a147ff788b83c14536f182f880fc571528a57a27e687001b416aec2fd4b656136
7
+ data.tar.gz: cd5adbb8bf25feb0eeba581806c30a0ff05bb54d8bda645bd0032dd43018a15d6d21627cab394c8f8817a3964a55565c3eb8fda34deae61badbf23b2aaee7487
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.103.0 (2023-04-20)
5
+ ------------------
6
+
7
+ * Feature - Support additional OTA states in GetOTAUpdate API
8
+
9
+ 1.102.0 (2023-04-11)
10
+ ------------------
11
+
12
+ * Feature - Re-release to remove unexpected API changes
13
+
4
14
  1.101.0 (2023-03-02)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.101.0
1
+ 1.103.0
@@ -2323,7 +2323,7 @@ module Aws::IoT
2323
2323
  # resp.aws_iot_job_id #=> String
2324
2324
  # resp.ota_update_arn #=> String
2325
2325
  # resp.aws_iot_job_arn #=> String
2326
- # resp.ota_update_status #=> String, one of "CREATE_PENDING", "CREATE_IN_PROGRESS", "CREATE_COMPLETE", "CREATE_FAILED"
2326
+ # resp.ota_update_status #=> String, one of "CREATE_PENDING", "CREATE_IN_PROGRESS", "CREATE_COMPLETE", "CREATE_FAILED", "DELETE_IN_PROGRESS", "DELETE_FAILED"
2327
2327
  #
2328
2328
  # @overload create_ota_update(params = {})
2329
2329
  # @param [Hash] params ({})
@@ -6476,10 +6476,9 @@ module Aws::IoT
6476
6476
  # The principal.
6477
6477
  #
6478
6478
  # Valid principals are CertificateArn
6479
- # (arn:aws:iot:*region*\:*accountId*\:cert/*certificateId*),
6480
- # thingGroupArn
6481
- # (arn:aws:iot:*region*\:*accountId*\:thinggroup/*groupName*) and
6482
- # CognitoId (*region*\:*id*).
6479
+ # (arn:aws:iot:*region*:*accountId*:cert/*certificateId*), thingGroupArn
6480
+ # (arn:aws:iot:*region*:*accountId*:thinggroup/*groupName*) and
6481
+ # CognitoId (*region*:*id*).
6483
6482
  #
6484
6483
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
6485
6484
  #
@@ -6787,10 +6786,9 @@ module Aws::IoT
6787
6786
  #
6788
6787
  # @option params [String] :principal
6789
6788
  # The principal. Valid principals are CertificateArn
6790
- # (arn:aws:iot:*region*\:*accountId*\:cert/*certificateId*),
6791
- # thingGroupArn
6792
- # (arn:aws:iot:*region*\:*accountId*\:thinggroup/*groupName*) and
6793
- # CognitoId (*region*\:*id*).
6789
+ # (arn:aws:iot:*region*:*accountId*:cert/*certificateId*), thingGroupArn
6790
+ # (arn:aws:iot:*region*:*accountId*:thinggroup/*groupName*) and
6791
+ # CognitoId (*region*:*id*).
6794
6792
  #
6795
6793
  # @option params [String] :cognito_identity_pool_id
6796
6794
  # The Cognito identity pool ID.
@@ -6989,7 +6987,7 @@ module Aws::IoT
6989
6987
  # resp.ota_update_info.ota_update_files[0].code_signing.custom_code_signing.signature_algorithm #=> String
6990
6988
  # resp.ota_update_info.ota_update_files[0].attributes #=> Hash
6991
6989
  # resp.ota_update_info.ota_update_files[0].attributes["AttributeKey"] #=> String
6992
- # resp.ota_update_info.ota_update_status #=> String, one of "CREATE_PENDING", "CREATE_IN_PROGRESS", "CREATE_COMPLETE", "CREATE_FAILED"
6990
+ # resp.ota_update_info.ota_update_status #=> String, one of "CREATE_PENDING", "CREATE_IN_PROGRESS", "CREATE_COMPLETE", "CREATE_FAILED", "DELETE_IN_PROGRESS", "DELETE_FAILED"
6993
6991
  # resp.ota_update_info.aws_iot_job_id #=> String
6994
6992
  # resp.ota_update_info.aws_iot_job_arn #=> String
6995
6993
  # resp.ota_update_info.error_info.code #=> String
@@ -7700,10 +7698,9 @@ module Aws::IoT
7700
7698
  # @option params [required, String] :target
7701
7699
  # The group or principal for which the policies will be listed. Valid
7702
7700
  # principals are CertificateArn
7703
- # (arn:aws:iot:*region*\:*accountId*\:cert/*certificateId*),
7704
- # thingGroupArn
7705
- # (arn:aws:iot:*region*\:*accountId*\:thinggroup/*groupName*) and
7706
- # CognitoId (*region*\:*id*).
7701
+ # (arn:aws:iot:*region*:*accountId*:cert/*certificateId*), thingGroupArn
7702
+ # (arn:aws:iot:*region*:*accountId*:thinggroup/*groupName*) and
7703
+ # CognitoId (*region*:*id*).
7707
7704
  #
7708
7705
  # @option params [Boolean] :recursive
7709
7706
  # When true, recursively list attached policies.
@@ -9098,6 +9095,8 @@ module Aws::IoT
9098
9095
  # * {Types::ListManagedJobTemplatesResponse#managed_job_templates #managed_job_templates} => Array<Types::ManagedJobTemplateSummary>
9099
9096
  # * {Types::ListManagedJobTemplatesResponse#next_token #next_token} => String
9100
9097
  #
9098
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
9099
+ #
9101
9100
  # @example Request syntax with placeholder values
9102
9101
  #
9103
9102
  # resp = client.list_managed_job_templates({
@@ -9275,7 +9274,7 @@ module Aws::IoT
9275
9274
  # resp = client.list_ota_updates({
9276
9275
  # max_results: 1,
9277
9276
  # next_token: "NextToken",
9278
- # ota_update_status: "CREATE_PENDING", # accepts CREATE_PENDING, CREATE_IN_PROGRESS, CREATE_COMPLETE, CREATE_FAILED
9277
+ # ota_update_status: "CREATE_PENDING", # accepts CREATE_PENDING, CREATE_IN_PROGRESS, CREATE_COMPLETE, CREATE_FAILED, DELETE_IN_PROGRESS, DELETE_FAILED
9279
9278
  # })
9280
9279
  #
9281
9280
  # @example Response structure
@@ -9499,10 +9498,9 @@ module Aws::IoT
9499
9498
  #
9500
9499
  # @option params [required, String] :principal
9501
9500
  # The principal. Valid principals are CertificateArn
9502
- # (arn:aws:iot:*region*\:*accountId*\:cert/*certificateId*),
9503
- # thingGroupArn
9504
- # (arn:aws:iot:*region*\:*accountId*\:thinggroup/*groupName*) and
9505
- # CognitoId (*region*\:*id*).
9501
+ # (arn:aws:iot:*region*:*accountId*:cert/*certificateId*), thingGroupArn
9502
+ # (arn:aws:iot:*region*:*accountId*:thinggroup/*groupName*) and
9503
+ # CognitoId (*region*:*id*).
9506
9504
  #
9507
9505
  # @option params [String] :marker
9508
9506
  # The marker for the next set of results.
@@ -9738,6 +9736,8 @@ module Aws::IoT
9738
9736
  # * {Types::ListRelatedResourcesForAuditFindingResponse#related_resources #related_resources} => Array<Types::RelatedResource>
9739
9737
  # * {Types::ListRelatedResourcesForAuditFindingResponse#next_token #next_token} => String
9740
9738
  #
9739
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
9740
+ #
9741
9741
  # @example Request syntax with placeholder values
9742
9742
  #
9743
9743
  # resp = client.list_related_resources_for_audit_finding({
@@ -12301,10 +12301,9 @@ module Aws::IoT
12301
12301
  #
12302
12302
  # @option params [String] :principal
12303
12303
  # The principal. Valid principals are CertificateArn
12304
- # (arn:aws:iot:*region*\:*accountId*\:cert/*certificateId*),
12305
- # thingGroupArn
12306
- # (arn:aws:iot:*region*\:*accountId*\:thinggroup/*groupName*) and
12307
- # CognitoId (*region*\:*id*).
12304
+ # (arn:aws:iot:*region*:*accountId*:cert/*certificateId*), thingGroupArn
12305
+ # (arn:aws:iot:*region*:*accountId*:thinggroup/*groupName*) and
12306
+ # CognitoId (*region*:*id*).
12308
12307
  #
12309
12308
  # @option params [String] :cognito_identity_pool_id
12310
12309
  # The Cognito identity pool ID.
@@ -14094,7 +14093,7 @@ module Aws::IoT
14094
14093
  params: params,
14095
14094
  config: config)
14096
14095
  context[:gem_name] = 'aws-sdk-iot'
14097
- context[:gem_version] = '1.101.0'
14096
+ context[:gem_version] = '1.103.0'
14098
14097
  Seahorse::Client::Request.new(handlers, context)
14099
14098
  end
14100
14099
 
@@ -4955,7 +4955,7 @@ module Aws::IoT
4955
4955
  "serviceFullName" => "AWS IoT",
4956
4956
  "serviceId" => "IoT",
4957
4957
  "signatureVersion" => "v4",
4958
- "signingName" => "execute-api",
4958
+ "signingName" => "iot",
4959
4959
  "uid" => "iot-2015-05-28",
4960
4960
  }
4961
4961
 
@@ -7148,6 +7148,12 @@ module Aws::IoT
7148
7148
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
7149
7149
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
7150
7150
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
7151
+ o[:pager] = Aws::Pager.new(
7152
+ limit_key: "max_results",
7153
+ tokens: {
7154
+ "next_token" => "next_token"
7155
+ }
7156
+ )
7151
7157
  end)
7152
7158
 
7153
7159
  api.add_operation(:list_metric_values, Seahorse::Model::Operation.new.tap do |o|
@@ -7365,6 +7371,12 @@ module Aws::IoT
7365
7371
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
7366
7372
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
7367
7373
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
7374
+ o[:pager] = Aws::Pager.new(
7375
+ limit_key: "max_results",
7376
+ tokens: {
7377
+ "next_token" => "next_token"
7378
+ }
7379
+ )
7368
7380
  end)
7369
7381
 
7370
7382
  api.add_operation(:list_role_aliases, Seahorse::Model::Operation.new.tap do |o|
@@ -1311,13 +1311,13 @@ module Aws::IoT
1311
1311
  # criteria (containing a `value` or `statisticalThreshold`). Valid
1312
1312
  # operators include:
1313
1313
  #
1314
- # * `string-list`\: `in-set` and `not-in-set`
1314
+ # * `string-list`: `in-set` and `not-in-set`
1315
1315
  #
1316
- # * `number-list`\: `in-set` and `not-in-set`
1316
+ # * `number-list`: `in-set` and `not-in-set`
1317
1317
  #
1318
- # * `ip-address-list`\: `in-cidr-set` and `not-in-cidr-set`
1318
+ # * `ip-address-list`: `in-cidr-set` and `not-in-cidr-set`
1319
1319
  #
1320
- # * `number`\: `less-than`, `less-than-equals`, `greater-than`, and
1320
+ # * `number`: `less-than`, `less-than-equals`, `greater-than`, and
1321
1321
  # `greater-than-equals`
1322
1322
  # @return [String]
1323
1323
  #
@@ -1742,7 +1742,7 @@ module Aws::IoT
1742
1742
  # @!attribute [rw] certificate_mode
1743
1743
  # The mode of the certificate.
1744
1744
  #
1745
- # `DEFAULT`\: A certificate in `DEFAULT` mode is either generated by
1745
+ # `DEFAULT`: A certificate in `DEFAULT` mode is either generated by
1746
1746
  # Amazon Web Services IoT Core or registered with an issuer
1747
1747
  # certificate authority (CA) in `DEFAULT` mode. Devices with
1748
1748
  # certificates in `DEFAULT` mode aren't required to send the Server
@@ -1751,7 +1751,7 @@ module Aws::IoT
1751
1751
  # and VPC endpoints, we recommend that you use the SNI extension when
1752
1752
  # connecting to Amazon Web Services IoT Core.
1753
1753
  #
1754
- # `SNI_ONLY`\: A certificate in `SNI_ONLY` mode is registered without
1754
+ # `SNI_ONLY`: A certificate in `SNI_ONLY` mode is registered without
1755
1755
  # an issuer CA. Devices with certificates in `SNI_ONLY` mode must send
1756
1756
  # the SNI extension when connecting to Amazon Web Services IoT Core.
1757
1757
  # @return [String]
@@ -1844,7 +1844,7 @@ module Aws::IoT
1844
1844
  # @!attribute [rw] certificate_mode
1845
1845
  # The mode of the certificate.
1846
1846
  #
1847
- # `DEFAULT`\: A certificate in `DEFAULT` mode is either generated by
1847
+ # `DEFAULT`: A certificate in `DEFAULT` mode is either generated by
1848
1848
  # Amazon Web Services IoT Core or registered with an issuer
1849
1849
  # certificate authority (CA) in `DEFAULT` mode. Devices with
1850
1850
  # certificates in `DEFAULT` mode aren't required to send the Server
@@ -1853,7 +1853,7 @@ module Aws::IoT
1853
1853
  # and VPC endpoints, we recommend that you use the SNI extension when
1854
1854
  # connecting to Amazon Web Services IoT Core.
1855
1855
  #
1856
- # `SNI_ONLY`\: A certificate in `SNI_ONLY` mode is registered without
1856
+ # `SNI_ONLY`: A certificate in `SNI_ONLY` mode is registered without
1857
1857
  # an issuer CA. Devices with certificates in `SNI_ONLY` mode must send
1858
1858
  # the SNI extension when connecting to Amazon Web Services IoT Core.
1859
1859
  #
@@ -6096,10 +6096,10 @@ module Aws::IoT
6096
6096
  # The principal.
6097
6097
  #
6098
6098
  # Valid principals are CertificateArn
6099
- # (arn:aws:iot:*region*\:*accountId*\:cert/*certificateId*),
6099
+ # (arn:aws:iot:*region*:*accountId*:cert/*certificateId*),
6100
6100
  # thingGroupArn
6101
- # (arn:aws:iot:*region*\:*accountId*\:thinggroup/*groupName*) and
6102
- # CognitoId (*region*\:*id*).
6101
+ # (arn:aws:iot:*region*:*accountId*:thinggroup/*groupName*) and
6102
+ # CognitoId (*region*:*id*).
6103
6103
  # @return [String]
6104
6104
  #
6105
6105
  class DetachPrincipalPolicyRequest < Struct.new(
@@ -6820,10 +6820,10 @@ module Aws::IoT
6820
6820
  # The main part of the response with a list of buckets. Each bucket
6821
6821
  # contains a `keyValue` and a `count`.
6822
6822
  #
6823
- # `keyValue`\: The aggregation field value counted for the particular
6823
+ # `keyValue`: The aggregation field value counted for the particular
6824
6824
  # bucket.
6825
6825
  #
6826
- # `count`\: The number of documents that have that value.
6826
+ # `count`: The number of documents that have that value.
6827
6827
  # @return [Array<Types::Bucket>]
6828
6828
  #
6829
6829
  class GetBucketsAggregationResponse < Struct.new(
@@ -6870,10 +6870,10 @@ module Aws::IoT
6870
6870
 
6871
6871
  # @!attribute [rw] principal
6872
6872
  # The principal. Valid principals are CertificateArn
6873
- # (arn:aws:iot:*region*\:*accountId*\:cert/*certificateId*),
6873
+ # (arn:aws:iot:*region*:*accountId*:cert/*certificateId*),
6874
6874
  # thingGroupArn
6875
- # (arn:aws:iot:*region*\:*accountId*\:thinggroup/*groupName*) and
6876
- # CognitoId (*region*\:*id*).
6875
+ # (arn:aws:iot:*region*:*accountId*:thinggroup/*groupName*) and
6876
+ # CognitoId (*region*:*id*).
6877
6877
  # @return [String]
6878
6878
  #
6879
6879
  # @!attribute [rw] cognito_identity_pool_id
@@ -8373,10 +8373,10 @@ module Aws::IoT
8373
8373
  # @!attribute [rw] target
8374
8374
  # The group or principal for which the policies will be listed. Valid
8375
8375
  # principals are CertificateArn
8376
- # (arn:aws:iot:*region*\:*accountId*\:cert/*certificateId*),
8376
+ # (arn:aws:iot:*region*:*accountId*:cert/*certificateId*),
8377
8377
  # thingGroupArn
8378
- # (arn:aws:iot:*region*\:*accountId*\:thinggroup/*groupName*) and
8379
- # CognitoId (*region*\:*id*).
8378
+ # (arn:aws:iot:*region*:*accountId*:thinggroup/*groupName*) and
8379
+ # CognitoId (*region*:*id*).
8380
8380
  # @return [String]
8381
8381
  #
8382
8382
  # @!attribute [rw] recursive
@@ -9737,10 +9737,10 @@ module Aws::IoT
9737
9737
  #
9738
9738
  # @!attribute [rw] principal
9739
9739
  # The principal. Valid principals are CertificateArn
9740
- # (arn:aws:iot:*region*\:*accountId*\:cert/*certificateId*),
9740
+ # (arn:aws:iot:*region*:*accountId*:cert/*certificateId*),
9741
9741
  # thingGroupArn
9742
- # (arn:aws:iot:*region*\:*accountId*\:thinggroup/*groupName*) and
9743
- # CognitoId (*region*\:*id*).
9742
+ # (arn:aws:iot:*region*:*accountId*:thinggroup/*groupName*) and
9743
+ # CognitoId (*region*:*id*).
9744
9744
  # @return [String]
9745
9745
  #
9746
9746
  # @!attribute [rw] marker
@@ -13554,10 +13554,10 @@ module Aws::IoT
13554
13554
 
13555
13555
  # @!attribute [rw] principal
13556
13556
  # The principal. Valid principals are CertificateArn
13557
- # (arn:aws:iot:*region*\:*accountId*\:cert/*certificateId*),
13557
+ # (arn:aws:iot:*region*:*accountId*:cert/*certificateId*),
13558
13558
  # thingGroupArn
13559
- # (arn:aws:iot:*region*\:*accountId*\:thinggroup/*groupName*) and
13560
- # CognitoId (*region*\:*id*).
13559
+ # (arn:aws:iot:*region*:*accountId*:thinggroup/*groupName*) and
13560
+ # CognitoId (*region*:*id*).
13561
13561
  # @return [String]
13562
13562
  #
13563
13563
  # @!attribute [rw] cognito_identity_pool_id
data/lib/aws-sdk-iot.rb CHANGED
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-iot/customizations'
52
52
  # @!group service
53
53
  module Aws::IoT
54
54
 
55
- GEM_VERSION = '1.101.0'
55
+ GEM_VERSION = '1.103.0'
56
56
 
57
57
  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.101.0
4
+ version: 1.103.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: 2023-03-02 00:00:00.000000000 Z
11
+ date: 2023-04-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core