aws-sdk-core 2.0.0.rc8 → 2.0.0.rc9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (47) hide show
  1. checksums.yaml +4 -4
  2. data/apis/DynamoDB-2012-08-10.json +1 -0
  3. data/apis/EC2-2014-05-01.json +15232 -0
  4. data/apis/ElasticBeanstalk-2010-12-01.json +17 -0
  5. data/apis/OpsWorks-2013-02-18.json +215 -0
  6. data/apis/Redshift-2012-12-01.json +72 -0
  7. data/apis/S3-2006-03-01.json +271 -15
  8. data/apis/SNS-2010-03-31.json +27 -0
  9. data/apis/source/ec2-2014-05-01.json +20662 -0
  10. data/apis/source/ec2-2014-05-01.paginators.json +112 -0
  11. data/apis/source/ec2-2014-05-01.waiters.json +146 -0
  12. data/apis/source/elasticbeanstalk-2010-12-01.json +26 -0
  13. data/apis/source/opsworks-2013-02-18.json +383 -8
  14. data/apis/source/redshift-2012-12-01.json +187 -60
  15. data/apis/source/s3-2006-03-01.json +372 -21
  16. data/apis/source/sns-2010-03-31.json +83 -36
  17. data/features/s3/objects.feature +10 -0
  18. data/features/s3/step_definitions.rb +33 -1
  19. data/features/step_definitions.rb +2 -1
  20. data/lib/aws.rb +3 -0
  21. data/lib/aws/api/service_translators/ec2.rb +11 -0
  22. data/lib/aws/api/service_translators/s3.rb +1 -0
  23. data/lib/aws/credential_provider_chain.rb +1 -2
  24. data/lib/aws/error_handler.rb +2 -1
  25. data/lib/aws/plugins/ec2_copy_encrypted_snapshot.rb +86 -0
  26. data/lib/aws/plugins/s3_md5s.rb +11 -8
  27. data/lib/aws/plugins/s3_sse_cpk.rb +42 -0
  28. data/lib/aws/query/builder.rb +4 -0
  29. data/lib/aws/query/param.rb +1 -1
  30. data/lib/aws/signers/base.rb +2 -0
  31. data/lib/aws/signers/s3.rb +0 -1
  32. data/lib/aws/signers/v4.rb +73 -22
  33. data/lib/aws/version.rb +1 -1
  34. data/spec/aws/operations_spec.rb +19 -15
  35. data/spec/aws/plugins/s3_md5s_spec.rb +84 -0
  36. data/spec/aws/query/builder_spec.rb +40 -0
  37. data/spec/aws/query/param_spec.rb +5 -0
  38. data/spec/aws/s3_spec.rb +27 -0
  39. data/spec/aws/signers/v4_spec.rb +1 -1
  40. data/spec/fixtures/operations/s3/412_response_head.yml +10 -0
  41. data/spec/spec_helper.rb +7 -0
  42. data/vendor/seahorse/lib/seahorse/client/handler_list.rb +3 -2
  43. data/vendor/seahorse/lib/seahorse/client/http/headers.rb +4 -0
  44. data/vendor/seahorse/lib/seahorse/client/net_http/handler.rb +1 -0
  45. data/vendor/seahorse/lib/seahorse/client/plugins/operation_methods.rb +4 -2
  46. data/vendor/seahorse/spec/seahorse/client/handler_list_spec.rb +2 -13
  47. metadata +15 -2
@@ -390,6 +390,23 @@
390
390
  }
391
391
  }
392
392
  },
393
+ "tags": {
394
+ "type": "list",
395
+ "serialized_name": "Tags",
396
+ "members": {
397
+ "type": "structure",
398
+ "members": {
399
+ "key": {
400
+ "type": "string",
401
+ "serialized_name": "Key"
402
+ },
403
+ "value": {
404
+ "type": "string",
405
+ "serialized_name": "Value"
406
+ }
407
+ }
408
+ }
409
+ },
393
410
  "version_label": {
394
411
  "type": "string",
395
412
  "serialized_name": "VersionLabel"
@@ -281,6 +281,27 @@
281
281
  "type": "string",
282
282
  "serialized_name": "Description"
283
283
  },
284
+ "data_sources": {
285
+ "type": "list",
286
+ "serialized_name": "DataSources",
287
+ "members": {
288
+ "type": "structure",
289
+ "members": {
290
+ "type": {
291
+ "type": "string",
292
+ "serialized_name": "Type"
293
+ },
294
+ "arn": {
295
+ "type": "string",
296
+ "serialized_name": "Arn"
297
+ },
298
+ "database_name": {
299
+ "type": "string",
300
+ "serialized_name": "DatabaseName"
301
+ }
302
+ }
303
+ }
304
+ },
284
305
  "type": {
285
306
  "type": "string",
286
307
  "required": true,
@@ -520,6 +541,10 @@
520
541
  "type": "string",
521
542
  "serialized_name": "AvailabilityZone"
522
543
  },
544
+ "virtualization_type": {
545
+ "type": "string",
546
+ "serialized_name": "VirtualizationType"
547
+ },
523
548
  "subnet_id": {
524
549
  "type": "string",
525
550
  "serialized_name": "SubnetId"
@@ -1055,6 +1080,21 @@
1055
1080
  }
1056
1081
  }
1057
1082
  },
1083
+ "deregister_rds_db_instance": {
1084
+ "name": "DeregisterRdsDbInstance",
1085
+ "http_method": "POST",
1086
+ "http_path": "/",
1087
+ "input": {
1088
+ "type": "input",
1089
+ "members": {
1090
+ "rds_db_instance_arn": {
1091
+ "type": "string",
1092
+ "required": true,
1093
+ "serialized_name": "RdsDbInstanceArn"
1094
+ }
1095
+ }
1096
+ }
1097
+ },
1058
1098
  "deregister_volume": {
1059
1099
  "name": "DeregisterVolume",
1060
1100
  "http_method": "POST",
@@ -1119,6 +1159,27 @@
1119
1159
  "type": "string",
1120
1160
  "serialized_name": "Description"
1121
1161
  },
1162
+ "data_sources": {
1163
+ "type": "list",
1164
+ "serialized_name": "DataSources",
1165
+ "members": {
1166
+ "type": "structure",
1167
+ "members": {
1168
+ "type": {
1169
+ "type": "string",
1170
+ "serialized_name": "Type"
1171
+ },
1172
+ "arn": {
1173
+ "type": "string",
1174
+ "serialized_name": "Arn"
1175
+ },
1176
+ "database_name": {
1177
+ "type": "string",
1178
+ "serialized_name": "DatabaseName"
1179
+ }
1180
+ }
1181
+ }
1182
+ },
1122
1183
  "type": {
1123
1184
  "type": "string",
1124
1185
  "serialized_name": "Type",
@@ -1600,6 +1661,10 @@
1600
1661
  "type": "string",
1601
1662
  "serialized_name": "Ec2InstanceId"
1602
1663
  },
1664
+ "virtualization_type": {
1665
+ "type": "string",
1666
+ "serialized_name": "VirtualizationType"
1667
+ },
1603
1668
  "hostname": {
1604
1669
  "type": "string",
1605
1670
  "serialized_name": "Hostname"
@@ -2265,6 +2330,78 @@
2265
2330
  }
2266
2331
  }
2267
2332
  },
2333
+ "describe_rds_db_instances": {
2334
+ "name": "DescribeRdsDbInstances",
2335
+ "http_method": "POST",
2336
+ "http_path": "/",
2337
+ "input": {
2338
+ "type": "input",
2339
+ "members": {
2340
+ "stack_id": {
2341
+ "type": "string",
2342
+ "required": true,
2343
+ "serialized_name": "StackId"
2344
+ },
2345
+ "rds_db_instance_arns": {
2346
+ "type": "list",
2347
+ "serialized_name": "RdsDbInstanceArns",
2348
+ "members": {
2349
+ "type": "string"
2350
+ }
2351
+ }
2352
+ }
2353
+ },
2354
+ "output": {
2355
+ "type": "output",
2356
+ "members": {
2357
+ "rds_db_instances": {
2358
+ "type": "list",
2359
+ "serialized_name": "RdsDbInstances",
2360
+ "members": {
2361
+ "type": "structure",
2362
+ "members": {
2363
+ "rds_db_instance_arn": {
2364
+ "type": "string",
2365
+ "serialized_name": "RdsDbInstanceArn"
2366
+ },
2367
+ "db_instance_identifier": {
2368
+ "type": "string",
2369
+ "serialized_name": "DbInstanceIdentifier"
2370
+ },
2371
+ "db_user": {
2372
+ "type": "string",
2373
+ "serialized_name": "DbUser"
2374
+ },
2375
+ "db_password": {
2376
+ "type": "string",
2377
+ "serialized_name": "DbPassword"
2378
+ },
2379
+ "region": {
2380
+ "type": "string",
2381
+ "serialized_name": "Region"
2382
+ },
2383
+ "address": {
2384
+ "type": "string",
2385
+ "serialized_name": "Address"
2386
+ },
2387
+ "engine": {
2388
+ "type": "string",
2389
+ "serialized_name": "Engine"
2390
+ },
2391
+ "stack_id": {
2392
+ "type": "string",
2393
+ "serialized_name": "StackId"
2394
+ },
2395
+ "missing_on_rds": {
2396
+ "type": "boolean",
2397
+ "serialized_name": "MissingOnRds"
2398
+ }
2399
+ }
2400
+ }
2401
+ }
2402
+ }
2403
+ }
2404
+ },
2268
2405
  "describe_service_errors": {
2269
2406
  "name": "DescribeServiceErrors",
2270
2407
  "http_method": "POST",
@@ -2981,6 +3118,36 @@
2981
3118
  }
2982
3119
  }
2983
3120
  },
3121
+ "register_rds_db_instance": {
3122
+ "name": "RegisterRdsDbInstance",
3123
+ "http_method": "POST",
3124
+ "http_path": "/",
3125
+ "input": {
3126
+ "type": "input",
3127
+ "members": {
3128
+ "stack_id": {
3129
+ "type": "string",
3130
+ "required": true,
3131
+ "serialized_name": "StackId"
3132
+ },
3133
+ "rds_db_instance_arn": {
3134
+ "type": "string",
3135
+ "required": true,
3136
+ "serialized_name": "RdsDbInstanceArn"
3137
+ },
3138
+ "db_user": {
3139
+ "type": "string",
3140
+ "required": true,
3141
+ "serialized_name": "DbUser"
3142
+ },
3143
+ "db_password": {
3144
+ "type": "string",
3145
+ "required": true,
3146
+ "serialized_name": "DbPassword"
3147
+ }
3148
+ }
3149
+ }
3150
+ },
2984
3151
  "register_volume": {
2985
3152
  "name": "RegisterVolume",
2986
3153
  "http_method": "POST",
@@ -3306,6 +3473,27 @@
3306
3473
  "type": "string",
3307
3474
  "serialized_name": "Description"
3308
3475
  },
3476
+ "data_sources": {
3477
+ "type": "list",
3478
+ "serialized_name": "DataSources",
3479
+ "members": {
3480
+ "type": "structure",
3481
+ "members": {
3482
+ "type": {
3483
+ "type": "string",
3484
+ "serialized_name": "Type"
3485
+ },
3486
+ "arn": {
3487
+ "type": "string",
3488
+ "serialized_name": "Arn"
3489
+ },
3490
+ "database_name": {
3491
+ "type": "string",
3492
+ "serialized_name": "DatabaseName"
3493
+ }
3494
+ }
3495
+ }
3496
+ },
3309
3497
  "type": {
3310
3498
  "type": "string",
3311
3499
  "serialized_name": "Type",
@@ -3479,6 +3667,10 @@
3479
3667
  "install_updates_on_boot": {
3480
3668
  "type": "boolean",
3481
3669
  "serialized_name": "InstallUpdatesOnBoot"
3670
+ },
3671
+ "ebs_optimized": {
3672
+ "type": "boolean",
3673
+ "serialized_name": "EbsOptimized"
3482
3674
  }
3483
3675
  }
3484
3676
  }
@@ -3671,6 +3863,29 @@
3671
3863
  }
3672
3864
  }
3673
3865
  },
3866
+ "update_rds_db_instance": {
3867
+ "name": "UpdateRdsDbInstance",
3868
+ "http_method": "POST",
3869
+ "http_path": "/",
3870
+ "input": {
3871
+ "type": "input",
3872
+ "members": {
3873
+ "rds_db_instance_arn": {
3874
+ "type": "string",
3875
+ "required": true,
3876
+ "serialized_name": "RdsDbInstanceArn"
3877
+ },
3878
+ "db_user": {
3879
+ "type": "string",
3880
+ "serialized_name": "DbUser"
3881
+ },
3882
+ "db_password": {
3883
+ "type": "string",
3884
+ "serialized_name": "DbPassword"
3885
+ }
3886
+ }
3887
+ }
3888
+ },
3674
3889
  "update_stack": {
3675
3890
  "name": "UpdateStack",
3676
3891
  "http_method": "POST",
@@ -686,6 +686,10 @@
686
686
  "automated_snapshot_retention_period": {
687
687
  "type": "integer",
688
688
  "serialized_name": "AutomatedSnapshotRetentionPeriod"
689
+ },
690
+ "cluster_identifier": {
691
+ "type": "string",
692
+ "serialized_name": "ClusterIdentifier"
689
693
  }
690
694
  }
691
695
  },
@@ -1602,6 +1606,10 @@
1602
1606
  "automated_snapshot_retention_period": {
1603
1607
  "type": "integer",
1604
1608
  "serialized_name": "AutomatedSnapshotRetentionPeriod"
1609
+ },
1610
+ "cluster_identifier": {
1611
+ "type": "string",
1612
+ "serialized_name": "ClusterIdentifier"
1605
1613
  }
1606
1614
  }
1607
1615
  },
@@ -2770,6 +2778,10 @@
2770
2778
  "automated_snapshot_retention_period": {
2771
2779
  "type": "integer",
2772
2780
  "serialized_name": "AutomatedSnapshotRetentionPeriod"
2781
+ },
2782
+ "cluster_identifier": {
2783
+ "type": "string",
2784
+ "serialized_name": "ClusterIdentifier"
2773
2785
  }
2774
2786
  }
2775
2787
  },
@@ -4071,6 +4083,10 @@
4071
4083
  "automated_snapshot_retention_period": {
4072
4084
  "type": "integer",
4073
4085
  "serialized_name": "AutomatedSnapshotRetentionPeriod"
4086
+ },
4087
+ "cluster_identifier": {
4088
+ "type": "string",
4089
+ "serialized_name": "ClusterIdentifier"
4074
4090
  }
4075
4091
  }
4076
4092
  },
@@ -4439,6 +4455,10 @@
4439
4455
  "automated_snapshot_retention_period": {
4440
4456
  "type": "integer",
4441
4457
  "serialized_name": "AutomatedSnapshotRetentionPeriod"
4458
+ },
4459
+ "cluster_identifier": {
4460
+ "type": "string",
4461
+ "serialized_name": "ClusterIdentifier"
4442
4462
  }
4443
4463
  }
4444
4464
  },
@@ -4643,6 +4663,10 @@
4643
4663
  "hsm_configuration_identifier": {
4644
4664
  "type": "string",
4645
4665
  "serialized_name": "HsmConfigurationIdentifier"
4666
+ },
4667
+ "new_cluster_identifier": {
4668
+ "type": "string",
4669
+ "serialized_name": "NewClusterIdentifier"
4646
4670
  }
4647
4671
  }
4648
4672
  },
@@ -4802,6 +4826,10 @@
4802
4826
  "automated_snapshot_retention_period": {
4803
4827
  "type": "integer",
4804
4828
  "serialized_name": "AutomatedSnapshotRetentionPeriod"
4829
+ },
4830
+ "cluster_identifier": {
4831
+ "type": "string",
4832
+ "serialized_name": "ClusterIdentifier"
4805
4833
  }
4806
4834
  }
4807
4835
  },
@@ -5388,6 +5416,10 @@
5388
5416
  "automated_snapshot_retention_period": {
5389
5417
  "type": "integer",
5390
5418
  "serialized_name": "AutomatedSnapshotRetentionPeriod"
5419
+ },
5420
+ "cluster_identifier": {
5421
+ "type": "string",
5422
+ "serialized_name": "ClusterIdentifier"
5391
5423
  }
5392
5424
  }
5393
5425
  },
@@ -5792,6 +5824,10 @@
5792
5824
  "automated_snapshot_retention_period": {
5793
5825
  "type": "integer",
5794
5826
  "serialized_name": "AutomatedSnapshotRetentionPeriod"
5827
+ },
5828
+ "cluster_identifier": {
5829
+ "type": "string",
5830
+ "serialized_name": "ClusterIdentifier"
5795
5831
  }
5796
5832
  }
5797
5833
  },
@@ -6058,6 +6094,34 @@
6058
6094
  "elastic_ip": {
6059
6095
  "type": "string",
6060
6096
  "serialized_name": "ElasticIp"
6097
+ },
6098
+ "cluster_parameter_group_name": {
6099
+ "type": "string",
6100
+ "serialized_name": "ClusterParameterGroupName"
6101
+ },
6102
+ "cluster_security_groups": {
6103
+ "type": "list",
6104
+ "serialized_name": "ClusterSecurityGroups",
6105
+ "members": {
6106
+ "type": "string",
6107
+ "serialized_name": "ClusterSecurityGroupName"
6108
+ }
6109
+ },
6110
+ "vpc_security_group_ids": {
6111
+ "type": "list",
6112
+ "serialized_name": "VpcSecurityGroupIds",
6113
+ "members": {
6114
+ "type": "string",
6115
+ "serialized_name": "VpcSecurityGroupId"
6116
+ }
6117
+ },
6118
+ "preferred_maintenance_window": {
6119
+ "type": "string",
6120
+ "serialized_name": "PreferredMaintenanceWindow"
6121
+ },
6122
+ "automated_snapshot_retention_period": {
6123
+ "type": "integer",
6124
+ "serialized_name": "AutomatedSnapshotRetentionPeriod"
6061
6125
  }
6062
6126
  }
6063
6127
  },
@@ -6217,6 +6281,10 @@
6217
6281
  "automated_snapshot_retention_period": {
6218
6282
  "type": "integer",
6219
6283
  "serialized_name": "AutomatedSnapshotRetentionPeriod"
6284
+ },
6285
+ "cluster_identifier": {
6286
+ "type": "string",
6287
+ "serialized_name": "ClusterIdentifier"
6220
6288
  }
6221
6289
  }
6222
6290
  },
@@ -6763,6 +6831,10 @@
6763
6831
  "automated_snapshot_retention_period": {
6764
6832
  "type": "integer",
6765
6833
  "serialized_name": "AutomatedSnapshotRetentionPeriod"
6834
+ },
6835
+ "cluster_identifier": {
6836
+ "type": "string",
6837
+ "serialized_name": "ClusterIdentifier"
6766
6838
  }
6767
6839
  }
6768
6840
  },