2017-05-11 16:39:54 +02:00
|
|
|
|
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
|
|
|
|
|
|
|
|
|
|
// Package storagegateway provides the client and types for making API
|
|
|
|
|
// requests to AWS Storage Gateway.
|
|
|
|
|
//
|
|
|
|
|
// AWS Storage Gateway is the service that connects an on-premises software
|
|
|
|
|
// appliance with cloud-based storage to provide seamless and secure integration
|
|
|
|
|
// between an organization's on-premises IT environment and AWS's storage infrastructure.
|
|
|
|
|
// The service enables you to securely upload data to the AWS cloud for cost
|
|
|
|
|
// effective backup and rapid disaster recovery.
|
|
|
|
|
//
|
|
|
|
|
// Use the following links to get started using the AWS Storage Gateway Service
|
|
|
|
|
// API Reference:
|
|
|
|
|
//
|
|
|
|
|
// * AWS Storage Gateway Required Request Headers (http://docs.aws.amazon.com/storagegateway/latest/userguide/AWSStorageGatewayAPI.html#AWSStorageGatewayHTTPRequestsHeaders):
|
|
|
|
|
// Describes the required headers that you must send with every POST request
|
|
|
|
|
// to AWS Storage Gateway.
|
|
|
|
|
//
|
|
|
|
|
// * Signing Requests (http://docs.aws.amazon.com/storagegateway/latest/userguide/AWSStorageGatewayAPI.html#AWSStorageGatewaySigningRequests):
|
|
|
|
|
// AWS Storage Gateway requires that you authenticate every request you send;
|
|
|
|
|
// this topic describes how sign such a request.
|
|
|
|
|
//
|
|
|
|
|
// * Error Responses (http://docs.aws.amazon.com/storagegateway/latest/userguide/AWSStorageGatewayAPI.html#APIErrorResponses):
|
|
|
|
|
// Provides reference information about AWS Storage Gateway errors.
|
|
|
|
|
//
|
|
|
|
|
// * Operations in AWS Storage Gateway (http://docs.aws.amazon.com/storagegateway/latest/APIReference/API_Operations.html):
|
|
|
|
|
// Contains detailed descriptions of all AWS Storage Gateway operations,
|
|
|
|
|
// their request parameters, response elements, possible errors, and examples
|
|
|
|
|
// of requests and responses.
|
|
|
|
|
//
|
2017-09-30 16:27:27 +02:00
|
|
|
|
// * AWS Storage Gateway Regions and Endpoints: (http://docs.aws.amazon.com/general/latest/gr/rande.html#sg_region)
|
2017-07-23 09:51:42 +02:00
|
|
|
|
// Provides a list of each region and endpoints available for use with AWS
|
|
|
|
|
// Storage Gateway.
|
2017-05-11 16:39:54 +02:00
|
|
|
|
//
|
|
|
|
|
// AWS Storage Gateway resource IDs are in uppercase. When you use these resource
|
|
|
|
|
// IDs with the Amazon EC2 API, EC2 expects resource IDs in lowercase. You must
|
|
|
|
|
// change your resource ID to lowercase to use it with the EC2 API. For example,
|
2017-07-23 09:51:42 +02:00
|
|
|
|
// in Storage Gateway the ID for a volume might be vol-AA22BB012345DAF670. When
|
|
|
|
|
// you use this ID with the EC2 API, you must change it to vol-aa22bb012345daf670.
|
|
|
|
|
// Otherwise, the EC2 API might not behave as expected.
|
2017-05-11 16:39:54 +02:00
|
|
|
|
//
|
|
|
|
|
// IDs for Storage Gateway volumes and Amazon EBS snapshots created from gateway
|
|
|
|
|
// volumes are changing to a longer format. Starting in December 2016, all new
|
|
|
|
|
// volumes and snapshots will be created with a 17-character string. Starting
|
|
|
|
|
// in April 2016, you will be able to use these longer IDs so you can test your
|
|
|
|
|
// systems with the new format. For more information, see Longer EC2 and EBS
|
|
|
|
|
// Resource IDs (https://aws.amazon.com/ec2/faqs/#longer-ids).
|
|
|
|
|
//
|
2017-07-23 09:51:42 +02:00
|
|
|
|
// For example, a volume Amazon Resource Name (ARN) with the longer volume
|
|
|
|
|
// ID format looks like the following:
|
2017-05-11 16:39:54 +02:00
|
|
|
|
//
|
|
|
|
|
// arn:aws:storagegateway:us-west-2:111122223333:gateway/sgw-12A3456B/volume/vol-1122AABBCCDDEEFFG.
|
|
|
|
|
//
|
2017-07-23 09:51:42 +02:00
|
|
|
|
// A snapshot ID with the longer ID format looks like the following: snap-78e226633445566ee.
|
2017-05-11 16:39:54 +02:00
|
|
|
|
//
|
|
|
|
|
// For more information, see Announcement: Heads-up – Longer AWS Storage Gateway
|
|
|
|
|
// volume and snapshot IDs coming in 2016 (https://forums.aws.amazon.com/ann.jspa?annID=3557).
|
|
|
|
|
//
|
|
|
|
|
// See https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30 for more information on this service.
|
|
|
|
|
//
|
|
|
|
|
// See storagegateway package documentation for more information.
|
|
|
|
|
// https://docs.aws.amazon.com/sdk-for-go/api/service/storagegateway/
|
|
|
|
|
//
|
|
|
|
|
// Using the Client
|
|
|
|
|
//
|
2018-01-16 14:20:59 +01:00
|
|
|
|
// To contact AWS Storage Gateway with the SDK use the New function to create
|
2017-09-30 16:27:27 +02:00
|
|
|
|
// a new service client. With that client you can make API requests to the service.
|
|
|
|
|
// These clients are safe to use concurrently.
|
2017-05-11 16:39:54 +02:00
|
|
|
|
//
|
2017-09-30 16:27:27 +02:00
|
|
|
|
// See the SDK's documentation for more information on how to use the SDK.
|
2017-05-11 16:39:54 +02:00
|
|
|
|
// https://docs.aws.amazon.com/sdk-for-go/api/
|
|
|
|
|
//
|
2017-09-30 16:27:27 +02:00
|
|
|
|
// See aws.Config documentation for more information on configuring SDK clients.
|
2017-05-11 16:39:54 +02:00
|
|
|
|
// https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config
|
|
|
|
|
//
|
|
|
|
|
// See the AWS Storage Gateway client StorageGateway for more
|
2017-09-30 16:27:27 +02:00
|
|
|
|
// information on creating client for this service.
|
2017-05-11 16:39:54 +02:00
|
|
|
|
// https://docs.aws.amazon.com/sdk-for-go/api/service/storagegateway/#New
|
|
|
|
|
package storagegateway
|