modifyClientProperties method

Future<void> modifyClientProperties({
  1. required ClientProperties clientProperties,
  2. required String resourceId,
})

Modifies the properties of the specified Amazon WorkSpaces clients.

May throw AccessDeniedException. May throw InvalidParameterValuesException. May throw OperationNotSupportedException. May throw ResourceNotFoundException.

Parameter clientProperties : Information about the Amazon WorkSpaces client.

Parameter resourceId : The resource identifiers, in the form of directory IDs.

Implementation

Future<void> modifyClientProperties({
  required ClientProperties clientProperties,
  required String resourceId,
}) async {
  final headers = <String, String>{
    'Content-Type': 'application/x-amz-json-1.1',
    'X-Amz-Target': 'WorkspacesService.ModifyClientProperties'
  };
  await _protocol.send(
    method: 'POST',
    requestUri: '/',
    exceptionFnMap: _exceptionFns,
    // TODO queryParams
    headers: headers,
    payload: {
      'ClientProperties': clientProperties,
      'ResourceId': resourceId,
    },
  );
}