describeWorkspacesConnectionStatus method
Describes the connection status of the specified WorkSpaces.
May throw InvalidParameterValuesException.
Parameter nextToken
:
If you received a NextToken
from a previous call that was
paginated, provide this token to receive the next set of results.
Parameter workspaceIds
:
The identifiers of the WorkSpaces. You can specify up to 25 WorkSpaces.
Implementation
Future<DescribeWorkspacesConnectionStatusResult>
describeWorkspacesConnectionStatus({
String? nextToken,
List<String>? workspaceIds,
}) async {
_s.validateStringLength(
'nextToken',
nextToken,
1,
2048,
);
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.1',
'X-Amz-Target': 'WorkspacesService.DescribeWorkspacesConnectionStatus'
};
final jsonResponse = await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
payload: {
if (nextToken != null) 'NextToken': nextToken,
if (workspaceIds != null) 'WorkspaceIds': workspaceIds,
},
);
return DescribeWorkspacesConnectionStatusResult.fromJson(jsonResponse.body);
}