aws-sdk-core 2.2.22 → 2.2.23

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8af60b147fb7b624a055c0fed10ee7a73672c6e7
4
- data.tar.gz: f78c0ef7c9f31b3cb62bb76c2d335db2016ceae5
3
+ metadata.gz: fdfb58f0129458e647da3035502e226bd75ef66c
4
+ data.tar.gz: 6bde96b1fc8bc244eccf259db87529907e3f49c4
5
5
  SHA512:
6
- metadata.gz: 03593764d90f8315582484d174e3805a134f4c991692a5e6e1aa7eef41aba44e68ea68e1e65404668c1541a0409236bbc2fac7ab760bf8538a56a00bfa48b4b2
7
- data.tar.gz: 451f40dfea3e633e537f3dbabd17b1d9caee90d920dab2a2ebc984539d46e5c218692a59216ca30eb540959469ace2f1ca48f49208fa2e3d183218a6defe64c2
6
+ metadata.gz: c278f067f3f98c1a9d101efd7fdb66b4909943ff6a5ef59ed693a4e4a2869b28420593593367e876c215e7968b31465db6032bdb2ebbc3ad3cbaa731a34558c3
7
+ data.tar.gz: b09c97b07202aec3ba313a02438553663100b0335425348f93676dd4047abdb61ef4acbc3dd094f473524deccf673d85a0fd5ccb0f9688908ce0c12614518d8e
@@ -751,7 +751,7 @@
751
751
  "operation": "DescribeAutoScalingInstances",
752
752
  "params": [
753
753
  {
754
- "target": "InstancesIds[0]",
754
+ "target": "InstanceIds[0]",
755
755
  "source": "identifier",
756
756
  "name": "Id"
757
757
  }
@@ -170,6 +170,21 @@
170
170
  {"shape":"UnsupportedOperationException"}
171
171
  ]
172
172
  },
173
+ "DeregisterEventTopic":{
174
+ "name":"DeregisterEventTopic",
175
+ "http":{
176
+ "method":"POST",
177
+ "requestUri":"/"
178
+ },
179
+ "input":{"shape":"DeregisterEventTopicRequest"},
180
+ "output":{"shape":"DeregisterEventTopicResult"},
181
+ "errors":[
182
+ {"shape":"EntityDoesNotExistException"},
183
+ {"shape":"InvalidParameterException"},
184
+ {"shape":"ClientException"},
185
+ {"shape":"ServiceException"}
186
+ ]
187
+ },
173
188
  "DescribeDirectories":{
174
189
  "name":"DescribeDirectories",
175
190
  "http":{
@@ -186,6 +201,21 @@
186
201
  {"shape":"ServiceException"}
187
202
  ]
188
203
  },
204
+ "DescribeEventTopics":{
205
+ "name":"DescribeEventTopics",
206
+ "http":{
207
+ "method":"POST",
208
+ "requestUri":"/"
209
+ },
210
+ "input":{"shape":"DescribeEventTopicsRequest"},
211
+ "output":{"shape":"DescribeEventTopicsResult"},
212
+ "errors":[
213
+ {"shape":"EntityDoesNotExistException"},
214
+ {"shape":"InvalidParameterException"},
215
+ {"shape":"ClientException"},
216
+ {"shape":"ServiceException"}
217
+ ]
218
+ },
189
219
  "DescribeSnapshots":{
190
220
  "name":"DescribeSnapshots",
191
221
  "http":{
@@ -309,6 +339,21 @@
309
339
  {"shape":"ServiceException"}
310
340
  ]
311
341
  },
342
+ "RegisterEventTopic":{
343
+ "name":"RegisterEventTopic",
344
+ "http":{
345
+ "method":"POST",
346
+ "requestUri":"/"
347
+ },
348
+ "input":{"shape":"RegisterEventTopicRequest"},
349
+ "output":{"shape":"RegisterEventTopicResult"},
350
+ "errors":[
351
+ {"shape":"EntityDoesNotExistException"},
352
+ {"shape":"InvalidParameterException"},
353
+ {"shape":"ClientException"},
354
+ {"shape":"ServiceException"}
355
+ ]
356
+ },
312
357
  "RestoreFromSnapshot":{
313
358
  "name":"RestoreFromSnapshot",
314
359
  "http":{
@@ -614,6 +659,22 @@
614
659
  "TrustId":{"shape":"TrustId"}
615
660
  }
616
661
  },
662
+ "DeregisterEventTopicRequest":{
663
+ "type":"structure",
664
+ "required":[
665
+ "DirectoryId",
666
+ "TopicName"
667
+ ],
668
+ "members":{
669
+ "DirectoryId":{"shape":"DirectoryId"},
670
+ "TopicName":{"shape":"TopicName"}
671
+ }
672
+ },
673
+ "DeregisterEventTopicResult":{
674
+ "type":"structure",
675
+ "members":{
676
+ }
677
+ },
617
678
  "DescribeDirectoriesRequest":{
618
679
  "type":"structure",
619
680
  "members":{
@@ -629,6 +690,19 @@
629
690
  "NextToken":{"shape":"NextToken"}
630
691
  }
631
692
  },
693
+ "DescribeEventTopicsRequest":{
694
+ "type":"structure",
695
+ "members":{
696
+ "DirectoryId":{"shape":"DirectoryId"},
697
+ "TopicNames":{"shape":"TopicNames"}
698
+ }
699
+ },
700
+ "DescribeEventTopicsResult":{
701
+ "type":"structure",
702
+ "members":{
703
+ "EventTopics":{"shape":"EventTopics"}
704
+ }
705
+ },
632
706
  "DescribeSnapshotsRequest":{
633
707
  "type":"structure",
634
708
  "members":{
@@ -893,6 +967,20 @@
893
967
  },
894
968
  "exception":true
895
969
  },
970
+ "EventTopic":{
971
+ "type":"structure",
972
+ "members":{
973
+ "DirectoryId":{"shape":"DirectoryId"},
974
+ "TopicName":{"shape":"TopicName"},
975
+ "TopicArn":{"shape":"TopicArn"},
976
+ "CreatedDateTime":{"shape":"CreatedDateTime"},
977
+ "Status":{"shape":"TopicStatus"}
978
+ }
979
+ },
980
+ "EventTopics":{
981
+ "type":"list",
982
+ "member":{"shape":"EventTopic"}
983
+ },
896
984
  "ExceptionMessage":{"type":"string"},
897
985
  "GetDirectoryLimitsRequest":{
898
986
  "type":"structure",
@@ -1024,6 +1112,22 @@
1024
1112
  "max":20,
1025
1113
  "min":1
1026
1114
  },
1115
+ "RegisterEventTopicRequest":{
1116
+ "type":"structure",
1117
+ "required":[
1118
+ "DirectoryId",
1119
+ "TopicName"
1120
+ ],
1121
+ "members":{
1122
+ "DirectoryId":{"shape":"DirectoryId"},
1123
+ "TopicName":{"shape":"TopicName"}
1124
+ }
1125
+ },
1126
+ "RegisterEventTopicResult":{
1127
+ "type":"structure",
1128
+ "members":{
1129
+ }
1130
+ },
1027
1131
  "RemoteDomainName":{
1028
1132
  "type":"string",
1029
1133
  "pattern":"^([a-zA-Z0-9]+[\\\\.-])+([a-zA-Z0-9])+[.]?$"
@@ -1144,6 +1248,26 @@
1144
1248
  "type":"list",
1145
1249
  "member":{"shape":"SubnetId"}
1146
1250
  },
1251
+ "TopicArn":{"type":"string"},
1252
+ "TopicName":{
1253
+ "type":"string",
1254
+ "max":256,
1255
+ "min":1,
1256
+ "pattern":"[a-zA-Z0-9_-]+"
1257
+ },
1258
+ "TopicNames":{
1259
+ "type":"list",
1260
+ "member":{"shape":"TopicName"}
1261
+ },
1262
+ "TopicStatus":{
1263
+ "type":"string",
1264
+ "enum":[
1265
+ "Registered",
1266
+ "Topic not found",
1267
+ "Failed",
1268
+ "Deleted"
1269
+ ]
1270
+ },
1147
1271
  "Trust":{
1148
1272
  "type":"structure",
1149
1273
  "members":{
@@ -7932,7 +7932,10 @@
7932
7932
  },
7933
7933
  "InstanceLifecycleType":{
7934
7934
  "type":"string",
7935
- "enum":["spot"]
7935
+ "enum":[
7936
+ "spot",
7937
+ "scheduled"
7938
+ ]
7936
7939
  },
7937
7940
  "InstanceList":{
7938
7941
  "type":"list",
@@ -8348,6 +8351,7 @@
8348
8351
  "cc1.4xlarge",
8349
8352
  "cc2.8xlarge",
8350
8353
  "g2.2xlarge",
8354
+ "g2.8xlarge",
8351
8355
  "cg1.4xlarge",
8352
8356
  "r3.large",
8353
8357
  "r3.xlarge",
@@ -9824,6 +9828,10 @@
9824
9828
  },
9825
9829
  "PurchaseRequest":{
9826
9830
  "type":"structure",
9831
+ "required":[
9832
+ "PurchaseToken",
9833
+ "InstanceCount"
9834
+ ],
9827
9835
  "members":{
9828
9836
  "PurchaseToken":{"shape":"String"},
9829
9837
  "InstanceCount":{"shape":"Integer"}
@@ -9834,7 +9842,8 @@
9834
9842
  "member":{
9835
9843
  "shape":"PurchaseRequest",
9836
9844
  "locationName":"PurchaseRequest"
9837
- }
9845
+ },
9846
+ "min":1
9838
9847
  },
9839
9848
  "PurchaseReservedInstancesOfferingRequest":{
9840
9849
  "type":"structure",
@@ -9869,7 +9878,10 @@
9869
9878
  "required":["PurchaseRequests"],
9870
9879
  "members":{
9871
9880
  "DryRun":{"shape":"Boolean"},
9872
- "ClientToken":{"shape":"String"},
9881
+ "ClientToken":{
9882
+ "shape":"String",
9883
+ "idempotencyToken":true
9884
+ },
9873
9885
  "PurchaseRequests":{
9874
9886
  "shape":"PurchaseRequestSet",
9875
9887
  "locationName":"PurchaseRequest"
@@ -11249,7 +11261,10 @@
11249
11261
  ],
11250
11262
  "members":{
11251
11263
  "DryRun":{"shape":"Boolean"},
11252
- "ClientToken":{"shape":"String"},
11264
+ "ClientToken":{
11265
+ "shape":"String",
11266
+ "idempotencyToken":true
11267
+ },
11253
11268
  "InstanceCount":{"shape":"Integer"},
11254
11269
  "ScheduledInstanceId":{"shape":"String"},
11255
11270
  "LaunchSpecification":{"shape":"ScheduledInstancesLaunchSpecification"}
@@ -12549,13 +12564,13 @@
12549
12564
  "type":"structure",
12550
12565
  "required":["Error"],
12551
12566
  "members":{
12552
- "Error":{
12553
- "shape":"UnsuccessfulItemError",
12554
- "locationName":"error"
12555
- },
12556
12567
  "ResourceId":{
12557
12568
  "shape":"String",
12558
12569
  "locationName":"resourceId"
12570
+ },
12571
+ "Error":{
12572
+ "shape":"UnsuccessfulItemError",
12573
+ "locationName":"error"
12559
12574
  }
12560
12575
  }
12561
12576
  },
@@ -12640,6 +12655,18 @@
12640
12655
  "GroupId":{
12641
12656
  "shape":"String",
12642
12657
  "locationName":"groupId"
12658
+ },
12659
+ "VpcId":{
12660
+ "shape":"String",
12661
+ "locationName":"vpcId"
12662
+ },
12663
+ "VpcPeeringConnectionId":{
12664
+ "shape":"String",
12665
+ "locationName":"vpcPeeringConnectionId"
12666
+ },
12667
+ "PeeringStatus":{
12668
+ "shape":"String",
12669
+ "locationName":"peeringStatus"
12643
12670
  }
12644
12671
  }
12645
12672
  },
@@ -32,6 +32,8 @@ module Aws
32
32
  'Number' => 1
33
33
  }
34
34
 
35
+ DATA_TYPE = /\A(String|Binary|Number)(\..+)?\z/
36
+
35
37
  NORMALIZED_ENCODING = Encoding::UTF_8
36
38
 
37
39
  def validate_send_message(context, response)
@@ -92,9 +94,10 @@ module Aws
92
94
  message_attributes.each do |name, attribute|
93
95
  name = name.to_s
94
96
  encoded[name] = String.new
97
+ data_type_without_label = DATA_TYPE.match(attribute[:data_type])[1]
95
98
  encoded[name] << encode_length_and_bytes(name) <<
96
99
  encode_length_and_bytes(attribute[:data_type]) <<
97
- [TRANSPORT_TYPE_ENCODINGS[attribute[:data_type]]].pack('C'.freeze)
100
+ [TRANSPORT_TYPE_ENCODINGS[data_type_without_label]].pack('C'.freeze)
98
101
 
99
102
  if attribute[:string_value] != nil
100
103
  encoded[name] << encode_length_and_string(attribute[:string_value])
@@ -1,3 +1,3 @@
1
1
  module Aws
2
- VERSION = '2.2.22'
2
+ VERSION = '2.2.23'
3
3
  end
@@ -103,7 +103,15 @@ module Seahorse
103
103
 
104
104
  class BooleanShape < Shape; end
105
105
 
106
- class FloatShape < Shape; end
106
+ class FloatShape < Shape
107
+
108
+ # @return [Integer, nil]
109
+ attr_accessor :min
110
+
111
+ # @return [Integer, nil]
112
+ attr_accessor :max
113
+
114
+ end
107
115
 
108
116
  class IntegerShape < Shape
109
117
 
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.2.22
4
+ version: 2.2.23
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: 2016-03-02 00:00:00.000000000 Z
11
+ date: 2016-03-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jmespath