describeClientProperties method
Retrieves a list that describes one or more specified Amazon WorkSpaces clients.
May throw InvalidParameterValuesException. May throw ResourceNotFoundException. May throw AccessDeniedException.
Parameter resourceIds
:
The resource identifier, in the form of directory IDs.
Implementation
Future<DescribeClientPropertiesResult> describeClientProperties({
required List<String> resourceIds,
}) async {
ArgumentError.checkNotNull(resourceIds, 'resourceIds');
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.1',
'X-Amz-Target': 'WorkspacesService.DescribeClientProperties'
};
final jsonResponse = await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
payload: {
'ResourceIds': resourceIds,
},
);
return DescribeClientPropertiesResult.fromJson(jsonResponse.body);
}