diff options
author | orivej <orivej@yandex-team.ru> | 2022-02-10 16:44:49 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:44:49 +0300 |
commit | 718c552901d703c502ccbefdfc3c9028d608b947 (patch) | |
tree | 46534a98bbefcd7b1f3faa5b52c138ab27db75b7 /contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/S3Endpoint.h | |
parent | e9656aae26e0358d5378e5b63dcac5c8dbe0e4d0 (diff) | |
download | ydb-718c552901d703c502ccbefdfc3c9028d608b947.tar.gz |
Restoring authorship annotation for <orivej@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/S3Endpoint.h')
-rw-r--r-- | contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/S3Endpoint.h | 86 |
1 files changed, 43 insertions, 43 deletions
diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/S3Endpoint.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/S3Endpoint.h index 9c41507218..b3c84347ff 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/S3Endpoint.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/S3Endpoint.h @@ -1,43 +1,43 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#pragma once -#include <aws/s3/S3_EXPORTS.h> -#include <aws/core/Region.h> -#include <aws/core/utils/memory/stl/AWSString.h> -#include <aws/s3/S3ARN.h> - -namespace Aws -{ - -namespace S3 -{ -namespace S3Endpoint -{ - /** - * Compute endpoint based on region. - * @param regionName The AWS region used in the endpoint - * @param useDualStack Using dual-stack endpoint if true - * @param USEast1UseRegionalEndpoint Using global endpoint for us-east-1 if the value is LEGACY, or using regional endpoint if it's REGIONAL - */ - AWS_S3_API Aws::String ForRegion(const Aws::String& regionName, bool useDualStack = false, bool USEast1UseRegionalEndpoint = false); - - /** - * Compute endpoint based on Access Point ARN. - * @param arn The S3 Access Point ARN - * @param regionNameOverride Override region name in ARN if it's not empty - * @param useDualStack Using dual-stack endpoint if true - */ - AWS_S3_API Aws::String ForAccessPointArn(const S3ARN& arn, const Aws::String& regionNameOverride = "", bool useDualStack = false); - - /** - * Compute endpoint based on Outposts ARN. - * @param arn The S3 Outposts ARN - * @param regionNameOverride Override region name in ARN if it's not empty - */ - AWS_S3_API Aws::String ForOutpostsArn(const S3ARN& arn, const Aws::String& regionNameOverride = ""); -} // namespace S3Endpoint -} // namespace S3 -} // namespace Aws +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include <aws/s3/S3_EXPORTS.h> +#include <aws/core/Region.h> +#include <aws/core/utils/memory/stl/AWSString.h> +#include <aws/s3/S3ARN.h> + +namespace Aws +{ + +namespace S3 +{ +namespace S3Endpoint +{ + /** + * Compute endpoint based on region. + * @param regionName The AWS region used in the endpoint + * @param useDualStack Using dual-stack endpoint if true + * @param USEast1UseRegionalEndpoint Using global endpoint for us-east-1 if the value is LEGACY, or using regional endpoint if it's REGIONAL + */ + AWS_S3_API Aws::String ForRegion(const Aws::String& regionName, bool useDualStack = false, bool USEast1UseRegionalEndpoint = false); + + /** + * Compute endpoint based on Access Point ARN. + * @param arn The S3 Access Point ARN + * @param regionNameOverride Override region name in ARN if it's not empty + * @param useDualStack Using dual-stack endpoint if true + */ + AWS_S3_API Aws::String ForAccessPointArn(const S3ARN& arn, const Aws::String& regionNameOverride = "", bool useDualStack = false); + + /** + * Compute endpoint based on Outposts ARN. + * @param arn The S3 Outposts ARN + * @param regionNameOverride Override region name in ARN if it's not empty + */ + AWS_S3_API Aws::String ForOutpostsArn(const S3ARN& arn, const Aws::String& regionNameOverride = ""); +} // namespace S3Endpoint +} // namespace S3 +} // namespace Aws |