/* * Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ using System; using System.Collections.Generic; using System.Text; namespace Amazon.Runtime { /// /// The valid hashing algorithm supported by the sdk for request signing. /// public enum SigningAlgorithm { HmacSHA1, HmacSHA256 }; /// /// Which end of a request was responsible for a service error response. /// public enum ErrorType { /// /// The sender was responsible for the error, i.e. the client /// request failed validation or was improperly formatted. /// Sender, /// /// The error occured within the service. /// Receiver, /// /// An unrecognized error type was returned. /// Unknown } /// /// Sts Regional Endpoints Value determines whether or not /// to send the sts request to the regional endpoint or to /// the global sts endpoint /// public enum StsRegionalEndpointsValue { /// /// Send the request to the global sts endpoint /// if the region is a legacy global region /// Legacy, /// /// Send the request to the regional endpoint /// Regional } /// /// S3 US East 1 endpoint value determines wheter or not /// to send the us-east-1 s3 requests to the regional endpoint or to /// the legacy global endpoint /// public enum S3UsEast1RegionalEndpointValue { /// /// Sends the requests to the legacy global s3 endpoint for us-east-1 /// Legacy, /// /// Sends the request to the regional s3 endpoint for us-east-1 /// Regional } }