aws-sdk 1.12.0 → 1.13.0

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.
Files changed (56) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -2
  3. data/bin/aws-rb +18 -0
  4. data/lib/aws/api_config/{CloudFront-2012-07-01.yml → CloudFront-2013-05-12.yml} +73 -23
  5. data/lib/aws/api_config/{RDS-2013-02-12.yml → RDS-2013-05-15.yml} +92 -5
  6. data/lib/aws/api_config/Redshift-2012-12-01.yml +188 -12
  7. data/lib/aws/api_config/STS-2011-06-15.yml +10 -0
  8. data/lib/aws/auto_scaling/client.rb +6 -0
  9. data/lib/aws/cloud_formation/client.rb +6 -0
  10. data/lib/aws/cloud_front/client.rb +37 -1
  11. data/lib/aws/cloud_search/client.rb +6 -0
  12. data/lib/aws/cloud_watch/client.rb +6 -0
  13. data/lib/aws/core.rb +15 -20
  14. data/lib/aws/core/client.rb +36 -0
  15. data/lib/aws/core/credential_providers.rb +45 -0
  16. data/lib/aws/core/region_collection.rb +4 -1
  17. data/lib/aws/data_pipeline/client.rb +6 -0
  18. data/lib/aws/direct_connect/client.rb +6 -0
  19. data/lib/aws/dynamo_db/client.rb +35 -1249
  20. data/lib/aws/dynamo_db/client/v20111205.rb +1266 -0
  21. data/lib/aws/dynamo_db/client/v20120810.rb +1409 -0
  22. data/lib/aws/dynamo_db/client_base.rb +1 -0
  23. data/lib/aws/dynamo_db/client_v2.rb +25 -1396
  24. data/lib/aws/ec2/client.rb +6 -0
  25. data/lib/aws/elastic_beanstalk/client.rb +6 -0
  26. data/lib/aws/elastic_transcoder/client.rb +6 -0
  27. data/lib/aws/elasticache/client.rb +6 -0
  28. data/lib/aws/elb/client.rb +6 -0
  29. data/lib/aws/emr/client.rb +6 -0
  30. data/lib/aws/glacier/client.rb +14 -8
  31. data/lib/aws/iam/client.rb +6 -0
  32. data/lib/aws/import_export/client.rb +6 -0
  33. data/lib/aws/ops_works/client.rb +6 -0
  34. data/lib/aws/rds/client.rb +83 -18
  35. data/lib/aws/record/abstract_base.rb +19 -22
  36. data/lib/aws/record/attributes.rb +5 -1
  37. data/lib/aws/record/hash_model.rb +50 -6
  38. data/lib/aws/record/model.rb +26 -0
  39. data/lib/aws/record/validator.rb +1 -1
  40. data/lib/aws/redshift/client.rb +186 -53
  41. data/lib/aws/route_53/client.rb +6 -0
  42. data/lib/aws/route_53/hosted_zone.rb +1 -1
  43. data/lib/aws/route_53/resource_record_set.rb +3 -3
  44. data/lib/aws/s3/client.rb +4 -1
  45. data/lib/aws/s3/presigned_post.rb +18 -21
  46. data/lib/aws/simple_db/client.rb +6 -0
  47. data/lib/aws/simple_email_service/client.rb +6 -0
  48. data/lib/aws/simple_email_service/identity.rb +1 -1
  49. data/lib/aws/simple_workflow/client.rb +24 -18
  50. data/lib/aws/sns/client.rb +6 -0
  51. data/lib/aws/sqs/client.rb +21 -15
  52. data/lib/aws/storage_gateway/client.rb +6 -0
  53. data/lib/aws/sts/client.rb +57 -38
  54. data/lib/aws/support/client.rb +6 -0
  55. data/lib/aws/version.rb +1 -1
  56. metadata +6 -4
@@ -46,6 +46,51 @@
46
46
  :rename: :ip_ranges
47
47
  :list: true
48
48
  :ignore: true
49
+ - :name: AuthorizeSnapshotAccess
50
+ :method: :authorize_snapshot_access
51
+ :inputs:
52
+ SnapshotIdentifier:
53
+ - :string
54
+ - :required
55
+ AccountWithRestoreAccess:
56
+ - :string
57
+ - :required
58
+ :outputs:
59
+ :children:
60
+ AuthorizeSnapshotAccessResult:
61
+ :ignore: true
62
+ :children:
63
+ Snapshot:
64
+ :children:
65
+ SnapshotCreateTime:
66
+ :type: :time
67
+ Port:
68
+ :type: :integer
69
+ ClusterCreateTime:
70
+ :type: :time
71
+ NumberOfNodes:
72
+ :type: :integer
73
+ Encrypted:
74
+ :type: :boolean
75
+ AccountsWithRestoreAccess:
76
+ :ignore: true
77
+ :children:
78
+ AccountWithRestoreAccess:
79
+ :rename: :accounts_with_restore_access
80
+ :list: true
81
+ TotalBackupSizeInMegaBytes:
82
+ :type: :float
83
+ ActualIncrementalBackupSizeInMegaBytes:
84
+ :type: :float
85
+ BackupProgressInMegaBytes:
86
+ :type: :float
87
+ CurrentBackupRateInMegaBytesPerSecond:
88
+ :type: :float
89
+ EstimatedSecondsToCompletion:
90
+ :type: :integer
91
+ ElapsedTimeInSeconds:
92
+ :type: :integer
93
+ :ignore: true
49
94
  - :name: CopyClusterSnapshot
50
95
  :method: :copy_cluster_snapshot
51
96
  :inputs:
@@ -70,6 +115,26 @@
70
115
  :type: :time
71
116
  NumberOfNodes:
72
117
  :type: :integer
118
+ Encrypted:
119
+ :type: :boolean
120
+ AccountsWithRestoreAccess:
121
+ :ignore: true
122
+ :children:
123
+ AccountWithRestoreAccess:
124
+ :rename: :accounts_with_restore_access
125
+ :list: true
126
+ TotalBackupSizeInMegaBytes:
127
+ :type: :float
128
+ ActualIncrementalBackupSizeInMegaBytes:
129
+ :type: :float
130
+ BackupProgressInMegaBytes:
131
+ :type: :float
132
+ CurrentBackupRateInMegaBytesPerSecond:
133
+ :type: :float
134
+ EstimatedSecondsToCompletion:
135
+ :type: :integer
136
+ ElapsedTimeInSeconds:
137
+ :type: :integer
73
138
  :ignore: true
74
139
  - :name: CreateCluster
75
140
  :method: :create_cluster
@@ -116,6 +181,8 @@
116
181
  - :integer
117
182
  PubliclyAccessible:
118
183
  - :boolean
184
+ Encrypted:
185
+ - :boolean
119
186
  :outputs:
120
187
  :children:
121
188
  CreateClusterResult:
@@ -161,6 +228,8 @@
161
228
  :type: :integer
162
229
  PubliclyAccessible:
163
230
  :type: :boolean
231
+ Encrypted:
232
+ :type: :boolean
164
233
  :ignore: true
165
234
  - :name: CreateClusterParameterGroup
166
235
  :method: :create_cluster_parameter_group
@@ -234,6 +303,26 @@
234
303
  :type: :time
235
304
  NumberOfNodes:
236
305
  :type: :integer
306
+ Encrypted:
307
+ :type: :boolean
308
+ AccountsWithRestoreAccess:
309
+ :ignore: true
310
+ :children:
311
+ AccountWithRestoreAccess:
312
+ :rename: :accounts_with_restore_access
313
+ :list: true
314
+ TotalBackupSizeInMegaBytes:
315
+ :type: :float
316
+ ActualIncrementalBackupSizeInMegaBytes:
317
+ :type: :float
318
+ BackupProgressInMegaBytes:
319
+ :type: :float
320
+ CurrentBackupRateInMegaBytesPerSecond:
321
+ :type: :float
322
+ EstimatedSecondsToCompletion:
323
+ :type: :integer
324
+ ElapsedTimeInSeconds:
325
+ :type: :integer
237
326
  :ignore: true
238
327
  - :name: CreateClusterSubnetGroup
239
328
  :method: :create_cluster_subnet_group
@@ -317,6 +406,8 @@
317
406
  :type: :integer
318
407
  PubliclyAccessible:
319
408
  :type: :boolean
409
+ Encrypted:
410
+ :type: :boolean
320
411
  :ignore: true
321
412
  - :name: DeleteClusterParameterGroup
322
413
  :method: :delete_cluster_parameter_group
@@ -359,6 +450,26 @@
359
450
  :type: :time
360
451
  NumberOfNodes:
361
452
  :type: :integer
453
+ Encrypted:
454
+ :type: :boolean
455
+ AccountsWithRestoreAccess:
456
+ :ignore: true
457
+ :children:
458
+ AccountWithRestoreAccess:
459
+ :rename: :accounts_with_restore_access
460
+ :list: true
461
+ TotalBackupSizeInMegaBytes:
462
+ :type: :float
463
+ ActualIncrementalBackupSizeInMegaBytes:
464
+ :type: :float
465
+ BackupProgressInMegaBytes:
466
+ :type: :float
467
+ CurrentBackupRateInMegaBytesPerSecond:
468
+ :type: :float
469
+ EstimatedSecondsToCompletion:
470
+ :type: :integer
471
+ ElapsedTimeInSeconds:
472
+ :type: :integer
362
473
  :ignore: true
363
474
  - :name: DeleteClusterSubnetGroup
364
475
  :method: :delete_cluster_subnet_group
@@ -466,6 +577,8 @@
466
577
  - :integer
467
578
  Marker:
468
579
  - :string
580
+ OwnerAccount:
581
+ - :string
469
582
  :outputs:
470
583
  :children:
471
584
  DescribeClusterSnapshotsResult:
@@ -486,6 +599,26 @@
486
599
  :type: :time
487
600
  NumberOfNodes:
488
601
  :type: :integer
602
+ Encrypted:
603
+ :type: :boolean
604
+ AccountsWithRestoreAccess:
605
+ :ignore: true
606
+ :children:
607
+ AccountWithRestoreAccess:
608
+ :rename: :accounts_with_restore_access
609
+ :list: true
610
+ TotalBackupSizeInMegaBytes:
611
+ :type: :float
612
+ ActualIncrementalBackupSizeInMegaBytes:
613
+ :type: :float
614
+ BackupProgressInMegaBytes:
615
+ :type: :float
616
+ CurrentBackupRateInMegaBytesPerSecond:
617
+ :type: :float
618
+ EstimatedSecondsToCompletion:
619
+ :type: :integer
620
+ ElapsedTimeInSeconds:
621
+ :type: :integer
489
622
  - :name: DescribeClusterSubnetGroups
490
623
  :method: :describe_cluster_subnet_groups
491
624
  :inputs:
@@ -594,6 +727,8 @@
594
727
  :type: :integer
595
728
  PubliclyAccessible:
596
729
  :type: :boolean
730
+ Encrypted:
731
+ :type: :boolean
597
732
  - :name: DescribeDefaultClusterParameters
598
733
  :method: :describe_default_cluster_parameters
599
734
  :inputs:
@@ -686,10 +821,6 @@
686
821
  :inputs:
687
822
  ReservedNodeOfferingId:
688
823
  - :string
689
- NodeType:
690
- - :string
691
- Duration:
692
- - :string
693
824
  MaxRecords:
694
825
  - :integer
695
826
  Marker:
@@ -726,12 +857,6 @@
726
857
  :inputs:
727
858
  ReservedNodeId:
728
859
  - :string
729
- ReservedNodeOfferingId:
730
- - :string
731
- NodeType:
732
- - :string
733
- Duration:
734
- - :string
735
860
  MaxRecords:
736
861
  - :integer
737
862
  Marker:
@@ -873,6 +998,8 @@
873
998
  :type: :integer
874
999
  PubliclyAccessible:
875
1000
  :type: :boolean
1001
+ Encrypted:
1002
+ :type: :boolean
876
1003
  :ignore: true
877
1004
  - :name: ModifyClusterParameterGroup
878
1005
  :method: :modify_cluster_parameter_group
@@ -936,8 +1063,6 @@
936
1063
  ReservedNodeOfferingId:
937
1064
  - :string
938
1065
  - :required
939
- ReservedNodeId:
940
- - :string
941
1066
  NodeCount:
942
1067
  - :integer
943
1068
  :outputs:
@@ -1018,6 +1143,8 @@
1018
1143
  :type: :integer
1019
1144
  PubliclyAccessible:
1020
1145
  :type: :boolean
1146
+ Encrypted:
1147
+ :type: :boolean
1021
1148
  :ignore: true
1022
1149
  - :name: ResetClusterParameterGroup
1023
1150
  :method: :reset_cluster_parameter_group
@@ -1069,6 +1196,8 @@
1069
1196
  - :string
1070
1197
  PubliclyAccessible:
1071
1198
  - :boolean
1199
+ OwnerAccount:
1200
+ - :string
1072
1201
  :outputs:
1073
1202
  :children:
1074
1203
  RestoreFromClusterSnapshotResult:
@@ -1114,6 +1243,8 @@
1114
1243
  :type: :integer
1115
1244
  PubliclyAccessible:
1116
1245
  :type: :boolean
1246
+ Encrypted:
1247
+ :type: :boolean
1117
1248
  :ignore: true
1118
1249
  - :name: RevokeClusterSecurityGroupIngress
1119
1250
  :method: :revoke_cluster_security_group_ingress
@@ -1147,3 +1278,48 @@
1147
1278
  :rename: :ip_ranges
1148
1279
  :list: true
1149
1280
  :ignore: true
1281
+ - :name: RevokeSnapshotAccess
1282
+ :method: :revoke_snapshot_access
1283
+ :inputs:
1284
+ SnapshotIdentifier:
1285
+ - :string
1286
+ - :required
1287
+ AccountWithRestoreAccess:
1288
+ - :string
1289
+ - :required
1290
+ :outputs:
1291
+ :children:
1292
+ RevokeSnapshotAccessResult:
1293
+ :ignore: true
1294
+ :children:
1295
+ Snapshot:
1296
+ :children:
1297
+ SnapshotCreateTime:
1298
+ :type: :time
1299
+ Port:
1300
+ :type: :integer
1301
+ ClusterCreateTime:
1302
+ :type: :time
1303
+ NumberOfNodes:
1304
+ :type: :integer
1305
+ Encrypted:
1306
+ :type: :boolean
1307
+ AccountsWithRestoreAccess:
1308
+ :ignore: true
1309
+ :children:
1310
+ AccountWithRestoreAccess:
1311
+ :rename: :accounts_with_restore_access
1312
+ :list: true
1313
+ TotalBackupSizeInMegaBytes:
1314
+ :type: :float
1315
+ ActualIncrementalBackupSizeInMegaBytes:
1316
+ :type: :float
1317
+ BackupProgressInMegaBytes:
1318
+ :type: :float
1319
+ CurrentBackupRateInMegaBytesPerSecond:
1320
+ :type: :float
1321
+ EstimatedSecondsToCompletion:
1322
+ :type: :integer
1323
+ ElapsedTimeInSeconds:
1324
+ :type: :integer
1325
+ :ignore: true
@@ -69,6 +69,16 @@
69
69
  :type: :time
70
70
  PackedPolicySize:
71
71
  :type: :integer
72
+ - :name: DecodeAuthorizationMessage
73
+ :method: :decode_authorization_message
74
+ :inputs:
75
+ EncodedMessage:
76
+ - :string
77
+ - :required
78
+ :outputs:
79
+ :children:
80
+ DecodeAuthorizationMessageResult:
81
+ :ignore: true
72
82
  - :name: GetFederationToken
73
83
  :method: :get_federation_token
74
84
  :inputs:
@@ -17,6 +17,8 @@ module AWS
17
17
  # Client class for Auto Scaling.
18
18
  class Client < Core::QueryClient
19
19
 
20
+ API_VERSION= '2011-01-01'
21
+
20
22
  # @api private
21
23
  CACHEABLE_REQUESTS = Set[
22
24
  :describe_adjustment_types,
@@ -33,6 +35,10 @@ module AWS
33
35
  :describe_tags,
34
36
  ]
35
37
 
38
+ end
39
+
40
+ class Client::V20110101 < Client
41
+
36
42
  # client methods #
37
43
 
38
44
  # @!method create_auto_scaling_group(options = {})
@@ -17,6 +17,8 @@ module AWS
17
17
  # Client class for AWS CloudFormation.
18
18
  class Client < Core::QueryClient
19
19
 
20
+ API_VERSION = '2010-05-15'
21
+
20
22
  # @api private
21
23
  CACHEABLE_REQUESTS = Set[
22
24
  :describe_adjustment_types,
@@ -33,6 +35,10 @@ module AWS
33
35
  :describe_tags,
34
36
  ]
35
37
 
38
+ end
39
+
40
+ class Client::V20100515 < Client
41
+
36
42
  # client methods #
37
43
 
38
44
  # @!method cancel_update_stack(options = {})
@@ -13,11 +13,18 @@
13
13
 
14
14
  module AWS
15
15
  class CloudFront
16
+
16
17
  class Client < Core::RESTXMLClient
17
18
 
19
+ API_VERSION = '2013-05-12'
20
+
18
21
  # @api private
19
22
  CACHEABLE_REQUESTS = Set[]
20
23
 
24
+ end
25
+
26
+ class Client::V20130512 < Client
27
+
21
28
  # client methods #
22
29
 
23
30
  # @!method create_cloud_front_origin_access_identity(options = {})
@@ -329,6 +336,13 @@ module AWS
329
336
  # * `PriceClass_All`
330
337
  # * `:enabled` - *required* - (Boolean) Whether the distribution is
331
338
  # enabled to accept end user requests for content.
339
+ # * `:viewer_certificate` - (Hash)
340
+ # * `:iam_certificate_id` - (String) The IAM certificate identifier
341
+ # of the custom viewer certificate for this distribution.
342
+ # * `:cloud_front_default_certificate` - (Boolean) Set to `true` if
343
+ # you want to use the default *.cloudfront.net viewer certificate
344
+ # for this distribution. Omit this value if you are setting an
345
+ # IAMCertificateId.
332
346
  # @return [Core::Response]
333
347
  # The #data method of the response object returns
334
348
  # a hash with the following structure:
@@ -404,6 +418,9 @@ module AWS
404
418
  # * `:prefix` - (String)
405
419
  # * `:price_class` - (String)
406
420
  # * `:enabled` - (Boolean)
421
+ # * `:viewer_certificate` - (Hash)
422
+ # * `:iam_certificate_id` - (String)
423
+ # * `:cloud_front_default_certificate` - (Boolean)
407
424
 
408
425
  # @!method create_invalidation(options = {})
409
426
  # Calls the POST CreateInvalidation API operation.
@@ -707,6 +724,9 @@ module AWS
707
724
  # * `:prefix` - (String)
708
725
  # * `:price_class` - (String)
709
726
  # * `:enabled` - (Boolean)
727
+ # * `:viewer_certificate` - (Hash)
728
+ # * `:iam_certificate_id` - (String)
729
+ # * `:cloud_front_default_certificate` - (Boolean)
710
730
 
711
731
  # @!method get_distribution_config(options = {})
712
732
  # Calls the GET GetDistributionConfig API operation.
@@ -774,6 +794,9 @@ module AWS
774
794
  # * `:prefix` - (String)
775
795
  # * `:price_class` - (String)
776
796
  # * `:enabled` - (Boolean)
797
+ # * `:viewer_certificate` - (Hash)
798
+ # * `:iam_certificate_id` - (String)
799
+ # * `:cloud_front_default_certificate` - (Boolean)
777
800
 
778
801
  # @!method get_invalidation(options = {})
779
802
  # Calls the GET GetInvalidation API operation.
@@ -965,6 +988,9 @@ module AWS
965
988
  # * `:comment` - (String)
966
989
  # * `:price_class` - (String)
967
990
  # * `:enabled` - (Boolean)
991
+ # * `:viewer_certificate` - (Hash)
992
+ # * `:iam_certificate_id` - (String)
993
+ # * `:cloud_front_default_certificate` - (Boolean)
968
994
 
969
995
  # @!method list_invalidations(options = {})
970
996
  # Calls the GET ListInvalidations API operation.
@@ -1348,6 +1374,13 @@ module AWS
1348
1374
  # * `PriceClass_All`
1349
1375
  # * `:enabled` - *required* - (Boolean) Whether the distribution is
1350
1376
  # enabled to accept end user requests for content.
1377
+ # * `:viewer_certificate` - (Hash)
1378
+ # * `:iam_certificate_id` - (String) The IAM certificate identifier
1379
+ # of the custom viewer certificate for this distribution.
1380
+ # * `:cloud_front_default_certificate` - (Boolean) Set to `true` if
1381
+ # you want to use the default *.cloudfront.net viewer certificate
1382
+ # for this distribution. Omit this value if you are setting an
1383
+ # IAMCertificateId.
1351
1384
  # * `:id` - *required* - (String) The distribution's id.
1352
1385
  # * `:if_match` - (String) The value of the ETag header you received
1353
1386
  # when retrieving the distribution's configuration. For example:
@@ -1427,6 +1460,9 @@ module AWS
1427
1460
  # * `:prefix` - (String)
1428
1461
  # * `:price_class` - (String)
1429
1462
  # * `:enabled` - (Boolean)
1463
+ # * `:viewer_certificate` - (Hash)
1464
+ # * `:iam_certificate_id` - (String)
1465
+ # * `:cloud_front_default_certificate` - (Boolean)
1430
1466
 
1431
1467
  # @!method update_streaming_distribution(options = {})
1432
1468
  # Calls the PUT UpdateStreamingDistribution API operation.
@@ -1556,7 +1592,7 @@ module AWS
1556
1592
 
1557
1593
  # end client methods #
1558
1594
 
1559
- define_client_methods('2012-07-01')
1595
+ define_client_methods('2013-05-12')
1560
1596
 
1561
1597
  end
1562
1598
  end