describeAuditStreamConfiguration method

Future<DescribeAuditStreamConfigurationResponse> describeAuditStreamConfiguration({
  1. required String fleetArn,
})

Describes the configuration for delivering audit streams to the customer account.

May throw UnauthorizedException. May throw InternalServerErrorException. May throw InvalidRequestException. May throw ResourceNotFoundException. May throw TooManyRequestsException.

Parameter fleetArn : The ARN of the fleet.

Implementation

Future<DescribeAuditStreamConfigurationResponse>
    describeAuditStreamConfiguration({
  required String fleetArn,
}) async {
  ArgumentError.checkNotNull(fleetArn, 'fleetArn');
  _s.validateStringLength(
    'fleetArn',
    fleetArn,
    20,
    2048,
    isRequired: true,
  );
  final $payload = <String, dynamic>{
    'FleetArn': fleetArn,
  };
  final response = await _protocol.send(
    payload: $payload,
    method: 'POST',
    requestUri: '/describeAuditStreamConfiguration',
    exceptionFnMap: _exceptionFns,
  );
  return DescribeAuditStreamConfigurationResponse.fromJson(response);
}