AWS SDK for C++
0.12.9
AWS SDK for C++
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
aws-cpp-sdk-s3
include
aws
s3
S3Errors.h
Go to the documentation of this file.
1
/*
2
* Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3
*
4
* Licensed under the Apache License, Version 2.0 (the "License").
5
* You may not use this file except in compliance with the License.
6
* A copy of the License is located at
7
*
8
* http://aws.amazon.com/apache2.0
9
*
10
* or in the "license" file accompanying this file. This file is distributed
11
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12
* express or implied. See the License for the specific language governing
13
* permissions and limitations under the License.
14
*/
15
#pragma once
16
17
#include <
aws/core/client/CoreErrors.h
>
18
#include <
aws/s3/S3_EXPORTS.h
>
19
20
namespace
Aws
21
{
22
namespace
S3
23
{
24
enum class
AWS_S3_API
S3Errors
25
{
26
//From Core//
28
INCOMPLETE_SIGNATURE
= 0,
29
INTERNAL_FAILURE
= 1,
30
INVALID_ACTION
= 2,
31
INVALID_CLIENT_TOKEN_ID
= 3,
32
INVALID_PARAMETER_COMBINATION
= 4,
33
INVALID_QUERY_PARAMETER
= 5,
34
INVALID_PARAMETER_VALUE
= 6,
35
MISSING_ACTION
= 7,
// SDK should never allow
36
MISSING_AUTHENTICATION_TOKEN
= 8,
// SDK should never allow
37
MISSING_PARAMETER
= 9,
// SDK should never allow
38
OPT_IN_REQUIRED
= 10,
39
REQUEST_EXPIRED
= 11,
40
SERVICE_UNAVAILABLE
= 12,
41
THROTTLING
= 13,
42
VALIDATION
= 14,
43
ACCESS_DENIED
= 15,
44
RESOURCE_NOT_FOUND
= 16,
45
UNRECOGNIZED_CLIENT
= 17,
46
MALFORMED_QUERY_STRING
= 18,
47
NETWORK_CONNECTION
= 99,
48
UNKNOWN
= 100,
50
51
BUCKET_ALREADY_EXISTS
=
static_cast<
int
>
(Client::CoreErrors::SERVICE_EXTENSION_START_RANGE) + 1,
52
BUCKET_ALREADY_OWNED_BY_YOU
,
53
NO_SUCH_BUCKET
,
54
NO_SUCH_KEY
,
55
NO_SUCH_UPLOAD
,
56
OBJECT_ALREADY_IN_ACTIVE_TIER
,
57
OBJECT_NOT_IN_ACTIVE_TIER
58
};
59
namespace
S3ErrorMapper
60
{
61
AWS_S3_API
Client::AWSError<Client::CoreErrors>
GetErrorForName
(
const
char
* errorName);
62
}
63
64
}
// namespace S3
65
}
// namespace Aws
CoreErrors.h
INVALID_CLIENT_TOKEN_ID
INVALID_CLIENT_TOKEN_ID
Definition:
S3Errors.h:31
INVALID_ACTION
INVALID_ACTION
Definition:
S3Errors.h:30
Aws::CodeDeploy::Model::RevisionLocationType::S3
INVALID_PARAMETER_COMBINATION
INVALID_PARAMETER_COMBINATION
Definition:
S3Errors.h:32
BUCKET_ALREADY_OWNED_BY_YOU
BUCKET_ALREADY_OWNED_BY_YOU
Definition:
S3Errors.h:51
MISSING_ACTION
MISSING_ACTION
Definition:
S3Errors.h:35
RESOURCE_NOT_FOUND
RESOURCE_NOT_FOUND
Definition:
S3Errors.h:44
NO_SUCH_UPLOAD
NO_SUCH_UPLOAD
Definition:
S3Errors.h:51
Aws::S3::S3ErrorMapper::GetErrorForName
AWS_S3_API Client::AWSError< Client::CoreErrors > GetErrorForName(const char *errorName)
AWS_S3_API
#define AWS_S3_API
Definition:
S3_EXPORTS.h:34
BUCKET_ALREADY_EXISTS
BUCKET_ALREADY_EXISTS
Definition:
S3Errors.h:51
INCOMPLETE_SIGNATURE
INCOMPLETE_SIGNATURE
Definition:
S3Errors.h:28
MISSING_PARAMETER
MISSING_PARAMETER
Definition:
S3Errors.h:37
INVALID_PARAMETER_VALUE
INVALID_PARAMETER_VALUE
Definition:
S3Errors.h:34
SERVICE_UNAVAILABLE
SERVICE_UNAVAILABLE
Definition:
S3Errors.h:40
NO_SUCH_BUCKET
NO_SUCH_BUCKET
Definition:
S3Errors.h:51
VALIDATION
VALIDATION
Definition:
S3Errors.h:42
Aws::Client::AWSError
Definition:
AWSClient.h:71
NO_SUCH_KEY
NO_SUCH_KEY
Definition:
S3Errors.h:51
OPT_IN_REQUIRED
OPT_IN_REQUIRED
Definition:
S3Errors.h:38
NETWORK_CONNECTION
NETWORK_CONNECTION
Definition:
S3Errors.h:47
UNRECOGNIZED_CLIENT
UNRECOGNIZED_CLIENT
Definition:
S3Errors.h:45
S3_EXPORTS.h
MALFORMED_QUERY_STRING
MALFORMED_QUERY_STRING
Definition:
S3Errors.h:46
THROTTLING
THROTTLING
Definition:
S3Errors.h:41
INTERNAL_FAILURE
INTERNAL_FAILURE
Definition:
S3Errors.h:29
INVALID_QUERY_PARAMETER
INVALID_QUERY_PARAMETER
Definition:
S3Errors.h:33
UNKNOWN
UNKNOWN
Definition:
ACMErrors.h:48
REQUEST_EXPIRED
REQUEST_EXPIRED
Definition:
S3Errors.h:39
OBJECT_ALREADY_IN_ACTIVE_TIER
OBJECT_ALREADY_IN_ACTIVE_TIER
Definition:
S3Errors.h:51
MISSING_AUTHENTICATION_TOKEN
MISSING_AUTHENTICATION_TOKEN
Definition:
S3Errors.h:36
Aws
JSON (JavaScript Object Notation).
Definition:
AccessManagementClient.h:24
ACCESS_DENIED
ACCESS_DENIED
Definition:
S3Errors.h:43
Generated by
1.8.11