> **Experimental**
>
> `@aws-cdk/integ-tests-alpha` is an [**experimental**](/stability) (alpha) package: its API may change in any release, without a major version bump.
# AwsApiCallOptions

Options to perform an AWS JavaScript V2 API call.

Extends: AwsApiCallOptions
Extends: ProviderOptions

- Stability: [Experimental](/cdk/api/stability.html)
- Source: [`lib/assertions/sdk.ts`](https://github.com/aws/aws-cdk/blob/v2.275.0-alpha.0/packages/@aws-cdk/integ-tests-alpha/lib/assertions/sdk.ts#L16)

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as integ_tests_alpha from '@aws-cdk/integ-tests-alpha';
import { aws_lambda as lambda } from 'aws-cdk-lib';

declare const parameters: any;
const awsApiCallOptions: integ_tests_alpha.AwsApiCallOptions = {
  api: 'api',
  service: 'service',

  // the properties below are optional
  outputPaths: ['outputPaths'],
  parameters: parameters,
  providerLogLevel: lambda.ApplicationLogLevel.INFO,
};
```

## Properties

- `api`: string (required) — The api call to make, i.e. getBucketLifecycle.

- `outputPaths`: string[] — Restrict the data returned by the API call to specific paths in the API response.

  **Default:** return all data

  Use this to limit the data returned by the custom
  resource if working with API calls that could potentially result in custom
  response objects exceeding the hard limit of 4096 bytes.

- `parameters`: any — Any parameters to pass to the api call.

  **Default:** no parameters

- `providerLogLevel`: [ApplicationLogLevel](/cdk/api/v2/docs/aws-cdk-lib.aws_lambda.ApplicationLogLevel.html) = ApplicationLogLevel.FATAL — The log level of the provider lambda function.

- `service`: string (required) — The AWS service, i.e. S3.
