@aws-sdk/client-license-manager 3.33.0 → 3.36.1
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.
- package/CHANGELOG.md +48 -0
- package/README.md +2 -4
- package/{dist/cjs → dist-cjs}/LicenseManager.js +47 -8
- package/{dist/cjs → dist-cjs}/LicenseManagerClient.js +8 -19
- package/{dist/cjs → dist-cjs}/commands/AcceptGrantCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/CheckInLicenseCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/CheckoutBorrowLicenseCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/CheckoutLicenseCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/CreateGrantCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/CreateGrantVersionCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/CreateLicenseCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/CreateLicenseConfigurationCommand.js +2 -32
- package/dist-cjs/commands/CreateLicenseConversionTaskForResourceCommand.js +36 -0
- package/{dist/cjs → dist-cjs}/commands/CreateLicenseManagerReportGeneratorCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/CreateLicenseVersionCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/CreateTokenCommand.js +2 -30
- package/{dist/cjs → dist-cjs}/commands/DeleteGrantCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DeleteLicenseCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DeleteLicenseConfigurationCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/DeleteLicenseManagerReportGeneratorCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/DeleteTokenCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ExtendLicenseConsumptionCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/GetAccessTokenCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/GetGrantCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/GetLicenseCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/GetLicenseConfigurationCommand.js +2 -27
- package/dist-cjs/commands/GetLicenseConversionTaskCommand.js +36 -0
- package/{dist/cjs → dist-cjs}/commands/GetLicenseManagerReportGeneratorCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/GetLicenseUsageCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/GetServiceSettingsCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListAssociationsForLicenseConfigurationCommand.js +2 -30
- package/{dist/cjs → dist-cjs}/commands/ListDistributedGrantsCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListFailuresForLicenseConfigurationOperationsCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListLicenseConfigurationsCommand.js +2 -27
- package/dist-cjs/commands/ListLicenseConversionTasksCommand.js +36 -0
- package/{dist/cjs → dist-cjs}/commands/ListLicenseManagerReportGeneratorsCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListLicenseSpecificationsForResourceCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListLicenseVersionsCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListLicensesCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListReceivedGrantsCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListReceivedLicensesCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListResourceInventoryCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListTagsForResourceCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListTokensCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListUsageForLicenseConfigurationCommand.js +2 -29
- package/{dist/cjs → dist-cjs}/commands/RejectGrantCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/TagResourceCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/UntagResourceCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/UpdateLicenseConfigurationCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/UpdateLicenseManagerReportGeneratorCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/UpdateLicenseSpecificationsForResourceCommand.js +2 -30
- package/{dist/cjs → dist-cjs}/commands/UpdateServiceSettingsCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/endpoints.js +0 -1
- package/{dist/cjs → dist-cjs}/index.js +3 -1
- package/{dist/cjs → dist-cjs}/models/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/models_0.js +57 -430
- package/{dist/cjs → dist-cjs}/protocols/Aws_json1_1.js +385 -8
- package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +1 -5
- package/{dist/cjs → dist-cjs}/runtimeConfig.js +1 -5
- package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -4
- package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -5
- package/{dist/es → dist-es}/LicenseManager.js +48 -9
- package/{dist/es → dist-es}/LicenseManagerClient.js +2 -13
- package/{dist/es → dist-es}/commands/AcceptGrantCommand.js +4 -30
- package/{dist/es → dist-es}/commands/CheckInLicenseCommand.js +4 -30
- package/{dist/es → dist-es}/commands/CheckoutBorrowLicenseCommand.js +4 -30
- package/{dist/es → dist-es}/commands/CheckoutLicenseCommand.js +4 -30
- package/{dist/es → dist-es}/commands/CreateGrantCommand.js +4 -30
- package/{dist/es → dist-es}/commands/CreateGrantVersionCommand.js +4 -30
- package/{dist/es → dist-es}/commands/CreateLicenseCommand.js +4 -30
- package/{dist/es → dist-es}/commands/CreateLicenseConfigurationCommand.js +4 -35
- package/dist-es/commands/CreateLicenseConversionTaskForResourceCommand.js +39 -0
- package/{dist/es → dist-es}/commands/CreateLicenseManagerReportGeneratorCommand.js +4 -30
- package/{dist/es → dist-es}/commands/CreateLicenseVersionCommand.js +4 -30
- package/{dist/es → dist-es}/commands/CreateTokenCommand.js +4 -33
- package/{dist/es → dist-es}/commands/DeleteGrantCommand.js +4 -30
- package/{dist/es → dist-es}/commands/DeleteLicenseCommand.js +4 -30
- package/{dist/es → dist-es}/commands/DeleteLicenseConfigurationCommand.js +4 -31
- package/{dist/es → dist-es}/commands/DeleteLicenseManagerReportGeneratorCommand.js +4 -31
- package/{dist/es → dist-es}/commands/DeleteTokenCommand.js +4 -30
- package/{dist/es → dist-es}/commands/ExtendLicenseConsumptionCommand.js +4 -30
- package/{dist/es → dist-es}/commands/GetAccessTokenCommand.js +4 -31
- package/{dist/es → dist-es}/commands/GetGrantCommand.js +4 -30
- package/{dist/es → dist-es}/commands/GetLicenseCommand.js +4 -30
- package/{dist/es → dist-es}/commands/GetLicenseConfigurationCommand.js +4 -30
- package/dist-es/commands/GetLicenseConversionTaskCommand.js +39 -0
- package/{dist/es → dist-es}/commands/GetLicenseManagerReportGeneratorCommand.js +4 -30
- package/{dist/es → dist-es}/commands/GetLicenseUsageCommand.js +4 -30
- package/{dist/es → dist-es}/commands/GetServiceSettingsCommand.js +4 -30
- package/{dist/es → dist-es}/commands/ListAssociationsForLicenseConfigurationCommand.js +4 -33
- package/{dist/es → dist-es}/commands/ListDistributedGrantsCommand.js +4 -30
- package/{dist/es → dist-es}/commands/ListFailuresForLicenseConfigurationOperationsCommand.js +4 -30
- package/{dist/es → dist-es}/commands/ListLicenseConfigurationsCommand.js +4 -30
- package/dist-es/commands/ListLicenseConversionTasksCommand.js +39 -0
- package/{dist/es → dist-es}/commands/ListLicenseManagerReportGeneratorsCommand.js +4 -30
- package/{dist/es → dist-es}/commands/ListLicenseSpecificationsForResourceCommand.js +4 -30
- package/{dist/es → dist-es}/commands/ListLicenseVersionsCommand.js +4 -30
- package/{dist/es → dist-es}/commands/ListLicensesCommand.js +4 -30
- package/{dist/es → dist-es}/commands/ListReceivedGrantsCommand.js +4 -30
- package/{dist/es → dist-es}/commands/ListReceivedLicensesCommand.js +4 -30
- package/{dist/es → dist-es}/commands/ListResourceInventoryCommand.js +4 -30
- package/{dist/es → dist-es}/commands/ListTagsForResourceCommand.js +4 -30
- package/{dist/es → dist-es}/commands/ListTokensCommand.js +4 -30
- package/{dist/es → dist-es}/commands/ListUsageForLicenseConfigurationCommand.js +4 -32
- package/{dist/es → dist-es}/commands/RejectGrantCommand.js +4 -30
- package/{dist/es → dist-es}/commands/TagResourceCommand.js +4 -30
- package/{dist/es → dist-es}/commands/UntagResourceCommand.js +4 -30
- package/{dist/es → dist-es}/commands/UpdateLicenseConfigurationCommand.js +4 -30
- package/{dist/es → dist-es}/commands/UpdateLicenseManagerReportGeneratorCommand.js +4 -31
- package/{dist/es → dist-es}/commands/UpdateLicenseSpecificationsForResourceCommand.js +4 -33
- package/{dist/es → dist-es}/commands/UpdateServiceSettingsCommand.js +4 -30
- package/{dist/es → dist-es}/endpoints.js +1 -2
- package/{dist/es → dist-es}/index.js +3 -1
- package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
- package/{dist/es → dist-es}/models/models_0.js +38 -427
- package/{dist/es → dist-es}/protocols/Aws_json1_1.js +1927 -1532
- package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -5
- package/{dist/es → dist-es}/runtimeConfig.js +1 -5
- package/{dist/es → dist-es}/runtimeConfig.native.js +0 -4
- package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -5
- package/{dist/types → dist-types}/LicenseManager.d.ts +35 -14
- package/{dist/types/ts3.4 → dist-types}/LicenseManagerClient.d.ts +181 -179
- package/{dist/types → dist-types}/commands/AcceptGrantCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CheckInLicenseCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CheckoutBorrowLicenseCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CheckoutLicenseCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateGrantCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/CreateGrantVersionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateLicenseCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateLicenseConfigurationCommand.d.ts +2 -2
- package/dist-types/commands/CreateLicenseConversionTaskForResourceCommand.d.ts +35 -0
- package/{dist/types → dist-types}/commands/CreateLicenseManagerReportGeneratorCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/CreateLicenseVersionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateTokenCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteGrantCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteLicenseCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteLicenseConfigurationCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteLicenseManagerReportGeneratorCommand.d.ts +5 -4
- package/{dist/types → dist-types}/commands/DeleteTokenCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ExtendLicenseConsumptionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetAccessTokenCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetGrantCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetLicenseCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetLicenseConfigurationCommand.d.ts +2 -2
- package/dist-types/commands/GetLicenseConversionTaskCommand.d.ts +35 -0
- package/{dist/types → dist-types}/commands/GetLicenseManagerReportGeneratorCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/GetLicenseUsageCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetServiceSettingsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListAssociationsForLicenseConfigurationCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListDistributedGrantsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListFailuresForLicenseConfigurationOperationsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListLicenseConfigurationsCommand.d.ts +2 -2
- package/dist-types/commands/ListLicenseConversionTasksCommand.d.ts +35 -0
- package/{dist/types → dist-types}/commands/ListLicenseManagerReportGeneratorsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListLicenseSpecificationsForResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListLicenseVersionsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListLicensesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListReceivedGrantsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListReceivedLicensesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListResourceInventoryCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListTagsForResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListTokensCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListUsageForLicenseConfigurationCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/RejectGrantCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/TagResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UntagResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UpdateLicenseConfigurationCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UpdateLicenseManagerReportGeneratorCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/UpdateLicenseSpecificationsForResourceCommand.d.ts +4 -4
- package/{dist/types → dist-types}/commands/UpdateServiceSettingsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/endpoints.d.ts +0 -0
- package/{dist/types → dist-types}/index.d.ts +3 -0
- package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
- package/{dist/types → dist-types}/models/models_0.d.ts +249 -39
- package/{dist/types/ts3.4 → dist-types}/protocols/Aws_json1_1.d.ts +146 -137
- package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +0 -0
- package/{dist/types → dist-types}/runtimeConfig.d.ts +1 -1
- package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
- package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/LicenseManager.d.ts +64 -163
- package/{dist/types → dist-types/ts3.4}/LicenseManagerClient.d.ts +115 -179
- package/dist-types/ts3.4/commands/AcceptGrantCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CheckInLicenseCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/CheckoutBorrowLicenseCommand.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/commands/CheckoutLicenseCommand.d.ts +4 -22
- package/dist-types/ts3.4/commands/CreateGrantCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/CreateGrantVersionCommand.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/commands/CreateLicenseCommand.d.ts +4 -22
- package/dist-types/ts3.4/commands/CreateLicenseConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateLicenseConversionTaskForResourceCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/CreateLicenseManagerReportGeneratorCommand.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/commands/CreateLicenseVersionCommand.d.ts +4 -22
- package/dist-types/ts3.4/commands/CreateTokenCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteGrantCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteLicenseCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/DeleteLicenseConfigurationCommand.d.ts +4 -23
- package/dist-types/ts3.4/commands/DeleteLicenseManagerReportGeneratorCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteTokenCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/ExtendLicenseConsumptionCommand.d.ts +4 -22
- package/dist-types/ts3.4/commands/GetAccessTokenCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetGrantCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetLicenseCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/GetLicenseConfigurationCommand.d.ts +4 -22
- package/dist-types/ts3.4/commands/GetLicenseConversionTaskCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/GetLicenseManagerReportGeneratorCommand.d.ts +4 -22
- package/dist-types/ts3.4/commands/GetLicenseUsageCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/GetServiceSettingsCommand.d.ts +4 -22
- package/dist-types/ts3.4/commands/ListAssociationsForLicenseConfigurationCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/ListDistributedGrantsCommand.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/commands/ListFailuresForLicenseConfigurationOperationsCommand.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/commands/ListLicenseConfigurationsCommand.d.ts +4 -22
- package/dist-types/ts3.4/commands/ListLicenseConversionTasksCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/ListLicenseManagerReportGeneratorsCommand.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/commands/ListLicenseSpecificationsForResourceCommand.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/commands/ListLicenseVersionsCommand.d.ts +4 -22
- package/dist-types/ts3.4/commands/ListLicensesCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/ListReceivedGrantsCommand.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/commands/ListReceivedLicensesCommand.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/commands/ListResourceInventoryCommand.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/commands/ListTagsForResourceCommand.d.ts +4 -22
- package/dist-types/ts3.4/commands/ListTokensCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListUsageForLicenseConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/RejectGrantCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/UpdateLicenseConfigurationCommand.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/commands/UpdateLicenseManagerReportGeneratorCommand.d.ts +4 -23
- package/dist-types/ts3.4/commands/UpdateLicenseSpecificationsForResourceCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/UpdateServiceSettingsCommand.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/index.d.ts +3 -0
- package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
- package/dist-types/ts3.4/models/models_0.d.ts +2067 -0
- package/{dist/types → dist-types/ts3.4}/protocols/Aws_json1_1.d.ts +146 -137
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +2 -4
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +52 -49
- package/LicenseManager.ts +0 -1597
- package/LicenseManagerClient.ts +0 -444
- package/commands/AcceptGrantCommand.ts +0 -94
- package/commands/CheckInLicenseCommand.ts +0 -94
- package/commands/CheckoutBorrowLicenseCommand.ts +0 -94
- package/commands/CheckoutLicenseCommand.ts +0 -94
- package/commands/CreateGrantCommand.ts +0 -94
- package/commands/CreateGrantVersionCommand.ts +0 -94
- package/commands/CreateLicenseCommand.ts +0 -94
- package/commands/CreateLicenseConfigurationCommand.ts +0 -102
- package/commands/CreateLicenseManagerReportGeneratorCommand.ts +0 -105
- package/commands/CreateLicenseVersionCommand.ts +0 -94
- package/commands/CreateTokenCommand.ts +0 -97
- package/commands/DeleteGrantCommand.ts +0 -94
- package/commands/DeleteLicenseCommand.ts +0 -94
- package/commands/DeleteLicenseConfigurationCommand.ts +0 -98
- package/commands/DeleteLicenseManagerReportGeneratorCommand.ts +0 -106
- package/commands/DeleteTokenCommand.ts +0 -94
- package/commands/ExtendLicenseConsumptionCommand.ts +0 -94
- package/commands/GetAccessTokenCommand.ts +0 -95
- package/commands/GetGrantCommand.ts +0 -91
- package/commands/GetLicenseCommand.ts +0 -94
- package/commands/GetLicenseConfigurationCommand.ts +0 -94
- package/commands/GetLicenseManagerReportGeneratorCommand.ts +0 -102
- package/commands/GetLicenseUsageCommand.ts +0 -94
- package/commands/GetServiceSettingsCommand.ts +0 -94
- package/commands/ListAssociationsForLicenseConfigurationCommand.ts +0 -112
- package/commands/ListDistributedGrantsCommand.ts +0 -94
- package/commands/ListFailuresForLicenseConfigurationOperationsCommand.ts +0 -109
- package/commands/ListLicenseConfigurationsCommand.ts +0 -97
- package/commands/ListLicenseManagerReportGeneratorsCommand.ts +0 -105
- package/commands/ListLicenseSpecificationsForResourceCommand.ts +0 -105
- package/commands/ListLicenseVersionsCommand.ts +0 -94
- package/commands/ListLicensesCommand.ts +0 -94
- package/commands/ListReceivedGrantsCommand.ts +0 -94
- package/commands/ListReceivedLicensesCommand.ts +0 -94
- package/commands/ListResourceInventoryCommand.ts +0 -94
- package/commands/ListTagsForResourceCommand.ts +0 -94
- package/commands/ListTokensCommand.ts +0 -94
- package/commands/ListUsageForLicenseConfigurationCommand.ts +0 -104
- package/commands/RejectGrantCommand.ts +0 -94
- package/commands/TagResourceCommand.ts +0 -94
- package/commands/UntagResourceCommand.ts +0 -94
- package/commands/UpdateLicenseConfigurationCommand.ts +0 -97
- package/commands/UpdateLicenseManagerReportGeneratorCommand.ts +0 -106
- package/commands/UpdateLicenseSpecificationsForResourceCommand.ts +0 -109
- package/commands/UpdateServiceSettingsCommand.ts +0 -94
- package/dist/cjs/LicenseManager.js.map +0 -1
- package/dist/cjs/LicenseManagerClient.js.map +0 -1
- package/dist/cjs/commands/AcceptGrantCommand.js.map +0 -1
- package/dist/cjs/commands/CheckInLicenseCommand.js.map +0 -1
- package/dist/cjs/commands/CheckoutBorrowLicenseCommand.js.map +0 -1
- package/dist/cjs/commands/CheckoutLicenseCommand.js.map +0 -1
- package/dist/cjs/commands/CreateGrantCommand.js.map +0 -1
- package/dist/cjs/commands/CreateGrantVersionCommand.js.map +0 -1
- package/dist/cjs/commands/CreateLicenseCommand.js.map +0 -1
- package/dist/cjs/commands/CreateLicenseConfigurationCommand.js.map +0 -1
- package/dist/cjs/commands/CreateLicenseManagerReportGeneratorCommand.js.map +0 -1
- package/dist/cjs/commands/CreateLicenseVersionCommand.js.map +0 -1
- package/dist/cjs/commands/CreateTokenCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteGrantCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteLicenseCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteLicenseConfigurationCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteLicenseManagerReportGeneratorCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteTokenCommand.js.map +0 -1
- package/dist/cjs/commands/ExtendLicenseConsumptionCommand.js.map +0 -1
- package/dist/cjs/commands/GetAccessTokenCommand.js.map +0 -1
- package/dist/cjs/commands/GetGrantCommand.js.map +0 -1
- package/dist/cjs/commands/GetLicenseCommand.js.map +0 -1
- package/dist/cjs/commands/GetLicenseConfigurationCommand.js.map +0 -1
- package/dist/cjs/commands/GetLicenseManagerReportGeneratorCommand.js.map +0 -1
- package/dist/cjs/commands/GetLicenseUsageCommand.js.map +0 -1
- package/dist/cjs/commands/GetServiceSettingsCommand.js.map +0 -1
- package/dist/cjs/commands/ListAssociationsForLicenseConfigurationCommand.js.map +0 -1
- package/dist/cjs/commands/ListDistributedGrantsCommand.js.map +0 -1
- package/dist/cjs/commands/ListFailuresForLicenseConfigurationOperationsCommand.js.map +0 -1
- package/dist/cjs/commands/ListLicenseConfigurationsCommand.js.map +0 -1
- package/dist/cjs/commands/ListLicenseManagerReportGeneratorsCommand.js.map +0 -1
- package/dist/cjs/commands/ListLicenseSpecificationsForResourceCommand.js.map +0 -1
- package/dist/cjs/commands/ListLicenseVersionsCommand.js.map +0 -1
- package/dist/cjs/commands/ListLicensesCommand.js.map +0 -1
- package/dist/cjs/commands/ListReceivedGrantsCommand.js.map +0 -1
- package/dist/cjs/commands/ListReceivedLicensesCommand.js.map +0 -1
- package/dist/cjs/commands/ListResourceInventoryCommand.js.map +0 -1
- package/dist/cjs/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist/cjs/commands/ListTokensCommand.js.map +0 -1
- package/dist/cjs/commands/ListUsageForLicenseConfigurationCommand.js.map +0 -1
- package/dist/cjs/commands/RejectGrantCommand.js.map +0 -1
- package/dist/cjs/commands/TagResourceCommand.js.map +0 -1
- package/dist/cjs/commands/UntagResourceCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateLicenseConfigurationCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateLicenseManagerReportGeneratorCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateLicenseSpecificationsForResourceCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateServiceSettingsCommand.js.map +0 -1
- package/dist/cjs/endpoints.js.map +0 -1
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/models/index.js.map +0 -1
- package/dist/cjs/models/models_0.js.map +0 -1
- package/dist/cjs/package.json +0 -91
- package/dist/cjs/protocols/Aws_json1_1.js.map +0 -1
- package/dist/cjs/runtimeConfig.browser.js.map +0 -1
- package/dist/cjs/runtimeConfig.js.map +0 -1
- package/dist/cjs/runtimeConfig.native.js.map +0 -1
- package/dist/cjs/runtimeConfig.shared.js.map +0 -1
- package/dist/es/LicenseManager.js.map +0 -1
- package/dist/es/LicenseManagerClient.js.map +0 -1
- package/dist/es/commands/AcceptGrantCommand.js.map +0 -1
- package/dist/es/commands/CheckInLicenseCommand.js.map +0 -1
- package/dist/es/commands/CheckoutBorrowLicenseCommand.js.map +0 -1
- package/dist/es/commands/CheckoutLicenseCommand.js.map +0 -1
- package/dist/es/commands/CreateGrantCommand.js.map +0 -1
- package/dist/es/commands/CreateGrantVersionCommand.js.map +0 -1
- package/dist/es/commands/CreateLicenseCommand.js.map +0 -1
- package/dist/es/commands/CreateLicenseConfigurationCommand.js.map +0 -1
- package/dist/es/commands/CreateLicenseManagerReportGeneratorCommand.js.map +0 -1
- package/dist/es/commands/CreateLicenseVersionCommand.js.map +0 -1
- package/dist/es/commands/CreateTokenCommand.js.map +0 -1
- package/dist/es/commands/DeleteGrantCommand.js.map +0 -1
- package/dist/es/commands/DeleteLicenseCommand.js.map +0 -1
- package/dist/es/commands/DeleteLicenseConfigurationCommand.js.map +0 -1
- package/dist/es/commands/DeleteLicenseManagerReportGeneratorCommand.js.map +0 -1
- package/dist/es/commands/DeleteTokenCommand.js.map +0 -1
- package/dist/es/commands/ExtendLicenseConsumptionCommand.js.map +0 -1
- package/dist/es/commands/GetAccessTokenCommand.js.map +0 -1
- package/dist/es/commands/GetGrantCommand.js.map +0 -1
- package/dist/es/commands/GetLicenseCommand.js.map +0 -1
- package/dist/es/commands/GetLicenseConfigurationCommand.js.map +0 -1
- package/dist/es/commands/GetLicenseManagerReportGeneratorCommand.js.map +0 -1
- package/dist/es/commands/GetLicenseUsageCommand.js.map +0 -1
- package/dist/es/commands/GetServiceSettingsCommand.js.map +0 -1
- package/dist/es/commands/ListAssociationsForLicenseConfigurationCommand.js.map +0 -1
- package/dist/es/commands/ListDistributedGrantsCommand.js.map +0 -1
- package/dist/es/commands/ListFailuresForLicenseConfigurationOperationsCommand.js.map +0 -1
- package/dist/es/commands/ListLicenseConfigurationsCommand.js.map +0 -1
- package/dist/es/commands/ListLicenseManagerReportGeneratorsCommand.js.map +0 -1
- package/dist/es/commands/ListLicenseSpecificationsForResourceCommand.js.map +0 -1
- package/dist/es/commands/ListLicenseVersionsCommand.js.map +0 -1
- package/dist/es/commands/ListLicensesCommand.js.map +0 -1
- package/dist/es/commands/ListReceivedGrantsCommand.js.map +0 -1
- package/dist/es/commands/ListReceivedLicensesCommand.js.map +0 -1
- package/dist/es/commands/ListResourceInventoryCommand.js.map +0 -1
- package/dist/es/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist/es/commands/ListTokensCommand.js.map +0 -1
- package/dist/es/commands/ListUsageForLicenseConfigurationCommand.js.map +0 -1
- package/dist/es/commands/RejectGrantCommand.js.map +0 -1
- package/dist/es/commands/TagResourceCommand.js.map +0 -1
- package/dist/es/commands/UntagResourceCommand.js.map +0 -1
- package/dist/es/commands/UpdateLicenseConfigurationCommand.js.map +0 -1
- package/dist/es/commands/UpdateLicenseManagerReportGeneratorCommand.js.map +0 -1
- package/dist/es/commands/UpdateLicenseSpecificationsForResourceCommand.js.map +0 -1
- package/dist/es/commands/UpdateServiceSettingsCommand.js.map +0 -1
- package/dist/es/endpoints.js.map +0 -1
- package/dist/es/index.js.map +0 -1
- package/dist/es/models/index.js +0 -2
- package/dist/es/models/index.js.map +0 -1
- package/dist/es/models/models_0.js.map +0 -1
- package/dist/es/package.json +0 -91
- package/dist/es/protocols/Aws_json1_1.js.map +0 -1
- package/dist/es/runtimeConfig.browser.js.map +0 -1
- package/dist/es/runtimeConfig.js.map +0 -1
- package/dist/es/runtimeConfig.native.js.map +0 -1
- package/dist/es/runtimeConfig.shared.js.map +0 -1
- package/dist/types/ts3.4/commands/AcceptGrantCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/CheckInLicenseCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/CreateGrantCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/CreateLicenseConfigurationCommand.d.ts +0 -40
- package/dist/types/ts3.4/commands/CreateTokenCommand.d.ts +0 -38
- package/dist/types/ts3.4/commands/DeleteGrantCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/DeleteLicenseCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/DeleteLicenseManagerReportGeneratorCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/DeleteTokenCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/GetAccessTokenCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/GetGrantCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/GetLicenseCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/GetLicenseUsageCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/ListAssociationsForLicenseConfigurationCommand.d.ts +0 -38
- package/dist/types/ts3.4/commands/ListLicensesCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/ListTokensCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/ListUsageForLicenseConfigurationCommand.d.ts +0 -37
- package/dist/types/ts3.4/commands/RejectGrantCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/TagResourceCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/UntagResourceCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/UpdateLicenseSpecificationsForResourceCommand.d.ts +0 -38
- package/dist/types/ts3.4/models/models_0.d.ts +0 -3515
- package/endpoints.ts +0 -86
- package/index.ts +0 -48
- package/jest.config.js +0 -4
- package/models/models_0.ts +0 -4395
- package/protocols/Aws_json1_1.ts +0 -7994
- package/runtimeConfig.browser.ts +0 -40
- package/runtimeConfig.native.ts +0 -16
- package/runtimeConfig.shared.ts +0 -16
- package/runtimeConfig.ts +0 -45
- package/tsconfig.es.json +0 -12
- package/tsconfig.json +0 -32
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { LicenseManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LicenseManagerClient";
|
|
2
|
-
import { ListTokensRequest, ListTokensResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1ListTokensCommand,
|
|
5
|
-
serializeAws_json1_1ListTokensCommand,
|
|
6
|
-
} from "../protocols/Aws_json1_1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface ListTokensCommandInput extends ListTokensRequest {}
|
|
21
|
-
export interface ListTokensCommandOutput extends ListTokensResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Lists your tokens.</p>
|
|
25
|
-
* @example
|
|
26
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
27
|
-
* ```javascript
|
|
28
|
-
* import { LicenseManagerClient, ListTokensCommand } from "@aws-sdk/client-license-manager"; // ES Modules import
|
|
29
|
-
* // const { LicenseManagerClient, ListTokensCommand } = require("@aws-sdk/client-license-manager"); // CommonJS import
|
|
30
|
-
* const client = new LicenseManagerClient(config);
|
|
31
|
-
* const command = new ListTokensCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link ListTokensCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link ListTokensCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link LicenseManagerClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class ListTokensCommand extends $Command<
|
|
41
|
-
ListTokensCommandInput,
|
|
42
|
-
ListTokensCommandOutput,
|
|
43
|
-
LicenseManagerClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: ListTokensCommandInput) {
|
|
49
|
-
// Start section: command_constructor
|
|
50
|
-
super();
|
|
51
|
-
// End section: command_constructor
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* @internal
|
|
56
|
-
*/
|
|
57
|
-
resolveMiddleware(
|
|
58
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
59
|
-
configuration: LicenseManagerClientResolvedConfig,
|
|
60
|
-
options?: __HttpHandlerOptions
|
|
61
|
-
): Handler<ListTokensCommandInput, ListTokensCommandOutput> {
|
|
62
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
63
|
-
|
|
64
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
65
|
-
|
|
66
|
-
const { logger } = configuration;
|
|
67
|
-
const clientName = "LicenseManagerClient";
|
|
68
|
-
const commandName = "ListTokensCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: ListTokensRequest.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: ListTokensResponse.filterSensitiveLog,
|
|
75
|
-
};
|
|
76
|
-
const { requestHandler } = configuration;
|
|
77
|
-
return stack.resolve(
|
|
78
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
79
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
80
|
-
handlerExecutionContext
|
|
81
|
-
);
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
private serialize(input: ListTokensCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_json1_1ListTokensCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListTokensCommandOutput> {
|
|
89
|
-
return deserializeAws_json1_1ListTokensCommand(output, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
// Start section: command_body_extra
|
|
93
|
-
// End section: command_body_extra
|
|
94
|
-
}
|
|
@@ -1,104 +0,0 @@
|
|
|
1
|
-
import { LicenseManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LicenseManagerClient";
|
|
2
|
-
import { ListUsageForLicenseConfigurationRequest, ListUsageForLicenseConfigurationResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1ListUsageForLicenseConfigurationCommand,
|
|
5
|
-
serializeAws_json1_1ListUsageForLicenseConfigurationCommand,
|
|
6
|
-
} from "../protocols/Aws_json1_1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface ListUsageForLicenseConfigurationCommandInput extends ListUsageForLicenseConfigurationRequest {}
|
|
21
|
-
export interface ListUsageForLicenseConfigurationCommandOutput
|
|
22
|
-
extends ListUsageForLicenseConfigurationResponse,
|
|
23
|
-
__MetadataBearer {}
|
|
24
|
-
|
|
25
|
-
/**
|
|
26
|
-
* <p>Lists all license usage records for a license configuration, displaying license
|
|
27
|
-
* consumption details by resource at a selected point in time. Use this action to audit the
|
|
28
|
-
* current license consumption for any license inventory and configuration.</p>
|
|
29
|
-
* @example
|
|
30
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
31
|
-
* ```javascript
|
|
32
|
-
* import { LicenseManagerClient, ListUsageForLicenseConfigurationCommand } from "@aws-sdk/client-license-manager"; // ES Modules import
|
|
33
|
-
* // const { LicenseManagerClient, ListUsageForLicenseConfigurationCommand } = require("@aws-sdk/client-license-manager"); // CommonJS import
|
|
34
|
-
* const client = new LicenseManagerClient(config);
|
|
35
|
-
* const command = new ListUsageForLicenseConfigurationCommand(input);
|
|
36
|
-
* const response = await client.send(command);
|
|
37
|
-
* ```
|
|
38
|
-
*
|
|
39
|
-
* @see {@link ListUsageForLicenseConfigurationCommandInput} for command's `input` shape.
|
|
40
|
-
* @see {@link ListUsageForLicenseConfigurationCommandOutput} for command's `response` shape.
|
|
41
|
-
* @see {@link LicenseManagerClientResolvedConfig | config} for command's `input` shape.
|
|
42
|
-
*
|
|
43
|
-
*/
|
|
44
|
-
export class ListUsageForLicenseConfigurationCommand extends $Command<
|
|
45
|
-
ListUsageForLicenseConfigurationCommandInput,
|
|
46
|
-
ListUsageForLicenseConfigurationCommandOutput,
|
|
47
|
-
LicenseManagerClientResolvedConfig
|
|
48
|
-
> {
|
|
49
|
-
// Start section: command_properties
|
|
50
|
-
// End section: command_properties
|
|
51
|
-
|
|
52
|
-
constructor(readonly input: ListUsageForLicenseConfigurationCommandInput) {
|
|
53
|
-
// Start section: command_constructor
|
|
54
|
-
super();
|
|
55
|
-
// End section: command_constructor
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
/**
|
|
59
|
-
* @internal
|
|
60
|
-
*/
|
|
61
|
-
resolveMiddleware(
|
|
62
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
63
|
-
configuration: LicenseManagerClientResolvedConfig,
|
|
64
|
-
options?: __HttpHandlerOptions
|
|
65
|
-
): Handler<ListUsageForLicenseConfigurationCommandInput, ListUsageForLicenseConfigurationCommandOutput> {
|
|
66
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
67
|
-
|
|
68
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
69
|
-
|
|
70
|
-
const { logger } = configuration;
|
|
71
|
-
const clientName = "LicenseManagerClient";
|
|
72
|
-
const commandName = "ListUsageForLicenseConfigurationCommand";
|
|
73
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
74
|
-
logger,
|
|
75
|
-
clientName,
|
|
76
|
-
commandName,
|
|
77
|
-
inputFilterSensitiveLog: ListUsageForLicenseConfigurationRequest.filterSensitiveLog,
|
|
78
|
-
outputFilterSensitiveLog: ListUsageForLicenseConfigurationResponse.filterSensitiveLog,
|
|
79
|
-
};
|
|
80
|
-
const { requestHandler } = configuration;
|
|
81
|
-
return stack.resolve(
|
|
82
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
83
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
84
|
-
handlerExecutionContext
|
|
85
|
-
);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private serialize(
|
|
89
|
-
input: ListUsageForLicenseConfigurationCommandInput,
|
|
90
|
-
context: __SerdeContext
|
|
91
|
-
): Promise<__HttpRequest> {
|
|
92
|
-
return serializeAws_json1_1ListUsageForLicenseConfigurationCommand(input, context);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
private deserialize(
|
|
96
|
-
output: __HttpResponse,
|
|
97
|
-
context: __SerdeContext
|
|
98
|
-
): Promise<ListUsageForLicenseConfigurationCommandOutput> {
|
|
99
|
-
return deserializeAws_json1_1ListUsageForLicenseConfigurationCommand(output, context);
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
// Start section: command_body_extra
|
|
103
|
-
// End section: command_body_extra
|
|
104
|
-
}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { LicenseManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LicenseManagerClient";
|
|
2
|
-
import { RejectGrantRequest, RejectGrantResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1RejectGrantCommand,
|
|
5
|
-
serializeAws_json1_1RejectGrantCommand,
|
|
6
|
-
} from "../protocols/Aws_json1_1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface RejectGrantCommandInput extends RejectGrantRequest {}
|
|
21
|
-
export interface RejectGrantCommandOutput extends RejectGrantResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Rejects the specified grant.</p>
|
|
25
|
-
* @example
|
|
26
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
27
|
-
* ```javascript
|
|
28
|
-
* import { LicenseManagerClient, RejectGrantCommand } from "@aws-sdk/client-license-manager"; // ES Modules import
|
|
29
|
-
* // const { LicenseManagerClient, RejectGrantCommand } = require("@aws-sdk/client-license-manager"); // CommonJS import
|
|
30
|
-
* const client = new LicenseManagerClient(config);
|
|
31
|
-
* const command = new RejectGrantCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link RejectGrantCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link RejectGrantCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link LicenseManagerClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class RejectGrantCommand extends $Command<
|
|
41
|
-
RejectGrantCommandInput,
|
|
42
|
-
RejectGrantCommandOutput,
|
|
43
|
-
LicenseManagerClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: RejectGrantCommandInput) {
|
|
49
|
-
// Start section: command_constructor
|
|
50
|
-
super();
|
|
51
|
-
// End section: command_constructor
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* @internal
|
|
56
|
-
*/
|
|
57
|
-
resolveMiddleware(
|
|
58
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
59
|
-
configuration: LicenseManagerClientResolvedConfig,
|
|
60
|
-
options?: __HttpHandlerOptions
|
|
61
|
-
): Handler<RejectGrantCommandInput, RejectGrantCommandOutput> {
|
|
62
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
63
|
-
|
|
64
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
65
|
-
|
|
66
|
-
const { logger } = configuration;
|
|
67
|
-
const clientName = "LicenseManagerClient";
|
|
68
|
-
const commandName = "RejectGrantCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: RejectGrantRequest.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: RejectGrantResponse.filterSensitiveLog,
|
|
75
|
-
};
|
|
76
|
-
const { requestHandler } = configuration;
|
|
77
|
-
return stack.resolve(
|
|
78
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
79
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
80
|
-
handlerExecutionContext
|
|
81
|
-
);
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
private serialize(input: RejectGrantCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_json1_1RejectGrantCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<RejectGrantCommandOutput> {
|
|
89
|
-
return deserializeAws_json1_1RejectGrantCommand(output, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
// Start section: command_body_extra
|
|
93
|
-
// End section: command_body_extra
|
|
94
|
-
}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { LicenseManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LicenseManagerClient";
|
|
2
|
-
import { TagResourceRequest, TagResourceResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1TagResourceCommand,
|
|
5
|
-
serializeAws_json1_1TagResourceCommand,
|
|
6
|
-
} from "../protocols/Aws_json1_1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface TagResourceCommandInput extends TagResourceRequest {}
|
|
21
|
-
export interface TagResourceCommandOutput extends TagResourceResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Adds the specified tags to the specified license configuration.</p>
|
|
25
|
-
* @example
|
|
26
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
27
|
-
* ```javascript
|
|
28
|
-
* import { LicenseManagerClient, TagResourceCommand } from "@aws-sdk/client-license-manager"; // ES Modules import
|
|
29
|
-
* // const { LicenseManagerClient, TagResourceCommand } = require("@aws-sdk/client-license-manager"); // CommonJS import
|
|
30
|
-
* const client = new LicenseManagerClient(config);
|
|
31
|
-
* const command = new TagResourceCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link TagResourceCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link TagResourceCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link LicenseManagerClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class TagResourceCommand extends $Command<
|
|
41
|
-
TagResourceCommandInput,
|
|
42
|
-
TagResourceCommandOutput,
|
|
43
|
-
LicenseManagerClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: TagResourceCommandInput) {
|
|
49
|
-
// Start section: command_constructor
|
|
50
|
-
super();
|
|
51
|
-
// End section: command_constructor
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* @internal
|
|
56
|
-
*/
|
|
57
|
-
resolveMiddleware(
|
|
58
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
59
|
-
configuration: LicenseManagerClientResolvedConfig,
|
|
60
|
-
options?: __HttpHandlerOptions
|
|
61
|
-
): Handler<TagResourceCommandInput, TagResourceCommandOutput> {
|
|
62
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
63
|
-
|
|
64
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
65
|
-
|
|
66
|
-
const { logger } = configuration;
|
|
67
|
-
const clientName = "LicenseManagerClient";
|
|
68
|
-
const commandName = "TagResourceCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: TagResourceRequest.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: TagResourceResponse.filterSensitiveLog,
|
|
75
|
-
};
|
|
76
|
-
const { requestHandler } = configuration;
|
|
77
|
-
return stack.resolve(
|
|
78
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
79
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
80
|
-
handlerExecutionContext
|
|
81
|
-
);
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
private serialize(input: TagResourceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_json1_1TagResourceCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<TagResourceCommandOutput> {
|
|
89
|
-
return deserializeAws_json1_1TagResourceCommand(output, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
// Start section: command_body_extra
|
|
93
|
-
// End section: command_body_extra
|
|
94
|
-
}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { LicenseManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LicenseManagerClient";
|
|
2
|
-
import { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1UntagResourceCommand,
|
|
5
|
-
serializeAws_json1_1UntagResourceCommand,
|
|
6
|
-
} from "../protocols/Aws_json1_1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface UntagResourceCommandInput extends UntagResourceRequest {}
|
|
21
|
-
export interface UntagResourceCommandOutput extends UntagResourceResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Removes the specified tags from the specified license configuration.</p>
|
|
25
|
-
* @example
|
|
26
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
27
|
-
* ```javascript
|
|
28
|
-
* import { LicenseManagerClient, UntagResourceCommand } from "@aws-sdk/client-license-manager"; // ES Modules import
|
|
29
|
-
* // const { LicenseManagerClient, UntagResourceCommand } = require("@aws-sdk/client-license-manager"); // CommonJS import
|
|
30
|
-
* const client = new LicenseManagerClient(config);
|
|
31
|
-
* const command = new UntagResourceCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link UntagResourceCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link UntagResourceCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link LicenseManagerClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class UntagResourceCommand extends $Command<
|
|
41
|
-
UntagResourceCommandInput,
|
|
42
|
-
UntagResourceCommandOutput,
|
|
43
|
-
LicenseManagerClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: UntagResourceCommandInput) {
|
|
49
|
-
// Start section: command_constructor
|
|
50
|
-
super();
|
|
51
|
-
// End section: command_constructor
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* @internal
|
|
56
|
-
*/
|
|
57
|
-
resolveMiddleware(
|
|
58
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
59
|
-
configuration: LicenseManagerClientResolvedConfig,
|
|
60
|
-
options?: __HttpHandlerOptions
|
|
61
|
-
): Handler<UntagResourceCommandInput, UntagResourceCommandOutput> {
|
|
62
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
63
|
-
|
|
64
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
65
|
-
|
|
66
|
-
const { logger } = configuration;
|
|
67
|
-
const clientName = "LicenseManagerClient";
|
|
68
|
-
const commandName = "UntagResourceCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: UntagResourceRequest.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: UntagResourceResponse.filterSensitiveLog,
|
|
75
|
-
};
|
|
76
|
-
const { requestHandler } = configuration;
|
|
77
|
-
return stack.resolve(
|
|
78
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
79
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
80
|
-
handlerExecutionContext
|
|
81
|
-
);
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
private serialize(input: UntagResourceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_json1_1UntagResourceCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<UntagResourceCommandOutput> {
|
|
89
|
-
return deserializeAws_json1_1UntagResourceCommand(output, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
// Start section: command_body_extra
|
|
93
|
-
// End section: command_body_extra
|
|
94
|
-
}
|
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
import { LicenseManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LicenseManagerClient";
|
|
2
|
-
import { UpdateLicenseConfigurationRequest, UpdateLicenseConfigurationResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1UpdateLicenseConfigurationCommand,
|
|
5
|
-
serializeAws_json1_1UpdateLicenseConfigurationCommand,
|
|
6
|
-
} from "../protocols/Aws_json1_1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface UpdateLicenseConfigurationCommandInput extends UpdateLicenseConfigurationRequest {}
|
|
21
|
-
export interface UpdateLicenseConfigurationCommandOutput extends UpdateLicenseConfigurationResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Modifies the attributes of an existing license configuration.</p>
|
|
25
|
-
* @example
|
|
26
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
27
|
-
* ```javascript
|
|
28
|
-
* import { LicenseManagerClient, UpdateLicenseConfigurationCommand } from "@aws-sdk/client-license-manager"; // ES Modules import
|
|
29
|
-
* // const { LicenseManagerClient, UpdateLicenseConfigurationCommand } = require("@aws-sdk/client-license-manager"); // CommonJS import
|
|
30
|
-
* const client = new LicenseManagerClient(config);
|
|
31
|
-
* const command = new UpdateLicenseConfigurationCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link UpdateLicenseConfigurationCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link UpdateLicenseConfigurationCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link LicenseManagerClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class UpdateLicenseConfigurationCommand extends $Command<
|
|
41
|
-
UpdateLicenseConfigurationCommandInput,
|
|
42
|
-
UpdateLicenseConfigurationCommandOutput,
|
|
43
|
-
LicenseManagerClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: UpdateLicenseConfigurationCommandInput) {
|
|
49
|
-
// Start section: command_constructor
|
|
50
|
-
super();
|
|
51
|
-
// End section: command_constructor
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* @internal
|
|
56
|
-
*/
|
|
57
|
-
resolveMiddleware(
|
|
58
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
59
|
-
configuration: LicenseManagerClientResolvedConfig,
|
|
60
|
-
options?: __HttpHandlerOptions
|
|
61
|
-
): Handler<UpdateLicenseConfigurationCommandInput, UpdateLicenseConfigurationCommandOutput> {
|
|
62
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
63
|
-
|
|
64
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
65
|
-
|
|
66
|
-
const { logger } = configuration;
|
|
67
|
-
const clientName = "LicenseManagerClient";
|
|
68
|
-
const commandName = "UpdateLicenseConfigurationCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: UpdateLicenseConfigurationRequest.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: UpdateLicenseConfigurationResponse.filterSensitiveLog,
|
|
75
|
-
};
|
|
76
|
-
const { requestHandler } = configuration;
|
|
77
|
-
return stack.resolve(
|
|
78
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
79
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
80
|
-
handlerExecutionContext
|
|
81
|
-
);
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
private serialize(input: UpdateLicenseConfigurationCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_json1_1UpdateLicenseConfigurationCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(
|
|
89
|
-
output: __HttpResponse,
|
|
90
|
-
context: __SerdeContext
|
|
91
|
-
): Promise<UpdateLicenseConfigurationCommandOutput> {
|
|
92
|
-
return deserializeAws_json1_1UpdateLicenseConfigurationCommand(output, context);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
// Start section: command_body_extra
|
|
96
|
-
// End section: command_body_extra
|
|
97
|
-
}
|
|
@@ -1,106 +0,0 @@
|
|
|
1
|
-
import { LicenseManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LicenseManagerClient";
|
|
2
|
-
import {
|
|
3
|
-
UpdateLicenseManagerReportGeneratorRequest,
|
|
4
|
-
UpdateLicenseManagerReportGeneratorResponse,
|
|
5
|
-
} from "../models/models_0";
|
|
6
|
-
import {
|
|
7
|
-
deserializeAws_json1_1UpdateLicenseManagerReportGeneratorCommand,
|
|
8
|
-
serializeAws_json1_1UpdateLicenseManagerReportGeneratorCommand,
|
|
9
|
-
} from "../protocols/Aws_json1_1";
|
|
10
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
11
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
12
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
13
|
-
import {
|
|
14
|
-
FinalizeHandlerArguments,
|
|
15
|
-
Handler,
|
|
16
|
-
HandlerExecutionContext,
|
|
17
|
-
MiddlewareStack,
|
|
18
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
19
|
-
MetadataBearer as __MetadataBearer,
|
|
20
|
-
SerdeContext as __SerdeContext,
|
|
21
|
-
} from "@aws-sdk/types";
|
|
22
|
-
|
|
23
|
-
export interface UpdateLicenseManagerReportGeneratorCommandInput extends UpdateLicenseManagerReportGeneratorRequest {}
|
|
24
|
-
export interface UpdateLicenseManagerReportGeneratorCommandOutput
|
|
25
|
-
extends UpdateLicenseManagerReportGeneratorResponse,
|
|
26
|
-
__MetadataBearer {}
|
|
27
|
-
|
|
28
|
-
/**
|
|
29
|
-
* <p>Updates a report generator.</p>
|
|
30
|
-
* <p>After you make changes to a report generator, it will start generating new reports within 60 minutes of being updated.</p>
|
|
31
|
-
* @example
|
|
32
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
-
* ```javascript
|
|
34
|
-
* import { LicenseManagerClient, UpdateLicenseManagerReportGeneratorCommand } from "@aws-sdk/client-license-manager"; // ES Modules import
|
|
35
|
-
* // const { LicenseManagerClient, UpdateLicenseManagerReportGeneratorCommand } = require("@aws-sdk/client-license-manager"); // CommonJS import
|
|
36
|
-
* const client = new LicenseManagerClient(config);
|
|
37
|
-
* const command = new UpdateLicenseManagerReportGeneratorCommand(input);
|
|
38
|
-
* const response = await client.send(command);
|
|
39
|
-
* ```
|
|
40
|
-
*
|
|
41
|
-
* @see {@link UpdateLicenseManagerReportGeneratorCommandInput} for command's `input` shape.
|
|
42
|
-
* @see {@link UpdateLicenseManagerReportGeneratorCommandOutput} for command's `response` shape.
|
|
43
|
-
* @see {@link LicenseManagerClientResolvedConfig | config} for command's `input` shape.
|
|
44
|
-
*
|
|
45
|
-
*/
|
|
46
|
-
export class UpdateLicenseManagerReportGeneratorCommand extends $Command<
|
|
47
|
-
UpdateLicenseManagerReportGeneratorCommandInput,
|
|
48
|
-
UpdateLicenseManagerReportGeneratorCommandOutput,
|
|
49
|
-
LicenseManagerClientResolvedConfig
|
|
50
|
-
> {
|
|
51
|
-
// Start section: command_properties
|
|
52
|
-
// End section: command_properties
|
|
53
|
-
|
|
54
|
-
constructor(readonly input: UpdateLicenseManagerReportGeneratorCommandInput) {
|
|
55
|
-
// Start section: command_constructor
|
|
56
|
-
super();
|
|
57
|
-
// End section: command_constructor
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
/**
|
|
61
|
-
* @internal
|
|
62
|
-
*/
|
|
63
|
-
resolveMiddleware(
|
|
64
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
65
|
-
configuration: LicenseManagerClientResolvedConfig,
|
|
66
|
-
options?: __HttpHandlerOptions
|
|
67
|
-
): Handler<UpdateLicenseManagerReportGeneratorCommandInput, UpdateLicenseManagerReportGeneratorCommandOutput> {
|
|
68
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
69
|
-
|
|
70
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
71
|
-
|
|
72
|
-
const { logger } = configuration;
|
|
73
|
-
const clientName = "LicenseManagerClient";
|
|
74
|
-
const commandName = "UpdateLicenseManagerReportGeneratorCommand";
|
|
75
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
76
|
-
logger,
|
|
77
|
-
clientName,
|
|
78
|
-
commandName,
|
|
79
|
-
inputFilterSensitiveLog: UpdateLicenseManagerReportGeneratorRequest.filterSensitiveLog,
|
|
80
|
-
outputFilterSensitiveLog: UpdateLicenseManagerReportGeneratorResponse.filterSensitiveLog,
|
|
81
|
-
};
|
|
82
|
-
const { requestHandler } = configuration;
|
|
83
|
-
return stack.resolve(
|
|
84
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
85
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
86
|
-
handlerExecutionContext
|
|
87
|
-
);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
private serialize(
|
|
91
|
-
input: UpdateLicenseManagerReportGeneratorCommandInput,
|
|
92
|
-
context: __SerdeContext
|
|
93
|
-
): Promise<__HttpRequest> {
|
|
94
|
-
return serializeAws_json1_1UpdateLicenseManagerReportGeneratorCommand(input, context);
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
private deserialize(
|
|
98
|
-
output: __HttpResponse,
|
|
99
|
-
context: __SerdeContext
|
|
100
|
-
): Promise<UpdateLicenseManagerReportGeneratorCommandOutput> {
|
|
101
|
-
return deserializeAws_json1_1UpdateLicenseManagerReportGeneratorCommand(output, context);
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
// Start section: command_body_extra
|
|
105
|
-
// End section: command_body_extra
|
|
106
|
-
}
|