associateSigninDelegateGroupsWithAccount method

Future<void> associateSigninDelegateGroupsWithAccount({
  1. required String accountId,
  2. required List<SigninDelegateGroup> signinDelegateGroups,
})

Associates the specified sign-in delegate groups with 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 signinDelegateGroups : The sign-in delegate groups.

Implementation

Future<void> associateSigninDelegateGroupsWithAccount({
  required String accountId,
  required List<SigninDelegateGroup> signinDelegateGroups,
}) async {
  ArgumentError.checkNotNull(accountId, 'accountId');
  ArgumentError.checkNotNull(signinDelegateGroups, 'signinDelegateGroups');
  final $payload = <String, dynamic>{
    'SigninDelegateGroups': signinDelegateGroups,
  };
  final response = await _protocol.send(
    payload: $payload,
    method: 'POST',
    requestUri:
        '/accounts/${Uri.encodeComponent(accountId)}?operation=associate-signin-delegate-groups',
    exceptionFnMap: _exceptionFns,
  );
}