AWSClientError
public enum AWSClientError : AWSErrorType
extension AWSClientError : CustomStringConvertible
Error type for standard client errors returned by AWS
-
The provided credentials could not be validated. You may not be authorized to carry out the request; for example, associating an Elastic IP address that is not yours, or trying to use an AMI for which you do not have permissions. Ensure that your account is authorized to use the Amazon EC2 service, that your credit card details are correct, and that you are using the correct access keys.
Declaration
Swift
case authFailure(message: String?)
-
Your account is currently blocked. Contact aws-verification@amazon.com if you have questions.
Declaration
Swift
case blocked(message: String?)
-
The user has the required permissions, so the request would have succeeded, but the DryRun parameter was used.
Declaration
Swift
case dryRunOperation(message: String?)
-
The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.
Declaration
Swift
case idempotentParameterMismatch(message: String?)
-
The request signature does not conform to AWS standards.
Declaration
Swift
case incompleteSignature(message: String?)
-
The action or operation requested is not valid. Verify that the action is typed correctly.
Declaration
Swift
case invalidAction(message: String?)
-
A specified character is invalid.
Declaration
Swift
case invalidCharacter(message: String?)
-
The X.509 certificate or AWS access key ID provided does not exist in our records.
Declaration
Swift
case invalidClientTokenId(message: String?)
-
The specified pagination token is not valid or is expired.
Declaration
Swift
case invalidPaginationToken(message: String?)
-
A parameter specified in a request is not valid, is unsupported, or cannot be used. The returned message provides an explanation of the error value. For example, if you are launching an instance, you can’t specify a security group and subnet that are in different VPCs.
Declaration
Swift
case invalidParameter(message: String?)
-
Indicates an incorrect combination of parameters, or a missing parameter. For example, trying to terminate an instance without specifying the instance ID.
Declaration
Swift
case invalidParameterCombination(message: String?)
-
A value specified in a parameter is not valid, is unsupported, or cannot be used. Ensure that you specify a resource by using its full ID. The returned message provides an explanation of the error value.
Declaration
Swift
case invalidParameterValue(message: String?)
-
The AWS query string is malformed or does not adhere to AWS standards.
Declaration
Swift
case invalidQueryParameter(message: String?)
-
The query string contains a syntax error.
Declaration
Swift
case malformedQueryString(message: String?)
-
The request is missing an action or a required parameter.
Declaration
Swift
case missingAction(message: String?)
-
The request must contain either a valid (registered) AWS access key ID or X.509 certificate.
Declaration
Swift
case missingAuthenticationToken(message: String?)
-
The request is missing a required parameter. Ensure that you have supplied all the required parameters for the request; for example, the resource ID.
Declaration
Swift
case missingParameter(message: String?)
-
You are not authorized to use the requested service. Ensure that you have subscribed to the service you are trying to use. If you are new to AWS, your account might take some time to be activated while your credit card details are being verified.
Declaration
Swift
case optInRequired(message: String?)
-
Your account is pending verification. Until the verification process is complete, you may not be able to carry out requests with this account. If you have questions, contact AWS Support.
Declaration
Swift
case pendingVerification(message: String?)
-
The request reached the service more than 15 minutes after the date stamp on the request or more than 15 minutes after the request expiration date (such as for pre-signed URLs), or the date stamp on the request is more than 15 minutes in the future. If you’re using temporary security credentials, this error can also occur if the credentials have expired. For more information, see Temporary Security Credentials in the IAM User Guide.
Declaration
Swift
case requestExpired(message: String?)
-
You are not authorized to perform this operation. Check your IAM policies, and ensure that you are using the correct access keys. For more information, see Controlling Access. If the returned message is encoded, you can decode it using the DecodeAuthorizationMessage action. For more information, see DecodeAuthorizationMessage in the AWS Security Token Service API Reference.
Declaration
Swift
case unauthorizedOperation(message: String?)
-
An unknown or unrecognized parameter was supplied. Requests that could cause this error include supplying a misspelled parameter or a parameter that is not supported for the specified API version.
Declaration
Swift
case unknownParameter(message: String?)
-
The specified attribute cannot be modified.
Declaration
Swift
case unsupportedInstanceAttribute(message: String?)
-
The specified request includes an unsupported operation. For example, you can’t stop an instance that’s instance store-backed. Or you might be trying to launch an instance type that is not supported by the specified AMI. The returned message provides details of the unsupported operation.
Declaration
Swift
case unsupportedOperation(message: String?)
-
SOAP has been deprecated and is no longer supported. For more information, see SOAP Requests.
Declaration
Swift
case unsupportedProtocol(message: String?)
-
The input fails to satisfy the constraints specified by an AWS service.
Declaration
Swift
case validationError(message: String?)
-
Declaration
Swift
case accessDenied(message: String?)
-
Declaration
Swift
case signatureDoesNotMatch(message: String?)
-
Undocumented
Declaration
Swift
public init?(errorCode: String, message: String?)
-
Declaration
Swift
public var description: String { get }