deleteProjectMembership method

Future<void> deleteProjectMembership({
  1. required String domainIdentifier,
  2. required Member member,
  3. required String projectIdentifier,
})

Deletes project membership in Amazon DataZone.

May throw AccessDeniedException. May throw InternalServerException. May throw ResourceNotFoundException. May throw ServiceQuotaExceededException. May throw ThrottlingException. May throw ValidationException.

Parameter domainIdentifier : The ID of the Amazon DataZone domain where project membership is deleted.

Parameter member : The project member whose project membership is deleted.

Parameter projectIdentifier : The ID of the Amazon DataZone project the membership to which is deleted.

Implementation

Future<void> deleteProjectMembership({
  required String domainIdentifier,
  required Member member,
  required String projectIdentifier,
}) async {
  final $payload = <String, dynamic>{
    'member': member,
  };
  final response = await _protocol.send(
    payload: $payload,
    method: 'POST',
    requestUri:
        '/v2/domains/${Uri.encodeComponent(domainIdentifier)}/projects/${Uri.encodeComponent(projectIdentifier)}/deleteMembership',
    exceptionFnMap: _exceptionFns,
  );
}