aws-sdk-rds 1.213.0 → 1.215.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-rds/client.rb +1 -1
- data/lib/aws-sdk-rds/client_api.rb +2 -0
- data/lib/aws-sdk-rds/plugins/endpoints.rb +1 -0
- data/lib/aws-sdk-rds.rb +1 -1
- data/sig/account_quota.rbs +41 -0
- data/sig/certificate.rbs +59 -0
- data/sig/client.rbs +3515 -0
- data/sig/db_cluster.rbs +524 -0
- data/sig/db_cluster_parameter_group.rbs +106 -0
- data/sig/db_cluster_snapshot.rbs +213 -0
- data/sig/db_engine.rbs +79 -0
- data/sig/db_engine_version.rbs +163 -0
- data/sig/db_instance.rbs +681 -0
- data/sig/db_log_file.rbs +51 -0
- data/sig/db_parameter_group.rbs +158 -0
- data/sig/db_parameter_group_family.rbs +58 -0
- data/sig/db_security_group.rbs +118 -0
- data/sig/db_snapshot.rbs +271 -0
- data/sig/db_snapshot_attribute.rbs +48 -0
- data/sig/db_subnet_group.rbs +81 -0
- data/sig/errors.rbs +306 -0
- data/sig/event.rbs +50 -0
- data/sig/event_category_map.rbs +40 -0
- data/sig/event_subscription.rbs +107 -0
- data/sig/option_group.rbs +129 -0
- data/sig/option_group_option.rbs +82 -0
- data/sig/parameter.rbs +65 -0
- data/sig/pending_maintenance_action.rbs +68 -0
- data/sig/reserved_db_instance.rbs +86 -0
- data/sig/reserved_db_instances_offering.rbs +78 -0
- data/sig/resource.rbs +599 -0
- data/sig/resource_pending_maintenance_action_list.rbs +41 -0
- data/sig/types.rbs +4275 -0
- data/sig/waiters.rbs +217 -0
- metadata +34 -4
data/sig/db_log_file.rbs
ADDED
@@ -0,0 +1,51 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws
|
9
|
+
module RDS
|
10
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBLogFile.html
|
11
|
+
class DBLogFile
|
12
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBLogFile.html#initialize-instance_method
|
13
|
+
def initialize: (String instance_id, String name, Hash[Symbol, untyped] options) -> void
|
14
|
+
| (instance_id: String, name: String, ?client: Client) -> void
|
15
|
+
| (Hash[Symbol, untyped] args) -> void
|
16
|
+
|
17
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBLogFile.html#instance_id-instance_method
|
18
|
+
def instance_id: () -> String
|
19
|
+
|
20
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBLogFile.html#name-instance_method
|
21
|
+
def name: () -> String
|
22
|
+
alias log_file_name name
|
23
|
+
|
24
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBLogFile.html#last_written-instance_method
|
25
|
+
def last_written: () -> ::Integer
|
26
|
+
|
27
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBLogFile.html#size-instance_method
|
28
|
+
def size: () -> ::Integer
|
29
|
+
|
30
|
+
def client: () -> Client
|
31
|
+
|
32
|
+
|
33
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBLogFile.html#data-instance_method
|
34
|
+
def data: () -> Types::DescribeDBLogFilesDetails
|
35
|
+
|
36
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBLogFile.html#data_loaded?-instance_method
|
37
|
+
def data_loaded?: () -> bool
|
38
|
+
|
39
|
+
|
40
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBLogFile.html#download-instance_method
|
41
|
+
def download: (
|
42
|
+
?marker: ::String,
|
43
|
+
?number_of_lines: ::Integer
|
44
|
+
) -> Types::DownloadDBLogFilePortionDetails
|
45
|
+
| (?Hash[Symbol, untyped]) -> Types::DownloadDBLogFilePortionDetails
|
46
|
+
|
47
|
+
class Collection < ::Aws::Resources::Collection[DBLogFile]
|
48
|
+
end
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
@@ -0,0 +1,158 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws
|
9
|
+
module RDS
|
10
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBParameterGroup.html
|
11
|
+
class DBParameterGroup
|
12
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBParameterGroup.html#initialize-instance_method
|
13
|
+
def initialize: (String name, Hash[Symbol, untyped] options) -> void
|
14
|
+
| (name: String, ?client: Client) -> void
|
15
|
+
| (Hash[Symbol, untyped] args) -> void
|
16
|
+
|
17
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBParameterGroup.html#name-instance_method
|
18
|
+
def name: () -> String
|
19
|
+
alias db_parameter_group_name name
|
20
|
+
|
21
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBParameterGroup.html#db_parameter_group_family-instance_method
|
22
|
+
def db_parameter_group_family: () -> ::String
|
23
|
+
|
24
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBParameterGroup.html#description-instance_method
|
25
|
+
def description: () -> ::String
|
26
|
+
|
27
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBParameterGroup.html#db_parameter_group_arn-instance_method
|
28
|
+
def db_parameter_group_arn: () -> ::String
|
29
|
+
|
30
|
+
def client: () -> Client
|
31
|
+
|
32
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBParameterGroup.html#load-instance_method
|
33
|
+
def load: () -> self
|
34
|
+
alias reload load
|
35
|
+
|
36
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBParameterGroup.html#data-instance_method
|
37
|
+
def data: () -> Types::DBParameterGroup
|
38
|
+
|
39
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBParameterGroup.html#data_loaded?-instance_method
|
40
|
+
def data_loaded?: () -> bool
|
41
|
+
|
42
|
+
|
43
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBParameterGroup.html#create-instance_method
|
44
|
+
def create: (
|
45
|
+
db_parameter_group_family: ::String,
|
46
|
+
description: ::String,
|
47
|
+
?tags: Array[
|
48
|
+
{
|
49
|
+
key: ::String?,
|
50
|
+
value: ::String?
|
51
|
+
},
|
52
|
+
]
|
53
|
+
) -> DBParameterGroup
|
54
|
+
| (?Hash[Symbol, untyped]) -> DBParameterGroup
|
55
|
+
|
56
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBParameterGroup.html#copy-instance_method
|
57
|
+
def copy: (
|
58
|
+
target_db_parameter_group_identifier: ::String,
|
59
|
+
target_db_parameter_group_description: ::String,
|
60
|
+
?tags: Array[
|
61
|
+
{
|
62
|
+
key: ::String?,
|
63
|
+
value: ::String?
|
64
|
+
},
|
65
|
+
]
|
66
|
+
) -> DBParameterGroup
|
67
|
+
| (?Hash[Symbol, untyped]) -> DBParameterGroup
|
68
|
+
|
69
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBParameterGroup.html#delete-instance_method
|
70
|
+
def delete: (
|
71
|
+
) -> ::Aws::EmptyStructure
|
72
|
+
| (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
|
73
|
+
|
74
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBParameterGroup.html#modify-instance_method
|
75
|
+
def modify: (
|
76
|
+
parameters: Array[
|
77
|
+
{
|
78
|
+
parameter_name: ::String?,
|
79
|
+
parameter_value: ::String?,
|
80
|
+
description: ::String?,
|
81
|
+
source: ::String?,
|
82
|
+
apply_type: ::String?,
|
83
|
+
data_type: ::String?,
|
84
|
+
allowed_values: ::String?,
|
85
|
+
is_modifiable: bool?,
|
86
|
+
minimum_engine_version: ::String?,
|
87
|
+
apply_method: ("immediate" | "pending-reboot")?,
|
88
|
+
supported_engine_modes: Array[::String]?
|
89
|
+
},
|
90
|
+
]
|
91
|
+
) -> DBParameterGroup
|
92
|
+
| (?Hash[Symbol, untyped]) -> DBParameterGroup
|
93
|
+
|
94
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBParameterGroup.html#reset-instance_method
|
95
|
+
def reset: (
|
96
|
+
?reset_all_parameters: bool,
|
97
|
+
?parameters: Array[
|
98
|
+
{
|
99
|
+
parameter_name: ::String?,
|
100
|
+
parameter_value: ::String?,
|
101
|
+
description: ::String?,
|
102
|
+
source: ::String?,
|
103
|
+
apply_type: ::String?,
|
104
|
+
data_type: ::String?,
|
105
|
+
allowed_values: ::String?,
|
106
|
+
is_modifiable: bool?,
|
107
|
+
minimum_engine_version: ::String?,
|
108
|
+
apply_method: ("immediate" | "pending-reboot")?,
|
109
|
+
supported_engine_modes: Array[::String]?
|
110
|
+
},
|
111
|
+
]
|
112
|
+
) -> DBParameterGroup
|
113
|
+
| (?Hash[Symbol, untyped]) -> DBParameterGroup
|
114
|
+
|
115
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBParameterGroup.html#subscribe_to-instance_method
|
116
|
+
def subscribe_to: (
|
117
|
+
subscription_name: ::String
|
118
|
+
) -> EventSubscription
|
119
|
+
| (?Hash[Symbol, untyped]) -> EventSubscription
|
120
|
+
|
121
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBParameterGroup.html#unsubscribe_from-instance_method
|
122
|
+
def unsubscribe_from: (
|
123
|
+
subscription_name: ::String
|
124
|
+
) -> EventSubscription
|
125
|
+
| (?Hash[Symbol, untyped]) -> EventSubscription
|
126
|
+
|
127
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBParameterGroup.html#events-instance_method
|
128
|
+
def events: (
|
129
|
+
?start_time: ::Time,
|
130
|
+
?end_time: ::Time,
|
131
|
+
?duration: ::Integer,
|
132
|
+
?event_categories: Array[::String],
|
133
|
+
?filters: Array[
|
134
|
+
{
|
135
|
+
name: ::String,
|
136
|
+
values: Array[::String]
|
137
|
+
},
|
138
|
+
]
|
139
|
+
) -> Event::Collection
|
140
|
+
| (?Hash[Symbol, untyped]) -> Event::Collection
|
141
|
+
|
142
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBParameterGroup.html#parameters-instance_method
|
143
|
+
def parameters: (
|
144
|
+
?source: ::String,
|
145
|
+
?filters: Array[
|
146
|
+
{
|
147
|
+
name: ::String,
|
148
|
+
values: Array[::String]
|
149
|
+
},
|
150
|
+
]
|
151
|
+
) -> Parameter::Collection
|
152
|
+
| (?Hash[Symbol, untyped]) -> Parameter::Collection
|
153
|
+
|
154
|
+
class Collection < ::Aws::Resources::Collection[DBParameterGroup]
|
155
|
+
end
|
156
|
+
end
|
157
|
+
end
|
158
|
+
end
|
@@ -0,0 +1,58 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws
|
9
|
+
module RDS
|
10
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBParameterGroupFamily.html
|
11
|
+
class DBParameterGroupFamily
|
12
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBParameterGroupFamily.html#initialize-instance_method
|
13
|
+
def initialize: (String name, Hash[Symbol, untyped] options) -> void
|
14
|
+
| (name: String, ?client: Client) -> void
|
15
|
+
| (Hash[Symbol, untyped] args) -> void
|
16
|
+
|
17
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBParameterGroupFamily.html#name-instance_method
|
18
|
+
def name: () -> String
|
19
|
+
|
20
|
+
def client: () -> Client
|
21
|
+
|
22
|
+
|
23
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBParameterGroupFamily.html#data-instance_method
|
24
|
+
def data: () -> EmptyStructure
|
25
|
+
|
26
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBParameterGroupFamily.html#data_loaded?-instance_method
|
27
|
+
def data_loaded?: () -> bool
|
28
|
+
|
29
|
+
|
30
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBParameterGroupFamily.html#engine_default_cluster_parameters-instance_method
|
31
|
+
def engine_default_cluster_parameters: (
|
32
|
+
?filters: Array[
|
33
|
+
{
|
34
|
+
name: ::String,
|
35
|
+
values: Array[::String]
|
36
|
+
},
|
37
|
+
],
|
38
|
+
?max_records: ::Integer,
|
39
|
+
?marker: ::String
|
40
|
+
) -> Parameter::Collection
|
41
|
+
| (?Hash[Symbol, untyped]) -> Parameter::Collection
|
42
|
+
|
43
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBParameterGroupFamily.html#engine_default_parameters-instance_method
|
44
|
+
def engine_default_parameters: (
|
45
|
+
?filters: Array[
|
46
|
+
{
|
47
|
+
name: ::String,
|
48
|
+
values: Array[::String]
|
49
|
+
},
|
50
|
+
]
|
51
|
+
) -> Parameter::Collection
|
52
|
+
| (?Hash[Symbol, untyped]) -> Parameter::Collection
|
53
|
+
|
54
|
+
class Collection < ::Aws::Resources::Collection[DBParameterGroupFamily]
|
55
|
+
end
|
56
|
+
end
|
57
|
+
end
|
58
|
+
end
|
@@ -0,0 +1,118 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws
|
9
|
+
module RDS
|
10
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBSecurityGroup.html
|
11
|
+
class DBSecurityGroup
|
12
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBSecurityGroup.html#initialize-instance_method
|
13
|
+
def initialize: (String name, Hash[Symbol, untyped] options) -> void
|
14
|
+
| (name: String, ?client: Client) -> void
|
15
|
+
| (Hash[Symbol, untyped] args) -> void
|
16
|
+
|
17
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBSecurityGroup.html#name-instance_method
|
18
|
+
def name: () -> String
|
19
|
+
alias db_security_group_name name
|
20
|
+
|
21
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBSecurityGroup.html#owner_id-instance_method
|
22
|
+
def owner_id: () -> ::String
|
23
|
+
|
24
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBSecurityGroup.html#db_security_group_description-instance_method
|
25
|
+
def db_security_group_description: () -> ::String
|
26
|
+
|
27
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBSecurityGroup.html#vpc_id-instance_method
|
28
|
+
def vpc_id: () -> ::String
|
29
|
+
|
30
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBSecurityGroup.html#ec2_security_groups-instance_method
|
31
|
+
def ec2_security_groups: () -> ::Array[Types::EC2SecurityGroup]
|
32
|
+
|
33
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBSecurityGroup.html#ip_ranges-instance_method
|
34
|
+
def ip_ranges: () -> ::Array[Types::IPRange]
|
35
|
+
|
36
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBSecurityGroup.html#db_security_group_arn-instance_method
|
37
|
+
def db_security_group_arn: () -> ::String
|
38
|
+
|
39
|
+
def client: () -> Client
|
40
|
+
|
41
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBSecurityGroup.html#load-instance_method
|
42
|
+
def load: () -> self
|
43
|
+
alias reload load
|
44
|
+
|
45
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBSecurityGroup.html#data-instance_method
|
46
|
+
def data: () -> Types::DBSecurityGroup
|
47
|
+
|
48
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBSecurityGroup.html#data_loaded?-instance_method
|
49
|
+
def data_loaded?: () -> bool
|
50
|
+
|
51
|
+
|
52
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBSecurityGroup.html#authorize_ingress-instance_method
|
53
|
+
def authorize_ingress: (
|
54
|
+
?cidrip: ::String,
|
55
|
+
?ec2_security_group_name: ::String,
|
56
|
+
?ec2_security_group_id: ::String,
|
57
|
+
?ec2_security_group_owner_id: ::String
|
58
|
+
) -> DBSecurityGroup
|
59
|
+
| (?Hash[Symbol, untyped]) -> DBSecurityGroup
|
60
|
+
|
61
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBSecurityGroup.html#create-instance_method
|
62
|
+
def create: (
|
63
|
+
db_security_group_description: ::String,
|
64
|
+
?tags: Array[
|
65
|
+
{
|
66
|
+
key: ::String?,
|
67
|
+
value: ::String?
|
68
|
+
},
|
69
|
+
]
|
70
|
+
) -> DBSecurityGroup
|
71
|
+
| (?Hash[Symbol, untyped]) -> DBSecurityGroup
|
72
|
+
|
73
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBSecurityGroup.html#delete-instance_method
|
74
|
+
def delete: (
|
75
|
+
) -> ::Aws::EmptyStructure
|
76
|
+
| (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
|
77
|
+
|
78
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBSecurityGroup.html#revoke_ingress-instance_method
|
79
|
+
def revoke_ingress: (
|
80
|
+
?cidrip: ::String,
|
81
|
+
?ec2_security_group_name: ::String,
|
82
|
+
?ec2_security_group_id: ::String,
|
83
|
+
?ec2_security_group_owner_id: ::String
|
84
|
+
) -> DBSecurityGroup
|
85
|
+
| (?Hash[Symbol, untyped]) -> DBSecurityGroup
|
86
|
+
|
87
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBSecurityGroup.html#subscribe_to-instance_method
|
88
|
+
def subscribe_to: (
|
89
|
+
subscription_name: ::String
|
90
|
+
) -> EventSubscription
|
91
|
+
| (?Hash[Symbol, untyped]) -> EventSubscription
|
92
|
+
|
93
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBSecurityGroup.html#unsubscribe_from-instance_method
|
94
|
+
def unsubscribe_from: (
|
95
|
+
subscription_name: ::String
|
96
|
+
) -> EventSubscription
|
97
|
+
| (?Hash[Symbol, untyped]) -> EventSubscription
|
98
|
+
|
99
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBSecurityGroup.html#events-instance_method
|
100
|
+
def events: (
|
101
|
+
?start_time: ::Time,
|
102
|
+
?end_time: ::Time,
|
103
|
+
?duration: ::Integer,
|
104
|
+
?event_categories: Array[::String],
|
105
|
+
?filters: Array[
|
106
|
+
{
|
107
|
+
name: ::String,
|
108
|
+
values: Array[::String]
|
109
|
+
},
|
110
|
+
]
|
111
|
+
) -> Event::Collection
|
112
|
+
| (?Hash[Symbol, untyped]) -> Event::Collection
|
113
|
+
|
114
|
+
class Collection < ::Aws::Resources::Collection[DBSecurityGroup]
|
115
|
+
end
|
116
|
+
end
|
117
|
+
end
|
118
|
+
end
|
data/sig/db_snapshot.rbs
ADDED
@@ -0,0 +1,271 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws
|
9
|
+
module RDS
|
10
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBSnapshot.html
|
11
|
+
class DBSnapshot
|
12
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBSnapshot.html#initialize-instance_method
|
13
|
+
def initialize: (String instance_id, String snapshot_id, Hash[Symbol, untyped] options) -> void
|
14
|
+
| (instance_id: String, snapshot_id: String, ?client: Client) -> void
|
15
|
+
| (Hash[Symbol, untyped] args) -> void
|
16
|
+
|
17
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBSnapshot.html#instance_id-instance_method
|
18
|
+
def instance_id: () -> String
|
19
|
+
alias db_instance_identifier instance_id
|
20
|
+
|
21
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBSnapshot.html#snapshot_id-instance_method
|
22
|
+
def snapshot_id: () -> String
|
23
|
+
alias db_snapshot_identifier snapshot_id
|
24
|
+
|
25
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBSnapshot.html#snapshot_create_time-instance_method
|
26
|
+
def snapshot_create_time: () -> ::Time
|
27
|
+
|
28
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBSnapshot.html#engine-instance_method
|
29
|
+
def engine: () -> ::String
|
30
|
+
|
31
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBSnapshot.html#allocated_storage-instance_method
|
32
|
+
def allocated_storage: () -> ::Integer
|
33
|
+
|
34
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBSnapshot.html#status-instance_method
|
35
|
+
def status: () -> ::String
|
36
|
+
|
37
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBSnapshot.html#port-instance_method
|
38
|
+
def port: () -> ::Integer
|
39
|
+
|
40
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBSnapshot.html#availability_zone-instance_method
|
41
|
+
def availability_zone: () -> ::String
|
42
|
+
|
43
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBSnapshot.html#vpc_id-instance_method
|
44
|
+
def vpc_id: () -> ::String
|
45
|
+
|
46
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBSnapshot.html#instance_create_time-instance_method
|
47
|
+
def instance_create_time: () -> ::Time
|
48
|
+
|
49
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBSnapshot.html#master_username-instance_method
|
50
|
+
def master_username: () -> ::String
|
51
|
+
|
52
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBSnapshot.html#engine_version-instance_method
|
53
|
+
def engine_version: () -> ::String
|
54
|
+
|
55
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBSnapshot.html#license_model-instance_method
|
56
|
+
def license_model: () -> ::String
|
57
|
+
|
58
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBSnapshot.html#snapshot_type-instance_method
|
59
|
+
def snapshot_type: () -> ::String
|
60
|
+
|
61
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBSnapshot.html#iops-instance_method
|
62
|
+
def iops: () -> ::Integer
|
63
|
+
|
64
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBSnapshot.html#option_group_name-instance_method
|
65
|
+
def option_group_name: () -> ::String
|
66
|
+
|
67
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBSnapshot.html#percent_progress-instance_method
|
68
|
+
def percent_progress: () -> ::Integer
|
69
|
+
|
70
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBSnapshot.html#source_region-instance_method
|
71
|
+
def source_region: () -> ::String
|
72
|
+
|
73
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBSnapshot.html#source_db_snapshot_identifier-instance_method
|
74
|
+
def source_db_snapshot_identifier: () -> ::String
|
75
|
+
|
76
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBSnapshot.html#storage_type-instance_method
|
77
|
+
def storage_type: () -> ::String
|
78
|
+
|
79
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBSnapshot.html#tde_credential_arn-instance_method
|
80
|
+
def tde_credential_arn: () -> ::String
|
81
|
+
|
82
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBSnapshot.html#encrypted-instance_method
|
83
|
+
def encrypted: () -> bool
|
84
|
+
|
85
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBSnapshot.html#kms_key_id-instance_method
|
86
|
+
def kms_key_id: () -> ::String
|
87
|
+
|
88
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBSnapshot.html#db_snapshot_arn-instance_method
|
89
|
+
def db_snapshot_arn: () -> ::String
|
90
|
+
|
91
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBSnapshot.html#timezone-instance_method
|
92
|
+
def timezone: () -> ::String
|
93
|
+
|
94
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBSnapshot.html#iam_database_authentication_enabled-instance_method
|
95
|
+
def iam_database_authentication_enabled: () -> bool
|
96
|
+
|
97
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBSnapshot.html#processor_features-instance_method
|
98
|
+
def processor_features: () -> ::Array[Types::ProcessorFeature]
|
99
|
+
|
100
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBSnapshot.html#dbi_resource_id-instance_method
|
101
|
+
def dbi_resource_id: () -> ::String
|
102
|
+
|
103
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBSnapshot.html#tag_list-instance_method
|
104
|
+
def tag_list: () -> ::Array[Types::Tag]
|
105
|
+
|
106
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBSnapshot.html#original_snapshot_create_time-instance_method
|
107
|
+
def original_snapshot_create_time: () -> ::Time
|
108
|
+
|
109
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBSnapshot.html#snapshot_database_time-instance_method
|
110
|
+
def snapshot_database_time: () -> ::Time
|
111
|
+
|
112
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBSnapshot.html#snapshot_target-instance_method
|
113
|
+
def snapshot_target: () -> ::String
|
114
|
+
|
115
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBSnapshot.html#storage_throughput-instance_method
|
116
|
+
def storage_throughput: () -> ::Integer
|
117
|
+
|
118
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBSnapshot.html#db_system_id-instance_method
|
119
|
+
def db_system_id: () -> ::String
|
120
|
+
|
121
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBSnapshot.html#dedicated_log_volume-instance_method
|
122
|
+
def dedicated_log_volume: () -> bool
|
123
|
+
|
124
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBSnapshot.html#multi_tenant-instance_method
|
125
|
+
def multi_tenant: () -> bool
|
126
|
+
|
127
|
+
def client: () -> Client
|
128
|
+
|
129
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBSnapshot.html#load-instance_method
|
130
|
+
def load: () -> self
|
131
|
+
alias reload load
|
132
|
+
|
133
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBSnapshot.html#data-instance_method
|
134
|
+
def data: () -> Types::DBSnapshot
|
135
|
+
|
136
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBSnapshot.html#data_loaded?-instance_method
|
137
|
+
def data_loaded?: () -> bool
|
138
|
+
|
139
|
+
|
140
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBSnapshot.html#create-instance_method
|
141
|
+
def create: (
|
142
|
+
?tags: Array[
|
143
|
+
{
|
144
|
+
key: ::String?,
|
145
|
+
value: ::String?
|
146
|
+
},
|
147
|
+
]
|
148
|
+
) -> DBSnapshot
|
149
|
+
| (?Hash[Symbol, untyped]) -> DBSnapshot
|
150
|
+
|
151
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBSnapshot.html#copy-instance_method
|
152
|
+
def copy: (
|
153
|
+
target_db_snapshot_identifier: ::String,
|
154
|
+
?kms_key_id: ::String,
|
155
|
+
?tags: Array[
|
156
|
+
{
|
157
|
+
key: ::String?,
|
158
|
+
value: ::String?
|
159
|
+
},
|
160
|
+
],
|
161
|
+
?copy_tags: bool,
|
162
|
+
?pre_signed_url: ::String,
|
163
|
+
?option_group_name: ::String,
|
164
|
+
?target_custom_availability_zone: ::String,
|
165
|
+
?copy_option_group: bool,
|
166
|
+
?source_region: ::String
|
167
|
+
) -> DBSnapshot
|
168
|
+
| (?Hash[Symbol, untyped]) -> DBSnapshot
|
169
|
+
|
170
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBSnapshot.html#delete-instance_method
|
171
|
+
def delete: (
|
172
|
+
) -> DBSnapshot
|
173
|
+
| (?Hash[Symbol, untyped]) -> DBSnapshot
|
174
|
+
|
175
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBSnapshot.html#restore-instance_method
|
176
|
+
def restore: (
|
177
|
+
db_instance_identifier: ::String,
|
178
|
+
?db_instance_class: ::String,
|
179
|
+
?port: ::Integer,
|
180
|
+
?availability_zone: ::String,
|
181
|
+
?db_subnet_group_name: ::String,
|
182
|
+
?multi_az: bool,
|
183
|
+
?publicly_accessible: bool,
|
184
|
+
?auto_minor_version_upgrade: bool,
|
185
|
+
?license_model: ::String,
|
186
|
+
?db_name: ::String,
|
187
|
+
?engine: ::String,
|
188
|
+
?iops: ::Integer,
|
189
|
+
?option_group_name: ::String,
|
190
|
+
?tags: Array[
|
191
|
+
{
|
192
|
+
key: ::String?,
|
193
|
+
value: ::String?
|
194
|
+
},
|
195
|
+
],
|
196
|
+
?storage_type: ::String,
|
197
|
+
?tde_credential_arn: ::String,
|
198
|
+
?tde_credential_password: ::String,
|
199
|
+
?vpc_security_group_ids: Array[::String],
|
200
|
+
?domain: ::String,
|
201
|
+
?domain_fqdn: ::String,
|
202
|
+
?domain_ou: ::String,
|
203
|
+
?domain_auth_secret_arn: ::String,
|
204
|
+
?domain_dns_ips: Array[::String],
|
205
|
+
?copy_tags_to_snapshot: bool,
|
206
|
+
?domain_iam_role_name: ::String,
|
207
|
+
?enable_iam_database_authentication: bool,
|
208
|
+
?enable_cloudwatch_logs_exports: Array[::String],
|
209
|
+
?processor_features: Array[
|
210
|
+
{
|
211
|
+
name: ::String?,
|
212
|
+
value: ::String?
|
213
|
+
},
|
214
|
+
],
|
215
|
+
?use_default_processor_features: bool,
|
216
|
+
?db_parameter_group_name: ::String,
|
217
|
+
?deletion_protection: bool,
|
218
|
+
?enable_customer_owned_ip: bool,
|
219
|
+
?custom_iam_instance_profile: ::String,
|
220
|
+
?backup_target: ::String,
|
221
|
+
?network_type: ::String,
|
222
|
+
?storage_throughput: ::Integer,
|
223
|
+
?db_cluster_snapshot_identifier: ::String,
|
224
|
+
?allocated_storage: ::Integer,
|
225
|
+
?dedicated_log_volume: bool
|
226
|
+
) -> DBInstance
|
227
|
+
| (?Hash[Symbol, untyped]) -> DBInstance
|
228
|
+
|
229
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBSnapshot.html#subscribe_to-instance_method
|
230
|
+
def subscribe_to: (
|
231
|
+
subscription_name: ::String
|
232
|
+
) -> EventSubscription
|
233
|
+
| (?Hash[Symbol, untyped]) -> EventSubscription
|
234
|
+
|
235
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBSnapshot.html#unsubscribe_from-instance_method
|
236
|
+
def unsubscribe_from: (
|
237
|
+
subscription_name: ::String
|
238
|
+
) -> EventSubscription
|
239
|
+
| (?Hash[Symbol, untyped]) -> EventSubscription
|
240
|
+
|
241
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBSnapshot.html#attributes-instance_method
|
242
|
+
def attributes: (
|
243
|
+
) -> DBSnapshotAttribute::Collection
|
244
|
+
| (?Hash[Symbol, untyped]) -> DBSnapshotAttribute::Collection
|
245
|
+
|
246
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBSnapshot.html#events-instance_method
|
247
|
+
def events: (
|
248
|
+
?start_time: ::Time,
|
249
|
+
?end_time: ::Time,
|
250
|
+
?duration: ::Integer,
|
251
|
+
?event_categories: Array[::String],
|
252
|
+
?filters: Array[
|
253
|
+
{
|
254
|
+
name: ::String,
|
255
|
+
values: Array[::String]
|
256
|
+
},
|
257
|
+
]
|
258
|
+
) -> Event::Collection
|
259
|
+
| (?Hash[Symbol, untyped]) -> Event::Collection
|
260
|
+
|
261
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBSnapshot.html#instance-instance_method
|
262
|
+
def instance: () -> DBInstance
|
263
|
+
|
264
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBSnapshot.html#option_group-instance_method
|
265
|
+
def option_group: () -> OptionGroup?
|
266
|
+
|
267
|
+
class Collection < ::Aws::Resources::Collection[DBSnapshot]
|
268
|
+
end
|
269
|
+
end
|
270
|
+
end
|
271
|
+
end
|