aws-sdk-resourceexplorer2 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-resourceexplorer2/client.rb +1484 -0
- data/lib/aws-sdk-resourceexplorer2/client_api.rb +651 -0
- data/lib/aws-sdk-resourceexplorer2/customizations.rb +0 -0
- data/lib/aws-sdk-resourceexplorer2/endpoint_parameters.rb +54 -0
- data/lib/aws-sdk-resourceexplorer2/endpoint_provider.rb +94 -0
- data/lib/aws-sdk-resourceexplorer2/endpoints.rb +262 -0
- data/lib/aws-sdk-resourceexplorer2/errors.rb +181 -0
- data/lib/aws-sdk-resourceexplorer2/plugins/endpoints.rb +106 -0
- data/lib/aws-sdk-resourceexplorer2/resource.rb +26 -0
- data/lib/aws-sdk-resourceexplorer2/types.rb +1554 -0
- data/lib/aws-sdk-resourceexplorer2.rb +57 -0
- metadata +94 -0
@@ -0,0 +1,651 @@
|
|
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
|
+
module Aws::ResourceExplorer2
|
11
|
+
# @api private
|
12
|
+
module ClientApi
|
13
|
+
|
14
|
+
include Seahorse::Model
|
15
|
+
|
16
|
+
AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
|
17
|
+
AssociateDefaultViewInput = Shapes::StructureShape.new(name: 'AssociateDefaultViewInput')
|
18
|
+
AssociateDefaultViewInputViewArnString = Shapes::StringShape.new(name: 'AssociateDefaultViewInputViewArnString')
|
19
|
+
AssociateDefaultViewOutput = Shapes::StructureShape.new(name: 'AssociateDefaultViewOutput')
|
20
|
+
BatchGetViewError = Shapes::StructureShape.new(name: 'BatchGetViewError')
|
21
|
+
BatchGetViewErrors = Shapes::ListShape.new(name: 'BatchGetViewErrors')
|
22
|
+
BatchGetViewInput = Shapes::StructureShape.new(name: 'BatchGetViewInput')
|
23
|
+
BatchGetViewInputViewArnsList = Shapes::ListShape.new(name: 'BatchGetViewInputViewArnsList')
|
24
|
+
BatchGetViewOutput = Shapes::StructureShape.new(name: 'BatchGetViewOutput')
|
25
|
+
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
26
|
+
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
27
|
+
CreateIndexInput = Shapes::StructureShape.new(name: 'CreateIndexInput')
|
28
|
+
CreateIndexOutput = Shapes::StructureShape.new(name: 'CreateIndexOutput')
|
29
|
+
CreateViewInput = Shapes::StructureShape.new(name: 'CreateViewInput')
|
30
|
+
CreateViewInputClientTokenString = Shapes::StringShape.new(name: 'CreateViewInputClientTokenString')
|
31
|
+
CreateViewOutput = Shapes::StructureShape.new(name: 'CreateViewOutput')
|
32
|
+
DeleteIndexInput = Shapes::StructureShape.new(name: 'DeleteIndexInput')
|
33
|
+
DeleteIndexOutput = Shapes::StructureShape.new(name: 'DeleteIndexOutput')
|
34
|
+
DeleteViewInput = Shapes::StructureShape.new(name: 'DeleteViewInput')
|
35
|
+
DeleteViewInputViewArnString = Shapes::StringShape.new(name: 'DeleteViewInputViewArnString')
|
36
|
+
DeleteViewOutput = Shapes::StructureShape.new(name: 'DeleteViewOutput')
|
37
|
+
Document = Shapes::DocumentShape.new(name: 'Document', document: true)
|
38
|
+
GetDefaultViewOutput = Shapes::StructureShape.new(name: 'GetDefaultViewOutput')
|
39
|
+
GetIndexOutput = Shapes::StructureShape.new(name: 'GetIndexOutput')
|
40
|
+
GetViewInput = Shapes::StructureShape.new(name: 'GetViewInput')
|
41
|
+
GetViewInputViewArnString = Shapes::StringShape.new(name: 'GetViewInputViewArnString')
|
42
|
+
GetViewOutput = Shapes::StructureShape.new(name: 'GetViewOutput')
|
43
|
+
IncludedProperty = Shapes::StructureShape.new(name: 'IncludedProperty')
|
44
|
+
IncludedPropertyList = Shapes::ListShape.new(name: 'IncludedPropertyList')
|
45
|
+
IncludedPropertyNameString = Shapes::StringShape.new(name: 'IncludedPropertyNameString')
|
46
|
+
Index = Shapes::StructureShape.new(name: 'Index')
|
47
|
+
IndexList = Shapes::ListShape.new(name: 'IndexList')
|
48
|
+
IndexState = Shapes::StringShape.new(name: 'IndexState')
|
49
|
+
IndexType = Shapes::StringShape.new(name: 'IndexType')
|
50
|
+
InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
|
51
|
+
ListIndexesInput = Shapes::StructureShape.new(name: 'ListIndexesInput')
|
52
|
+
ListIndexesInputMaxResultsInteger = Shapes::IntegerShape.new(name: 'ListIndexesInputMaxResultsInteger')
|
53
|
+
ListIndexesInputNextTokenString = Shapes::StringShape.new(name: 'ListIndexesInputNextTokenString')
|
54
|
+
ListIndexesInputRegionsList = Shapes::ListShape.new(name: 'ListIndexesInputRegionsList')
|
55
|
+
ListIndexesOutput = Shapes::StructureShape.new(name: 'ListIndexesOutput')
|
56
|
+
ListSupportedResourceTypesInput = Shapes::StructureShape.new(name: 'ListSupportedResourceTypesInput')
|
57
|
+
ListSupportedResourceTypesInputMaxResultsInteger = Shapes::IntegerShape.new(name: 'ListSupportedResourceTypesInputMaxResultsInteger')
|
58
|
+
ListSupportedResourceTypesOutput = Shapes::StructureShape.new(name: 'ListSupportedResourceTypesOutput')
|
59
|
+
ListTagsForResourceInput = Shapes::StructureShape.new(name: 'ListTagsForResourceInput')
|
60
|
+
ListTagsForResourceOutput = Shapes::StructureShape.new(name: 'ListTagsForResourceOutput')
|
61
|
+
ListViewsInput = Shapes::StructureShape.new(name: 'ListViewsInput')
|
62
|
+
ListViewsInputMaxResultsInteger = Shapes::IntegerShape.new(name: 'ListViewsInputMaxResultsInteger')
|
63
|
+
ListViewsOutput = Shapes::StructureShape.new(name: 'ListViewsOutput')
|
64
|
+
Long = Shapes::IntegerShape.new(name: 'Long')
|
65
|
+
QueryString = Shapes::StringShape.new(name: 'QueryString')
|
66
|
+
RegionList = Shapes::ListShape.new(name: 'RegionList')
|
67
|
+
Resource = Shapes::StructureShape.new(name: 'Resource')
|
68
|
+
ResourceCount = Shapes::StructureShape.new(name: 'ResourceCount')
|
69
|
+
ResourceList = Shapes::ListShape.new(name: 'ResourceList')
|
70
|
+
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
71
|
+
ResourceProperty = Shapes::StructureShape.new(name: 'ResourceProperty')
|
72
|
+
ResourcePropertyList = Shapes::ListShape.new(name: 'ResourcePropertyList')
|
73
|
+
ResourceTypeList = Shapes::ListShape.new(name: 'ResourceTypeList')
|
74
|
+
SearchFilter = Shapes::StructureShape.new(name: 'SearchFilter')
|
75
|
+
SearchFilterFilterStringString = Shapes::StringShape.new(name: 'SearchFilterFilterStringString')
|
76
|
+
SearchInput = Shapes::StructureShape.new(name: 'SearchInput')
|
77
|
+
SearchInputMaxResultsInteger = Shapes::IntegerShape.new(name: 'SearchInputMaxResultsInteger')
|
78
|
+
SearchInputNextTokenString = Shapes::StringShape.new(name: 'SearchInputNextTokenString')
|
79
|
+
SearchInputViewArnString = Shapes::StringShape.new(name: 'SearchInputViewArnString')
|
80
|
+
SearchOutput = Shapes::StructureShape.new(name: 'SearchOutput')
|
81
|
+
SearchOutputNextTokenString = Shapes::StringShape.new(name: 'SearchOutputNextTokenString')
|
82
|
+
SearchOutputViewArnString = Shapes::StringShape.new(name: 'SearchOutputViewArnString')
|
83
|
+
ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
|
84
|
+
String = Shapes::StringShape.new(name: 'String')
|
85
|
+
StringList = Shapes::ListShape.new(name: 'StringList')
|
86
|
+
SupportedResourceType = Shapes::StructureShape.new(name: 'SupportedResourceType')
|
87
|
+
SyntheticTimestamp_date_time = Shapes::TimestampShape.new(name: 'SyntheticTimestamp_date_time', timestampFormat: "iso8601")
|
88
|
+
TagMap = Shapes::MapShape.new(name: 'TagMap')
|
89
|
+
TagResourceInput = Shapes::StructureShape.new(name: 'TagResourceInput')
|
90
|
+
TagResourceOutput = Shapes::StructureShape.new(name: 'TagResourceOutput')
|
91
|
+
ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
|
92
|
+
UnauthorizedException = Shapes::StructureShape.new(name: 'UnauthorizedException')
|
93
|
+
UntagResourceInput = Shapes::StructureShape.new(name: 'UntagResourceInput')
|
94
|
+
UntagResourceOutput = Shapes::StructureShape.new(name: 'UntagResourceOutput')
|
95
|
+
UpdateIndexTypeInput = Shapes::StructureShape.new(name: 'UpdateIndexTypeInput')
|
96
|
+
UpdateIndexTypeOutput = Shapes::StructureShape.new(name: 'UpdateIndexTypeOutput')
|
97
|
+
UpdateViewInput = Shapes::StructureShape.new(name: 'UpdateViewInput')
|
98
|
+
UpdateViewInputViewArnString = Shapes::StringShape.new(name: 'UpdateViewInputViewArnString')
|
99
|
+
UpdateViewOutput = Shapes::StructureShape.new(name: 'UpdateViewOutput')
|
100
|
+
ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
|
101
|
+
ValidationExceptionField = Shapes::StructureShape.new(name: 'ValidationExceptionField')
|
102
|
+
ValidationExceptionFieldList = Shapes::ListShape.new(name: 'ValidationExceptionFieldList')
|
103
|
+
View = Shapes::StructureShape.new(name: 'View')
|
104
|
+
ViewArnList = Shapes::ListShape.new(name: 'ViewArnList')
|
105
|
+
ViewList = Shapes::ListShape.new(name: 'ViewList')
|
106
|
+
ViewName = Shapes::StringShape.new(name: 'ViewName')
|
107
|
+
|
108
|
+
AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
109
|
+
AccessDeniedException.struct_class = Types::AccessDeniedException
|
110
|
+
|
111
|
+
AssociateDefaultViewInput.add_member(:view_arn, Shapes::ShapeRef.new(shape: AssociateDefaultViewInputViewArnString, required: true, location_name: "ViewArn"))
|
112
|
+
AssociateDefaultViewInput.struct_class = Types::AssociateDefaultViewInput
|
113
|
+
|
114
|
+
AssociateDefaultViewOutput.add_member(:view_arn, Shapes::ShapeRef.new(shape: String, location_name: "ViewArn"))
|
115
|
+
AssociateDefaultViewOutput.struct_class = Types::AssociateDefaultViewOutput
|
116
|
+
|
117
|
+
BatchGetViewError.add_member(:error_message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ErrorMessage"))
|
118
|
+
BatchGetViewError.add_member(:view_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ViewArn"))
|
119
|
+
BatchGetViewError.struct_class = Types::BatchGetViewError
|
120
|
+
|
121
|
+
BatchGetViewErrors.member = Shapes::ShapeRef.new(shape: BatchGetViewError)
|
122
|
+
|
123
|
+
BatchGetViewInput.add_member(:view_arns, Shapes::ShapeRef.new(shape: BatchGetViewInputViewArnsList, location_name: "ViewArns"))
|
124
|
+
BatchGetViewInput.struct_class = Types::BatchGetViewInput
|
125
|
+
|
126
|
+
BatchGetViewInputViewArnsList.member = Shapes::ShapeRef.new(shape: String)
|
127
|
+
|
128
|
+
BatchGetViewOutput.add_member(:errors, Shapes::ShapeRef.new(shape: BatchGetViewErrors, location_name: "Errors"))
|
129
|
+
BatchGetViewOutput.add_member(:views, Shapes::ShapeRef.new(shape: ViewList, location_name: "Views"))
|
130
|
+
BatchGetViewOutput.struct_class = Types::BatchGetViewOutput
|
131
|
+
|
132
|
+
ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Message"))
|
133
|
+
ConflictException.struct_class = Types::ConflictException
|
134
|
+
|
135
|
+
CreateIndexInput.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
|
136
|
+
CreateIndexInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
|
137
|
+
CreateIndexInput.struct_class = Types::CreateIndexInput
|
138
|
+
|
139
|
+
CreateIndexOutput.add_member(:arn, Shapes::ShapeRef.new(shape: String, location_name: "Arn"))
|
140
|
+
CreateIndexOutput.add_member(:created_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "CreatedAt"))
|
141
|
+
CreateIndexOutput.add_member(:state, Shapes::ShapeRef.new(shape: IndexState, location_name: "State"))
|
142
|
+
CreateIndexOutput.struct_class = Types::CreateIndexOutput
|
143
|
+
|
144
|
+
CreateViewInput.add_member(:client_token, Shapes::ShapeRef.new(shape: CreateViewInputClientTokenString, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
|
145
|
+
CreateViewInput.add_member(:filters, Shapes::ShapeRef.new(shape: SearchFilter, location_name: "Filters"))
|
146
|
+
CreateViewInput.add_member(:included_properties, Shapes::ShapeRef.new(shape: IncludedPropertyList, location_name: "IncludedProperties"))
|
147
|
+
CreateViewInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
|
148
|
+
CreateViewInput.add_member(:view_name, Shapes::ShapeRef.new(shape: ViewName, required: true, location_name: "ViewName"))
|
149
|
+
CreateViewInput.struct_class = Types::CreateViewInput
|
150
|
+
|
151
|
+
CreateViewOutput.add_member(:view, Shapes::ShapeRef.new(shape: View, location_name: "View"))
|
152
|
+
CreateViewOutput.struct_class = Types::CreateViewOutput
|
153
|
+
|
154
|
+
DeleteIndexInput.add_member(:arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Arn"))
|
155
|
+
DeleteIndexInput.struct_class = Types::DeleteIndexInput
|
156
|
+
|
157
|
+
DeleteIndexOutput.add_member(:arn, Shapes::ShapeRef.new(shape: String, location_name: "Arn"))
|
158
|
+
DeleteIndexOutput.add_member(:last_updated_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "LastUpdatedAt"))
|
159
|
+
DeleteIndexOutput.add_member(:state, Shapes::ShapeRef.new(shape: IndexState, location_name: "State"))
|
160
|
+
DeleteIndexOutput.struct_class = Types::DeleteIndexOutput
|
161
|
+
|
162
|
+
DeleteViewInput.add_member(:view_arn, Shapes::ShapeRef.new(shape: DeleteViewInputViewArnString, required: true, location_name: "ViewArn"))
|
163
|
+
DeleteViewInput.struct_class = Types::DeleteViewInput
|
164
|
+
|
165
|
+
DeleteViewOutput.add_member(:view_arn, Shapes::ShapeRef.new(shape: String, location_name: "ViewArn"))
|
166
|
+
DeleteViewOutput.struct_class = Types::DeleteViewOutput
|
167
|
+
|
168
|
+
GetDefaultViewOutput.add_member(:view_arn, Shapes::ShapeRef.new(shape: String, location_name: "ViewArn"))
|
169
|
+
GetDefaultViewOutput.struct_class = Types::GetDefaultViewOutput
|
170
|
+
|
171
|
+
GetIndexOutput.add_member(:arn, Shapes::ShapeRef.new(shape: String, location_name: "Arn"))
|
172
|
+
GetIndexOutput.add_member(:created_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "CreatedAt"))
|
173
|
+
GetIndexOutput.add_member(:last_updated_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "LastUpdatedAt"))
|
174
|
+
GetIndexOutput.add_member(:replicating_from, Shapes::ShapeRef.new(shape: RegionList, location_name: "ReplicatingFrom"))
|
175
|
+
GetIndexOutput.add_member(:replicating_to, Shapes::ShapeRef.new(shape: RegionList, location_name: "ReplicatingTo"))
|
176
|
+
GetIndexOutput.add_member(:state, Shapes::ShapeRef.new(shape: IndexState, location_name: "State"))
|
177
|
+
GetIndexOutput.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
|
178
|
+
GetIndexOutput.add_member(:type, Shapes::ShapeRef.new(shape: IndexType, location_name: "Type"))
|
179
|
+
GetIndexOutput.struct_class = Types::GetIndexOutput
|
180
|
+
|
181
|
+
GetViewInput.add_member(:view_arn, Shapes::ShapeRef.new(shape: GetViewInputViewArnString, required: true, location_name: "ViewArn"))
|
182
|
+
GetViewInput.struct_class = Types::GetViewInput
|
183
|
+
|
184
|
+
GetViewOutput.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
|
185
|
+
GetViewOutput.add_member(:view, Shapes::ShapeRef.new(shape: View, location_name: "View"))
|
186
|
+
GetViewOutput.struct_class = Types::GetViewOutput
|
187
|
+
|
188
|
+
IncludedProperty.add_member(:name, Shapes::ShapeRef.new(shape: IncludedPropertyNameString, required: true, location_name: "Name"))
|
189
|
+
IncludedProperty.struct_class = Types::IncludedProperty
|
190
|
+
|
191
|
+
IncludedPropertyList.member = Shapes::ShapeRef.new(shape: IncludedProperty)
|
192
|
+
|
193
|
+
Index.add_member(:arn, Shapes::ShapeRef.new(shape: String, location_name: "Arn"))
|
194
|
+
Index.add_member(:region, Shapes::ShapeRef.new(shape: String, location_name: "Region"))
|
195
|
+
Index.add_member(:type, Shapes::ShapeRef.new(shape: IndexType, location_name: "Type"))
|
196
|
+
Index.struct_class = Types::Index
|
197
|
+
|
198
|
+
IndexList.member = Shapes::ShapeRef.new(shape: Index)
|
199
|
+
|
200
|
+
InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
201
|
+
InternalServerException.struct_class = Types::InternalServerException
|
202
|
+
|
203
|
+
ListIndexesInput.add_member(:max_results, Shapes::ShapeRef.new(shape: ListIndexesInputMaxResultsInteger, location_name: "MaxResults"))
|
204
|
+
ListIndexesInput.add_member(:next_token, Shapes::ShapeRef.new(shape: ListIndexesInputNextTokenString, location_name: "NextToken"))
|
205
|
+
ListIndexesInput.add_member(:regions, Shapes::ShapeRef.new(shape: ListIndexesInputRegionsList, location_name: "Regions"))
|
206
|
+
ListIndexesInput.add_member(:type, Shapes::ShapeRef.new(shape: IndexType, location_name: "Type"))
|
207
|
+
ListIndexesInput.struct_class = Types::ListIndexesInput
|
208
|
+
|
209
|
+
ListIndexesInputRegionsList.member = Shapes::ShapeRef.new(shape: String)
|
210
|
+
|
211
|
+
ListIndexesOutput.add_member(:indexes, Shapes::ShapeRef.new(shape: IndexList, location_name: "Indexes"))
|
212
|
+
ListIndexesOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
213
|
+
ListIndexesOutput.struct_class = Types::ListIndexesOutput
|
214
|
+
|
215
|
+
ListSupportedResourceTypesInput.add_member(:max_results, Shapes::ShapeRef.new(shape: ListSupportedResourceTypesInputMaxResultsInteger, location_name: "MaxResults"))
|
216
|
+
ListSupportedResourceTypesInput.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
217
|
+
ListSupportedResourceTypesInput.struct_class = Types::ListSupportedResourceTypesInput
|
218
|
+
|
219
|
+
ListSupportedResourceTypesOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
220
|
+
ListSupportedResourceTypesOutput.add_member(:resource_types, Shapes::ShapeRef.new(shape: ResourceTypeList, location_name: "ResourceTypes"))
|
221
|
+
ListSupportedResourceTypesOutput.struct_class = Types::ListSupportedResourceTypesOutput
|
222
|
+
|
223
|
+
ListTagsForResourceInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "resourceArn"))
|
224
|
+
ListTagsForResourceInput.struct_class = Types::ListTagsForResourceInput
|
225
|
+
|
226
|
+
ListTagsForResourceOutput.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
|
227
|
+
ListTagsForResourceOutput.struct_class = Types::ListTagsForResourceOutput
|
228
|
+
|
229
|
+
ListViewsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: ListViewsInputMaxResultsInteger, location_name: "MaxResults"))
|
230
|
+
ListViewsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
231
|
+
ListViewsInput.struct_class = Types::ListViewsInput
|
232
|
+
|
233
|
+
ListViewsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
234
|
+
ListViewsOutput.add_member(:views, Shapes::ShapeRef.new(shape: ViewArnList, location_name: "Views"))
|
235
|
+
ListViewsOutput.struct_class = Types::ListViewsOutput
|
236
|
+
|
237
|
+
RegionList.member = Shapes::ShapeRef.new(shape: String)
|
238
|
+
|
239
|
+
Resource.add_member(:arn, Shapes::ShapeRef.new(shape: String, location_name: "Arn"))
|
240
|
+
Resource.add_member(:last_reported_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "LastReportedAt"))
|
241
|
+
Resource.add_member(:owning_account_id, Shapes::ShapeRef.new(shape: String, location_name: "OwningAccountId"))
|
242
|
+
Resource.add_member(:properties, Shapes::ShapeRef.new(shape: ResourcePropertyList, location_name: "Properties"))
|
243
|
+
Resource.add_member(:region, Shapes::ShapeRef.new(shape: String, location_name: "Region"))
|
244
|
+
Resource.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, location_name: "ResourceType"))
|
245
|
+
Resource.add_member(:service, Shapes::ShapeRef.new(shape: String, location_name: "Service"))
|
246
|
+
Resource.struct_class = Types::Resource
|
247
|
+
|
248
|
+
ResourceCount.add_member(:complete, Shapes::ShapeRef.new(shape: Boolean, location_name: "Complete"))
|
249
|
+
ResourceCount.add_member(:total_resources, Shapes::ShapeRef.new(shape: Long, location_name: "TotalResources"))
|
250
|
+
ResourceCount.struct_class = Types::ResourceCount
|
251
|
+
|
252
|
+
ResourceList.member = Shapes::ShapeRef.new(shape: Resource)
|
253
|
+
|
254
|
+
ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
255
|
+
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
|
256
|
+
|
257
|
+
ResourceProperty.add_member(:data, Shapes::ShapeRef.new(shape: Document, location_name: "Data"))
|
258
|
+
ResourceProperty.add_member(:last_reported_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "LastReportedAt"))
|
259
|
+
ResourceProperty.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
|
260
|
+
ResourceProperty.struct_class = Types::ResourceProperty
|
261
|
+
|
262
|
+
ResourcePropertyList.member = Shapes::ShapeRef.new(shape: ResourceProperty)
|
263
|
+
|
264
|
+
ResourceTypeList.member = Shapes::ShapeRef.new(shape: SupportedResourceType)
|
265
|
+
|
266
|
+
SearchFilter.add_member(:filter_string, Shapes::ShapeRef.new(shape: SearchFilterFilterStringString, required: true, location_name: "FilterString"))
|
267
|
+
SearchFilter.struct_class = Types::SearchFilter
|
268
|
+
|
269
|
+
SearchInput.add_member(:max_results, Shapes::ShapeRef.new(shape: SearchInputMaxResultsInteger, location_name: "MaxResults"))
|
270
|
+
SearchInput.add_member(:next_token, Shapes::ShapeRef.new(shape: SearchInputNextTokenString, location_name: "NextToken"))
|
271
|
+
SearchInput.add_member(:query_string, Shapes::ShapeRef.new(shape: QueryString, required: true, location_name: "QueryString"))
|
272
|
+
SearchInput.add_member(:view_arn, Shapes::ShapeRef.new(shape: SearchInputViewArnString, location_name: "ViewArn"))
|
273
|
+
SearchInput.struct_class = Types::SearchInput
|
274
|
+
|
275
|
+
SearchOutput.add_member(:count, Shapes::ShapeRef.new(shape: ResourceCount, location_name: "Count"))
|
276
|
+
SearchOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: SearchOutputNextTokenString, location_name: "NextToken"))
|
277
|
+
SearchOutput.add_member(:resources, Shapes::ShapeRef.new(shape: ResourceList, location_name: "Resources"))
|
278
|
+
SearchOutput.add_member(:view_arn, Shapes::ShapeRef.new(shape: SearchOutputViewArnString, location_name: "ViewArn"))
|
279
|
+
SearchOutput.struct_class = Types::SearchOutput
|
280
|
+
|
281
|
+
ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Message"))
|
282
|
+
ServiceQuotaExceededException.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Name"))
|
283
|
+
ServiceQuotaExceededException.add_member(:value, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Value"))
|
284
|
+
ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
|
285
|
+
|
286
|
+
StringList.member = Shapes::ShapeRef.new(shape: String)
|
287
|
+
|
288
|
+
SupportedResourceType.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, location_name: "ResourceType"))
|
289
|
+
SupportedResourceType.add_member(:service, Shapes::ShapeRef.new(shape: String, location_name: "Service"))
|
290
|
+
SupportedResourceType.struct_class = Types::SupportedResourceType
|
291
|
+
|
292
|
+
TagMap.key = Shapes::ShapeRef.new(shape: String)
|
293
|
+
TagMap.value = Shapes::ShapeRef.new(shape: String)
|
294
|
+
|
295
|
+
TagResourceInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
|
296
|
+
TagResourceInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "resourceArn"))
|
297
|
+
TagResourceInput.struct_class = Types::TagResourceInput
|
298
|
+
|
299
|
+
TagResourceOutput.struct_class = Types::TagResourceOutput
|
300
|
+
|
301
|
+
ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
302
|
+
ThrottlingException.struct_class = Types::ThrottlingException
|
303
|
+
|
304
|
+
UnauthorizedException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
305
|
+
UnauthorizedException.struct_class = Types::UnauthorizedException
|
306
|
+
|
307
|
+
UntagResourceInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "resourceArn"))
|
308
|
+
UntagResourceInput.add_member(:tag_keys, Shapes::ShapeRef.new(shape: StringList, required: true, location: "querystring", location_name: "tagKeys"))
|
309
|
+
UntagResourceInput.struct_class = Types::UntagResourceInput
|
310
|
+
|
311
|
+
UntagResourceOutput.struct_class = Types::UntagResourceOutput
|
312
|
+
|
313
|
+
UpdateIndexTypeInput.add_member(:arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Arn"))
|
314
|
+
UpdateIndexTypeInput.add_member(:type, Shapes::ShapeRef.new(shape: IndexType, required: true, location_name: "Type"))
|
315
|
+
UpdateIndexTypeInput.struct_class = Types::UpdateIndexTypeInput
|
316
|
+
|
317
|
+
UpdateIndexTypeOutput.add_member(:arn, Shapes::ShapeRef.new(shape: String, location_name: "Arn"))
|
318
|
+
UpdateIndexTypeOutput.add_member(:last_updated_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "LastUpdatedAt"))
|
319
|
+
UpdateIndexTypeOutput.add_member(:state, Shapes::ShapeRef.new(shape: IndexState, location_name: "State"))
|
320
|
+
UpdateIndexTypeOutput.add_member(:type, Shapes::ShapeRef.new(shape: IndexType, location_name: "Type"))
|
321
|
+
UpdateIndexTypeOutput.struct_class = Types::UpdateIndexTypeOutput
|
322
|
+
|
323
|
+
UpdateViewInput.add_member(:filters, Shapes::ShapeRef.new(shape: SearchFilter, location_name: "Filters"))
|
324
|
+
UpdateViewInput.add_member(:included_properties, Shapes::ShapeRef.new(shape: IncludedPropertyList, location_name: "IncludedProperties"))
|
325
|
+
UpdateViewInput.add_member(:view_arn, Shapes::ShapeRef.new(shape: UpdateViewInputViewArnString, required: true, location_name: "ViewArn"))
|
326
|
+
UpdateViewInput.struct_class = Types::UpdateViewInput
|
327
|
+
|
328
|
+
UpdateViewOutput.add_member(:view, Shapes::ShapeRef.new(shape: View, location_name: "View"))
|
329
|
+
UpdateViewOutput.struct_class = Types::UpdateViewOutput
|
330
|
+
|
331
|
+
ValidationException.add_member(:field_list, Shapes::ShapeRef.new(shape: ValidationExceptionFieldList, location_name: "FieldList"))
|
332
|
+
ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Message"))
|
333
|
+
ValidationException.struct_class = Types::ValidationException
|
334
|
+
|
335
|
+
ValidationExceptionField.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Name"))
|
336
|
+
ValidationExceptionField.add_member(:validation_issue, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ValidationIssue"))
|
337
|
+
ValidationExceptionField.struct_class = Types::ValidationExceptionField
|
338
|
+
|
339
|
+
ValidationExceptionFieldList.member = Shapes::ShapeRef.new(shape: ValidationExceptionField)
|
340
|
+
|
341
|
+
View.add_member(:filters, Shapes::ShapeRef.new(shape: SearchFilter, location_name: "Filters"))
|
342
|
+
View.add_member(:included_properties, Shapes::ShapeRef.new(shape: IncludedPropertyList, location_name: "IncludedProperties"))
|
343
|
+
View.add_member(:last_updated_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "LastUpdatedAt"))
|
344
|
+
View.add_member(:owner, Shapes::ShapeRef.new(shape: String, location_name: "Owner"))
|
345
|
+
View.add_member(:scope, Shapes::ShapeRef.new(shape: String, location_name: "Scope"))
|
346
|
+
View.add_member(:view_arn, Shapes::ShapeRef.new(shape: String, location_name: "ViewArn"))
|
347
|
+
View.struct_class = Types::View
|
348
|
+
|
349
|
+
ViewArnList.member = Shapes::ShapeRef.new(shape: String)
|
350
|
+
|
351
|
+
ViewList.member = Shapes::ShapeRef.new(shape: View)
|
352
|
+
|
353
|
+
|
354
|
+
# @api private
|
355
|
+
API = Seahorse::Model::Api.new.tap do |api|
|
356
|
+
|
357
|
+
api.version = "2022-07-28"
|
358
|
+
|
359
|
+
api.metadata = {
|
360
|
+
"apiVersion" => "2022-07-28",
|
361
|
+
"endpointPrefix" => "resource-explorer-2",
|
362
|
+
"jsonVersion" => "1.1",
|
363
|
+
"protocol" => "rest-json",
|
364
|
+
"serviceFullName" => "AWS Resource Explorer",
|
365
|
+
"serviceId" => "Resource Explorer 2",
|
366
|
+
"signatureVersion" => "v4",
|
367
|
+
"signingName" => "resource-explorer-2",
|
368
|
+
"uid" => "resource-explorer-2-2022-07-28",
|
369
|
+
}
|
370
|
+
|
371
|
+
api.add_operation(:associate_default_view, Seahorse::Model::Operation.new.tap do |o|
|
372
|
+
o.name = "AssociateDefaultView"
|
373
|
+
o.http_method = "POST"
|
374
|
+
o.http_request_uri = "/AssociateDefaultView"
|
375
|
+
o.input = Shapes::ShapeRef.new(shape: AssociateDefaultViewInput)
|
376
|
+
o.output = Shapes::ShapeRef.new(shape: AssociateDefaultViewOutput)
|
377
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
378
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
379
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
380
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
381
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
382
|
+
end)
|
383
|
+
|
384
|
+
api.add_operation(:batch_get_view, Seahorse::Model::Operation.new.tap do |o|
|
385
|
+
o.name = "BatchGetView"
|
386
|
+
o.http_method = "POST"
|
387
|
+
o.http_request_uri = "/BatchGetView"
|
388
|
+
o.input = Shapes::ShapeRef.new(shape: BatchGetViewInput)
|
389
|
+
o.output = Shapes::ShapeRef.new(shape: BatchGetViewOutput)
|
390
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
391
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
392
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
393
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
394
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
395
|
+
end)
|
396
|
+
|
397
|
+
api.add_operation(:create_index, Seahorse::Model::Operation.new.tap do |o|
|
398
|
+
o.name = "CreateIndex"
|
399
|
+
o.http_method = "POST"
|
400
|
+
o.http_request_uri = "/CreateIndex"
|
401
|
+
o.input = Shapes::ShapeRef.new(shape: CreateIndexInput)
|
402
|
+
o.output = Shapes::ShapeRef.new(shape: CreateIndexOutput)
|
403
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
404
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
405
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
406
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
407
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
408
|
+
end)
|
409
|
+
|
410
|
+
api.add_operation(:create_view, Seahorse::Model::Operation.new.tap do |o|
|
411
|
+
o.name = "CreateView"
|
412
|
+
o.http_method = "POST"
|
413
|
+
o.http_request_uri = "/CreateView"
|
414
|
+
o.input = Shapes::ShapeRef.new(shape: CreateViewInput)
|
415
|
+
o.output = Shapes::ShapeRef.new(shape: CreateViewOutput)
|
416
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
417
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
418
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
419
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
420
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
421
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
422
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
423
|
+
end)
|
424
|
+
|
425
|
+
api.add_operation(:delete_index, Seahorse::Model::Operation.new.tap do |o|
|
426
|
+
o.name = "DeleteIndex"
|
427
|
+
o.http_method = "POST"
|
428
|
+
o.http_request_uri = "/DeleteIndex"
|
429
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteIndexInput)
|
430
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteIndexOutput)
|
431
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
432
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
433
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
434
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
435
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
436
|
+
end)
|
437
|
+
|
438
|
+
api.add_operation(:delete_view, Seahorse::Model::Operation.new.tap do |o|
|
439
|
+
o.name = "DeleteView"
|
440
|
+
o.http_method = "POST"
|
441
|
+
o.http_request_uri = "/DeleteView"
|
442
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteViewInput)
|
443
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteViewOutput)
|
444
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
445
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
446
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
447
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
448
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
449
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
450
|
+
end)
|
451
|
+
|
452
|
+
api.add_operation(:disassociate_default_view, Seahorse::Model::Operation.new.tap do |o|
|
453
|
+
o.name = "DisassociateDefaultView"
|
454
|
+
o.http_method = "POST"
|
455
|
+
o.http_request_uri = "/DisassociateDefaultView"
|
456
|
+
o.input = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
457
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
458
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
459
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
460
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
461
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
462
|
+
end)
|
463
|
+
|
464
|
+
api.add_operation(:get_default_view, Seahorse::Model::Operation.new.tap do |o|
|
465
|
+
o.name = "GetDefaultView"
|
466
|
+
o.http_method = "POST"
|
467
|
+
o.http_request_uri = "/GetDefaultView"
|
468
|
+
o.input = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
469
|
+
o.output = Shapes::ShapeRef.new(shape: GetDefaultViewOutput)
|
470
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
471
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
472
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
473
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
474
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
475
|
+
end)
|
476
|
+
|
477
|
+
api.add_operation(:get_index, Seahorse::Model::Operation.new.tap do |o|
|
478
|
+
o.name = "GetIndex"
|
479
|
+
o.http_method = "POST"
|
480
|
+
o.http_request_uri = "/GetIndex"
|
481
|
+
o.input = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
482
|
+
o.output = Shapes::ShapeRef.new(shape: GetIndexOutput)
|
483
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
484
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
485
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
486
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
487
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
488
|
+
end)
|
489
|
+
|
490
|
+
api.add_operation(:get_view, Seahorse::Model::Operation.new.tap do |o|
|
491
|
+
o.name = "GetView"
|
492
|
+
o.http_method = "POST"
|
493
|
+
o.http_request_uri = "/GetView"
|
494
|
+
o.input = Shapes::ShapeRef.new(shape: GetViewInput)
|
495
|
+
o.output = Shapes::ShapeRef.new(shape: GetViewOutput)
|
496
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
497
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
498
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
499
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
500
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
501
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
502
|
+
end)
|
503
|
+
|
504
|
+
api.add_operation(:list_indexes, Seahorse::Model::Operation.new.tap do |o|
|
505
|
+
o.name = "ListIndexes"
|
506
|
+
o.http_method = "POST"
|
507
|
+
o.http_request_uri = "/ListIndexes"
|
508
|
+
o.input = Shapes::ShapeRef.new(shape: ListIndexesInput)
|
509
|
+
o.output = Shapes::ShapeRef.new(shape: ListIndexesOutput)
|
510
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
511
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
512
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
513
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
514
|
+
o[:pager] = Aws::Pager.new(
|
515
|
+
limit_key: "max_results",
|
516
|
+
tokens: {
|
517
|
+
"next_token" => "next_token"
|
518
|
+
}
|
519
|
+
)
|
520
|
+
end)
|
521
|
+
|
522
|
+
api.add_operation(:list_supported_resource_types, Seahorse::Model::Operation.new.tap do |o|
|
523
|
+
o.name = "ListSupportedResourceTypes"
|
524
|
+
o.http_method = "POST"
|
525
|
+
o.http_request_uri = "/ListSupportedResourceTypes"
|
526
|
+
o.input = Shapes::ShapeRef.new(shape: ListSupportedResourceTypesInput)
|
527
|
+
o.output = Shapes::ShapeRef.new(shape: ListSupportedResourceTypesOutput)
|
528
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
529
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
530
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
531
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
532
|
+
o[:pager] = Aws::Pager.new(
|
533
|
+
limit_key: "max_results",
|
534
|
+
tokens: {
|
535
|
+
"next_token" => "next_token"
|
536
|
+
}
|
537
|
+
)
|
538
|
+
end)
|
539
|
+
|
540
|
+
api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
|
541
|
+
o.name = "ListTagsForResource"
|
542
|
+
o.http_method = "GET"
|
543
|
+
o.http_request_uri = "/tags/{resourceArn}"
|
544
|
+
o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceInput)
|
545
|
+
o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceOutput)
|
546
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
547
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
548
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
549
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
550
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
551
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
552
|
+
end)
|
553
|
+
|
554
|
+
api.add_operation(:list_views, Seahorse::Model::Operation.new.tap do |o|
|
555
|
+
o.name = "ListViews"
|
556
|
+
o.http_method = "POST"
|
557
|
+
o.http_request_uri = "/ListViews"
|
558
|
+
o.input = Shapes::ShapeRef.new(shape: ListViewsInput)
|
559
|
+
o.output = Shapes::ShapeRef.new(shape: ListViewsOutput)
|
560
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
561
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
562
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
563
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
564
|
+
o[:pager] = Aws::Pager.new(
|
565
|
+
limit_key: "max_results",
|
566
|
+
tokens: {
|
567
|
+
"next_token" => "next_token"
|
568
|
+
}
|
569
|
+
)
|
570
|
+
end)
|
571
|
+
|
572
|
+
api.add_operation(:search, Seahorse::Model::Operation.new.tap do |o|
|
573
|
+
o.name = "Search"
|
574
|
+
o.http_method = "POST"
|
575
|
+
o.http_request_uri = "/Search"
|
576
|
+
o.input = Shapes::ShapeRef.new(shape: SearchInput)
|
577
|
+
o.output = Shapes::ShapeRef.new(shape: SearchOutput)
|
578
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
579
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
580
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
581
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
582
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
583
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
584
|
+
o[:pager] = Aws::Pager.new(
|
585
|
+
limit_key: "max_results",
|
586
|
+
tokens: {
|
587
|
+
"next_token" => "next_token"
|
588
|
+
}
|
589
|
+
)
|
590
|
+
end)
|
591
|
+
|
592
|
+
api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
|
593
|
+
o.name = "TagResource"
|
594
|
+
o.http_method = "POST"
|
595
|
+
o.http_request_uri = "/tags/{resourceArn}"
|
596
|
+
o.input = Shapes::ShapeRef.new(shape: TagResourceInput)
|
597
|
+
o.output = Shapes::ShapeRef.new(shape: TagResourceOutput)
|
598
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
599
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
600
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
601
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
602
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
603
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
604
|
+
end)
|
605
|
+
|
606
|
+
api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
|
607
|
+
o.name = "UntagResource"
|
608
|
+
o.http_method = "DELETE"
|
609
|
+
o.http_request_uri = "/tags/{resourceArn}"
|
610
|
+
o.input = Shapes::ShapeRef.new(shape: UntagResourceInput)
|
611
|
+
o.output = Shapes::ShapeRef.new(shape: UntagResourceOutput)
|
612
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
613
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
614
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
615
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
616
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
617
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
618
|
+
end)
|
619
|
+
|
620
|
+
api.add_operation(:update_index_type, Seahorse::Model::Operation.new.tap do |o|
|
621
|
+
o.name = "UpdateIndexType"
|
622
|
+
o.http_method = "POST"
|
623
|
+
o.http_request_uri = "/UpdateIndexType"
|
624
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateIndexTypeInput)
|
625
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateIndexTypeOutput)
|
626
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
627
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
628
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
629
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
630
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
631
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
632
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
633
|
+
end)
|
634
|
+
|
635
|
+
api.add_operation(:update_view, Seahorse::Model::Operation.new.tap do |o|
|
636
|
+
o.name = "UpdateView"
|
637
|
+
o.http_method = "POST"
|
638
|
+
o.http_request_uri = "/UpdateView"
|
639
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateViewInput)
|
640
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateViewOutput)
|
641
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
642
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
643
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
644
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
645
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
646
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
647
|
+
end)
|
648
|
+
end
|
649
|
+
|
650
|
+
end
|
651
|
+
end
|
File without changes
|