deleteDirectConnectGatewayAssociationProposal method
Future<DeleteDirectConnectGatewayAssociationProposalResult>
deleteDirectConnectGatewayAssociationProposal({
- required String proposalId,
Deletes the association proposal request between the specified Direct Connect gateway and virtual private gateway or transit gateway.
May throw DirectConnectServerException. May throw DirectConnectClientException.
Parameter proposalId
:
The ID of the proposal.
Implementation
Future<DeleteDirectConnectGatewayAssociationProposalResult>
deleteDirectConnectGatewayAssociationProposal({
required String proposalId,
}) async {
ArgumentError.checkNotNull(proposalId, 'proposalId');
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.1',
'X-Amz-Target':
'OvertureService.DeleteDirectConnectGatewayAssociationProposal'
};
final jsonResponse = await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
payload: {
'proposalId': proposalId,
},
);
return DeleteDirectConnectGatewayAssociationProposalResult.fromJson(
jsonResponse.body);
}