deleteThemeForStack method

Future<void> deleteThemeForStack({
  1. required String stackName,
})

Deletes custom branding that customizes the appearance of the streaming application catalog page.

May throw ConcurrentModificationException. May throw OperationNotPermittedException. May throw ResourceNotFoundException.

Parameter stackName : The name of the stack for the theme.

Implementation

Future<void> deleteThemeForStack({
  required String stackName,
}) async {
  final headers = <String, String>{
    'Content-Type': 'application/x-amz-json-1.1',
    'X-Amz-Target': 'PhotonAdminProxyService.DeleteThemeForStack'
  };
  await _protocol.send(
    method: 'POST',
    requestUri: '/',
    exceptionFnMap: _exceptionFns,
    // TODO queryParams
    headers: headers,
    payload: {
      'StackName': stackName,
    },
  );
}