aws-sdk-iot 1.3.0 → 1.4.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c3189fa8aea8c3e7f042569e88d169604bdb1435
4
- data.tar.gz: 9c7a09e9e1d88450a619c52f0fde436d763d3f23
3
+ metadata.gz: 0c8f9d00174fb717b9699f23fe0b16742040e2db
4
+ data.tar.gz: ae1ef8a591435c006d52ee6654dd8de738957faf
5
5
  SHA512:
6
- metadata.gz: 993146bed78b0fa53d9d776d92e2391448cba4e0c0ccf2a55ed78d0b1f24177f39c209bd8393cea5b896ac96308ba6dddccf9a4fad06470959dc2ef53886bbd4
7
- data.tar.gz: 83a15d99db41cde9668a75ae581c0294d5f048e27ef2b41ddc6a2db9a9d4dc0283b629716596676f5fdc4b5f69af0e58a56f6b00541184bb17359e527f039e0c
6
+ metadata.gz: d598b81ecb18a9fcd3d92fd51e06ffbb5545975fca6797e7bf1bbbcbb534a0ddb02bb5b449ed7c6db6c2eb3098626fdece76025ddb6579fc4e529f966d155d0b
7
+ data.tar.gz: b6804fc3edb95480fef0521669154912946e310e0a0dc22ada146f61df539f28464c504b09b11427bafe1e4f1412fa385e09add63b9a644bdaa043397270c6c9
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-iot/customizations'
42
42
  # @service
43
43
  module Aws::IoT
44
44
 
45
- GEM_VERSION = '1.3.0'
45
+ GEM_VERSION = '1.4.0'
46
46
 
47
47
  end
@@ -1665,6 +1665,9 @@ module Aws::IoT
1665
1665
  # resp.certificate_description.owned_by #=> String
1666
1666
  # resp.certificate_description.creation_date #=> Time
1667
1667
  # resp.certificate_description.auto_registration_status #=> String, one of "ENABLE", "DISABLE"
1668
+ # resp.certificate_description.last_modified_date #=> Time
1669
+ # resp.certificate_description.customer_version #=> Integer
1670
+ # resp.certificate_description.generation_id #=> String
1668
1671
  # resp.registration_config.template_body #=> String
1669
1672
  # resp.registration_config.role_arn #=> String
1670
1673
  #
@@ -1701,11 +1704,13 @@ module Aws::IoT
1701
1704
  # resp.certificate_description.previous_owned_by #=> String
1702
1705
  # resp.certificate_description.creation_date #=> Time
1703
1706
  # resp.certificate_description.last_modified_date #=> Time
1707
+ # resp.certificate_description.customer_version #=> Integer
1704
1708
  # resp.certificate_description.transfer_data.transfer_message #=> String
1705
1709
  # resp.certificate_description.transfer_data.reject_reason #=> String
1706
1710
  # resp.certificate_description.transfer_data.transfer_date #=> Time
1707
1711
  # resp.certificate_description.transfer_data.accept_date #=> Time
1708
1712
  # resp.certificate_description.transfer_data.reject_date #=> Time
1713
+ # resp.certificate_description.generation_id #=> String
1709
1714
  #
1710
1715
  # @overload describe_certificate(params = {})
1711
1716
  # @param [Hash] params ({})
@@ -1930,6 +1935,7 @@ module Aws::IoT
1930
1935
  # @example Response structure
1931
1936
  #
1932
1937
  # resp.role_alias_description.role_alias #=> String
1938
+ # resp.role_alias_description.role_alias_arn #=> String
1933
1939
  # resp.role_alias_description.role_arn #=> String
1934
1940
  # resp.role_alias_description.owner #=> String
1935
1941
  # resp.role_alias_description.credential_duration_seconds #=> Integer
@@ -2435,6 +2441,9 @@ module Aws::IoT
2435
2441
  # * {Types::GetPolicyResponse#policy_arn #policy_arn} => String
2436
2442
  # * {Types::GetPolicyResponse#policy_document #policy_document} => String
2437
2443
  # * {Types::GetPolicyResponse#default_version_id #default_version_id} => String
2444
+ # * {Types::GetPolicyResponse#creation_date #creation_date} => Time
2445
+ # * {Types::GetPolicyResponse#last_modified_date #last_modified_date} => Time
2446
+ # * {Types::GetPolicyResponse#generation_id #generation_id} => String
2438
2447
  #
2439
2448
  # @example Request syntax with placeholder values
2440
2449
  #
@@ -2448,6 +2457,9 @@ module Aws::IoT
2448
2457
  # resp.policy_arn #=> String
2449
2458
  # resp.policy_document #=> String
2450
2459
  # resp.default_version_id #=> String
2460
+ # resp.creation_date #=> Time
2461
+ # resp.last_modified_date #=> Time
2462
+ # resp.generation_id #=> String
2451
2463
  #
2452
2464
  # @overload get_policy(params = {})
2453
2465
  # @param [Hash] params ({})
@@ -2471,6 +2483,9 @@ module Aws::IoT
2471
2483
  # * {Types::GetPolicyVersionResponse#policy_document #policy_document} => String
2472
2484
  # * {Types::GetPolicyVersionResponse#policy_version_id #policy_version_id} => String
2473
2485
  # * {Types::GetPolicyVersionResponse#is_default_version #is_default_version} => Boolean
2486
+ # * {Types::GetPolicyVersionResponse#creation_date #creation_date} => Time
2487
+ # * {Types::GetPolicyVersionResponse#last_modified_date #last_modified_date} => Time
2488
+ # * {Types::GetPolicyVersionResponse#generation_id #generation_id} => String
2474
2489
  #
2475
2490
  # @example Request syntax with placeholder values
2476
2491
  #
@@ -2486,6 +2501,9 @@ module Aws::IoT
2486
2501
  # resp.policy_document #=> String
2487
2502
  # resp.policy_version_id #=> String
2488
2503
  # resp.is_default_version #=> Boolean
2504
+ # resp.creation_date #=> Time
2505
+ # resp.last_modified_date #=> Time
2506
+ # resp.generation_id #=> String
2489
2507
  #
2490
2508
  # @overload get_policy_version(params = {})
2491
2509
  # @param [Hash] params ({})
@@ -5089,7 +5107,7 @@ module Aws::IoT
5089
5107
  params: params,
5090
5108
  config: config)
5091
5109
  context[:gem_name] = 'aws-sdk-iot'
5092
- context[:gem_version] = '1.3.0'
5110
+ context[:gem_version] = '1.4.0'
5093
5111
  Seahorse::Client::Request.new(handlers, context)
5094
5112
  end
5095
5113
 
@@ -117,6 +117,7 @@ module Aws::IoT
117
117
  CreationDate = Shapes::TimestampShape.new(name: 'CreationDate')
118
118
  CredentialDurationSeconds = Shapes::IntegerShape.new(name: 'CredentialDurationSeconds')
119
119
  CustomCodeSigning = Shapes::StructureShape.new(name: 'CustomCodeSigning')
120
+ CustomerVersion = Shapes::IntegerShape.new(name: 'CustomerVersion')
120
121
  DateType = Shapes::TimestampShape.new(name: 'DateType')
121
122
  DeleteAuthorizerRequest = Shapes::StructureShape.new(name: 'DeleteAuthorizerRequest')
122
123
  DeleteAuthorizerResponse = Shapes::StructureShape.new(name: 'DeleteAuthorizerResponse')
@@ -218,6 +219,7 @@ module Aws::IoT
218
219
  ForceDelete = Shapes::BooleanShape.new(name: 'ForceDelete')
219
220
  FunctionArn = Shapes::StringShape.new(name: 'FunctionArn')
220
221
  GEMaxResults = Shapes::IntegerShape.new(name: 'GEMaxResults')
222
+ GenerationId = Shapes::StringShape.new(name: 'GenerationId')
221
223
  GetEffectivePoliciesRequest = Shapes::StructureShape.new(name: 'GetEffectivePoliciesRequest')
222
224
  GetEffectivePoliciesResponse = Shapes::StructureShape.new(name: 'GetEffectivePoliciesResponse')
223
225
  GetIndexingConfigurationRequest = Shapes::StructureShape.new(name: 'GetIndexingConfigurationRequest')
@@ -707,6 +709,9 @@ module Aws::IoT
707
709
  CACertificateDescription.add_member(:owned_by, Shapes::ShapeRef.new(shape: AwsAccountId, location_name: "ownedBy"))
708
710
  CACertificateDescription.add_member(:creation_date, Shapes::ShapeRef.new(shape: DateType, location_name: "creationDate"))
709
711
  CACertificateDescription.add_member(:auto_registration_status, Shapes::ShapeRef.new(shape: AutoRegistrationStatus, location_name: "autoRegistrationStatus"))
712
+ CACertificateDescription.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: DateType, location_name: "lastModifiedDate"))
713
+ CACertificateDescription.add_member(:customer_version, Shapes::ShapeRef.new(shape: CustomerVersion, location_name: "customerVersion"))
714
+ CACertificateDescription.add_member(:generation_id, Shapes::ShapeRef.new(shape: GenerationId, location_name: "generationId"))
710
715
  CACertificateDescription.struct_class = Types::CACertificateDescription
711
716
 
712
717
  CACertificates.member = Shapes::ShapeRef.new(shape: CACertificate)
@@ -738,7 +743,9 @@ module Aws::IoT
738
743
  CertificateDescription.add_member(:previous_owned_by, Shapes::ShapeRef.new(shape: AwsAccountId, location_name: "previousOwnedBy"))
739
744
  CertificateDescription.add_member(:creation_date, Shapes::ShapeRef.new(shape: DateType, location_name: "creationDate"))
740
745
  CertificateDescription.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: DateType, location_name: "lastModifiedDate"))
746
+ CertificateDescription.add_member(:customer_version, Shapes::ShapeRef.new(shape: CustomerVersion, location_name: "customerVersion"))
741
747
  CertificateDescription.add_member(:transfer_data, Shapes::ShapeRef.new(shape: TransferData, location_name: "transferData"))
748
+ CertificateDescription.add_member(:generation_id, Shapes::ShapeRef.new(shape: GenerationId, location_name: "generationId"))
742
749
  CertificateDescription.struct_class = Types::CertificateDescription
743
750
 
744
751
  Certificates.member = Shapes::ShapeRef.new(shape: Certificate)
@@ -1223,6 +1230,9 @@ module Aws::IoT
1223
1230
  GetPolicyResponse.add_member(:policy_arn, Shapes::ShapeRef.new(shape: PolicyArn, location_name: "policyArn"))
1224
1231
  GetPolicyResponse.add_member(:policy_document, Shapes::ShapeRef.new(shape: PolicyDocument, location_name: "policyDocument"))
1225
1232
  GetPolicyResponse.add_member(:default_version_id, Shapes::ShapeRef.new(shape: PolicyVersionId, location_name: "defaultVersionId"))
1233
+ GetPolicyResponse.add_member(:creation_date, Shapes::ShapeRef.new(shape: DateType, location_name: "creationDate"))
1234
+ GetPolicyResponse.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: DateType, location_name: "lastModifiedDate"))
1235
+ GetPolicyResponse.add_member(:generation_id, Shapes::ShapeRef.new(shape: GenerationId, location_name: "generationId"))
1226
1236
  GetPolicyResponse.struct_class = Types::GetPolicyResponse
1227
1237
 
1228
1238
  GetPolicyVersionRequest.add_member(:policy_name, Shapes::ShapeRef.new(shape: PolicyName, required: true, location: "uri", location_name: "policyName"))
@@ -1234,6 +1244,9 @@ module Aws::IoT
1234
1244
  GetPolicyVersionResponse.add_member(:policy_document, Shapes::ShapeRef.new(shape: PolicyDocument, location_name: "policyDocument"))
1235
1245
  GetPolicyVersionResponse.add_member(:policy_version_id, Shapes::ShapeRef.new(shape: PolicyVersionId, location_name: "policyVersionId"))
1236
1246
  GetPolicyVersionResponse.add_member(:is_default_version, Shapes::ShapeRef.new(shape: IsDefaultVersion, location_name: "isDefaultVersion"))
1247
+ GetPolicyVersionResponse.add_member(:creation_date, Shapes::ShapeRef.new(shape: DateType, location_name: "creationDate"))
1248
+ GetPolicyVersionResponse.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: DateType, location_name: "lastModifiedDate"))
1249
+ GetPolicyVersionResponse.add_member(:generation_id, Shapes::ShapeRef.new(shape: GenerationId, location_name: "generationId"))
1237
1250
  GetPolicyVersionResponse.struct_class = Types::GetPolicyVersionResponse
1238
1251
 
1239
1252
  GetRegistrationCodeRequest.struct_class = Types::GetRegistrationCodeRequest
@@ -1780,6 +1793,7 @@ module Aws::IoT
1780
1793
  Resources.member = Shapes::ShapeRef.new(shape: Resource)
1781
1794
 
1782
1795
  RoleAliasDescription.add_member(:role_alias, Shapes::ShapeRef.new(shape: RoleAlias, location_name: "roleAlias"))
1796
+ RoleAliasDescription.add_member(:role_alias_arn, Shapes::ShapeRef.new(shape: RoleAliasArn, location_name: "roleAliasArn"))
1783
1797
  RoleAliasDescription.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "roleArn"))
1784
1798
  RoleAliasDescription.add_member(:owner, Shapes::ShapeRef.new(shape: AwsAccountId, location_name: "owner"))
1785
1799
  RoleAliasDescription.add_member(:credential_duration_seconds, Shapes::ShapeRef.new(shape: CredentialDurationSeconds, location_name: "credentialDurationSeconds"))
@@ -3518,6 +3532,7 @@ module Aws::IoT
3518
3532
  o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
3519
3533
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
3520
3534
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
3535
+ o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
3521
3536
  end)
3522
3537
 
3523
3538
  api.add_operation(:set_default_policy_version, Seahorse::Model::Operation.new.tap do |o|
@@ -577,6 +577,15 @@ module Aws::IoT
577
577
  # device certificates. Valid values are "ENABLE" and "DISABLE"
578
578
  # @return [String]
579
579
  #
580
+ # @!attribute [rw] last_modified_date
581
+ # @return [Time]
582
+ #
583
+ # @!attribute [rw] customer_version
584
+ # @return [Integer]
585
+ #
586
+ # @!attribute [rw] generation_id
587
+ # @return [String]
588
+ #
580
589
  class CACertificateDescription < Struct.new(
581
590
  :certificate_arn,
582
591
  :certificate_id,
@@ -584,7 +593,10 @@ module Aws::IoT
584
593
  :certificate_pem,
585
594
  :owned_by,
586
595
  :creation_date,
587
- :auto_registration_status)
596
+ :auto_registration_status,
597
+ :last_modified_date,
598
+ :customer_version,
599
+ :generation_id)
588
600
  include Aws::Structure
589
601
  end
590
602
 
@@ -715,10 +727,16 @@ module Aws::IoT
715
727
  # The date and time the certificate was last modified.
716
728
  # @return [Time]
717
729
  #
730
+ # @!attribute [rw] customer_version
731
+ # @return [Integer]
732
+ #
718
733
  # @!attribute [rw] transfer_data
719
734
  # The transfer data.
720
735
  # @return [Types::TransferData]
721
736
  #
737
+ # @!attribute [rw] generation_id
738
+ # @return [String]
739
+ #
722
740
  class CertificateDescription < Struct.new(
723
741
  :certificate_arn,
724
742
  :certificate_id,
@@ -729,7 +747,9 @@ module Aws::IoT
729
747
  :previous_owned_by,
730
748
  :creation_date,
731
749
  :last_modified_date,
732
- :transfer_data)
750
+ :customer_version,
751
+ :transfer_data,
752
+ :generation_id)
733
753
  include Aws::Structure
734
754
  end
735
755
 
@@ -3373,11 +3393,23 @@ module Aws::IoT
3373
3393
  # The default policy version ID.
3374
3394
  # @return [String]
3375
3395
  #
3396
+ # @!attribute [rw] creation_date
3397
+ # @return [Time]
3398
+ #
3399
+ # @!attribute [rw] last_modified_date
3400
+ # @return [Time]
3401
+ #
3402
+ # @!attribute [rw] generation_id
3403
+ # @return [String]
3404
+ #
3376
3405
  class GetPolicyResponse < Struct.new(
3377
3406
  :policy_name,
3378
3407
  :policy_arn,
3379
3408
  :policy_document,
3380
- :default_version_id)
3409
+ :default_version_id,
3410
+ :creation_date,
3411
+ :last_modified_date,
3412
+ :generation_id)
3381
3413
  include Aws::Structure
3382
3414
  end
3383
3415
 
@@ -3427,12 +3459,24 @@ module Aws::IoT
3427
3459
  # Specifies whether the policy version is the default.
3428
3460
  # @return [Boolean]
3429
3461
  #
3462
+ # @!attribute [rw] creation_date
3463
+ # @return [Time]
3464
+ #
3465
+ # @!attribute [rw] last_modified_date
3466
+ # @return [Time]
3467
+ #
3468
+ # @!attribute [rw] generation_id
3469
+ # @return [String]
3470
+ #
3430
3471
  class GetPolicyVersionResponse < Struct.new(
3431
3472
  :policy_arn,
3432
3473
  :policy_name,
3433
3474
  :policy_document,
3434
3475
  :policy_version_id,
3435
- :is_default_version)
3476
+ :is_default_version,
3477
+ :creation_date,
3478
+ :last_modified_date,
3479
+ :generation_id)
3436
3480
  include Aws::Structure
3437
3481
  end
3438
3482
 
@@ -6138,6 +6182,9 @@ module Aws::IoT
6138
6182
  # The role alias.
6139
6183
  # @return [String]
6140
6184
  #
6185
+ # @!attribute [rw] role_alias_arn
6186
+ # @return [String]
6187
+ #
6141
6188
  # @!attribute [rw] role_arn
6142
6189
  # The role ARN.
6143
6190
  # @return [String]
@@ -6160,6 +6207,7 @@ module Aws::IoT
6160
6207
  #
6161
6208
  class RoleAliasDescription < Struct.new(
6162
6209
  :role_alias,
6210
+ :role_alias_arn,
6163
6211
  :role_arn,
6164
6212
  :owner,
6165
6213
  :credential_duration_seconds,
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.3.0
4
+ version: 1.4.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: 2017-12-20 00:00:00.000000000 Z
11
+ date: 2018-03-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  version: '0'
76
76
  requirements: []
77
77
  rubyforge_project:
78
- rubygems_version: 2.5.1
78
+ rubygems_version: 2.5.2.2
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: AWS SDK for Ruby - AWS IoT