aws-sdk-licensemanager 1.26.0 → 1.30.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-licensemanager.rb +1 -1
- data/lib/aws-sdk-licensemanager/client.rb +319 -26
- data/lib/aws-sdk-licensemanager/client_api.rb +186 -7
- data/lib/aws-sdk-licensemanager/types.rb +486 -20
- metadata +7 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8a005bd7436a424874c17f359cd51b9f7de21cf73bc2865b220986b76cd1d686
|
4
|
+
data.tar.gz: 2413d712e841ecc69f870fca6d9bd86a1b7b9ebecfeafb9e3037e08ec8392a01
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 669a4565ed8cc3ee5301744d633ceb061258dc7bc0a07cefe4de399cddf682cdfbb7e74bc61b3f547a4dd17c3c08f509917c4ad1fa2bd08a732e819b0b625ab5
|
7
|
+
data.tar.gz: 8d95d690de1cf9c46aa5f71725f5e75f2bb3b1bb1243c8b04e786f99aeb194bd9db071792a9a82920adb1806c3925eea9dfe2abfe6a936805d9f3c090487774d
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,26 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.30.0 (2021-07-30)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.29.0 (2021-07-28)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
14
|
+
1.28.0 (2021-06-23)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* 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.
|
18
|
+
|
19
|
+
1.27.0 (2021-05-18)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - AWS License Manager now supports periodic report generation.
|
23
|
+
|
4
24
|
1.26.0 (2021-03-10)
|
5
25
|
------------------
|
6
26
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.30.0
|
@@ -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: "
|
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: "
|
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: "
|
756
|
+
# client_token: "ClientToken", # required
|
754
757
|
# })
|
755
758
|
#
|
756
759
|
# @example Response structure
|
@@ -873,6 +876,77 @@ module Aws::LicenseManager
|
|
873
876
|
req.send_request(options)
|
874
877
|
end
|
875
878
|
|
879
|
+
# Creates a new report generator.
|
880
|
+
#
|
881
|
+
# @option params [required, String] :report_generator_name
|
882
|
+
# Name of the report generator.
|
883
|
+
#
|
884
|
+
# @option params [required, Array<String>] :type
|
885
|
+
# Type of reports to generate. The following report types an be
|
886
|
+
# generated:
|
887
|
+
#
|
888
|
+
# * License configuration report - Reports on the number and details of
|
889
|
+
# consumed licenses for a license configuration.
|
890
|
+
#
|
891
|
+
# * Resource report - Reports on the tracked licenses and resource
|
892
|
+
# consumption for a license configuration.
|
893
|
+
#
|
894
|
+
# @option params [required, Types::ReportContext] :report_context
|
895
|
+
# Defines the type of license configuration the report generator tracks.
|
896
|
+
#
|
897
|
+
# @option params [required, Types::ReportFrequency] :report_frequency
|
898
|
+
# Frequency by which reports are generated. Reports can be generated
|
899
|
+
# daily, monthly, or weekly.
|
900
|
+
#
|
901
|
+
# @option params [required, String] :client_token
|
902
|
+
# Unique, case-sensitive identifier that you provide to ensure the
|
903
|
+
# idempotency of the request.
|
904
|
+
#
|
905
|
+
# @option params [String] :description
|
906
|
+
# Description of the report generator.
|
907
|
+
#
|
908
|
+
# @option params [Array<Types::Tag>] :tags
|
909
|
+
# Tags to add to the report generator.
|
910
|
+
#
|
911
|
+
# @return [Types::CreateLicenseManagerReportGeneratorResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
912
|
+
#
|
913
|
+
# * {Types::CreateLicenseManagerReportGeneratorResponse#license_manager_report_generator_arn #license_manager_report_generator_arn} => String
|
914
|
+
#
|
915
|
+
# @example Request syntax with placeholder values
|
916
|
+
#
|
917
|
+
# resp = client.create_license_manager_report_generator({
|
918
|
+
# report_generator_name: "ReportGeneratorName", # required
|
919
|
+
# type: ["LicenseConfigurationSummaryReport"], # required, accepts LicenseConfigurationSummaryReport, LicenseConfigurationUsageReport
|
920
|
+
# report_context: { # required
|
921
|
+
# license_configuration_arns: ["Arn"], # required
|
922
|
+
# },
|
923
|
+
# report_frequency: { # required
|
924
|
+
# value: 1,
|
925
|
+
# period: "DAY", # accepts DAY, WEEK, MONTH
|
926
|
+
# },
|
927
|
+
# client_token: "ClientRequestToken", # required
|
928
|
+
# description: "String",
|
929
|
+
# tags: [
|
930
|
+
# {
|
931
|
+
# key: "String",
|
932
|
+
# value: "String",
|
933
|
+
# },
|
934
|
+
# ],
|
935
|
+
# })
|
936
|
+
#
|
937
|
+
# @example Response structure
|
938
|
+
#
|
939
|
+
# resp.license_manager_report_generator_arn #=> String
|
940
|
+
#
|
941
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/CreateLicenseManagerReportGenerator AWS API Documentation
|
942
|
+
#
|
943
|
+
# @overload create_license_manager_report_generator(params = {})
|
944
|
+
# @param [Hash] params ({})
|
945
|
+
def create_license_manager_report_generator(params = {}, options = {})
|
946
|
+
req = build_request(:create_license_manager_report_generator, params)
|
947
|
+
req.send_request(options)
|
948
|
+
end
|
949
|
+
|
876
950
|
# Creates a new version of the specified license.
|
877
951
|
#
|
878
952
|
# @option params [required, String] :license_arn
|
@@ -963,7 +1037,7 @@ module Aws::LicenseManager
|
|
963
1037
|
# },
|
964
1038
|
# },
|
965
1039
|
# status: "AVAILABLE", # required, accepts AVAILABLE, PENDING_AVAILABLE, DEACTIVATED, SUSPENDED, EXPIRED, PENDING_DELETE, DELETED
|
966
|
-
# client_token: "
|
1040
|
+
# client_token: "ClientToken", # required
|
967
1041
|
# source_version: "String",
|
968
1042
|
# })
|
969
1043
|
#
|
@@ -1021,7 +1095,7 @@ module Aws::LicenseManager
|
|
1021
1095
|
# role_arns: ["Arn"],
|
1022
1096
|
# expiration_in_days: 1,
|
1023
1097
|
# token_properties: ["String"],
|
1024
|
-
# client_token: "
|
1098
|
+
# client_token: "ClientToken", # required
|
1025
1099
|
# })
|
1026
1100
|
#
|
1027
1101
|
# @example Response structure
|
@@ -1044,6 +1118,8 @@ module Aws::LicenseManager
|
|
1044
1118
|
# @option params [required, String] :grant_arn
|
1045
1119
|
# Amazon Resource Name (ARN) of the grant.
|
1046
1120
|
#
|
1121
|
+
# @option params [String] :status_reason
|
1122
|
+
#
|
1047
1123
|
# @option params [required, String] :version
|
1048
1124
|
# Current version of the grant.
|
1049
1125
|
#
|
@@ -1057,13 +1133,14 @@ module Aws::LicenseManager
|
|
1057
1133
|
#
|
1058
1134
|
# resp = client.delete_grant({
|
1059
1135
|
# grant_arn: "Arn", # required
|
1136
|
+
# status_reason: "StatusReasonMessage",
|
1060
1137
|
# version: "String", # required
|
1061
1138
|
# })
|
1062
1139
|
#
|
1063
1140
|
# @example Response structure
|
1064
1141
|
#
|
1065
1142
|
# resp.grant_arn #=> String
|
1066
|
-
# 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"
|
1067
1144
|
# resp.version #=> String
|
1068
1145
|
#
|
1069
1146
|
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/DeleteGrant AWS API Documentation
|
@@ -1133,6 +1210,33 @@ module Aws::LicenseManager
|
|
1133
1210
|
req.send_request(options)
|
1134
1211
|
end
|
1135
1212
|
|
1213
|
+
# Delete an existing report generator.
|
1214
|
+
#
|
1215
|
+
# This action deletes the report generator, which stops it from
|
1216
|
+
# generating future reports and cannot be reversed. However, the
|
1217
|
+
# previous reports from this generator will remain in your S3 bucket.
|
1218
|
+
#
|
1219
|
+
# @option params [required, String] :license_manager_report_generator_arn
|
1220
|
+
# Amazon Resource Number (ARN) of the report generator that will be
|
1221
|
+
# deleted.
|
1222
|
+
#
|
1223
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1224
|
+
#
|
1225
|
+
# @example Request syntax with placeholder values
|
1226
|
+
#
|
1227
|
+
# resp = client.delete_license_manager_report_generator({
|
1228
|
+
# license_manager_report_generator_arn: "String", # required
|
1229
|
+
# })
|
1230
|
+
#
|
1231
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/DeleteLicenseManagerReportGenerator AWS API Documentation
|
1232
|
+
#
|
1233
|
+
# @overload delete_license_manager_report_generator(params = {})
|
1234
|
+
# @param [Hash] params ({})
|
1235
|
+
def delete_license_manager_report_generator(params = {}, options = {})
|
1236
|
+
req = build_request(:delete_license_manager_report_generator, params)
|
1237
|
+
req.send_request(options)
|
1238
|
+
end
|
1239
|
+
|
1136
1240
|
# Deletes the specified token. Must be called in the license home
|
1137
1241
|
# Region.
|
1138
1242
|
#
|
@@ -1252,7 +1356,7 @@ module Aws::LicenseManager
|
|
1252
1356
|
# resp.grant.license_arn #=> String
|
1253
1357
|
# resp.grant.grantee_principal_arn #=> String
|
1254
1358
|
# resp.grant.home_region #=> String
|
1255
|
-
# 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"
|
1256
1360
|
# resp.grant.status_reason #=> String
|
1257
1361
|
# resp.grant.version #=> String
|
1258
1362
|
# resp.grant.granted_operations #=> Array
|
@@ -1399,6 +1503,53 @@ module Aws::LicenseManager
|
|
1399
1503
|
req.send_request(options)
|
1400
1504
|
end
|
1401
1505
|
|
1506
|
+
# Gets information on the specified report generator.
|
1507
|
+
#
|
1508
|
+
# @option params [required, String] :license_manager_report_generator_arn
|
1509
|
+
# mazon Resource Number (ARN) of the report generator to retrieve
|
1510
|
+
# information on.
|
1511
|
+
#
|
1512
|
+
# @return [Types::GetLicenseManagerReportGeneratorResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1513
|
+
#
|
1514
|
+
# * {Types::GetLicenseManagerReportGeneratorResponse#report_generator #report_generator} => Types::ReportGenerator
|
1515
|
+
#
|
1516
|
+
# @example Request syntax with placeholder values
|
1517
|
+
#
|
1518
|
+
# resp = client.get_license_manager_report_generator({
|
1519
|
+
# license_manager_report_generator_arn: "String", # required
|
1520
|
+
# })
|
1521
|
+
#
|
1522
|
+
# @example Response structure
|
1523
|
+
#
|
1524
|
+
# resp.report_generator.report_generator_name #=> String
|
1525
|
+
# resp.report_generator.report_type #=> Array
|
1526
|
+
# resp.report_generator.report_type[0] #=> String, one of "LicenseConfigurationSummaryReport", "LicenseConfigurationUsageReport"
|
1527
|
+
# resp.report_generator.report_context.license_configuration_arns #=> Array
|
1528
|
+
# resp.report_generator.report_context.license_configuration_arns[0] #=> String
|
1529
|
+
# resp.report_generator.report_frequency.value #=> Integer
|
1530
|
+
# resp.report_generator.report_frequency.period #=> String, one of "DAY", "WEEK", "MONTH"
|
1531
|
+
# resp.report_generator.license_manager_report_generator_arn #=> String
|
1532
|
+
# resp.report_generator.last_run_status #=> String
|
1533
|
+
# resp.report_generator.last_run_failure_reason #=> String
|
1534
|
+
# resp.report_generator.last_report_generation_time #=> String
|
1535
|
+
# resp.report_generator.report_creator_account #=> String
|
1536
|
+
# resp.report_generator.description #=> String
|
1537
|
+
# resp.report_generator.s3_location.bucket #=> String
|
1538
|
+
# resp.report_generator.s3_location.key_prefix #=> String
|
1539
|
+
# resp.report_generator.create_time #=> String
|
1540
|
+
# resp.report_generator.tags #=> Array
|
1541
|
+
# resp.report_generator.tags[0].key #=> String
|
1542
|
+
# resp.report_generator.tags[0].value #=> String
|
1543
|
+
#
|
1544
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/GetLicenseManagerReportGenerator AWS API Documentation
|
1545
|
+
#
|
1546
|
+
# @overload get_license_manager_report_generator(params = {})
|
1547
|
+
# @param [Hash] params ({})
|
1548
|
+
def get_license_manager_report_generator(params = {}, options = {})
|
1549
|
+
req = build_request(:get_license_manager_report_generator, params)
|
1550
|
+
req.send_request(options)
|
1551
|
+
end
|
1552
|
+
|
1402
1553
|
# Gets detailed information about the usage of the specified license.
|
1403
1554
|
#
|
1404
1555
|
# @option params [required, String] :license_arn
|
@@ -1514,13 +1665,15 @@ module Aws::LicenseManager
|
|
1514
1665
|
# @option params [Array<Types::Filter>] :filters
|
1515
1666
|
# Filters to scope the results. The following filters are supported:
|
1516
1667
|
#
|
1517
|
-
# * `
|
1668
|
+
# * `LicenseArn`
|
1518
1669
|
#
|
1519
|
-
# * `
|
1670
|
+
# * `GrantStatus`
|
1520
1671
|
#
|
1521
|
-
# * `
|
1672
|
+
# * `GranteePrincipalARN`
|
1522
1673
|
#
|
1523
|
-
# * `
|
1674
|
+
# * `ProductSKU`
|
1675
|
+
#
|
1676
|
+
# * `LicenseIssuerName`
|
1524
1677
|
#
|
1525
1678
|
# @option params [String] :next_token
|
1526
1679
|
# Token for the next set of results.
|
@@ -1556,7 +1709,7 @@ module Aws::LicenseManager
|
|
1556
1709
|
# resp.grants[0].license_arn #=> String
|
1557
1710
|
# resp.grants[0].grantee_principal_arn #=> String
|
1558
1711
|
# resp.grants[0].home_region #=> String
|
1559
|
-
# 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"
|
1560
1713
|
# resp.grants[0].status_reason #=> String
|
1561
1714
|
# resp.grants[0].version #=> String
|
1562
1715
|
# resp.grants[0].granted_operations #=> Array
|
@@ -1707,6 +1860,72 @@ module Aws::LicenseManager
|
|
1707
1860
|
req.send_request(options)
|
1708
1861
|
end
|
1709
1862
|
|
1863
|
+
# Lists the report generators for your account.
|
1864
|
+
#
|
1865
|
+
# @option params [Array<Types::Filter>] :filters
|
1866
|
+
# Filters to scope the results. The following filters are supported:
|
1867
|
+
#
|
1868
|
+
# * `LicenseConfigurationArn`
|
1869
|
+
#
|
1870
|
+
# ^
|
1871
|
+
#
|
1872
|
+
# @option params [String] :next_token
|
1873
|
+
# Token for the next set of results.
|
1874
|
+
#
|
1875
|
+
# @option params [Integer] :max_results
|
1876
|
+
# Maximum number of results to return in a single call.
|
1877
|
+
#
|
1878
|
+
# @return [Types::ListLicenseManagerReportGeneratorsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1879
|
+
#
|
1880
|
+
# * {Types::ListLicenseManagerReportGeneratorsResponse#report_generators #report_generators} => Array<Types::ReportGenerator>
|
1881
|
+
# * {Types::ListLicenseManagerReportGeneratorsResponse#next_token #next_token} => String
|
1882
|
+
#
|
1883
|
+
# @example Request syntax with placeholder values
|
1884
|
+
#
|
1885
|
+
# resp = client.list_license_manager_report_generators({
|
1886
|
+
# filters: [
|
1887
|
+
# {
|
1888
|
+
# name: "FilterName",
|
1889
|
+
# values: ["FilterValue"],
|
1890
|
+
# },
|
1891
|
+
# ],
|
1892
|
+
# next_token: "String",
|
1893
|
+
# max_results: 1,
|
1894
|
+
# })
|
1895
|
+
#
|
1896
|
+
# @example Response structure
|
1897
|
+
#
|
1898
|
+
# resp.report_generators #=> Array
|
1899
|
+
# resp.report_generators[0].report_generator_name #=> String
|
1900
|
+
# resp.report_generators[0].report_type #=> Array
|
1901
|
+
# resp.report_generators[0].report_type[0] #=> String, one of "LicenseConfigurationSummaryReport", "LicenseConfigurationUsageReport"
|
1902
|
+
# resp.report_generators[0].report_context.license_configuration_arns #=> Array
|
1903
|
+
# resp.report_generators[0].report_context.license_configuration_arns[0] #=> String
|
1904
|
+
# resp.report_generators[0].report_frequency.value #=> Integer
|
1905
|
+
# resp.report_generators[0].report_frequency.period #=> String, one of "DAY", "WEEK", "MONTH"
|
1906
|
+
# resp.report_generators[0].license_manager_report_generator_arn #=> String
|
1907
|
+
# resp.report_generators[0].last_run_status #=> String
|
1908
|
+
# resp.report_generators[0].last_run_failure_reason #=> String
|
1909
|
+
# resp.report_generators[0].last_report_generation_time #=> String
|
1910
|
+
# resp.report_generators[0].report_creator_account #=> String
|
1911
|
+
# resp.report_generators[0].description #=> String
|
1912
|
+
# resp.report_generators[0].s3_location.bucket #=> String
|
1913
|
+
# resp.report_generators[0].s3_location.key_prefix #=> String
|
1914
|
+
# resp.report_generators[0].create_time #=> String
|
1915
|
+
# resp.report_generators[0].tags #=> Array
|
1916
|
+
# resp.report_generators[0].tags[0].key #=> String
|
1917
|
+
# resp.report_generators[0].tags[0].value #=> String
|
1918
|
+
# resp.next_token #=> String
|
1919
|
+
#
|
1920
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ListLicenseManagerReportGenerators AWS API Documentation
|
1921
|
+
#
|
1922
|
+
# @overload list_license_manager_report_generators(params = {})
|
1923
|
+
# @param [Hash] params ({})
|
1924
|
+
def list_license_manager_report_generators(params = {}, options = {})
|
1925
|
+
req = build_request(:list_license_manager_report_generators, params)
|
1926
|
+
req.send_request(options)
|
1927
|
+
end
|
1928
|
+
|
1710
1929
|
# Describes the license configurations for the specified resource.
|
1711
1930
|
#
|
1712
1931
|
# @option params [required, String] :resource_arn
|
@@ -1826,7 +2045,7 @@ module Aws::LicenseManager
|
|
1826
2045
|
#
|
1827
2046
|
# * `ProductSKU`
|
1828
2047
|
#
|
1829
|
-
# * `
|
2048
|
+
# * `Fingerprint`
|
1830
2049
|
#
|
1831
2050
|
# * `Status`
|
1832
2051
|
#
|
@@ -1905,9 +2124,15 @@ module Aws::LicenseManager
|
|
1905
2124
|
# @option params [Array<Types::Filter>] :filters
|
1906
2125
|
# Filters to scope the results. The following filters are supported:
|
1907
2126
|
#
|
1908
|
-
# * `
|
2127
|
+
# * `ProductSKU`
|
1909
2128
|
#
|
1910
|
-
# * `
|
2129
|
+
# * `LicenseIssuerName`
|
2130
|
+
#
|
2131
|
+
# * `LicenseArn`
|
2132
|
+
#
|
2133
|
+
# * `GrantStatus`
|
2134
|
+
#
|
2135
|
+
# * `GranterAccountId`
|
1911
2136
|
#
|
1912
2137
|
# @option params [String] :next_token
|
1913
2138
|
# Token for the next set of results.
|
@@ -1943,7 +2168,7 @@ module Aws::LicenseManager
|
|
1943
2168
|
# resp.grants[0].license_arn #=> String
|
1944
2169
|
# resp.grants[0].grantee_principal_arn #=> String
|
1945
2170
|
# resp.grants[0].home_region #=> String
|
1946
|
-
# 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"
|
1947
2172
|
# resp.grants[0].status_reason #=> String
|
1948
2173
|
# resp.grants[0].version #=> String
|
1949
2174
|
# resp.grants[0].granted_operations #=> Array
|
@@ -1971,9 +2196,11 @@ module Aws::LicenseManager
|
|
1971
2196
|
#
|
1972
2197
|
# * `Status`
|
1973
2198
|
#
|
1974
|
-
# * `
|
2199
|
+
# * `Fingerprint`
|
1975
2200
|
#
|
1976
|
-
# * `
|
2201
|
+
# * `IssuerName`
|
2202
|
+
#
|
2203
|
+
# * `Beneficiary`
|
1977
2204
|
#
|
1978
2205
|
# @option params [String] :next_token
|
1979
2206
|
# Token for the next set of results.
|
@@ -2031,7 +2258,8 @@ module Aws::LicenseManager
|
|
2031
2258
|
# resp.licenses[0].license_metadata[0].value #=> String
|
2032
2259
|
# resp.licenses[0].create_time #=> String
|
2033
2260
|
# resp.licenses[0].version #=> String
|
2034
|
-
# 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
|
2035
2263
|
# resp.licenses[0].received_metadata.allowed_operations #=> Array
|
2036
2264
|
# resp.licenses[0].received_metadata.allowed_operations[0] #=> String, one of "CreateGrant", "CheckoutLicense", "CheckoutBorrowLicense", "CheckInLicense", "ExtendConsumptionLicense", "ListPurchasedLicenses", "CreateToken"
|
2037
2265
|
# resp.next_token #=> String
|
@@ -2155,7 +2383,7 @@ module Aws::LicenseManager
|
|
2155
2383
|
# @option params [Array<Types::Filter>] :filters
|
2156
2384
|
# Filters to scope the results. The following filter is supported:
|
2157
2385
|
#
|
2158
|
-
# * `
|
2386
|
+
# * `LicenseArns`
|
2159
2387
|
#
|
2160
2388
|
# ^
|
2161
2389
|
#
|
@@ -2294,7 +2522,7 @@ module Aws::LicenseManager
|
|
2294
2522
|
# @example Response structure
|
2295
2523
|
#
|
2296
2524
|
# resp.grant_arn #=> String
|
2297
|
-
# 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"
|
2298
2526
|
# resp.version #=> String
|
2299
2527
|
#
|
2300
2528
|
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/RejectGrant AWS API Documentation
|
@@ -2429,6 +2657,71 @@ module Aws::LicenseManager
|
|
2429
2657
|
req.send_request(options)
|
2430
2658
|
end
|
2431
2659
|
|
2660
|
+
# Updates a report generator.
|
2661
|
+
#
|
2662
|
+
# After you make changes to a report generator, it will start generating
|
2663
|
+
# new reports within 60 minutes of being updated.
|
2664
|
+
#
|
2665
|
+
# @option params [required, String] :license_manager_report_generator_arn
|
2666
|
+
# Amazon Resource Number (ARN) of the report generator to update.
|
2667
|
+
#
|
2668
|
+
# @option params [required, String] :report_generator_name
|
2669
|
+
# Name of the report generator.
|
2670
|
+
#
|
2671
|
+
# @option params [required, Array<String>] :type
|
2672
|
+
# Type of reports to generate. The following report types an be
|
2673
|
+
# generated:
|
2674
|
+
#
|
2675
|
+
# * License configuration report - Reports on the number and details of
|
2676
|
+
# consumed licenses for a license configuration.
|
2677
|
+
#
|
2678
|
+
# * Resource report - Reports on the tracked licenses and resource
|
2679
|
+
# consumption for a license configuration.
|
2680
|
+
#
|
2681
|
+
# @option params [required, Types::ReportContext] :report_context
|
2682
|
+
# ?
|
2683
|
+
#
|
2684
|
+
# @option params [required, Types::ReportFrequency] :report_frequency
|
2685
|
+
# Frequency by which reports are generated. The following options are
|
2686
|
+
# avaiable:
|
2687
|
+
#
|
2688
|
+
# ??? What are the APi value options?
|
2689
|
+
#
|
2690
|
+
# @option params [required, String] :client_token
|
2691
|
+
# Unique, case-sensitive identifier that you provide to ensure the
|
2692
|
+
# idempotency of the request.
|
2693
|
+
#
|
2694
|
+
# @option params [String] :description
|
2695
|
+
# Description of the report generator.
|
2696
|
+
#
|
2697
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2698
|
+
#
|
2699
|
+
# @example Request syntax with placeholder values
|
2700
|
+
#
|
2701
|
+
# resp = client.update_license_manager_report_generator({
|
2702
|
+
# license_manager_report_generator_arn: "String", # required
|
2703
|
+
# report_generator_name: "ReportGeneratorName", # required
|
2704
|
+
# type: ["LicenseConfigurationSummaryReport"], # required, accepts LicenseConfigurationSummaryReport, LicenseConfigurationUsageReport
|
2705
|
+
# report_context: { # required
|
2706
|
+
# license_configuration_arns: ["Arn"], # required
|
2707
|
+
# },
|
2708
|
+
# report_frequency: { # required
|
2709
|
+
# value: 1,
|
2710
|
+
# period: "DAY", # accepts DAY, WEEK, MONTH
|
2711
|
+
# },
|
2712
|
+
# client_token: "ClientRequestToken", # required
|
2713
|
+
# description: "String",
|
2714
|
+
# })
|
2715
|
+
#
|
2716
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/UpdateLicenseManagerReportGenerator AWS API Documentation
|
2717
|
+
#
|
2718
|
+
# @overload update_license_manager_report_generator(params = {})
|
2719
|
+
# @param [Hash] params ({})
|
2720
|
+
def update_license_manager_report_generator(params = {}, options = {})
|
2721
|
+
req = build_request(:update_license_manager_report_generator, params)
|
2722
|
+
req.send_request(options)
|
2723
|
+
end
|
2724
|
+
|
2432
2725
|
# Adds or removes the specified license configurations for the specified
|
2433
2726
|
# AWS resource.
|
2434
2727
|
#
|
@@ -2527,7 +2820,7 @@ module Aws::LicenseManager
|
|
2527
2820
|
params: params,
|
2528
2821
|
config: config)
|
2529
2822
|
context[:gem_name] = 'aws-sdk-licensemanager'
|
2530
|
-
context[:gem_version] = '1.
|
2823
|
+
context[:gem_version] = '1.30.0'
|
2531
2824
|
Seahorse::Client::Request.new(handlers, context)
|
2532
2825
|
end
|
2533
2826
|
|