Metadata-Version: 2.1
Name: aws-cloudwatch-logs-url
Version: 1.0.2
Summary: generate AWS CloudWatch Logs URL
Home-page: https://github.com/sinofseven/cloudwatch-logs-url-python
License: MIT
Author: sinofseven
Author-email: em.s.00001@gmail.com
Requires-Python: >=3.8.12
Classifier: Development Status :: 4 - Beta
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.8
Classifier: Topic :: Utilities
Project-URL: Repository, https://github.com/sinofseven/cloudwatch-logs-url-python
Description-Content-Type: text/markdown

# aws-cloudwatch-logs-url [![PypiBadge]][Pypi]

[PypiBadge]: https://img.shields.io/pypi/v/aws-cloudwatch-logs-url
[Pypi]: https://pypi.org/project/aws-cloudwatch-logs-url/

Generate AWS CloudWatch Logs URL

## Install

```bash
$ pip install aws-cloudwatch-logs-url
```

## How to use
### create_url_log_group()
```python
from aws_cloudwatch_logs_url import create_url_log_group
url = create_url_log_group(
    region="string",
    log_group_name="string"
)
```
- region (string)
  **[REQUIRED]**
  AWS Region
- log_group_name (string)
  **[REQUIRED]**
  LogGroup Name

### create_url_log_events()
```python
from aws_cloudwatch_logs_url import create_url_log_events
url = create_url_log_events(
  region="string",
  log_group_name="string",
  log_stream_name="string",
  start=123,
  end=123,
  filter_pattern="string"
)
```
- region (string)  
  **[REQUIRED]**  
  AWS Region
- log_group_name (string)  
  **[REQUIRED]**  
  LogGroup Name
- log_stream_name (string)  
  LogStream Name
- start (integer)  
  The starting point of the period in milliseconds since UNIX epoch. To specify a relative time, provide a negative value in milliseconds. ex) The last 30 minutes = -1800000
- end (integer)  
  The ending point of the period in milliseconds since UNIX epoch.
- filter_pattern (string)  
  FilterPattern

## License

MIT © sinofseven

