Skip to main content

SDK client

Last update:

To work with logs, you can configure your own SDK client using Python or Go.

For an SDK client, you can:

  • specify configurations of the configured AWS CLI;
  • override AWS CLI configurations;
  • specify custom configurations.
  1. Open the CLI.

  2. Install boto3 to configure dependencies:

    pip install boto3
  3. Configure the AWS CLI.

  4. Configure the client with the configurations you specified for AWS CLI:

    import boto3

    client = boto3.client('logs')