aws-sdk-glacier 1.85.0 → 1.87.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -82,6 +82,7 @@ module Aws::Glacier
82
82
  ListVaultsInput = Shapes::StructureShape.new(name: 'ListVaultsInput')
83
83
  ListVaultsOutput = Shapes::StructureShape.new(name: 'ListVaultsOutput')
84
84
  MissingParameterValueException = Shapes::StructureShape.new(name: 'MissingParameterValueException')
85
+ NoLongerSupportedException = Shapes::StructureShape.new(name: 'NoLongerSupportedException')
85
86
  NotificationEventList = Shapes::ListShape.new(name: 'NotificationEventList')
86
87
  NullableLong = Shapes::IntegerShape.new(name: 'NullableLong')
87
88
  OutputLocation = Shapes::StructureShape.new(name: 'OutputLocation')
@@ -459,6 +460,11 @@ module Aws::Glacier
459
460
  MissingParameterValueException.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "message"))
460
461
  MissingParameterValueException.struct_class = Types::MissingParameterValueException
461
462
 
463
+ NoLongerSupportedException.add_member(:type, Shapes::ShapeRef.new(shape: string, location_name: "type"))
464
+ NoLongerSupportedException.add_member(:code, Shapes::ShapeRef.new(shape: string, location_name: "code"))
465
+ NoLongerSupportedException.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "message"))
466
+ NoLongerSupportedException.struct_class = Types::NoLongerSupportedException
467
+
462
468
  NotificationEventList.member = Shapes::ShapeRef.new(shape: string)
463
469
 
464
470
  OutputLocation.add_member(:s3, Shapes::ShapeRef.new(shape: S3Location, location_name: "S3"))
@@ -625,6 +631,7 @@ module Aws::Glacier
625
631
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
626
632
  o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
627
633
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
634
+ o.errors << Shapes::ShapeRef.new(shape: NoLongerSupportedException)
628
635
  end)
629
636
 
630
637
  api.add_operation(:abort_vault_lock, Seahorse::Model::Operation.new.tap do |o|
@@ -637,6 +644,7 @@ module Aws::Glacier
637
644
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
638
645
  o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
639
646
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
647
+ o.errors << Shapes::ShapeRef.new(shape: NoLongerSupportedException)
640
648
  end)
641
649
 
642
650
  api.add_operation(:add_tags_to_vault, Seahorse::Model::Operation.new.tap do |o|
@@ -650,6 +658,7 @@ module Aws::Glacier
650
658
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
651
659
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
652
660
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
661
+ o.errors << Shapes::ShapeRef.new(shape: NoLongerSupportedException)
653
662
  end)
654
663
 
655
664
  api.add_operation(:complete_multipart_upload, Seahorse::Model::Operation.new.tap do |o|
@@ -662,6 +671,7 @@ module Aws::Glacier
662
671
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
663
672
  o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
664
673
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
674
+ o.errors << Shapes::ShapeRef.new(shape: NoLongerSupportedException)
665
675
  end)
666
676
 
667
677
  api.add_operation(:complete_vault_lock, Seahorse::Model::Operation.new.tap do |o|
@@ -674,6 +684,7 @@ module Aws::Glacier
674
684
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
675
685
  o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
676
686
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
687
+ o.errors << Shapes::ShapeRef.new(shape: NoLongerSupportedException)
677
688
  end)
678
689
 
679
690
  api.add_operation(:create_vault, Seahorse::Model::Operation.new.tap do |o|
@@ -685,6 +696,7 @@ module Aws::Glacier
685
696
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
686
697
  o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
687
698
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
699
+ o.errors << Shapes::ShapeRef.new(shape: NoLongerSupportedException)
688
700
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
689
701
  end)
690
702
 
@@ -698,6 +710,7 @@ module Aws::Glacier
698
710
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
699
711
  o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
700
712
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
713
+ o.errors << Shapes::ShapeRef.new(shape: NoLongerSupportedException)
701
714
  end)
702
715
 
703
716
  api.add_operation(:delete_vault, Seahorse::Model::Operation.new.tap do |o|
@@ -710,6 +723,7 @@ module Aws::Glacier
710
723
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
711
724
  o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
712
725
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
726
+ o.errors << Shapes::ShapeRef.new(shape: NoLongerSupportedException)
713
727
  end)
714
728
 
715
729
  api.add_operation(:delete_vault_access_policy, Seahorse::Model::Operation.new.tap do |o|
@@ -722,6 +736,7 @@ module Aws::Glacier
722
736
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
723
737
  o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
724
738
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
739
+ o.errors << Shapes::ShapeRef.new(shape: NoLongerSupportedException)
725
740
  end)
726
741
 
727
742
  api.add_operation(:delete_vault_notifications, Seahorse::Model::Operation.new.tap do |o|
@@ -734,6 +749,7 @@ module Aws::Glacier
734
749
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
735
750
  o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
736
751
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
752
+ o.errors << Shapes::ShapeRef.new(shape: NoLongerSupportedException)
737
753
  end)
738
754
 
739
755
  api.add_operation(:describe_job, Seahorse::Model::Operation.new.tap do |o|
@@ -746,6 +762,7 @@ module Aws::Glacier
746
762
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
747
763
  o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
748
764
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
765
+ o.errors << Shapes::ShapeRef.new(shape: NoLongerSupportedException)
749
766
  end)
750
767
 
751
768
  api.add_operation(:describe_vault, Seahorse::Model::Operation.new.tap do |o|
@@ -758,6 +775,7 @@ module Aws::Glacier
758
775
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
759
776
  o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
760
777
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
778
+ o.errors << Shapes::ShapeRef.new(shape: NoLongerSupportedException)
761
779
  end)
762
780
 
763
781
  api.add_operation(:get_data_retrieval_policy, Seahorse::Model::Operation.new.tap do |o|
@@ -769,6 +787,7 @@ module Aws::Glacier
769
787
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
770
788
  o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
771
789
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
790
+ o.errors << Shapes::ShapeRef.new(shape: NoLongerSupportedException)
772
791
  end)
773
792
 
774
793
  api.add_operation(:get_job_output, Seahorse::Model::Operation.new.tap do |o|
@@ -781,6 +800,7 @@ module Aws::Glacier
781
800
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
782
801
  o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
783
802
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
803
+ o.errors << Shapes::ShapeRef.new(shape: NoLongerSupportedException)
784
804
  end)
785
805
 
786
806
  api.add_operation(:get_vault_access_policy, Seahorse::Model::Operation.new.tap do |o|
@@ -793,6 +813,7 @@ module Aws::Glacier
793
813
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
794
814
  o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
795
815
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
816
+ o.errors << Shapes::ShapeRef.new(shape: NoLongerSupportedException)
796
817
  end)
797
818
 
798
819
  api.add_operation(:get_vault_lock, Seahorse::Model::Operation.new.tap do |o|
@@ -805,6 +826,7 @@ module Aws::Glacier
805
826
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
806
827
  o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
807
828
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
829
+ o.errors << Shapes::ShapeRef.new(shape: NoLongerSupportedException)
808
830
  end)
809
831
 
810
832
  api.add_operation(:get_vault_notifications, Seahorse::Model::Operation.new.tap do |o|
@@ -817,6 +839,7 @@ module Aws::Glacier
817
839
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
818
840
  o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
819
841
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
842
+ o.errors << Shapes::ShapeRef.new(shape: NoLongerSupportedException)
820
843
  end)
821
844
 
822
845
  api.add_operation(:initiate_job, Seahorse::Model::Operation.new.tap do |o|
@@ -831,6 +854,7 @@ module Aws::Glacier
831
854
  o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
832
855
  o.errors << Shapes::ShapeRef.new(shape: InsufficientCapacityException)
833
856
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
857
+ o.errors << Shapes::ShapeRef.new(shape: NoLongerSupportedException)
834
858
  end)
835
859
 
836
860
  api.add_operation(:initiate_multipart_upload, Seahorse::Model::Operation.new.tap do |o|
@@ -843,6 +867,7 @@ module Aws::Glacier
843
867
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
844
868
  o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
845
869
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
870
+ o.errors << Shapes::ShapeRef.new(shape: NoLongerSupportedException)
846
871
  end)
847
872
 
848
873
  api.add_operation(:initiate_vault_lock, Seahorse::Model::Operation.new.tap do |o|
@@ -855,6 +880,7 @@ module Aws::Glacier
855
880
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
856
881
  o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
857
882
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
883
+ o.errors << Shapes::ShapeRef.new(shape: NoLongerSupportedException)
858
884
  end)
859
885
 
860
886
  api.add_operation(:list_jobs, Seahorse::Model::Operation.new.tap do |o|
@@ -867,6 +893,7 @@ module Aws::Glacier
867
893
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
868
894
  o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
869
895
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
896
+ o.errors << Shapes::ShapeRef.new(shape: NoLongerSupportedException)
870
897
  o[:pager] = Aws::Pager.new(
871
898
  limit_key: "limit",
872
899
  tokens: {
@@ -885,6 +912,7 @@ module Aws::Glacier
885
912
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
886
913
  o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
887
914
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
915
+ o.errors << Shapes::ShapeRef.new(shape: NoLongerSupportedException)
888
916
  o[:pager] = Aws::Pager.new(
889
917
  limit_key: "limit",
890
918
  tokens: {
@@ -903,6 +931,7 @@ module Aws::Glacier
903
931
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
904
932
  o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
905
933
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
934
+ o.errors << Shapes::ShapeRef.new(shape: NoLongerSupportedException)
906
935
  o[:pager] = Aws::Pager.new(
907
936
  limit_key: "limit",
908
937
  tokens: {
@@ -920,6 +949,7 @@ module Aws::Glacier
920
949
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
921
950
  o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
922
951
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
952
+ o.errors << Shapes::ShapeRef.new(shape: NoLongerSupportedException)
923
953
  end)
924
954
 
925
955
  api.add_operation(:list_tags_for_vault, Seahorse::Model::Operation.new.tap do |o|
@@ -932,6 +962,7 @@ module Aws::Glacier
932
962
  o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
933
963
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
934
964
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
965
+ o.errors << Shapes::ShapeRef.new(shape: NoLongerSupportedException)
935
966
  end)
936
967
 
937
968
  api.add_operation(:list_vaults, Seahorse::Model::Operation.new.tap do |o|
@@ -944,6 +975,7 @@ module Aws::Glacier
944
975
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
945
976
  o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
946
977
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
978
+ o.errors << Shapes::ShapeRef.new(shape: NoLongerSupportedException)
947
979
  o[:pager] = Aws::Pager.new(
948
980
  limit_key: "limit",
949
981
  tokens: {
@@ -962,6 +994,7 @@ module Aws::Glacier
962
994
  o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
963
995
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
964
996
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
997
+ o.errors << Shapes::ShapeRef.new(shape: NoLongerSupportedException)
965
998
  end)
966
999
 
967
1000
  api.add_operation(:remove_tags_from_vault, Seahorse::Model::Operation.new.tap do |o|
@@ -974,6 +1007,7 @@ module Aws::Glacier
974
1007
  o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
975
1008
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
976
1009
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1010
+ o.errors << Shapes::ShapeRef.new(shape: NoLongerSupportedException)
977
1011
  end)
978
1012
 
979
1013
  api.add_operation(:set_data_retrieval_policy, Seahorse::Model::Operation.new.tap do |o|
@@ -985,6 +1019,7 @@ module Aws::Glacier
985
1019
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
986
1020
  o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
987
1021
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1022
+ o.errors << Shapes::ShapeRef.new(shape: NoLongerSupportedException)
988
1023
  end)
989
1024
 
990
1025
  api.add_operation(:set_vault_access_policy, Seahorse::Model::Operation.new.tap do |o|
@@ -997,6 +1032,7 @@ module Aws::Glacier
997
1032
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
998
1033
  o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
999
1034
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1035
+ o.errors << Shapes::ShapeRef.new(shape: NoLongerSupportedException)
1000
1036
  end)
1001
1037
 
1002
1038
  api.add_operation(:set_vault_notifications, Seahorse::Model::Operation.new.tap do |o|
@@ -1009,6 +1045,7 @@ module Aws::Glacier
1009
1045
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
1010
1046
  o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
1011
1047
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1048
+ o.errors << Shapes::ShapeRef.new(shape: NoLongerSupportedException)
1012
1049
  end)
1013
1050
 
1014
1051
  api.add_operation(:upload_archive, Seahorse::Model::Operation.new.tap do |o|
@@ -1022,6 +1059,7 @@ module Aws::Glacier
1022
1059
  o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
1023
1060
  o.errors << Shapes::ShapeRef.new(shape: RequestTimeoutException)
1024
1061
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1062
+ o.errors << Shapes::ShapeRef.new(shape: NoLongerSupportedException)
1025
1063
  end)
1026
1064
 
1027
1065
  api.add_operation(:upload_multipart_part, Seahorse::Model::Operation.new.tap do |o|
@@ -1035,6 +1073,7 @@ module Aws::Glacier
1035
1073
  o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
1036
1074
  o.errors << Shapes::ShapeRef.new(shape: RequestTimeoutException)
1037
1075
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1076
+ o.errors << Shapes::ShapeRef.new(shape: NoLongerSupportedException)
1038
1077
  end)
1039
1078
  end
1040
1079
 
@@ -31,6 +31,7 @@ module Aws::Glacier
31
31
  # * {InvalidParameterValueException}
32
32
  # * {LimitExceededException}
33
33
  # * {MissingParameterValueException}
34
+ # * {NoLongerSupportedException}
34
35
  # * {PolicyEnforcedException}
35
36
  # * {RequestTimeoutException}
36
37
  # * {ResourceNotFoundException}
@@ -142,6 +143,31 @@ module Aws::Glacier
142
143
  end
143
144
  end
144
145
 
146
+ class NoLongerSupportedException < ServiceError
147
+
148
+ # @param [Seahorse::Client::RequestContext] context
149
+ # @param [String] message
150
+ # @param [Aws::Glacier::Types::NoLongerSupportedException] data
151
+ def initialize(context, message, data = Aws::EmptyStructure.new)
152
+ super(context, message, data)
153
+ end
154
+
155
+ # @return [String]
156
+ def type
157
+ @data[:type]
158
+ end
159
+
160
+ # @return [String]
161
+ def code
162
+ @code || @data[:code]
163
+ end
164
+
165
+ # @return [String]
166
+ def message
167
+ @message || @data[:message]
168
+ end
169
+ end
170
+
145
171
  class PolicyEnforcedException < ServiceError
146
172
 
147
173
  # @param [Seahorse::Client::RequestContext] context
@@ -393,7 +393,7 @@ module Aws::Glacier
393
393
  # find the checksum of the entire output. Using the DescribeJob API,
394
394
  # obtain job information of the job that provided you the output.
395
395
  # The response includes the checksum of the entire archive stored in
396
- # Amazon S3 Glacier. You compare this value with the checksum you
396
+ # Amazon Glacier. You compare this value with the checksum you
397
397
  # computed to ensure you have downloaded the entire archive content
398
398
  # with no errors.
399
399
  # @return [Types::GetJobOutputOutput]
@@ -240,7 +240,7 @@ module Aws::Glacier
240
240
  # The SHA256 tree hash of the entire archive. It is the tree hash of
241
241
  # SHA256 tree hash of the individual parts. If the value you specify in
242
242
  # the request does not match the SHA256 tree hash of the final assembled
243
- # archive as computed by Amazon S3 Glacier (Glacier), Glacier returns an
243
+ # archive as computed by Amazon Glacier (Glacier), Glacier returns an
244
244
  # error and the request fails.
245
245
  # @return [Types::ArchiveCreationOutput]
246
246
  def complete(options = {})
@@ -297,7 +297,7 @@ module Aws::Glacier
297
297
  # The SHA256 tree hash of the data being uploaded.
298
298
  # @option options [String] :range
299
299
  # Identifies the range of bytes in the assembled archive that will be
300
- # uploaded in this part. Amazon S3 Glacier uses this information to
300
+ # uploaded in this part. Amazon Glacier uses this information to
301
301
  # assemble the archive in the proper sequence. The format of this header
302
302
  # follows RFC 2616. An example header is Content-Range:bytes
303
303
  # 0-4194303/*.
@@ -49,7 +49,7 @@ module Aws::Glacier
49
49
  data[:sns_topic]
50
50
  end
51
51
 
52
- # A list of one or more events for which Amazon S3 Glacier will send a
52
+ # A list of one or more events for which Amazon Glacier will send a
53
53
  # notification to the specified Amazon SNS topic.
54
54
  # @return [Array<String>]
55
55
  def events