deleteLicenseServerEndpoint method
Future<DeleteLicenseServerEndpointResponse>
deleteLicenseServerEndpoint({
- required String licenseServerEndpointArn,
- required ServerType serverType,
Deletes a LicenseServerEndpoint resource.
May throw AccessDeniedException.
May throw ConflictException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ServiceQuotaExceededException.
May throw ThrottlingException.
May throw ValidationException.
Parameter licenseServerEndpointArn :
The Amazon Resource Name (ARN) that identifies the
LicenseServerEndpoint resource to delete.
Parameter serverType :
The type of License Server that the delete request refers to.
Implementation
Future<DeleteLicenseServerEndpointResponse> deleteLicenseServerEndpoint({
required String licenseServerEndpointArn,
required ServerType serverType,
}) async {
final $payload = <String, dynamic>{
'LicenseServerEndpointArn': licenseServerEndpointArn,
'ServerType': serverType.value,
};
final response = await _protocol.send(
payload: $payload,
method: 'POST',
requestUri: '/license-server/DeleteLicenseServerEndpoint',
exceptionFnMap: _exceptionFns,
);
return DeleteLicenseServerEndpointResponse.fromJson(response);
}