aws-sdk-core 2.1.14 → 2.1.15

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: 6694c33f60f2e2ed57212e13e7d377cad6202352
4
- data.tar.gz: daf7bf261b31eb49a39d167da1897f7ce1d64a51
3
+ metadata.gz: eb7035e34d902375798faef2e19fe201d4fc2443
4
+ data.tar.gz: 74053d54cbf587272a5a363ca550234f4a4f17b4
5
5
  SHA512:
6
- metadata.gz: 6ac01959c5b18325a3c5e966ce57a85be9bd382d7badae7ef25022e8496dc9563b58b1df6b73c01d1f1ffba2cc1234144747ecd7f3c24804d64bdbd7987e0f2a
7
- data.tar.gz: 7685d6715e00d05fcec4632b799474854af5ab7b0bef66a761dfea1252ece7d4795ef742a984f7173c1139a6e772860d41be0a44ab299ce3f5e80dff876e5fd7
6
+ metadata.gz: cbbd080fc669fd280a25bb8aa7cec8f28019e055d7f520e4acf20ef61de3779e7c97900fee9d741bc4d095133df07c2b83baf54a924d497a91808916d72daf7b
7
+ data.tar.gz: 0b5f4f61a1e591bf8cf59e8a0452a2af002208c6b8a1385be592f16763e684e508f2a0987b567e4a0b77f3df5a60a3a4c91d479b4b80e033353ac4dcc7ad8d21
@@ -1654,6 +1654,26 @@
1654
1654
  "member":{"shape":"ExposeHeader"},
1655
1655
  "flattened":true
1656
1656
  },
1657
+ "FilterRule":{
1658
+ "type":"structure",
1659
+ "members":{
1660
+ "Name":{"shape":"FilterRuleName"},
1661
+ "Value":{"shape":"FilterRuleValue"}
1662
+ }
1663
+ },
1664
+ "FilterRuleList":{
1665
+ "type":"list",
1666
+ "member":{"shape":"FilterRule"},
1667
+ "flattened":true
1668
+ },
1669
+ "FilterRuleName":{
1670
+ "type":"string",
1671
+ "enum":[
1672
+ "prefix",
1673
+ "suffix"
1674
+ ]
1675
+ },
1676
+ "FilterRuleValue":{"type":"string"},
1657
1677
  "GetBucketAclOutput":{
1658
1678
  "type":"structure",
1659
1679
  "members":{
@@ -2475,7 +2495,8 @@
2475
2495
  "Events":{
2476
2496
  "shape":"EventList",
2477
2497
  "locationName":"Event"
2478
- }
2498
+ },
2499
+ "Filter":{"shape":"NotificationConfigurationFilter"}
2479
2500
  }
2480
2501
  },
2481
2502
  "LambdaFunctionConfigurationList":{
@@ -2872,6 +2893,15 @@
2872
2893
  "CloudFunctionConfiguration":{"shape":"CloudFunctionConfiguration"}
2873
2894
  }
2874
2895
  },
2896
+ "NotificationConfigurationFilter":{
2897
+ "type":"structure",
2898
+ "members":{
2899
+ "Key":{
2900
+ "shape":"S3KeyFilter",
2901
+ "locationName":"S3Key"
2902
+ }
2903
+ }
2904
+ },
2875
2905
  "NotificationId":{"type":"string"},
2876
2906
  "Object":{
2877
2907
  "type":"structure",
@@ -3593,7 +3623,8 @@
3593
3623
  "Events":{
3594
3624
  "shape":"EventList",
3595
3625
  "locationName":"Event"
3596
- }
3626
+ },
3627
+ "Filter":{"shape":"NotificationConfigurationFilter"}
3597
3628
  }
3598
3629
  },
3599
3630
  "QueueConfigurationDeprecated":{
@@ -3798,6 +3829,15 @@
3798
3829
  "member":{"shape":"Rule"},
3799
3830
  "flattened":true
3800
3831
  },
3832
+ "S3KeyFilter":{
3833
+ "type":"structure",
3834
+ "members":{
3835
+ "FilterRules":{
3836
+ "shape":"FilterRuleList",
3837
+ "locationName":"FilterRule"
3838
+ }
3839
+ }
3840
+ },
3801
3841
  "SSECustomerAlgorithm":{"type":"string"},
3802
3842
  "SSECustomerKey":{
3803
3843
  "type":"string",
@@ -3820,8 +3860,7 @@
3820
3860
  "type":"string",
3821
3861
  "enum":[
3822
3862
  "STANDARD",
3823
- "REDUCED_REDUNDANCY",
3824
- "LT"
3863
+ "REDUCED_REDUNDANCY"
3825
3864
  ]
3826
3865
  },
3827
3866
  "Suffix":{"type":"string"},
@@ -3882,7 +3921,8 @@
3882
3921
  "Events":{
3883
3922
  "shape":"EventList",
3884
3923
  "locationName":"Event"
3885
- }
3924
+ },
3925
+ "Filter":{"shape":"NotificationConfigurationFilter"}
3886
3926
  }
3887
3927
  },
3888
3928
  "TopicConfigurationDeprecated":{
@@ -65,12 +65,15 @@ module Aws
65
65
  ))
66
66
 
67
67
  api('glacier') do |api|
68
- api['shapes']['Date'] = { 'type' => 'timestamp' }
68
+ api['shapes']['Timestamp'] = {
69
+ 'type' => 'timestamp',
70
+ 'timestampFormat' => 'iso8601',
71
+ }
69
72
  api['shapes'].each do |_, shape|
70
73
  if shape['members']
71
74
  shape['members'].each do |name, ref|
72
75
  case name
73
- when /date/i then ref['shape'] = 'Date'
76
+ when /date/i then ref['shape'] = 'Timestamp'
74
77
  when 'limit' then ref['shape'] = 'Size'
75
78
  when 'partSize' then ref['shape'] = 'Size'
76
79
  when 'archiveSize' then ref['shape'] = 'Size'
@@ -110,7 +113,6 @@ module Aws
110
113
 
111
114
  api('s3') do |api|
112
115
  api['metadata'].delete('signatureVersion')
113
- api['operations']['GetBucketLocation'].delete('output')
114
116
  end
115
117
 
116
118
  plugins('s3', add: %w(
@@ -45,7 +45,7 @@ module Aws
45
45
  when StructureShape then structure(ref, value)
46
46
  when ListShape then list(ref, value)
47
47
  when MapShape then map(ref, value)
48
- when TimestampShape then value.to_i
48
+ when TimestampShape then timestamp(ref, value)
49
49
  when BlobShape then encode(value)
50
50
  else value
51
51
  end
@@ -55,6 +55,14 @@ module Aws
55
55
  Base64.strict_encode64(String === blob ? blob : blob.read)
56
56
  end
57
57
 
58
+ def timestamp(ref, value)
59
+ if ref['timestampFormat'] == 'iso8601'
60
+ value.utc.iso8601
61
+ else
62
+ value.to_i
63
+ end
64
+ end
65
+
58
66
  end
59
67
  end
60
68
  end
@@ -1,3 +1,3 @@
1
1
  module Aws
2
- VERSION = '2.1.14'
2
+ VERSION = '2.1.15'
3
3
  end
@@ -9,7 +9,7 @@ module Seahorse
9
9
  # a pattern string with substitutions.
10
10
  #
11
11
  # pattern = ':operation :http_response_status_code :time'
12
- # formatter = Seahorse::Logging::Formatter.new(pattern)
12
+ # formatter = Seahorse::Client::Logging::Formatter.new(pattern)
13
13
  # formatter.format(response)
14
14
  # #=> 'get_bucket 200 0.0352'
15
15
  #
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.1.14
4
+ version: 2.1.15
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-08-12 00:00:00.000000000 Z
11
+ date: 2015-08-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jmespath