deleteGroupMembership method
Delete a membership within a group given MembershipId.
May throw ConflictException.
May throw ResourceNotFoundException.
May throw ValidationException.
Parameter identityStoreId :
The globally unique identifier for the identity store.
Parameter membershipId :
The identifier for a GroupMembership in an identity store.
Implementation
Future<void> deleteGroupMembership({
required String identityStoreId,
required String membershipId,
}) async {
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.1',
'X-Amz-Target': 'AWSIdentityStore.DeleteGroupMembership'
};
await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
payload: {
'IdentityStoreId': identityStoreId,
'MembershipId': membershipId,
},
);
}