list_vm_entitlements
async
¶
list_vm_entitlements(
environment_id: EnvironmentId,
connector_id: ConnectorId,
entitlement_type: EntitlementType,
*,
config_overrides: Optional[AsyncevsClientConfig] = None,
next_token: Optional[PaginationToken] = None,
max_results: Optional[MaxResults] = None,
) -> ListVmEntitlementsResponse
Lists the Windows Server License entitlements for virtual machines in an Amazon EVS environment. Returns existing entitlements for virtual machines associated with the specified environment and connector.
Parameters:
-
next_token(Optional[PaginationToken], default:None) –A unique pagination token for each page. If
nextTokenis returned, there are more results available. Make the call again using the returned token with all other arguments unchanged to retrieve the next page. Each pagination token expires after 24 hours. Using an expired pagination token will return an HTTP 400 InvalidToken error. -
max_results(Optional[MaxResults], default:None) –The maximum number of results to return. If you specify
MaxResultsin the request, the response includes information up to the limit specified. -
environment_id(EnvironmentId) –A unique ID for the environment.
-
connector_id(ConnectorId) –A unique ID for the connector.
-
entitlement_type(EntitlementType) –The type of entitlement to list.
Raises:
-
ResourceNotFoundException–A service resource associated with the request could not be found. The resource might not be specified correctly, or it may have a
stateofDELETED. -
ValidationException–The input fails to satisfy the specified constraints. You will see this exception if invalid inputs are provided for any of the Amazon EVS environment operations, or if a list operation is performed on an environment resource that is still initializing.
-
UnknownServiceError–The service returned an error code this client does not model.