disassociateMergedGraphqlApi method
Deletes an association between a Merged API and source API using the source API's identifier and the association ID.
May throw BadRequestException.
May throw ConcurrentModificationException.
May throw InternalFailureException.
May throw NotFoundException.
May throw UnauthorizedException.
Parameter associationId :
The ID generated by the AppSync service for the source API association.
Parameter sourceApiIdentifier :
The identifier of the AppSync Source API. This is generated by the AppSync
service. In most cases, source APIs (especially in your account) only
require the API ID value or ARN of the source API. However, source APIs
from other accounts (cross-account use cases) strictly require the full
resource ARN of the source API.
Implementation
Future<DisassociateMergedGraphqlApiResponse> disassociateMergedGraphqlApi({
required String associationId,
required String sourceApiIdentifier,
}) async {
final response = await _protocol.send(
payload: null,
method: 'DELETE',
requestUri:
'/v1/sourceApis/${Uri.encodeComponent(sourceApiIdentifier)}/mergedApiAssociations/${Uri.encodeComponent(associationId)}',
exceptionFnMap: _exceptionFns,
);
return DisassociateMergedGraphqlApiResponse.fromJson(response);
}