deleteGatewayGroup method
Deletes a gateway group.
May throw ResourceAssociatedException.
Parameter gatewayGroupArn
:
The ARN of the gateway group to delete.
Implementation
Future<void> deleteGatewayGroup({
required String gatewayGroupArn,
}) async {
ArgumentError.checkNotNull(gatewayGroupArn, 'gatewayGroupArn');
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.1',
'X-Amz-Target': 'AlexaForBusiness.DeleteGatewayGroup'
};
await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
payload: {
'GatewayGroupArn': gatewayGroupArn,
},
);
}