aws-sdk-licensemanager 1.27.0 → 1.28.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: ff0f0e545b9aca1f1f42c6c4520846fdaed8f8f43c35b0c84ed4ed80a60b154b
4
- data.tar.gz: d366f85ecef898bfd0fdffa7937d2af09d6f85fa6199a6e0b406340a3efd3458
3
+ metadata.gz: 38a7ebd2426bf9a43bbaa9e744f0849238f47d1edc23c9bfb5cf555a1f0fd56b
4
+ data.tar.gz: cc4dafbf64665629437264d8a32f66d94f2d85e76f7325574cefaaba1ae62a36
5
5
  SHA512:
6
- metadata.gz: 1736e60e768f9b933d1075277703b018453b4be0d1719aef95c6757ac76b490f8e0955f51e79187c3db465d0d0f41a6c99c350e6ad12b00235cb858f3809adeb
7
- data.tar.gz: 50e3f4d2b91ec620235dc8c04074e137cef8e32e4931454739f494f3d1a0e19600a522235efa49f3fbd1a78eb54b65672a4e59d6e0ccfc10c28ef475869fb5e3
6
+ metadata.gz: 36ff45ce90ddcba293ea7c92482b908ff11c3eb3342550558a28f6612b03965a3d5e8391ccdd25266a2f891ac7a0e87cc7392a60eec7470cdc102f278c6847b4
7
+ data.tar.gz: 10d77936ed74fb5e140ce76969d003a4d5d82f7158b256ca68e2130868d5abb10c4c407c47c8aa33c74159dc93e2f3b448321dce0bcecfe23f41abe82cac424e
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.28.0 (2021-06-23)
5
+ ------------------
6
+
7
+ * Feature - AWS License Manager now allows license administrators and end users to communicate to each other by setting custom status reasons when updating the status on a granted license.
8
+
4
9
  1.27.0 (2021-05-18)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.27.0
1
+ 1.28.0
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-licensemanager/customizations'
48
48
  # @!group service
49
49
  module Aws::LicenseManager
50
50
 
51
- GEM_VERSION = '1.27.0'
51
+ GEM_VERSION = '1.28.0'
52
52
 
53
53
  end
@@ -357,7 +357,7 @@ module Aws::LicenseManager
357
357
  # @example Response structure
358
358
  #
359
359
  # resp.grant_arn #=> String
360
- # resp.status #=> String, one of "PENDING_WORKFLOW", "PENDING_ACCEPT", "REJECTED", "ACTIVE", "FAILED_WORKFLOW", "DELETED", "PENDING_DELETE", "DISABLED"
360
+ # resp.status #=> String, one of "PENDING_WORKFLOW", "PENDING_ACCEPT", "REJECTED", "ACTIVE", "FAILED_WORKFLOW", "DELETED", "PENDING_DELETE", "DISABLED", "WORKFLOW_COMPLETED"
361
361
  # resp.version #=> String
362
362
  #
363
363
  # @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/AcceptGrant AWS API Documentation
@@ -587,7 +587,7 @@ module Aws::LicenseManager
587
587
  # @example Request syntax with placeholder values
588
588
  #
589
589
  # resp = client.create_grant({
590
- # client_token: "String", # required
590
+ # client_token: "ClientToken", # required
591
591
  # grant_name: "String", # required
592
592
  # license_arn: "Arn", # required
593
593
  # principals: ["Arn"], # required
@@ -598,7 +598,7 @@ module Aws::LicenseManager
598
598
  # @example Response structure
599
599
  #
600
600
  # resp.grant_arn #=> String
601
- # resp.status #=> String, one of "PENDING_WORKFLOW", "PENDING_ACCEPT", "REJECTED", "ACTIVE", "FAILED_WORKFLOW", "DELETED", "PENDING_DELETE", "DISABLED"
601
+ # resp.status #=> String, one of "PENDING_WORKFLOW", "PENDING_ACCEPT", "REJECTED", "ACTIVE", "FAILED_WORKFLOW", "DELETED", "PENDING_DELETE", "DISABLED", "WORKFLOW_COMPLETED"
602
602
  # resp.version #=> String
603
603
  #
604
604
  # @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/CreateGrant AWS API Documentation
@@ -628,6 +628,8 @@ module Aws::LicenseManager
628
628
  # @option params [String] :status
629
629
  # Grant status.
630
630
  #
631
+ # @option params [String] :status_reason
632
+ #
631
633
  # @option params [String] :source_version
632
634
  # Current version of the grant.
633
635
  #
@@ -640,18 +642,19 @@ module Aws::LicenseManager
640
642
  # @example Request syntax with placeholder values
641
643
  #
642
644
  # resp = client.create_grant_version({
643
- # client_token: "String", # required
645
+ # client_token: "ClientToken", # required
644
646
  # grant_arn: "Arn", # required
645
647
  # grant_name: "String",
646
648
  # allowed_operations: ["CreateGrant"], # accepts CreateGrant, CheckoutLicense, CheckoutBorrowLicense, CheckInLicense, ExtendConsumptionLicense, ListPurchasedLicenses, CreateToken
647
- # status: "PENDING_WORKFLOW", # accepts PENDING_WORKFLOW, PENDING_ACCEPT, REJECTED, ACTIVE, FAILED_WORKFLOW, DELETED, PENDING_DELETE, DISABLED
649
+ # status: "PENDING_WORKFLOW", # accepts PENDING_WORKFLOW, PENDING_ACCEPT, REJECTED, ACTIVE, FAILED_WORKFLOW, DELETED, PENDING_DELETE, DISABLED, WORKFLOW_COMPLETED
650
+ # status_reason: "StatusReasonMessage",
648
651
  # source_version: "String",
649
652
  # })
650
653
  #
651
654
  # @example Response structure
652
655
  #
653
656
  # resp.grant_arn #=> String
654
- # resp.status #=> String, one of "PENDING_WORKFLOW", "PENDING_ACCEPT", "REJECTED", "ACTIVE", "FAILED_WORKFLOW", "DELETED", "PENDING_DELETE", "DISABLED"
657
+ # resp.status #=> String, one of "PENDING_WORKFLOW", "PENDING_ACCEPT", "REJECTED", "ACTIVE", "FAILED_WORKFLOW", "DELETED", "PENDING_DELETE", "DISABLED", "WORKFLOW_COMPLETED"
655
658
  # resp.version #=> String
656
659
  #
657
660
  # @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/CreateGrantVersion AWS API Documentation
@@ -750,7 +753,7 @@ module Aws::LicenseManager
750
753
  # value: "String",
751
754
  # },
752
755
  # ],
753
- # client_token: "String", # required
756
+ # client_token: "ClientToken", # required
754
757
  # })
755
758
  #
756
759
  # @example Response structure
@@ -1034,7 +1037,7 @@ module Aws::LicenseManager
1034
1037
  # },
1035
1038
  # },
1036
1039
  # status: "AVAILABLE", # required, accepts AVAILABLE, PENDING_AVAILABLE, DEACTIVATED, SUSPENDED, EXPIRED, PENDING_DELETE, DELETED
1037
- # client_token: "String", # required
1040
+ # client_token: "ClientToken", # required
1038
1041
  # source_version: "String",
1039
1042
  # })
1040
1043
  #
@@ -1092,7 +1095,7 @@ module Aws::LicenseManager
1092
1095
  # role_arns: ["Arn"],
1093
1096
  # expiration_in_days: 1,
1094
1097
  # token_properties: ["String"],
1095
- # client_token: "IdempotencyToken", # required
1098
+ # client_token: "ClientToken", # required
1096
1099
  # })
1097
1100
  #
1098
1101
  # @example Response structure
@@ -1115,6 +1118,8 @@ module Aws::LicenseManager
1115
1118
  # @option params [required, String] :grant_arn
1116
1119
  # Amazon Resource Name (ARN) of the grant.
1117
1120
  #
1121
+ # @option params [String] :status_reason
1122
+ #
1118
1123
  # @option params [required, String] :version
1119
1124
  # Current version of the grant.
1120
1125
  #
@@ -1128,13 +1133,14 @@ module Aws::LicenseManager
1128
1133
  #
1129
1134
  # resp = client.delete_grant({
1130
1135
  # grant_arn: "Arn", # required
1136
+ # status_reason: "StatusReasonMessage",
1131
1137
  # version: "String", # required
1132
1138
  # })
1133
1139
  #
1134
1140
  # @example Response structure
1135
1141
  #
1136
1142
  # resp.grant_arn #=> String
1137
- # resp.status #=> String, one of "PENDING_WORKFLOW", "PENDING_ACCEPT", "REJECTED", "ACTIVE", "FAILED_WORKFLOW", "DELETED", "PENDING_DELETE", "DISABLED"
1143
+ # resp.status #=> String, one of "PENDING_WORKFLOW", "PENDING_ACCEPT", "REJECTED", "ACTIVE", "FAILED_WORKFLOW", "DELETED", "PENDING_DELETE", "DISABLED", "WORKFLOW_COMPLETED"
1138
1144
  # resp.version #=> String
1139
1145
  #
1140
1146
  # @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/DeleteGrant AWS API Documentation
@@ -1350,7 +1356,7 @@ module Aws::LicenseManager
1350
1356
  # resp.grant.license_arn #=> String
1351
1357
  # resp.grant.grantee_principal_arn #=> String
1352
1358
  # resp.grant.home_region #=> String
1353
- # resp.grant.grant_status #=> String, one of "PENDING_WORKFLOW", "PENDING_ACCEPT", "REJECTED", "ACTIVE", "FAILED_WORKFLOW", "DELETED", "PENDING_DELETE", "DISABLED"
1359
+ # resp.grant.grant_status #=> String, one of "PENDING_WORKFLOW", "PENDING_ACCEPT", "REJECTED", "ACTIVE", "FAILED_WORKFLOW", "DELETED", "PENDING_DELETE", "DISABLED", "WORKFLOW_COMPLETED"
1354
1360
  # resp.grant.status_reason #=> String
1355
1361
  # resp.grant.version #=> String
1356
1362
  # resp.grant.granted_operations #=> Array
@@ -1703,7 +1709,7 @@ module Aws::LicenseManager
1703
1709
  # resp.grants[0].license_arn #=> String
1704
1710
  # resp.grants[0].grantee_principal_arn #=> String
1705
1711
  # resp.grants[0].home_region #=> String
1706
- # resp.grants[0].grant_status #=> String, one of "PENDING_WORKFLOW", "PENDING_ACCEPT", "REJECTED", "ACTIVE", "FAILED_WORKFLOW", "DELETED", "PENDING_DELETE", "DISABLED"
1712
+ # resp.grants[0].grant_status #=> String, one of "PENDING_WORKFLOW", "PENDING_ACCEPT", "REJECTED", "ACTIVE", "FAILED_WORKFLOW", "DELETED", "PENDING_DELETE", "DISABLED", "WORKFLOW_COMPLETED"
1707
1713
  # resp.grants[0].status_reason #=> String
1708
1714
  # resp.grants[0].version #=> String
1709
1715
  # resp.grants[0].granted_operations #=> Array
@@ -2162,7 +2168,7 @@ module Aws::LicenseManager
2162
2168
  # resp.grants[0].license_arn #=> String
2163
2169
  # resp.grants[0].grantee_principal_arn #=> String
2164
2170
  # resp.grants[0].home_region #=> String
2165
- # resp.grants[0].grant_status #=> String, one of "PENDING_WORKFLOW", "PENDING_ACCEPT", "REJECTED", "ACTIVE", "FAILED_WORKFLOW", "DELETED", "PENDING_DELETE", "DISABLED"
2171
+ # resp.grants[0].grant_status #=> String, one of "PENDING_WORKFLOW", "PENDING_ACCEPT", "REJECTED", "ACTIVE", "FAILED_WORKFLOW", "DELETED", "PENDING_DELETE", "DISABLED", "WORKFLOW_COMPLETED"
2166
2172
  # resp.grants[0].status_reason #=> String
2167
2173
  # resp.grants[0].version #=> String
2168
2174
  # resp.grants[0].granted_operations #=> Array
@@ -2252,7 +2258,8 @@ module Aws::LicenseManager
2252
2258
  # resp.licenses[0].license_metadata[0].value #=> String
2253
2259
  # resp.licenses[0].create_time #=> String
2254
2260
  # resp.licenses[0].version #=> String
2255
- # resp.licenses[0].received_metadata.received_status #=> String, one of "PENDING_WORKFLOW", "PENDING_ACCEPT", "REJECTED", "ACTIVE", "FAILED_WORKFLOW", "DELETED", "DISABLED"
2261
+ # resp.licenses[0].received_metadata.received_status #=> String, one of "PENDING_WORKFLOW", "PENDING_ACCEPT", "REJECTED", "ACTIVE", "FAILED_WORKFLOW", "DELETED", "DISABLED", "WORKFLOW_COMPLETED"
2262
+ # resp.licenses[0].received_metadata.received_status_reason #=> String
2256
2263
  # resp.licenses[0].received_metadata.allowed_operations #=> Array
2257
2264
  # resp.licenses[0].received_metadata.allowed_operations[0] #=> String, one of "CreateGrant", "CheckoutLicense", "CheckoutBorrowLicense", "CheckInLicense", "ExtendConsumptionLicense", "ListPurchasedLicenses", "CreateToken"
2258
2265
  # resp.next_token #=> String
@@ -2515,7 +2522,7 @@ module Aws::LicenseManager
2515
2522
  # @example Response structure
2516
2523
  #
2517
2524
  # resp.grant_arn #=> String
2518
- # resp.status #=> String, one of "PENDING_WORKFLOW", "PENDING_ACCEPT", "REJECTED", "ACTIVE", "FAILED_WORKFLOW", "DELETED", "PENDING_DELETE", "DISABLED"
2525
+ # resp.status #=> String, one of "PENDING_WORKFLOW", "PENDING_ACCEPT", "REJECTED", "ACTIVE", "FAILED_WORKFLOW", "DELETED", "PENDING_DELETE", "DISABLED", "WORKFLOW_COMPLETED"
2519
2526
  # resp.version #=> String
2520
2527
  #
2521
2528
  # @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/RejectGrant AWS API Documentation
@@ -2813,7 +2820,7 @@ module Aws::LicenseManager
2813
2820
  params: params,
2814
2821
  config: config)
2815
2822
  context[:gem_name] = 'aws-sdk-licensemanager'
2816
- context[:gem_version] = '1.27.0'
2823
+ context[:gem_version] = '1.28.0'
2817
2824
  Seahorse::Client::Request.new(handlers, context)
2818
2825
  end
2819
2826
 
@@ -106,7 +106,6 @@ module Aws::LicenseManager
106
106
  GrantedLicense = Shapes::StructureShape.new(name: 'GrantedLicense')
107
107
  GrantedLicenseList = Shapes::ListShape.new(name: 'GrantedLicenseList')
108
108
  ISO8601DateTime = Shapes::StringShape.new(name: 'ISO8601DateTime')
109
- IdempotencyToken = Shapes::StringShape.new(name: 'IdempotencyToken')
110
109
  Integer = Shapes::IntegerShape.new(name: 'Integer')
111
110
  InvalidParameterValueException = Shapes::StructureShape.new(name: 'InvalidParameterValueException')
112
111
  InvalidResourceStateException = Shapes::StructureShape.new(name: 'InvalidResourceStateException')
@@ -201,6 +200,7 @@ module Aws::LicenseManager
201
200
  S3Location = Shapes::StructureShape.new(name: 'S3Location')
202
201
  ServerInternalException = Shapes::StructureShape.new(name: 'ServerInternalException')
203
202
  SignedToken = Shapes::StringShape.new(name: 'SignedToken')
203
+ StatusReasonMessage = Shapes::StringShape.new(name: 'StatusReasonMessage')
204
204
  String = Shapes::StringShape.new(name: 'String')
205
205
  StringList = Shapes::ListShape.new(name: 'StringList')
206
206
  Tag = Shapes::StructureShape.new(name: 'Tag')
@@ -306,7 +306,7 @@ module Aws::LicenseManager
306
306
  ConsumptionConfiguration.add_member(:borrow_configuration, Shapes::ShapeRef.new(shape: BorrowConfiguration, location_name: "BorrowConfiguration"))
307
307
  ConsumptionConfiguration.struct_class = Types::ConsumptionConfiguration
308
308
 
309
- CreateGrantRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ClientToken"))
309
+ CreateGrantRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, required: true, location_name: "ClientToken"))
310
310
  CreateGrantRequest.add_member(:grant_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "GrantName"))
311
311
  CreateGrantRequest.add_member(:license_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "LicenseArn"))
312
312
  CreateGrantRequest.add_member(:principals, Shapes::ShapeRef.new(shape: PrincipalArnList, required: true, location_name: "Principals"))
@@ -319,11 +319,12 @@ module Aws::LicenseManager
319
319
  CreateGrantResponse.add_member(:version, Shapes::ShapeRef.new(shape: String, location_name: "Version"))
320
320
  CreateGrantResponse.struct_class = Types::CreateGrantResponse
321
321
 
322
- CreateGrantVersionRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ClientToken"))
322
+ CreateGrantVersionRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, required: true, location_name: "ClientToken"))
323
323
  CreateGrantVersionRequest.add_member(:grant_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "GrantArn"))
324
324
  CreateGrantVersionRequest.add_member(:grant_name, Shapes::ShapeRef.new(shape: String, location_name: "GrantName"))
325
325
  CreateGrantVersionRequest.add_member(:allowed_operations, Shapes::ShapeRef.new(shape: AllowedOperationList, location_name: "AllowedOperations"))
326
326
  CreateGrantVersionRequest.add_member(:status, Shapes::ShapeRef.new(shape: GrantStatus, location_name: "Status"))
327
+ CreateGrantVersionRequest.add_member(:status_reason, Shapes::ShapeRef.new(shape: StatusReasonMessage, location_name: "StatusReason"))
327
328
  CreateGrantVersionRequest.add_member(:source_version, Shapes::ShapeRef.new(shape: String, location_name: "SourceVersion"))
328
329
  CreateGrantVersionRequest.struct_class = Types::CreateGrantVersionRequest
329
330
 
@@ -368,7 +369,7 @@ module Aws::LicenseManager
368
369
  CreateLicenseRequest.add_member(:beneficiary, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Beneficiary"))
369
370
  CreateLicenseRequest.add_member(:consumption_configuration, Shapes::ShapeRef.new(shape: ConsumptionConfiguration, required: true, location_name: "ConsumptionConfiguration"))
370
371
  CreateLicenseRequest.add_member(:license_metadata, Shapes::ShapeRef.new(shape: MetadataList, location_name: "LicenseMetadata"))
371
- CreateLicenseRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ClientToken"))
372
+ CreateLicenseRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, required: true, location_name: "ClientToken"))
372
373
  CreateLicenseRequest.struct_class = Types::CreateLicenseRequest
373
374
 
374
375
  CreateLicenseResponse.add_member(:license_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "LicenseArn"))
@@ -386,7 +387,7 @@ module Aws::LicenseManager
386
387
  CreateLicenseVersionRequest.add_member(:entitlements, Shapes::ShapeRef.new(shape: EntitlementList, required: true, location_name: "Entitlements"))
387
388
  CreateLicenseVersionRequest.add_member(:consumption_configuration, Shapes::ShapeRef.new(shape: ConsumptionConfiguration, required: true, location_name: "ConsumptionConfiguration"))
388
389
  CreateLicenseVersionRequest.add_member(:status, Shapes::ShapeRef.new(shape: LicenseStatus, required: true, location_name: "Status"))
389
- CreateLicenseVersionRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ClientToken"))
390
+ CreateLicenseVersionRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, required: true, location_name: "ClientToken"))
390
391
  CreateLicenseVersionRequest.add_member(:source_version, Shapes::ShapeRef.new(shape: String, location_name: "SourceVersion"))
391
392
  CreateLicenseVersionRequest.struct_class = Types::CreateLicenseVersionRequest
392
393
 
@@ -399,7 +400,7 @@ module Aws::LicenseManager
399
400
  CreateTokenRequest.add_member(:role_arns, Shapes::ShapeRef.new(shape: ArnList, location_name: "RoleArns"))
400
401
  CreateTokenRequest.add_member(:expiration_in_days, Shapes::ShapeRef.new(shape: Integer, location_name: "ExpirationInDays"))
401
402
  CreateTokenRequest.add_member(:token_properties, Shapes::ShapeRef.new(shape: MaxSize3StringList, location_name: "TokenProperties"))
402
- CreateTokenRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: IdempotencyToken, required: true, location_name: "ClientToken"))
403
+ CreateTokenRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, required: true, location_name: "ClientToken"))
403
404
  CreateTokenRequest.struct_class = Types::CreateTokenRequest
404
405
 
405
406
  CreateTokenResponse.add_member(:token_id, Shapes::ShapeRef.new(shape: String, location_name: "TokenId"))
@@ -412,6 +413,7 @@ module Aws::LicenseManager
412
413
  DatetimeRange.struct_class = Types::DatetimeRange
413
414
 
414
415
  DeleteGrantRequest.add_member(:grant_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "GrantArn"))
416
+ DeleteGrantRequest.add_member(:status_reason, Shapes::ShapeRef.new(shape: StatusReasonMessage, location_name: "StatusReason"))
415
417
  DeleteGrantRequest.add_member(:version, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Version"))
416
418
  DeleteGrantRequest.struct_class = Types::DeleteGrantRequest
417
419
 
@@ -567,7 +569,7 @@ module Aws::LicenseManager
567
569
  Grant.add_member(:grantee_principal_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "GranteePrincipalArn"))
568
570
  Grant.add_member(:home_region, Shapes::ShapeRef.new(shape: String, required: true, location_name: "HomeRegion"))
569
571
  Grant.add_member(:grant_status, Shapes::ShapeRef.new(shape: GrantStatus, required: true, location_name: "GrantStatus"))
570
- Grant.add_member(:status_reason, Shapes::ShapeRef.new(shape: String, location_name: "StatusReason"))
572
+ Grant.add_member(:status_reason, Shapes::ShapeRef.new(shape: StatusReasonMessage, location_name: "StatusReason"))
571
573
  Grant.add_member(:version, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Version"))
572
574
  Grant.add_member(:granted_operations, Shapes::ShapeRef.new(shape: AllowedOperationList, required: true, location_name: "GrantedOperations"))
573
575
  Grant.struct_class = Types::Grant
@@ -868,6 +870,7 @@ module Aws::LicenseManager
868
870
  RateLimitExceededException.struct_class = Types::RateLimitExceededException
869
871
 
870
872
  ReceivedMetadata.add_member(:received_status, Shapes::ShapeRef.new(shape: ReceivedStatus, location_name: "ReceivedStatus"))
873
+ ReceivedMetadata.add_member(:received_status_reason, Shapes::ShapeRef.new(shape: StatusReasonMessage, location_name: "ReceivedStatusReason"))
871
874
  ReceivedMetadata.add_member(:allowed_operations, Shapes::ShapeRef.new(shape: AllowedOperationList, location_name: "AllowedOperations"))
872
875
  ReceivedMetadata.struct_class = Types::ReceivedMetadata
873
876
 
@@ -1050,6 +1053,7 @@ module Aws::LicenseManager
1050
1053
  o.input = Shapes::ShapeRef.new(shape: CheckInLicenseRequest)
1051
1054
  o.output = Shapes::ShapeRef.new(shape: CheckInLicenseResponse)
1052
1055
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1056
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
1053
1057
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1054
1058
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1055
1059
  o.errors << Shapes::ShapeRef.new(shape: AuthorizationException)
@@ -1065,6 +1069,7 @@ module Aws::LicenseManager
1065
1069
  o.input = Shapes::ShapeRef.new(shape: CheckoutBorrowLicenseRequest)
1066
1070
  o.output = Shapes::ShapeRef.new(shape: CheckoutBorrowLicenseResponse)
1067
1071
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1072
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
1068
1073
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1069
1074
  o.errors << Shapes::ShapeRef.new(shape: NoEntitlementsAllowedException)
1070
1075
  o.errors << Shapes::ShapeRef.new(shape: EntitlementNotAllowedException)
@@ -1083,6 +1088,7 @@ module Aws::LicenseManager
1083
1088
  o.input = Shapes::ShapeRef.new(shape: CheckoutLicenseRequest)
1084
1089
  o.output = Shapes::ShapeRef.new(shape: CheckoutLicenseResponse)
1085
1090
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1091
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
1086
1092
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1087
1093
  o.errors << Shapes::ShapeRef.new(shape: NoEntitlementsAllowedException)
1088
1094
  o.errors << Shapes::ShapeRef.new(shape: UnsupportedDigitalSignatureMethodException)
@@ -441,7 +441,7 @@ module Aws::LicenseManager
441
441
  # data as a hash:
442
442
  #
443
443
  # {
444
- # client_token: "String", # required
444
+ # client_token: "ClientToken", # required
445
445
  # grant_name: "String", # required
446
446
  # license_arn: "Arn", # required
447
447
  # principals: ["Arn"], # required
@@ -513,11 +513,12 @@ module Aws::LicenseManager
513
513
  # data as a hash:
514
514
  #
515
515
  # {
516
- # client_token: "String", # required
516
+ # client_token: "ClientToken", # required
517
517
  # grant_arn: "Arn", # required
518
518
  # grant_name: "String",
519
519
  # allowed_operations: ["CreateGrant"], # accepts CreateGrant, CheckoutLicense, CheckoutBorrowLicense, CheckInLicense, ExtendConsumptionLicense, ListPurchasedLicenses, CreateToken
520
- # status: "PENDING_WORKFLOW", # accepts PENDING_WORKFLOW, PENDING_ACCEPT, REJECTED, ACTIVE, FAILED_WORKFLOW, DELETED, PENDING_DELETE, DISABLED
520
+ # status: "PENDING_WORKFLOW", # accepts PENDING_WORKFLOW, PENDING_ACCEPT, REJECTED, ACTIVE, FAILED_WORKFLOW, DELETED, PENDING_DELETE, DISABLED, WORKFLOW_COMPLETED
521
+ # status_reason: "StatusReasonMessage",
521
522
  # source_version: "String",
522
523
  # }
523
524
  #
@@ -542,6 +543,9 @@ module Aws::LicenseManager
542
543
  # Grant status.
543
544
  # @return [String]
544
545
  #
546
+ # @!attribute [rw] status_reason
547
+ # @return [String]
548
+ #
545
549
  # @!attribute [rw] source_version
546
550
  # Current version of the grant.
547
551
  # @return [String]
@@ -554,6 +558,7 @@ module Aws::LicenseManager
554
558
  :grant_name,
555
559
  :allowed_operations,
556
560
  :status,
561
+ :status_reason,
557
562
  :source_version)
558
563
  SENSITIVE = []
559
564
  include Aws::Structure
@@ -827,7 +832,7 @@ module Aws::LicenseManager
827
832
  # value: "String",
828
833
  # },
829
834
  # ],
830
- # client_token: "String", # required
835
+ # client_token: "ClientToken", # required
831
836
  # }
832
837
  #
833
838
  # @!attribute [rw] license_name
@@ -961,7 +966,7 @@ module Aws::LicenseManager
961
966
  # },
962
967
  # },
963
968
  # status: "AVAILABLE", # required, accepts AVAILABLE, PENDING_AVAILABLE, DEACTIVATED, SUSPENDED, EXPIRED, PENDING_DELETE, DELETED
964
- # client_token: "String", # required
969
+ # client_token: "ClientToken", # required
965
970
  # source_version: "String",
966
971
  # }
967
972
  #
@@ -1066,7 +1071,7 @@ module Aws::LicenseManager
1066
1071
  # role_arns: ["Arn"],
1067
1072
  # expiration_in_days: 1,
1068
1073
  # token_properties: ["String"],
1069
- # client_token: "IdempotencyToken", # required
1074
+ # client_token: "ClientToken", # required
1070
1075
  # }
1071
1076
  #
1072
1077
  # @!attribute [rw] license_arn
@@ -1159,6 +1164,7 @@ module Aws::LicenseManager
1159
1164
  #
1160
1165
  # {
1161
1166
  # grant_arn: "Arn", # required
1167
+ # status_reason: "StatusReasonMessage",
1162
1168
  # version: "String", # required
1163
1169
  # }
1164
1170
  #
@@ -1166,6 +1172,9 @@ module Aws::LicenseManager
1166
1172
  # Amazon Resource Name (ARN) of the grant.
1167
1173
  # @return [String]
1168
1174
  #
1175
+ # @!attribute [rw] status_reason
1176
+ # @return [String]
1177
+ #
1169
1178
  # @!attribute [rw] version
1170
1179
  # Current version of the grant.
1171
1180
  # @return [String]
@@ -1174,6 +1183,7 @@ module Aws::LicenseManager
1174
1183
  #
1175
1184
  class DeleteGrantRequest < Struct.new(
1176
1185
  :grant_arn,
1186
+ :status_reason,
1177
1187
  :version)
1178
1188
  SENSITIVE = []
1179
1189
  include Aws::Structure
@@ -3563,6 +3573,9 @@ module Aws::LicenseManager
3563
3573
  # Received status.
3564
3574
  # @return [String]
3565
3575
  #
3576
+ # @!attribute [rw] received_status_reason
3577
+ # @return [String]
3578
+ #
3566
3579
  # @!attribute [rw] allowed_operations
3567
3580
  # Allowed operations.
3568
3581
  # @return [Array<String>]
@@ -3571,6 +3584,7 @@ module Aws::LicenseManager
3571
3584
  #
3572
3585
  class ReceivedMetadata < Struct.new(
3573
3586
  :received_status,
3587
+ :received_status_reason,
3574
3588
  :allowed_operations)
3575
3589
  SENSITIVE = []
3576
3590
  include Aws::Structure
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-licensemanager
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.27.0
4
+ version: 1.28.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-05-18 00:00:00.000000000 Z
11
+ date: 2021-06-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core