aws-sdk-glacier 1.4.0 → 1.5.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 84d45c295529fceba697ef874bc8bbb324fbed3f
4
- data.tar.gz: af82813b68db23f6b3c2f6d9d06ebf3edbb2796d
3
+ metadata.gz: 54696fe2cf51bcf74ab64ede10d98b56b75814f9
4
+ data.tar.gz: bf6b4355fddea1eb7241d5f39ff722548c36a0c4
5
5
  SHA512:
6
- metadata.gz: 3c084c8ce9ccc9f5eeced377dba0b85ed02312dbdc7251818b055022b500fe6837b0d010f201e29ecd5afbc301c78ab45a17f03361e9759b0f7518e6b08b0c9d
7
- data.tar.gz: 86284fb974112ae3d79b443b26e5e6767a3557b1093bbb1fce337d412430f517c3ad6009671665bd79e329456f2edc4a21c0f9f7f3e8c9b34992a761f1a2dcd0
6
+ metadata.gz: fda25a1ee26ed46c44ebe1c44f544b0fe3a64920886e528104acbd6fda90db8ee659b29292b005be7135237afb554ccac7170f0ec985d317e18f348a331c5872
7
+ data.tar.gz: c700d73a5b685c405184d9738fff7c8208f9f484bd460b3541813ba642af19ee80fd1020793c9fa09ee21fdbfa5bf07ea4fbdf1b292011c567b4e0bca4ec55e0
@@ -49,6 +49,6 @@ require_relative 'aws-sdk-glacier/customizations'
49
49
  # @service
50
50
  module Aws::Glacier
51
51
 
52
- GEM_VERSION = '1.4.0'
52
+ GEM_VERSION = '1.5.0'
53
53
 
54
54
  end
@@ -895,9 +895,9 @@ module Aws::Glacier
895
895
  # permission to perform specific actions. For more information, see
896
896
  # [Access Control Using AWS Identity and Access Management (IAM)][1].
897
897
  #
898
- # For information about the underlying REST API, see [Working with
899
- # Archives in Amazon Glacier][2] in the *Amazon Glacier Developer
900
- # Guide*.
898
+ # For more information about using this operation, see the documentation
899
+ # for the underlying REST API [Describe Job][2] in the *Amazon Glacier
900
+ # Developer Guide*.
901
901
  #
902
902
  #
903
903
  #
@@ -938,6 +938,9 @@ module Aws::Glacier
938
938
  # * {Types::GlacierJobDescription#retrieval_byte_range #retrieval_byte_range} => String
939
939
  # * {Types::GlacierJobDescription#tier #tier} => String
940
940
  # * {Types::GlacierJobDescription#inventory_retrieval_parameters #inventory_retrieval_parameters} => Types::InventoryRetrievalJobDescription
941
+ # * {Types::GlacierJobDescription#job_output_path #job_output_path} => String
942
+ # * {Types::GlacierJobDescription#select_parameters #select_parameters} => Types::SelectParameters
943
+ # * {Types::GlacierJobDescription#output_location #output_location} => Types::OutputLocation
941
944
  #
942
945
  #
943
946
  # @example Example: To get information about a previously initiated job
@@ -975,7 +978,7 @@ module Aws::Glacier
975
978
  #
976
979
  # resp.job_id #=> String
977
980
  # resp.job_description #=> String
978
- # resp.action #=> String, one of "ArchiveRetrieval", "InventoryRetrieval"
981
+ # resp.action #=> String, one of "ArchiveRetrieval", "InventoryRetrieval", "Select"
979
982
  # resp.archive_id #=> String
980
983
  # resp.vault_arn #=> String
981
984
  # resp.creation_date #=> Time
@@ -995,6 +998,38 @@ module Aws::Glacier
995
998
  # resp.inventory_retrieval_parameters.end_date #=> Time
996
999
  # resp.inventory_retrieval_parameters.limit #=> String
997
1000
  # resp.inventory_retrieval_parameters.marker #=> String
1001
+ # resp.job_output_path #=> String
1002
+ # resp.select_parameters.input_serialization.csv.file_header_info #=> String, one of "USE", "IGNORE", "NONE"
1003
+ # resp.select_parameters.input_serialization.csv.comments #=> String
1004
+ # resp.select_parameters.input_serialization.csv.quote_escape_character #=> String
1005
+ # resp.select_parameters.input_serialization.csv.record_delimiter #=> String
1006
+ # resp.select_parameters.input_serialization.csv.field_delimiter #=> String
1007
+ # resp.select_parameters.input_serialization.csv.quote_character #=> String
1008
+ # resp.select_parameters.expression_type #=> String, one of "SQL"
1009
+ # resp.select_parameters.expression #=> String
1010
+ # resp.select_parameters.output_serialization.csv.quote_fields #=> String, one of "ALWAYS", "ASNEEDED"
1011
+ # resp.select_parameters.output_serialization.csv.quote_escape_character #=> String
1012
+ # resp.select_parameters.output_serialization.csv.record_delimiter #=> String
1013
+ # resp.select_parameters.output_serialization.csv.field_delimiter #=> String
1014
+ # resp.select_parameters.output_serialization.csv.quote_character #=> String
1015
+ # resp.output_location.s3.bucket_name #=> String
1016
+ # resp.output_location.s3.prefix #=> String
1017
+ # resp.output_location.s3.encryption.encryption_type #=> String, one of "aws:kms", "AES256"
1018
+ # resp.output_location.s3.encryption.kms_key_id #=> String
1019
+ # resp.output_location.s3.encryption.kms_context #=> String
1020
+ # resp.output_location.s3.canned_acl #=> String, one of "private", "public-read", "public-read-write", "aws-exec-read", "authenticated-read", "bucket-owner-read", "bucket-owner-full-control"
1021
+ # resp.output_location.s3.access_control_list #=> Array
1022
+ # resp.output_location.s3.access_control_list[0].grantee.type #=> String, one of "AmazonCustomerByEmail", "CanonicalUser", "Group"
1023
+ # resp.output_location.s3.access_control_list[0].grantee.display_name #=> String
1024
+ # resp.output_location.s3.access_control_list[0].grantee.uri #=> String
1025
+ # resp.output_location.s3.access_control_list[0].grantee.id #=> String
1026
+ # resp.output_location.s3.access_control_list[0].grantee.email_address #=> String
1027
+ # resp.output_location.s3.access_control_list[0].permission #=> String, one of "FULL_CONTROL", "WRITE", "WRITE_ACP", "READ", "READ_ACP"
1028
+ # resp.output_location.s3.tagging #=> Hash
1029
+ # resp.output_location.s3.tagging["string"] #=> String
1030
+ # resp.output_location.s3.user_metadata #=> Hash
1031
+ # resp.output_location.s3.user_metadata["string"] #=> String
1032
+ # resp.output_location.s3.storage_class #=> String, one of "STANDARD", "REDUCED_REDUNDANCY", "STANDARD_IA"
998
1033
  #
999
1034
  # @overload describe_job(params = {})
1000
1035
  # @param [Hash] params ({})
@@ -1541,164 +1576,14 @@ module Aws::Glacier
1541
1576
  req.send_request(options)
1542
1577
  end
1543
1578
 
1544
- # This operation initiates a job of the specified type. In this release,
1545
- # you can initiate a job to retrieve either an archive or a vault
1546
- # inventory (a list of archives in a vault).
1579
+ # This operation initiates a job of the specified type, which can be a
1580
+ # select, an archival retrieval, or a vault retrieval. For more
1581
+ # information about using this operation, see the documentation for the
1582
+ # underlying REST API [Initiate a Job][1].
1547
1583
  #
1548
- # Retrieving data from Amazon Glacier is a two-step process:
1549
1584
  #
1550
- # 1. Initiate a retrieval job.
1551
1585
  #
1552
- # <note markdown="1"> A data retrieval policy can cause your initiate retrieval job
1553
- # request to fail with a PolicyEnforcedException exception. For more
1554
- # information about data retrieval policies, see [Amazon Glacier
1555
- # Data Retrieval Policies][1]. For more information about the
1556
- # PolicyEnforcedException exception, see [Error Responses][2].
1557
- #
1558
- # </note>
1559
- #
1560
- # 2. After the job completes, download the bytes.
1561
- #
1562
- # The retrieval request is executed asynchronously. When you initiate a
1563
- # retrieval job, Amazon Glacier creates a job and returns a job ID in
1564
- # the response. When Amazon Glacier completes the job, you can get the
1565
- # job output (archive or inventory data). For information about getting
1566
- # job output, see GetJobOutput operation.
1567
- #
1568
- # The job must complete before you can get its output. To determine when
1569
- # a job is complete, you have the following options:
1570
- #
1571
- # * **Use Amazon SNS Notification** You can specify an Amazon Simple
1572
- # Notification Service (Amazon SNS) topic to which Amazon Glacier can
1573
- # post a notification after the job is completed. You can specify an
1574
- # SNS topic per job request. The notification is sent only after
1575
- # Amazon Glacier completes the job. In addition to specifying an SNS
1576
- # topic per job request, you can configure vault notifications for a
1577
- # vault so that job notifications are always sent. For more
1578
- # information, see SetVaultNotifications.
1579
- #
1580
- # * **Get job details** You can make a DescribeJob request to obtain job
1581
- # status information while a job is in progress. However, it is more
1582
- # efficient to use an Amazon SNS notification to determine when a job
1583
- # is complete.
1584
- #
1585
- # <note markdown="1"> The information you get via notification is same that you get by
1586
- # calling DescribeJob.
1587
- #
1588
- # </note>
1589
- #
1590
- # If for a specific event, you add both the notification configuration
1591
- # on the vault and also specify an SNS topic in your initiate job
1592
- # request, Amazon Glacier sends both notifications. For more
1593
- # information, see SetVaultNotifications.
1594
- #
1595
- # An AWS account has full permission to perform all operations
1596
- # (actions). However, AWS Identity and Access Management (IAM) users
1597
- # don't have any permissions by default. You must grant them explicit
1598
- # permission to perform specific actions. For more information, see
1599
- # [Access Control Using AWS Identity and Access Management (IAM)][3].
1600
- #
1601
- # **About the Vault Inventory**
1602
- #
1603
- # Amazon Glacier prepares an inventory for each vault periodically,
1604
- # every 24 hours. When you initiate a job for a vault inventory, Amazon
1605
- # Glacier returns the last inventory for the vault. The inventory data
1606
- # you get might be up to a day or two days old. Also, the initiate
1607
- # inventory job might take some time to complete before you can download
1608
- # the vault inventory. So you do not want to retrieve a vault inventory
1609
- # for each vault operation. However, in some scenarios, you might find
1610
- # the vault inventory useful. For example, when you upload an archive,
1611
- # you can provide an archive description but not an archive name. Amazon
1612
- # Glacier provides you a unique archive ID, an opaque string of
1613
- # characters. So, you might maintain your own database that maps archive
1614
- # names to their corresponding Amazon Glacier assigned archive IDs. You
1615
- # might find the vault inventory useful in the event you need to
1616
- # reconcile information in your database with the actual vault
1617
- # inventory.
1618
- #
1619
- # **Range Inventory Retrieval**
1620
- #
1621
- # You can limit the number of inventory items retrieved by filtering on
1622
- # the archive creation date or by setting a limit.
1623
- #
1624
- # *Filtering by Archive Creation Date*
1625
- #
1626
- # You can retrieve inventory items for archives created between
1627
- # `StartDate` and `EndDate` by specifying values for these parameters in
1628
- # the **InitiateJob** request. Archives created on or after the
1629
- # `StartDate` and before the `EndDate` will be returned. If you only
1630
- # provide the `StartDate` without the `EndDate`, you will retrieve the
1631
- # inventory for all archives created on or after the `StartDate`. If you
1632
- # only provide the `EndDate` without the `StartDate`, you will get back
1633
- # the inventory for all archives created before the `EndDate`.
1634
- #
1635
- # *Limiting Inventory Items per Retrieval*
1636
- #
1637
- # You can limit the number of inventory items returned by setting the
1638
- # `Limit` parameter in the **InitiateJob** request. The inventory job
1639
- # output will contain inventory items up to the specified `Limit`. If
1640
- # there are more inventory items available, the result is paginated.
1641
- # After a job is complete you can use the DescribeJob operation to get a
1642
- # marker that you use in a subsequent **InitiateJob** request. The
1643
- # marker will indicate the starting point to retrieve the next set of
1644
- # inventory items. You can page through your entire inventory by
1645
- # repeatedly making **InitiateJob** requests with the marker from the
1646
- # previous **DescribeJob** output, until you get a marker from
1647
- # **DescribeJob** that returns null, indicating that there are no more
1648
- # inventory items available.
1649
- #
1650
- # You can use the `Limit` parameter together with the date range
1651
- # parameters.
1652
- #
1653
- # **About Ranged Archive Retrieval**
1654
- #
1655
- # You can initiate an archive retrieval for the whole archive or a range
1656
- # of the archive. In the case of ranged archive retrieval, you specify a
1657
- # byte range to return or the whole archive. The range specified must be
1658
- # megabyte (MB) aligned, that is the range start value must be divisible
1659
- # by 1 MB and range end value plus 1 must be divisible by 1 MB or equal
1660
- # the end of the archive. If the ranged archive retrieval is not
1661
- # megabyte aligned, this operation returns a 400 response. Furthermore,
1662
- # to ensure you get checksum values for data you download using Get Job
1663
- # Output API, the range must be tree hash aligned.
1664
- #
1665
- # An AWS account has full permission to perform all operations
1666
- # (actions). However, AWS Identity and Access Management (IAM) users
1667
- # don't have any permissions by default. You must grant them explicit
1668
- # permission to perform specific actions. For more information, see
1669
- # [Access Control Using AWS Identity and Access Management (IAM)][3].
1670
- #
1671
- # For conceptual information and the underlying REST API, see [Initiate
1672
- # a Job][4] and [Downloading a Vault Inventory][5]
1673
- #
1674
- # **Expedited and Bulk Archive Retrievals**
1675
- #
1676
- # When retrieving an archive, you can specify one of the following
1677
- # options in the `Tier` field of the request body:
1678
- #
1679
- # * **Standard** The default type of retrieval, which allows access to
1680
- # any of your archives within several hours. Standard retrievals
1681
- # typically complete within 3–5 hours.
1682
- #
1683
- # * **Bulk** Amazon Glacier’s lowest-cost retrieval option, which
1684
- # enables you to retrieve large amounts of data inexpensively in a
1685
- # day. Bulk retrieval requests typically complete within 5–12 hours.
1686
- #
1687
- # * **Expedited** Amazon Glacier’s option for the fastest retrievals.
1688
- # Archives requested using the expedited retrievals typically become
1689
- # accessible within 1–5 minutes.
1690
- #
1691
- # For more information about expedited and bulk retrievals, see
1692
- # [Retrieving Amazon Glacier Archives][6].
1693
- #
1694
- #
1695
- #
1696
- # [1]: http://docs.aws.amazon.com/amazonglacier/latest/dev/data-retrieval-policy.html
1697
- # [2]: http://docs.aws.amazon.com/amazonglacier/latest/dev/api-error-responses.html
1698
- # [3]: http://docs.aws.amazon.com/amazonglacier/latest/dev/using-iam-with-amazon-glacier.html
1699
- # [4]: http://docs.aws.amazon.com/amazonglacier/latest/dev/api-initiate-job-post.html
1700
- # [5]: http://docs.aws.amazon.com/amazonglacier/latest/dev/vault-inventory.html
1701
- # [6]: http://docs.aws.amazon.com/amazonglacier/latest/dev/downloading-an-archive-two-steps.html
1586
+ # [1]: http://docs.aws.amazon.com/amazonglacier/latest/dev/api-initiate-job-post.html
1702
1587
  #
1703
1588
  # @option params [required, String] :account_id
1704
1589
  # The `AccountId` value is the AWS account ID of the account that owns
@@ -1718,6 +1603,7 @@ module Aws::Glacier
1718
1603
  #
1719
1604
  # * {Types::InitiateJobOutput#location #location} => String
1720
1605
  # * {Types::InitiateJobOutput#job_id #job_id} => String
1606
+ # * {Types::InitiateJobOutput#job_output_path #job_output_path} => String
1721
1607
  #
1722
1608
  #
1723
1609
  # @example Example: To initiate an inventory-retrieval job
@@ -1760,6 +1646,60 @@ module Aws::Glacier
1760
1646
  # limit: "string",
1761
1647
  # marker: "string",
1762
1648
  # },
1649
+ # select_parameters: {
1650
+ # input_serialization: {
1651
+ # csv: {
1652
+ # file_header_info: "USE", # accepts USE, IGNORE, NONE
1653
+ # comments: "string",
1654
+ # quote_escape_character: "string",
1655
+ # record_delimiter: "string",
1656
+ # field_delimiter: "string",
1657
+ # quote_character: "string",
1658
+ # },
1659
+ # },
1660
+ # expression_type: "SQL", # accepts SQL
1661
+ # expression: "string",
1662
+ # output_serialization: {
1663
+ # csv: {
1664
+ # quote_fields: "ALWAYS", # accepts ALWAYS, ASNEEDED
1665
+ # quote_escape_character: "string",
1666
+ # record_delimiter: "string",
1667
+ # field_delimiter: "string",
1668
+ # quote_character: "string",
1669
+ # },
1670
+ # },
1671
+ # },
1672
+ # output_location: {
1673
+ # s3: {
1674
+ # bucket_name: "string",
1675
+ # prefix: "string",
1676
+ # encryption: {
1677
+ # encryption_type: "aws:kms", # accepts aws:kms, AES256
1678
+ # kms_key_id: "string",
1679
+ # kms_context: "string",
1680
+ # },
1681
+ # canned_acl: "private", # accepts private, public-read, public-read-write, aws-exec-read, authenticated-read, bucket-owner-read, bucket-owner-full-control
1682
+ # access_control_list: [
1683
+ # {
1684
+ # grantee: {
1685
+ # type: "AmazonCustomerByEmail", # required, accepts AmazonCustomerByEmail, CanonicalUser, Group
1686
+ # display_name: "string",
1687
+ # uri: "string",
1688
+ # id: "string",
1689
+ # email_address: "string",
1690
+ # },
1691
+ # permission: "FULL_CONTROL", # accepts FULL_CONTROL, WRITE, WRITE_ACP, READ, READ_ACP
1692
+ # },
1693
+ # ],
1694
+ # tagging: {
1695
+ # "string" => "string",
1696
+ # },
1697
+ # user_metadata: {
1698
+ # "string" => "string",
1699
+ # },
1700
+ # storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA
1701
+ # },
1702
+ # },
1763
1703
  # },
1764
1704
  # })
1765
1705
  #
@@ -1767,6 +1707,7 @@ module Aws::Glacier
1767
1707
  #
1768
1708
  # resp.location #=> String
1769
1709
  # resp.job_id #=> String
1710
+ # resp.job_output_path #=> String
1770
1711
  #
1771
1712
  # @overload initiate_job(params = {})
1772
1713
  # @param [Hash] params ({})
@@ -1987,7 +1928,8 @@ module Aws::Glacier
1987
1928
  end
1988
1929
 
1989
1930
  # This operation lists jobs for a vault, including jobs that are
1990
- # in-progress and jobs that have recently finished.
1931
+ # in-progress and jobs that have recently finished. The List Job
1932
+ # operation returns a list of these jobs sorted by job initiation time.
1991
1933
  #
1992
1934
  # <note markdown="1"> Amazon Glacier retains recently completed jobs for a period before
1993
1935
  # deleting them; however, it eventually removes completed jobs. The
@@ -2002,13 +1944,6 @@ module Aws::Glacier
2002
1944
  #
2003
1945
  # </note>
2004
1946
  #
2005
- # To retrieve an archive or retrieve a vault inventory from Amazon
2006
- # Glacier, you first initiate a job, and after the job completes, you
2007
- # download the data. For an archive retrieval, the output is the archive
2008
- # data. For an inventory retrieval, it is the inventory list. The List
2009
- # Job operation returns a list of these jobs sorted by job initiation
2010
- # time.
2011
- #
2012
1947
  # The List Jobs operation supports pagination. You should always check
2013
1948
  # the response `Marker` field. If there are no more jobs to list, the
2014
1949
  # `Marker` field is set to `null`. If there are more jobs to list, the
@@ -2031,7 +1966,8 @@ module Aws::Glacier
2031
1966
  # that were completed (`true`) or jobs that were not completed
2032
1967
  # (`false`).
2033
1968
  #
2034
- # For the underlying REST API, see [List Jobs][1].
1969
+ # For more information about using this operation, see the documentation
1970
+ # for the underlying REST API [List Jobs][1].
2035
1971
  #
2036
1972
  #
2037
1973
  #
@@ -2130,7 +2066,7 @@ module Aws::Glacier
2130
2066
  # resp.job_list #=> Array
2131
2067
  # resp.job_list[0].job_id #=> String
2132
2068
  # resp.job_list[0].job_description #=> String
2133
- # resp.job_list[0].action #=> String, one of "ArchiveRetrieval", "InventoryRetrieval"
2069
+ # resp.job_list[0].action #=> String, one of "ArchiveRetrieval", "InventoryRetrieval", "Select"
2134
2070
  # resp.job_list[0].archive_id #=> String
2135
2071
  # resp.job_list[0].vault_arn #=> String
2136
2072
  # resp.job_list[0].creation_date #=> Time
@@ -2150,6 +2086,38 @@ module Aws::Glacier
2150
2086
  # resp.job_list[0].inventory_retrieval_parameters.end_date #=> Time
2151
2087
  # resp.job_list[0].inventory_retrieval_parameters.limit #=> String
2152
2088
  # resp.job_list[0].inventory_retrieval_parameters.marker #=> String
2089
+ # resp.job_list[0].job_output_path #=> String
2090
+ # resp.job_list[0].select_parameters.input_serialization.csv.file_header_info #=> String, one of "USE", "IGNORE", "NONE"
2091
+ # resp.job_list[0].select_parameters.input_serialization.csv.comments #=> String
2092
+ # resp.job_list[0].select_parameters.input_serialization.csv.quote_escape_character #=> String
2093
+ # resp.job_list[0].select_parameters.input_serialization.csv.record_delimiter #=> String
2094
+ # resp.job_list[0].select_parameters.input_serialization.csv.field_delimiter #=> String
2095
+ # resp.job_list[0].select_parameters.input_serialization.csv.quote_character #=> String
2096
+ # resp.job_list[0].select_parameters.expression_type #=> String, one of "SQL"
2097
+ # resp.job_list[0].select_parameters.expression #=> String
2098
+ # resp.job_list[0].select_parameters.output_serialization.csv.quote_fields #=> String, one of "ALWAYS", "ASNEEDED"
2099
+ # resp.job_list[0].select_parameters.output_serialization.csv.quote_escape_character #=> String
2100
+ # resp.job_list[0].select_parameters.output_serialization.csv.record_delimiter #=> String
2101
+ # resp.job_list[0].select_parameters.output_serialization.csv.field_delimiter #=> String
2102
+ # resp.job_list[0].select_parameters.output_serialization.csv.quote_character #=> String
2103
+ # resp.job_list[0].output_location.s3.bucket_name #=> String
2104
+ # resp.job_list[0].output_location.s3.prefix #=> String
2105
+ # resp.job_list[0].output_location.s3.encryption.encryption_type #=> String, one of "aws:kms", "AES256"
2106
+ # resp.job_list[0].output_location.s3.encryption.kms_key_id #=> String
2107
+ # resp.job_list[0].output_location.s3.encryption.kms_context #=> String
2108
+ # resp.job_list[0].output_location.s3.canned_acl #=> String, one of "private", "public-read", "public-read-write", "aws-exec-read", "authenticated-read", "bucket-owner-read", "bucket-owner-full-control"
2109
+ # resp.job_list[0].output_location.s3.access_control_list #=> Array
2110
+ # resp.job_list[0].output_location.s3.access_control_list[0].grantee.type #=> String, one of "AmazonCustomerByEmail", "CanonicalUser", "Group"
2111
+ # resp.job_list[0].output_location.s3.access_control_list[0].grantee.display_name #=> String
2112
+ # resp.job_list[0].output_location.s3.access_control_list[0].grantee.uri #=> String
2113
+ # resp.job_list[0].output_location.s3.access_control_list[0].grantee.id #=> String
2114
+ # resp.job_list[0].output_location.s3.access_control_list[0].grantee.email_address #=> String
2115
+ # resp.job_list[0].output_location.s3.access_control_list[0].permission #=> String, one of "FULL_CONTROL", "WRITE", "WRITE_ACP", "READ", "READ_ACP"
2116
+ # resp.job_list[0].output_location.s3.tagging #=> Hash
2117
+ # resp.job_list[0].output_location.s3.tagging["string"] #=> String
2118
+ # resp.job_list[0].output_location.s3.user_metadata #=> Hash
2119
+ # resp.job_list[0].output_location.s3.user_metadata["string"] #=> String
2120
+ # resp.job_list[0].output_location.s3.storage_class #=> String, one of "STANDARD", "REDUCED_REDUNDANCY", "STANDARD_IA"
2153
2121
  # resp.marker #=> String
2154
2122
  #
2155
2123
  # @overload list_jobs(params = {})
@@ -2417,16 +2385,15 @@ module Aws::Glacier
2417
2385
  req.send_request(options)
2418
2386
  end
2419
2387
 
2420
- # This operation lists the provisioned capacity for the specified AWS
2421
- # account.
2388
+ # This operation lists the provisioned capacity units for the specified
2389
+ # AWS account.
2422
2390
  #
2423
2391
  # @option params [required, String] :account_id
2424
- # The `AccountId` value is the AWS account ID of the account that owns
2425
- # the vault. You can either specify an AWS account ID or optionally a
2426
- # single '-' (hyphen), in which case Amazon Glacier uses the AWS
2427
- # account ID associated with the credentials used to sign the request.
2428
- # If you use an account ID, don't include any hyphens ('-') in the
2429
- # ID.
2392
+ # The AWS account ID of the account that owns the vault. You can either
2393
+ # specify an AWS account ID or optionally a single '-' (hyphen), in
2394
+ # which case Amazon Glacier uses the AWS account ID associated with the
2395
+ # credentials used to sign the request. If you use an account ID, don't
2396
+ # include any hyphens ('-') in the ID.
2430
2397
  #
2431
2398
  # @return [Types::ListProvisionedCapacityOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2432
2399
  #
@@ -3213,7 +3180,7 @@ module Aws::Glacier
3213
3180
  params: params,
3214
3181
  config: config)
3215
3182
  context[:gem_name] = 'aws-sdk-glacier'
3216
- context[:gem_version] = '1.4.0'
3183
+ context[:gem_version] = '1.5.0'
3217
3184
  Seahorse::Client::Request.new(handlers, context)
3218
3185
  end
3219
3186
 
@@ -13,9 +13,13 @@ module Aws::Glacier
13
13
 
14
14
  AbortMultipartUploadInput = Shapes::StructureShape.new(name: 'AbortMultipartUploadInput')
15
15
  AbortVaultLockInput = Shapes::StructureShape.new(name: 'AbortVaultLockInput')
16
+ AccessControlPolicyList = Shapes::ListShape.new(name: 'AccessControlPolicyList')
16
17
  ActionCode = Shapes::StringShape.new(name: 'ActionCode')
17
18
  AddTagsToVaultInput = Shapes::StructureShape.new(name: 'AddTagsToVaultInput')
18
19
  ArchiveCreationOutput = Shapes::StructureShape.new(name: 'ArchiveCreationOutput')
20
+ CSVInput = Shapes::StructureShape.new(name: 'CSVInput')
21
+ CSVOutput = Shapes::StructureShape.new(name: 'CSVOutput')
22
+ CannedACL = Shapes::StringShape.new(name: 'CannedACL')
19
23
  CompleteMultipartUploadInput = Shapes::StructureShape.new(name: 'CompleteMultipartUploadInput')
20
24
  CompleteVaultLockInput = Shapes::StructureShape.new(name: 'CompleteVaultLockInput')
21
25
  CreateVaultInput = Shapes::StructureShape.new(name: 'CreateVaultInput')
@@ -31,6 +35,10 @@ module Aws::Glacier
31
35
  DescribeJobInput = Shapes::StructureShape.new(name: 'DescribeJobInput')
32
36
  DescribeVaultInput = Shapes::StructureShape.new(name: 'DescribeVaultInput')
33
37
  DescribeVaultOutput = Shapes::StructureShape.new(name: 'DescribeVaultOutput')
38
+ Encryption = Shapes::StructureShape.new(name: 'Encryption')
39
+ EncryptionType = Shapes::StringShape.new(name: 'EncryptionType')
40
+ ExpressionType = Shapes::StringShape.new(name: 'ExpressionType')
41
+ FileHeaderInfo = Shapes::StringShape.new(name: 'FileHeaderInfo')
34
42
  GetDataRetrievalPolicyInput = Shapes::StructureShape.new(name: 'GetDataRetrievalPolicyInput')
35
43
  GetDataRetrievalPolicyOutput = Shapes::StructureShape.new(name: 'GetDataRetrievalPolicyOutput')
36
44
  GetJobOutputInput = Shapes::StructureShape.new(name: 'GetJobOutputInput')
@@ -42,12 +50,15 @@ module Aws::Glacier
42
50
  GetVaultNotificationsInput = Shapes::StructureShape.new(name: 'GetVaultNotificationsInput')
43
51
  GetVaultNotificationsOutput = Shapes::StructureShape.new(name: 'GetVaultNotificationsOutput')
44
52
  GlacierJobDescription = Shapes::StructureShape.new(name: 'GlacierJobDescription')
53
+ Grant = Shapes::StructureShape.new(name: 'Grant')
54
+ Grantee = Shapes::StructureShape.new(name: 'Grantee')
45
55
  InitiateJobInput = Shapes::StructureShape.new(name: 'InitiateJobInput')
46
56
  InitiateJobOutput = Shapes::StructureShape.new(name: 'InitiateJobOutput')
47
57
  InitiateMultipartUploadInput = Shapes::StructureShape.new(name: 'InitiateMultipartUploadInput')
48
58
  InitiateMultipartUploadOutput = Shapes::StructureShape.new(name: 'InitiateMultipartUploadOutput')
49
59
  InitiateVaultLockInput = Shapes::StructureShape.new(name: 'InitiateVaultLockInput')
50
60
  InitiateVaultLockOutput = Shapes::StructureShape.new(name: 'InitiateVaultLockOutput')
61
+ InputSerialization = Shapes::StructureShape.new(name: 'InputSerialization')
51
62
  InsufficientCapacityException = Shapes::StructureShape.new(name: 'InsufficientCapacityException')
52
63
  InvalidParameterValueException = Shapes::StructureShape.new(name: 'InvalidParameterValueException')
53
64
  InventoryRetrievalJobDescription = Shapes::StructureShape.new(name: 'InventoryRetrievalJobDescription')
@@ -70,28 +81,36 @@ module Aws::Glacier
70
81
  MissingParameterValueException = Shapes::StructureShape.new(name: 'MissingParameterValueException')
71
82
  NotificationEventList = Shapes::ListShape.new(name: 'NotificationEventList')
72
83
  NullableLong = Shapes::IntegerShape.new(name: 'NullableLong')
84
+ OutputLocation = Shapes::StructureShape.new(name: 'OutputLocation')
85
+ OutputSerialization = Shapes::StructureShape.new(name: 'OutputSerialization')
73
86
  PartList = Shapes::ListShape.new(name: 'PartList')
74
87
  PartListElement = Shapes::StructureShape.new(name: 'PartListElement')
88
+ Permission = Shapes::StringShape.new(name: 'Permission')
75
89
  PolicyEnforcedException = Shapes::StructureShape.new(name: 'PolicyEnforcedException')
76
90
  ProvisionedCapacityDescription = Shapes::StructureShape.new(name: 'ProvisionedCapacityDescription')
77
91
  ProvisionedCapacityList = Shapes::ListShape.new(name: 'ProvisionedCapacityList')
78
92
  PurchaseProvisionedCapacityInput = Shapes::StructureShape.new(name: 'PurchaseProvisionedCapacityInput')
79
93
  PurchaseProvisionedCapacityOutput = Shapes::StructureShape.new(name: 'PurchaseProvisionedCapacityOutput')
94
+ QuoteFields = Shapes::StringShape.new(name: 'QuoteFields')
80
95
  RemoveTagsFromVaultInput = Shapes::StructureShape.new(name: 'RemoveTagsFromVaultInput')
81
96
  RequestTimeoutException = Shapes::StructureShape.new(name: 'RequestTimeoutException')
82
97
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
98
+ S3Location = Shapes::StructureShape.new(name: 'S3Location')
99
+ SelectParameters = Shapes::StructureShape.new(name: 'SelectParameters')
83
100
  ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
84
101
  SetDataRetrievalPolicyInput = Shapes::StructureShape.new(name: 'SetDataRetrievalPolicyInput')
85
102
  SetVaultAccessPolicyInput = Shapes::StructureShape.new(name: 'SetVaultAccessPolicyInput')
86
103
  SetVaultNotificationsInput = Shapes::StructureShape.new(name: 'SetVaultNotificationsInput')
87
104
  Size = Shapes::IntegerShape.new(name: 'Size')
88
105
  StatusCode = Shapes::StringShape.new(name: 'StatusCode')
106
+ StorageClass = Shapes::StringShape.new(name: 'StorageClass')
89
107
  Stream = Shapes::BlobShape.new(name: 'Stream')
90
108
  TagKey = Shapes::StringShape.new(name: 'TagKey')
91
109
  TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
92
110
  TagMap = Shapes::MapShape.new(name: 'TagMap')
93
111
  TagValue = Shapes::StringShape.new(name: 'TagValue')
94
112
  Timestamp = Shapes::TimestampShape.new(name: 'Timestamp', timestampFormat: "iso8601")
113
+ Type = Shapes::StringShape.new(name: 'Type')
95
114
  UploadArchiveInput = Shapes::StructureShape.new(name: 'UploadArchiveInput')
96
115
  UploadListElement = Shapes::StructureShape.new(name: 'UploadListElement')
97
116
  UploadMultipartPartInput = Shapes::StructureShape.new(name: 'UploadMultipartPartInput')
@@ -102,6 +121,7 @@ module Aws::Glacier
102
121
  VaultLockPolicy = Shapes::StructureShape.new(name: 'VaultLockPolicy')
103
122
  VaultNotificationConfig = Shapes::StructureShape.new(name: 'VaultNotificationConfig')
104
123
  boolean = Shapes::BooleanShape.new(name: 'boolean')
124
+ hashmap = Shapes::MapShape.new(name: 'hashmap')
105
125
  httpstatus = Shapes::IntegerShape.new(name: 'httpstatus')
106
126
  long = Shapes::IntegerShape.new(name: 'long')
107
127
  string = Shapes::StringShape.new(name: 'string')
@@ -115,6 +135,8 @@ module Aws::Glacier
115
135
  AbortVaultLockInput.add_member(:vault_name, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "vaultName"))
116
136
  AbortVaultLockInput.struct_class = Types::AbortVaultLockInput
117
137
 
138
+ AccessControlPolicyList.member = Shapes::ShapeRef.new(shape: Grant)
139
+
118
140
  AddTagsToVaultInput.add_member(:account_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "accountId"))
119
141
  AddTagsToVaultInput.add_member(:vault_name, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "vaultName"))
120
142
  AddTagsToVaultInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
@@ -125,6 +147,21 @@ module Aws::Glacier
125
147
  ArchiveCreationOutput.add_member(:archive_id, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "x-amz-archive-id"))
126
148
  ArchiveCreationOutput.struct_class = Types::ArchiveCreationOutput
127
149
 
150
+ CSVInput.add_member(:file_header_info, Shapes::ShapeRef.new(shape: FileHeaderInfo, location_name: "FileHeaderInfo"))
151
+ CSVInput.add_member(:comments, Shapes::ShapeRef.new(shape: string, location_name: "Comments"))
152
+ CSVInput.add_member(:quote_escape_character, Shapes::ShapeRef.new(shape: string, location_name: "QuoteEscapeCharacter"))
153
+ CSVInput.add_member(:record_delimiter, Shapes::ShapeRef.new(shape: string, location_name: "RecordDelimiter"))
154
+ CSVInput.add_member(:field_delimiter, Shapes::ShapeRef.new(shape: string, location_name: "FieldDelimiter"))
155
+ CSVInput.add_member(:quote_character, Shapes::ShapeRef.new(shape: string, location_name: "QuoteCharacter"))
156
+ CSVInput.struct_class = Types::CSVInput
157
+
158
+ CSVOutput.add_member(:quote_fields, Shapes::ShapeRef.new(shape: QuoteFields, location_name: "QuoteFields"))
159
+ CSVOutput.add_member(:quote_escape_character, Shapes::ShapeRef.new(shape: string, location_name: "QuoteEscapeCharacter"))
160
+ CSVOutput.add_member(:record_delimiter, Shapes::ShapeRef.new(shape: string, location_name: "RecordDelimiter"))
161
+ CSVOutput.add_member(:field_delimiter, Shapes::ShapeRef.new(shape: string, location_name: "FieldDelimiter"))
162
+ CSVOutput.add_member(:quote_character, Shapes::ShapeRef.new(shape: string, location_name: "QuoteCharacter"))
163
+ CSVOutput.struct_class = Types::CSVOutput
164
+
128
165
  CompleteMultipartUploadInput.add_member(:account_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "accountId"))
129
166
  CompleteMultipartUploadInput.add_member(:vault_name, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "vaultName"))
130
167
  CompleteMultipartUploadInput.add_member(:upload_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "uploadId"))
@@ -187,6 +224,11 @@ module Aws::Glacier
187
224
  DescribeVaultOutput.add_member(:size_in_bytes, Shapes::ShapeRef.new(shape: long, location_name: "SizeInBytes"))
188
225
  DescribeVaultOutput.struct_class = Types::DescribeVaultOutput
189
226
 
227
+ Encryption.add_member(:encryption_type, Shapes::ShapeRef.new(shape: EncryptionType, location_name: "EncryptionType"))
228
+ Encryption.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: string, location_name: "KMSKeyId"))
229
+ Encryption.add_member(:kms_context, Shapes::ShapeRef.new(shape: string, location_name: "KMSContext"))
230
+ Encryption.struct_class = Types::Encryption
231
+
190
232
  GetDataRetrievalPolicyInput.add_member(:account_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "accountId"))
191
233
  GetDataRetrievalPolicyInput.struct_class = Types::GetDataRetrievalPolicyInput
192
234
 
@@ -256,8 +298,22 @@ module Aws::Glacier
256
298
  GlacierJobDescription.add_member(:retrieval_byte_range, Shapes::ShapeRef.new(shape: string, location_name: "RetrievalByteRange"))
257
299
  GlacierJobDescription.add_member(:tier, Shapes::ShapeRef.new(shape: string, location_name: "Tier"))
258
300
  GlacierJobDescription.add_member(:inventory_retrieval_parameters, Shapes::ShapeRef.new(shape: InventoryRetrievalJobDescription, location_name: "InventoryRetrievalParameters"))
301
+ GlacierJobDescription.add_member(:job_output_path, Shapes::ShapeRef.new(shape: string, location_name: "JobOutputPath"))
302
+ GlacierJobDescription.add_member(:select_parameters, Shapes::ShapeRef.new(shape: SelectParameters, location_name: "SelectParameters"))
303
+ GlacierJobDescription.add_member(:output_location, Shapes::ShapeRef.new(shape: OutputLocation, location_name: "OutputLocation"))
259
304
  GlacierJobDescription.struct_class = Types::GlacierJobDescription
260
305
 
306
+ Grant.add_member(:grantee, Shapes::ShapeRef.new(shape: Grantee, location_name: "Grantee"))
307
+ Grant.add_member(:permission, Shapes::ShapeRef.new(shape: Permission, location_name: "Permission"))
308
+ Grant.struct_class = Types::Grant
309
+
310
+ Grantee.add_member(:type, Shapes::ShapeRef.new(shape: Type, required: true, location_name: "Type"))
311
+ Grantee.add_member(:display_name, Shapes::ShapeRef.new(shape: string, location_name: "DisplayName"))
312
+ Grantee.add_member(:uri, Shapes::ShapeRef.new(shape: string, location_name: "URI"))
313
+ Grantee.add_member(:id, Shapes::ShapeRef.new(shape: string, location_name: "ID"))
314
+ Grantee.add_member(:email_address, Shapes::ShapeRef.new(shape: string, location_name: "EmailAddress"))
315
+ Grantee.struct_class = Types::Grantee
316
+
261
317
  InitiateJobInput.add_member(:account_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "accountId"))
262
318
  InitiateJobInput.add_member(:vault_name, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "vaultName"))
263
319
  InitiateJobInput.add_member(:job_parameters, Shapes::ShapeRef.new(shape: JobParameters, location_name: "jobParameters"))
@@ -267,6 +323,7 @@ module Aws::Glacier
267
323
 
268
324
  InitiateJobOutput.add_member(:location, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "Location"))
269
325
  InitiateJobOutput.add_member(:job_id, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "x-amz-job-id"))
326
+ InitiateJobOutput.add_member(:job_output_path, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "x-amz-job-output-path"))
270
327
  InitiateJobOutput.struct_class = Types::InitiateJobOutput
271
328
 
272
329
  InitiateMultipartUploadInput.add_member(:account_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "accountId"))
@@ -289,6 +346,9 @@ module Aws::Glacier
289
346
  InitiateVaultLockOutput.add_member(:lock_id, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "x-amz-lock-id"))
290
347
  InitiateVaultLockOutput.struct_class = Types::InitiateVaultLockOutput
291
348
 
349
+ InputSerialization.add_member(:csv, Shapes::ShapeRef.new(shape: CSVInput, location_name: "csv"))
350
+ InputSerialization.struct_class = Types::InputSerialization
351
+
292
352
  InventoryRetrievalJobDescription.add_member(:format, Shapes::ShapeRef.new(shape: string, location_name: "Format"))
293
353
  InventoryRetrievalJobDescription.add_member(:start_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "StartDate"))
294
354
  InventoryRetrievalJobDescription.add_member(:end_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "EndDate"))
@@ -312,6 +372,8 @@ module Aws::Glacier
312
372
  JobParameters.add_member(:retrieval_byte_range, Shapes::ShapeRef.new(shape: string, location_name: "RetrievalByteRange"))
313
373
  JobParameters.add_member(:tier, Shapes::ShapeRef.new(shape: string, location_name: "Tier"))
314
374
  JobParameters.add_member(:inventory_retrieval_parameters, Shapes::ShapeRef.new(shape: InventoryRetrievalJobInput, location_name: "InventoryRetrievalParameters"))
375
+ JobParameters.add_member(:select_parameters, Shapes::ShapeRef.new(shape: SelectParameters, location_name: "SelectParameters"))
376
+ JobParameters.add_member(:output_location, Shapes::ShapeRef.new(shape: OutputLocation, location_name: "OutputLocation"))
315
377
  JobParameters.struct_class = Types::JobParameters
316
378
 
317
379
  ListJobsInput.add_member(:account_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "accountId"))
@@ -376,6 +438,12 @@ module Aws::Glacier
376
438
 
377
439
  NotificationEventList.member = Shapes::ShapeRef.new(shape: string)
378
440
 
441
+ OutputLocation.add_member(:s3, Shapes::ShapeRef.new(shape: S3Location, location_name: "S3"))
442
+ OutputLocation.struct_class = Types::OutputLocation
443
+
444
+ OutputSerialization.add_member(:csv, Shapes::ShapeRef.new(shape: CSVOutput, location_name: "csv"))
445
+ OutputSerialization.struct_class = Types::OutputSerialization
446
+
379
447
  PartList.member = Shapes::ShapeRef.new(shape: PartListElement)
380
448
 
381
449
  PartListElement.add_member(:range_in_bytes, Shapes::ShapeRef.new(shape: string, location_name: "RangeInBytes"))
@@ -400,6 +468,22 @@ module Aws::Glacier
400
468
  RemoveTagsFromVaultInput.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, location_name: "TagKeys"))
401
469
  RemoveTagsFromVaultInput.struct_class = Types::RemoveTagsFromVaultInput
402
470
 
471
+ S3Location.add_member(:bucket_name, Shapes::ShapeRef.new(shape: string, location_name: "BucketName"))
472
+ S3Location.add_member(:prefix, Shapes::ShapeRef.new(shape: string, location_name: "Prefix"))
473
+ S3Location.add_member(:encryption, Shapes::ShapeRef.new(shape: Encryption, location_name: "Encryption"))
474
+ S3Location.add_member(:canned_acl, Shapes::ShapeRef.new(shape: CannedACL, location_name: "CannedACL"))
475
+ S3Location.add_member(:access_control_list, Shapes::ShapeRef.new(shape: AccessControlPolicyList, location_name: "AccessControlList"))
476
+ S3Location.add_member(:tagging, Shapes::ShapeRef.new(shape: hashmap, location_name: "Tagging"))
477
+ S3Location.add_member(:user_metadata, Shapes::ShapeRef.new(shape: hashmap, location_name: "UserMetadata"))
478
+ S3Location.add_member(:storage_class, Shapes::ShapeRef.new(shape: StorageClass, location_name: "StorageClass"))
479
+ S3Location.struct_class = Types::S3Location
480
+
481
+ SelectParameters.add_member(:input_serialization, Shapes::ShapeRef.new(shape: InputSerialization, location_name: "InputSerialization"))
482
+ SelectParameters.add_member(:expression_type, Shapes::ShapeRef.new(shape: ExpressionType, location_name: "ExpressionType"))
483
+ SelectParameters.add_member(:expression, Shapes::ShapeRef.new(shape: string, location_name: "Expression"))
484
+ SelectParameters.add_member(:output_serialization, Shapes::ShapeRef.new(shape: OutputSerialization, location_name: "OutputSerialization"))
485
+ SelectParameters.struct_class = Types::SelectParameters
486
+
403
487
  SetDataRetrievalPolicyInput.add_member(:account_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "accountId"))
404
488
  SetDataRetrievalPolicyInput.add_member(:policy, Shapes::ShapeRef.new(shape: DataRetrievalPolicy, location_name: "Policy"))
405
489
  SetDataRetrievalPolicyInput.struct_class = Types::SetDataRetrievalPolicyInput
@@ -466,6 +550,9 @@ module Aws::Glacier
466
550
  VaultNotificationConfig.add_member(:events, Shapes::ShapeRef.new(shape: NotificationEventList, location_name: "Events"))
467
551
  VaultNotificationConfig.struct_class = Types::VaultNotificationConfig
468
552
 
553
+ hashmap.key = Shapes::ShapeRef.new(shape: string)
554
+ hashmap.value = Shapes::ShapeRef.new(shape: string)
555
+
469
556
 
470
557
  # @api private
471
558
  API = Seahorse::Model::Api.new.tap do |api|