dissociatePackages method
Dissociates multiple packages from a domain simultaneously.
May throw BaseException.
May throw ConflictException.
May throw DisabledOperationException.
May throw InternalException.
May throw ResourceNotFoundException.
May throw ValidationException.
Parameter packageList :
A list of package IDs to be dissociated from a domain.
Implementation
Future<DissociatePackagesResponse> dissociatePackages({
required String domainName,
required List<String> packageList,
}) async {
final $payload = <String, dynamic>{
'DomainName': domainName,
'PackageList': packageList,
};
final response = await _protocol.send(
payload: $payload,
method: 'POST',
requestUri: '/2021-01-01/packages/dissociateMultiple',
exceptionFnMap: _exceptionFns,
);
return DissociatePackagesResponse.fromJson(response);
}