aws-sdk-sqs 1.63.0 → 1.66.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +15 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-sqs/client.rb +14 -4
- data/lib/aws-sdk-sqs/client_api.rb +249 -58
- data/lib/aws-sdk-sqs/endpoint_provider.rb +2 -2
- data/lib/aws-sdk-sqs/errors.rb +251 -0
- data/lib/aws-sdk-sqs/queue_poller.rb +65 -35
- data/lib/aws-sdk-sqs/types.rb +287 -15
- data/lib/aws-sdk-sqs.rb +1 -1
- metadata +2 -2
data/lib/aws-sdk-sqs/types.rb
CHANGED
@@ -67,15 +67,29 @@ module Aws::SQS
|
|
67
67
|
|
68
68
|
# Two or more batch entries in the request have the same `Id`.
|
69
69
|
#
|
70
|
+
# @!attribute [rw] message
|
71
|
+
# @return [String]
|
72
|
+
#
|
70
73
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/BatchEntryIdsNotDistinct AWS API Documentation
|
71
74
|
#
|
72
|
-
class BatchEntryIdsNotDistinct <
|
75
|
+
class BatchEntryIdsNotDistinct < Struct.new(
|
76
|
+
:message)
|
77
|
+
SENSITIVE = []
|
78
|
+
include Aws::Structure
|
79
|
+
end
|
73
80
|
|
74
81
|
# The length of all the messages put together is more than the limit.
|
75
82
|
#
|
83
|
+
# @!attribute [rw] message
|
84
|
+
# @return [String]
|
85
|
+
#
|
76
86
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/BatchRequestTooLong AWS API Documentation
|
77
87
|
#
|
78
|
-
class BatchRequestTooLong <
|
88
|
+
class BatchRequestTooLong < Struct.new(
|
89
|
+
:message)
|
90
|
+
SENSITIVE = []
|
91
|
+
include Aws::Structure
|
92
|
+
end
|
79
93
|
|
80
94
|
# Gives a detailed description of the result of an action on each entry
|
81
95
|
# in the request.
|
@@ -646,9 +660,16 @@ module Aws::SQS
|
|
646
660
|
|
647
661
|
# The batch request doesn't contain any entries.
|
648
662
|
#
|
663
|
+
# @!attribute [rw] message
|
664
|
+
# @return [String]
|
665
|
+
#
|
649
666
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/EmptyBatchRequest AWS API Documentation
|
650
667
|
#
|
651
|
-
class EmptyBatchRequest <
|
668
|
+
class EmptyBatchRequest < Struct.new(
|
669
|
+
:message)
|
670
|
+
SENSITIVE = []
|
671
|
+
include Aws::Structure
|
672
|
+
end
|
652
673
|
|
653
674
|
# @!attribute [rw] queue_url
|
654
675
|
# The URL of the Amazon SQS queue whose attribute information is
|
@@ -918,18 +939,58 @@ module Aws::SQS
|
|
918
939
|
include Aws::Structure
|
919
940
|
end
|
920
941
|
|
942
|
+
# The `accountId` is invalid.
|
943
|
+
#
|
944
|
+
# @!attribute [rw] message
|
945
|
+
# @return [String]
|
946
|
+
#
|
947
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/InvalidAddress AWS API Documentation
|
948
|
+
#
|
949
|
+
class InvalidAddress < Struct.new(
|
950
|
+
:message)
|
951
|
+
SENSITIVE = []
|
952
|
+
include Aws::Structure
|
953
|
+
end
|
954
|
+
|
921
955
|
# The specified attribute doesn't exist.
|
922
956
|
#
|
957
|
+
# @!attribute [rw] message
|
958
|
+
# @return [String]
|
959
|
+
#
|
923
960
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/InvalidAttributeName AWS API Documentation
|
924
961
|
#
|
925
|
-
class InvalidAttributeName <
|
962
|
+
class InvalidAttributeName < Struct.new(
|
963
|
+
:message)
|
964
|
+
SENSITIVE = []
|
965
|
+
include Aws::Structure
|
966
|
+
end
|
967
|
+
|
968
|
+
# A queue attribute value is invalid.
|
969
|
+
#
|
970
|
+
# @!attribute [rw] message
|
971
|
+
# @return [String]
|
972
|
+
#
|
973
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/InvalidAttributeValue AWS API Documentation
|
974
|
+
#
|
975
|
+
class InvalidAttributeValue < Struct.new(
|
976
|
+
:message)
|
977
|
+
SENSITIVE = []
|
978
|
+
include Aws::Structure
|
979
|
+
end
|
926
980
|
|
927
981
|
# The `Id` of a batch entry in a batch request doesn't abide by the
|
928
982
|
# specification.
|
929
983
|
#
|
984
|
+
# @!attribute [rw] message
|
985
|
+
# @return [String]
|
986
|
+
#
|
930
987
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/InvalidBatchEntryId AWS API Documentation
|
931
988
|
#
|
932
|
-
class InvalidBatchEntryId <
|
989
|
+
class InvalidBatchEntryId < Struct.new(
|
990
|
+
:message)
|
991
|
+
SENSITIVE = []
|
992
|
+
include Aws::Structure
|
993
|
+
end
|
933
994
|
|
934
995
|
# The specified receipt handle isn't valid for the current version.
|
935
996
|
#
|
@@ -939,9 +1000,131 @@ module Aws::SQS
|
|
939
1000
|
|
940
1001
|
# The message contains characters outside the allowed set.
|
941
1002
|
#
|
1003
|
+
# @!attribute [rw] message
|
1004
|
+
# @return [String]
|
1005
|
+
#
|
942
1006
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/InvalidMessageContents AWS API Documentation
|
943
1007
|
#
|
944
|
-
class InvalidMessageContents <
|
1008
|
+
class InvalidMessageContents < Struct.new(
|
1009
|
+
:message)
|
1010
|
+
SENSITIVE = []
|
1011
|
+
include Aws::Structure
|
1012
|
+
end
|
1013
|
+
|
1014
|
+
# When the request to a queue is not HTTPS and SigV4.
|
1015
|
+
#
|
1016
|
+
# @!attribute [rw] message
|
1017
|
+
# @return [String]
|
1018
|
+
#
|
1019
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/InvalidSecurity AWS API Documentation
|
1020
|
+
#
|
1021
|
+
class InvalidSecurity < Struct.new(
|
1022
|
+
:message)
|
1023
|
+
SENSITIVE = []
|
1024
|
+
include Aws::Structure
|
1025
|
+
end
|
1026
|
+
|
1027
|
+
# The caller doesn't have the required KMS access.
|
1028
|
+
#
|
1029
|
+
# @!attribute [rw] message
|
1030
|
+
# @return [String]
|
1031
|
+
#
|
1032
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/KmsAccessDenied AWS API Documentation
|
1033
|
+
#
|
1034
|
+
class KmsAccessDenied < Struct.new(
|
1035
|
+
:message)
|
1036
|
+
SENSITIVE = []
|
1037
|
+
include Aws::Structure
|
1038
|
+
end
|
1039
|
+
|
1040
|
+
# The request was denied due to request throttling.
|
1041
|
+
#
|
1042
|
+
# @!attribute [rw] message
|
1043
|
+
# @return [String]
|
1044
|
+
#
|
1045
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/KmsDisabled AWS API Documentation
|
1046
|
+
#
|
1047
|
+
class KmsDisabled < Struct.new(
|
1048
|
+
:message)
|
1049
|
+
SENSITIVE = []
|
1050
|
+
include Aws::Structure
|
1051
|
+
end
|
1052
|
+
|
1053
|
+
# The request was rejected for one of the following reasons:
|
1054
|
+
#
|
1055
|
+
# * The KeyUsage value of the KMS key is incompatible with the API
|
1056
|
+
# operation.
|
1057
|
+
#
|
1058
|
+
# * The encryption algorithm or signing algorithm specified for the
|
1059
|
+
# operation is incompatible with the type of key material in the KMS
|
1060
|
+
# key (KeySpec).
|
1061
|
+
#
|
1062
|
+
# @!attribute [rw] message
|
1063
|
+
# @return [String]
|
1064
|
+
#
|
1065
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/KmsInvalidKeyUsage AWS API Documentation
|
1066
|
+
#
|
1067
|
+
class KmsInvalidKeyUsage < Struct.new(
|
1068
|
+
:message)
|
1069
|
+
SENSITIVE = []
|
1070
|
+
include Aws::Structure
|
1071
|
+
end
|
1072
|
+
|
1073
|
+
# The request was rejected because the state of the specified resource
|
1074
|
+
# is not valid for this request.
|
1075
|
+
#
|
1076
|
+
# @!attribute [rw] message
|
1077
|
+
# @return [String]
|
1078
|
+
#
|
1079
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/KmsInvalidState AWS API Documentation
|
1080
|
+
#
|
1081
|
+
class KmsInvalidState < Struct.new(
|
1082
|
+
:message)
|
1083
|
+
SENSITIVE = []
|
1084
|
+
include Aws::Structure
|
1085
|
+
end
|
1086
|
+
|
1087
|
+
# The request was rejected because the specified entity or resource
|
1088
|
+
# could not be found.
|
1089
|
+
#
|
1090
|
+
# @!attribute [rw] message
|
1091
|
+
# @return [String]
|
1092
|
+
#
|
1093
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/KmsNotFound AWS API Documentation
|
1094
|
+
#
|
1095
|
+
class KmsNotFound < Struct.new(
|
1096
|
+
:message)
|
1097
|
+
SENSITIVE = []
|
1098
|
+
include Aws::Structure
|
1099
|
+
end
|
1100
|
+
|
1101
|
+
# The request was rejected because the specified key policy isn't
|
1102
|
+
# syntactically or semantically correct.
|
1103
|
+
#
|
1104
|
+
# @!attribute [rw] message
|
1105
|
+
# @return [String]
|
1106
|
+
#
|
1107
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/KmsOptInRequired AWS API Documentation
|
1108
|
+
#
|
1109
|
+
class KmsOptInRequired < Struct.new(
|
1110
|
+
:message)
|
1111
|
+
SENSITIVE = []
|
1112
|
+
include Aws::Structure
|
1113
|
+
end
|
1114
|
+
|
1115
|
+
# Amazon Web Services KMS throttles requests for the following
|
1116
|
+
# conditions.
|
1117
|
+
#
|
1118
|
+
# @!attribute [rw] message
|
1119
|
+
# @return [String]
|
1120
|
+
#
|
1121
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/KmsThrottled AWS API Documentation
|
1122
|
+
#
|
1123
|
+
class KmsThrottled < Struct.new(
|
1124
|
+
:message)
|
1125
|
+
SENSITIVE = []
|
1126
|
+
include Aws::Structure
|
1127
|
+
end
|
945
1128
|
|
946
1129
|
# @!attribute [rw] queue_url
|
947
1130
|
# The URL of a dead-letter queue.
|
@@ -1371,17 +1554,31 @@ module Aws::SQS
|
|
1371
1554
|
# reached and `AddPermission` returns this error if the maximum number
|
1372
1555
|
# of permissions for the queue is reached.
|
1373
1556
|
#
|
1557
|
+
# @!attribute [rw] message
|
1558
|
+
# @return [String]
|
1559
|
+
#
|
1374
1560
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/OverLimit AWS API Documentation
|
1375
1561
|
#
|
1376
|
-
class OverLimit <
|
1562
|
+
class OverLimit < Struct.new(
|
1563
|
+
:message)
|
1564
|
+
SENSITIVE = []
|
1565
|
+
include Aws::Structure
|
1566
|
+
end
|
1377
1567
|
|
1378
1568
|
# Indicates that the specified queue previously received a `PurgeQueue`
|
1379
1569
|
# request within the last 60 seconds (the time it can take to delete the
|
1380
1570
|
# messages in the queue).
|
1381
1571
|
#
|
1572
|
+
# @!attribute [rw] message
|
1573
|
+
# @return [String]
|
1574
|
+
#
|
1382
1575
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/PurgeQueueInProgress AWS API Documentation
|
1383
1576
|
#
|
1384
|
-
class PurgeQueueInProgress <
|
1577
|
+
class PurgeQueueInProgress < Struct.new(
|
1578
|
+
:message)
|
1579
|
+
SENSITIVE = []
|
1580
|
+
include Aws::Structure
|
1581
|
+
end
|
1385
1582
|
|
1386
1583
|
# @!attribute [rw] queue_url
|
1387
1584
|
# The URL of the queue from which the `PurgeQueue` action deletes
|
@@ -1401,29 +1598,57 @@ module Aws::SQS
|
|
1401
1598
|
# You must wait 60 seconds after deleting a queue before you can create
|
1402
1599
|
# another queue with the same name.
|
1403
1600
|
#
|
1601
|
+
# @!attribute [rw] message
|
1602
|
+
# @return [String]
|
1603
|
+
#
|
1404
1604
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/QueueDeletedRecently AWS API Documentation
|
1405
1605
|
#
|
1406
|
-
class QueueDeletedRecently <
|
1606
|
+
class QueueDeletedRecently < Struct.new(
|
1607
|
+
:message)
|
1608
|
+
SENSITIVE = []
|
1609
|
+
include Aws::Structure
|
1610
|
+
end
|
1407
1611
|
|
1408
1612
|
# The specified queue doesn't exist.
|
1409
1613
|
#
|
1614
|
+
# @!attribute [rw] message
|
1615
|
+
# @return [String]
|
1616
|
+
#
|
1410
1617
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/QueueDoesNotExist AWS API Documentation
|
1411
1618
|
#
|
1412
|
-
class QueueDoesNotExist <
|
1619
|
+
class QueueDoesNotExist < Struct.new(
|
1620
|
+
:message)
|
1621
|
+
SENSITIVE = []
|
1622
|
+
include Aws::Structure
|
1623
|
+
end
|
1413
1624
|
|
1414
1625
|
# A queue with this name already exists. Amazon SQS returns this error
|
1415
1626
|
# only if the request includes attributes whose values differ from those
|
1416
1627
|
# of the existing queue.
|
1417
1628
|
#
|
1629
|
+
# @!attribute [rw] message
|
1630
|
+
# @return [String]
|
1631
|
+
#
|
1418
1632
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/QueueNameExists AWS API Documentation
|
1419
1633
|
#
|
1420
|
-
class QueueNameExists <
|
1634
|
+
class QueueNameExists < Struct.new(
|
1635
|
+
:message)
|
1636
|
+
SENSITIVE = []
|
1637
|
+
include Aws::Structure
|
1638
|
+
end
|
1421
1639
|
|
1422
1640
|
# The specified receipt handle isn't valid.
|
1423
1641
|
#
|
1642
|
+
# @!attribute [rw] message
|
1643
|
+
# @return [String]
|
1644
|
+
#
|
1424
1645
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/ReceiptHandleIsInvalid AWS API Documentation
|
1425
1646
|
#
|
1426
|
-
class ReceiptHandleIsInvalid <
|
1647
|
+
class ReceiptHandleIsInvalid < Struct.new(
|
1648
|
+
:message)
|
1649
|
+
SENSITIVE = []
|
1650
|
+
include Aws::Structure
|
1651
|
+
end
|
1427
1652
|
|
1428
1653
|
# @!attribute [rw] queue_url
|
1429
1654
|
# The URL of the Amazon SQS queue from which messages are received.
|
@@ -1649,11 +1874,44 @@ module Aws::SQS
|
|
1649
1874
|
include Aws::Structure
|
1650
1875
|
end
|
1651
1876
|
|
1877
|
+
# The request was denied due to request throttling.
|
1878
|
+
#
|
1879
|
+
# * The rate of requests per second exceeds the Amazon Web Services KMS
|
1880
|
+
# request quota for an account and Region.
|
1881
|
+
#
|
1882
|
+
# * A burst or sustained high rate of requests to change the state of
|
1883
|
+
# the same KMS key. This condition is often known as a "hot key."
|
1884
|
+
#
|
1885
|
+
# * Requests for operations on KMS keys in a Amazon Web Services
|
1886
|
+
# CloudHSM key store might be throttled at a lower-than-expected rate
|
1887
|
+
# when the Amazon Web Services CloudHSM cluster associated with the
|
1888
|
+
# Amazon Web Services CloudHSM key store is processing numerous
|
1889
|
+
# commands, including those unrelated to the Amazon Web Services
|
1890
|
+
# CloudHSM key store.
|
1891
|
+
#
|
1892
|
+
# @!attribute [rw] message
|
1893
|
+
# @return [String]
|
1894
|
+
#
|
1895
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/RequestThrottled AWS API Documentation
|
1896
|
+
#
|
1897
|
+
class RequestThrottled < Struct.new(
|
1898
|
+
:message)
|
1899
|
+
SENSITIVE = []
|
1900
|
+
include Aws::Structure
|
1901
|
+
end
|
1902
|
+
|
1652
1903
|
# One or more specified resources don't exist.
|
1653
1904
|
#
|
1905
|
+
# @!attribute [rw] message
|
1906
|
+
# @return [String]
|
1907
|
+
#
|
1654
1908
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/ResourceNotFoundException AWS API Documentation
|
1655
1909
|
#
|
1656
|
-
class ResourceNotFoundException <
|
1910
|
+
class ResourceNotFoundException < Struct.new(
|
1911
|
+
:message)
|
1912
|
+
SENSITIVE = []
|
1913
|
+
include Aws::Structure
|
1914
|
+
end
|
1657
1915
|
|
1658
1916
|
# @!attribute [rw] queue_url
|
1659
1917
|
# The URL of the Amazon SQS queue to which batched messages are sent.
|
@@ -2449,15 +2707,29 @@ module Aws::SQS
|
|
2449
2707
|
|
2450
2708
|
# The batch request contains more entries than permissible.
|
2451
2709
|
#
|
2710
|
+
# @!attribute [rw] message
|
2711
|
+
# @return [String]
|
2712
|
+
#
|
2452
2713
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/TooManyEntriesInBatchRequest AWS API Documentation
|
2453
2714
|
#
|
2454
|
-
class TooManyEntriesInBatchRequest <
|
2715
|
+
class TooManyEntriesInBatchRequest < Struct.new(
|
2716
|
+
:message)
|
2717
|
+
SENSITIVE = []
|
2718
|
+
include Aws::Structure
|
2719
|
+
end
|
2455
2720
|
|
2456
2721
|
# Error code 400. Unsupported operation.
|
2457
2722
|
#
|
2723
|
+
# @!attribute [rw] message
|
2724
|
+
# @return [String]
|
2725
|
+
#
|
2458
2726
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/UnsupportedOperation AWS API Documentation
|
2459
2727
|
#
|
2460
|
-
class UnsupportedOperation <
|
2728
|
+
class UnsupportedOperation < Struct.new(
|
2729
|
+
:message)
|
2730
|
+
SENSITIVE = []
|
2731
|
+
include Aws::Structure
|
2732
|
+
end
|
2461
2733
|
|
2462
2734
|
# @!attribute [rw] queue_url
|
2463
2735
|
# The URL of the queue.
|
data/lib/aws-sdk-sqs.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-sqs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.66.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-11-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|