/*
* Copyright 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.Threading;
using Amazon.Glacier.Model;
using Amazon.Glacier.Model.Internal.MarshallTransformations;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Auth;
using Amazon.Runtime.Internal.Transform;
namespace Amazon.Glacier
{
///
/// Implementation for accessing AmazonGlacier.
///
/// Amazon Glacier is a storage solution for "cold data." Amazon Glacier is an extremely low-cost storage service that
/// provides secure, durable, and easy-to-use storage for data backup and archival. With Amazon Glacier, customers can store their data cost
/// effectively for months, years, or decades. Amazon Glacier also enables customers to offload the administrative burdens of operating and
/// scaling storage to AWS, so they don't have to worry about capacity planning, hardware provisioning, data replication, hardware failure and
/// recovery, or time-consuming hardware migrations. Amazon Glacier is a great storage choice when low storage cost is paramount,
/// your data is rarely retrieved, and retrieval latency of several hours is acceptable. If your application requires fast or frequent access to
/// your data, consider using Amazon S3. For more information, go to Amazon Simple Storage Service (Amazon S3). You can store any
/// kind of data in any format. There is no maximum limit on the total amount of data you can store in Amazon Glacier. If you are
/// a first-time user of Amazon Glacier, we recommend that you begin by reading the following sections in the Amazon Glacier Developer
/// Guide :
///
/// - What is Amazon Glacier - This section of the Developer Guide describes the underlying data model, the operations it supports,
/// and the AWS SDKs that you can use to interact with the service.
/// - Getting Started with Amazon Glacier - The Getting Started section walks you through the process of creating a vault, uploading
/// archives, creating jobs to download archives, retrieving the job output, and deleting archives.
///
///
///
public partial class AmazonGlacierClient : AmazonServiceClient, IAmazonGlacier
{
///
/// Specialize the initialize of the client.
///
protected override void Initialize()
{
var clientConfig = this.Config as ClientConfig;
if (clientConfig != null)
{
clientConfig.SetUseNagleIfAvailable(true);
clientConfig.ResignRetries = true;
}
base.Initialize();
}
}
}