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 UnauthorizedClientException. May throw NotFoundException. May throw ForbiddenException. May throw BadRequestException. May throw ThrottledClientException. May throw ServiceUnavailableException. May throw ServiceFailureException.

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 {
  ArgumentError.checkNotNull(accountId, 'accountId');
  ArgumentError.checkNotNull(groupNames, 'groupNames');
  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,
  );
}