aws-sdk-rds 1.0.0.rc2 → 1.0.0.rc3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (35) hide show
  1. checksums.yaml +4 -4
  2. data/lib/aws-sdk-rds.rb +2 -2
  3. data/lib/aws-sdk-rds/account_quota.rb +79 -81
  4. data/lib/aws-sdk-rds/certificate.rb +99 -101
  5. data/lib/aws-sdk-rds/client.rb +10575 -9119
  6. data/lib/aws-sdk-rds/client_api.rb +3049 -3023
  7. data/lib/aws-sdk-rds/db_cluster.rb +1005 -1007
  8. data/lib/aws-sdk-rds/db_cluster_parameter_group.rb +204 -206
  9. data/lib/aws-sdk-rds/db_cluster_snapshot.rb +430 -432
  10. data/lib/aws-sdk-rds/db_engine.rb +208 -210
  11. data/lib/aws-sdk-rds/db_engine_version.rb +218 -219
  12. data/lib/aws-sdk-rds/db_instance.rb +2747 -2567
  13. data/lib/aws-sdk-rds/db_log_file.rb +145 -147
  14. data/lib/aws-sdk-rds/db_parameter_group.rb +411 -413
  15. data/lib/aws-sdk-rds/db_parameter_group_family.rb +135 -137
  16. data/lib/aws-sdk-rds/db_security_group.rb +316 -318
  17. data/lib/aws-sdk-rds/db_snapshot.rb +705 -650
  18. data/lib/aws-sdk-rds/db_snapshot_attribute.rb +137 -139
  19. data/lib/aws-sdk-rds/db_subnet_group.rb +161 -163
  20. data/lib/aws-sdk-rds/errors.rb +4 -13
  21. data/lib/aws-sdk-rds/event.rb +108 -110
  22. data/lib/aws-sdk-rds/event_category_map.rb +73 -75
  23. data/lib/aws-sdk-rds/event_subscription.rb +313 -315
  24. data/lib/aws-sdk-rds/option_group.rb +247 -249
  25. data/lib/aws-sdk-rds/option_group_option.rb +135 -137
  26. data/lib/aws-sdk-rds/parameter.rb +116 -118
  27. data/lib/aws-sdk-rds/pending_maintenance_action.rb +182 -184
  28. data/lib/aws-sdk-rds/plugins/cross_region_copying.rb +64 -0
  29. data/lib/aws-sdk-rds/reserved_db_instance.rb +156 -158
  30. data/lib/aws-sdk-rds/reserved_db_instances_offering.rb +154 -156
  31. data/lib/aws-sdk-rds/resource.rb +2395 -2288
  32. data/lib/aws-sdk-rds/resource_pending_maintenance_action_list.rb +89 -91
  33. data/lib/aws-sdk-rds/types.rb +12091 -10977
  34. data/lib/aws-sdk-rds/waiters.rb +127 -128
  35. metadata +3 -2
@@ -1,149 +1,148 @@
1
1
  # WARNING ABOUT GENERATED CODE
2
2
  #
3
- # This file is generated. See the contributing for info on making contributions:
3
+ # This file is generated. See the contributing guide for more information:
4
4
  # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
5
5
  #
6
6
  # WARNING ABOUT GENERATED CODE
7
7
 
8
8
  require 'aws-sdk-core/waiters'
9
9
 
10
- module Aws
11
- module RDS
12
- module Waiters
13
- class DBInstanceAvailable
10
+ module Aws::RDS
11
+ module Waiters
14
12
 
15
- # @param [Hash] options
16
- # @option options [required, Client] :client
17
- # @option options [Integer] :max_attempts (60)
18
- # @option options [Integer] :delay (30)
19
- # @option options [Proc] :before_attempt
20
- # @option options [Proc] :before_wait
21
- def initialize(options)
22
- @client = options.fetch(:client)
23
- @waiter = Aws::Waiters::Waiter.new({
24
- max_attempts: 60,
25
- delay: 30,
26
- poller: Aws::Waiters::Poller.new(
27
- operation_name: :describe_db_instances,
28
- acceptors: [
29
- {
30
- "expected" => "available",
31
- "matcher" => "pathAll",
32
- "state" => "success",
33
- "argument" => "db_instances[].db_instance_status"
34
- },
35
- {
36
- "expected" => "deleted",
37
- "matcher" => "pathAny",
38
- "state" => "failure",
39
- "argument" => "db_instances[].db_instance_status"
40
- },
41
- {
42
- "expected" => "deleting",
43
- "matcher" => "pathAny",
44
- "state" => "failure",
45
- "argument" => "db_instances[].db_instance_status"
46
- },
47
- {
48
- "expected" => "failed",
49
- "matcher" => "pathAny",
50
- "state" => "failure",
51
- "argument" => "db_instances[].db_instance_status"
52
- },
53
- {
54
- "expected" => "incompatible-restore",
55
- "matcher" => "pathAny",
56
- "state" => "failure",
57
- "argument" => "db_instances[].db_instance_status"
58
- },
59
- {
60
- "expected" => "incompatible-parameters",
61
- "matcher" => "pathAny",
62
- "state" => "failure",
63
- "argument" => "db_instances[].db_instance_status"
64
- }
65
- ]
66
- )
67
- }.merge(options))
68
- end
13
+ class DBInstanceAvailable
69
14
 
70
- # @option (see Client#describe_db_instances)
71
- # @return (see Client#describe_db_instances)
72
- def wait(params = {})
73
- @waiter.wait(client: @client, params: params)
74
- end
75
-
76
- # @api private
77
- attr_reader :waiter
15
+ # @param [Hash] options
16
+ # @option options [required, Client] :client
17
+ # @option options [Integer] :max_attempts (60)
18
+ # @option options [Integer] :delay (30)
19
+ # @option options [Proc] :before_attempt
20
+ # @option options [Proc] :before_wait
21
+ def initialize(options)
22
+ @client = options.fetch(:client)
23
+ @waiter = Aws::Waiters::Waiter.new({
24
+ max_attempts: 60,
25
+ delay: 30,
26
+ poller: Aws::Waiters::Poller.new(
27
+ operation_name: :describe_db_instances,
28
+ acceptors: [
29
+ {
30
+ "expected" => "available",
31
+ "matcher" => "pathAll",
32
+ "state" => "success",
33
+ "argument" => "db_instances[].db_instance_status"
34
+ },
35
+ {
36
+ "expected" => "deleted",
37
+ "matcher" => "pathAny",
38
+ "state" => "failure",
39
+ "argument" => "db_instances[].db_instance_status"
40
+ },
41
+ {
42
+ "expected" => "deleting",
43
+ "matcher" => "pathAny",
44
+ "state" => "failure",
45
+ "argument" => "db_instances[].db_instance_status"
46
+ },
47
+ {
48
+ "expected" => "failed",
49
+ "matcher" => "pathAny",
50
+ "state" => "failure",
51
+ "argument" => "db_instances[].db_instance_status"
52
+ },
53
+ {
54
+ "expected" => "incompatible-restore",
55
+ "matcher" => "pathAny",
56
+ "state" => "failure",
57
+ "argument" => "db_instances[].db_instance_status"
58
+ },
59
+ {
60
+ "expected" => "incompatible-parameters",
61
+ "matcher" => "pathAny",
62
+ "state" => "failure",
63
+ "argument" => "db_instances[].db_instance_status"
64
+ }
65
+ ]
66
+ )
67
+ }.merge(options))
68
+ end
78
69
 
70
+ # @option (see Client#describe_db_instances)
71
+ # @return (see Client#describe_db_instances)
72
+ def wait(params = {})
73
+ @waiter.wait(client: @client, params: params)
79
74
  end
80
75
 
81
- class DBInstanceDeleted
76
+ # @api private
77
+ attr_reader :waiter
82
78
 
83
- # @param [Hash] options
84
- # @option options [required, Client] :client
85
- # @option options [Integer] :max_attempts (60)
86
- # @option options [Integer] :delay (30)
87
- # @option options [Proc] :before_attempt
88
- # @option options [Proc] :before_wait
89
- def initialize(options)
90
- @client = options.fetch(:client)
91
- @waiter = Aws::Waiters::Waiter.new({
92
- max_attempts: 60,
93
- delay: 30,
94
- poller: Aws::Waiters::Poller.new(
95
- operation_name: :describe_db_instances,
96
- acceptors: [
97
- {
98
- "expected" => "deleted",
99
- "matcher" => "pathAll",
100
- "state" => "success",
101
- "argument" => "db_instances[].db_instance_status"
102
- },
103
- {
104
- "expected" => "DBInstanceNotFound",
105
- "matcher" => "error",
106
- "state" => "success"
107
- },
108
- {
109
- "expected" => "creating",
110
- "matcher" => "pathAny",
111
- "state" => "failure",
112
- "argument" => "db_instances[].db_instance_status"
113
- },
114
- {
115
- "expected" => "modifying",
116
- "matcher" => "pathAny",
117
- "state" => "failure",
118
- "argument" => "db_instances[].db_instance_status"
119
- },
120
- {
121
- "expected" => "rebooting",
122
- "matcher" => "pathAny",
123
- "state" => "failure",
124
- "argument" => "db_instances[].db_instance_status"
125
- },
126
- {
127
- "expected" => "resetting-master-credentials",
128
- "matcher" => "pathAny",
129
- "state" => "failure",
130
- "argument" => "db_instances[].db_instance_status"
131
- }
132
- ]
133
- )
134
- }.merge(options))
135
- end
79
+ end
136
80
 
137
- # @option (see Client#describe_db_instances)
138
- # @return (see Client#describe_db_instances)
139
- def wait(params = {})
140
- @waiter.wait(client: @client, params: params)
141
- end
81
+ class DBInstanceDeleted
142
82
 
143
- # @api private
144
- attr_reader :waiter
83
+ # @param [Hash] options
84
+ # @option options [required, Client] :client
85
+ # @option options [Integer] :max_attempts (60)
86
+ # @option options [Integer] :delay (30)
87
+ # @option options [Proc] :before_attempt
88
+ # @option options [Proc] :before_wait
89
+ def initialize(options)
90
+ @client = options.fetch(:client)
91
+ @waiter = Aws::Waiters::Waiter.new({
92
+ max_attempts: 60,
93
+ delay: 30,
94
+ poller: Aws::Waiters::Poller.new(
95
+ operation_name: :describe_db_instances,
96
+ acceptors: [
97
+ {
98
+ "expected" => "deleted",
99
+ "matcher" => "pathAll",
100
+ "state" => "success",
101
+ "argument" => "db_instances[].db_instance_status"
102
+ },
103
+ {
104
+ "expected" => "DBInstanceNotFound",
105
+ "matcher" => "error",
106
+ "state" => "success"
107
+ },
108
+ {
109
+ "expected" => "creating",
110
+ "matcher" => "pathAny",
111
+ "state" => "failure",
112
+ "argument" => "db_instances[].db_instance_status"
113
+ },
114
+ {
115
+ "expected" => "modifying",
116
+ "matcher" => "pathAny",
117
+ "state" => "failure",
118
+ "argument" => "db_instances[].db_instance_status"
119
+ },
120
+ {
121
+ "expected" => "rebooting",
122
+ "matcher" => "pathAny",
123
+ "state" => "failure",
124
+ "argument" => "db_instances[].db_instance_status"
125
+ },
126
+ {
127
+ "expected" => "resetting-master-credentials",
128
+ "matcher" => "pathAny",
129
+ "state" => "failure",
130
+ "argument" => "db_instances[].db_instance_status"
131
+ }
132
+ ]
133
+ )
134
+ }.merge(options))
135
+ end
145
136
 
137
+ # @option (see Client#describe_db_instances)
138
+ # @return (see Client#describe_db_instances)
139
+ def wait(params = {})
140
+ @waiter.wait(client: @client, params: params)
146
141
  end
142
+
143
+ # @api private
144
+ attr_reader :waiter
145
+
147
146
  end
148
147
  end
149
148
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-rds
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.rc2
4
+ version: 1.0.0.rc3
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-12-10 00:00:00.000000000 Z
11
+ date: 2017-03-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -73,6 +73,7 @@ files:
73
73
  - lib/aws-sdk-rds/option_group_option.rb
74
74
  - lib/aws-sdk-rds/parameter.rb
75
75
  - lib/aws-sdk-rds/pending_maintenance_action.rb
76
+ - lib/aws-sdk-rds/plugins/cross_region_copying.rb
76
77
  - lib/aws-sdk-rds/reserved_db_instance.rb
77
78
  - lib/aws-sdk-rds/reserved_db_instances_offering.rb
78
79
  - lib/aws-sdk-rds/resource.rb