aws-sdk-backupsearch 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/CHANGELOG.md +8 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-backupsearch/client.rb +1187 -0
- data/lib/aws-sdk-backupsearch/client_api.rb +600 -0
- data/lib/aws-sdk-backupsearch/customizations.rb +0 -0
- data/lib/aws-sdk-backupsearch/endpoint_parameters.rb +59 -0
- data/lib/aws-sdk-backupsearch/endpoint_provider.rb +35 -0
- data/lib/aws-sdk-backupsearch/endpoints.rb +20 -0
- data/lib/aws-sdk-backupsearch/errors.rb +222 -0
- data/lib/aws-sdk-backupsearch/plugins/endpoints.rb +77 -0
- data/lib/aws-sdk-backupsearch/resource.rb +26 -0
- data/lib/aws-sdk-backupsearch/types.rb +1468 -0
- data/lib/aws-sdk-backupsearch/waiters.rb +15 -0
- data/lib/aws-sdk-backupsearch.rb +62 -0
- data/sig/client.rbs +319 -0
- data/sig/errors.rbs +49 -0
- data/sig/resource.rbs +82 -0
- data/sig/types.rbs +375 -0
- data/sig/waiters.rbs +13 -0
- metadata +100 -0
@@ -0,0 +1,15 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# WARNING ABOUT GENERATED CODE
|
4
|
+
#
|
5
|
+
# This file is generated. See the contributing guide for more information:
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
|
+
#
|
8
|
+
# WARNING ABOUT GENERATED CODE
|
9
|
+
|
10
|
+
require 'aws-sdk-core/waiters'
|
11
|
+
|
12
|
+
module Aws::BackupSearch
|
13
|
+
module Waiters
|
14
|
+
end
|
15
|
+
end
|
@@ -0,0 +1,62 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# WARNING ABOUT GENERATED CODE
|
4
|
+
#
|
5
|
+
# This file is generated. See the contributing guide for more information:
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
|
+
#
|
8
|
+
# WARNING ABOUT GENERATED CODE
|
9
|
+
|
10
|
+
|
11
|
+
require 'aws-sdk-core'
|
12
|
+
require 'aws-sigv4'
|
13
|
+
|
14
|
+
Aws::Plugins::GlobalConfiguration.add_identifier(:backupsearch)
|
15
|
+
|
16
|
+
# This module provides support for AWS Backup Search. This module is available in the
|
17
|
+
# `aws-sdk-backupsearch` gem.
|
18
|
+
#
|
19
|
+
# # Client
|
20
|
+
#
|
21
|
+
# The {Client} class provides one method for each API operation. Operation
|
22
|
+
# methods each accept a hash of request parameters and return a response
|
23
|
+
# structure.
|
24
|
+
#
|
25
|
+
# backup_search = Aws::BackupSearch::Client.new
|
26
|
+
# resp = backup_search.get_search_job(params)
|
27
|
+
#
|
28
|
+
# See {Client} for more information.
|
29
|
+
#
|
30
|
+
# # Errors
|
31
|
+
#
|
32
|
+
# Errors returned from AWS Backup Search are defined in the
|
33
|
+
# {Errors} module and all extend {Errors::ServiceError}.
|
34
|
+
#
|
35
|
+
# begin
|
36
|
+
# # do stuff
|
37
|
+
# rescue Aws::BackupSearch::Errors::ServiceError
|
38
|
+
# # rescues all AWS Backup Search API errors
|
39
|
+
# end
|
40
|
+
#
|
41
|
+
# See {Errors} for more information.
|
42
|
+
#
|
43
|
+
# @!group service
|
44
|
+
module Aws::BackupSearch
|
45
|
+
autoload :Types, 'aws-sdk-backupsearch/types'
|
46
|
+
autoload :ClientApi, 'aws-sdk-backupsearch/client_api'
|
47
|
+
module Plugins
|
48
|
+
autoload :Endpoints, 'aws-sdk-backupsearch/plugins/endpoints.rb'
|
49
|
+
end
|
50
|
+
autoload :Client, 'aws-sdk-backupsearch/client'
|
51
|
+
autoload :Errors, 'aws-sdk-backupsearch/errors'
|
52
|
+
autoload :Waiters, 'aws-sdk-backupsearch/waiters'
|
53
|
+
autoload :Resource, 'aws-sdk-backupsearch/resource'
|
54
|
+
autoload :EndpointParameters, 'aws-sdk-backupsearch/endpoint_parameters'
|
55
|
+
autoload :EndpointProvider, 'aws-sdk-backupsearch/endpoint_provider'
|
56
|
+
autoload :Endpoints, 'aws-sdk-backupsearch/endpoints'
|
57
|
+
|
58
|
+
GEM_VERSION = '1.0.0'
|
59
|
+
|
60
|
+
end
|
61
|
+
|
62
|
+
require_relative 'aws-sdk-backupsearch/customizations'
|
data/sig/client.rbs
ADDED
@@ -0,0 +1,319 @@
|
|
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 BackupSearch
|
10
|
+
class Client < ::Seahorse::Client::Base
|
11
|
+
include ::Aws::ClientStubs
|
12
|
+
|
13
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BackupSearch/Client.html#initialize-instance_method
|
14
|
+
def self.new: (
|
15
|
+
?credentials: untyped,
|
16
|
+
?region: String,
|
17
|
+
?access_key_id: String,
|
18
|
+
?account_id: String,
|
19
|
+
?active_endpoint_cache: bool,
|
20
|
+
?adaptive_retry_wait_to_fill: bool,
|
21
|
+
?client_side_monitoring: bool,
|
22
|
+
?client_side_monitoring_client_id: String,
|
23
|
+
?client_side_monitoring_host: String,
|
24
|
+
?client_side_monitoring_port: Integer,
|
25
|
+
?client_side_monitoring_publisher: untyped,
|
26
|
+
?convert_params: bool,
|
27
|
+
?correct_clock_skew: bool,
|
28
|
+
?defaults_mode: String,
|
29
|
+
?disable_host_prefix_injection: bool,
|
30
|
+
?disable_request_compression: bool,
|
31
|
+
?endpoint: String,
|
32
|
+
?endpoint_cache_max_entries: Integer,
|
33
|
+
?endpoint_cache_max_threads: Integer,
|
34
|
+
?endpoint_cache_poll_interval: Integer,
|
35
|
+
?endpoint_discovery: bool,
|
36
|
+
?ignore_configured_endpoint_urls: bool,
|
37
|
+
?log_formatter: untyped,
|
38
|
+
?log_level: Symbol,
|
39
|
+
?logger: untyped,
|
40
|
+
?max_attempts: Integer,
|
41
|
+
?profile: String,
|
42
|
+
?request_min_compression_size_bytes: Integer,
|
43
|
+
?retry_backoff: Proc,
|
44
|
+
?retry_base_delay: Float,
|
45
|
+
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
46
|
+
?retry_limit: Integer,
|
47
|
+
?retry_max_delay: Integer,
|
48
|
+
?retry_mode: ("legacy" | "standard" | "adaptive"),
|
49
|
+
?sdk_ua_app_id: String,
|
50
|
+
?secret_access_key: String,
|
51
|
+
?session_token: String,
|
52
|
+
?sigv4a_signing_region_set: Array[String],
|
53
|
+
?stub_responses: untyped,
|
54
|
+
?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
|
55
|
+
?token_provider: untyped,
|
56
|
+
?use_dualstack_endpoint: bool,
|
57
|
+
?use_fips_endpoint: bool,
|
58
|
+
?validate_params: bool,
|
59
|
+
?endpoint_provider: untyped,
|
60
|
+
?http_proxy: String,
|
61
|
+
?http_open_timeout: (Float | Integer),
|
62
|
+
?http_read_timeout: (Float | Integer),
|
63
|
+
?http_idle_timeout: (Float | Integer),
|
64
|
+
?http_continue_timeout: (Float | Integer),
|
65
|
+
?ssl_timeout: (Float | Integer | nil),
|
66
|
+
?http_wire_trace: bool,
|
67
|
+
?ssl_verify_peer: bool,
|
68
|
+
?ssl_ca_bundle: String,
|
69
|
+
?ssl_ca_directory: String,
|
70
|
+
?ssl_ca_store: String,
|
71
|
+
?on_chunk_received: Proc,
|
72
|
+
?on_chunk_sent: Proc,
|
73
|
+
?raise_response_errors: bool
|
74
|
+
) -> instance
|
75
|
+
| (?Hash[Symbol, untyped]) -> instance
|
76
|
+
|
77
|
+
|
78
|
+
interface _GetSearchJobResponseSuccess
|
79
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetSearchJobOutput]
|
80
|
+
def name: () -> ::String
|
81
|
+
def search_scope_summary: () -> Types::SearchScopeSummary
|
82
|
+
def current_search_progress: () -> Types::CurrentSearchProgress
|
83
|
+
def status_message: () -> ::String
|
84
|
+
def encryption_key_arn: () -> ::String
|
85
|
+
def completion_time: () -> ::Time
|
86
|
+
def status: () -> ("RUNNING" | "COMPLETED" | "STOPPING" | "STOPPED" | "FAILED")
|
87
|
+
def search_scope: () -> Types::SearchScope
|
88
|
+
def item_filters: () -> Types::ItemFilters
|
89
|
+
def creation_time: () -> ::Time
|
90
|
+
def search_job_identifier: () -> ::String
|
91
|
+
def search_job_arn: () -> ::String
|
92
|
+
end
|
93
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BackupSearch/Client.html#get_search_job-instance_method
|
94
|
+
def get_search_job: (
|
95
|
+
search_job_identifier: ::String
|
96
|
+
) -> _GetSearchJobResponseSuccess
|
97
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetSearchJobResponseSuccess
|
98
|
+
|
99
|
+
interface _GetSearchResultExportJobResponseSuccess
|
100
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetSearchResultExportJobOutput]
|
101
|
+
def export_job_identifier: () -> ::String
|
102
|
+
def export_job_arn: () -> ::String
|
103
|
+
def status: () -> ("RUNNING" | "FAILED" | "COMPLETED")
|
104
|
+
def creation_time: () -> ::Time
|
105
|
+
def completion_time: () -> ::Time
|
106
|
+
def status_message: () -> ::String
|
107
|
+
def export_specification: () -> Types::ExportSpecification
|
108
|
+
def search_job_arn: () -> ::String
|
109
|
+
end
|
110
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BackupSearch/Client.html#get_search_result_export_job-instance_method
|
111
|
+
def get_search_result_export_job: (
|
112
|
+
export_job_identifier: ::String
|
113
|
+
) -> _GetSearchResultExportJobResponseSuccess
|
114
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetSearchResultExportJobResponseSuccess
|
115
|
+
|
116
|
+
interface _ListSearchJobBackupsResponseSuccess
|
117
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListSearchJobBackupsOutput]
|
118
|
+
def results: () -> ::Array[Types::SearchJobBackupsResult]
|
119
|
+
def next_token: () -> ::String
|
120
|
+
end
|
121
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BackupSearch/Client.html#list_search_job_backups-instance_method
|
122
|
+
def list_search_job_backups: (
|
123
|
+
search_job_identifier: ::String,
|
124
|
+
?next_token: ::String,
|
125
|
+
?max_results: ::Integer
|
126
|
+
) -> _ListSearchJobBackupsResponseSuccess
|
127
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListSearchJobBackupsResponseSuccess
|
128
|
+
|
129
|
+
interface _ListSearchJobResultsResponseSuccess
|
130
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListSearchJobResultsOutput]
|
131
|
+
def results: () -> ::Array[Types::ResultItem]
|
132
|
+
def next_token: () -> ::String
|
133
|
+
end
|
134
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BackupSearch/Client.html#list_search_job_results-instance_method
|
135
|
+
def list_search_job_results: (
|
136
|
+
search_job_identifier: ::String,
|
137
|
+
?next_token: ::String,
|
138
|
+
?max_results: ::Integer
|
139
|
+
) -> _ListSearchJobResultsResponseSuccess
|
140
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListSearchJobResultsResponseSuccess
|
141
|
+
|
142
|
+
interface _ListSearchJobsResponseSuccess
|
143
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListSearchJobsOutput]
|
144
|
+
def search_jobs: () -> ::Array[Types::SearchJobSummary]
|
145
|
+
def next_token: () -> ::String
|
146
|
+
end
|
147
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BackupSearch/Client.html#list_search_jobs-instance_method
|
148
|
+
def list_search_jobs: (
|
149
|
+
?by_status: ("RUNNING" | "COMPLETED" | "STOPPING" | "STOPPED" | "FAILED"),
|
150
|
+
?next_token: ::String,
|
151
|
+
?max_results: ::Integer
|
152
|
+
) -> _ListSearchJobsResponseSuccess
|
153
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListSearchJobsResponseSuccess
|
154
|
+
|
155
|
+
interface _ListSearchResultExportJobsResponseSuccess
|
156
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListSearchResultExportJobsOutput]
|
157
|
+
def export_jobs: () -> ::Array[Types::ExportJobSummary]
|
158
|
+
def next_token: () -> ::String
|
159
|
+
end
|
160
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BackupSearch/Client.html#list_search_result_export_jobs-instance_method
|
161
|
+
def list_search_result_export_jobs: (
|
162
|
+
?status: ("RUNNING" | "FAILED" | "COMPLETED"),
|
163
|
+
?search_job_identifier: ::String,
|
164
|
+
?next_token: ::String,
|
165
|
+
?max_results: ::Integer
|
166
|
+
) -> _ListSearchResultExportJobsResponseSuccess
|
167
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListSearchResultExportJobsResponseSuccess
|
168
|
+
|
169
|
+
interface _ListTagsForResourceResponseSuccess
|
170
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
|
171
|
+
def tags: () -> ::Hash[::String, ::String]
|
172
|
+
end
|
173
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BackupSearch/Client.html#list_tags_for_resource-instance_method
|
174
|
+
def list_tags_for_resource: (
|
175
|
+
resource_arn: ::String
|
176
|
+
) -> _ListTagsForResourceResponseSuccess
|
177
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
|
178
|
+
|
179
|
+
interface _StartSearchJobResponseSuccess
|
180
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::StartSearchJobOutput]
|
181
|
+
def search_job_arn: () -> ::String
|
182
|
+
def creation_time: () -> ::Time
|
183
|
+
def search_job_identifier: () -> ::String
|
184
|
+
end
|
185
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BackupSearch/Client.html#start_search_job-instance_method
|
186
|
+
def start_search_job: (
|
187
|
+
?tags: Hash[::String, ::String],
|
188
|
+
?name: ::String,
|
189
|
+
?encryption_key_arn: ::String,
|
190
|
+
?client_token: ::String,
|
191
|
+
search_scope: {
|
192
|
+
backup_resource_types: Array[("S3" | "EBS")],
|
193
|
+
backup_resource_creation_time: {
|
194
|
+
created_after: ::Time?,
|
195
|
+
created_before: ::Time?
|
196
|
+
}?,
|
197
|
+
source_resource_arns: Array[::String]?,
|
198
|
+
backup_resource_arns: Array[::String]?,
|
199
|
+
backup_resource_tags: Hash[::String, ::String]?
|
200
|
+
},
|
201
|
+
?item_filters: {
|
202
|
+
s3_item_filters: Array[
|
203
|
+
{
|
204
|
+
object_keys: Array[
|
205
|
+
{
|
206
|
+
value: ::String,
|
207
|
+
operator: ("EQUALS_TO" | "NOT_EQUALS_TO" | "CONTAINS" | "DOES_NOT_CONTAIN" | "BEGINS_WITH" | "ENDS_WITH" | "DOES_NOT_BEGIN_WITH" | "DOES_NOT_END_WITH")?
|
208
|
+
},
|
209
|
+
]?,
|
210
|
+
sizes: Array[
|
211
|
+
{
|
212
|
+
value: ::Integer,
|
213
|
+
operator: ("EQUALS_TO" | "NOT_EQUALS_TO" | "LESS_THAN_EQUAL_TO" | "GREATER_THAN_EQUAL_TO")?
|
214
|
+
},
|
215
|
+
]?,
|
216
|
+
creation_times: Array[
|
217
|
+
{
|
218
|
+
value: ::Time,
|
219
|
+
operator: ("EQUALS_TO" | "NOT_EQUALS_TO" | "LESS_THAN_EQUAL_TO" | "GREATER_THAN_EQUAL_TO")?
|
220
|
+
},
|
221
|
+
]?,
|
222
|
+
version_ids: Array[
|
223
|
+
{
|
224
|
+
value: ::String,
|
225
|
+
operator: ("EQUALS_TO" | "NOT_EQUALS_TO" | "CONTAINS" | "DOES_NOT_CONTAIN" | "BEGINS_WITH" | "ENDS_WITH" | "DOES_NOT_BEGIN_WITH" | "DOES_NOT_END_WITH")?
|
226
|
+
},
|
227
|
+
]?,
|
228
|
+
etags: Array[
|
229
|
+
{
|
230
|
+
value: ::String,
|
231
|
+
operator: ("EQUALS_TO" | "NOT_EQUALS_TO" | "CONTAINS" | "DOES_NOT_CONTAIN" | "BEGINS_WITH" | "ENDS_WITH" | "DOES_NOT_BEGIN_WITH" | "DOES_NOT_END_WITH")?
|
232
|
+
},
|
233
|
+
]?
|
234
|
+
},
|
235
|
+
]?,
|
236
|
+
ebs_item_filters: Array[
|
237
|
+
{
|
238
|
+
file_paths: Array[
|
239
|
+
{
|
240
|
+
value: ::String,
|
241
|
+
operator: ("EQUALS_TO" | "NOT_EQUALS_TO" | "CONTAINS" | "DOES_NOT_CONTAIN" | "BEGINS_WITH" | "ENDS_WITH" | "DOES_NOT_BEGIN_WITH" | "DOES_NOT_END_WITH")?
|
242
|
+
},
|
243
|
+
]?,
|
244
|
+
sizes: Array[
|
245
|
+
{
|
246
|
+
value: ::Integer,
|
247
|
+
operator: ("EQUALS_TO" | "NOT_EQUALS_TO" | "LESS_THAN_EQUAL_TO" | "GREATER_THAN_EQUAL_TO")?
|
248
|
+
},
|
249
|
+
]?,
|
250
|
+
creation_times: Array[
|
251
|
+
{
|
252
|
+
value: ::Time,
|
253
|
+
operator: ("EQUALS_TO" | "NOT_EQUALS_TO" | "LESS_THAN_EQUAL_TO" | "GREATER_THAN_EQUAL_TO")?
|
254
|
+
},
|
255
|
+
]?,
|
256
|
+
last_modification_times: Array[
|
257
|
+
{
|
258
|
+
value: ::Time,
|
259
|
+
operator: ("EQUALS_TO" | "NOT_EQUALS_TO" | "LESS_THAN_EQUAL_TO" | "GREATER_THAN_EQUAL_TO")?
|
260
|
+
},
|
261
|
+
]?
|
262
|
+
},
|
263
|
+
]?
|
264
|
+
}
|
265
|
+
) -> _StartSearchJobResponseSuccess
|
266
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartSearchJobResponseSuccess
|
267
|
+
|
268
|
+
interface _StartSearchResultExportJobResponseSuccess
|
269
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::StartSearchResultExportJobOutput]
|
270
|
+
def export_job_arn: () -> ::String
|
271
|
+
def export_job_identifier: () -> ::String
|
272
|
+
end
|
273
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BackupSearch/Client.html#start_search_result_export_job-instance_method
|
274
|
+
def start_search_result_export_job: (
|
275
|
+
search_job_identifier: ::String,
|
276
|
+
export_specification: {
|
277
|
+
s3_export_specification: {
|
278
|
+
destination_bucket: ::String,
|
279
|
+
destination_prefix: ::String?
|
280
|
+
}?
|
281
|
+
},
|
282
|
+
?client_token: ::String,
|
283
|
+
?tags: Hash[::String, ::String],
|
284
|
+
?role_arn: ::String
|
285
|
+
) -> _StartSearchResultExportJobResponseSuccess
|
286
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartSearchResultExportJobResponseSuccess
|
287
|
+
|
288
|
+
interface _StopSearchJobResponseSuccess
|
289
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::StopSearchJobOutput]
|
290
|
+
end
|
291
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BackupSearch/Client.html#stop_search_job-instance_method
|
292
|
+
def stop_search_job: (
|
293
|
+
search_job_identifier: ::String
|
294
|
+
) -> _StopSearchJobResponseSuccess
|
295
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StopSearchJobResponseSuccess
|
296
|
+
|
297
|
+
interface _TagResourceResponseSuccess
|
298
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse]
|
299
|
+
end
|
300
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BackupSearch/Client.html#tag_resource-instance_method
|
301
|
+
def tag_resource: (
|
302
|
+
resource_arn: ::String,
|
303
|
+
tags: Hash[::String, ::String]
|
304
|
+
) -> _TagResourceResponseSuccess
|
305
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
|
306
|
+
|
307
|
+
interface _UntagResourceResponseSuccess
|
308
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceResponse]
|
309
|
+
end
|
310
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BackupSearch/Client.html#untag_resource-instance_method
|
311
|
+
def untag_resource: (
|
312
|
+
resource_arn: ::String,
|
313
|
+
tag_keys: Array[::String]
|
314
|
+
) -> _UntagResourceResponseSuccess
|
315
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
|
316
|
+
end
|
317
|
+
end
|
318
|
+
end
|
319
|
+
|
data/sig/errors.rbs
ADDED
@@ -0,0 +1,49 @@
|
|
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 BackupSearch
|
10
|
+
module Errors
|
11
|
+
class ServiceError < ::Aws::Errors::ServiceError
|
12
|
+
end
|
13
|
+
|
14
|
+
class AccessDeniedException < ::Aws::Errors::ServiceError
|
15
|
+
def message: () -> ::String
|
16
|
+
end
|
17
|
+
class ConflictException < ::Aws::Errors::ServiceError
|
18
|
+
def message: () -> ::String
|
19
|
+
def resource_id: () -> ::String
|
20
|
+
def resource_type: () -> ::String
|
21
|
+
end
|
22
|
+
class InternalServerException < ::Aws::Errors::ServiceError
|
23
|
+
def message: () -> ::String
|
24
|
+
def retry_after_seconds: () -> ::String
|
25
|
+
end
|
26
|
+
class ResourceNotFoundException < ::Aws::Errors::ServiceError
|
27
|
+
def message: () -> ::String
|
28
|
+
def resource_id: () -> ::String
|
29
|
+
def resource_type: () -> ::String
|
30
|
+
end
|
31
|
+
class ServiceQuotaExceededException < ::Aws::Errors::ServiceError
|
32
|
+
def message: () -> ::String
|
33
|
+
def resource_id: () -> ::String
|
34
|
+
def resource_type: () -> ::String
|
35
|
+
def service_code: () -> ::String
|
36
|
+
def quota_code: () -> ::String
|
37
|
+
end
|
38
|
+
class ThrottlingException < ::Aws::Errors::ServiceError
|
39
|
+
def message: () -> ::String
|
40
|
+
def service_code: () -> ::String
|
41
|
+
def quota_code: () -> ::String
|
42
|
+
def retry_after_seconds: () -> ::String
|
43
|
+
end
|
44
|
+
class ValidationException < ::Aws::Errors::ServiceError
|
45
|
+
def message: () -> ::String
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
data/sig/resource.rbs
ADDED
@@ -0,0 +1,82 @@
|
|
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 BackupSearch
|
10
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BackupSearch/Resource.html
|
11
|
+
class Resource
|
12
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BackupSearch/Resource.html#initialize-instance_method
|
13
|
+
def initialize: (
|
14
|
+
?client: Client,
|
15
|
+
?credentials: untyped,
|
16
|
+
?region: String,
|
17
|
+
?access_key_id: String,
|
18
|
+
?account_id: String,
|
19
|
+
?active_endpoint_cache: bool,
|
20
|
+
?adaptive_retry_wait_to_fill: bool,
|
21
|
+
?client_side_monitoring: bool,
|
22
|
+
?client_side_monitoring_client_id: String,
|
23
|
+
?client_side_monitoring_host: String,
|
24
|
+
?client_side_monitoring_port: Integer,
|
25
|
+
?client_side_monitoring_publisher: untyped,
|
26
|
+
?convert_params: bool,
|
27
|
+
?correct_clock_skew: bool,
|
28
|
+
?defaults_mode: String,
|
29
|
+
?disable_host_prefix_injection: bool,
|
30
|
+
?disable_request_compression: bool,
|
31
|
+
?endpoint: String,
|
32
|
+
?endpoint_cache_max_entries: Integer,
|
33
|
+
?endpoint_cache_max_threads: Integer,
|
34
|
+
?endpoint_cache_poll_interval: Integer,
|
35
|
+
?endpoint_discovery: bool,
|
36
|
+
?ignore_configured_endpoint_urls: bool,
|
37
|
+
?log_formatter: untyped,
|
38
|
+
?log_level: Symbol,
|
39
|
+
?logger: untyped,
|
40
|
+
?max_attempts: Integer,
|
41
|
+
?profile: String,
|
42
|
+
?request_min_compression_size_bytes: Integer,
|
43
|
+
?retry_backoff: Proc,
|
44
|
+
?retry_base_delay: Float,
|
45
|
+
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
46
|
+
?retry_limit: Integer,
|
47
|
+
?retry_max_delay: Integer,
|
48
|
+
?retry_mode: ("legacy" | "standard" | "adaptive"),
|
49
|
+
?sdk_ua_app_id: String,
|
50
|
+
?secret_access_key: String,
|
51
|
+
?session_token: String,
|
52
|
+
?sigv4a_signing_region_set: Array[String],
|
53
|
+
?stub_responses: untyped,
|
54
|
+
?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
|
55
|
+
?token_provider: untyped,
|
56
|
+
?use_dualstack_endpoint: bool,
|
57
|
+
?use_fips_endpoint: bool,
|
58
|
+
?validate_params: bool,
|
59
|
+
?endpoint_provider: untyped,
|
60
|
+
?http_proxy: String,
|
61
|
+
?http_open_timeout: (Float | Integer),
|
62
|
+
?http_read_timeout: (Float | Integer),
|
63
|
+
?http_idle_timeout: (Float | Integer),
|
64
|
+
?http_continue_timeout: (Float | Integer),
|
65
|
+
?ssl_timeout: (Float | Integer | nil),
|
66
|
+
?http_wire_trace: bool,
|
67
|
+
?ssl_verify_peer: bool,
|
68
|
+
?ssl_ca_bundle: String,
|
69
|
+
?ssl_ca_directory: String,
|
70
|
+
?ssl_ca_store: String,
|
71
|
+
?on_chunk_received: Proc,
|
72
|
+
?on_chunk_sent: Proc,
|
73
|
+
?raise_response_errors: bool
|
74
|
+
) -> void
|
75
|
+
| (?Hash[Symbol, untyped]) -> void
|
76
|
+
|
77
|
+
def client: () -> Client
|
78
|
+
|
79
|
+
|
80
|
+
end
|
81
|
+
end
|
82
|
+
end
|