---
title: "TestS3ExportConnection"
method: POST
path: "/textql.rpc.public.audit_log.AuditLogService/TestS3ExportConnection"
tags: ["AuditLogService"]
---

# TestS3ExportConnection

`POST /textql.rpc.public.audit_log.AuditLogService/TestS3ExportConnection`

## Headers

- `Connect-Protocol-Version` 1, required — Define the version of the Connect protocol
- `Connect-Timeout-Ms` number — Define the timeout, in ms

## Request body

- TextqlRpcPublicAuditLogTestS3ExportConnectionRequest
  - `bucket` string
  - `region` string
  - `awsAccessKeyId` string
  - `awsSecretAccessKey` string
  - `authMode` 'S3_AUTH_MODE_UNSPECIFIED' | 'S3_AUTH_MODE_ACCESS_KEY' | 'S3_AUTH_MODE_ASSUME_ROLE'
  - `roleArn` string
  - `externalId` string

## Response `200`

Success

- TextqlRpcPublicAuditLogTestS3ExportConnectionResponse
  - `success` boolean
  - `errorMessage` string

## Other responses

- `default` — Error

---

[API](https://skmtc.net/textql/apis/textql-rpc-platform.md) · [All operations](https://skmtc.net/textql/apis/textql-rpc-platform/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/textql/textql-rpc-platform/revisions/31ce2b0c4427/schema)
