ListProductSubscriptions
Lists the user-based subscription products available from an identity provider.
Request Syntax
POST /user/ListProductSubscriptions HTTP/1.1
Content-type: application/json
{
"Filters": [
{
"Attribute": "string
",
"Operation": "string
",
"Value": "string
"
}
],
"IdentityProvider": { ... },
"MaxResults": number
,
"NextToken": "string
",
"Product": "string
"
}
URI Request Parameters
The request does not use any URI parameters.
Request Body
The request accepts the following data in JSON format.
- Filters
-
An array of structures that you can use to filter the results to those that match one or more sets of key-value pairs that you specify.
Type: Array of Filter objects
Required: No
- IdentityProvider
-
An object that specifies details for the identity provider.
Type: IdentityProvider object
Note: This object is a Union. Only one member of this object can be specified or returned.
Required: Yes
- MaxResults
-
Maximum number of results to return in a single call.
Type: Integer
Required: No
- NextToken
-
Token for the next set of results.
Type: String
Required: No
- Product
-
The name of the user-based subscription product.
Valid values:
VISUAL_STUDIO_ENTERPRISE
|VISUAL_STUDIO_PROFESSIONAL
|OFFICE_PROFESSIONAL_PLUS
Type: String
Required: Yes
Response Syntax
HTTP/1.1 200
Content-type: application/json
{
"NextToken": "string",
"ProductUserSummaries": [
{
"Domain": "string",
"IdentityProvider": { ... },
"Product": "string",
"Status": "string",
"StatusMessage": "string",
"SubscriptionEndDate": "string",
"SubscriptionStartDate": "string",
"Username": "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.
- NextToken
-
Token for the next set of results.
Type: String
- ProductUserSummaries
-
Metadata that describes the list product subscriptions operation.
Type: Array of ProductUserSummary objects
Errors
For information about the errors that are common to all actions, see Common Errors.
- AccessDeniedException
-
You don't have sufficient access to perform this action.
HTTP Status Code: 400
- ConflictException
-
The request couldn't be completed because it conflicted with the current state of the resource.
HTTP Status Code: 500
- InternalServerException
-
An exception occurred with the service.
HTTP Status Code: 500
- ResourceNotFoundException
-
The resource couldn't be found.
HTTP Status Code: 404
- ServiceQuotaExceededException
-
The request failed because a service quota is exceeded.
HTTP Status Code: 400
- ThrottlingException
-
The request was denied because of request throttling. Retry the request.
HTTP Status Code: 400
- ValidationException
-
A parameter is not valid.
HTTP Status Code: 400
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: