

# ListLicenseServerEndpoints
<a name="API_ListLicenseServerEndpoints"></a>

List the Remote Desktop Services (RDS) License Server endpoints 

## Request Syntax
<a name="API_ListLicenseServerEndpoints_RequestSyntax"></a>

```
POST /license-server/ListLicenseServerEndpoints HTTP/1.1
Content-type: application/json

{
   "Filters": [ 
      { 
         "Attribute": "string",
         "Operation": "string",
         "Value": "string"
      }
   ],
   "MaxResults": number,
   "NextToken": "string"
}
```

## URI Request Parameters
<a name="API_ListLicenseServerEndpoints_RequestParameters"></a>

The request does not use any URI parameters.

## Request Body
<a name="API_ListLicenseServerEndpoints_RequestBody"></a>

The request accepts the following data in JSON format.

 ** [Filters](#API_ListLicenseServerEndpoints_RequestSyntax) **   <a name="licensemanagerusersubscriptions-ListLicenseServerEndpoints-request-Filters"></a>
You can use the following filters to streamline results:  
+ IdentityProviderArn
Type: Array of [Filter](API_Filter.md) objects  
Required: No

 ** [MaxResults](#API_ListLicenseServerEndpoints_RequestSyntax) **   <a name="licensemanagerusersubscriptions-ListLicenseServerEndpoints-request-MaxResults"></a>
The maximum number of results to return from a single request.  
Type: Integer  
Valid Range: Minimum value of 1. Maximum value of 100.  
Required: No

 ** [NextToken](#API_ListLicenseServerEndpoints_RequestSyntax) **   <a name="licensemanagerusersubscriptions-ListLicenseServerEndpoints-request-NextToken"></a>
A token to specify where to start paginating. This is the nextToken from a previously truncated response.  
Type: String  
Required: No

## Response Syntax
<a name="API_ListLicenseServerEndpoints_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "LicenseServerEndpoints": [ 
      { 
         "CreationTime": number,
         "IdentityProviderArn": "string",
         "LicenseServerEndpointArn": "string",
         "LicenseServerEndpointId": "string",
         "LicenseServerEndpointProvisioningStatus": "string",
         "LicenseServers": [ 
            { 
               "HealthStatus": "string",
               "Ipv4Address": "string",
               "ProvisioningStatus": "string"
            }
         ],
         "ServerEndpoint": { 
            "Endpoint": "string"
         },
         "ServerType": "string",
         "StatusMessage": "string"
      }
   ],
   "NextToken": "string"
}
```

## Response Elements
<a name="API_ListLicenseServerEndpoints_ResponseElements"></a>

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

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

 ** [LicenseServerEndpoints](#API_ListLicenseServerEndpoints_ResponseSyntax) **   <a name="licensemanagerusersubscriptions-ListLicenseServerEndpoints-response-LicenseServerEndpoints"></a>
An array of `LicenseServerEndpoint` resources that contain detailed information about the RDS License Servers that meet the request criteria.  
Type: Array of [LicenseServerEndpoint](API_LicenseServerEndpoint.md) objects

 ** [NextToken](#API_ListLicenseServerEndpoints_ResponseSyntax) **   <a name="licensemanagerusersubscriptions-ListLicenseServerEndpoints-response-NextToken"></a>
The next token used for paginated responses. When this field isn't empty, there are additional elements that the service hasn't included in this request. Use this token with the next request to retrieve additional objects.  
Type: String

## Errors
<a name="API_ListLicenseServerEndpoints_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** 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

 ** 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
<a name="API_ListLicenseServerEndpoints_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/license-manager-user-subscriptions-2018-05-10/ListLicenseServerEndpoints) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/license-manager-user-subscriptions-2018-05-10/ListLicenseServerEndpoints) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/license-manager-user-subscriptions-2018-05-10/ListLicenseServerEndpoints) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/license-manager-user-subscriptions-2018-05-10/ListLicenseServerEndpoints) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/license-manager-user-subscriptions-2018-05-10/ListLicenseServerEndpoints) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/license-manager-user-subscriptions-2018-05-10/ListLicenseServerEndpoints) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/license-manager-user-subscriptions-2018-05-10/ListLicenseServerEndpoints) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/license-manager-user-subscriptions-2018-05-10/ListLicenseServerEndpoints) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/license-manager-user-subscriptions-2018-05-10/ListLicenseServerEndpoints) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/license-manager-user-subscriptions-2018-05-10/ListLicenseServerEndpoints) 