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
@@ -0,0 +1,112 @@
1
+ {
2
+ "pagination": {
3
+ "DescribeAccountAttributes": {
4
+ "result_key": "AccountAttributes"
5
+ },
6
+ "DescribeAddresses": {
7
+ "result_key": "Addresses"
8
+ },
9
+ "DescribeAvailabilityZones": {
10
+ "result_key": "AvailabilityZones"
11
+ },
12
+ "DescribeBundleTasks": {
13
+ "result_key": "BundleTasks"
14
+ },
15
+ "DescribeConversionTasks": {
16
+ "result_key": "ConversionTasks"
17
+ },
18
+ "DescribeCustomerGateways": {
19
+ "result_key": "CustomerGateways"
20
+ },
21
+ "DescribeDhcpOptions": {
22
+ "result_key": "DhcpOptions"
23
+ },
24
+ "DescribeExportTasks": {
25
+ "result_key": "ExportTasks"
26
+ },
27
+ "DescribeImages": {
28
+ "result_key": "Images"
29
+ },
30
+ "DescribeInstanceStatus": {
31
+ "input_token": "NextToken",
32
+ "output_token": "NextToken",
33
+ "limit_key": "MaxResults",
34
+ "result_key": "InstanceStatuses"
35
+ },
36
+ "DescribeInstances": {
37
+ "result_key": "Reservations"
38
+ },
39
+ "DescribeInternetGateways": {
40
+ "result_key": "InternetGateways"
41
+ },
42
+ "DescribeKeyPairs": {
43
+ "result_key": "KeyPairs"
44
+ },
45
+ "DescribeNetworkAcls": {
46
+ "result_key": "NetworkAcls"
47
+ },
48
+ "DescribeNetworkInterfaces": {
49
+ "result_key": "NetworkInterfaces"
50
+ },
51
+ "DescribePlacementGroups": {
52
+ "result_key": "PlacementGroups"
53
+ },
54
+ "DescribeRegions": {
55
+ "result_key": "Regions"
56
+ },
57
+ "DescribeReservedInstances": {
58
+ "result_key": "ReservedInstances"
59
+ },
60
+ "DescribeReservedInstancesListings": {
61
+ "result_key": "ReservedInstancesListings"
62
+ },
63
+ "DescribeReservedInstancesOfferings": {
64
+ "input_token": "NextToken",
65
+ "output_token": "NextToken",
66
+ "limit_key": "MaxResults",
67
+ "result_key": "ReservedInstancesOfferings"
68
+ },
69
+ "DescribeRouteTables": {
70
+ "result_key": "RouteTables"
71
+ },
72
+ "DescribeSecurityGroups": {
73
+ "result_key": "SecurityGroups"
74
+ },
75
+ "DescribeSnapshots": {
76
+ "result_key": "Snapshots"
77
+ },
78
+ "DescribeSpotInstanceRequests": {
79
+ "result_key": "SpotInstanceRequests"
80
+ },
81
+ "DescribeSpotPriceHistory": {
82
+ "input_token": "NextToken",
83
+ "output_token": "NextToken",
84
+ "limit_key": "MaxResults",
85
+ "result_key": "SpotPriceHistory"
86
+ },
87
+ "DescribeSubnets": {
88
+ "result_key": "Subnets"
89
+ },
90
+ "DescribeTags": {
91
+ "result_key": "Tags"
92
+ },
93
+ "DescribeVolumeStatus": {
94
+ "input_token": "NextToken",
95
+ "output_token": "NextToken",
96
+ "limit_key": "MaxResults",
97
+ "result_key": "VolumeStatuses"
98
+ },
99
+ "DescribeVolumes": {
100
+ "result_key": "Volumes"
101
+ },
102
+ "DescribeVpcs": {
103
+ "result_key": "Vpcs"
104
+ },
105
+ "DescribeVpnConnections": {
106
+ "result_key": "VpnConnections"
107
+ },
108
+ "DescribeVpnGateways": {
109
+ "result_key": "VpnGateways"
110
+ }
111
+ }
112
+ }
@@ -0,0 +1,146 @@
1
+ {
2
+ "waiters": {
3
+ "__default__": {
4
+ "interval": 15,
5
+ "max_attempts": 40,
6
+ "acceptor_type": "output"
7
+ },
8
+ "__InstanceState": {
9
+ "operation": "DescribeInstances",
10
+ "acceptor_path": "Reservations[].Instances[].State.Name"
11
+ },
12
+ "InstanceRunning": {
13
+ "extends": "__InstanceState",
14
+ "success_value": "running",
15
+ "failure_value": [
16
+ "shutting-down",
17
+ "terminated",
18
+ "stopping"
19
+ ]
20
+ },
21
+ "InstanceStopped": {
22
+ "extends": "__InstanceState",
23
+ "success_value": "stopped",
24
+ "failure_value": [
25
+ "pending",
26
+ "terminated"
27
+ ]
28
+ },
29
+ "InstanceTerminated": {
30
+ "extends": "__InstanceState",
31
+ "success_value": "terminated",
32
+ "failure_value": [
33
+ "pending",
34
+ "stopping"
35
+ ]
36
+ },
37
+ "__ExportTaskState": {
38
+ "operation": "DescribeExportTasks",
39
+ "acceptor_path": "ExportTasks[].State"
40
+ },
41
+ "ExportTaskCompleted": {
42
+ "extends": "__ExportTaskState",
43
+ "success_value": "completed"
44
+ },
45
+ "ExportTaskCancelled": {
46
+ "extends": "__ExportTaskState",
47
+ "success_value": "cancelled"
48
+ },
49
+ "SnapshotCompleted": {
50
+ "operation": "DescribeSnapshots",
51
+ "success_path": "Snapshots[].State",
52
+ "success_value": "completed"
53
+ },
54
+ "SubnetAvailable": {
55
+ "operation": "DescribeSubnets",
56
+ "success_path": "Subnets[].State",
57
+ "success_value": "available"
58
+ },
59
+ "__VolumeStatus": {
60
+ "operation": "DescribeVolumes",
61
+ "acceptor_path": "VolumeStatuses[].VolumeStatus.Status"
62
+ },
63
+ "VolumeAvailable": {
64
+ "extends": "__VolumeStatus",
65
+ "success_value": "available",
66
+ "failure_value": [
67
+ "deleted"
68
+ ]
69
+ },
70
+ "VolumeInUse": {
71
+ "extends": "__VolumeStatus",
72
+ "success_value": "in-use",
73
+ "failure_value": [
74
+ "deleted"
75
+ ]
76
+ },
77
+ "VolumeDeleted": {
78
+ "extends": "__VolumeStatus",
79
+ "success_value": "deleted"
80
+ },
81
+ "VpcAvailable": {
82
+ "operation": "DescribeVpcs",
83
+ "success_path": "Vpcs[].State",
84
+ "success_value": "available"
85
+ },
86
+ "__VpnConnectionState": {
87
+ "operation": "DescribeVpnConnections",
88
+ "acceptor_path": "VpnConnections[].State"
89
+ },
90
+ "VpnConnectionAvailable": {
91
+ "extends": "__VpnConnectionState",
92
+ "success_value": "available",
93
+ "failure_value": [
94
+ "deleting",
95
+ "deleted"
96
+ ]
97
+ },
98
+ "VpnConnectionDeleted": {
99
+ "extends": "__VpnConnectionState",
100
+ "success_value": "deleted",
101
+ "failure_value": [
102
+ "pending"
103
+ ]
104
+ },
105
+ "BundleTaskComplete": {
106
+ "operation": "DescribeBundleTasks",
107
+ "acceptor_path": "BundleTasks[].State",
108
+ "success_value": "complete",
109
+ "failure_value": [
110
+ "failed"
111
+ ]
112
+ },
113
+ "__ConversionTaskState": {
114
+ "operation": "DescribeConversionTasks",
115
+ "acceptor_path": "ConversionTasks[].State"
116
+ },
117
+ "ConversionTaskCompleted": {
118
+ "extends": "__ConversionTaskState",
119
+ "success_value": "completed",
120
+ "failure_value": [
121
+ "cancelled",
122
+ "cancelling"
123
+ ]
124
+ },
125
+ "ConversionTaskCancelled": {
126
+ "extends": "__ConversionTaskState",
127
+ "success_value": "cancelled"
128
+ },
129
+ "__CustomerGatewayState": {
130
+ "operation": "DescribeCustomerGateways",
131
+ "acceptor_path": "CustomerGateways[].State"
132
+ },
133
+ "CustomerGatewayAvailable": {
134
+ "extends": "__CustomerGatewayState",
135
+ "success_value": "available",
136
+ "failure_value": [
137
+ "deleted",
138
+ "deleting"
139
+ ]
140
+ },
141
+ "ConversionTaskDeleted": {
142
+ "extends": "__CustomerGatewayState",
143
+ "success_value": "deleted"
144
+ }
145
+ }
146
+ }
@@ -547,6 +547,32 @@
547
547
  },
548
548
  "documentation": "\n <p>\n This specifies the tier to use for creating this environment.\n </p>\n "
549
549
  },
550
+ "Tags": {
551
+ "shape_name": "Tags",
552
+ "type": "list",
553
+ "members": {
554
+ "shape_name": "Tag",
555
+ "type": "structure",
556
+ "members": {
557
+ "Key": {
558
+ "shape_name": "TagKey",
559
+ "type": "string",
560
+ "min_length": 1,
561
+ "max_length": 128,
562
+ "documentation": "\n <p>The key of the tag.</p>\n "
563
+ },
564
+ "Value": {
565
+ "shape_name": "TagValue",
566
+ "type": "string",
567
+ "min_length": 1,
568
+ "max_length": 256,
569
+ "documentation": "\n <p>The value of the tag.</p>\n "
570
+ }
571
+ },
572
+ "documentation": "\n <p>Describes a tag applied to a resource in an environment.</p>\n "
573
+ },
574
+ "documentation": "\n <p>\n This specifies the tags applied to resources in the environment.\n </p>\n "
575
+ },
550
576
  "VersionLabel": {
551
577
  "shape_name": "VersionLabel",
552
578
  "type": "string",
@@ -313,7 +313,7 @@
313
313
  "Password": {
314
314
  "shape_name": "String",
315
315
  "type": "string",
316
- "documentation": "\n <p>This parameter depends on the repository type. </p>\n <ul>\n <li>For Amazon S3 bundles, set <code>Password</code> to the appropriate IAM secret access key.</li>\n <li>For HTTP bundles, and Subversion repositories, set <code>Password</code> to the password.</li>\n </ul>\n <p>For more information on how to safely handle IAM credentials, see <a href=\"http://docs.aws.amazon.com/general/latest/gr/aws-access-keys-best-practices.html\"></a>.</p>\n "
316
+ "documentation": "\n <p>This parameter depends on the repository type. </p>\n <ul>\n <li>For Amazon S3 bundles, set <code>Password</code> to the appropriate IAM secret access key.</li>\n <li>For HTTP bundles and Subversion repositories, set <code>Password</code> to the password.</li>\n </ul>\n <p>For more information on how to safely handle IAM credentials, see <a href=\"http://docs.aws.amazon.com/general/latest/gr/aws-access-keys-best-practices.html\"></a>.</p>\n "
317
317
  },
318
318
  "SshKey": {
319
319
  "shape_name": "String",
@@ -429,6 +429,33 @@
429
429
  "type": "string",
430
430
  "documentation": "\n <p>A description of the app.</p>\n "
431
431
  },
432
+ "DataSources": {
433
+ "shape_name": "DataSources",
434
+ "type": "list",
435
+ "members": {
436
+ "shape_name": "DataSource",
437
+ "type": "structure",
438
+ "members": {
439
+ "Type": {
440
+ "shape_name": "String",
441
+ "type": "string",
442
+ "documentation": "\n <p>The data source's type, <code>AutoSelectOpsworksMysqlInstance</code>, <code>OpsworksMysqlInstance</code>, or <code>RdsDbInstance</code>.</p>\n "
443
+ },
444
+ "Arn": {
445
+ "shape_name": "String",
446
+ "type": "string",
447
+ "documentation": "\n <p>The data source's ARN.</p>\n "
448
+ },
449
+ "DatabaseName": {
450
+ "shape_name": "String",
451
+ "type": "string",
452
+ "documentation": "\n <p>The database name.</p>\n "
453
+ }
454
+ },
455
+ "documentation": "\n <p>Describes an app's data source.</p>\n "
456
+ },
457
+ "documentation": "\n <p>The app's data source.</p>\n "
458
+ },
432
459
  "Type": {
433
460
  "shape_name": "AppType",
434
461
  "type": "string",
@@ -470,7 +497,7 @@
470
497
  "Password": {
471
498
  "shape_name": "String",
472
499
  "type": "string",
473
- "documentation": "\n <p>This parameter depends on the repository type. </p>\n <ul>\n <li>For Amazon S3 bundles, set <code>Password</code> to the appropriate IAM secret access key.</li>\n <li>For HTTP bundles, and Subversion repositories, set <code>Password</code> to the password.</li>\n </ul>\n <p>For more information on how to safely handle IAM credentials, see <a href=\"http://docs.aws.amazon.com/general/latest/gr/aws-access-keys-best-practices.html\"></a>.</p>\n "
500
+ "documentation": "\n <p>This parameter depends on the repository type. </p>\n <ul>\n <li>For Amazon S3 bundles, set <code>Password</code> to the appropriate IAM secret access key.</li>\n <li>For HTTP bundles and Subversion repositories, set <code>Password</code> to the password.</li>\n </ul>\n <p>For more information on how to safely handle IAM credentials, see <a href=\"http://docs.aws.amazon.com/general/latest/gr/aws-access-keys-best-practices.html\"></a>.</p>\n "
474
501
  },
475
502
  "SshKey": {
476
503
  "shape_name": "String",
@@ -777,6 +804,11 @@
777
804
  "type": "string",
778
805
  "documentation": "\n <p>The instance Availability Zone. For more information, see\n <a href=\"http://docs.aws.amazon.com/general/latest/gr/rande.html\">Regions and Endpoints</a>.</p>\n "
779
806
  },
807
+ "VirtualizationType": {
808
+ "shape_name": "String",
809
+ "type": "string",
810
+ "documentation": "\n <p>The instance's virtualization type, <code>paravirtual</code> or <code>hvm</code>.</p>\n "
811
+ },
780
812
  "SubnetId": {
781
813
  "shape_name": "String",
782
814
  "type": "string",
@@ -1294,7 +1326,7 @@
1294
1326
  "Password": {
1295
1327
  "shape_name": "String",
1296
1328
  "type": "string",
1297
- "documentation": "\n <p>This parameter depends on the repository type. </p>\n <ul>\n <li>For Amazon S3 bundles, set <code>Password</code> to the appropriate IAM secret access key.</li>\n <li>For HTTP bundles, and Subversion repositories, set <code>Password</code> to the password.</li>\n </ul>\n <p>For more information on how to safely handle IAM credentials, see <a href=\"http://docs.aws.amazon.com/general/latest/gr/aws-access-keys-best-practices.html\"></a>.</p>\n "
1329
+ "documentation": "\n <p>This parameter depends on the repository type. </p>\n <ul>\n <li>For Amazon S3 bundles, set <code>Password</code> to the appropriate IAM secret access key.</li>\n <li>For HTTP bundles and Subversion repositories, set <code>Password</code> to the password.</li>\n </ul>\n <p>For more information on how to safely handle IAM credentials, see <a href=\"http://docs.aws.amazon.com/general/latest/gr/aws-access-keys-best-practices.html\"></a>.</p>\n "
1298
1330
  },
1299
1331
  "SshKey": {
1300
1332
  "shape_name": "String",
@@ -1689,6 +1721,50 @@
1689
1721
  ],
1690
1722
  "documentation": "\n <p>Deregisters a specified Elastic IP address. The address can then be registered by another stack. For more information, see\n <a href=\"http://docs.aws.amazon.com/opsworks/latest/userguide/resources.html\">Resource Management</a>.</p>\n <p><b>Required Permissions</b>: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached\n policy that explicitly grants permissions. For more information on user permissions, see\n <a href=\"http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html\">Managing User Permissions</a>.</p>\n "
1691
1723
  },
1724
+ "DeregisterRdsDbInstance": {
1725
+ "name": "DeregisterRdsDbInstance",
1726
+ "input": {
1727
+ "shape_name": "DeregisterRdsDbInstanceRequest",
1728
+ "type": "structure",
1729
+ "members": {
1730
+ "RdsDbInstanceArn": {
1731
+ "shape_name": "String",
1732
+ "type": "string",
1733
+ "documentation": "\n <p>The Amazon RDS instance's ARN.</p>\n ",
1734
+ "required": true
1735
+ }
1736
+ },
1737
+ "documentation": null
1738
+ },
1739
+ "output": null,
1740
+ "errors": [
1741
+ {
1742
+ "shape_name": "ValidationException",
1743
+ "type": "structure",
1744
+ "members": {
1745
+ "message": {
1746
+ "shape_name": "String",
1747
+ "type": "string",
1748
+ "documentation": "\n <p>The exception message.</p>\n "
1749
+ }
1750
+ },
1751
+ "documentation": "\n <p>Indicates that a request was invalid.</p> \n "
1752
+ },
1753
+ {
1754
+ "shape_name": "ResourceNotFoundException",
1755
+ "type": "structure",
1756
+ "members": {
1757
+ "message": {
1758
+ "shape_name": "String",
1759
+ "type": "string",
1760
+ "documentation": "\n <p>The exception message.</p>\n "
1761
+ }
1762
+ },
1763
+ "documentation": "\n <p>Indicates that a resource was not found.</p>\n "
1764
+ }
1765
+ ],
1766
+ "documentation": "\n <p>Deregisters an Amazon RDS instance.</p>\n "
1767
+ },
1692
1768
  "DeregisterVolume": {
1693
1769
  "name": "DeregisterVolume",
1694
1770
  "input": {
@@ -1793,6 +1869,33 @@
1793
1869
  "type": "string",
1794
1870
  "documentation": "\n <p>A description of the app.</p>\n "
1795
1871
  },
1872
+ "DataSources": {
1873
+ "shape_name": "DataSources",
1874
+ "type": "list",
1875
+ "members": {
1876
+ "shape_name": "DataSource",
1877
+ "type": "structure",
1878
+ "members": {
1879
+ "Type": {
1880
+ "shape_name": "String",
1881
+ "type": "string",
1882
+ "documentation": "\n <p>The data source's type, <code>AutoSelectOpsworksMysqlInstance</code>, <code>OpsworksMysqlInstance</code>, or <code>RdsDbInstance</code>.</p>\n "
1883
+ },
1884
+ "Arn": {
1885
+ "shape_name": "String",
1886
+ "type": "string",
1887
+ "documentation": "\n <p>The data source's ARN.</p>\n "
1888
+ },
1889
+ "DatabaseName": {
1890
+ "shape_name": "String",
1891
+ "type": "string",
1892
+ "documentation": "\n <p>The database name.</p>\n "
1893
+ }
1894
+ },
1895
+ "documentation": "\n <p>Describes an app's data source.</p>\n "
1896
+ },
1897
+ "documentation": "\n <p>The app's data sources.</p>\n "
1898
+ },
1796
1899
  "Type": {
1797
1900
  "shape_name": "AppType",
1798
1901
  "type": "string",
@@ -1833,7 +1936,7 @@
1833
1936
  "Password": {
1834
1937
  "shape_name": "String",
1835
1938
  "type": "string",
1836
- "documentation": "\n <p>This parameter depends on the repository type. </p>\n <ul>\n <li>For Amazon S3 bundles, set <code>Password</code> to the appropriate IAM secret access key.</li>\n <li>For HTTP bundles, and Subversion repositories, set <code>Password</code> to the password.</li>\n </ul>\n <p>For more information on how to safely handle IAM credentials, see <a href=\"http://docs.aws.amazon.com/general/latest/gr/aws-access-keys-best-practices.html\"></a>.</p>\n "
1939
+ "documentation": "\n <p>This parameter depends on the repository type. </p>\n <ul>\n <li>For Amazon S3 bundles, set <code>Password</code> to the appropriate IAM secret access key.</li>\n <li>For HTTP bundles and Subversion repositories, set <code>Password</code> to the password.</li>\n </ul>\n <p>For more information on how to safely handle IAM credentials, see <a href=\"http://docs.aws.amazon.com/general/latest/gr/aws-access-keys-best-practices.html\"></a>.</p>\n "
1837
1940
  },
1838
1941
  "SshKey": {
1839
1942
  "shape_name": "String",
@@ -1856,7 +1959,7 @@
1856
1959
  "type": "string",
1857
1960
  "documentation": null
1858
1961
  },
1859
- "documentation": "\n <p>The app vhost settings, with multiple domains separated by commas. For example: <code>'www.example.com, example.com'</code></p>\n "
1962
+ "documentation": "\n <p>The app vhost settings with multiple domains separated by commas. For example: <code>'www.example.com, example.com'</code></p>\n "
1860
1963
  },
1861
1964
  "EnableSsl": {
1862
1965
  "shape_name": "Boolean",
@@ -2540,6 +2643,11 @@
2540
2643
  "type": "string",
2541
2644
  "documentation": "\n <p>The ID of the associated Amazon EC2 instance.</p>\n "
2542
2645
  },
2646
+ "VirtualizationType": {
2647
+ "shape_name": "String",
2648
+ "type": "string",
2649
+ "documentation": "\n <p>The instance's virtualization type, <code>paravirtual</code> or <code>hvm</code>.</p>\n "
2650
+ },
2543
2651
  "Hostname": {
2544
2652
  "shape_name": "String",
2545
2653
  "type": "string",
@@ -3554,6 +3662,124 @@
3554
3662
  ],
3555
3663
  "documentation": "\n <p>Describe an instance's RAID arrays.</p>\n <note>\n <p>You must specify at least one of the parameters.</p>\n </note>\n <p><b>Required Permissions</b>: To use this action, an IAM user must have a Show, Deploy, or Manage\n permissions level for the stack, or an attached policy that explicitly grants permissions.\n For more information on user permissions, see\n <a href=\"http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html\">Managing User Permissions</a>.</p>\n "
3556
3664
  },
3665
+ "DescribeRdsDbInstances": {
3666
+ "name": "DescribeRdsDbInstances",
3667
+ "input": {
3668
+ "shape_name": "DescribeRdsDbInstancesRequest",
3669
+ "type": "structure",
3670
+ "members": {
3671
+ "StackId": {
3672
+ "shape_name": "String",
3673
+ "type": "string",
3674
+ "documentation": "\n <p>The stack ID that the instances are registered with. The operation returns descriptions of all registered Amazon RDS instances.</p>\n ",
3675
+ "required": true
3676
+ },
3677
+ "RdsDbInstanceArns": {
3678
+ "shape_name": "Strings",
3679
+ "type": "list",
3680
+ "members": {
3681
+ "shape_name": "String",
3682
+ "type": "string",
3683
+ "documentation": null
3684
+ },
3685
+ "documentation": "\n <p>An array containing the ARNs of the instances to be described.</p>\n "
3686
+ }
3687
+ },
3688
+ "documentation": null
3689
+ },
3690
+ "output": {
3691
+ "shape_name": "DescribeRdsDbInstancesResult",
3692
+ "type": "structure",
3693
+ "members": {
3694
+ "RdsDbInstances": {
3695
+ "shape_name": "RdsDbInstances",
3696
+ "type": "list",
3697
+ "members": {
3698
+ "shape_name": "RdsDbInstance",
3699
+ "type": "structure",
3700
+ "members": {
3701
+ "RdsDbInstanceArn": {
3702
+ "shape_name": "String",
3703
+ "type": "string",
3704
+ "documentation": "\n <p>The instance's ARN.</p>\n "
3705
+ },
3706
+ "DbInstanceIdentifier": {
3707
+ "shape_name": "String",
3708
+ "type": "string",
3709
+ "documentation": "\n <p>The DB instance identifier.</p>\n "
3710
+ },
3711
+ "DbUser": {
3712
+ "shape_name": "String",
3713
+ "type": "string",
3714
+ "documentation": "\n <p>The master user name.</p>\n "
3715
+ },
3716
+ "DbPassword": {
3717
+ "shape_name": "String",
3718
+ "type": "string",
3719
+ "documentation": "\n <p>The database password.</p>\n "
3720
+ },
3721
+ "Region": {
3722
+ "shape_name": "String",
3723
+ "type": "string",
3724
+ "documentation": "\n <p>The instance's AWS region.</p>\n "
3725
+ },
3726
+ "Address": {
3727
+ "shape_name": "String",
3728
+ "type": "string",
3729
+ "documentation": "\n <p>The instance's address.</p>\n "
3730
+ },
3731
+ "Engine": {
3732
+ "shape_name": "String",
3733
+ "type": "string",
3734
+ "documentation": "\n <p>The instance's database engine.</p>\n "
3735
+ },
3736
+ "StackId": {
3737
+ "shape_name": "String",
3738
+ "type": "string",
3739
+ "documentation": "\n <p>The ID of the stack that the instance is registered with.</p>\n "
3740
+ },
3741
+ "MissingOnRds": {
3742
+ "shape_name": "Boolean",
3743
+ "type": "boolean",
3744
+ "box": true,
3745
+ "documentation": "\n <p>Set to <code>true</code> if AWS OpsWorks was unable to discover the Amazon RDS instance.\n AWS OpsWorks attempts to discover the instance only once. If this value is set to <code>true</code>,\n you must deregister the instance and then register it again.</p>\n "
3746
+ }
3747
+ },
3748
+ "documentation": "\n <p>Describes an Amazon RDS instance.</p>\n "
3749
+ },
3750
+ "documentation": "\n <p>An a array of <code>RdsDbInstance</code> objects that describe the instances.</p>\n "
3751
+ }
3752
+ },
3753
+ "documentation": "\n <p>Contains the response to a <code>DescribeRdsDbInstances</code> request.</p>\n "
3754
+ },
3755
+ "errors": [
3756
+ {
3757
+ "shape_name": "ValidationException",
3758
+ "type": "structure",
3759
+ "members": {
3760
+ "message": {
3761
+ "shape_name": "String",
3762
+ "type": "string",
3763
+ "documentation": "\n <p>The exception message.</p>\n "
3764
+ }
3765
+ },
3766
+ "documentation": "\n <p>Indicates that a request was invalid.</p> \n "
3767
+ },
3768
+ {
3769
+ "shape_name": "ResourceNotFoundException",
3770
+ "type": "structure",
3771
+ "members": {
3772
+ "message": {
3773
+ "shape_name": "String",
3774
+ "type": "string",
3775
+ "documentation": "\n <p>The exception message.</p>\n "
3776
+ }
3777
+ },
3778
+ "documentation": "\n <p>Indicates that a resource was not found.</p>\n "
3779
+ }
3780
+ ],
3781
+ "documentation": "\n <p>Describes Amazon RDS instances.</p>\n "
3782
+ },
3557
3783
  "DescribeServiceErrors": {
3558
3784
  "name": "DescribeServiceErrors",
3559
3785
  "input": {
@@ -4018,7 +4244,7 @@
4018
4244
  "Password": {
4019
4245
  "shape_name": "String",
4020
4246
  "type": "string",
4021
- "documentation": "\n <p>This parameter depends on the repository type. </p>\n <ul>\n <li>For Amazon S3 bundles, set <code>Password</code> to the appropriate IAM secret access key.</li>\n <li>For HTTP bundles, and Subversion repositories, set <code>Password</code> to the password.</li>\n </ul>\n <p>For more information on how to safely handle IAM credentials, see <a href=\"http://docs.aws.amazon.com/general/latest/gr/aws-access-keys-best-practices.html\"></a>.</p>\n "
4247
+ "documentation": "\n <p>This parameter depends on the repository type. </p>\n <ul>\n <li>For Amazon S3 bundles, set <code>Password</code> to the appropriate IAM secret access key.</li>\n <li>For HTTP bundles and Subversion repositories, set <code>Password</code> to the password.</li>\n </ul>\n <p>For more information on how to safely handle IAM credentials, see <a href=\"http://docs.aws.amazon.com/general/latest/gr/aws-access-keys-best-practices.html\"></a>.</p>\n "
4022
4248
  },
4023
4249
  "SshKey": {
4024
4250
  "shape_name": "String",
@@ -4759,6 +4985,68 @@
4759
4985
  ],
4760
4986
  "documentation": "\n <p>Registers an Elastic IP address with a specified stack. An address can be\n registered with only one stack at a time. If the address is already registered, you must first deregister it\n by calling <a>DeregisterElasticIp</a>. For more information, see\n <a href=\"http://docs.aws.amazon.com/opsworks/latest/userguide/resources.html\">Resource Management</a>.</p>\n <p><b>Required Permissions</b>: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached\n policy that explicitly grants permissions. For more information on user permissions, see\n <a href=\"http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html\">Managing User Permissions</a>.</p> "
4761
4987
  },
4988
+ "RegisterRdsDbInstance": {
4989
+ "name": "RegisterRdsDbInstance",
4990
+ "input": {
4991
+ "shape_name": "RegisterRdsDbInstanceRequest",
4992
+ "type": "structure",
4993
+ "members": {
4994
+ "StackId": {
4995
+ "shape_name": "String",
4996
+ "type": "string",
4997
+ "documentation": "\n <p>The stack ID.</p>\n ",
4998
+ "required": true
4999
+ },
5000
+ "RdsDbInstanceArn": {
5001
+ "shape_name": "String",
5002
+ "type": "string",
5003
+ "documentation": "\n <p>The Amazon RDS instance's ARN.</p>\n ",
5004
+ "required": true
5005
+ },
5006
+ "DbUser": {
5007
+ "shape_name": "String",
5008
+ "type": "string",
5009
+ "documentation": "\n <p>The database's master user name.</p>\n ",
5010
+ "required": true
5011
+ },
5012
+ "DbPassword": {
5013
+ "shape_name": "String",
5014
+ "type": "string",
5015
+ "documentation": "\n <p>The database password.</p>\n ",
5016
+ "required": true
5017
+ }
5018
+ },
5019
+ "documentation": null
5020
+ },
5021
+ "output": null,
5022
+ "errors": [
5023
+ {
5024
+ "shape_name": "ValidationException",
5025
+ "type": "structure",
5026
+ "members": {
5027
+ "message": {
5028
+ "shape_name": "String",
5029
+ "type": "string",
5030
+ "documentation": "\n <p>The exception message.</p>\n "
5031
+ }
5032
+ },
5033
+ "documentation": "\n <p>Indicates that a request was invalid.</p> \n "
5034
+ },
5035
+ {
5036
+ "shape_name": "ResourceNotFoundException",
5037
+ "type": "structure",
5038
+ "members": {
5039
+ "message": {
5040
+ "shape_name": "String",
5041
+ "type": "string",
5042
+ "documentation": "\n <p>The exception message.</p>\n "
5043
+ }
5044
+ },
5045
+ "documentation": "\n <p>Indicates that a resource was not found.</p>\n "
5046
+ }
5047
+ ],
5048
+ "documentation": "\n <p>Registers an Amazon RDS instance with a stack.</p>\n "
5049
+ },
4762
5050
  "RegisterVolume": {
4763
5051
  "name": "RegisterVolume",
4764
5052
  "input": {
@@ -5424,6 +5712,33 @@
5424
5712
  "type": "string",
5425
5713
  "documentation": "\n <p>A description of the app.</p>\n "
5426
5714
  },
5715
+ "DataSources": {
5716
+ "shape_name": "DataSources",
5717
+ "type": "list",
5718
+ "members": {
5719
+ "shape_name": "DataSource",
5720
+ "type": "structure",
5721
+ "members": {
5722
+ "Type": {
5723
+ "shape_name": "String",
5724
+ "type": "string",
5725
+ "documentation": "\n <p>The data source's type, <code>AutoSelectOpsworksMysqlInstance</code>, <code>OpsworksMysqlInstance</code>, or <code>RdsDbInstance</code>.</p>\n "
5726
+ },
5727
+ "Arn": {
5728
+ "shape_name": "String",
5729
+ "type": "string",
5730
+ "documentation": "\n <p>The data source's ARN.</p>\n "
5731
+ },
5732
+ "DatabaseName": {
5733
+ "shape_name": "String",
5734
+ "type": "string",
5735
+ "documentation": "\n <p>The database name.</p>\n "
5736
+ }
5737
+ },
5738
+ "documentation": "\n <p>Describes an app's data source.</p>\n "
5739
+ },
5740
+ "documentation": "\n <p>The app's data sources.</p>\n "
5741
+ },
5427
5742
  "Type": {
5428
5743
  "shape_name": "AppType",
5429
5744
  "type": "string",
@@ -5464,7 +5779,7 @@
5464
5779
  "Password": {
5465
5780
  "shape_name": "String",
5466
5781
  "type": "string",
5467
- "documentation": "\n <p>This parameter depends on the repository type. </p>\n <ul>\n <li>For Amazon S3 bundles, set <code>Password</code> to the appropriate IAM secret access key.</li>\n <li>For HTTP bundles, and Subversion repositories, set <code>Password</code> to the password.</li>\n </ul>\n <p>For more information on how to safely handle IAM credentials, see <a href=\"http://docs.aws.amazon.com/general/latest/gr/aws-access-keys-best-practices.html\"></a>.</p>\n "
5782
+ "documentation": "\n <p>This parameter depends on the repository type. </p>\n <ul>\n <li>For Amazon S3 bundles, set <code>Password</code> to the appropriate IAM secret access key.</li>\n <li>For HTTP bundles and Subversion repositories, set <code>Password</code> to the password.</li>\n </ul>\n <p>For more information on how to safely handle IAM credentials, see <a href=\"http://docs.aws.amazon.com/general/latest/gr/aws-access-keys-best-practices.html\"></a>.</p>\n "
5468
5783
  },
5469
5784
  "SshKey": {
5470
5785
  "shape_name": "String",
@@ -5690,6 +6005,12 @@
5690
6005
  "type": "boolean",
5691
6006
  "box": true,
5692
6007
  "documentation": "\n <p>Whether to install operating system and package updates when the instance boots. The default value is <code>true</code>.\n To control when updates are installed, set this value to <code>false</code>. You must then update your instances manually by\n using <a>CreateDeployment</a> to run the <code>update_dependencies</code> stack command or\n manually running <code>yum</code> (Amazon Linux) or <code>apt-get</code> (Ubuntu) on the instances.\n </p>\n <note>\n <p>We strongly recommend using the default value of <code>true</code>, to ensure that your\n instances have the latest security updates.</p>\n </note>\n "
6008
+ },
6009
+ "EbsOptimized": {
6010
+ "shape_name": "Boolean",
6011
+ "type": "boolean",
6012
+ "box": true,
6013
+ "documentation": "\n <p>Whether this is an Amazon EBS-optimized instance.</p>\n "
5693
6014
  }
5694
6015
  },
5695
6016
  "documentation": null
@@ -6010,6 +6331,60 @@
6010
6331
  ],
6011
6332
  "documentation": "\n <p>Updates a user's SSH public key.</p>\n <p><b>Required Permissions</b>: To use this action, an IAM user must have self-management enabled or an attached\n policy that explicitly grants permissions. For more information on user permissions, see\n <a href=\"http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html\">Managing User Permissions</a>.</p>\n "
6012
6333
  },
6334
+ "UpdateRdsDbInstance": {
6335
+ "name": "UpdateRdsDbInstance",
6336
+ "input": {
6337
+ "shape_name": "UpdateRdsDbInstanceRequest",
6338
+ "type": "structure",
6339
+ "members": {
6340
+ "RdsDbInstanceArn": {
6341
+ "shape_name": "String",
6342
+ "type": "string",
6343
+ "documentation": "\n <p>The Amazon RDS instance's ARN.</p>\n ",
6344
+ "required": true
6345
+ },
6346
+ "DbUser": {
6347
+ "shape_name": "String",
6348
+ "type": "string",
6349
+ "documentation": "\n <p>The master user name.</p>\n "
6350
+ },
6351
+ "DbPassword": {
6352
+ "shape_name": "String",
6353
+ "type": "string",
6354
+ "documentation": "\n <p>The database password.</p>\n "
6355
+ }
6356
+ },
6357
+ "documentation": null
6358
+ },
6359
+ "output": null,
6360
+ "errors": [
6361
+ {
6362
+ "shape_name": "ValidationException",
6363
+ "type": "structure",
6364
+ "members": {
6365
+ "message": {
6366
+ "shape_name": "String",
6367
+ "type": "string",
6368
+ "documentation": "\n <p>The exception message.</p>\n "
6369
+ }
6370
+ },
6371
+ "documentation": "\n <p>Indicates that a request was invalid.</p> \n "
6372
+ },
6373
+ {
6374
+ "shape_name": "ResourceNotFoundException",
6375
+ "type": "structure",
6376
+ "members": {
6377
+ "message": {
6378
+ "shape_name": "String",
6379
+ "type": "string",
6380
+ "documentation": "\n <p>The exception message.</p>\n "
6381
+ }
6382
+ },
6383
+ "documentation": "\n <p>Indicates that a resource was not found.</p>\n "
6384
+ }
6385
+ ],
6386
+ "documentation": "\n <p>Updates an Amazon RDS instance.</p>\n "
6387
+ },
6013
6388
  "UpdateStack": {
6014
6389
  "name": "UpdateStack",
6015
6390
  "input": {
@@ -6149,7 +6524,7 @@
6149
6524
  "Password": {
6150
6525
  "shape_name": "String",
6151
6526
  "type": "string",
6152
- "documentation": "\n <p>This parameter depends on the repository type. </p>\n <ul>\n <li>For Amazon S3 bundles, set <code>Password</code> to the appropriate IAM secret access key.</li>\n <li>For HTTP bundles, and Subversion repositories, set <code>Password</code> to the password.</li>\n </ul>\n <p>For more information on how to safely handle IAM credentials, see <a href=\"http://docs.aws.amazon.com/general/latest/gr/aws-access-keys-best-practices.html\"></a>.</p>\n "
6527
+ "documentation": "\n <p>This parameter depends on the repository type. </p>\n <ul>\n <li>For Amazon S3 bundles, set <code>Password</code> to the appropriate IAM secret access key.</li>\n <li>For HTTP bundles and Subversion repositories, set <code>Password</code> to the password.</li>\n </ul>\n <p>For more information on how to safely handle IAM credentials, see <a href=\"http://docs.aws.amazon.com/general/latest/gr/aws-access-keys-best-practices.html\"></a>.</p>\n "
6153
6528
  },
6154
6529
  "SshKey": {
6155
6530
  "shape_name": "String",