@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
package/LicenseManagerClient.ts
DELETED
|
@@ -1,444 +0,0 @@
|
|
|
1
|
-
import { AcceptGrantCommandInput, AcceptGrantCommandOutput } from "./commands/AcceptGrantCommand";
|
|
2
|
-
import { CheckInLicenseCommandInput, CheckInLicenseCommandOutput } from "./commands/CheckInLicenseCommand";
|
|
3
|
-
import {
|
|
4
|
-
CheckoutBorrowLicenseCommandInput,
|
|
5
|
-
CheckoutBorrowLicenseCommandOutput,
|
|
6
|
-
} from "./commands/CheckoutBorrowLicenseCommand";
|
|
7
|
-
import { CheckoutLicenseCommandInput, CheckoutLicenseCommandOutput } from "./commands/CheckoutLicenseCommand";
|
|
8
|
-
import { CreateGrantCommandInput, CreateGrantCommandOutput } from "./commands/CreateGrantCommand";
|
|
9
|
-
import { CreateGrantVersionCommandInput, CreateGrantVersionCommandOutput } from "./commands/CreateGrantVersionCommand";
|
|
10
|
-
import { CreateLicenseCommandInput, CreateLicenseCommandOutput } from "./commands/CreateLicenseCommand";
|
|
11
|
-
import {
|
|
12
|
-
CreateLicenseConfigurationCommandInput,
|
|
13
|
-
CreateLicenseConfigurationCommandOutput,
|
|
14
|
-
} from "./commands/CreateLicenseConfigurationCommand";
|
|
15
|
-
import {
|
|
16
|
-
CreateLicenseManagerReportGeneratorCommandInput,
|
|
17
|
-
CreateLicenseManagerReportGeneratorCommandOutput,
|
|
18
|
-
} from "./commands/CreateLicenseManagerReportGeneratorCommand";
|
|
19
|
-
import {
|
|
20
|
-
CreateLicenseVersionCommandInput,
|
|
21
|
-
CreateLicenseVersionCommandOutput,
|
|
22
|
-
} from "./commands/CreateLicenseVersionCommand";
|
|
23
|
-
import { CreateTokenCommandInput, CreateTokenCommandOutput } from "./commands/CreateTokenCommand";
|
|
24
|
-
import { DeleteGrantCommandInput, DeleteGrantCommandOutput } from "./commands/DeleteGrantCommand";
|
|
25
|
-
import { DeleteLicenseCommandInput, DeleteLicenseCommandOutput } from "./commands/DeleteLicenseCommand";
|
|
26
|
-
import {
|
|
27
|
-
DeleteLicenseConfigurationCommandInput,
|
|
28
|
-
DeleteLicenseConfigurationCommandOutput,
|
|
29
|
-
} from "./commands/DeleteLicenseConfigurationCommand";
|
|
30
|
-
import {
|
|
31
|
-
DeleteLicenseManagerReportGeneratorCommandInput,
|
|
32
|
-
DeleteLicenseManagerReportGeneratorCommandOutput,
|
|
33
|
-
} from "./commands/DeleteLicenseManagerReportGeneratorCommand";
|
|
34
|
-
import { DeleteTokenCommandInput, DeleteTokenCommandOutput } from "./commands/DeleteTokenCommand";
|
|
35
|
-
import {
|
|
36
|
-
ExtendLicenseConsumptionCommandInput,
|
|
37
|
-
ExtendLicenseConsumptionCommandOutput,
|
|
38
|
-
} from "./commands/ExtendLicenseConsumptionCommand";
|
|
39
|
-
import { GetAccessTokenCommandInput, GetAccessTokenCommandOutput } from "./commands/GetAccessTokenCommand";
|
|
40
|
-
import { GetGrantCommandInput, GetGrantCommandOutput } from "./commands/GetGrantCommand";
|
|
41
|
-
import { GetLicenseCommandInput, GetLicenseCommandOutput } from "./commands/GetLicenseCommand";
|
|
42
|
-
import {
|
|
43
|
-
GetLicenseConfigurationCommandInput,
|
|
44
|
-
GetLicenseConfigurationCommandOutput,
|
|
45
|
-
} from "./commands/GetLicenseConfigurationCommand";
|
|
46
|
-
import {
|
|
47
|
-
GetLicenseManagerReportGeneratorCommandInput,
|
|
48
|
-
GetLicenseManagerReportGeneratorCommandOutput,
|
|
49
|
-
} from "./commands/GetLicenseManagerReportGeneratorCommand";
|
|
50
|
-
import { GetLicenseUsageCommandInput, GetLicenseUsageCommandOutput } from "./commands/GetLicenseUsageCommand";
|
|
51
|
-
import { GetServiceSettingsCommandInput, GetServiceSettingsCommandOutput } from "./commands/GetServiceSettingsCommand";
|
|
52
|
-
import {
|
|
53
|
-
ListAssociationsForLicenseConfigurationCommandInput,
|
|
54
|
-
ListAssociationsForLicenseConfigurationCommandOutput,
|
|
55
|
-
} from "./commands/ListAssociationsForLicenseConfigurationCommand";
|
|
56
|
-
import {
|
|
57
|
-
ListDistributedGrantsCommandInput,
|
|
58
|
-
ListDistributedGrantsCommandOutput,
|
|
59
|
-
} from "./commands/ListDistributedGrantsCommand";
|
|
60
|
-
import {
|
|
61
|
-
ListFailuresForLicenseConfigurationOperationsCommandInput,
|
|
62
|
-
ListFailuresForLicenseConfigurationOperationsCommandOutput,
|
|
63
|
-
} from "./commands/ListFailuresForLicenseConfigurationOperationsCommand";
|
|
64
|
-
import {
|
|
65
|
-
ListLicenseConfigurationsCommandInput,
|
|
66
|
-
ListLicenseConfigurationsCommandOutput,
|
|
67
|
-
} from "./commands/ListLicenseConfigurationsCommand";
|
|
68
|
-
import {
|
|
69
|
-
ListLicenseManagerReportGeneratorsCommandInput,
|
|
70
|
-
ListLicenseManagerReportGeneratorsCommandOutput,
|
|
71
|
-
} from "./commands/ListLicenseManagerReportGeneratorsCommand";
|
|
72
|
-
import {
|
|
73
|
-
ListLicenseSpecificationsForResourceCommandInput,
|
|
74
|
-
ListLicenseSpecificationsForResourceCommandOutput,
|
|
75
|
-
} from "./commands/ListLicenseSpecificationsForResourceCommand";
|
|
76
|
-
import {
|
|
77
|
-
ListLicenseVersionsCommandInput,
|
|
78
|
-
ListLicenseVersionsCommandOutput,
|
|
79
|
-
} from "./commands/ListLicenseVersionsCommand";
|
|
80
|
-
import { ListLicensesCommandInput, ListLicensesCommandOutput } from "./commands/ListLicensesCommand";
|
|
81
|
-
import { ListReceivedGrantsCommandInput, ListReceivedGrantsCommandOutput } from "./commands/ListReceivedGrantsCommand";
|
|
82
|
-
import {
|
|
83
|
-
ListReceivedLicensesCommandInput,
|
|
84
|
-
ListReceivedLicensesCommandOutput,
|
|
85
|
-
} from "./commands/ListReceivedLicensesCommand";
|
|
86
|
-
import {
|
|
87
|
-
ListResourceInventoryCommandInput,
|
|
88
|
-
ListResourceInventoryCommandOutput,
|
|
89
|
-
} from "./commands/ListResourceInventoryCommand";
|
|
90
|
-
import {
|
|
91
|
-
ListTagsForResourceCommandInput,
|
|
92
|
-
ListTagsForResourceCommandOutput,
|
|
93
|
-
} from "./commands/ListTagsForResourceCommand";
|
|
94
|
-
import { ListTokensCommandInput, ListTokensCommandOutput } from "./commands/ListTokensCommand";
|
|
95
|
-
import {
|
|
96
|
-
ListUsageForLicenseConfigurationCommandInput,
|
|
97
|
-
ListUsageForLicenseConfigurationCommandOutput,
|
|
98
|
-
} from "./commands/ListUsageForLicenseConfigurationCommand";
|
|
99
|
-
import { RejectGrantCommandInput, RejectGrantCommandOutput } from "./commands/RejectGrantCommand";
|
|
100
|
-
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
101
|
-
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
102
|
-
import {
|
|
103
|
-
UpdateLicenseConfigurationCommandInput,
|
|
104
|
-
UpdateLicenseConfigurationCommandOutput,
|
|
105
|
-
} from "./commands/UpdateLicenseConfigurationCommand";
|
|
106
|
-
import {
|
|
107
|
-
UpdateLicenseManagerReportGeneratorCommandInput,
|
|
108
|
-
UpdateLicenseManagerReportGeneratorCommandOutput,
|
|
109
|
-
} from "./commands/UpdateLicenseManagerReportGeneratorCommand";
|
|
110
|
-
import {
|
|
111
|
-
UpdateLicenseSpecificationsForResourceCommandInput,
|
|
112
|
-
UpdateLicenseSpecificationsForResourceCommandOutput,
|
|
113
|
-
} from "./commands/UpdateLicenseSpecificationsForResourceCommand";
|
|
114
|
-
import {
|
|
115
|
-
UpdateServiceSettingsCommandInput,
|
|
116
|
-
UpdateServiceSettingsCommandOutput,
|
|
117
|
-
} from "./commands/UpdateServiceSettingsCommand";
|
|
118
|
-
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
119
|
-
import {
|
|
120
|
-
EndpointsInputConfig,
|
|
121
|
-
EndpointsResolvedConfig,
|
|
122
|
-
RegionInputConfig,
|
|
123
|
-
RegionResolvedConfig,
|
|
124
|
-
resolveEndpointsConfig,
|
|
125
|
-
resolveRegionConfig,
|
|
126
|
-
} from "@aws-sdk/config-resolver";
|
|
127
|
-
import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
|
|
128
|
-
import {
|
|
129
|
-
HostHeaderInputConfig,
|
|
130
|
-
HostHeaderResolvedConfig,
|
|
131
|
-
getHostHeaderPlugin,
|
|
132
|
-
resolveHostHeaderConfig,
|
|
133
|
-
} from "@aws-sdk/middleware-host-header";
|
|
134
|
-
import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
|
|
135
|
-
import { RetryInputConfig, RetryResolvedConfig, getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
|
|
136
|
-
import {
|
|
137
|
-
AwsAuthInputConfig,
|
|
138
|
-
AwsAuthResolvedConfig,
|
|
139
|
-
getAwsAuthPlugin,
|
|
140
|
-
resolveAwsAuthConfig,
|
|
141
|
-
} from "@aws-sdk/middleware-signing";
|
|
142
|
-
import {
|
|
143
|
-
UserAgentInputConfig,
|
|
144
|
-
UserAgentResolvedConfig,
|
|
145
|
-
getUserAgentPlugin,
|
|
146
|
-
resolveUserAgentConfig,
|
|
147
|
-
} from "@aws-sdk/middleware-user-agent";
|
|
148
|
-
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
149
|
-
import {
|
|
150
|
-
Client as __Client,
|
|
151
|
-
SmithyConfiguration as __SmithyConfiguration,
|
|
152
|
-
SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
|
|
153
|
-
} from "@aws-sdk/smithy-client";
|
|
154
|
-
import {
|
|
155
|
-
Provider,
|
|
156
|
-
RegionInfoProvider,
|
|
157
|
-
Credentials as __Credentials,
|
|
158
|
-
Decoder as __Decoder,
|
|
159
|
-
Encoder as __Encoder,
|
|
160
|
-
Hash as __Hash,
|
|
161
|
-
HashConstructor as __HashConstructor,
|
|
162
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
163
|
-
Logger as __Logger,
|
|
164
|
-
Provider as __Provider,
|
|
165
|
-
StreamCollector as __StreamCollector,
|
|
166
|
-
UrlParser as __UrlParser,
|
|
167
|
-
UserAgent as __UserAgent,
|
|
168
|
-
} from "@aws-sdk/types";
|
|
169
|
-
|
|
170
|
-
export type ServiceInputTypes =
|
|
171
|
-
| AcceptGrantCommandInput
|
|
172
|
-
| CheckInLicenseCommandInput
|
|
173
|
-
| CheckoutBorrowLicenseCommandInput
|
|
174
|
-
| CheckoutLicenseCommandInput
|
|
175
|
-
| CreateGrantCommandInput
|
|
176
|
-
| CreateGrantVersionCommandInput
|
|
177
|
-
| CreateLicenseCommandInput
|
|
178
|
-
| CreateLicenseConfigurationCommandInput
|
|
179
|
-
| CreateLicenseManagerReportGeneratorCommandInput
|
|
180
|
-
| CreateLicenseVersionCommandInput
|
|
181
|
-
| CreateTokenCommandInput
|
|
182
|
-
| DeleteGrantCommandInput
|
|
183
|
-
| DeleteLicenseCommandInput
|
|
184
|
-
| DeleteLicenseConfigurationCommandInput
|
|
185
|
-
| DeleteLicenseManagerReportGeneratorCommandInput
|
|
186
|
-
| DeleteTokenCommandInput
|
|
187
|
-
| ExtendLicenseConsumptionCommandInput
|
|
188
|
-
| GetAccessTokenCommandInput
|
|
189
|
-
| GetGrantCommandInput
|
|
190
|
-
| GetLicenseCommandInput
|
|
191
|
-
| GetLicenseConfigurationCommandInput
|
|
192
|
-
| GetLicenseManagerReportGeneratorCommandInput
|
|
193
|
-
| GetLicenseUsageCommandInput
|
|
194
|
-
| GetServiceSettingsCommandInput
|
|
195
|
-
| ListAssociationsForLicenseConfigurationCommandInput
|
|
196
|
-
| ListDistributedGrantsCommandInput
|
|
197
|
-
| ListFailuresForLicenseConfigurationOperationsCommandInput
|
|
198
|
-
| ListLicenseConfigurationsCommandInput
|
|
199
|
-
| ListLicenseManagerReportGeneratorsCommandInput
|
|
200
|
-
| ListLicenseSpecificationsForResourceCommandInput
|
|
201
|
-
| ListLicenseVersionsCommandInput
|
|
202
|
-
| ListLicensesCommandInput
|
|
203
|
-
| ListReceivedGrantsCommandInput
|
|
204
|
-
| ListReceivedLicensesCommandInput
|
|
205
|
-
| ListResourceInventoryCommandInput
|
|
206
|
-
| ListTagsForResourceCommandInput
|
|
207
|
-
| ListTokensCommandInput
|
|
208
|
-
| ListUsageForLicenseConfigurationCommandInput
|
|
209
|
-
| RejectGrantCommandInput
|
|
210
|
-
| TagResourceCommandInput
|
|
211
|
-
| UntagResourceCommandInput
|
|
212
|
-
| UpdateLicenseConfigurationCommandInput
|
|
213
|
-
| UpdateLicenseManagerReportGeneratorCommandInput
|
|
214
|
-
| UpdateLicenseSpecificationsForResourceCommandInput
|
|
215
|
-
| UpdateServiceSettingsCommandInput;
|
|
216
|
-
|
|
217
|
-
export type ServiceOutputTypes =
|
|
218
|
-
| AcceptGrantCommandOutput
|
|
219
|
-
| CheckInLicenseCommandOutput
|
|
220
|
-
| CheckoutBorrowLicenseCommandOutput
|
|
221
|
-
| CheckoutLicenseCommandOutput
|
|
222
|
-
| CreateGrantCommandOutput
|
|
223
|
-
| CreateGrantVersionCommandOutput
|
|
224
|
-
| CreateLicenseCommandOutput
|
|
225
|
-
| CreateLicenseConfigurationCommandOutput
|
|
226
|
-
| CreateLicenseManagerReportGeneratorCommandOutput
|
|
227
|
-
| CreateLicenseVersionCommandOutput
|
|
228
|
-
| CreateTokenCommandOutput
|
|
229
|
-
| DeleteGrantCommandOutput
|
|
230
|
-
| DeleteLicenseCommandOutput
|
|
231
|
-
| DeleteLicenseConfigurationCommandOutput
|
|
232
|
-
| DeleteLicenseManagerReportGeneratorCommandOutput
|
|
233
|
-
| DeleteTokenCommandOutput
|
|
234
|
-
| ExtendLicenseConsumptionCommandOutput
|
|
235
|
-
| GetAccessTokenCommandOutput
|
|
236
|
-
| GetGrantCommandOutput
|
|
237
|
-
| GetLicenseCommandOutput
|
|
238
|
-
| GetLicenseConfigurationCommandOutput
|
|
239
|
-
| GetLicenseManagerReportGeneratorCommandOutput
|
|
240
|
-
| GetLicenseUsageCommandOutput
|
|
241
|
-
| GetServiceSettingsCommandOutput
|
|
242
|
-
| ListAssociationsForLicenseConfigurationCommandOutput
|
|
243
|
-
| ListDistributedGrantsCommandOutput
|
|
244
|
-
| ListFailuresForLicenseConfigurationOperationsCommandOutput
|
|
245
|
-
| ListLicenseConfigurationsCommandOutput
|
|
246
|
-
| ListLicenseManagerReportGeneratorsCommandOutput
|
|
247
|
-
| ListLicenseSpecificationsForResourceCommandOutput
|
|
248
|
-
| ListLicenseVersionsCommandOutput
|
|
249
|
-
| ListLicensesCommandOutput
|
|
250
|
-
| ListReceivedGrantsCommandOutput
|
|
251
|
-
| ListReceivedLicensesCommandOutput
|
|
252
|
-
| ListResourceInventoryCommandOutput
|
|
253
|
-
| ListTagsForResourceCommandOutput
|
|
254
|
-
| ListTokensCommandOutput
|
|
255
|
-
| ListUsageForLicenseConfigurationCommandOutput
|
|
256
|
-
| RejectGrantCommandOutput
|
|
257
|
-
| TagResourceCommandOutput
|
|
258
|
-
| UntagResourceCommandOutput
|
|
259
|
-
| UpdateLicenseConfigurationCommandOutput
|
|
260
|
-
| UpdateLicenseManagerReportGeneratorCommandOutput
|
|
261
|
-
| UpdateLicenseSpecificationsForResourceCommandOutput
|
|
262
|
-
| UpdateServiceSettingsCommandOutput;
|
|
263
|
-
|
|
264
|
-
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
265
|
-
/**
|
|
266
|
-
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
267
|
-
*/
|
|
268
|
-
requestHandler?: __HttpHandler;
|
|
269
|
-
|
|
270
|
-
/**
|
|
271
|
-
* A constructor for a class implementing the {@link __Hash} interface
|
|
272
|
-
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
273
|
-
* @internal
|
|
274
|
-
*/
|
|
275
|
-
sha256?: __HashConstructor;
|
|
276
|
-
|
|
277
|
-
/**
|
|
278
|
-
* The function that will be used to convert strings into HTTP endpoints.
|
|
279
|
-
* @internal
|
|
280
|
-
*/
|
|
281
|
-
urlParser?: __UrlParser;
|
|
282
|
-
|
|
283
|
-
/**
|
|
284
|
-
* A function that can calculate the length of a request body.
|
|
285
|
-
* @internal
|
|
286
|
-
*/
|
|
287
|
-
bodyLengthChecker?: (body: any) => number | undefined;
|
|
288
|
-
|
|
289
|
-
/**
|
|
290
|
-
* A function that converts a stream into an array of bytes.
|
|
291
|
-
* @internal
|
|
292
|
-
*/
|
|
293
|
-
streamCollector?: __StreamCollector;
|
|
294
|
-
|
|
295
|
-
/**
|
|
296
|
-
* The function that will be used to convert a base64-encoded string to a byte array.
|
|
297
|
-
* @internal
|
|
298
|
-
*/
|
|
299
|
-
base64Decoder?: __Decoder;
|
|
300
|
-
|
|
301
|
-
/**
|
|
302
|
-
* The function that will be used to convert binary data to a base64-encoded string.
|
|
303
|
-
* @internal
|
|
304
|
-
*/
|
|
305
|
-
base64Encoder?: __Encoder;
|
|
306
|
-
|
|
307
|
-
/**
|
|
308
|
-
* The function that will be used to convert a UTF8-encoded string to a byte array.
|
|
309
|
-
* @internal
|
|
310
|
-
*/
|
|
311
|
-
utf8Decoder?: __Decoder;
|
|
312
|
-
|
|
313
|
-
/**
|
|
314
|
-
* The function that will be used to convert binary data to a UTF-8 encoded string.
|
|
315
|
-
* @internal
|
|
316
|
-
*/
|
|
317
|
-
utf8Encoder?: __Encoder;
|
|
318
|
-
|
|
319
|
-
/**
|
|
320
|
-
* The runtime environment.
|
|
321
|
-
* @internal
|
|
322
|
-
*/
|
|
323
|
-
runtime?: string;
|
|
324
|
-
|
|
325
|
-
/**
|
|
326
|
-
* Disable dyanamically changing the endpoint of the client based on the hostPrefix
|
|
327
|
-
* trait of an operation.
|
|
328
|
-
*/
|
|
329
|
-
disableHostPrefix?: boolean;
|
|
330
|
-
|
|
331
|
-
/**
|
|
332
|
-
* Value for how many times a request will be made at most in case of retry.
|
|
333
|
-
*/
|
|
334
|
-
maxAttempts?: number | __Provider<number>;
|
|
335
|
-
|
|
336
|
-
/**
|
|
337
|
-
* Specifies which retry algorithm to use.
|
|
338
|
-
*/
|
|
339
|
-
retryMode?: string | __Provider<string>;
|
|
340
|
-
|
|
341
|
-
/**
|
|
342
|
-
* Optional logger for logging debug/info/warn/error.
|
|
343
|
-
*/
|
|
344
|
-
logger?: __Logger;
|
|
345
|
-
|
|
346
|
-
/**
|
|
347
|
-
* Unique service identifier.
|
|
348
|
-
* @internal
|
|
349
|
-
*/
|
|
350
|
-
serviceId?: string;
|
|
351
|
-
|
|
352
|
-
/**
|
|
353
|
-
* The AWS region to which this client will send requests
|
|
354
|
-
*/
|
|
355
|
-
region?: string | __Provider<string>;
|
|
356
|
-
|
|
357
|
-
/**
|
|
358
|
-
* Default credentials provider; Not available in browser runtime.
|
|
359
|
-
* @internal
|
|
360
|
-
*/
|
|
361
|
-
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
|
362
|
-
|
|
363
|
-
/**
|
|
364
|
-
* Fetch related hostname, signing name or signing region with given region.
|
|
365
|
-
* @internal
|
|
366
|
-
*/
|
|
367
|
-
regionInfoProvider?: RegionInfoProvider;
|
|
368
|
-
|
|
369
|
-
/**
|
|
370
|
-
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
371
|
-
* @internal
|
|
372
|
-
*/
|
|
373
|
-
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
374
|
-
}
|
|
375
|
-
|
|
376
|
-
type LicenseManagerClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> &
|
|
377
|
-
ClientDefaults &
|
|
378
|
-
RegionInputConfig &
|
|
379
|
-
EndpointsInputConfig &
|
|
380
|
-
RetryInputConfig &
|
|
381
|
-
HostHeaderInputConfig &
|
|
382
|
-
AwsAuthInputConfig &
|
|
383
|
-
UserAgentInputConfig;
|
|
384
|
-
/**
|
|
385
|
-
* The configuration interface of LicenseManagerClient class constructor that set the region, credentials and other options.
|
|
386
|
-
*/
|
|
387
|
-
export interface LicenseManagerClientConfig extends LicenseManagerClientConfigType {}
|
|
388
|
-
|
|
389
|
-
type LicenseManagerClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> &
|
|
390
|
-
Required<ClientDefaults> &
|
|
391
|
-
RegionResolvedConfig &
|
|
392
|
-
EndpointsResolvedConfig &
|
|
393
|
-
RetryResolvedConfig &
|
|
394
|
-
HostHeaderResolvedConfig &
|
|
395
|
-
AwsAuthResolvedConfig &
|
|
396
|
-
UserAgentResolvedConfig;
|
|
397
|
-
/**
|
|
398
|
-
* The resolved configuration interface of LicenseManagerClient class. This is resolved and normalized from the {@link LicenseManagerClientConfig | constructor configuration interface}.
|
|
399
|
-
*/
|
|
400
|
-
export interface LicenseManagerClientResolvedConfig extends LicenseManagerClientResolvedConfigType {}
|
|
401
|
-
|
|
402
|
-
/**
|
|
403
|
-
* <fullname> AWS License Manager </fullname>
|
|
404
|
-
* <p>AWS License Manager makes it easier to manage licenses from software vendors across multiple
|
|
405
|
-
* AWS accounts and on-premises servers.</p>
|
|
406
|
-
*/
|
|
407
|
-
export class LicenseManagerClient extends __Client<
|
|
408
|
-
__HttpHandlerOptions,
|
|
409
|
-
ServiceInputTypes,
|
|
410
|
-
ServiceOutputTypes,
|
|
411
|
-
LicenseManagerClientResolvedConfig
|
|
412
|
-
> {
|
|
413
|
-
/**
|
|
414
|
-
* The resolved configuration of LicenseManagerClient class. This is resolved and normalized from the {@link LicenseManagerClientConfig | constructor configuration interface}.
|
|
415
|
-
*/
|
|
416
|
-
readonly config: LicenseManagerClientResolvedConfig;
|
|
417
|
-
|
|
418
|
-
constructor(configuration: LicenseManagerClientConfig) {
|
|
419
|
-
let _config_0 = __getRuntimeConfig(configuration);
|
|
420
|
-
let _config_1 = resolveRegionConfig(_config_0);
|
|
421
|
-
let _config_2 = resolveEndpointsConfig(_config_1);
|
|
422
|
-
let _config_3 = resolveRetryConfig(_config_2);
|
|
423
|
-
let _config_4 = resolveHostHeaderConfig(_config_3);
|
|
424
|
-
let _config_5 = resolveAwsAuthConfig(_config_4);
|
|
425
|
-
let _config_6 = resolveUserAgentConfig(_config_5);
|
|
426
|
-
super(_config_6);
|
|
427
|
-
this.config = _config_6;
|
|
428
|
-
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
429
|
-
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
430
|
-
this.middlewareStack.use(getHostHeaderPlugin(this.config));
|
|
431
|
-
this.middlewareStack.use(getLoggerPlugin(this.config));
|
|
432
|
-
this.middlewareStack.use(getAwsAuthPlugin(this.config));
|
|
433
|
-
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
434
|
-
}
|
|
435
|
-
|
|
436
|
-
/**
|
|
437
|
-
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
438
|
-
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
439
|
-
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
440
|
-
*/
|
|
441
|
-
destroy(): void {
|
|
442
|
-
super.destroy();
|
|
443
|
-
}
|
|
444
|
-
}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { LicenseManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LicenseManagerClient";
|
|
2
|
-
import { AcceptGrantRequest, AcceptGrantResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1AcceptGrantCommand,
|
|
5
|
-
serializeAws_json1_1AcceptGrantCommand,
|
|
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 AcceptGrantCommandInput extends AcceptGrantRequest {}
|
|
21
|
-
export interface AcceptGrantCommandOutput extends AcceptGrantResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Accepts 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, AcceptGrantCommand } from "@aws-sdk/client-license-manager"; // ES Modules import
|
|
29
|
-
* // const { LicenseManagerClient, AcceptGrantCommand } = require("@aws-sdk/client-license-manager"); // CommonJS import
|
|
30
|
-
* const client = new LicenseManagerClient(config);
|
|
31
|
-
* const command = new AcceptGrantCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link AcceptGrantCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link AcceptGrantCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link LicenseManagerClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class AcceptGrantCommand extends $Command<
|
|
41
|
-
AcceptGrantCommandInput,
|
|
42
|
-
AcceptGrantCommandOutput,
|
|
43
|
-
LicenseManagerClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: AcceptGrantCommandInput) {
|
|
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<AcceptGrantCommandInput, AcceptGrantCommandOutput> {
|
|
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 = "AcceptGrantCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: AcceptGrantRequest.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: AcceptGrantResponse.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: AcceptGrantCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_json1_1AcceptGrantCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<AcceptGrantCommandOutput> {
|
|
89
|
-
return deserializeAws_json1_1AcceptGrantCommand(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 { CheckInLicenseRequest, CheckInLicenseResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1CheckInLicenseCommand,
|
|
5
|
-
serializeAws_json1_1CheckInLicenseCommand,
|
|
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 CheckInLicenseCommandInput extends CheckInLicenseRequest {}
|
|
21
|
-
export interface CheckInLicenseCommandOutput extends CheckInLicenseResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Checks in the specified license. Check in a license when it is no longer in use.</p>
|
|
25
|
-
* @example
|
|
26
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
27
|
-
* ```javascript
|
|
28
|
-
* import { LicenseManagerClient, CheckInLicenseCommand } from "@aws-sdk/client-license-manager"; // ES Modules import
|
|
29
|
-
* // const { LicenseManagerClient, CheckInLicenseCommand } = require("@aws-sdk/client-license-manager"); // CommonJS import
|
|
30
|
-
* const client = new LicenseManagerClient(config);
|
|
31
|
-
* const command = new CheckInLicenseCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link CheckInLicenseCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link CheckInLicenseCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link LicenseManagerClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class CheckInLicenseCommand extends $Command<
|
|
41
|
-
CheckInLicenseCommandInput,
|
|
42
|
-
CheckInLicenseCommandOutput,
|
|
43
|
-
LicenseManagerClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: CheckInLicenseCommandInput) {
|
|
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<CheckInLicenseCommandInput, CheckInLicenseCommandOutput> {
|
|
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 = "CheckInLicenseCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: CheckInLicenseRequest.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: CheckInLicenseResponse.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: CheckInLicenseCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_json1_1CheckInLicenseCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CheckInLicenseCommandOutput> {
|
|
89
|
-
return deserializeAws_json1_1CheckInLicenseCommand(output, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
// Start section: command_body_extra
|
|
93
|
-
// End section: command_body_extra
|
|
94
|
-
}
|