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,600 @@
|
|
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
|
+
module Aws::BackupSearch
|
12
|
+
# @api private
|
13
|
+
module ClientApi
|
14
|
+
|
15
|
+
include Seahorse::Model
|
16
|
+
|
17
|
+
AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
|
18
|
+
BackupCreationTimeFilter = Shapes::StructureShape.new(name: 'BackupCreationTimeFilter')
|
19
|
+
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
20
|
+
CurrentSearchProgress = Shapes::StructureShape.new(name: 'CurrentSearchProgress')
|
21
|
+
EBSItemFilter = Shapes::StructureShape.new(name: 'EBSItemFilter')
|
22
|
+
EBSItemFilters = Shapes::ListShape.new(name: 'EBSItemFilters')
|
23
|
+
EBSResultItem = Shapes::StructureShape.new(name: 'EBSResultItem')
|
24
|
+
EncryptionKeyArn = Shapes::StringShape.new(name: 'EncryptionKeyArn')
|
25
|
+
ExportJobArn = Shapes::StringShape.new(name: 'ExportJobArn')
|
26
|
+
ExportJobStatus = Shapes::StringShape.new(name: 'ExportJobStatus')
|
27
|
+
ExportJobSummaries = Shapes::ListShape.new(name: 'ExportJobSummaries')
|
28
|
+
ExportJobSummary = Shapes::StructureShape.new(name: 'ExportJobSummary')
|
29
|
+
ExportSpecification = Shapes::UnionShape.new(name: 'ExportSpecification')
|
30
|
+
FilePath = Shapes::StringShape.new(name: 'FilePath')
|
31
|
+
GenericId = Shapes::StringShape.new(name: 'GenericId')
|
32
|
+
GetSearchJobInput = Shapes::StructureShape.new(name: 'GetSearchJobInput')
|
33
|
+
GetSearchJobOutput = Shapes::StructureShape.new(name: 'GetSearchJobOutput')
|
34
|
+
GetSearchResultExportJobInput = Shapes::StructureShape.new(name: 'GetSearchResultExportJobInput')
|
35
|
+
GetSearchResultExportJobOutput = Shapes::StructureShape.new(name: 'GetSearchResultExportJobOutput')
|
36
|
+
IamRoleArn = Shapes::StringShape.new(name: 'IamRoleArn')
|
37
|
+
Integer = Shapes::IntegerShape.new(name: 'Integer')
|
38
|
+
InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
|
39
|
+
ItemFilters = Shapes::StructureShape.new(name: 'ItemFilters')
|
40
|
+
ListSearchJobBackupsInput = Shapes::StructureShape.new(name: 'ListSearchJobBackupsInput')
|
41
|
+
ListSearchJobBackupsInputMaxResultsInteger = Shapes::IntegerShape.new(name: 'ListSearchJobBackupsInputMaxResultsInteger')
|
42
|
+
ListSearchJobBackupsOutput = Shapes::StructureShape.new(name: 'ListSearchJobBackupsOutput')
|
43
|
+
ListSearchJobResultsInput = Shapes::StructureShape.new(name: 'ListSearchJobResultsInput')
|
44
|
+
ListSearchJobResultsInputMaxResultsInteger = Shapes::IntegerShape.new(name: 'ListSearchJobResultsInputMaxResultsInteger')
|
45
|
+
ListSearchJobResultsOutput = Shapes::StructureShape.new(name: 'ListSearchJobResultsOutput')
|
46
|
+
ListSearchJobsInput = Shapes::StructureShape.new(name: 'ListSearchJobsInput')
|
47
|
+
ListSearchJobsInputMaxResultsInteger = Shapes::IntegerShape.new(name: 'ListSearchJobsInputMaxResultsInteger')
|
48
|
+
ListSearchJobsOutput = Shapes::StructureShape.new(name: 'ListSearchJobsOutput')
|
49
|
+
ListSearchResultExportJobsInput = Shapes::StructureShape.new(name: 'ListSearchResultExportJobsInput')
|
50
|
+
ListSearchResultExportJobsInputMaxResultsInteger = Shapes::IntegerShape.new(name: 'ListSearchResultExportJobsInputMaxResultsInteger')
|
51
|
+
ListSearchResultExportJobsOutput = Shapes::StructureShape.new(name: 'ListSearchResultExportJobsOutput')
|
52
|
+
ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
|
53
|
+
ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
|
54
|
+
Long = Shapes::IntegerShape.new(name: 'Long')
|
55
|
+
LongCondition = Shapes::StructureShape.new(name: 'LongCondition')
|
56
|
+
LongConditionList = Shapes::ListShape.new(name: 'LongConditionList')
|
57
|
+
LongConditionOperator = Shapes::StringShape.new(name: 'LongConditionOperator')
|
58
|
+
ObjectKey = Shapes::StringShape.new(name: 'ObjectKey')
|
59
|
+
RecoveryPoint = Shapes::StringShape.new(name: 'RecoveryPoint')
|
60
|
+
RecoveryPointArnList = Shapes::ListShape.new(name: 'RecoveryPointArnList')
|
61
|
+
ResourceArnList = Shapes::ListShape.new(name: 'ResourceArnList')
|
62
|
+
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
63
|
+
ResourceType = Shapes::StringShape.new(name: 'ResourceType')
|
64
|
+
ResourceTypeList = Shapes::ListShape.new(name: 'ResourceTypeList')
|
65
|
+
ResultItem = Shapes::UnionShape.new(name: 'ResultItem')
|
66
|
+
Results = Shapes::ListShape.new(name: 'Results')
|
67
|
+
S3ExportSpecification = Shapes::StructureShape.new(name: 'S3ExportSpecification')
|
68
|
+
S3ItemFilter = Shapes::StructureShape.new(name: 'S3ItemFilter')
|
69
|
+
S3ItemFilters = Shapes::ListShape.new(name: 'S3ItemFilters')
|
70
|
+
S3ResultItem = Shapes::StructureShape.new(name: 'S3ResultItem')
|
71
|
+
SearchJobArn = Shapes::StringShape.new(name: 'SearchJobArn')
|
72
|
+
SearchJobBackupsResult = Shapes::StructureShape.new(name: 'SearchJobBackupsResult')
|
73
|
+
SearchJobBackupsResults = Shapes::ListShape.new(name: 'SearchJobBackupsResults')
|
74
|
+
SearchJobState = Shapes::StringShape.new(name: 'SearchJobState')
|
75
|
+
SearchJobSummary = Shapes::StructureShape.new(name: 'SearchJobSummary')
|
76
|
+
SearchJobs = Shapes::ListShape.new(name: 'SearchJobs')
|
77
|
+
SearchScope = Shapes::StructureShape.new(name: 'SearchScope')
|
78
|
+
SearchScopeSummary = Shapes::StructureShape.new(name: 'SearchScopeSummary')
|
79
|
+
ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
|
80
|
+
StartSearchJobInput = Shapes::StructureShape.new(name: 'StartSearchJobInput')
|
81
|
+
StartSearchJobInputNameString = Shapes::StringShape.new(name: 'StartSearchJobInputNameString')
|
82
|
+
StartSearchJobOutput = Shapes::StructureShape.new(name: 'StartSearchJobOutput')
|
83
|
+
StartSearchResultExportJobInput = Shapes::StructureShape.new(name: 'StartSearchResultExportJobInput')
|
84
|
+
StartSearchResultExportJobOutput = Shapes::StructureShape.new(name: 'StartSearchResultExportJobOutput')
|
85
|
+
StopSearchJobInput = Shapes::StructureShape.new(name: 'StopSearchJobInput')
|
86
|
+
StopSearchJobOutput = Shapes::StructureShape.new(name: 'StopSearchJobOutput')
|
87
|
+
String = Shapes::StringShape.new(name: 'String')
|
88
|
+
StringCondition = Shapes::StructureShape.new(name: 'StringCondition')
|
89
|
+
StringConditionList = Shapes::ListShape.new(name: 'StringConditionList')
|
90
|
+
StringConditionOperator = Shapes::StringShape.new(name: 'StringConditionOperator')
|
91
|
+
TagKeys = Shapes::ListShape.new(name: 'TagKeys')
|
92
|
+
TagMap = Shapes::MapShape.new(name: 'TagMap')
|
93
|
+
TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
|
94
|
+
TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
|
95
|
+
ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
|
96
|
+
TimeCondition = Shapes::StructureShape.new(name: 'TimeCondition')
|
97
|
+
TimeConditionList = Shapes::ListShape.new(name: 'TimeConditionList')
|
98
|
+
TimeConditionOperator = Shapes::StringShape.new(name: 'TimeConditionOperator')
|
99
|
+
Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
|
100
|
+
UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
|
101
|
+
UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
|
102
|
+
ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
|
103
|
+
|
104
|
+
AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
105
|
+
AccessDeniedException.struct_class = Types::AccessDeniedException
|
106
|
+
|
107
|
+
BackupCreationTimeFilter.add_member(:created_after, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedAfter"))
|
108
|
+
BackupCreationTimeFilter.add_member(:created_before, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedBefore"))
|
109
|
+
BackupCreationTimeFilter.struct_class = Types::BackupCreationTimeFilter
|
110
|
+
|
111
|
+
ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
112
|
+
ConflictException.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceId"))
|
113
|
+
ConflictException.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceType"))
|
114
|
+
ConflictException.struct_class = Types::ConflictException
|
115
|
+
|
116
|
+
CurrentSearchProgress.add_member(:recovery_points_scanned_count, Shapes::ShapeRef.new(shape: Integer, location_name: "RecoveryPointsScannedCount"))
|
117
|
+
CurrentSearchProgress.add_member(:items_scanned_count, Shapes::ShapeRef.new(shape: Long, location_name: "ItemsScannedCount"))
|
118
|
+
CurrentSearchProgress.add_member(:items_matched_count, Shapes::ShapeRef.new(shape: Long, location_name: "ItemsMatchedCount"))
|
119
|
+
CurrentSearchProgress.struct_class = Types::CurrentSearchProgress
|
120
|
+
|
121
|
+
EBSItemFilter.add_member(:file_paths, Shapes::ShapeRef.new(shape: StringConditionList, location_name: "FilePaths"))
|
122
|
+
EBSItemFilter.add_member(:sizes, Shapes::ShapeRef.new(shape: LongConditionList, location_name: "Sizes"))
|
123
|
+
EBSItemFilter.add_member(:creation_times, Shapes::ShapeRef.new(shape: TimeConditionList, location_name: "CreationTimes"))
|
124
|
+
EBSItemFilter.add_member(:last_modification_times, Shapes::ShapeRef.new(shape: TimeConditionList, location_name: "LastModificationTimes"))
|
125
|
+
EBSItemFilter.struct_class = Types::EBSItemFilter
|
126
|
+
|
127
|
+
EBSItemFilters.member = Shapes::ShapeRef.new(shape: EBSItemFilter)
|
128
|
+
|
129
|
+
EBSResultItem.add_member(:backup_resource_arn, Shapes::ShapeRef.new(shape: String, location_name: "BackupResourceArn"))
|
130
|
+
EBSResultItem.add_member(:source_resource_arn, Shapes::ShapeRef.new(shape: String, location_name: "SourceResourceArn"))
|
131
|
+
EBSResultItem.add_member(:backup_vault_name, Shapes::ShapeRef.new(shape: String, location_name: "BackupVaultName"))
|
132
|
+
EBSResultItem.add_member(:file_system_identifier, Shapes::ShapeRef.new(shape: String, location_name: "FileSystemIdentifier"))
|
133
|
+
EBSResultItem.add_member(:file_path, Shapes::ShapeRef.new(shape: FilePath, location_name: "FilePath"))
|
134
|
+
EBSResultItem.add_member(:file_size, Shapes::ShapeRef.new(shape: Long, location_name: "FileSize"))
|
135
|
+
EBSResultItem.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationTime"))
|
136
|
+
EBSResultItem.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastModifiedTime"))
|
137
|
+
EBSResultItem.struct_class = Types::EBSResultItem
|
138
|
+
|
139
|
+
ExportJobSummaries.member = Shapes::ShapeRef.new(shape: ExportJobSummary)
|
140
|
+
|
141
|
+
ExportJobSummary.add_member(:export_job_identifier, Shapes::ShapeRef.new(shape: GenericId, required: true, location_name: "ExportJobIdentifier"))
|
142
|
+
ExportJobSummary.add_member(:export_job_arn, Shapes::ShapeRef.new(shape: ExportJobArn, location_name: "ExportJobArn"))
|
143
|
+
ExportJobSummary.add_member(:status, Shapes::ShapeRef.new(shape: ExportJobStatus, location_name: "Status"))
|
144
|
+
ExportJobSummary.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationTime"))
|
145
|
+
ExportJobSummary.add_member(:completion_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CompletionTime"))
|
146
|
+
ExportJobSummary.add_member(:status_message, Shapes::ShapeRef.new(shape: String, location_name: "StatusMessage"))
|
147
|
+
ExportJobSummary.add_member(:search_job_arn, Shapes::ShapeRef.new(shape: SearchJobArn, location_name: "SearchJobArn"))
|
148
|
+
ExportJobSummary.struct_class = Types::ExportJobSummary
|
149
|
+
|
150
|
+
ExportSpecification.add_member(:s3_export_specification, Shapes::ShapeRef.new(shape: S3ExportSpecification, location_name: "s3ExportSpecification"))
|
151
|
+
ExportSpecification.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
152
|
+
ExportSpecification.add_member_subclass(:s3_export_specification, Types::ExportSpecification::S3ExportSpecification)
|
153
|
+
ExportSpecification.add_member_subclass(:unknown, Types::ExportSpecification::Unknown)
|
154
|
+
ExportSpecification.struct_class = Types::ExportSpecification
|
155
|
+
|
156
|
+
GetSearchJobInput.add_member(:search_job_identifier, Shapes::ShapeRef.new(shape: GenericId, required: true, location: "uri", location_name: "SearchJobIdentifier"))
|
157
|
+
GetSearchJobInput.struct_class = Types::GetSearchJobInput
|
158
|
+
|
159
|
+
GetSearchJobOutput.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
|
160
|
+
GetSearchJobOutput.add_member(:search_scope_summary, Shapes::ShapeRef.new(shape: SearchScopeSummary, location_name: "SearchScopeSummary"))
|
161
|
+
GetSearchJobOutput.add_member(:current_search_progress, Shapes::ShapeRef.new(shape: CurrentSearchProgress, location_name: "CurrentSearchProgress"))
|
162
|
+
GetSearchJobOutput.add_member(:status_message, Shapes::ShapeRef.new(shape: String, location_name: "StatusMessage"))
|
163
|
+
GetSearchJobOutput.add_member(:encryption_key_arn, Shapes::ShapeRef.new(shape: EncryptionKeyArn, location_name: "EncryptionKeyArn"))
|
164
|
+
GetSearchJobOutput.add_member(:completion_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CompletionTime"))
|
165
|
+
GetSearchJobOutput.add_member(:status, Shapes::ShapeRef.new(shape: SearchJobState, required: true, location_name: "Status"))
|
166
|
+
GetSearchJobOutput.add_member(:search_scope, Shapes::ShapeRef.new(shape: SearchScope, required: true, location_name: "SearchScope"))
|
167
|
+
GetSearchJobOutput.add_member(:item_filters, Shapes::ShapeRef.new(shape: ItemFilters, required: true, location_name: "ItemFilters"))
|
168
|
+
GetSearchJobOutput.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreationTime"))
|
169
|
+
GetSearchJobOutput.add_member(:search_job_identifier, Shapes::ShapeRef.new(shape: GenericId, required: true, location_name: "SearchJobIdentifier"))
|
170
|
+
GetSearchJobOutput.add_member(:search_job_arn, Shapes::ShapeRef.new(shape: SearchJobArn, required: true, location_name: "SearchJobArn"))
|
171
|
+
GetSearchJobOutput.struct_class = Types::GetSearchJobOutput
|
172
|
+
|
173
|
+
GetSearchResultExportJobInput.add_member(:export_job_identifier, Shapes::ShapeRef.new(shape: GenericId, required: true, location: "uri", location_name: "ExportJobIdentifier"))
|
174
|
+
GetSearchResultExportJobInput.struct_class = Types::GetSearchResultExportJobInput
|
175
|
+
|
176
|
+
GetSearchResultExportJobOutput.add_member(:export_job_identifier, Shapes::ShapeRef.new(shape: GenericId, required: true, location_name: "ExportJobIdentifier"))
|
177
|
+
GetSearchResultExportJobOutput.add_member(:export_job_arn, Shapes::ShapeRef.new(shape: ExportJobArn, location_name: "ExportJobArn"))
|
178
|
+
GetSearchResultExportJobOutput.add_member(:status, Shapes::ShapeRef.new(shape: ExportJobStatus, location_name: "Status"))
|
179
|
+
GetSearchResultExportJobOutput.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationTime"))
|
180
|
+
GetSearchResultExportJobOutput.add_member(:completion_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CompletionTime"))
|
181
|
+
GetSearchResultExportJobOutput.add_member(:status_message, Shapes::ShapeRef.new(shape: String, location_name: "StatusMessage"))
|
182
|
+
GetSearchResultExportJobOutput.add_member(:export_specification, Shapes::ShapeRef.new(shape: ExportSpecification, location_name: "ExportSpecification"))
|
183
|
+
GetSearchResultExportJobOutput.add_member(:search_job_arn, Shapes::ShapeRef.new(shape: SearchJobArn, location_name: "SearchJobArn"))
|
184
|
+
GetSearchResultExportJobOutput.struct_class = Types::GetSearchResultExportJobOutput
|
185
|
+
|
186
|
+
InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
187
|
+
InternalServerException.add_member(:retry_after_seconds, Shapes::ShapeRef.new(shape: Integer, location: "header", location_name: "Retry-After"))
|
188
|
+
InternalServerException.struct_class = Types::InternalServerException
|
189
|
+
|
190
|
+
ItemFilters.add_member(:s3_item_filters, Shapes::ShapeRef.new(shape: S3ItemFilters, location_name: "S3ItemFilters"))
|
191
|
+
ItemFilters.add_member(:ebs_item_filters, Shapes::ShapeRef.new(shape: EBSItemFilters, location_name: "EBSItemFilters"))
|
192
|
+
ItemFilters.struct_class = Types::ItemFilters
|
193
|
+
|
194
|
+
ListSearchJobBackupsInput.add_member(:search_job_identifier, Shapes::ShapeRef.new(shape: GenericId, required: true, location: "uri", location_name: "SearchJobIdentifier"))
|
195
|
+
ListSearchJobBackupsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "nextToken"))
|
196
|
+
ListSearchJobBackupsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: ListSearchJobBackupsInputMaxResultsInteger, location: "querystring", location_name: "maxResults"))
|
197
|
+
ListSearchJobBackupsInput.struct_class = Types::ListSearchJobBackupsInput
|
198
|
+
|
199
|
+
ListSearchJobBackupsOutput.add_member(:results, Shapes::ShapeRef.new(shape: SearchJobBackupsResults, required: true, location_name: "Results"))
|
200
|
+
ListSearchJobBackupsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
201
|
+
ListSearchJobBackupsOutput.struct_class = Types::ListSearchJobBackupsOutput
|
202
|
+
|
203
|
+
ListSearchJobResultsInput.add_member(:search_job_identifier, Shapes::ShapeRef.new(shape: GenericId, required: true, location: "uri", location_name: "SearchJobIdentifier"))
|
204
|
+
ListSearchJobResultsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "nextToken"))
|
205
|
+
ListSearchJobResultsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: ListSearchJobResultsInputMaxResultsInteger, location: "querystring", location_name: "maxResults"))
|
206
|
+
ListSearchJobResultsInput.struct_class = Types::ListSearchJobResultsInput
|
207
|
+
|
208
|
+
ListSearchJobResultsOutput.add_member(:results, Shapes::ShapeRef.new(shape: Results, required: true, location_name: "Results"))
|
209
|
+
ListSearchJobResultsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
210
|
+
ListSearchJobResultsOutput.struct_class = Types::ListSearchJobResultsOutput
|
211
|
+
|
212
|
+
ListSearchJobsInput.add_member(:by_status, Shapes::ShapeRef.new(shape: SearchJobState, location: "querystring", location_name: "Status"))
|
213
|
+
ListSearchJobsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "NextToken"))
|
214
|
+
ListSearchJobsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: ListSearchJobsInputMaxResultsInteger, location: "querystring", location_name: "MaxResults"))
|
215
|
+
ListSearchJobsInput.struct_class = Types::ListSearchJobsInput
|
216
|
+
|
217
|
+
ListSearchJobsOutput.add_member(:search_jobs, Shapes::ShapeRef.new(shape: SearchJobs, required: true, location_name: "SearchJobs"))
|
218
|
+
ListSearchJobsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
219
|
+
ListSearchJobsOutput.struct_class = Types::ListSearchJobsOutput
|
220
|
+
|
221
|
+
ListSearchResultExportJobsInput.add_member(:status, Shapes::ShapeRef.new(shape: ExportJobStatus, location: "querystring", location_name: "Status"))
|
222
|
+
ListSearchResultExportJobsInput.add_member(:search_job_identifier, Shapes::ShapeRef.new(shape: GenericId, location: "querystring", location_name: "SearchJobIdentifier"))
|
223
|
+
ListSearchResultExportJobsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "NextToken"))
|
224
|
+
ListSearchResultExportJobsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: ListSearchResultExportJobsInputMaxResultsInteger, location: "querystring", location_name: "MaxResults"))
|
225
|
+
ListSearchResultExportJobsInput.struct_class = Types::ListSearchResultExportJobsInput
|
226
|
+
|
227
|
+
ListSearchResultExportJobsOutput.add_member(:export_jobs, Shapes::ShapeRef.new(shape: ExportJobSummaries, required: true, location_name: "ExportJobs"))
|
228
|
+
ListSearchResultExportJobsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
229
|
+
ListSearchResultExportJobsOutput.struct_class = Types::ListSearchResultExportJobsOutput
|
230
|
+
|
231
|
+
ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "ResourceArn"))
|
232
|
+
ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
|
233
|
+
|
234
|
+
ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
|
235
|
+
ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
|
236
|
+
|
237
|
+
LongCondition.add_member(:value, Shapes::ShapeRef.new(shape: Long, required: true, location_name: "Value"))
|
238
|
+
LongCondition.add_member(:operator, Shapes::ShapeRef.new(shape: LongConditionOperator, location_name: "Operator"))
|
239
|
+
LongCondition.struct_class = Types::LongCondition
|
240
|
+
|
241
|
+
LongConditionList.member = Shapes::ShapeRef.new(shape: LongCondition)
|
242
|
+
|
243
|
+
RecoveryPointArnList.member = Shapes::ShapeRef.new(shape: RecoveryPoint)
|
244
|
+
|
245
|
+
ResourceArnList.member = Shapes::ShapeRef.new(shape: String)
|
246
|
+
|
247
|
+
ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
248
|
+
ResourceNotFoundException.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceId"))
|
249
|
+
ResourceNotFoundException.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceType"))
|
250
|
+
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
|
251
|
+
|
252
|
+
ResourceTypeList.member = Shapes::ShapeRef.new(shape: ResourceType)
|
253
|
+
|
254
|
+
ResultItem.add_member(:s3_result_item, Shapes::ShapeRef.new(shape: S3ResultItem, location_name: "S3ResultItem"))
|
255
|
+
ResultItem.add_member(:ebs_result_item, Shapes::ShapeRef.new(shape: EBSResultItem, location_name: "EBSResultItem"))
|
256
|
+
ResultItem.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
257
|
+
ResultItem.add_member_subclass(:s3_result_item, Types::ResultItem::S3ResultItem)
|
258
|
+
ResultItem.add_member_subclass(:ebs_result_item, Types::ResultItem::EbsResultItem)
|
259
|
+
ResultItem.add_member_subclass(:unknown, Types::ResultItem::Unknown)
|
260
|
+
ResultItem.struct_class = Types::ResultItem
|
261
|
+
|
262
|
+
Results.member = Shapes::ShapeRef.new(shape: ResultItem)
|
263
|
+
|
264
|
+
S3ExportSpecification.add_member(:destination_bucket, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DestinationBucket"))
|
265
|
+
S3ExportSpecification.add_member(:destination_prefix, Shapes::ShapeRef.new(shape: String, location_name: "DestinationPrefix"))
|
266
|
+
S3ExportSpecification.struct_class = Types::S3ExportSpecification
|
267
|
+
|
268
|
+
S3ItemFilter.add_member(:object_keys, Shapes::ShapeRef.new(shape: StringConditionList, location_name: "ObjectKeys"))
|
269
|
+
S3ItemFilter.add_member(:sizes, Shapes::ShapeRef.new(shape: LongConditionList, location_name: "Sizes"))
|
270
|
+
S3ItemFilter.add_member(:creation_times, Shapes::ShapeRef.new(shape: TimeConditionList, location_name: "CreationTimes"))
|
271
|
+
S3ItemFilter.add_member(:version_ids, Shapes::ShapeRef.new(shape: StringConditionList, location_name: "VersionIds"))
|
272
|
+
S3ItemFilter.add_member(:etags, Shapes::ShapeRef.new(shape: StringConditionList, location_name: "ETags"))
|
273
|
+
S3ItemFilter.struct_class = Types::S3ItemFilter
|
274
|
+
|
275
|
+
S3ItemFilters.member = Shapes::ShapeRef.new(shape: S3ItemFilter)
|
276
|
+
|
277
|
+
S3ResultItem.add_member(:backup_resource_arn, Shapes::ShapeRef.new(shape: String, location_name: "BackupResourceArn"))
|
278
|
+
S3ResultItem.add_member(:source_resource_arn, Shapes::ShapeRef.new(shape: String, location_name: "SourceResourceArn"))
|
279
|
+
S3ResultItem.add_member(:backup_vault_name, Shapes::ShapeRef.new(shape: String, location_name: "BackupVaultName"))
|
280
|
+
S3ResultItem.add_member(:object_key, Shapes::ShapeRef.new(shape: ObjectKey, location_name: "ObjectKey"))
|
281
|
+
S3ResultItem.add_member(:object_size, Shapes::ShapeRef.new(shape: Long, location_name: "ObjectSize"))
|
282
|
+
S3ResultItem.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationTime"))
|
283
|
+
S3ResultItem.add_member(:etag, Shapes::ShapeRef.new(shape: String, location_name: "ETag"))
|
284
|
+
S3ResultItem.add_member(:version_id, Shapes::ShapeRef.new(shape: String, location_name: "VersionId"))
|
285
|
+
S3ResultItem.struct_class = Types::S3ResultItem
|
286
|
+
|
287
|
+
SearchJobBackupsResult.add_member(:status, Shapes::ShapeRef.new(shape: SearchJobState, location_name: "Status"))
|
288
|
+
SearchJobBackupsResult.add_member(:status_message, Shapes::ShapeRef.new(shape: String, location_name: "StatusMessage"))
|
289
|
+
SearchJobBackupsResult.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "ResourceType"))
|
290
|
+
SearchJobBackupsResult.add_member(:backup_resource_arn, Shapes::ShapeRef.new(shape: String, location_name: "BackupResourceArn"))
|
291
|
+
SearchJobBackupsResult.add_member(:source_resource_arn, Shapes::ShapeRef.new(shape: String, location_name: "SourceResourceArn"))
|
292
|
+
SearchJobBackupsResult.add_member(:index_creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "IndexCreationTime"))
|
293
|
+
SearchJobBackupsResult.add_member(:backup_creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "BackupCreationTime"))
|
294
|
+
SearchJobBackupsResult.struct_class = Types::SearchJobBackupsResult
|
295
|
+
|
296
|
+
SearchJobBackupsResults.member = Shapes::ShapeRef.new(shape: SearchJobBackupsResult)
|
297
|
+
|
298
|
+
SearchJobSummary.add_member(:search_job_identifier, Shapes::ShapeRef.new(shape: GenericId, location_name: "SearchJobIdentifier"))
|
299
|
+
SearchJobSummary.add_member(:search_job_arn, Shapes::ShapeRef.new(shape: SearchJobArn, location_name: "SearchJobArn"))
|
300
|
+
SearchJobSummary.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
|
301
|
+
SearchJobSummary.add_member(:status, Shapes::ShapeRef.new(shape: SearchJobState, location_name: "Status"))
|
302
|
+
SearchJobSummary.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationTime"))
|
303
|
+
SearchJobSummary.add_member(:completion_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CompletionTime"))
|
304
|
+
SearchJobSummary.add_member(:search_scope_summary, Shapes::ShapeRef.new(shape: SearchScopeSummary, location_name: "SearchScopeSummary"))
|
305
|
+
SearchJobSummary.add_member(:status_message, Shapes::ShapeRef.new(shape: String, location_name: "StatusMessage"))
|
306
|
+
SearchJobSummary.struct_class = Types::SearchJobSummary
|
307
|
+
|
308
|
+
SearchJobs.member = Shapes::ShapeRef.new(shape: SearchJobSummary)
|
309
|
+
|
310
|
+
SearchScope.add_member(:backup_resource_types, Shapes::ShapeRef.new(shape: ResourceTypeList, required: true, location_name: "BackupResourceTypes"))
|
311
|
+
SearchScope.add_member(:backup_resource_creation_time, Shapes::ShapeRef.new(shape: BackupCreationTimeFilter, location_name: "BackupResourceCreationTime"))
|
312
|
+
SearchScope.add_member(:source_resource_arns, Shapes::ShapeRef.new(shape: ResourceArnList, location_name: "SourceResourceArns"))
|
313
|
+
SearchScope.add_member(:backup_resource_arns, Shapes::ShapeRef.new(shape: RecoveryPointArnList, location_name: "BackupResourceArns"))
|
314
|
+
SearchScope.add_member(:backup_resource_tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "BackupResourceTags"))
|
315
|
+
SearchScope.struct_class = Types::SearchScope
|
316
|
+
|
317
|
+
SearchScopeSummary.add_member(:total_recovery_points_to_scan_count, Shapes::ShapeRef.new(shape: Integer, location_name: "TotalRecoveryPointsToScanCount"))
|
318
|
+
SearchScopeSummary.add_member(:total_items_to_scan_count, Shapes::ShapeRef.new(shape: Long, location_name: "TotalItemsToScanCount"))
|
319
|
+
SearchScopeSummary.struct_class = Types::SearchScopeSummary
|
320
|
+
|
321
|
+
ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
322
|
+
ServiceQuotaExceededException.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceId"))
|
323
|
+
ServiceQuotaExceededException.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceType"))
|
324
|
+
ServiceQuotaExceededException.add_member(:service_code, Shapes::ShapeRef.new(shape: String, required: true, location_name: "serviceCode"))
|
325
|
+
ServiceQuotaExceededException.add_member(:quota_code, Shapes::ShapeRef.new(shape: String, required: true, location_name: "quotaCode"))
|
326
|
+
ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
|
327
|
+
|
328
|
+
StartSearchJobInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
|
329
|
+
StartSearchJobInput.add_member(:name, Shapes::ShapeRef.new(shape: StartSearchJobInputNameString, location_name: "Name"))
|
330
|
+
StartSearchJobInput.add_member(:encryption_key_arn, Shapes::ShapeRef.new(shape: EncryptionKeyArn, location_name: "EncryptionKeyArn"))
|
331
|
+
StartSearchJobInput.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "ClientToken"))
|
332
|
+
StartSearchJobInput.add_member(:search_scope, Shapes::ShapeRef.new(shape: SearchScope, required: true, location_name: "SearchScope"))
|
333
|
+
StartSearchJobInput.add_member(:item_filters, Shapes::ShapeRef.new(shape: ItemFilters, location_name: "ItemFilters"))
|
334
|
+
StartSearchJobInput.struct_class = Types::StartSearchJobInput
|
335
|
+
|
336
|
+
StartSearchJobOutput.add_member(:search_job_arn, Shapes::ShapeRef.new(shape: SearchJobArn, location_name: "SearchJobArn"))
|
337
|
+
StartSearchJobOutput.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationTime"))
|
338
|
+
StartSearchJobOutput.add_member(:search_job_identifier, Shapes::ShapeRef.new(shape: GenericId, location_name: "SearchJobIdentifier"))
|
339
|
+
StartSearchJobOutput.struct_class = Types::StartSearchJobOutput
|
340
|
+
|
341
|
+
StartSearchResultExportJobInput.add_member(:search_job_identifier, Shapes::ShapeRef.new(shape: GenericId, required: true, location_name: "SearchJobIdentifier"))
|
342
|
+
StartSearchResultExportJobInput.add_member(:export_specification, Shapes::ShapeRef.new(shape: ExportSpecification, required: true, location_name: "ExportSpecification"))
|
343
|
+
StartSearchResultExportJobInput.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "ClientToken"))
|
344
|
+
StartSearchResultExportJobInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
|
345
|
+
StartSearchResultExportJobInput.add_member(:role_arn, Shapes::ShapeRef.new(shape: IamRoleArn, location_name: "RoleArn"))
|
346
|
+
StartSearchResultExportJobInput.struct_class = Types::StartSearchResultExportJobInput
|
347
|
+
|
348
|
+
StartSearchResultExportJobOutput.add_member(:export_job_arn, Shapes::ShapeRef.new(shape: ExportJobArn, location_name: "ExportJobArn"))
|
349
|
+
StartSearchResultExportJobOutput.add_member(:export_job_identifier, Shapes::ShapeRef.new(shape: GenericId, required: true, location_name: "ExportJobIdentifier"))
|
350
|
+
StartSearchResultExportJobOutput.struct_class = Types::StartSearchResultExportJobOutput
|
351
|
+
|
352
|
+
StopSearchJobInput.add_member(:search_job_identifier, Shapes::ShapeRef.new(shape: GenericId, required: true, location: "uri", location_name: "SearchJobIdentifier"))
|
353
|
+
StopSearchJobInput.struct_class = Types::StopSearchJobInput
|
354
|
+
|
355
|
+
StopSearchJobOutput.struct_class = Types::StopSearchJobOutput
|
356
|
+
|
357
|
+
StringCondition.add_member(:value, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Value"))
|
358
|
+
StringCondition.add_member(:operator, Shapes::ShapeRef.new(shape: StringConditionOperator, location_name: "Operator"))
|
359
|
+
StringCondition.struct_class = Types::StringCondition
|
360
|
+
|
361
|
+
StringConditionList.member = Shapes::ShapeRef.new(shape: StringCondition)
|
362
|
+
|
363
|
+
TagKeys.member = Shapes::ShapeRef.new(shape: String)
|
364
|
+
|
365
|
+
TagMap.key = Shapes::ShapeRef.new(shape: String)
|
366
|
+
TagMap.value = Shapes::ShapeRef.new(shape: String)
|
367
|
+
|
368
|
+
TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "ResourceArn"))
|
369
|
+
TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, required: true, location_name: "Tags"))
|
370
|
+
TagResourceRequest.struct_class = Types::TagResourceRequest
|
371
|
+
|
372
|
+
TagResourceResponse.struct_class = Types::TagResourceResponse
|
373
|
+
|
374
|
+
ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
375
|
+
ThrottlingException.add_member(:service_code, Shapes::ShapeRef.new(shape: String, location_name: "serviceCode"))
|
376
|
+
ThrottlingException.add_member(:quota_code, Shapes::ShapeRef.new(shape: String, location_name: "quotaCode"))
|
377
|
+
ThrottlingException.add_member(:retry_after_seconds, Shapes::ShapeRef.new(shape: Integer, location: "header", location_name: "Retry-After"))
|
378
|
+
ThrottlingException.struct_class = Types::ThrottlingException
|
379
|
+
|
380
|
+
TimeCondition.add_member(:value, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "Value"))
|
381
|
+
TimeCondition.add_member(:operator, Shapes::ShapeRef.new(shape: TimeConditionOperator, location_name: "Operator"))
|
382
|
+
TimeCondition.struct_class = Types::TimeCondition
|
383
|
+
|
384
|
+
TimeConditionList.member = Shapes::ShapeRef.new(shape: TimeCondition)
|
385
|
+
|
386
|
+
UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "ResourceArn"))
|
387
|
+
UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeys, required: true, location: "querystring", location_name: "tagKeys"))
|
388
|
+
UntagResourceRequest.struct_class = Types::UntagResourceRequest
|
389
|
+
|
390
|
+
UntagResourceResponse.struct_class = Types::UntagResourceResponse
|
391
|
+
|
392
|
+
ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
393
|
+
ValidationException.struct_class = Types::ValidationException
|
394
|
+
|
395
|
+
|
396
|
+
# @api private
|
397
|
+
API = Seahorse::Model::Api.new.tap do |api|
|
398
|
+
|
399
|
+
api.version = "2018-05-10"
|
400
|
+
|
401
|
+
api.metadata = {
|
402
|
+
"apiVersion" => "2018-05-10",
|
403
|
+
"auth" => ["aws.auth#sigv4"],
|
404
|
+
"endpointPrefix" => "backup-search",
|
405
|
+
"protocol" => "rest-json",
|
406
|
+
"protocols" => ["rest-json"],
|
407
|
+
"serviceFullName" => "AWS Backup Search",
|
408
|
+
"serviceId" => "BackupSearch",
|
409
|
+
"signatureVersion" => "v4",
|
410
|
+
"signingName" => "backup-search",
|
411
|
+
"uid" => "backupsearch-2018-05-10",
|
412
|
+
}
|
413
|
+
|
414
|
+
api.add_operation(:get_search_job, Seahorse::Model::Operation.new.tap do |o|
|
415
|
+
o.name = "GetSearchJob"
|
416
|
+
o.http_method = "GET"
|
417
|
+
o.http_request_uri = "/search-jobs/{SearchJobIdentifier}"
|
418
|
+
o.input = Shapes::ShapeRef.new(shape: GetSearchJobInput)
|
419
|
+
o.output = Shapes::ShapeRef.new(shape: GetSearchJobOutput)
|
420
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
421
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
422
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
423
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
424
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
425
|
+
end)
|
426
|
+
|
427
|
+
api.add_operation(:get_search_result_export_job, Seahorse::Model::Operation.new.tap do |o|
|
428
|
+
o.name = "GetSearchResultExportJob"
|
429
|
+
o.http_method = "GET"
|
430
|
+
o.http_request_uri = "/export-search-jobs/{ExportJobIdentifier}"
|
431
|
+
o.input = Shapes::ShapeRef.new(shape: GetSearchResultExportJobInput)
|
432
|
+
o.output = Shapes::ShapeRef.new(shape: GetSearchResultExportJobOutput)
|
433
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
434
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
435
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
436
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
437
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
438
|
+
end)
|
439
|
+
|
440
|
+
api.add_operation(:list_search_job_backups, Seahorse::Model::Operation.new.tap do |o|
|
441
|
+
o.name = "ListSearchJobBackups"
|
442
|
+
o.http_method = "GET"
|
443
|
+
o.http_request_uri = "/search-jobs/{SearchJobIdentifier}/backups"
|
444
|
+
o.input = Shapes::ShapeRef.new(shape: ListSearchJobBackupsInput)
|
445
|
+
o.output = Shapes::ShapeRef.new(shape: ListSearchJobBackupsOutput)
|
446
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
447
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
448
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
449
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
450
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
451
|
+
o[:pager] = Aws::Pager.new(
|
452
|
+
limit_key: "max_results",
|
453
|
+
tokens: {
|
454
|
+
"next_token" => "next_token"
|
455
|
+
}
|
456
|
+
)
|
457
|
+
end)
|
458
|
+
|
459
|
+
api.add_operation(:list_search_job_results, Seahorse::Model::Operation.new.tap do |o|
|
460
|
+
o.name = "ListSearchJobResults"
|
461
|
+
o.http_method = "GET"
|
462
|
+
o.http_request_uri = "/search-jobs/{SearchJobIdentifier}/search-results"
|
463
|
+
o.input = Shapes::ShapeRef.new(shape: ListSearchJobResultsInput)
|
464
|
+
o.output = Shapes::ShapeRef.new(shape: ListSearchJobResultsOutput)
|
465
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
466
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
467
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
468
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
469
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
470
|
+
o[:pager] = Aws::Pager.new(
|
471
|
+
limit_key: "max_results",
|
472
|
+
tokens: {
|
473
|
+
"next_token" => "next_token"
|
474
|
+
}
|
475
|
+
)
|
476
|
+
end)
|
477
|
+
|
478
|
+
api.add_operation(:list_search_jobs, Seahorse::Model::Operation.new.tap do |o|
|
479
|
+
o.name = "ListSearchJobs"
|
480
|
+
o.http_method = "GET"
|
481
|
+
o.http_request_uri = "/search-jobs"
|
482
|
+
o.input = Shapes::ShapeRef.new(shape: ListSearchJobsInput)
|
483
|
+
o.output = Shapes::ShapeRef.new(shape: ListSearchJobsOutput)
|
484
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
485
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
486
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
487
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
488
|
+
o[:pager] = Aws::Pager.new(
|
489
|
+
limit_key: "max_results",
|
490
|
+
tokens: {
|
491
|
+
"next_token" => "next_token"
|
492
|
+
}
|
493
|
+
)
|
494
|
+
end)
|
495
|
+
|
496
|
+
api.add_operation(:list_search_result_export_jobs, Seahorse::Model::Operation.new.tap do |o|
|
497
|
+
o.name = "ListSearchResultExportJobs"
|
498
|
+
o.http_method = "GET"
|
499
|
+
o.http_request_uri = "/export-search-jobs"
|
500
|
+
o.input = Shapes::ShapeRef.new(shape: ListSearchResultExportJobsInput)
|
501
|
+
o.output = Shapes::ShapeRef.new(shape: ListSearchResultExportJobsOutput)
|
502
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
503
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
504
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
505
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
506
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
507
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
508
|
+
o[:pager] = Aws::Pager.new(
|
509
|
+
limit_key: "max_results",
|
510
|
+
tokens: {
|
511
|
+
"next_token" => "next_token"
|
512
|
+
}
|
513
|
+
)
|
514
|
+
end)
|
515
|
+
|
516
|
+
api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
|
517
|
+
o.name = "ListTagsForResource"
|
518
|
+
o.http_method = "GET"
|
519
|
+
o.http_request_uri = "/tags/{ResourceArn}"
|
520
|
+
o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
|
521
|
+
o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
|
522
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
523
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
524
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
525
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
526
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
527
|
+
end)
|
528
|
+
|
529
|
+
api.add_operation(:start_search_job, Seahorse::Model::Operation.new.tap do |o|
|
530
|
+
o.name = "StartSearchJob"
|
531
|
+
o.http_method = "PUT"
|
532
|
+
o.http_request_uri = "/search-jobs"
|
533
|
+
o.input = Shapes::ShapeRef.new(shape: StartSearchJobInput)
|
534
|
+
o.output = Shapes::ShapeRef.new(shape: StartSearchJobOutput)
|
535
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
536
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
537
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
538
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
539
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
540
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
541
|
+
end)
|
542
|
+
|
543
|
+
api.add_operation(:start_search_result_export_job, Seahorse::Model::Operation.new.tap do |o|
|
544
|
+
o.name = "StartSearchResultExportJob"
|
545
|
+
o.http_method = "PUT"
|
546
|
+
o.http_request_uri = "/export-search-jobs"
|
547
|
+
o.input = Shapes::ShapeRef.new(shape: StartSearchResultExportJobInput)
|
548
|
+
o.output = Shapes::ShapeRef.new(shape: StartSearchResultExportJobOutput)
|
549
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
550
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
551
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
552
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
553
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
554
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
555
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
556
|
+
end)
|
557
|
+
|
558
|
+
api.add_operation(:stop_search_job, Seahorse::Model::Operation.new.tap do |o|
|
559
|
+
o.name = "StopSearchJob"
|
560
|
+
o.http_method = "PUT"
|
561
|
+
o.http_request_uri = "/search-jobs/{SearchJobIdentifier}/actions/cancel"
|
562
|
+
o.input = Shapes::ShapeRef.new(shape: StopSearchJobInput)
|
563
|
+
o.output = Shapes::ShapeRef.new(shape: StopSearchJobOutput)
|
564
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
565
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
566
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
567
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
568
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
569
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
570
|
+
end)
|
571
|
+
|
572
|
+
api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
|
573
|
+
o.name = "TagResource"
|
574
|
+
o.http_method = "POST"
|
575
|
+
o.http_request_uri = "/tags/{ResourceArn}"
|
576
|
+
o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
|
577
|
+
o.output = Shapes::ShapeRef.new(shape: TagResourceResponse)
|
578
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
579
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
580
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
581
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
582
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
583
|
+
end)
|
584
|
+
|
585
|
+
api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
|
586
|
+
o.name = "UntagResource"
|
587
|
+
o.http_method = "DELETE"
|
588
|
+
o.http_request_uri = "/tags/{ResourceArn}"
|
589
|
+
o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
|
590
|
+
o.output = Shapes::ShapeRef.new(shape: UntagResourceResponse)
|
591
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
592
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
593
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
594
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
595
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
596
|
+
end)
|
597
|
+
end
|
598
|
+
|
599
|
+
end
|
600
|
+
end
|
File without changes
|