associateSourceServers method
Associate source servers to application.
May throw ConflictException.
May throw ResourceNotFoundException.
May throw ServiceQuotaExceededException.
May throw UninitializedAccountException.
Parameter applicationID :
Application ID.
Parameter sourceServerIDs :
Source server IDs list.
Parameter accountID :
Account ID.
Implementation
Future<void> associateSourceServers({
required String applicationID,
required List<String> sourceServerIDs,
String? accountID,
}) async {
final $payload = <String, dynamic>{
'applicationID': applicationID,
'sourceServerIDs': sourceServerIDs,
if (accountID != null) 'accountID': accountID,
};
final response = await _protocol.send(
payload: $payload,
method: 'POST',
requestUri: '/AssociateSourceServers',
exceptionFnMap: _exceptionFns,
);
}