disassociateAppBlockBuilderAppBlock method

Future<void> disassociateAppBlockBuilderAppBlock({
  1. required String appBlockArn,
  2. required String appBlockBuilderName,
})

Disassociates a specified app block builder from a specified app block.

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

Parameter appBlockArn : The ARN of the app block.

Parameter appBlockBuilderName : The name of the app block builder.

Implementation

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