putMLConfiguration method

Future<void> putMLConfiguration({
  1. required MLOutputConfiguration defaultOutputLocation,
  2. required String membershipIdentifier,
})

Assigns information about an ML configuration.

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

Parameter defaultOutputLocation : The default Amazon S3 location where ML output is stored for the specified member.

Parameter membershipIdentifier : The membership ID of the member that is being configured.

Implementation

Future<void> putMLConfiguration({
  required MLOutputConfiguration defaultOutputLocation,
  required String membershipIdentifier,
}) async {
  final $payload = <String, dynamic>{
    'defaultOutputLocation': defaultOutputLocation,
  };
  await _protocol.send(
    payload: $payload,
    method: 'PUT',
    requestUri:
        '/memberships/${Uri.encodeComponent(membershipIdentifier)}/ml-configurations',
    exceptionFnMap: _exceptionFns,
  );
}