| 1 | #ifndef AWS_S3_ENDPOINT_RESOLVER_H |
| 2 | #define AWS_S3_ENDPOINT_RESOLVER_H |
| 3 | |
| 4 | /** |
| 5 | * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. |
| 6 | * SPDX-License-Identifier: Apache-2.0. |
| 7 | */ |
| 8 | |
| 9 | #include <aws/s3/s3.h> |
| 10 | AWS_PUSH_SANE_WARNING_LEVEL |
| 11 | |
| 12 | struct aws_endpoints_request_context; |
| 13 | struct aws_endpoints_rule_engine; |
| 14 | AWS_EXTERN_C_BEGIN |
| 15 | |
| 16 | /** |
| 17 | * Creates a new S3 endpoint resolver. |
| 18 | * Warning: Before using this header, you have to enable it by |
| 19 | * setting cmake config AWS_ENABLE_S3_ENDPOINT_RESOLVER=ON |
| 20 | */ |
| 21 | AWS_S3_API |
| 22 | struct aws_endpoints_rule_engine *aws_s3_endpoint_resolver_new(struct aws_allocator *allocator); |
| 23 | |
| 24 | AWS_EXTERN_C_END |
| 25 | AWS_POP_SANE_WARNING_LEVEL |
| 26 | #endif /* AWS_S3_ENDPOINT_RESOLVER_H */ |