aws-sdk-core 2.0.29 → 2.0.30

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: 236a73ba271abf914d1a38f7286509a11d01c8df
4
- data.tar.gz: 1080ee0dab9eb6496e8bdb429f9edcd5292936ca
3
+ metadata.gz: 9e5565de9fac343a1538ad3024b3eb832421a10d
4
+ data.tar.gz: f87ebae71daab5281f05bc9c15f3258a48c14195
5
5
  SHA512:
6
- metadata.gz: 88d566a58982049dfdc1f33b2bee331b6b7368a82c43e48b4cea1492a277f919be0b2bf081a82468a4d32b0084f67782a1c075ecee2d7be7ffece1bd232ae2d4
7
- data.tar.gz: 2675ca20081895e20d51b56b458888314893a0651ba90d7bdf9746a71e6b2772c0907a77a573c801d796b7963d08909a076c7a0fd431a82c462cb22d22da3d0a
6
+ metadata.gz: 39345041cb751c51f6c1237ae2221be82f758de23e5b5c6c2292caa843f0d306a2cbbf35f48564f521002896751f00cfdc6502229fffe607890069864d4a8b5c
7
+ data.tar.gz: 54b5a6ec5786fc9202eb1b46c145fffdd5cc81913d6e66ef77f464ba9a2daf7dcbaf99613bf5aa55712bb5d7a21fe6a7a1e71d2f54e24462518d78e6004c31d1
@@ -1,4 +1,5 @@
1
1
  {
2
+ "version":"2.0",
2
3
  "metadata":{
3
4
  "apiVersion":"2013-11-01",
4
5
  "endpointPrefix":"cloudtrail",
@@ -196,6 +197,53 @@
196
197
  }
197
198
  ]
198
199
  },
200
+ "LookupEvents":{
201
+ "name":"LookupEvents",
202
+ "http":{
203
+ "method":"POST",
204
+ "requestUri":"/"
205
+ },
206
+ "input":{"shape":"LookupEventsRequest"},
207
+ "output":{"shape":"LookupEventsResponse"},
208
+ "errors":[
209
+ {
210
+ "shape":"InvalidLookupAttributesException",
211
+ "error":{
212
+ "code":"InvalidLookupAttributes",
213
+ "httpStatusCode":400,
214
+ "senderFault":true
215
+ },
216
+ "exception":true
217
+ },
218
+ {
219
+ "shape":"InvalidTimeRangeException",
220
+ "error":{
221
+ "code":"InvalidTimeRange",
222
+ "httpStatusCode":400,
223
+ "senderFault":true
224
+ },
225
+ "exception":true
226
+ },
227
+ {
228
+ "shape":"InvalidMaxResultsException",
229
+ "error":{
230
+ "code":"InvalidMaxResults",
231
+ "httpStatusCode":400,
232
+ "senderFault":true
233
+ },
234
+ "exception":true
235
+ },
236
+ {
237
+ "shape":"InvalidNextTokenException",
238
+ "error":{
239
+ "code":"InvalidNextToken",
240
+ "httpStatusCode":400,
241
+ "senderFault":true
242
+ },
243
+ "exception":true
244
+ }
245
+ ]
246
+ },
199
247
  "StartLogging":{
200
248
  "name":"StartLogging",
201
249
  "http":{
@@ -431,6 +479,21 @@
431
479
  "trailList":{"shape":"TrailList"}
432
480
  }
433
481
  },
482
+ "Event":{
483
+ "type":"structure",
484
+ "members":{
485
+ "EventId":{"shape":"String"},
486
+ "EventName":{"shape":"String"},
487
+ "EventTime":{"shape":"Date"},
488
+ "Username":{"shape":"String"},
489
+ "Resources":{"shape":"ResourceList"},
490
+ "CloudTrailEvent":{"shape":"String"}
491
+ }
492
+ },
493
+ "EventsList":{
494
+ "type":"list",
495
+ "member":{"shape":"Event"}
496
+ },
434
497
  "GetTrailStatusRequest":{
435
498
  "type":"structure",
436
499
  "required":["Name"],
@@ -496,6 +559,39 @@
496
559
  },
497
560
  "exception":true
498
561
  },
562
+ "InvalidLookupAttributesException":{
563
+ "type":"structure",
564
+ "members":{
565
+ },
566
+ "error":{
567
+ "code":"InvalidLookupAttributes",
568
+ "httpStatusCode":400,
569
+ "senderFault":true
570
+ },
571
+ "exception":true
572
+ },
573
+ "InvalidMaxResultsException":{
574
+ "type":"structure",
575
+ "members":{
576
+ },
577
+ "error":{
578
+ "code":"InvalidMaxResults",
579
+ "httpStatusCode":400,
580
+ "senderFault":true
581
+ },
582
+ "exception":true
583
+ },
584
+ "InvalidNextTokenException":{
585
+ "type":"structure",
586
+ "members":{
587
+ },
588
+ "error":{
589
+ "code":"InvalidNextToken",
590
+ "httpStatusCode":400,
591
+ "senderFault":true
592
+ },
593
+ "exception":true
594
+ },
499
595
  "InvalidS3BucketNameException":{
500
596
  "type":"structure",
501
597
  "members":{
@@ -529,6 +625,17 @@
529
625
  },
530
626
  "exception":true
531
627
  },
628
+ "InvalidTimeRangeException":{
629
+ "type":"structure",
630
+ "members":{
631
+ },
632
+ "error":{
633
+ "code":"InvalidTimeRange",
634
+ "httpStatusCode":400,
635
+ "senderFault":true
636
+ },
637
+ "exception":true
638
+ },
532
639
  "InvalidTrailNameException":{
533
640
  "type":"structure",
534
641
  "members":{
@@ -540,6 +647,53 @@
540
647
  },
541
648
  "exception":true
542
649
  },
650
+ "LookupAttribute":{
651
+ "type":"structure",
652
+ "required":[
653
+ "AttributeKey",
654
+ "AttributeValue"
655
+ ],
656
+ "members":{
657
+ "AttributeKey":{"shape":"LookupAttributeKey"},
658
+ "AttributeValue":{"shape":"String"}
659
+ }
660
+ },
661
+ "LookupAttributeKey":{
662
+ "type":"string",
663
+ "enum":[
664
+ "EventId",
665
+ "EventName",
666
+ "Username",
667
+ "ResourceType",
668
+ "ResourceName"
669
+ ]
670
+ },
671
+ "LookupAttributesList":{
672
+ "type":"list",
673
+ "member":{"shape":"LookupAttribute"}
674
+ },
675
+ "LookupEventsRequest":{
676
+ "type":"structure",
677
+ "members":{
678
+ "LookupAttributes":{"shape":"LookupAttributesList"},
679
+ "StartTime":{"shape":"Date"},
680
+ "EndTime":{"shape":"Date"},
681
+ "MaxResults":{"shape":"MaxResults"},
682
+ "NextToken":{"shape":"NextToken"}
683
+ }
684
+ },
685
+ "LookupEventsResponse":{
686
+ "type":"structure",
687
+ "members":{
688
+ "Events":{"shape":"EventsList"},
689
+ "NextToken":{"shape":"NextToken"}
690
+ }
691
+ },
692
+ "MaxResults":{
693
+ "type":"integer",
694
+ "min":1,
695
+ "max":50
696
+ },
543
697
  "MaximumNumberOfTrailsExceededException":{
544
698
  "type":"structure",
545
699
  "members":{
@@ -551,6 +705,18 @@
551
705
  },
552
706
  "exception":true
553
707
  },
708
+ "NextToken":{"type":"string"},
709
+ "Resource":{
710
+ "type":"structure",
711
+ "members":{
712
+ "ResourceType":{"shape":"String"},
713
+ "ResourceName":{"shape":"String"}
714
+ }
715
+ },
716
+ "ResourceList":{
717
+ "type":"list",
718
+ "member":{"shape":"Resource"}
719
+ },
554
720
  "S3BucketDoesNotExistException":{
555
721
  "type":"structure",
556
722
  "members":{
@@ -1,4 +1,5 @@
1
1
  {
2
+ "version":"2.0",
2
3
  "metadata":{
3
4
  "apiVersion":"2014-03-28",
4
5
  "endpointPrefix":"logs",
@@ -446,6 +447,7 @@
446
447
  "logGroupName":{"shape":"LogGroupName"}
447
448
  }
448
449
  },
450
+ "Descending":{"type":"boolean"},
449
451
  "DescribeLimit":{
450
452
  "type":"integer",
451
453
  "min":1,
@@ -472,6 +474,8 @@
472
474
  "members":{
473
475
  "logGroupName":{"shape":"LogGroupName"},
474
476
  "logStreamNamePrefix":{"shape":"LogStreamName"},
477
+ "orderBy":{"shape":"OrderBy"},
478
+ "descending":{"shape":"Descending"},
475
479
  "nextToken":{"shape":"NextToken"},
476
480
  "limit":{"shape":"DescribeLimit"}
477
481
  }
@@ -502,8 +506,7 @@
502
506
  },
503
507
  "EventMessage":{
504
508
  "type":"string",
505
- "min":1,
506
- "max":32768
509
+ "min":1
507
510
  },
508
511
  "EventNumber":{"type":"long"},
509
512
  "EventsLimit":{
@@ -567,7 +570,7 @@
567
570
  "type":"list",
568
571
  "member":{"shape":"InputLogEvent"},
569
572
  "min":1,
570
- "max":1000
573
+ "max":10000
571
574
  },
572
575
  "InvalidParameterException":{
573
576
  "type":"structure",
@@ -588,6 +591,7 @@
588
591
  },
589
592
  "exception":true
590
593
  },
594
+ "LogEventIndex":{"type":"integer"},
591
595
  "LogGroup":{
592
596
  "type":"structure",
593
597
  "members":{
@@ -690,13 +694,23 @@
690
694
  "type":"string",
691
695
  "max":100
692
696
  },
693
- "NextToken":{"type":"string"},
697
+ "NextToken":{
698
+ "type":"string",
699
+ "min":1
700
+ },
694
701
  "OperationAbortedException":{
695
702
  "type":"structure",
696
703
  "members":{
697
704
  },
698
705
  "exception":true
699
706
  },
707
+ "OrderBy":{
708
+ "type":"string",
709
+ "enum":[
710
+ "LogStreamName",
711
+ "LastEventTime"
712
+ ]
713
+ },
700
714
  "OutputLogEvent":{
701
715
  "type":"structure",
702
716
  "members":{
@@ -726,7 +740,8 @@
726
740
  "PutLogEventsResponse":{
727
741
  "type":"structure",
728
742
  "members":{
729
- "nextSequenceToken":{"shape":"SequenceToken"}
743
+ "nextSequenceToken":{"shape":"SequenceToken"},
744
+ "rejectedLogEventsInfo":{"shape":"RejectedLogEventsInfo"}
730
745
  }
731
746
  },
732
747
  "PutMetricFilterRequest":{
@@ -755,6 +770,14 @@
755
770
  "retentionInDays":{"shape":"Days"}
756
771
  }
757
772
  },
773
+ "RejectedLogEventsInfo":{
774
+ "type":"structure",
775
+ "members":{
776
+ "tooNewLogEventStartIndex":{"shape":"LogEventIndex"},
777
+ "tooOldLogEventEndIndex":{"shape":"LogEventIndex"},
778
+ "expiredLogEventEndIndex":{"shape":"LogEventIndex"}
779
+ }
780
+ },
758
781
  "ResourceAlreadyExistsException":{
759
782
  "type":"structure",
760
783
  "members":{
@@ -1,4 +1,5 @@
1
1
  {
2
+ "version":"2.0",
2
3
  "metadata":{
3
4
  "apiVersion":"2014-10-01",
4
5
  "endpointPrefix":"ec2",
@@ -4215,7 +4216,9 @@
4215
4216
  "Filters":{
4216
4217
  "shape":"FilterList",
4217
4218
  "locationName":"Filter"
4218
- }
4219
+ },
4220
+ "NextToken":{"shape":"String"},
4221
+ "MaxResults":{"shape":"Integer"}
4219
4222
  }
4220
4223
  },
4221
4224
  "DescribeSnapshotsResult":{
@@ -4224,6 +4227,10 @@
4224
4227
  "Snapshots":{
4225
4228
  "shape":"SnapshotList",
4226
4229
  "locationName":"snapshotSet"
4230
+ },
4231
+ "NextToken":{
4232
+ "shape":"String",
4233
+ "locationName":"nextToken"
4227
4234
  }
4228
4235
  }
4229
4236
  },
@@ -81,6 +81,8 @@
81
81
  "result_key": "SecurityGroups"
82
82
  },
83
83
  "DescribeSnapshots": {
84
+ "input_token": "NextToken",
85
+ "output_token": "NextToken",
84
86
  "result_key": "Snapshots"
85
87
  },
86
88
  "DescribeSpotInstanceRequests": {
@@ -1530,6 +1530,15 @@
1530
1530
  }
1531
1531
  }
1532
1532
  },
1533
+ "waiters": {
1534
+ "Completed": {
1535
+ "waiterName": "SnapshotCompleted",
1536
+ "params": [
1537
+ { "target": "SnapshotIds[]", "source": "identifier", "name": "Id" }
1538
+ ],
1539
+ "path": "Snapshots[]"
1540
+ }
1541
+ },
1533
1542
  "has": {
1534
1543
  "Volume": {
1535
1544
  "resource": {
@@ -1769,6 +1778,14 @@
1769
1778
  ]
1770
1779
  }
1771
1780
  },
1781
+ "Delete": {
1782
+ "request": {
1783
+ "operation": "DeleteVolume",
1784
+ "params": [
1785
+ { "target": "VolumeId", "source": "identifier", "name": "Id" }
1786
+ ]
1787
+ }
1788
+ },
1772
1789
  "DescribeAttribute": {
1773
1790
  "request": {
1774
1791
  "operation": "DescribeVolumeAttribute",
@@ -24,13 +24,23 @@ module Aws
24
24
  end
25
25
  end
26
26
 
27
+ # @api private
28
+ def prev_tokens(response)
29
+ @tokens.each.with_object({}) do |(_, target), tokens|
30
+ value = JMESPath.search(target, response.context.params)
31
+ tokens[target.to_sym] = value unless empty_value?(value)
32
+ end
33
+ end
34
+
27
35
  # @param [Seahorse::Client::Response] response
28
36
  # @return [Boolean]
29
37
  def truncated?(response)
30
38
  if @more_results
31
39
  JMESPath.search(@more_results, response.data)
32
40
  else
33
- !next_tokens(response).empty?
41
+ next_tokens = self.next_tokens(response)
42
+ prev_tokens = self.prev_tokens(response)
43
+ !(next_tokens.empty? || next_tokens == prev_tokens)
34
44
  end
35
45
  end
36
46
 
@@ -1,3 +1,3 @@
1
1
  module Aws
2
- VERSION = '2.0.29'
2
+ VERSION = '2.0.30'
3
3
  end
@@ -12,6 +12,8 @@ module Seahorse
12
12
  @body = options[:body] || StringIO.new
13
13
  @listeners = Hash.new { |h,k| h[k] = [] }
14
14
  @complete = false
15
+ @done = nil
16
+ @error = nil
15
17
  end
16
18
 
17
19
  # @return [Integer] Returns `0` if the request failed to generate
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.29
4
+ version: 2.0.30
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: 2015-03-04 00:00:00.000000000 Z
11
+ date: 2015-03-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: multi_json