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,166 +1,164 @@
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
- module Aws
9
- module RDS
10
- class OptionGroupOption
11
-
12
- extend Aws::Deprecations
13
-
14
- # @overload def initialize(name, options = {})
15
- # @param [String] name
16
- # @option options [Client] :client
17
- # @overload def initialize(options = {})
18
- # @option options [required, String] :name
19
- # @option options [Client] :client
20
- def initialize(*args)
21
- options = Hash === args.last ? args.pop.dup : {}
22
- @name = extract_name(args, options)
23
- @data = options.delete(:data)
24
- @client = options.delete(:client) || Client.new(options)
25
- end
8
+ module Aws::RDS
9
+ class OptionGroupOption
10
+
11
+ extend Aws::Deprecations
12
+
13
+ # @overload def initialize(name, options = {})
14
+ # @param [String] name
15
+ # @option options [Client] :client
16
+ # @overload def initialize(options = {})
17
+ # @option options [required, String] :name
18
+ # @option options [Client] :client
19
+ def initialize(*args)
20
+ options = Hash === args.last ? args.pop.dup : {}
21
+ @name = extract_name(args, options)
22
+ @data = options.delete(:data)
23
+ @client = options.delete(:client) || Client.new(options)
24
+ end
26
25
 
27
- # @!group Read-Only Attributes
26
+ # @!group Read-Only Attributes
28
27
 
29
- # @return [String]
30
- def name
31
- @name
32
- end
28
+ # @return [String]
29
+ def name
30
+ @name
31
+ end
33
32
 
34
- # The description of the option.
35
- # @return [String]
36
- def description
37
- data.description
38
- end
33
+ # The description of the option.
34
+ # @return [String]
35
+ def description
36
+ data.description
37
+ end
39
38
 
40
- # The name of the engine that this option can be applied to.
41
- # @return [String]
42
- def engine_name
43
- data.engine_name
44
- end
39
+ # The name of the engine that this option can be applied to.
40
+ # @return [String]
41
+ def engine_name
42
+ data.engine_name
43
+ end
45
44
 
46
- # Indicates the major engine version that the option is available for.
47
- # @return [String]
48
- def major_engine_version
49
- data.major_engine_version
50
- end
45
+ # Indicates the major engine version that the option is available for.
46
+ # @return [String]
47
+ def major_engine_version
48
+ data.major_engine_version
49
+ end
51
50
 
52
- # The minimum required engine version for the option to be applied.
53
- # @return [String]
54
- def minimum_required_minor_engine_version
55
- data.minimum_required_minor_engine_version
56
- end
51
+ # The minimum required engine version for the option to be applied.
52
+ # @return [String]
53
+ def minimum_required_minor_engine_version
54
+ data.minimum_required_minor_engine_version
55
+ end
57
56
 
58
- # Specifies whether the option requires a port.
59
- # @return [Boolean]
60
- def port_required
61
- data.port_required
62
- end
57
+ # Specifies whether the option requires a port.
58
+ # @return [Boolean]
59
+ def port_required
60
+ data.port_required
61
+ end
63
62
 
64
- # If the option requires a port, specifies the default port for the
65
- # option.
66
- # @return [Integer]
67
- def default_port
68
- data.default_port
69
- end
63
+ # If the option requires a port, specifies the default port for the
64
+ # option.
65
+ # @return [Integer]
66
+ def default_port
67
+ data.default_port
68
+ end
70
69
 
71
- # The options that are prerequisites for this option.
72
- # @return [Array<String>]
73
- def options_depended_on
74
- data.options_depended_on
75
- end
70
+ # The options that are prerequisites for this option.
71
+ # @return [Array<String>]
72
+ def options_depended_on
73
+ data.options_depended_on
74
+ end
76
75
 
77
- # The options that conflict with this option.
78
- # @return [Array<String>]
79
- def options_conflicts_with
80
- data.options_conflicts_with
81
- end
76
+ # The options that conflict with this option.
77
+ # @return [Array<String>]
78
+ def options_conflicts_with
79
+ data.options_conflicts_with
80
+ end
82
81
 
83
- # Persistent options can't be removed from an option group while DB
84
- # instances are associated with the option group. If you disassociate
85
- # all DB instances from the option group, your can remove the persistent
86
- # option from the option group.
87
- # @return [Boolean]
88
- def persistent
89
- data.persistent
90
- end
82
+ # Persistent options can't be removed from an option group while DB
83
+ # instances are associated with the option group. If you disassociate
84
+ # all DB instances from the option group, your can remove the persistent
85
+ # option from the option group.
86
+ # @return [Boolean]
87
+ def persistent
88
+ data.persistent
89
+ end
91
90
 
92
- # Permanent options can never be removed from an option group. An option
93
- # group containing a permanent option can't be removed from a DB
94
- # instance.
95
- # @return [Boolean]
96
- def permanent
97
- data.permanent
98
- end
91
+ # Permanent options can never be removed from an option group. An option
92
+ # group containing a permanent option can't be removed from a DB
93
+ # instance.
94
+ # @return [Boolean]
95
+ def permanent
96
+ data.permanent
97
+ end
99
98
 
100
- # The option settings that are available (and the default value) for
101
- # each option in an option group.
102
- # @return [Array<Types::OptionGroupOptionSetting>]
103
- def option_group_option_settings
104
- data.option_group_option_settings
105
- end
99
+ # The option settings that are available (and the default value) for
100
+ # each option in an option group.
101
+ # @return [Array<Types::OptionGroupOptionSetting>]
102
+ def option_group_option_settings
103
+ data.option_group_option_settings
104
+ end
106
105
 
107
- # The versions that are available for the option.
108
- # @return [Array<Types::OptionVersion>]
109
- def option_group_option_versions
110
- data.option_group_option_versions
111
- end
106
+ # The versions that are available for the option.
107
+ # @return [Array<Types::OptionVersion>]
108
+ def option_group_option_versions
109
+ data.option_group_option_versions
110
+ end
112
111
 
113
- # @!endgroup
112
+ # @!endgroup
114
113
 
115
- # @return [Client]
116
- def client
117
- @client
118
- end
114
+ # @return [Client]
115
+ def client
116
+ @client
117
+ end
119
118
 
120
- # @raise [Errors::ResourceNotLoadable]
121
- # @api private
122
- def load
123
- msg = "#load is not implemented, data only available via enumeration"
124
- raise Errors::ResourceNotLoadable, msg
125
- end
126
- alias :reload :load
127
-
128
- # @raise [Errors::ResourceNotLoadableError] Raises when {#data_loaded?} is `false`.
129
- # @return [Types::OptionGroupOption]
130
- # Returns the data for this {OptionGroupOption}.
131
- def data
132
- load unless @data
133
- @data
134
- end
119
+ # @raise [NotImplementedError]
120
+ # @api private
121
+ def load
122
+ msg = "#load is not implemented, data only available via enumeration"
123
+ raise NotImplementedError, msg
124
+ end
125
+ alias :reload :load
126
+
127
+ # @raise [NotImplementedError] Raises when {#data_loaded?} is `false`.
128
+ # @return [Types::OptionGroupOption]
129
+ # Returns the data for this {OptionGroupOption}.
130
+ def data
131
+ load unless @data
132
+ @data
133
+ end
135
134
 
136
- # @return [Boolean]
137
- # Returns `true` if this resource is loaded. Accessing attributes or
138
- # {#data} on an unloaded resource will trigger a call to {#load}.
139
- def data_loaded?
140
- !!@data
141
- end
135
+ # @return [Boolean]
136
+ # Returns `true` if this resource is loaded. Accessing attributes or
137
+ # {#data} on an unloaded resource will trigger a call to {#load}.
138
+ def data_loaded?
139
+ !!@data
140
+ end
142
141
 
143
- # @deprecated
144
- # @api private
145
- def identifiers
146
- { name: @name }
147
- end
148
- deprecated(:identifiers)
149
-
150
- private
151
-
152
- def extract_name(args, options)
153
- value = args[0] || options.delete(:name)
154
- case value
155
- when String then value
156
- when nil then raise ArgumentError, "missing required option :name"
157
- else
158
- msg = "expected :name to be a String, got #{value.class}"
159
- raise ArgumentError, msg
160
- end
161
- end
142
+ # @deprecated
143
+ # @api private
144
+ def identifiers
145
+ { name: @name }
146
+ end
147
+ deprecated(:identifiers)
148
+
149
+ private
162
150
 
163
- class Collection < Aws::Resources::Collection; end
151
+ def extract_name(args, options)
152
+ value = args[0] || options.delete(:name)
153
+ case value
154
+ when String then value
155
+ when nil then raise ArgumentError, "missing required option :name"
156
+ else
157
+ msg = "expected :name to be a String, got #{value.class}"
158
+ raise ArgumentError, msg
159
+ end
164
160
  end
161
+
162
+ class Collection < Aws::Resources::Collection; end
165
163
  end
166
164
  end
@@ -1,144 +1,142 @@
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
- module Aws
9
- module RDS
10
- class Parameter
11
-
12
- extend Aws::Deprecations
13
-
14
- # @overload def initialize(name, options = {})
15
- # @param [String] name
16
- # @option options [Client] :client
17
- # @overload def initialize(options = {})
18
- # @option options [required, String] :name
19
- # @option options [Client] :client
20
- def initialize(*args)
21
- options = Hash === args.last ? args.pop.dup : {}
22
- @name = extract_name(args, options)
23
- @data = options.delete(:data)
24
- @client = options.delete(:client) || Client.new(options)
25
- end
8
+ module Aws::RDS
9
+ class Parameter
10
+
11
+ extend Aws::Deprecations
12
+
13
+ # @overload def initialize(name, options = {})
14
+ # @param [String] name
15
+ # @option options [Client] :client
16
+ # @overload def initialize(options = {})
17
+ # @option options [required, String] :name
18
+ # @option options [Client] :client
19
+ def initialize(*args)
20
+ options = Hash === args.last ? args.pop.dup : {}
21
+ @name = extract_name(args, options)
22
+ @data = options.delete(:data)
23
+ @client = options.delete(:client) || Client.new(options)
24
+ end
26
25
 
27
- # @!group Read-Only Attributes
26
+ # @!group Read-Only Attributes
28
27
 
29
- # @return [String]
30
- def name
31
- @name
32
- end
33
- alias :parameter_name :name
28
+ # @return [String]
29
+ def name
30
+ @name
31
+ end
32
+ alias :parameter_name :name
34
33
 
35
- # Specifies the value of the parameter.
36
- # @return [String]
37
- def parameter_value
38
- data.parameter_value
39
- end
34
+ # Specifies the value of the parameter.
35
+ # @return [String]
36
+ def parameter_value
37
+ data.parameter_value
38
+ end
40
39
 
41
- # Provides a description of the parameter.
42
- # @return [String]
43
- def description
44
- data.description
45
- end
40
+ # Provides a description of the parameter.
41
+ # @return [String]
42
+ def description
43
+ data.description
44
+ end
46
45
 
47
- # Indicates the source of the parameter value.
48
- # @return [String]
49
- def source
50
- data.source
51
- end
46
+ # Indicates the source of the parameter value.
47
+ # @return [String]
48
+ def source
49
+ data.source
50
+ end
52
51
 
53
- # Specifies the engine specific parameters type.
54
- # @return [String]
55
- def apply_type
56
- data.apply_type
57
- end
52
+ # Specifies the engine specific parameters type.
53
+ # @return [String]
54
+ def apply_type
55
+ data.apply_type
56
+ end
58
57
 
59
- # Specifies the valid data type for the parameter.
60
- # @return [String]
61
- def data_type
62
- data.data_type
63
- end
58
+ # Specifies the valid data type for the parameter.
59
+ # @return [String]
60
+ def data_type
61
+ data.data_type
62
+ end
64
63
 
65
- # Specifies the valid range of values for the parameter.
66
- # @return [String]
67
- def allowed_values
68
- data.allowed_values
69
- end
64
+ # Specifies the valid range of values for the parameter.
65
+ # @return [String]
66
+ def allowed_values
67
+ data.allowed_values
68
+ end
70
69
 
71
- # Indicates whether (`true`) or not (`false`) the parameter can be
72
- # modified. Some parameters have security or operational implications
73
- # that prevent them from being changed.
74
- # @return [Boolean]
75
- def is_modifiable
76
- data.is_modifiable
77
- end
70
+ # Indicates whether (`true`) or not (`false`) the parameter can be
71
+ # modified. Some parameters have security or operational implications
72
+ # that prevent them from being changed.
73
+ # @return [Boolean]
74
+ def is_modifiable
75
+ data.is_modifiable
76
+ end
78
77
 
79
- # The earliest engine version to which the parameter can apply.
80
- # @return [String]
81
- def minimum_engine_version
82
- data.minimum_engine_version
83
- end
78
+ # The earliest engine version to which the parameter can apply.
79
+ # @return [String]
80
+ def minimum_engine_version
81
+ data.minimum_engine_version
82
+ end
84
83
 
85
- # Indicates when to apply parameter updates.
86
- # @return [String]
87
- def apply_method
88
- data.apply_method
89
- end
84
+ # Indicates when to apply parameter updates.
85
+ # @return [String]
86
+ def apply_method
87
+ data.apply_method
88
+ end
90
89
 
91
- # @!endgroup
90
+ # @!endgroup
92
91
 
93
- # @return [Client]
94
- def client
95
- @client
96
- end
92
+ # @return [Client]
93
+ def client
94
+ @client
95
+ end
97
96
 
98
- # @raise [Errors::ResourceNotLoadable]
99
- # @api private
100
- def load
101
- msg = "#load is not implemented, data only available via enumeration"
102
- raise Errors::ResourceNotLoadable, msg
103
- end
104
- alias :reload :load
105
-
106
- # @raise [Errors::ResourceNotLoadableError] Raises when {#data_loaded?} is `false`.
107
- # @return [Types::Parameter]
108
- # Returns the data for this {Parameter}.
109
- def data
110
- load unless @data
111
- @data
112
- end
97
+ # @raise [NotImplementedError]
98
+ # @api private
99
+ def load
100
+ msg = "#load is not implemented, data only available via enumeration"
101
+ raise NotImplementedError, msg
102
+ end
103
+ alias :reload :load
104
+
105
+ # @raise [NotImplementedError] Raises when {#data_loaded?} is `false`.
106
+ # @return [Types::Parameter]
107
+ # Returns the data for this {Parameter}.
108
+ def data
109
+ load unless @data
110
+ @data
111
+ end
113
112
 
114
- # @return [Boolean]
115
- # Returns `true` if this resource is loaded. Accessing attributes or
116
- # {#data} on an unloaded resource will trigger a call to {#load}.
117
- def data_loaded?
118
- !!@data
119
- end
113
+ # @return [Boolean]
114
+ # Returns `true` if this resource is loaded. Accessing attributes or
115
+ # {#data} on an unloaded resource will trigger a call to {#load}.
116
+ def data_loaded?
117
+ !!@data
118
+ end
120
119
 
121
- # @deprecated
122
- # @api private
123
- def identifiers
124
- { name: @name }
125
- end
126
- deprecated(:identifiers)
127
-
128
- private
129
-
130
- def extract_name(args, options)
131
- value = args[0] || options.delete(:name)
132
- case value
133
- when String then value
134
- when nil then raise ArgumentError, "missing required option :name"
135
- else
136
- msg = "expected :name to be a String, got #{value.class}"
137
- raise ArgumentError, msg
138
- end
139
- end
120
+ # @deprecated
121
+ # @api private
122
+ def identifiers
123
+ { name: @name }
124
+ end
125
+ deprecated(:identifiers)
126
+
127
+ private
140
128
 
141
- class Collection < Aws::Resources::Collection; end
129
+ def extract_name(args, options)
130
+ value = args[0] || options.delete(:name)
131
+ case value
132
+ when String then value
133
+ when nil then raise ArgumentError, "missing required option :name"
134
+ else
135
+ msg = "expected :name to be a String, got #{value.class}"
136
+ raise ArgumentError, msg
137
+ end
142
138
  end
139
+
140
+ class Collection < Aws::Resources::Collection; end
143
141
  end
144
142
  end