updateOrganizationConfiguration method

Future<UpdateOrganizationConfigurationResponse> updateOrganizationConfiguration({
  1. required AutoEnable autoEnable,
})

Updates the configurations for your Amazon Inspector organization.

May throw AccessDeniedException. May throw InternalServerException. May throw ThrottlingException. May throw ValidationException.

Parameter autoEnable : Defines which scan types are enabled automatically for new members of your Amazon Inspector organization.

Implementation

Future<UpdateOrganizationConfigurationResponse>
    updateOrganizationConfiguration({
  required AutoEnable autoEnable,
}) async {
  final $payload = <String, dynamic>{
    'autoEnable': autoEnable,
  };
  final response = await _protocol.send(
    payload: $payload,
    method: 'POST',
    requestUri: '/organizationconfiguration/update',
    exceptionFnMap: _exceptionFns,
  );
  return UpdateOrganizationConfigurationResponse.fromJson(response);
}