DescribeAppLicenseUsage - Amazon AppStream 2.0

DescribeAppLicenseUsage

Retrieves license included application usage information.

Request Syntax

{ "BillingPeriod": "string", "MaxResults": number, "NextToken": "string" }

Request Parameters

For information about the parameters that are common to all actions, see Common Parameters.

The request accepts the following data in JSON format.

BillingPeriod

Billing period for the usage record.

Specify the value in yyyy-mm format. For example, for August 2025, use 2025-08.

Type: String

Length Constraints: Minimum length of 1.

Required: Yes

MaxResults

The maximum number of results to return.

Type: Integer

Required: No

NextToken

Token for pagination of results.

Type: String

Length Constraints: Minimum length of 1.

Required: No

Response Syntax

{ "AppLicenseUsages": [ { "BillingPeriod": "string", "LicenseType": "string", "OwnerAWSAccountId": "string", "SubscriptionFirstUsedDate": number, "SubscriptionLastUsedDate": number, "UserArn": "string", "UserId": "string" } ], "NextToken": "string" }

Response Elements

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

AppLicenseUsages

Collection of license usage records.

Type: Array of AdminAppLicenseUsageRecord objects

NextToken

Token for pagination of results.

Type: String

Length Constraints: Minimum length of 1.

Errors

For information about the errors that are common to all actions, see Common Errors.

InvalidParameterCombinationException

Indicates an incorrect combination of parameters, or a missing parameter.

Message

The error message in the exception.

HTTP Status Code: 400

OperationNotPermittedException

The attempted operation is not permitted.

Message

The error message in the exception.

HTTP Status Code: 400

ResourceNotFoundException

The specified resource was not found.

Message

The error message in the exception.

HTTP Status Code: 400

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: