putMeteredProduct method
Adds a metered product.
May throw AccessDeniedException.
May throw InternalServerErrorException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw ValidationException.
Parameter licenseEndpointId :
The license endpoint ID to add to the metered product.
Parameter productId :
The product ID to add to the metered product.
Implementation
Future<void> putMeteredProduct({
required String licenseEndpointId,
required String productId,
}) async {
final response = await _protocol.send(
payload: null,
method: 'PUT',
requestUri:
'/2023-10-12/license-endpoints/${Uri.encodeComponent(licenseEndpointId)}/metered-products/${Uri.encodeComponent(productId)}',
exceptionFnMap: _exceptionFns,
);
}