updateIngestConfiguration method
Updates a specified IngestConfiguration. Only the stage ARN attached to the IngestConfiguration can be updated. An IngestConfiguration that is active cannot be updated.
May throw AccessDeniedException.
May throw ConflictException.
May throw PendingVerification.
May throw ResourceNotFoundException.
May throw ValidationException.
Parameter arn :
ARN of the IngestConfiguration, for which the related stage ARN needs to
be updated.
Parameter redundantIngest :
Indicates whether redundant ingest is enabled for the ingest
configuration. Default: false.
Parameter stageArn :
Stage ARN that needs to be updated.
Implementation
Future<UpdateIngestConfigurationResponse> updateIngestConfiguration({
required String arn,
bool? redundantIngest,
String? stageArn,
}) async {
final $payload = <String, dynamic>{
'arn': arn,
if (redundantIngest != null) 'redundantIngest': redundantIngest,
if (stageArn != null) 'stageArn': stageArn,
};
final response = await _protocol.send(
payload: $payload,
method: 'POST',
requestUri: '/UpdateIngestConfiguration',
exceptionFnMap: _exceptionFns,
);
return UpdateIngestConfigurationResponse.fromJson(response);
}