aws-sdk-applicationdiscoveryservice 1.0.0.rc1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,377 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing for info on making contributions:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module ApplicationDiscoveryService
10
+ # @api private
11
+ module ClientApi
12
+
13
+ include Seahorse::Model
14
+
15
+ AgentConfigurationStatus = Shapes::StructureShape.new(name: 'AgentConfigurationStatus')
16
+ AgentConfigurationStatusList = Shapes::ListShape.new(name: 'AgentConfigurationStatusList')
17
+ AgentId = Shapes::StringShape.new(name: 'AgentId')
18
+ AgentIds = Shapes::ListShape.new(name: 'AgentIds')
19
+ AgentInfo = Shapes::StructureShape.new(name: 'AgentInfo')
20
+ AgentNetworkInfo = Shapes::StructureShape.new(name: 'AgentNetworkInfo')
21
+ AgentNetworkInfoList = Shapes::ListShape.new(name: 'AgentNetworkInfoList')
22
+ AgentStatus = Shapes::StringShape.new(name: 'AgentStatus')
23
+ AgentsInfo = Shapes::ListShape.new(name: 'AgentsInfo')
24
+ AuthorizationErrorException = Shapes::StructureShape.new(name: 'AuthorizationErrorException')
25
+ Boolean = Shapes::BooleanShape.new(name: 'Boolean')
26
+ Condition = Shapes::StringShape.new(name: 'Condition')
27
+ Configuration = Shapes::MapShape.new(name: 'Configuration')
28
+ ConfigurationId = Shapes::StringShape.new(name: 'ConfigurationId')
29
+ ConfigurationIdList = Shapes::ListShape.new(name: 'ConfigurationIdList')
30
+ ConfigurationItemType = Shapes::StringShape.new(name: 'ConfigurationItemType')
31
+ ConfigurationTag = Shapes::StructureShape.new(name: 'ConfigurationTag')
32
+ ConfigurationTagSet = Shapes::ListShape.new(name: 'ConfigurationTagSet')
33
+ Configurations = Shapes::ListShape.new(name: 'Configurations')
34
+ ConfigurationsDownloadUrl = Shapes::StringShape.new(name: 'ConfigurationsDownloadUrl')
35
+ ConfigurationsExportId = Shapes::StringShape.new(name: 'ConfigurationsExportId')
36
+ CreateTagsRequest = Shapes::StructureShape.new(name: 'CreateTagsRequest')
37
+ CreateTagsResponse = Shapes::StructureShape.new(name: 'CreateTagsResponse')
38
+ DeleteTagsRequest = Shapes::StructureShape.new(name: 'DeleteTagsRequest')
39
+ DeleteTagsResponse = Shapes::StructureShape.new(name: 'DeleteTagsResponse')
40
+ DescribeAgentsRequest = Shapes::StructureShape.new(name: 'DescribeAgentsRequest')
41
+ DescribeAgentsResponse = Shapes::StructureShape.new(name: 'DescribeAgentsResponse')
42
+ DescribeConfigurationsAttribute = Shapes::MapShape.new(name: 'DescribeConfigurationsAttribute')
43
+ DescribeConfigurationsAttributes = Shapes::ListShape.new(name: 'DescribeConfigurationsAttributes')
44
+ DescribeConfigurationsRequest = Shapes::StructureShape.new(name: 'DescribeConfigurationsRequest')
45
+ DescribeConfigurationsResponse = Shapes::StructureShape.new(name: 'DescribeConfigurationsResponse')
46
+ DescribeExportConfigurationsRequest = Shapes::StructureShape.new(name: 'DescribeExportConfigurationsRequest')
47
+ DescribeExportConfigurationsResponse = Shapes::StructureShape.new(name: 'DescribeExportConfigurationsResponse')
48
+ DescribeTagsRequest = Shapes::StructureShape.new(name: 'DescribeTagsRequest')
49
+ DescribeTagsResponse = Shapes::StructureShape.new(name: 'DescribeTagsResponse')
50
+ ExportConfigurationsResponse = Shapes::StructureShape.new(name: 'ExportConfigurationsResponse')
51
+ ExportIds = Shapes::ListShape.new(name: 'ExportIds')
52
+ ExportInfo = Shapes::StructureShape.new(name: 'ExportInfo')
53
+ ExportRequestTime = Shapes::TimestampShape.new(name: 'ExportRequestTime')
54
+ ExportStatus = Shapes::StringShape.new(name: 'ExportStatus')
55
+ ExportStatusMessage = Shapes::StringShape.new(name: 'ExportStatusMessage')
56
+ ExportsInfo = Shapes::ListShape.new(name: 'ExportsInfo')
57
+ Filter = Shapes::StructureShape.new(name: 'Filter')
58
+ FilterName = Shapes::StringShape.new(name: 'FilterName')
59
+ FilterValue = Shapes::StringShape.new(name: 'FilterValue')
60
+ FilterValues = Shapes::ListShape.new(name: 'FilterValues')
61
+ Filters = Shapes::ListShape.new(name: 'Filters')
62
+ Integer = Shapes::IntegerShape.new(name: 'Integer')
63
+ InvalidParameterException = Shapes::StructureShape.new(name: 'InvalidParameterException')
64
+ InvalidParameterValueException = Shapes::StructureShape.new(name: 'InvalidParameterValueException')
65
+ ListConfigurationsRequest = Shapes::StructureShape.new(name: 'ListConfigurationsRequest')
66
+ ListConfigurationsResponse = Shapes::StructureShape.new(name: 'ListConfigurationsResponse')
67
+ Message = Shapes::StringShape.new(name: 'Message')
68
+ NextToken = Shapes::StringShape.new(name: 'NextToken')
69
+ OperationNotPermittedException = Shapes::StructureShape.new(name: 'OperationNotPermittedException')
70
+ ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
71
+ ServerInternalErrorException = Shapes::StructureShape.new(name: 'ServerInternalErrorException')
72
+ StartDataCollectionByAgentIdsRequest = Shapes::StructureShape.new(name: 'StartDataCollectionByAgentIdsRequest')
73
+ StartDataCollectionByAgentIdsResponse = Shapes::StructureShape.new(name: 'StartDataCollectionByAgentIdsResponse')
74
+ StopDataCollectionByAgentIdsRequest = Shapes::StructureShape.new(name: 'StopDataCollectionByAgentIdsRequest')
75
+ StopDataCollectionByAgentIdsResponse = Shapes::StructureShape.new(name: 'StopDataCollectionByAgentIdsResponse')
76
+ String = Shapes::StringShape.new(name: 'String')
77
+ Tag = Shapes::StructureShape.new(name: 'Tag')
78
+ TagFilter = Shapes::StructureShape.new(name: 'TagFilter')
79
+ TagFilters = Shapes::ListShape.new(name: 'TagFilters')
80
+ TagKey = Shapes::StringShape.new(name: 'TagKey')
81
+ TagSet = Shapes::ListShape.new(name: 'TagSet')
82
+ TagValue = Shapes::StringShape.new(name: 'TagValue')
83
+ TimeStamp = Shapes::TimestampShape.new(name: 'TimeStamp')
84
+
85
+ AgentConfigurationStatus.add_member(:agent_id, Shapes::ShapeRef.new(shape: String, location_name: "agentId"))
86
+ AgentConfigurationStatus.add_member(:operation_succeeded, Shapes::ShapeRef.new(shape: Boolean, location_name: "operationSucceeded"))
87
+ AgentConfigurationStatus.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description"))
88
+ AgentConfigurationStatus.struct_class = Types::AgentConfigurationStatus
89
+
90
+ AgentConfigurationStatusList.member = Shapes::ShapeRef.new(shape: AgentConfigurationStatus)
91
+
92
+ AgentIds.member = Shapes::ShapeRef.new(shape: AgentId)
93
+
94
+ AgentInfo.add_member(:agent_id, Shapes::ShapeRef.new(shape: AgentId, location_name: "agentId"))
95
+ AgentInfo.add_member(:host_name, Shapes::ShapeRef.new(shape: String, location_name: "hostName"))
96
+ AgentInfo.add_member(:agent_network_info_list, Shapes::ShapeRef.new(shape: AgentNetworkInfoList, location_name: "agentNetworkInfoList"))
97
+ AgentInfo.add_member(:connector_id, Shapes::ShapeRef.new(shape: String, location_name: "connectorId"))
98
+ AgentInfo.add_member(:version, Shapes::ShapeRef.new(shape: String, location_name: "version"))
99
+ AgentInfo.add_member(:health, Shapes::ShapeRef.new(shape: AgentStatus, location_name: "health"))
100
+ AgentInfo.struct_class = Types::AgentInfo
101
+
102
+ AgentNetworkInfo.add_member(:ip_address, Shapes::ShapeRef.new(shape: String, location_name: "ipAddress"))
103
+ AgentNetworkInfo.add_member(:mac_address, Shapes::ShapeRef.new(shape: String, location_name: "macAddress"))
104
+ AgentNetworkInfo.struct_class = Types::AgentNetworkInfo
105
+
106
+ AgentNetworkInfoList.member = Shapes::ShapeRef.new(shape: AgentNetworkInfo)
107
+
108
+ AgentsInfo.member = Shapes::ShapeRef.new(shape: AgentInfo)
109
+
110
+ Configuration.key = Shapes::ShapeRef.new(shape: String)
111
+ Configuration.value = Shapes::ShapeRef.new(shape: String)
112
+
113
+ ConfigurationIdList.member = Shapes::ShapeRef.new(shape: ConfigurationId)
114
+
115
+ ConfigurationTag.add_member(:configuration_type, Shapes::ShapeRef.new(shape: ConfigurationItemType, location_name: "configurationType"))
116
+ ConfigurationTag.add_member(:configuration_id, Shapes::ShapeRef.new(shape: ConfigurationId, location_name: "configurationId"))
117
+ ConfigurationTag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, location_name: "key"))
118
+ ConfigurationTag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, location_name: "value"))
119
+ ConfigurationTag.add_member(:time_of_creation, Shapes::ShapeRef.new(shape: TimeStamp, location_name: "timeOfCreation"))
120
+ ConfigurationTag.struct_class = Types::ConfigurationTag
121
+
122
+ ConfigurationTagSet.member = Shapes::ShapeRef.new(shape: ConfigurationTag, location_name: "item")
123
+
124
+ Configurations.member = Shapes::ShapeRef.new(shape: Configuration)
125
+
126
+ CreateTagsRequest.add_member(:configuration_ids, Shapes::ShapeRef.new(shape: ConfigurationIdList, required: true, location_name: "configurationIds"))
127
+ CreateTagsRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagSet, required: true, location_name: "tags"))
128
+ CreateTagsRequest.struct_class = Types::CreateTagsRequest
129
+
130
+ CreateTagsResponse.struct_class = Types::CreateTagsResponse
131
+
132
+ DeleteTagsRequest.add_member(:configuration_ids, Shapes::ShapeRef.new(shape: ConfigurationIdList, required: true, location_name: "configurationIds"))
133
+ DeleteTagsRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagSet, location_name: "tags"))
134
+ DeleteTagsRequest.struct_class = Types::DeleteTagsRequest
135
+
136
+ DeleteTagsResponse.struct_class = Types::DeleteTagsResponse
137
+
138
+ DescribeAgentsRequest.add_member(:agent_ids, Shapes::ShapeRef.new(shape: AgentIds, location_name: "agentIds"))
139
+ DescribeAgentsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: Integer, location_name: "maxResults"))
140
+ DescribeAgentsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
141
+ DescribeAgentsRequest.struct_class = Types::DescribeAgentsRequest
142
+
143
+ DescribeAgentsResponse.add_member(:agents_info, Shapes::ShapeRef.new(shape: AgentsInfo, location_name: "agentsInfo"))
144
+ DescribeAgentsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
145
+ DescribeAgentsResponse.struct_class = Types::DescribeAgentsResponse
146
+
147
+ DescribeConfigurationsAttribute.key = Shapes::ShapeRef.new(shape: String)
148
+ DescribeConfigurationsAttribute.value = Shapes::ShapeRef.new(shape: String)
149
+
150
+ DescribeConfigurationsAttributes.member = Shapes::ShapeRef.new(shape: DescribeConfigurationsAttribute)
151
+
152
+ DescribeConfigurationsRequest.add_member(:configuration_ids, Shapes::ShapeRef.new(shape: ConfigurationIdList, required: true, location_name: "configurationIds"))
153
+ DescribeConfigurationsRequest.struct_class = Types::DescribeConfigurationsRequest
154
+
155
+ DescribeConfigurationsResponse.add_member(:configurations, Shapes::ShapeRef.new(shape: DescribeConfigurationsAttributes, location_name: "configurations"))
156
+ DescribeConfigurationsResponse.struct_class = Types::DescribeConfigurationsResponse
157
+
158
+ DescribeExportConfigurationsRequest.add_member(:export_ids, Shapes::ShapeRef.new(shape: ExportIds, location_name: "exportIds"))
159
+ DescribeExportConfigurationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: Integer, location_name: "maxResults"))
160
+ DescribeExportConfigurationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
161
+ DescribeExportConfigurationsRequest.struct_class = Types::DescribeExportConfigurationsRequest
162
+
163
+ DescribeExportConfigurationsResponse.add_member(:exports_info, Shapes::ShapeRef.new(shape: ExportsInfo, location_name: "exportsInfo"))
164
+ DescribeExportConfigurationsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
165
+ DescribeExportConfigurationsResponse.struct_class = Types::DescribeExportConfigurationsResponse
166
+
167
+ DescribeTagsRequest.add_member(:filters, Shapes::ShapeRef.new(shape: TagFilters, location_name: "filters"))
168
+ DescribeTagsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: Integer, location_name: "maxResults"))
169
+ DescribeTagsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
170
+ DescribeTagsRequest.struct_class = Types::DescribeTagsRequest
171
+
172
+ DescribeTagsResponse.add_member(:tags, Shapes::ShapeRef.new(shape: ConfigurationTagSet, location_name: "tags"))
173
+ DescribeTagsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
174
+ DescribeTagsResponse.struct_class = Types::DescribeTagsResponse
175
+
176
+ ExportConfigurationsResponse.add_member(:export_id, Shapes::ShapeRef.new(shape: ConfigurationsExportId, location_name: "exportId"))
177
+ ExportConfigurationsResponse.struct_class = Types::ExportConfigurationsResponse
178
+
179
+ ExportIds.member = Shapes::ShapeRef.new(shape: ConfigurationsExportId)
180
+
181
+ ExportInfo.add_member(:export_id, Shapes::ShapeRef.new(shape: ConfigurationsExportId, required: true, location_name: "exportId"))
182
+ ExportInfo.add_member(:export_status, Shapes::ShapeRef.new(shape: ExportStatus, required: true, location_name: "exportStatus"))
183
+ ExportInfo.add_member(:status_message, Shapes::ShapeRef.new(shape: ExportStatusMessage, required: true, location_name: "statusMessage"))
184
+ ExportInfo.add_member(:configurations_download_url, Shapes::ShapeRef.new(shape: ConfigurationsDownloadUrl, location_name: "configurationsDownloadUrl"))
185
+ ExportInfo.add_member(:export_request_time, Shapes::ShapeRef.new(shape: ExportRequestTime, required: true, location_name: "exportRequestTime"))
186
+ ExportInfo.struct_class = Types::ExportInfo
187
+
188
+ ExportsInfo.member = Shapes::ShapeRef.new(shape: ExportInfo)
189
+
190
+ Filter.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "name"))
191
+ Filter.add_member(:values, Shapes::ShapeRef.new(shape: FilterValues, required: true, location_name: "values"))
192
+ Filter.add_member(:condition, Shapes::ShapeRef.new(shape: Condition, required: true, location_name: "condition"))
193
+ Filter.struct_class = Types::Filter
194
+
195
+ FilterValues.member = Shapes::ShapeRef.new(shape: FilterValue, location_name: "item")
196
+
197
+ Filters.member = Shapes::ShapeRef.new(shape: Filter)
198
+
199
+ ListConfigurationsRequest.add_member(:configuration_type, Shapes::ShapeRef.new(shape: ConfigurationItemType, required: true, location_name: "configurationType"))
200
+ ListConfigurationsRequest.add_member(:filters, Shapes::ShapeRef.new(shape: Filters, location_name: "filters"))
201
+ ListConfigurationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: Integer, location_name: "maxResults"))
202
+ ListConfigurationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
203
+ ListConfigurationsRequest.struct_class = Types::ListConfigurationsRequest
204
+
205
+ ListConfigurationsResponse.add_member(:configurations, Shapes::ShapeRef.new(shape: Configurations, location_name: "configurations"))
206
+ ListConfigurationsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
207
+ ListConfigurationsResponse.struct_class = Types::ListConfigurationsResponse
208
+
209
+ StartDataCollectionByAgentIdsRequest.add_member(:agent_ids, Shapes::ShapeRef.new(shape: AgentIds, required: true, location_name: "agentIds"))
210
+ StartDataCollectionByAgentIdsRequest.struct_class = Types::StartDataCollectionByAgentIdsRequest
211
+
212
+ StartDataCollectionByAgentIdsResponse.add_member(:agents_configuration_status, Shapes::ShapeRef.new(shape: AgentConfigurationStatusList, location_name: "agentsConfigurationStatus"))
213
+ StartDataCollectionByAgentIdsResponse.struct_class = Types::StartDataCollectionByAgentIdsResponse
214
+
215
+ StopDataCollectionByAgentIdsRequest.add_member(:agent_ids, Shapes::ShapeRef.new(shape: AgentIds, required: true, location_name: "agentIds"))
216
+ StopDataCollectionByAgentIdsRequest.struct_class = Types::StopDataCollectionByAgentIdsRequest
217
+
218
+ StopDataCollectionByAgentIdsResponse.add_member(:agents_configuration_status, Shapes::ShapeRef.new(shape: AgentConfigurationStatusList, location_name: "agentsConfigurationStatus"))
219
+ StopDataCollectionByAgentIdsResponse.struct_class = Types::StopDataCollectionByAgentIdsResponse
220
+
221
+ Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "key"))
222
+ Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, required: true, location_name: "value"))
223
+ Tag.struct_class = Types::Tag
224
+
225
+ TagFilter.add_member(:name, Shapes::ShapeRef.new(shape: FilterName, required: true, location_name: "name"))
226
+ TagFilter.add_member(:values, Shapes::ShapeRef.new(shape: FilterValues, required: true, location_name: "values"))
227
+ TagFilter.struct_class = Types::TagFilter
228
+
229
+ TagFilters.member = Shapes::ShapeRef.new(shape: TagFilter)
230
+
231
+ TagSet.member = Shapes::ShapeRef.new(shape: Tag, location_name: "item")
232
+
233
+
234
+ # @api private
235
+ API = Seahorse::Model::Api.new.tap do |api|
236
+
237
+ api.version = "2015-11-01"
238
+
239
+ api.metadata = {
240
+ "endpointPrefix" => "discovery",
241
+ "jsonVersion" => "1.1",
242
+ "protocol" => "json",
243
+ "serviceFullName" => "AWS Application Discovery Service",
244
+ "signatureVersion" => "v4",
245
+ "targetPrefix" => "AWSPoseidonService_V2015_11_01",
246
+ }
247
+
248
+ api.add_operation(:create_tags, Seahorse::Model::Operation.new.tap do |o|
249
+ o.name = "CreateTags"
250
+ o.http_method = "POST"
251
+ o.http_request_uri = "/"
252
+ o.input = Shapes::ShapeRef.new(shape: CreateTagsRequest)
253
+ o.output = Shapes::ShapeRef.new(shape: CreateTagsResponse)
254
+ o.errors << Shapes::ShapeRef.new(shape: AuthorizationErrorException)
255
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
256
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
257
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
258
+ o.errors << Shapes::ShapeRef.new(shape: ServerInternalErrorException)
259
+ end)
260
+
261
+ api.add_operation(:delete_tags, Seahorse::Model::Operation.new.tap do |o|
262
+ o.name = "DeleteTags"
263
+ o.http_method = "POST"
264
+ o.http_request_uri = "/"
265
+ o.input = Shapes::ShapeRef.new(shape: DeleteTagsRequest)
266
+ o.output = Shapes::ShapeRef.new(shape: DeleteTagsResponse)
267
+ o.errors << Shapes::ShapeRef.new(shape: AuthorizationErrorException)
268
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
269
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
270
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
271
+ o.errors << Shapes::ShapeRef.new(shape: ServerInternalErrorException)
272
+ end)
273
+
274
+ api.add_operation(:describe_agents, Seahorse::Model::Operation.new.tap do |o|
275
+ o.name = "DescribeAgents"
276
+ o.http_method = "POST"
277
+ o.http_request_uri = "/"
278
+ o.input = Shapes::ShapeRef.new(shape: DescribeAgentsRequest)
279
+ o.output = Shapes::ShapeRef.new(shape: DescribeAgentsResponse)
280
+ o.errors << Shapes::ShapeRef.new(shape: AuthorizationErrorException)
281
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
282
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
283
+ o.errors << Shapes::ShapeRef.new(shape: ServerInternalErrorException)
284
+ end)
285
+
286
+ api.add_operation(:describe_configurations, Seahorse::Model::Operation.new.tap do |o|
287
+ o.name = "DescribeConfigurations"
288
+ o.http_method = "POST"
289
+ o.http_request_uri = "/"
290
+ o.input = Shapes::ShapeRef.new(shape: DescribeConfigurationsRequest)
291
+ o.output = Shapes::ShapeRef.new(shape: DescribeConfigurationsResponse)
292
+ o.errors << Shapes::ShapeRef.new(shape: AuthorizationErrorException)
293
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
294
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
295
+ o.errors << Shapes::ShapeRef.new(shape: ServerInternalErrorException)
296
+ end)
297
+
298
+ api.add_operation(:describe_export_configurations, Seahorse::Model::Operation.new.tap do |o|
299
+ o.name = "DescribeExportConfigurations"
300
+ o.http_method = "POST"
301
+ o.http_request_uri = "/"
302
+ o.input = Shapes::ShapeRef.new(shape: DescribeExportConfigurationsRequest)
303
+ o.output = Shapes::ShapeRef.new(shape: DescribeExportConfigurationsResponse)
304
+ o.errors << Shapes::ShapeRef.new(shape: AuthorizationErrorException)
305
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
306
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
307
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
308
+ o.errors << Shapes::ShapeRef.new(shape: ServerInternalErrorException)
309
+ end)
310
+
311
+ api.add_operation(:describe_tags, Seahorse::Model::Operation.new.tap do |o|
312
+ o.name = "DescribeTags"
313
+ o.http_method = "POST"
314
+ o.http_request_uri = "/"
315
+ o.input = Shapes::ShapeRef.new(shape: DescribeTagsRequest)
316
+ o.output = Shapes::ShapeRef.new(shape: DescribeTagsResponse)
317
+ o.errors << Shapes::ShapeRef.new(shape: AuthorizationErrorException)
318
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
319
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
320
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
321
+ o.errors << Shapes::ShapeRef.new(shape: ServerInternalErrorException)
322
+ end)
323
+
324
+ api.add_operation(:export_configurations, Seahorse::Model::Operation.new.tap do |o|
325
+ o.name = "ExportConfigurations"
326
+ o.http_method = "POST"
327
+ o.http_request_uri = "/"
328
+ o.input = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
329
+ o.output = Shapes::ShapeRef.new(shape: ExportConfigurationsResponse)
330
+ o.errors << Shapes::ShapeRef.new(shape: AuthorizationErrorException)
331
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
332
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
333
+ o.errors << Shapes::ShapeRef.new(shape: ServerInternalErrorException)
334
+ o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
335
+ end)
336
+
337
+ api.add_operation(:list_configurations, Seahorse::Model::Operation.new.tap do |o|
338
+ o.name = "ListConfigurations"
339
+ o.http_method = "POST"
340
+ o.http_request_uri = "/"
341
+ o.input = Shapes::ShapeRef.new(shape: ListConfigurationsRequest)
342
+ o.output = Shapes::ShapeRef.new(shape: ListConfigurationsResponse)
343
+ o.errors << Shapes::ShapeRef.new(shape: AuthorizationErrorException)
344
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
345
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
346
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
347
+ o.errors << Shapes::ShapeRef.new(shape: ServerInternalErrorException)
348
+ end)
349
+
350
+ api.add_operation(:start_data_collection_by_agent_ids, Seahorse::Model::Operation.new.tap do |o|
351
+ o.name = "StartDataCollectionByAgentIds"
352
+ o.http_method = "POST"
353
+ o.http_request_uri = "/"
354
+ o.input = Shapes::ShapeRef.new(shape: StartDataCollectionByAgentIdsRequest)
355
+ o.output = Shapes::ShapeRef.new(shape: StartDataCollectionByAgentIdsResponse)
356
+ o.errors << Shapes::ShapeRef.new(shape: AuthorizationErrorException)
357
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
358
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
359
+ o.errors << Shapes::ShapeRef.new(shape: ServerInternalErrorException)
360
+ end)
361
+
362
+ api.add_operation(:stop_data_collection_by_agent_ids, Seahorse::Model::Operation.new.tap do |o|
363
+ o.name = "StopDataCollectionByAgentIds"
364
+ o.http_method = "POST"
365
+ o.http_request_uri = "/"
366
+ o.input = Shapes::ShapeRef.new(shape: StopDataCollectionByAgentIdsRequest)
367
+ o.output = Shapes::ShapeRef.new(shape: StopDataCollectionByAgentIdsResponse)
368
+ o.errors << Shapes::ShapeRef.new(shape: AuthorizationErrorException)
369
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
370
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
371
+ o.errors << Shapes::ShapeRef.new(shape: ServerInternalErrorException)
372
+ end)
373
+ end
374
+
375
+ end
376
+ end
377
+ end
@@ -0,0 +1,7 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing for info on making contributions:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
@@ -0,0 +1,23 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing for info on making contributions:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module ApplicationDiscoveryService
10
+ module Errors
11
+
12
+ extend Aws::Errors::DynamicErrors
13
+
14
+ # Raised when calling #load or #data on a resource class that can not be
15
+ # loaded. This can happen when:
16
+ #
17
+ # * A resource class has identifiers, but no data attributes.
18
+ # * Resource data is only available when making an API call that
19
+ # enumerates all resources of that type.
20
+ class ResourceNotLoadable < RuntimeError; end
21
+ end
22
+ end
23
+ end
@@ -0,0 +1,25 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing for info on making contributions:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module ApplicationDiscoveryService
10
+ class Resource
11
+
12
+ # @param options ({})
13
+ # @option options [Client] :client
14
+ def initialize(options = {})
15
+ @client = options[:client] || Client.new(options)
16
+ end
17
+
18
+ # @return [Client]
19
+ def client
20
+ @client
21
+ end
22
+
23
+ end
24
+ end
25
+ end
@@ -0,0 +1,668 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing for info on making contributions:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module ApplicationDiscoveryService
10
+ module Types
11
+
12
+ # Information about agents that were instructed to start collecting
13
+ # data. Information includes the agent ID, a description of the
14
+ # operation, and whether or not the agent configuration was updated.
15
+ # @!attribute [rw] agent_id
16
+ # The agent ID.
17
+ # @return [String]
18
+ #
19
+ # @!attribute [rw] operation_succeeded
20
+ # Information about the status of the `StartDataCollection` and
21
+ # `StopDataCollection` operations. The system has recorded the data
22
+ # collection operation. The agent receives this command the next time
23
+ # it polls for a new command.
24
+ # @return [Boolean]
25
+ #
26
+ # @!attribute [rw] description
27
+ # A description of the operation performed.
28
+ # @return [String]
29
+ class AgentConfigurationStatus < Struct.new(
30
+ :agent_id,
31
+ :operation_succeeded,
32
+ :description)
33
+ include Aws::Structure
34
+ end
35
+
36
+ # Information about agents associated with the user’s AWS account.
37
+ # Information includes agent IDs, IP addresses, media access control
38
+ # (MAC) addresses, agent health, hostname where the agent resides, and
39
+ # agent version for each agent.
40
+ # @!attribute [rw] agent_id
41
+ # The agent ID.
42
+ # @return [String]
43
+ #
44
+ # @!attribute [rw] host_name
45
+ # The name of the host where the agent resides. The host can be a
46
+ # server or virtual machine.
47
+ # @return [String]
48
+ #
49
+ # @!attribute [rw] agent_network_info_list
50
+ # Network details about the host where the agent resides.
51
+ # @return [Array<Types::AgentNetworkInfo>]
52
+ #
53
+ # @!attribute [rw] connector_id
54
+ # This data type is currently not valid.
55
+ # @return [String]
56
+ #
57
+ # @!attribute [rw] version
58
+ # The agent version.
59
+ # @return [String]
60
+ #
61
+ # @!attribute [rw] health
62
+ # The health of the agent.
63
+ # @return [String]
64
+ class AgentInfo < Struct.new(
65
+ :agent_id,
66
+ :host_name,
67
+ :agent_network_info_list,
68
+ :connector_id,
69
+ :version,
70
+ :health)
71
+ include Aws::Structure
72
+ end
73
+
74
+ # Network details about the host where the agent resides.
75
+ # @!attribute [rw] ip_address
76
+ # The IP address for the host where the agent resides.
77
+ # @return [String]
78
+ #
79
+ # @!attribute [rw] mac_address
80
+ # The MAC address for the host where the agent resides.
81
+ # @return [String]
82
+ class AgentNetworkInfo < Struct.new(
83
+ :ip_address,
84
+ :mac_address)
85
+ include Aws::Structure
86
+ end
87
+
88
+ # Tags for a configuration item. Tags are metadata that help you
89
+ # categorize IT assets.
90
+ # @!attribute [rw] configuration_type
91
+ # A type of IT asset that you want to tag.
92
+ # @return [String]
93
+ #
94
+ # @!attribute [rw] configuration_id
95
+ # The configuration ID for the item you want to tag. You can specify a
96
+ # list of keys and values.
97
+ # @return [String]
98
+ #
99
+ # @!attribute [rw] key
100
+ # A type of tag to filter on. For example, *serverType*.
101
+ # @return [String]
102
+ #
103
+ # @!attribute [rw] value
104
+ # A value to filter on. For example *key = serverType* and *value =
105
+ # web server*.
106
+ # @return [String]
107
+ #
108
+ # @!attribute [rw] time_of_creation
109
+ # The time the configuration tag was created in Coordinated Universal
110
+ # Time (UTC).
111
+ # @return [Time]
112
+ class ConfigurationTag < Struct.new(
113
+ :configuration_type,
114
+ :configuration_id,
115
+ :key,
116
+ :value,
117
+ :time_of_creation)
118
+ include Aws::Structure
119
+ end
120
+
121
+ # @note When making an API call, pass CreateTagsRequest
122
+ # data as a hash:
123
+ #
124
+ # {
125
+ # configuration_ids: ["ConfigurationId"], # required
126
+ # tags: [ # required
127
+ # {
128
+ # key: "TagKey", # required
129
+ # value: "TagValue", # required
130
+ # },
131
+ # ],
132
+ # }
133
+ # @!attribute [rw] configuration_ids
134
+ # A list of configuration items that you want to tag.
135
+ # @return [Array<String>]
136
+ #
137
+ # @!attribute [rw] tags
138
+ # Tags that you want to associate with one or more configuration
139
+ # items. Specify the tags that you want to create in a *key*-*value*
140
+ # format. For example:
141
+ #
142
+ # `\{"key": "serverType", "value": "webServer"\}`
143
+ # @return [Array<Types::Tag>]
144
+ class CreateTagsRequest < Struct.new(
145
+ :configuration_ids,
146
+ :tags)
147
+ include Aws::Structure
148
+ end
149
+
150
+ class CreateTagsResponse < Aws::EmptyStructure; end
151
+
152
+ # @note When making an API call, pass DeleteTagsRequest
153
+ # data as a hash:
154
+ #
155
+ # {
156
+ # configuration_ids: ["ConfigurationId"], # required
157
+ # tags: [
158
+ # {
159
+ # key: "TagKey", # required
160
+ # value: "TagValue", # required
161
+ # },
162
+ # ],
163
+ # }
164
+ # @!attribute [rw] configuration_ids
165
+ # A list of configuration items with tags that you want to delete.
166
+ # @return [Array<String>]
167
+ #
168
+ # @!attribute [rw] tags
169
+ # Tags that you want to delete from one or more configuration items.
170
+ # Specify the tags that you want to delete in a *key*-*value* format.
171
+ # For example:
172
+ #
173
+ # `\{"key": "serverType", "value": "webServer"\}`
174
+ # @return [Array<Types::Tag>]
175
+ class DeleteTagsRequest < Struct.new(
176
+ :configuration_ids,
177
+ :tags)
178
+ include Aws::Structure
179
+ end
180
+
181
+ class DeleteTagsResponse < Aws::EmptyStructure; end
182
+
183
+ # @note When making an API call, pass DescribeAgentsRequest
184
+ # data as a hash:
185
+ #
186
+ # {
187
+ # agent_ids: ["AgentId"],
188
+ # max_results: 1,
189
+ # next_token: "NextToken",
190
+ # }
191
+ # @!attribute [rw] agent_ids
192
+ # The agent IDs for which you want information. If you specify no IDs,
193
+ # the system returns information about all agents associated with your
194
+ # AWS user account.
195
+ # @return [Array<String>]
196
+ #
197
+ # @!attribute [rw] max_results
198
+ # The total number of agents to return. The maximum value is 100.
199
+ # @return [Integer]
200
+ #
201
+ # @!attribute [rw] next_token
202
+ # A token to start the list. Use this token to get the next set of
203
+ # results.
204
+ # @return [String]
205
+ class DescribeAgentsRequest < Struct.new(
206
+ :agent_ids,
207
+ :max_results,
208
+ :next_token)
209
+ include Aws::Structure
210
+ end
211
+
212
+ # @!attribute [rw] agents_info
213
+ # Lists AWS agents by ID or lists all agents associated with your user
214
+ # account if you did not specify an agent ID. The output includes
215
+ # agent IDs, IP addresses, media access control (MAC) addresses, agent
216
+ # health, host name where the agent resides, and the version number of
217
+ # each agent.
218
+ # @return [Array<Types::AgentInfo>]
219
+ #
220
+ # @!attribute [rw] next_token
221
+ # The call returns a token. Use this token to get the next set of
222
+ # results.
223
+ # @return [String]
224
+ class DescribeAgentsResponse < Struct.new(
225
+ :agents_info,
226
+ :next_token)
227
+ include Aws::Structure
228
+ end
229
+
230
+ # @note When making an API call, pass DescribeConfigurationsRequest
231
+ # data as a hash:
232
+ #
233
+ # {
234
+ # configuration_ids: ["ConfigurationId"], # required
235
+ # }
236
+ # @!attribute [rw] configuration_ids
237
+ # One or more configuration IDs.
238
+ # @return [Array<String>]
239
+ class DescribeConfigurationsRequest < Struct.new(
240
+ :configuration_ids)
241
+ include Aws::Structure
242
+ end
243
+
244
+ # @!attribute [rw] configurations
245
+ # A key in the response map. The value is an array of data.
246
+ # @return [Array<Hash<String,String>>]
247
+ class DescribeConfigurationsResponse < Struct.new(
248
+ :configurations)
249
+ include Aws::Structure
250
+ end
251
+
252
+ # @note When making an API call, pass DescribeExportConfigurationsRequest
253
+ # data as a hash:
254
+ #
255
+ # {
256
+ # export_ids: ["ConfigurationsExportId"],
257
+ # max_results: 1,
258
+ # next_token: "NextToken",
259
+ # }
260
+ # @!attribute [rw] export_ids
261
+ # A unique identifier that you can use to query the export status.
262
+ # @return [Array<String>]
263
+ #
264
+ # @!attribute [rw] max_results
265
+ # The maximum number of results that you want to display as a part of
266
+ # the query.
267
+ # @return [Integer]
268
+ #
269
+ # @!attribute [rw] next_token
270
+ # A token to get the next set of results. For example, if you
271
+ # specified 100 IDs for
272
+ # `DescribeConfigurationsRequest$configurationIds` but set
273
+ # `DescribeExportConfigurationsRequest$maxResults` to 10, you will get
274
+ # results in a set of 10. Use the token in the query to get the next
275
+ # set of 10.
276
+ # @return [String]
277
+ class DescribeExportConfigurationsRequest < Struct.new(
278
+ :export_ids,
279
+ :max_results,
280
+ :next_token)
281
+ include Aws::Structure
282
+ end
283
+
284
+ # @!attribute [rw] exports_info
285
+ # Returns export details. When the status is complete, the response
286
+ # includes a URL for an Amazon S3 bucket where you can view the data
287
+ # in a CSV file.
288
+ # @return [Array<Types::ExportInfo>]
289
+ #
290
+ # @!attribute [rw] next_token
291
+ # A token to get the next set of results. For example, if you
292
+ # specified 100 IDs for
293
+ # `DescribeConfigurationsRequest$configurationIds` but set
294
+ # `DescribeExportConfigurationsRequest$maxResults` to 10, you will get
295
+ # results in a set of 10. Use the token in the query to get the next
296
+ # set of 10.
297
+ # @return [String]
298
+ class DescribeExportConfigurationsResponse < Struct.new(
299
+ :exports_info,
300
+ :next_token)
301
+ include Aws::Structure
302
+ end
303
+
304
+ # @note When making an API call, pass DescribeTagsRequest
305
+ # data as a hash:
306
+ #
307
+ # {
308
+ # filters: [
309
+ # {
310
+ # name: "FilterName", # required
311
+ # values: ["FilterValue"], # required
312
+ # },
313
+ # ],
314
+ # max_results: 1,
315
+ # next_token: "NextToken",
316
+ # }
317
+ # @!attribute [rw] filters
318
+ # You can filter the list using a *key*-*value* format. You can
319
+ # separate these items by using logical operators. Allowed filters
320
+ # include `tagKey`, `tagValue`, and `configurationId`.
321
+ # @return [Array<Types::TagFilter>]
322
+ #
323
+ # @!attribute [rw] max_results
324
+ # The total number of items to return. The maximum value is 100.
325
+ # @return [Integer]
326
+ #
327
+ # @!attribute [rw] next_token
328
+ # A token to start the list. Use this token to get the next set of
329
+ # results.
330
+ # @return [String]
331
+ class DescribeTagsRequest < Struct.new(
332
+ :filters,
333
+ :max_results,
334
+ :next_token)
335
+ include Aws::Structure
336
+ end
337
+
338
+ # @!attribute [rw] tags
339
+ # Depending on the input, this is a list of configuration items tagged
340
+ # with a specific tag, or a list of tags for a specific configuration
341
+ # item.
342
+ # @return [Array<Types::ConfigurationTag>]
343
+ #
344
+ # @!attribute [rw] next_token
345
+ # The call returns a token. Use this token to get the next set of
346
+ # results.
347
+ # @return [String]
348
+ class DescribeTagsResponse < Struct.new(
349
+ :tags,
350
+ :next_token)
351
+ include Aws::Structure
352
+ end
353
+
354
+ # @!attribute [rw] export_id
355
+ # A unique identifier that you can use to query the export status.
356
+ # @return [String]
357
+ class ExportConfigurationsResponse < Struct.new(
358
+ :export_id)
359
+ include Aws::Structure
360
+ end
361
+
362
+ # Information regarding the export status of the discovered data. The
363
+ # value is an array of objects.
364
+ # @!attribute [rw] export_id
365
+ # A unique identifier that you can use to query the export.
366
+ # @return [String]
367
+ #
368
+ # @!attribute [rw] export_status
369
+ # The status of the configuration data export. The status can succeed,
370
+ # fail, or be in-progress.
371
+ # @return [String]
372
+ #
373
+ # @!attribute [rw] status_message
374
+ # Helpful status messages for API callers. For example: Too many
375
+ # exports in the last 6 hours. Export in progress. Export was
376
+ # successful.
377
+ # @return [String]
378
+ #
379
+ # @!attribute [rw] configurations_download_url
380
+ # A URL for an Amazon S3 bucket where you can review the configuration
381
+ # data. The URL is displayed only if the export succeeded.
382
+ # @return [String]
383
+ #
384
+ # @!attribute [rw] export_request_time
385
+ # The time the configuration data export was initiated.
386
+ # @return [Time]
387
+ class ExportInfo < Struct.new(
388
+ :export_id,
389
+ :export_status,
390
+ :status_message,
391
+ :configurations_download_url,
392
+ :export_request_time)
393
+ include Aws::Structure
394
+ end
395
+
396
+ # A filter that can use conditional operators.
397
+ # @note When making an API call, pass Filter
398
+ # data as a hash:
399
+ #
400
+ # {
401
+ # name: "String", # required
402
+ # values: ["FilterValue"], # required
403
+ # condition: "Condition", # required
404
+ # }
405
+ # @!attribute [rw] name
406
+ # The name of the filter. The following filter names are allowed for
407
+ # `SERVER` configuration items.
408
+ #
409
+ # **Server**
410
+ #
411
+ # * `server.hostName`
412
+ #
413
+ # * `server.osName`
414
+ #
415
+ # * `server.osVersion`
416
+ #
417
+ # * `server.configurationid`
418
+ #
419
+ # * `server.agentid`
420
+ #
421
+ # The name of the filter. The following filter names are allowed for
422
+ # `PROCESS` configuration items.
423
+ #
424
+ # **Process**
425
+ #
426
+ # * `process.configurationid`
427
+ #
428
+ # * `process.name`
429
+ #
430
+ # * `process.commandLine`
431
+ #
432
+ # * `server.configurationid`
433
+ #
434
+ # * `server.hostName`
435
+ #
436
+ # * `server.osName`
437
+ #
438
+ # * `server.osVersion`
439
+ #
440
+ # * `server.agentId`
441
+ #
442
+ # The name of the filter. The following filter names are allowed for
443
+ # `CONNECTION` configuration items.
444
+ #
445
+ # **Connection**
446
+ #
447
+ # * `connection.sourceIp`
448
+ #
449
+ # * `connection.destinationIp`
450
+ #
451
+ # * `connection.destinationPort`
452
+ #
453
+ # * `sourceProcess.configurationId`
454
+ #
455
+ # * `sourceProcess.name`
456
+ #
457
+ # * `sourceProcess.commandLine`
458
+ #
459
+ # * `destinationProcess.configurationId`
460
+ #
461
+ # * `destinationProcess.name`
462
+ #
463
+ # * `destinationProcess.commandLine`
464
+ #
465
+ # * `sourceServer.configurationId`
466
+ #
467
+ # * `sourceServer.hostName`
468
+ #
469
+ # * `sourceServer.osName`
470
+ #
471
+ # * `sourceServer.osVersion`
472
+ #
473
+ # * `sourceServer.agentId`
474
+ #
475
+ # * `destinationServer.configurationId`
476
+ #
477
+ # * `destinationServer.hostName`
478
+ #
479
+ # * `destinationServer.osName`
480
+ #
481
+ # * `destinationServer.osVersion`
482
+ #
483
+ # * `destinationServer.agentId`
484
+ # @return [String]
485
+ #
486
+ # @!attribute [rw] values
487
+ # A string value that you want to filter on. For example, if you
488
+ # choose the `destinationServer.osVersion` filter name, you could
489
+ # specify `Ubuntu` for the value.
490
+ # @return [Array<String>]
491
+ #
492
+ # @!attribute [rw] condition
493
+ # A conditional operator. The following operators are valid: EQUALS,
494
+ # NOT\_EQUALS, CONTAINS, NOT\_CONTAINS. If you specify multiple
495
+ # filters, the system utilizes all filters as though concatenated by
496
+ # *AND*. If you specify multiple values for a particular filter, the
497
+ # system differentiates the values using *OR*. Calling either
498
+ # *DescribeConfigurations* or *ListConfigurations* returns attributes
499
+ # of matching configuration items.
500
+ # @return [String]
501
+ class Filter < Struct.new(
502
+ :name,
503
+ :values,
504
+ :condition)
505
+ include Aws::Structure
506
+ end
507
+
508
+ # @note When making an API call, pass ListConfigurationsRequest
509
+ # data as a hash:
510
+ #
511
+ # {
512
+ # configuration_type: "SERVER", # required, accepts SERVER, PROCESS, CONNECTION
513
+ # filters: [
514
+ # {
515
+ # name: "String", # required
516
+ # values: ["FilterValue"], # required
517
+ # condition: "Condition", # required
518
+ # },
519
+ # ],
520
+ # max_results: 1,
521
+ # next_token: "NextToken",
522
+ # }
523
+ # @!attribute [rw] configuration_type
524
+ # A valid configuration identified by the Discovery Service.
525
+ # @return [String]
526
+ #
527
+ # @!attribute [rw] filters
528
+ # You can filter the list using a *key*-*value* format. For example:
529
+ #
530
+ # `\{"key": "serverType", "value": "webServer"\}`
531
+ #
532
+ # You can separate these items by using logical operators.
533
+ # @return [Array<Types::Filter>]
534
+ #
535
+ # @!attribute [rw] max_results
536
+ # The total number of items to return. The maximum value is 100.
537
+ # @return [Integer]
538
+ #
539
+ # @!attribute [rw] next_token
540
+ # A token to start the list. Use this token to get the next set of
541
+ # results.
542
+ # @return [String]
543
+ class ListConfigurationsRequest < Struct.new(
544
+ :configuration_type,
545
+ :filters,
546
+ :max_results,
547
+ :next_token)
548
+ include Aws::Structure
549
+ end
550
+
551
+ # @!attribute [rw] configurations
552
+ # Returns configuration details, including the configuration ID,
553
+ # attribute names, and attribute values.
554
+ # @return [Array<Hash<String,String>>]
555
+ #
556
+ # @!attribute [rw] next_token
557
+ # The call returns a token. Use this token to get the next set of
558
+ # results.
559
+ # @return [String]
560
+ class ListConfigurationsResponse < Struct.new(
561
+ :configurations,
562
+ :next_token)
563
+ include Aws::Structure
564
+ end
565
+
566
+ # @note When making an API call, pass StartDataCollectionByAgentIdsRequest
567
+ # data as a hash:
568
+ #
569
+ # {
570
+ # agent_ids: ["AgentId"], # required
571
+ # }
572
+ # @!attribute [rw] agent_ids
573
+ # The IDs of the agents that you want to start collecting data. If you
574
+ # send a request to an AWS agent ID that you do not have permission to
575
+ # contact, according to your AWS account, the service does not throw
576
+ # an exception. Instead, it returns the error in the *Description*
577
+ # field. If you send a request to multiple agents and you do not have
578
+ # permission to contact some of those agents, the system does not
579
+ # throw an exception. Instead, the system shows `Failed` in the
580
+ # *Description* field.
581
+ # @return [Array<String>]
582
+ class StartDataCollectionByAgentIdsRequest < Struct.new(
583
+ :agent_ids)
584
+ include Aws::Structure
585
+ end
586
+
587
+ # @!attribute [rw] agents_configuration_status
588
+ # Information about agents that were instructed to start collecting
589
+ # data. Information includes the agent ID, a description of the
590
+ # operation performed, and whether or not the agent configuration was
591
+ # updated.
592
+ # @return [Array<Types::AgentConfigurationStatus>]
593
+ class StartDataCollectionByAgentIdsResponse < Struct.new(
594
+ :agents_configuration_status)
595
+ include Aws::Structure
596
+ end
597
+
598
+ # @note When making an API call, pass StopDataCollectionByAgentIdsRequest
599
+ # data as a hash:
600
+ #
601
+ # {
602
+ # agent_ids: ["AgentId"], # required
603
+ # }
604
+ # @!attribute [rw] agent_ids
605
+ # The IDs of the agents that you want to stop collecting data.
606
+ # @return [Array<String>]
607
+ class StopDataCollectionByAgentIdsRequest < Struct.new(
608
+ :agent_ids)
609
+ include Aws::Structure
610
+ end
611
+
612
+ # @!attribute [rw] agents_configuration_status
613
+ # Information about agents that were instructed to stop collecting
614
+ # data. Information includes the agent ID, a description of the
615
+ # operation performed, and whether or not the agent configuration was
616
+ # updated.
617
+ # @return [Array<Types::AgentConfigurationStatus>]
618
+ class StopDataCollectionByAgentIdsResponse < Struct.new(
619
+ :agents_configuration_status)
620
+ include Aws::Structure
621
+ end
622
+
623
+ # Metadata that help you categorize IT assets.
624
+ # @note When making an API call, pass Tag
625
+ # data as a hash:
626
+ #
627
+ # {
628
+ # key: "TagKey", # required
629
+ # value: "TagValue", # required
630
+ # }
631
+ # @!attribute [rw] key
632
+ # A type of tag to filter on.
633
+ # @return [String]
634
+ #
635
+ # @!attribute [rw] value
636
+ # A value for a tag key to filter on.
637
+ # @return [String]
638
+ class Tag < Struct.new(
639
+ :key,
640
+ :value)
641
+ include Aws::Structure
642
+ end
643
+
644
+ # The name of a tag filter. Valid names are: `tagKey`, `tagValue`,
645
+ # `configurationId`.
646
+ # @note When making an API call, pass TagFilter
647
+ # data as a hash:
648
+ #
649
+ # {
650
+ # name: "FilterName", # required
651
+ # values: ["FilterValue"], # required
652
+ # }
653
+ # @!attribute [rw] name
654
+ # A name of a tag filter.
655
+ # @return [String]
656
+ #
657
+ # @!attribute [rw] values
658
+ # Values of a tag filter.
659
+ # @return [Array<String>]
660
+ class TagFilter < Struct.new(
661
+ :name,
662
+ :values)
663
+ include Aws::Structure
664
+ end
665
+
666
+ end
667
+ end
668
+ end