Permalink
Browse files

Regenerating amazonka-glacier from latest service definition

  • Loading branch information...
brendanhay committed Nov 29, 2016
1 parent bfd74cf commit 70c7268da5d0e081465da766780dfc56806e645e
Showing with 572 additions and 155 deletions.
  1. +2 −0 amazonka-glacier/amazonka-glacier.cabal
  2. 0 amazonka-glacier/fixture/ListProvisionedCapacity.yaml
  3. 0 amazonka-glacier/fixture/ListProvisionedCapacityResponse.proto
  4. 0 amazonka-glacier/fixture/PurchaseProvisionedCapacity.yaml
  5. 0 amazonka-glacier/fixture/PurchaseProvisionedCapacityResponse.proto
  6. +21 −1 amazonka-glacier/gen/Network/AWS/Glacier.hs
  7. +4 −4 amazonka-glacier/gen/Network/AWS/Glacier/AbortMultipartUpload.hs
  8. +2 −2 amazonka-glacier/gen/Network/AWS/Glacier/AbortVaultLock.hs
  9. +2 −2 amazonka-glacier/gen/Network/AWS/Glacier/AddTagsToVault.hs
  10. +3 −3 amazonka-glacier/gen/Network/AWS/Glacier/CompleteMultipartUpload.hs
  11. +2 −2 amazonka-glacier/gen/Network/AWS/Glacier/CompleteVaultLock.hs
  12. +3 −5 amazonka-glacier/gen/Network/AWS/Glacier/CreateVault.hs
  13. +8 −4 amazonka-glacier/gen/Network/AWS/Glacier/DeleteArchive.hs
  14. +3 −3 amazonka-glacier/gen/Network/AWS/Glacier/DeleteVault.hs
  15. +2 −2 amazonka-glacier/gen/Network/AWS/Glacier/DeleteVaultAccessPolicy.hs
  16. +3 −3 amazonka-glacier/gen/Network/AWS/Glacier/DeleteVaultNotifications.hs
  17. +4 −3 amazonka-glacier/gen/Network/AWS/Glacier/DescribeJob.hs
  18. +3 −3 amazonka-glacier/gen/Network/AWS/Glacier/DescribeVault.hs
  19. +2 −2 amazonka-glacier/gen/Network/AWS/Glacier/GetDataRetrievalPolicy.hs
  20. +14 −18 amazonka-glacier/gen/Network/AWS/Glacier/GetJobOutput.hs
  21. +2 −2 amazonka-glacier/gen/Network/AWS/Glacier/GetVaultAccessPolicy.hs
  22. +5 −5 amazonka-glacier/gen/Network/AWS/Glacier/GetVaultLock.hs
  23. +3 −3 amazonka-glacier/gen/Network/AWS/Glacier/GetVaultNotifications.hs
  24. +17 −3 amazonka-glacier/gen/Network/AWS/Glacier/InitiateJob.hs
  25. +3 −3 amazonka-glacier/gen/Network/AWS/Glacier/InitiateMultipartUpload.hs
  26. +5 −5 amazonka-glacier/gen/Network/AWS/Glacier/InitiateVaultLock.hs
  27. +17 −17 amazonka-glacier/gen/Network/AWS/Glacier/ListJobs.hs
  28. +3 −3 amazonka-glacier/gen/Network/AWS/Glacier/ListMultipartUploads.hs
  29. +9 −9 amazonka-glacier/gen/Network/AWS/Glacier/ListParts.hs
  30. +125 −0 amazonka-glacier/gen/Network/AWS/Glacier/ListProvisionedCapacity.hs
  31. +2 −2 amazonka-glacier/gen/Network/AWS/Glacier/ListTagsForVault.hs
  32. +5 −5 amazonka-glacier/gen/Network/AWS/Glacier/ListVaults.hs
  33. +127 −0 amazonka-glacier/gen/Network/AWS/Glacier/PurchaseProvisionedCapacity.hs
  34. +2 −2 amazonka-glacier/gen/Network/AWS/Glacier/RemoveTagsFromVault.hs
  35. +2 −2 amazonka-glacier/gen/Network/AWS/Glacier/SetDataRetrievalPolicy.hs
  36. +2 −2 amazonka-glacier/gen/Network/AWS/Glacier/SetVaultAccessPolicy.hs
  37. +8 −4 amazonka-glacier/gen/Network/AWS/Glacier/SetVaultNotifications.hs
  38. +18 −1 amazonka-glacier/gen/Network/AWS/Glacier/Types.hs
  39. +95 −24 amazonka-glacier/gen/Network/AWS/Glacier/Types/Product.hs
  40. +3 −3 amazonka-glacier/gen/Network/AWS/Glacier/UploadArchive.hs
  41. +5 −3 amazonka-glacier/gen/Network/AWS/Glacier/UploadMultipartPart.hs
  42. +36 −0 amazonka-glacier/test/Test/AWS/Gen/Glacier.hs
@@ -63,8 +63,10 @@ library
, Network.AWS.Glacier.ListJobs
, Network.AWS.Glacier.ListMultipartUploads
, Network.AWS.Glacier.ListParts
, Network.AWS.Glacier.ListProvisionedCapacity
, Network.AWS.Glacier.ListTagsForVault
, Network.AWS.Glacier.ListVaults
, Network.AWS.Glacier.PurchaseProvisionedCapacity
, Network.AWS.Glacier.RemoveTagsFromVault
, Network.AWS.Glacier.SetDataRetrievalPolicy
, Network.AWS.Glacier.SetVaultAccessPolicy
@@ -16,7 +16,7 @@
--
-- 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 <http://aws.amazon.com/s3/ Amazon Simple Storage Service (Amazon S3)> .
-- 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, see <http://aws.amazon.com/s3/ 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.
--
@@ -48,6 +48,9 @@ module Network.AWS.Glacier
-- ** ServiceUnavailableException
, _ServiceUnavailableException
-- ** InsufficientCapacityException
, _InsufficientCapacityException
-- ** ResourceNotFoundException
, _ResourceNotFoundException
@@ -96,6 +99,9 @@ module Network.AWS.Glacier
-- ** ListVaults (Paginated)
, module Network.AWS.Glacier.ListVaults
-- ** ListProvisionedCapacity
, module Network.AWS.Glacier.ListProvisionedCapacity
-- ** ListJobs (Paginated)
, module Network.AWS.Glacier.ListJobs
@@ -114,6 +120,9 @@ module Network.AWS.Glacier
-- ** AbortMultipartUpload
, module Network.AWS.Glacier.AbortMultipartUpload
-- ** PurchaseProvisionedCapacity
, module Network.AWS.Glacier.PurchaseProvisionedCapacity
-- ** DescribeVault
, module Network.AWS.Glacier.DescribeVault
@@ -205,6 +214,7 @@ module Network.AWS.Glacier
, gjdSNSTopic
, gjdStatusMessage
, gjdVaultARN
, gjdTier
, gjdArchiveSHA256TreeHash
, gjdCreationDate
, gjdCompleted
@@ -238,6 +248,7 @@ module Network.AWS.Glacier
, jpRetrievalByteRange
, jpInventoryRetrievalParameters
, jpSNSTopic
, jpTier
, jpType
, jpDescription
@@ -247,6 +258,13 @@ module Network.AWS.Glacier
, pleSHA256TreeHash
, pleRangeInBytes
-- ** ProvisionedCapacityDescription
, ProvisionedCapacityDescription
, provisionedCapacityDescription
, pcdCapacityId
, pcdStartDate
, pcdExpirationDate
-- ** UploadListElement
, UploadListElement
, uploadListElement
@@ -296,8 +314,10 @@ import Network.AWS.Glacier.InitiateVaultLock
import Network.AWS.Glacier.ListJobs
import Network.AWS.Glacier.ListMultipartUploads
import Network.AWS.Glacier.ListParts
import Network.AWS.Glacier.ListProvisionedCapacity
import Network.AWS.Glacier.ListTagsForVault
import Network.AWS.Glacier.ListVaults
import Network.AWS.Glacier.PurchaseProvisionedCapacity
import Network.AWS.Glacier.RemoveTagsFromVault
import Network.AWS.Glacier.SetDataRetrievalPolicy
import Network.AWS.Glacier.SetVaultAccessPolicy
@@ -27,7 +27,7 @@
--
-- An AWS account has full permission to perform all operations (actions). However, AWS Identity and Access Management (IAM) users don't have any permissions by default. You must grant them explicit permission to perform specific actions. For more information, see <http://docs.aws.amazon.com/amazonglacier/latest/dev/using-iam-with-amazon-glacier.html Access Control Using AWS Identity and Access Management (IAM)> .
--
-- For conceptual information and underlying REST API, go to <http://docs.aws.amazon.com/amazonglacier/latest/dev/working-with-archives.html Working with Archives in Amazon Glacier> and <http://docs.aws.amazon.com/amazonglacier/latest/dev/api-multipart-abort-upload.html Abort Multipart Upload> in the /Amazon Glacier Developer Guide/ .
-- For conceptual information and underlying REST API, see <http://docs.aws.amazon.com/amazonglacier/latest/dev/working-with-archives.html Working with Archives in Amazon Glacier> and <http://docs.aws.amazon.com/amazonglacier/latest/dev/api-multipart-abort-upload.html Abort Multipart Upload> in the /Amazon Glacier Developer Guide/ .
--
module Network.AWS.Glacier.AbortMultipartUpload
(
@@ -54,7 +54,7 @@ import Network.AWS.Response
-- | Provides options to abort a multipart upload identified by the upload ID.
--
--
-- For information about the underlying REST API, go to <http://docs.aws.amazon.com/amazonglacier/latest/dev/api-multipart-abort-upload.html Abort Multipart Upload> . For conceptual information, go to <http://docs.aws.amazon.com/amazonglacier/latest/dev/working-with-archives.html Working with Archives in Amazon Glacier> .
-- For information about the underlying REST API, see <http://docs.aws.amazon.com/amazonglacier/latest/dev/api-multipart-abort-upload.html Abort Multipart Upload> . For conceptual information, see <http://docs.aws.amazon.com/amazonglacier/latest/dev/working-with-archives.html Working with Archives in Amazon Glacier> .
--
--
-- /See:/ 'abortMultipartUpload' smart constructor.
@@ -68,7 +68,7 @@ data AbortMultipartUpload = AbortMultipartUpload'
--
-- Use one of the following lenses to modify other fields as desired:
--
-- * 'amuAccountId' - The @AccountId@ value is the AWS account ID of the account that owns the vault. You can either specify an AWS account ID or optionally a single apos@-@ apos (hyphen), in which case Amazon Glacier uses the AWS account ID associated with the credentials used to sign the request. If you use an account ID, do not include any hyphens (apos-apos) in the ID.
-- * 'amuAccountId' - The @AccountId@ value is the AWS account ID of the account that owns the vault. You can either specify an AWS account ID or optionally a single '@-@ ' (hyphen), in which case Amazon Glacier uses the AWS account ID associated with the credentials used to sign the request. If you use an account ID, do not include any hyphens ('-') in the ID.
--
-- * 'amuVaultName' - The name of the vault.
--
@@ -85,7 +85,7 @@ abortMultipartUpload pAccountId_ pVaultName_ pUploadId_ =
, _amuUploadId = pUploadId_
}
-- | The @AccountId@ value is the AWS account ID of the account that owns the vault. You can either specify an AWS account ID or optionally a single apos@-@ apos (hyphen), in which case Amazon Glacier uses the AWS account ID associated with the credentials used to sign the request. If you use an account ID, do not include any hyphens (apos-apos) in the ID.
-- | The @AccountId@ value is the AWS account ID of the account that owns the vault. You can either specify an AWS account ID or optionally a single '@-@ ' (hyphen), in which case Amazon Glacier uses the AWS account ID associated with the credentials used to sign the request. If you use an account ID, do not include any hyphens ('-') in the ID.
amuAccountId :: Lens' AbortMultipartUpload Text
amuAccountId = lens _amuAccountId (\ s a -> s{_amuAccountId = a});
@@ -60,7 +60,7 @@ data AbortVaultLock = AbortVaultLock'
--
-- Use one of the following lenses to modify other fields as desired:
--
-- * 'avlAccountId' - The @AccountId@ value is the AWS account ID. This value must match the AWS account ID associated with the credentials used to sign the request. You can either specify an AWS account ID or optionally a single apos@-@ apos (hyphen), in which case Amazon Glacier uses the AWS account ID associated with the credentials used to sign the request. If you specify your account ID, do not include any hyphens (apos-apos) in the ID.
-- * 'avlAccountId' - The @AccountId@ value is the AWS account ID. This value must match the AWS account ID associated with the credentials used to sign the request. You can either specify an AWS account ID or optionally a single '@-@ ' (hyphen), in which case Amazon Glacier uses the AWS account ID associated with the credentials used to sign the request. If you specify your account ID, do not include any hyphens ('-') in the ID.
--
-- * 'avlVaultName' - The name of the vault.
abortVaultLock
@@ -73,7 +73,7 @@ abortVaultLock pAccountId_ pVaultName_ =
, _avlVaultName = pVaultName_
}
-- | The @AccountId@ value is the AWS account ID. This value must match the AWS account ID associated with the credentials used to sign the request. You can either specify an AWS account ID or optionally a single apos@-@ apos (hyphen), in which case Amazon Glacier uses the AWS account ID associated with the credentials used to sign the request. If you specify your account ID, do not include any hyphens (apos-apos) in the ID.
-- | The @AccountId@ value is the AWS account ID. This value must match the AWS account ID associated with the credentials used to sign the request. You can either specify an AWS account ID or optionally a single '@-@ ' (hyphen), in which case Amazon Glacier uses the AWS account ID associated with the credentials used to sign the request. If you specify your account ID, do not include any hyphens ('-') in the ID.
avlAccountId :: Lens' AbortVaultLock Text
avlAccountId = lens _avlAccountId (\ s a -> s{_avlAccountId = a});
@@ -60,7 +60,7 @@ data AddTagsToVault = AddTagsToVault'
--
-- * 'attvTags' - The tags to add to the vault. Each tag is composed of a key and a value. The value can be an empty string.
--
-- * 'attvAccountId' - The @AccountId@ value is the AWS account ID of the account that owns the vault. You can either specify an AWS account ID or optionally a single apos@-@ apos (hyphen), in which case Amazon Glacier uses the AWS account ID associated with the credentials used to sign the request. If you use an account ID, do not include any hyphens (apos-apos) in the ID.
-- * 'attvAccountId' - The @AccountId@ value is the AWS account ID of the account that owns the vault. You can either specify an AWS account ID or optionally a single '@-@ ' (hyphen), in which case Amazon Glacier uses the AWS account ID associated with the credentials used to sign the request. If you use an account ID, do not include any hyphens ('-') in the ID.
--
-- * 'attvVaultName' - The name of the vault.
addTagsToVault
@@ -78,7 +78,7 @@ addTagsToVault pAccountId_ pVaultName_ =
attvTags :: Lens' AddTagsToVault (HashMap Text Text)
attvTags = lens _attvTags (\ s a -> s{_attvTags = a}) . _Default . _Map;
-- | The @AccountId@ value is the AWS account ID of the account that owns the vault. You can either specify an AWS account ID or optionally a single apos@-@ apos (hyphen), in which case Amazon Glacier uses the AWS account ID associated with the credentials used to sign the request. If you use an account ID, do not include any hyphens (apos-apos) in the ID.
-- | The @AccountId@ value is the AWS account ID of the account that owns the vault. You can either specify an AWS account ID or optionally a single '@-@ ' (hyphen), in which case Amazon Glacier uses the AWS account ID associated with the credentials used to sign the request. If you use an account ID, do not include any hyphens ('-') in the ID.
attvAccountId :: Lens' AddTagsToVault Text
attvAccountId = lens _attvAccountId (\ s a -> s{_attvAccountId = a});
@@ -29,7 +29,7 @@
--
-- An AWS account has full permission to perform all operations (actions). However, AWS Identity and Access Management (IAM) users don't have any permissions by default. You must grant them explicit permission to perform specific actions. For more information, see <http://docs.aws.amazon.com/amazonglacier/latest/dev/using-iam-with-amazon-glacier.html Access Control Using AWS Identity and Access Management (IAM)> .
--
-- For conceptual information and underlying REST API, go to <http://docs.aws.amazon.com/amazonglacier/latest/dev/uploading-archive-mpu.html Uploading Large Archives in Parts (Multipart Upload)> and <http://docs.aws.amazon.com/amazonglacier/latest/dev/api-multipart-complete-upload.html Complete Multipart Upload> in the /Amazon Glacier Developer Guide/ .
-- For conceptual information and underlying REST API, see <http://docs.aws.amazon.com/amazonglacier/latest/dev/uploading-archive-mpu.html Uploading Large Archives in Parts (Multipart Upload)> and <http://docs.aws.amazon.com/amazonglacier/latest/dev/api-multipart-complete-upload.html Complete Multipart Upload> in the /Amazon Glacier Developer Guide/ .
--
module Network.AWS.Glacier.CompleteMultipartUpload
(
@@ -80,7 +80,7 @@ data CompleteMultipartUpload = CompleteMultipartUpload'
--
-- * 'cmuArchiveSize' - The total size, in bytes, of the entire archive. This value should be the sum of all the sizes of the individual parts that you uploaded.
--
-- * 'cmuAccountId' - The @AccountId@ value is the AWS account ID of the account that owns the vault. You can either specify an AWS account ID or optionally a single apos@-@ apos (hyphen), in which case Amazon Glacier uses the AWS account ID associated with the credentials used to sign the request. If you use an account ID, do not include any hyphens (apos-apos) in the ID.
-- * 'cmuAccountId' - The @AccountId@ value is the AWS account ID of the account that owns the vault. You can either specify an AWS account ID or optionally a single '@-@ ' (hyphen), in which case Amazon Glacier uses the AWS account ID associated with the credentials used to sign the request. If you use an account ID, do not include any hyphens ('-') in the ID.
--
-- * 'cmuVaultName' - The name of the vault.
--
@@ -107,7 +107,7 @@ cmuChecksum = lens _cmuChecksum (\ s a -> s{_cmuChecksum = a});
cmuArchiveSize :: Lens' CompleteMultipartUpload (Maybe Text)
cmuArchiveSize = lens _cmuArchiveSize (\ s a -> s{_cmuArchiveSize = a});
-- | The @AccountId@ value is the AWS account ID of the account that owns the vault. You can either specify an AWS account ID or optionally a single apos@-@ apos (hyphen), in which case Amazon Glacier uses the AWS account ID associated with the credentials used to sign the request. If you use an account ID, do not include any hyphens (apos-apos) in the ID.
-- | The @AccountId@ value is the AWS account ID of the account that owns the vault. You can either specify an AWS account ID or optionally a single '@-@ ' (hyphen), in which case Amazon Glacier uses the AWS account ID associated with the credentials used to sign the request. If you use an account ID, do not include any hyphens ('-') in the ID.
cmuAccountId :: Lens' CompleteMultipartUpload Text
cmuAccountId = lens _cmuAccountId (\ s a -> s{_cmuAccountId = a});
@@ -62,7 +62,7 @@ data CompleteVaultLock = CompleteVaultLock'
--
-- Use one of the following lenses to modify other fields as desired:
--
-- * 'cvlAccountId' - The @AccountId@ value is the AWS account ID. This value must match the AWS account ID associated with the credentials used to sign the request. You can either specify an AWS account ID or optionally a single apos@-@ apos (hyphen), in which case Amazon Glacier uses the AWS account ID associated with the credentials used to sign the request. If you specify your account ID, do not include any hyphens (apos-apos) in the ID.
-- * 'cvlAccountId' - The @AccountId@ value is the AWS account ID. This value must match the AWS account ID associated with the credentials used to sign the request. You can either specify an AWS account ID or optionally a single '@-@ ' (hyphen), in which case Amazon Glacier uses the AWS account ID associated with the credentials used to sign the request. If you specify your account ID, do not include any hyphens ('-') in the ID.
--
-- * 'cvlVaultName' - The name of the vault.
--
@@ -79,7 +79,7 @@ completeVaultLock pAccountId_ pVaultName_ pLockId_ =
, _cvlLockId = pLockId_
}
-- | The @AccountId@ value is the AWS account ID. This value must match the AWS account ID associated with the credentials used to sign the request. You can either specify an AWS account ID or optionally a single apos@-@ apos (hyphen), in which case Amazon Glacier uses the AWS account ID associated with the credentials used to sign the request. If you specify your account ID, do not include any hyphens (apos-apos) in the ID.
-- | The @AccountId@ value is the AWS account ID. This value must match the AWS account ID associated with the credentials used to sign the request. You can either specify an AWS account ID or optionally a single '@-@ ' (hyphen), in which case Amazon Glacier uses the AWS account ID associated with the credentials used to sign the request. If you specify your account ID, do not include any hyphens ('-') in the ID.
cvlAccountId :: Lens' CompleteVaultLock Text
cvlAccountId = lens _cvlAccountId (\ s a -> s{_cvlAccountId = a});
Oops, something went wrong.

0 comments on commit 70c7268

Please sign in to comment.