disassociateSigninDelegateGroupsFromAccount method

Future<void> disassociateSigninDelegateGroupsFromAccount({
  1. required String accountId,
  2. required List<String> groupNames,
})

Disassociates the specified sign-in delegate groups from the specified Amazon Chime account.

May throw BadRequestException. May throw ForbiddenException. May throw NotFoundException. May throw ServiceFailureException. May throw ServiceUnavailableException. May throw ThrottledClientException. May throw UnauthorizedClientException.

Parameter accountId : The Amazon Chime account ID.

Parameter groupNames : The sign-in delegate group names.

Implementation

Future<void> disassociateSigninDelegateGroupsFromAccount({
  required String accountId,
  required List<String> groupNames,
}) async {
  final $payload = <String, dynamic>{
    'GroupNames': groupNames,
  };
  final response = await _protocol.send(
    payload: $payload,
    method: 'POST',
    requestUri:
        '/accounts/${Uri.encodeComponent(accountId)}?operation=disassociate-signin-delegate-groups',
    exceptionFnMap: _exceptionFns,
  );
}