updateDashboardsQAConfiguration method
Future<UpdateDashboardsQAConfigurationResponse>
updateDashboardsQAConfiguration({
- required String awsAccountId,
- required DashboardsQAStatus dashboardsQAStatus,
Updates a Dashboard QA configuration.
May throw AccessDeniedException.
May throw ConflictException.
May throw InternalFailureException.
May throw InvalidParameterValueException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
Parameter awsAccountId :
The ID of the Amazon Web Services account that contains the dashboard QA
configuration that you want to update.
Parameter dashboardsQAStatus :
The status of dashboards QA configuration that you want to update.
Implementation
Future<UpdateDashboardsQAConfigurationResponse>
updateDashboardsQAConfiguration({
required String awsAccountId,
required DashboardsQAStatus dashboardsQAStatus,
}) async {
final $payload = <String, dynamic>{
'DashboardsQAStatus': dashboardsQAStatus.value,
};
final response = await _protocol.send(
payload: $payload,
method: 'PUT',
requestUri:
'/accounts/${Uri.encodeComponent(awsAccountId)}/dashboards-qa-configuration',
exceptionFnMap: _exceptionFns,
);
return UpdateDashboardsQAConfigurationResponse.fromJson(response);
}