S3ErrorMarshaller.h 651 B

12345678910111213141516171819202122232425
  1. /**
  2. * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
  3. * SPDX-License-Identifier: Apache-2.0.
  4. */
  5. #pragma once
  6. #include <aws/s3/S3_EXPORTS.h>
  7. #include <aws/core/client/AWSErrorMarshaller.h>
  8. namespace Aws
  9. {
  10. namespace Client
  11. {
  12. class AWS_S3_API S3ErrorMarshaller : public Aws::Client::XmlErrorMarshaller
  13. {
  14. public:
  15. Aws::Client::AWSError<Aws::Client::CoreErrors> FindErrorByName(const char* exceptionName) const override;
  16. virtual Aws::String ExtractRegion(const AWSError<CoreErrors>&) const override;
  17. virtual Aws::String ExtractEndpoint(const AWSError<CoreErrors>&) const override;
  18. };
  19. } // namespace Client
  20. } // namespace Aws