startAudienceExportJob method
Export an audience of a specified size after you have generated an audience.
May throw AccessDeniedException.
May throw ConflictException.
May throw ResourceNotFoundException.
May throw ServiceQuotaExceededException.
May throw ValidationException.
Parameter audienceGenerationJobArn :
The Amazon Resource Name (ARN) of the audience generation job that you
want to export.
Parameter name :
The name of the audience export job.
Parameter description :
The description of the audience export job.
Implementation
Future<void> startAudienceExportJob({
required String audienceGenerationJobArn,
required AudienceSize audienceSize,
required String name,
String? description,
}) async {
final $payload = <String, dynamic>{
'audienceGenerationJobArn': audienceGenerationJobArn,
'audienceSize': audienceSize,
'name': name,
if (description != null) 'description': description,
};
await _protocol.send(
payload: $payload,
method: 'POST',
requestUri: '/audience-export-job',
exceptionFnMap: _exceptionFns,
);
}