aws-sdk-applicationdiscoveryservice 1.0.0.rc1 → 1.0.0.rc2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,6 @@
1
1
  # WARNING ABOUT GENERATED CODE
2
2
  #
3
- # This file is generated. See the contributing for info on making contributions:
3
+ # This file is generated. See the contributing guide for more information:
4
4
  # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
5
5
  #
6
6
  # WARNING ABOUT GENERATED CODE
@@ -23,488 +23,856 @@ require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
23
23
 
24
24
  Aws::Plugins::GlobalConfiguration.add_identifier(:applicationdiscoveryservice)
25
25
 
26
- module Aws
27
- module ApplicationDiscoveryService
28
- class Client < Seahorse::Client::Base
29
-
30
- include Aws::ClientStubs
31
-
32
- @identifier = :applicationdiscoveryservice
33
-
34
- set_api(ClientApi::API)
35
-
36
- add_plugin(Seahorse::Client::Plugins::ContentLength)
37
- add_plugin(Aws::Plugins::CredentialsConfiguration)
38
- add_plugin(Aws::Plugins::Logging)
39
- add_plugin(Aws::Plugins::ParamConverter)
40
- add_plugin(Aws::Plugins::ParamValidator)
41
- add_plugin(Aws::Plugins::UserAgent)
42
- add_plugin(Aws::Plugins::HelpfulSocketErrors)
43
- add_plugin(Aws::Plugins::RetryErrors)
44
- add_plugin(Aws::Plugins::GlobalConfiguration)
45
- add_plugin(Aws::Plugins::RegionalEndpoint)
46
- add_plugin(Aws::Plugins::ResponsePaging)
47
- add_plugin(Aws::Plugins::StubResponses)
48
- add_plugin(Aws::Plugins::IdempotencyToken)
49
- add_plugin(Aws::Plugins::SignatureV4)
50
- add_plugin(Aws::Plugins::Protocols::JsonRpc)
51
-
52
- # @option options [required, Aws::CredentialProvider] :credentials
53
- # Your AWS credentials. This can be an instance of any one of the
54
- # following classes:
55
- #
56
- # * `Aws::Credentials` - Used for configuring static, non-refreshing
57
- # credentials.
58
- #
59
- # * `Aws::InstanceProfileCredentials` - Used for loading credentials
60
- # from an EC2 IMDS on an EC2 instance.
61
- #
62
- # * `Aws::SharedCredentials` - Used for loading credentials from a
63
- # shared file, such as `~/.aws/config`.
64
- #
65
- # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
66
- #
67
- # When `:credentials` are not configured directly, the following
68
- # locations will be searched for credentials:
69
- #
70
- # * `Aws.config[:credentials]`
71
- # * The `:access_key_id`, `:secret_access_key`, and `:session_token` options.
72
- # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
73
- # * `~/.aws/credentials`
74
- # * `~/.aws/config`
75
- # * EC2 IMDS instance profile - When used by default, the timeouts are
76
- # very aggressive. Construct and pass an instance of
77
- # `Aws::InstanceProfileCredentails` to enable retries and extended
78
- # timeouts.
79
- # @option options [required, String] :region
80
- # The AWS region to connect to. The configured `:region` is
81
- # used to determine the service `:endpoint`. When not passed,
82
- # a default `:region` is search for in the following locations:
83
- #
84
- # * `Aws.config[:region]`
85
- # * `ENV['AWS_REGION']`
86
- # * `ENV['AMAZON_REGION']`
87
- # * `ENV['AWS_DEFAULT_REGION']`
88
- # * `~/.aws/credentials`
89
- # * `~/.aws/config`
90
- # @option options [String] :access_key_id
91
- # @option options [Boolean] :convert_params (true)
92
- # When `true`, an attempt is made to coerce request parameters into
93
- # the required types.
94
- # @option options [String] :endpoint
95
- # The client endpoint is normally constructed from the `:region`
96
- # option. You should only configure an `:endpoint` when connecting
97
- # to test endpoints. This should be avalid HTTP(S) URI.
98
- # @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
99
- # The log formatter.
100
- # @option options [Symbol] :log_level (:info)
101
- # The log level to send messages to the `:logger` at.
102
- # @option options [Logger] :logger
103
- # The Logger instance to send log messages to. If this option
104
- # is not set, logging will be disabled.
105
- # @option options [String] :profile ("default")
106
- # Used when loading credentials from the shared credentials file
107
- # at HOME/.aws/credentials. When not specified, 'default' is used.
108
- # @option options [Integer] :retry_limit (3)
109
- # The maximum number of times to retry failed requests. Only
110
- # ~ 500 level server errors and certain ~ 400 level client errors
111
- # are retried. Generally, these are throttling errors, data
112
- # checksum errors, networking errors, timeout errors and auth
113
- # errors from expired credentials.
114
- # @option options [String] :secret_access_key
115
- # @option options [String] :session_token
116
- # @option options [Boolean] :simple_json (false)
117
- # Disables request parameter conversion, validation, and formatting.
118
- # Also disable response data type conversions. This option is useful
119
- # when you want to ensure the highest level of performance by
120
- # avoiding overhead of walking request parameters and response data
121
- # structures.
122
- #
123
- # When `:simple_json` is enabled, the request parameters hash must
124
- # be formatted exactly as the DynamoDB API expects.
125
- # @option options [Boolean] :stub_responses (false)
126
- # Causes the client to return stubbed responses. By default
127
- # fake responses are generated and returned. You can specify
128
- # the response data to return or errors to raise by calling
129
- # {ClientStubs#stub_responses}. See {ClientStubs} for more information.
130
- #
131
- # ** Please note ** When response stubbing is enabled, no HTTP
132
- # requests are made, and retries are disabled.
133
- # @option options [Boolean] :validate_params (true)
134
- # When `true`, request parameters are validated before
135
- # sending the request.
136
- def initialize(*args)
137
- super
138
- end
26
+ module Aws::ApplicationDiscoveryService
27
+ class Client < Seahorse::Client::Base
139
28
 
140
- # @!group API Operations
141
-
142
- # Creates one or more tags for configuration items. Tags are metadata
143
- # that help you categorize IT assets. This API accepts a list of
144
- # multiple configuration items.
145
- # @option params [required, Array<String>] :configuration_ids
146
- # A list of configuration items that you want to tag.
147
- # @option params [required, Array<Types::Tag>] :tags
148
- # Tags that you want to associate with one or more configuration items.
149
- # Specify the tags that you want to create in a *key*-*value* format.
150
- # For example:
151
- #
152
- # `\{"key": "serverType", "value": "webServer"\}`
153
- # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
154
- #
155
- # @example Request syntax with placeholder values
156
- # resp = client.create_tags({
157
- # configuration_ids: ["ConfigurationId"], # required
158
- # tags: [ # required
159
- # {
160
- # key: "TagKey", # required
161
- # value: "TagValue", # required
162
- # },
163
- # ],
164
- # })
165
- # @overload create_tags(params = {})
166
- # @param [Hash] params ({})
167
- def create_tags(params = {}, options = {})
168
- req = build_request(:create_tags, params)
169
- req.send_request(options)
170
- end
29
+ include Aws::ClientStubs
171
30
 
172
- # Deletes the association between configuration items and one or more
173
- # tags. This API accepts a list of multiple configuration items.
174
- # @option params [required, Array<String>] :configuration_ids
175
- # A list of configuration items with tags that you want to delete.
176
- # @option params [Array<Types::Tag>] :tags
177
- # Tags that you want to delete from one or more configuration items.
178
- # Specify the tags that you want to delete in a *key*-*value* format.
179
- # For example:
180
- #
181
- # `\{"key": "serverType", "value": "webServer"\}`
182
- # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
183
- #
184
- # @example Request syntax with placeholder values
185
- # resp = client.delete_tags({
186
- # configuration_ids: ["ConfigurationId"], # required
187
- # tags: [
188
- # {
189
- # key: "TagKey", # required
190
- # value: "TagValue", # required
191
- # },
192
- # ],
193
- # })
194
- # @overload delete_tags(params = {})
195
- # @param [Hash] params ({})
196
- def delete_tags(params = {}, options = {})
197
- req = build_request(:delete_tags, params)
198
- req.send_request(options)
199
- end
31
+ @identifier = :applicationdiscoveryservice
200
32
 
201
- # Lists AWS agents by ID or lists all agents associated with your user
202
- # account if you did not specify an agent ID.
203
- # @option params [Array<String>] :agent_ids
204
- # The agent IDs for which you want information. If you specify no IDs,
205
- # the system returns information about all agents associated with your
206
- # AWS user account.
207
- # @option params [Integer] :max_results
208
- # The total number of agents to return. The maximum value is 100.
209
- # @option params [String] :next_token
210
- # A token to start the list. Use this token to get the next set of
211
- # results.
212
- # @return [Types::DescribeAgentsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
213
- #
214
- # * {Types::DescribeAgentsResponse#agents_info #agentsInfo} => Array&lt;Types::AgentInfo&gt;
215
- # * {Types::DescribeAgentsResponse#next_token #nextToken} => String
216
- #
217
- # @example Request syntax with placeholder values
218
- # resp = client.describe_agents({
219
- # agent_ids: ["AgentId"],
220
- # max_results: 1,
221
- # next_token: "NextToken",
222
- # })
223
- #
224
- # @example Response structure
225
- # resp.agents_info #=> Array
226
- # resp.agents_info[0].agent_id #=> String
227
- # resp.agents_info[0].host_name #=> String
228
- # resp.agents_info[0].agent_network_info_list #=> Array
229
- # resp.agents_info[0].agent_network_info_list[0].ip_address #=> String
230
- # resp.agents_info[0].agent_network_info_list[0].mac_address #=> String
231
- # resp.agents_info[0].connector_id #=> String
232
- # resp.agents_info[0].version #=> String
233
- # resp.agents_info[0].health #=> String, one of "HEALTHY", "UNHEALTHY", "RUNNING", "UNKNOWN", "BLACKLISTED", "SHUTDOWN"
234
- # resp.next_token #=> String
235
- # @overload describe_agents(params = {})
236
- # @param [Hash] params ({})
237
- def describe_agents(params = {}, options = {})
238
- req = build_request(:describe_agents, params)
239
- req.send_request(options)
240
- end
33
+ set_api(ClientApi::API)
241
34
 
242
- # Retrieves a list of attributes for a specific configuration ID. For
243
- # example, the output for a *server* configuration item includes a list
244
- # of attributes about the server, including host name, operating system,
245
- # number of network cards, etc.
246
- # @option params [required, Array<String>] :configuration_ids
247
- # One or more configuration IDs.
248
- # @return [Types::DescribeConfigurationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
249
- #
250
- # * {Types::DescribeConfigurationsResponse#configurations #configurations} => Array&lt;Hash&lt;String,String&gt;&gt;
251
- #
252
- # @example Request syntax with placeholder values
253
- # resp = client.describe_configurations({
254
- # configuration_ids: ["ConfigurationId"], # required
255
- # })
256
- #
257
- # @example Response structure
258
- # resp.configurations #=> Array
259
- # resp.configurations[0] #=> Hash
260
- # resp.configurations[0]["String"] #=> String
261
- # @overload describe_configurations(params = {})
262
- # @param [Hash] params ({})
263
- def describe_configurations(params = {}, options = {})
264
- req = build_request(:describe_configurations, params)
265
- req.send_request(options)
266
- end
35
+ add_plugin(Seahorse::Client::Plugins::ContentLength)
36
+ add_plugin(Aws::Plugins::CredentialsConfiguration)
37
+ add_plugin(Aws::Plugins::Logging)
38
+ add_plugin(Aws::Plugins::ParamConverter)
39
+ add_plugin(Aws::Plugins::ParamValidator)
40
+ add_plugin(Aws::Plugins::UserAgent)
41
+ add_plugin(Aws::Plugins::HelpfulSocketErrors)
42
+ add_plugin(Aws::Plugins::RetryErrors)
43
+ add_plugin(Aws::Plugins::GlobalConfiguration)
44
+ add_plugin(Aws::Plugins::RegionalEndpoint)
45
+ add_plugin(Aws::Plugins::ResponsePaging)
46
+ add_plugin(Aws::Plugins::StubResponses)
47
+ add_plugin(Aws::Plugins::IdempotencyToken)
48
+ add_plugin(Aws::Plugins::SignatureV4)
49
+ add_plugin(Aws::Plugins::Protocols::JsonRpc)
267
50
 
268
- # Retrieves the status of a given export process. You can retrieve
269
- # status from a maximum of 100 processes.
270
- # @option params [Array<String>] :export_ids
271
- # A unique identifier that you can use to query the export status.
272
- # @option params [Integer] :max_results
273
- # The maximum number of results that you want to display as a part of
274
- # the query.
275
- # @option params [String] :next_token
276
- # A token to get the next set of results. For example, if you specified
277
- # 100 IDs for `DescribeConfigurationsRequest$configurationIds` but set
278
- # `DescribeExportConfigurationsRequest$maxResults` to 10, you will get
279
- # results in a set of 10. Use the token in the query to get the next set
280
- # of 10.
281
- # @return [Types::DescribeExportConfigurationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
282
- #
283
- # * {Types::DescribeExportConfigurationsResponse#exports_info #exportsInfo} => Array&lt;Types::ExportInfo&gt;
284
- # * {Types::DescribeExportConfigurationsResponse#next_token #nextToken} => String
285
- #
286
- # @example Request syntax with placeholder values
287
- # resp = client.describe_export_configurations({
288
- # export_ids: ["ConfigurationsExportId"],
289
- # max_results: 1,
290
- # next_token: "NextToken",
291
- # })
292
- #
293
- # @example Response structure
294
- # resp.exports_info #=> Array
295
- # resp.exports_info[0].export_id #=> String
296
- # resp.exports_info[0].export_status #=> String, one of "FAILED", "SUCCEEDED", "IN_PROGRESS"
297
- # resp.exports_info[0].status_message #=> String
298
- # resp.exports_info[0].configurations_download_url #=> String
299
- # resp.exports_info[0].export_request_time #=> Time
300
- # resp.next_token #=> String
301
- # @overload describe_export_configurations(params = {})
302
- # @param [Hash] params ({})
303
- def describe_export_configurations(params = {}, options = {})
304
- req = build_request(:describe_export_configurations, params)
305
- req.send_request(options)
306
- end
51
+ # @option options [required, Aws::CredentialProvider] :credentials
52
+ # Your AWS credentials. This can be an instance of any one of the
53
+ # following classes:
54
+ #
55
+ # * `Aws::Credentials` - Used for configuring static, non-refreshing
56
+ # credentials.
57
+ #
58
+ # * `Aws::InstanceProfileCredentials` - Used for loading credentials
59
+ # from an EC2 IMDS on an EC2 instance.
60
+ #
61
+ # * `Aws::SharedCredentials` - Used for loading credentials from a
62
+ # shared file, such as `~/.aws/config`.
63
+ #
64
+ # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
65
+ #
66
+ # When `:credentials` are not configured directly, the following
67
+ # locations will be searched for credentials:
68
+ #
69
+ # * `Aws.config[:credentials]`
70
+ # * The `:access_key_id`, `:secret_access_key`, and `:session_token` options.
71
+ # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
72
+ # * `~/.aws/credentials`
73
+ # * `~/.aws/config`
74
+ # * EC2 IMDS instance profile - When used by default, the timeouts are
75
+ # very aggressive. Construct and pass an instance of
76
+ # `Aws::InstanceProfileCredentails` to enable retries and extended
77
+ # timeouts.
78
+ #
79
+ # @option options [required, String] :region
80
+ # The AWS region to connect to. The configured `:region` is
81
+ # used to determine the service `:endpoint`. When not passed,
82
+ # a default `:region` is search for in the following locations:
83
+ #
84
+ # * `Aws.config[:region]`
85
+ # * `ENV['AWS_REGION']`
86
+ # * `ENV['AMAZON_REGION']`
87
+ # * `ENV['AWS_DEFAULT_REGION']`
88
+ # * `~/.aws/credentials`
89
+ # * `~/.aws/config`
90
+ #
91
+ # @option options [String] :access_key_id
92
+ #
93
+ # @option options [Boolean] :convert_params (true)
94
+ # When `true`, an attempt is made to coerce request parameters into
95
+ # the required types.
96
+ #
97
+ # @option options [String] :endpoint
98
+ # The client endpoint is normally constructed from the `:region`
99
+ # option. You should only configure an `:endpoint` when connecting
100
+ # to test endpoints. This should be avalid HTTP(S) URI.
101
+ #
102
+ # @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
103
+ # The log formatter.
104
+ #
105
+ # @option options [Symbol] :log_level (:info)
106
+ # The log level to send messages to the `:logger` at.
107
+ #
108
+ # @option options [Logger] :logger
109
+ # The Logger instance to send log messages to. If this option
110
+ # is not set, logging will be disabled.
111
+ #
112
+ # @option options [String] :profile ("default")
113
+ # Used when loading credentials from the shared credentials file
114
+ # at HOME/.aws/credentials. When not specified, 'default' is used.
115
+ #
116
+ # @option options [Integer] :retry_limit (3)
117
+ # The maximum number of times to retry failed requests. Only
118
+ # ~ 500 level server errors and certain ~ 400 level client errors
119
+ # are retried. Generally, these are throttling errors, data
120
+ # checksum errors, networking errors, timeout errors and auth
121
+ # errors from expired credentials.
122
+ #
123
+ # @option options [String] :secret_access_key
124
+ #
125
+ # @option options [String] :session_token
126
+ #
127
+ # @option options [Boolean] :simple_json (false)
128
+ # Disables request parameter conversion, validation, and formatting.
129
+ # Also disable response data type conversions. This option is useful
130
+ # when you want to ensure the highest level of performance by
131
+ # avoiding overhead of walking request parameters and response data
132
+ # structures.
133
+ #
134
+ # When `:simple_json` is enabled, the request parameters hash must
135
+ # be formatted exactly as the DynamoDB API expects.
136
+ #
137
+ # @option options [Boolean] :stub_responses (false)
138
+ # Causes the client to return stubbed responses. By default
139
+ # fake responses are generated and returned. You can specify
140
+ # the response data to return or errors to raise by calling
141
+ # {ClientStubs#stub_responses}. See {ClientStubs} for more information.
142
+ #
143
+ # ** Please note ** When response stubbing is enabled, no HTTP
144
+ # requests are made, and retries are disabled.
145
+ #
146
+ # @option options [Boolean] :validate_params (true)
147
+ # When `true`, request parameters are validated before
148
+ # sending the request.
149
+ #
150
+ def initialize(*args)
151
+ super
152
+ end
307
153
 
308
- # Retrieves a list of configuration items that are tagged with a
309
- # specific tag. Or retrieves a list of all tags assigned to a specific
310
- # configuration item.
311
- # @option params [Array<Types::TagFilter>] :filters
312
- # You can filter the list using a *key*-*value* format. You can separate
313
- # these items by using logical operators. Allowed filters include
314
- # `tagKey`, `tagValue`, and `configurationId`.
315
- # @option params [Integer] :max_results
316
- # The total number of items to return. The maximum value is 100.
317
- # @option params [String] :next_token
318
- # A token to start the list. Use this token to get the next set of
319
- # results.
320
- # @return [Types::DescribeTagsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
321
- #
322
- # * {Types::DescribeTagsResponse#tags #tags} => Array&lt;Types::ConfigurationTag&gt;
323
- # * {Types::DescribeTagsResponse#next_token #nextToken} => String
324
- #
325
- # @example Request syntax with placeholder values
326
- # resp = client.describe_tags({
327
- # filters: [
328
- # {
329
- # name: "FilterName", # required
330
- # values: ["FilterValue"], # required
331
- # },
332
- # ],
333
- # max_results: 1,
334
- # next_token: "NextToken",
335
- # })
336
- #
337
- # @example Response structure
338
- # resp.tags #=> Array
339
- # resp.tags[0].configuration_type #=> String, one of "SERVER", "PROCESS", "CONNECTION"
340
- # resp.tags[0].configuration_id #=> String
341
- # resp.tags[0].key #=> String
342
- # resp.tags[0].value #=> String
343
- # resp.tags[0].time_of_creation #=> Time
344
- # resp.next_token #=> String
345
- # @overload describe_tags(params = {})
346
- # @param [Hash] params ({})
347
- def describe_tags(params = {}, options = {})
348
- req = build_request(:describe_tags, params)
349
- req.send_request(options)
350
- end
154
+ # @!group API Operations
351
155
 
352
- # Exports all discovered configuration data to an Amazon S3 bucket or an
353
- # application that enables you to view and evaluate the data. Data
354
- # includes tags and tag associations, processes, connections, servers,
355
- # and system performance. This API returns an export ID which you can
356
- # query using the *GetExportStatus* API. The system imposes a limit of
357
- # two configuration exports in six hours.
358
- # @return [Types::ExportConfigurationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
359
- #
360
- # * {Types::ExportConfigurationsResponse#export_id #exportId} => String
361
- #
362
- # @example Response structure
363
- # resp.export_id #=> String
364
- # @overload export_configurations(params = {})
365
- # @param [Hash] params ({})
366
- def export_configurations(params = {}, options = {})
367
- req = build_request(:export_configurations, params)
368
- req.send_request(options)
369
- end
156
+ # Associates one or more configuration items with an application.
157
+ #
158
+ # @option params [required, String] :application_configuration_id
159
+ # The configuration ID of an application with which items are to be
160
+ # associated.
161
+ #
162
+ # @option params [required, Array<String>] :configuration_ids
163
+ # The ID of each configuration item to be associated with an
164
+ # application.
165
+ #
166
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
167
+ #
168
+ # @example Request syntax with placeholder values
169
+ #
170
+ # resp = client.associate_configuration_items_to_application({
171
+ # application_configuration_id: "ApplicationId", # required
172
+ # configuration_ids: ["ConfigurationId"], # required
173
+ # })
174
+ #
175
+ # @overload associate_configuration_items_to_application(params = {})
176
+ # @param [Hash] params ({})
177
+ def associate_configuration_items_to_application(params = {}, options = {})
178
+ req = build_request(:associate_configuration_items_to_application, params)
179
+ req.send_request(options)
180
+ end
370
181
 
371
- # Retrieves a list of configurations items according to the criteria you
372
- # specify in a filter. The filter criteria identify relationship
373
- # requirements.
374
- # @option params [required, String] :configuration_type
375
- # A valid configuration identified by the Discovery Service.
376
- # @option params [Array<Types::Filter>] :filters
377
- # You can filter the list using a *key*-*value* format. For example:
378
- #
379
- # `\{"key": "serverType", "value": "webServer"\}`
380
- #
381
- # You can separate these items by using logical operators.
382
- # @option params [Integer] :max_results
383
- # The total number of items to return. The maximum value is 100.
384
- # @option params [String] :next_token
385
- # A token to start the list. Use this token to get the next set of
386
- # results.
387
- # @return [Types::ListConfigurationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
388
- #
389
- # * {Types::ListConfigurationsResponse#configurations #configurations} => Array&lt;Hash&lt;String,String&gt;&gt;
390
- # * {Types::ListConfigurationsResponse#next_token #nextToken} => String
391
- #
392
- # @example Request syntax with placeholder values
393
- # resp = client.list_configurations({
394
- # configuration_type: "SERVER", # required, accepts SERVER, PROCESS, CONNECTION
395
- # filters: [
396
- # {
397
- # name: "String", # required
398
- # values: ["FilterValue"], # required
399
- # condition: "Condition", # required
400
- # },
401
- # ],
402
- # max_results: 1,
403
- # next_token: "NextToken",
404
- # })
405
- #
406
- # @example Response structure
407
- # resp.configurations #=> Array
408
- # resp.configurations[0] #=> Hash
409
- # resp.configurations[0]["String"] #=> String
410
- # resp.next_token #=> String
411
- # @overload list_configurations(params = {})
412
- # @param [Hash] params ({})
413
- def list_configurations(params = {}, options = {})
414
- req = build_request(:list_configurations, params)
415
- req.send_request(options)
416
- end
182
+ # Creates an application with the given name and description.
183
+ #
184
+ # @option params [required, String] :name
185
+ # Name of the application to be created.
186
+ #
187
+ # @option params [String] :description
188
+ # Description of the application to be created.
189
+ #
190
+ # @return [Types::CreateApplicationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
191
+ #
192
+ # * {Types::CreateApplicationResponse#configuration_id #configuration_id} => String
193
+ #
194
+ # @example Request syntax with placeholder values
195
+ #
196
+ # resp = client.create_application({
197
+ # name: "String", # required
198
+ # description: "String",
199
+ # })
200
+ #
201
+ # @example Response structure
202
+ #
203
+ # resp.configuration_id #=> String
204
+ #
205
+ # @overload create_application(params = {})
206
+ # @param [Hash] params ({})
207
+ def create_application(params = {}, options = {})
208
+ req = build_request(:create_application, params)
209
+ req.send_request(options)
210
+ end
417
211
 
418
- # Instructs the specified agents to start collecting data. Agents can
419
- # reside on host servers or virtual machines in your data center.
420
- # @option params [required, Array<String>] :agent_ids
421
- # The IDs of the agents that you want to start collecting data. If you
422
- # send a request to an AWS agent ID that you do not have permission to
423
- # contact, according to your AWS account, the service does not throw an
424
- # exception. Instead, it returns the error in the *Description* field.
425
- # If you send a request to multiple agents and you do not have
426
- # permission to contact some of those agents, the system does not throw
427
- # an exception. Instead, the system shows `Failed` in the *Description*
428
- # field.
429
- # @return [Types::StartDataCollectionByAgentIdsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
430
- #
431
- # * {Types::StartDataCollectionByAgentIdsResponse#agents_configuration_status #agentsConfigurationStatus} => Array&lt;Types::AgentConfigurationStatus&gt;
432
- #
433
- # @example Request syntax with placeholder values
434
- # resp = client.start_data_collection_by_agent_ids({
435
- # agent_ids: ["AgentId"], # required
436
- # })
437
- #
438
- # @example Response structure
439
- # resp.agents_configuration_status #=> Array
440
- # resp.agents_configuration_status[0].agent_id #=> String
441
- # resp.agents_configuration_status[0].operation_succeeded #=> Boolean
442
- # resp.agents_configuration_status[0].description #=> String
443
- # @overload start_data_collection_by_agent_ids(params = {})
444
- # @param [Hash] params ({})
445
- def start_data_collection_by_agent_ids(params = {}, options = {})
446
- req = build_request(:start_data_collection_by_agent_ids, params)
447
- req.send_request(options)
448
- end
212
+ # Creates one or more tags for configuration items. Tags are metadata
213
+ # that help you categorize IT assets. This API accepts a list of
214
+ # multiple configuration items.
215
+ #
216
+ # @option params [required, Array<String>] :configuration_ids
217
+ # A list of configuration items that you want to tag.
218
+ #
219
+ # @option params [required, Array<Types::Tag>] :tags
220
+ # Tags that you want to associate with one or more configuration items.
221
+ # Specify the tags that you want to create in a *key*-*value* format.
222
+ # For example:
223
+ #
224
+ # `\{"key": "serverType", "value": "webServer"\}`
225
+ #
226
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
227
+ #
228
+ # @example Request syntax with placeholder values
229
+ #
230
+ # resp = client.create_tags({
231
+ # configuration_ids: ["ConfigurationId"], # required
232
+ # tags: [ # required
233
+ # {
234
+ # key: "TagKey", # required
235
+ # value: "TagValue", # required
236
+ # },
237
+ # ],
238
+ # })
239
+ #
240
+ # @overload create_tags(params = {})
241
+ # @param [Hash] params ({})
242
+ def create_tags(params = {}, options = {})
243
+ req = build_request(:create_tags, params)
244
+ req.send_request(options)
245
+ end
449
246
 
450
- # Instructs the specified agents to stop collecting data.
451
- # @option params [required, Array<String>] :agent_ids
452
- # The IDs of the agents that you want to stop collecting data.
453
- # @return [Types::StopDataCollectionByAgentIdsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
454
- #
455
- # * {Types::StopDataCollectionByAgentIdsResponse#agents_configuration_status #agentsConfigurationStatus} => Array&lt;Types::AgentConfigurationStatus&gt;
456
- #
457
- # @example Request syntax with placeholder values
458
- # resp = client.stop_data_collection_by_agent_ids({
459
- # agent_ids: ["AgentId"], # required
460
- # })
461
- #
462
- # @example Response structure
463
- # resp.agents_configuration_status #=> Array
464
- # resp.agents_configuration_status[0].agent_id #=> String
465
- # resp.agents_configuration_status[0].operation_succeeded #=> Boolean
466
- # resp.agents_configuration_status[0].description #=> String
467
- # @overload stop_data_collection_by_agent_ids(params = {})
468
- # @param [Hash] params ({})
469
- def stop_data_collection_by_agent_ids(params = {}, options = {})
470
- req = build_request(:stop_data_collection_by_agent_ids, params)
471
- req.send_request(options)
472
- end
247
+ # Deletes a list of applications and their associations with
248
+ # configuration items.
249
+ #
250
+ # @option params [required, Array<String>] :configuration_ids
251
+ # Configuration ID of an application to be deleted.
252
+ #
253
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
254
+ #
255
+ # @example Request syntax with placeholder values
256
+ #
257
+ # resp = client.delete_applications({
258
+ # configuration_ids: ["ApplicationId"], # required
259
+ # })
260
+ #
261
+ # @overload delete_applications(params = {})
262
+ # @param [Hash] params ({})
263
+ def delete_applications(params = {}, options = {})
264
+ req = build_request(:delete_applications, params)
265
+ req.send_request(options)
266
+ end
473
267
 
474
- # @!endgroup
268
+ # Deletes the association between configuration items and one or more
269
+ # tags. This API accepts a list of multiple configuration items.
270
+ #
271
+ # @option params [required, Array<String>] :configuration_ids
272
+ # A list of configuration items with tags that you want to delete.
273
+ #
274
+ # @option params [Array<Types::Tag>] :tags
275
+ # Tags that you want to delete from one or more configuration items.
276
+ # Specify the tags that you want to delete in a *key*-*value* format.
277
+ # For example:
278
+ #
279
+ # `\{"key": "serverType", "value": "webServer"\}`
280
+ #
281
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
282
+ #
283
+ # @example Request syntax with placeholder values
284
+ #
285
+ # resp = client.delete_tags({
286
+ # configuration_ids: ["ConfigurationId"], # required
287
+ # tags: [
288
+ # {
289
+ # key: "TagKey", # required
290
+ # value: "TagValue", # required
291
+ # },
292
+ # ],
293
+ # })
294
+ #
295
+ # @overload delete_tags(params = {})
296
+ # @param [Hash] params ({})
297
+ def delete_tags(params = {}, options = {})
298
+ req = build_request(:delete_tags, params)
299
+ req.send_request(options)
300
+ end
475
301
 
476
- # @param params ({})
477
- # @api private
478
- def build_request(operation_name, params = {})
479
- handlers = @handlers.for(operation_name)
480
- context = Seahorse::Client::RequestContext.new(
481
- operation_name: operation_name,
482
- operation: config.api.operation(operation_name),
483
- client: self,
484
- params: params,
485
- config: config)
486
- context[:gem_name] = 'aws-sdk-applicationdiscoveryservice'
487
- context[:gem_version] = '1.0.0.rc1'
488
- Seahorse::Client::Request.new(handlers, context)
489
- end
302
+ # Lists agents or the Connector by ID or lists all agents/Connectors
303
+ # associated with your user account if you did not specify an ID.
304
+ #
305
+ # @option params [Array<String>] :agent_ids
306
+ # The agent or the Connector IDs for which you want information. If you
307
+ # specify no IDs, the system returns information about all
308
+ # agents/Connectors associated with your AWS user account.
309
+ #
310
+ # @option params [Array<Types::Filter>] :filters
311
+ # You can filter the request using various logical operators and a
312
+ # *key*-*value* format. For example:
313
+ #
314
+ # `\{"key": "collectionStatus", "value": "STARTED"\}`
315
+ #
316
+ # For a complete list of filter options and guidance about using them
317
+ # with this action, see [Managing AWS Application Discovery Service
318
+ # Agents and the AWS Application Discovery Connector ][1].
319
+ #
320
+ #
321
+ #
322
+ # [1]: http://docs.aws.amazon.com/application-discovery/latest/APIReference/managing-agent.html
323
+ #
324
+ # @option params [Integer] :max_results
325
+ # The total number of agents/Connectors to return in a single page of
326
+ # output. The maximum value is 100.
327
+ #
328
+ # @option params [String] :next_token
329
+ # Token to retrieve the next set of results. For example, if you
330
+ # previously specified 100 IDs for `DescribeAgentsRequest$agentIds` but
331
+ # set `DescribeAgentsRequest$maxResults` to 10, you received a set of 10
332
+ # results along with a token. Use that token in this query to get the
333
+ # next set of 10.
334
+ #
335
+ # @return [Types::DescribeAgentsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
336
+ #
337
+ # * {Types::DescribeAgentsResponse#agents_info #agents_info} => Array&lt;Types::AgentInfo&gt;
338
+ # * {Types::DescribeAgentsResponse#next_token #next_token} => String
339
+ #
340
+ # @example Request syntax with placeholder values
341
+ #
342
+ # resp = client.describe_agents({
343
+ # agent_ids: ["AgentId"],
344
+ # filters: [
345
+ # {
346
+ # name: "String", # required
347
+ # values: ["FilterValue"], # required
348
+ # condition: "Condition", # required
349
+ # },
350
+ # ],
351
+ # max_results: 1,
352
+ # next_token: "NextToken",
353
+ # })
354
+ #
355
+ # @example Response structure
356
+ #
357
+ # resp.agents_info #=> Array
358
+ # resp.agents_info[0].agent_id #=> String
359
+ # resp.agents_info[0].host_name #=> String
360
+ # resp.agents_info[0].agent_network_info_list #=> Array
361
+ # resp.agents_info[0].agent_network_info_list[0].ip_address #=> String
362
+ # resp.agents_info[0].agent_network_info_list[0].mac_address #=> String
363
+ # resp.agents_info[0].connector_id #=> String
364
+ # resp.agents_info[0].version #=> String
365
+ # resp.agents_info[0].health #=> String, one of "HEALTHY", "UNHEALTHY", "RUNNING", "UNKNOWN", "BLACKLISTED", "SHUTDOWN"
366
+ # resp.agents_info[0].last_health_ping_time #=> String
367
+ # resp.agents_info[0].collection_status #=> String
368
+ # resp.agents_info[0].agent_type #=> String
369
+ # resp.agents_info[0].registered_time #=> String
370
+ # resp.next_token #=> String
371
+ #
372
+ # @overload describe_agents(params = {})
373
+ # @param [Hash] params ({})
374
+ def describe_agents(params = {}, options = {})
375
+ req = build_request(:describe_agents, params)
376
+ req.send_request(options)
377
+ end
490
378
 
491
- # @api private
492
- # @deprecated
493
- def waiter_names
494
- []
495
- end
379
+ # Retrieves attributes for a list of configuration item IDs. All of the
380
+ # supplied IDs must be for the same asset type (server, application,
381
+ # process, or connection). Output fields are specific to the asset type
382
+ # selected. For example, the output for a *server* configuration item
383
+ # includes a list of attributes about the server, such as host name,
384
+ # operating system, and number of network cards.
385
+ #
386
+ # For a complete list of outputs for each asset type, see [Querying
387
+ # Discovered Configuration Items][1].
388
+ #
389
+ #
390
+ #
391
+ # [1]: http://docs.aws.amazon.com/application-discovery/latest/APIReference/querying-configuration-items.html#DescribeConfigurations
392
+ #
393
+ # @option params [required, Array<String>] :configuration_ids
394
+ # One or more configuration IDs.
395
+ #
396
+ # @return [Types::DescribeConfigurationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
397
+ #
398
+ # * {Types::DescribeConfigurationsResponse#configurations #configurations} => Array&lt;Hash&lt;String,String&gt;&gt;
399
+ #
400
+ # @example Request syntax with placeholder values
401
+ #
402
+ # resp = client.describe_configurations({
403
+ # configuration_ids: ["ConfigurationId"], # required
404
+ # })
405
+ #
406
+ # @example Response structure
407
+ #
408
+ # resp.configurations #=> Array
409
+ # resp.configurations[0] #=> Hash
410
+ # resp.configurations[0]["String"] #=> String
411
+ #
412
+ # @overload describe_configurations(params = {})
413
+ # @param [Hash] params ({})
414
+ def describe_configurations(params = {}, options = {})
415
+ req = build_request(:describe_configurations, params)
416
+ req.send_request(options)
417
+ end
418
+
419
+ # Retrieves the status of a given export process. You can retrieve
420
+ # status from a maximum of 100 processes.
421
+ #
422
+ # @option params [Array<String>] :export_ids
423
+ # A unique identifier that you can use to query the export status.
424
+ #
425
+ # @option params [Integer] :max_results
426
+ # The maximum number of results that you want to display as a part of
427
+ # the query.
428
+ #
429
+ # @option params [String] :next_token
430
+ # A token to get the next set of results. For example, if you specified
431
+ # 100 IDs for `DescribeExportConfigurationsRequest$exportIds` but set
432
+ # `DescribeExportConfigurationsRequest$maxResults` to 10, you will get
433
+ # results in a set of 10. Use the token in the query to get the next set
434
+ # of 10.
435
+ #
436
+ # @return [Types::DescribeExportConfigurationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
437
+ #
438
+ # * {Types::DescribeExportConfigurationsResponse#exports_info #exports_info} => Array&lt;Types::ExportInfo&gt;
439
+ # * {Types::DescribeExportConfigurationsResponse#next_token #next_token} => String
440
+ #
441
+ # @example Request syntax with placeholder values
442
+ #
443
+ # resp = client.describe_export_configurations({
444
+ # export_ids: ["ConfigurationsExportId"],
445
+ # max_results: 1,
446
+ # next_token: "NextToken",
447
+ # })
448
+ #
449
+ # @example Response structure
450
+ #
451
+ # resp.exports_info #=> Array
452
+ # resp.exports_info[0].export_id #=> String
453
+ # resp.exports_info[0].export_status #=> String, one of "FAILED", "SUCCEEDED", "IN_PROGRESS"
454
+ # resp.exports_info[0].status_message #=> String
455
+ # resp.exports_info[0].configurations_download_url #=> String
456
+ # resp.exports_info[0].export_request_time #=> Time
457
+ # resp.next_token #=> String
458
+ #
459
+ # @overload describe_export_configurations(params = {})
460
+ # @param [Hash] params ({})
461
+ def describe_export_configurations(params = {}, options = {})
462
+ req = build_request(:describe_export_configurations, params)
463
+ req.send_request(options)
464
+ end
496
465
 
497
- class << self
466
+ # Retrieves a list of configuration items that are tagged with a
467
+ # specific tag. Or retrieves a list of all tags assigned to a specific
468
+ # configuration item.
469
+ #
470
+ # @option params [Array<Types::TagFilter>] :filters
471
+ # You can filter the list using a *key*-*value* format. You can separate
472
+ # these items by using logical operators. Allowed filters include
473
+ # `tagKey`, `tagValue`, and `configurationId`.
474
+ #
475
+ # For a complete list of filter options and guidance about using them
476
+ # with this action, see [Managing AWS Application Discovery Service
477
+ # Agents and the AWS Application Discovery Connector ][1].
478
+ #
479
+ #
480
+ #
481
+ # [1]: http://docs.aws.amazon.com/application-discovery/latest/APIReference/managing-agents.html
482
+ #
483
+ # @option params [Integer] :max_results
484
+ # The total number of items to return in a single page of output. The
485
+ # maximum value is 100.
486
+ #
487
+ # @option params [String] :next_token
488
+ # A token to start the list. Use this token to get the next set of
489
+ # results.
490
+ #
491
+ # @return [Types::DescribeTagsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
492
+ #
493
+ # * {Types::DescribeTagsResponse#tags #tags} => Array&lt;Types::ConfigurationTag&gt;
494
+ # * {Types::DescribeTagsResponse#next_token #next_token} => String
495
+ #
496
+ # @example Request syntax with placeholder values
497
+ #
498
+ # resp = client.describe_tags({
499
+ # filters: [
500
+ # {
501
+ # name: "FilterName", # required
502
+ # values: ["FilterValue"], # required
503
+ # },
504
+ # ],
505
+ # max_results: 1,
506
+ # next_token: "NextToken",
507
+ # })
508
+ #
509
+ # @example Response structure
510
+ #
511
+ # resp.tags #=> Array
512
+ # resp.tags[0].configuration_type #=> String, one of "SERVER", "PROCESS", "CONNECTION", "APPLICATION"
513
+ # resp.tags[0].configuration_id #=> String
514
+ # resp.tags[0].key #=> String
515
+ # resp.tags[0].value #=> String
516
+ # resp.tags[0].time_of_creation #=> Time
517
+ # resp.next_token #=> String
518
+ #
519
+ # @overload describe_tags(params = {})
520
+ # @param [Hash] params ({})
521
+ def describe_tags(params = {}, options = {})
522
+ req = build_request(:describe_tags, params)
523
+ req.send_request(options)
524
+ end
525
+
526
+ # Disassociates one or more configuration items from an application.
527
+ #
528
+ # @option params [required, String] :application_configuration_id
529
+ # Configuration ID of an application from which each item will be
530
+ # disassociated.
531
+ #
532
+ # @option params [required, Array<String>] :configuration_ids
533
+ # Configuration ID of each item be be disassociated from an application.
534
+ #
535
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
536
+ #
537
+ # @example Request syntax with placeholder values
538
+ #
539
+ # resp = client.disassociate_configuration_items_from_application({
540
+ # application_configuration_id: "ApplicationId", # required
541
+ # configuration_ids: ["ConfigurationId"], # required
542
+ # })
543
+ #
544
+ # @overload disassociate_configuration_items_from_application(params = {})
545
+ # @param [Hash] params ({})
546
+ def disassociate_configuration_items_from_application(params = {}, options = {})
547
+ req = build_request(:disassociate_configuration_items_from_application, params)
548
+ req.send_request(options)
549
+ end
498
550
 
499
- # @api private
500
- attr_reader :identifier
551
+ # Exports all discovered configuration data to an Amazon S3 bucket or an
552
+ # application that enables you to view and evaluate the data. Data
553
+ # includes tags and tag associations, processes, connections, servers,
554
+ # and system performance. This API returns an export ID which you can
555
+ # query using the *DescribeExportConfigurations* API. The system imposes
556
+ # a limit of two configuration exports in six hours.
557
+ #
558
+ # @return [Types::ExportConfigurationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
559
+ #
560
+ # * {Types::ExportConfigurationsResponse#export_id #export_id} => String
561
+ #
562
+ # @example Response structure
563
+ #
564
+ # resp.export_id #=> String
565
+ #
566
+ # @overload export_configurations(params = {})
567
+ # @param [Hash] params ({})
568
+ def export_configurations(params = {}, options = {})
569
+ req = build_request(:export_configurations, params)
570
+ req.send_request(options)
571
+ end
501
572
 
502
- # @api private
503
- def errors_module
504
- Errors
505
- end
573
+ # Retrieves a short summary of discovered assets.
574
+ #
575
+ # @return [Types::GetDiscoverySummaryResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
576
+ #
577
+ # * {Types::GetDiscoverySummaryResponse#servers #servers} => Integer
578
+ # * {Types::GetDiscoverySummaryResponse#applications #applications} => Integer
579
+ # * {Types::GetDiscoverySummaryResponse#servers_mapped_to_applications #servers_mapped_to_applications} => Integer
580
+ # * {Types::GetDiscoverySummaryResponse#servers_mappedto_tags #servers_mappedto_tags} => Integer
581
+ # * {Types::GetDiscoverySummaryResponse#agent_summary #agent_summary} => Types::CustomerAgentInfo
582
+ # * {Types::GetDiscoverySummaryResponse#connector_summary #connector_summary} => Types::CustomerConnectorInfo
583
+ #
584
+ # @example Response structure
585
+ #
586
+ # resp.servers #=> Integer
587
+ # resp.applications #=> Integer
588
+ # resp.servers_mapped_to_applications #=> Integer
589
+ # resp.servers_mappedto_tags #=> Integer
590
+ # resp.agent_summary.active_agents #=> Integer
591
+ # resp.agent_summary.healthy_agents #=> Integer
592
+ # resp.agent_summary.black_listed_agents #=> Integer
593
+ # resp.agent_summary.shutdown_agents #=> Integer
594
+ # resp.agent_summary.unhealthy_agents #=> Integer
595
+ # resp.agent_summary.total_agents #=> Integer
596
+ # resp.agent_summary.unknown_agents #=> Integer
597
+ # resp.connector_summary.active_connectors #=> Integer
598
+ # resp.connector_summary.healthy_connectors #=> Integer
599
+ # resp.connector_summary.black_listed_connectors #=> Integer
600
+ # resp.connector_summary.shutdown_connectors #=> Integer
601
+ # resp.connector_summary.unhealthy_connectors #=> Integer
602
+ # resp.connector_summary.total_connectors #=> Integer
603
+ # resp.connector_summary.unknown_connectors #=> Integer
604
+ #
605
+ # @overload get_discovery_summary(params = {})
606
+ # @param [Hash] params ({})
607
+ def get_discovery_summary(params = {}, options = {})
608
+ req = build_request(:get_discovery_summary, params)
609
+ req.send_request(options)
610
+ end
611
+
612
+ # Retrieves a list of configuration items according to criteria you
613
+ # specify in a filter. The filter criteria identify relationship
614
+ # requirements.
615
+ #
616
+ # @option params [required, String] :configuration_type
617
+ # A valid configuration identified by the Discovery Service.
618
+ #
619
+ # @option params [Array<Types::Filter>] :filters
620
+ # You can filter the request using various logical operators and a
621
+ # *key*-*value* format. For example:
622
+ #
623
+ # `\{"key": "serverType", "value": "webServer"\}`
624
+ #
625
+ # For a complete list of filter options and guidance about using them
626
+ # with this action, see [Querying Discovered Configuration Items][1].
627
+ #
628
+ #
629
+ #
630
+ # [1]: http://docs.aws.amazon.com/application-discovery/latest/APIReference/querying-configuration-items.html#ListConfigurations
631
+ #
632
+ # @option params [Integer] :max_results
633
+ # The total number of items to return. The maximum value is 100.
634
+ #
635
+ # @option params [String] :next_token
636
+ # Token to retrieve the next set of results. For example, if a previous
637
+ # call to ListConfigurations returned 100 items, but you set
638
+ # `ListConfigurationsRequest$maxResults` to 10, you received a set of 10
639
+ # results along with a token. Use that token in this query to get the
640
+ # next set of 10.
641
+ #
642
+ # @option params [Array<Types::OrderByElement>] :order_by
643
+ # Certain filter criteria return output that can be sorted in ascending
644
+ # or descending order. For a list of output characteristics for each
645
+ # filter, see [Querying Discovered Configuration Items][1].
646
+ #
647
+ #
648
+ #
649
+ # [1]: http://docs.aws.amazon.com/application-discovery/latest/APIReference/querying-configuration-items.html#ListConfigurations
650
+ #
651
+ # @return [Types::ListConfigurationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
652
+ #
653
+ # * {Types::ListConfigurationsResponse#configurations #configurations} => Array&lt;Hash&lt;String,String&gt;&gt;
654
+ # * {Types::ListConfigurationsResponse#next_token #next_token} => String
655
+ #
656
+ # @example Request syntax with placeholder values
657
+ #
658
+ # resp = client.list_configurations({
659
+ # configuration_type: "SERVER", # required, accepts SERVER, PROCESS, CONNECTION, APPLICATION
660
+ # filters: [
661
+ # {
662
+ # name: "String", # required
663
+ # values: ["FilterValue"], # required
664
+ # condition: "Condition", # required
665
+ # },
666
+ # ],
667
+ # max_results: 1,
668
+ # next_token: "NextToken",
669
+ # order_by: [
670
+ # {
671
+ # field_name: "String", # required
672
+ # sort_order: "ASC", # accepts ASC, DESC
673
+ # },
674
+ # ],
675
+ # })
676
+ #
677
+ # @example Response structure
678
+ #
679
+ # resp.configurations #=> Array
680
+ # resp.configurations[0] #=> Hash
681
+ # resp.configurations[0]["String"] #=> String
682
+ # resp.next_token #=> String
683
+ #
684
+ # @overload list_configurations(params = {})
685
+ # @param [Hash] params ({})
686
+ def list_configurations(params = {}, options = {})
687
+ req = build_request(:list_configurations, params)
688
+ req.send_request(options)
689
+ end
690
+
691
+ # Retrieves a list of servers which are one network hop away from a
692
+ # specified server.
693
+ #
694
+ # @option params [required, String] :configuration_id
695
+ # Configuration ID of the server for which neighbors are being listed.
696
+ #
697
+ # @option params [Boolean] :port_information_needed
698
+ # Flag to indicate if port and protocol information is needed as part of
699
+ # the response.
700
+ #
701
+ # @option params [Array<String>] :neighbor_configuration_ids
702
+ # List of configuration IDs to test for one-hop-away.
703
+ #
704
+ # @option params [Integer] :max_results
705
+ # Maximum number of results to return in a single page of output.
706
+ #
707
+ # @option params [String] :next_token
708
+ # Token to retrieve the next set of results. For example, if you
709
+ # previously specified 100 IDs for
710
+ # `ListServerNeighborsRequest$neighborConfigurationIds` but set
711
+ # `ListServerNeighborsRequest$maxResults` to 10, you received a set of
712
+ # 10 results along with a token. Use that token in this query to get the
713
+ # next set of 10.
714
+ #
715
+ # @return [Types::ListServerNeighborsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
716
+ #
717
+ # * {Types::ListServerNeighborsResponse#neighbors #neighbors} => Array&lt;Types::NeighborConnectionDetail&gt;
718
+ # * {Types::ListServerNeighborsResponse#next_token #next_token} => String
719
+ # * {Types::ListServerNeighborsResponse#known_dependency_count #known_dependency_count} => Integer
720
+ #
721
+ # @example Request syntax with placeholder values
722
+ #
723
+ # resp = client.list_server_neighbors({
724
+ # configuration_id: "ConfigurationId", # required
725
+ # port_information_needed: false,
726
+ # neighbor_configuration_ids: ["ConfigurationId"],
727
+ # max_results: 1,
728
+ # next_token: "String",
729
+ # })
730
+ #
731
+ # @example Response structure
732
+ #
733
+ # resp.neighbors #=> Array
734
+ # resp.neighbors[0].source_server_id #=> String
735
+ # resp.neighbors[0].destination_server_id #=> String
736
+ # resp.neighbors[0].destination_port #=> Integer
737
+ # resp.neighbors[0].transport_protocol #=> String
738
+ # resp.neighbors[0].connections_count #=> Integer
739
+ # resp.next_token #=> String
740
+ # resp.known_dependency_count #=> Integer
741
+ #
742
+ # @overload list_server_neighbors(params = {})
743
+ # @param [Hash] params ({})
744
+ def list_server_neighbors(params = {}, options = {})
745
+ req = build_request(:list_server_neighbors, params)
746
+ req.send_request(options)
747
+ end
748
+
749
+ # Instructs the specified agents or Connectors to start collecting data.
750
+ #
751
+ # @option params [required, Array<String>] :agent_ids
752
+ # The IDs of the agents or Connectors that you want to start collecting
753
+ # data. If you send a request to an agent/Connector ID that you do not
754
+ # have permission to contact, according to your AWS account, the service
755
+ # does not throw an exception. Instead, it returns the error in the
756
+ # *Description* field. If you send a request to multiple
757
+ # agents/Connectors and you do not have permission to contact some of
758
+ # those agents/Connectors, the system does not throw an exception.
759
+ # Instead, the system shows `Failed` in the *Description* field.
760
+ #
761
+ # @return [Types::StartDataCollectionByAgentIdsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
762
+ #
763
+ # * {Types::StartDataCollectionByAgentIdsResponse#agents_configuration_status #agents_configuration_status} => Array&lt;Types::AgentConfigurationStatus&gt;
764
+ #
765
+ # @example Request syntax with placeholder values
766
+ #
767
+ # resp = client.start_data_collection_by_agent_ids({
768
+ # agent_ids: ["AgentId"], # required
769
+ # })
770
+ #
771
+ # @example Response structure
772
+ #
773
+ # resp.agents_configuration_status #=> Array
774
+ # resp.agents_configuration_status[0].agent_id #=> String
775
+ # resp.agents_configuration_status[0].operation_succeeded #=> Boolean
776
+ # resp.agents_configuration_status[0].description #=> String
777
+ #
778
+ # @overload start_data_collection_by_agent_ids(params = {})
779
+ # @param [Hash] params ({})
780
+ def start_data_collection_by_agent_ids(params = {}, options = {})
781
+ req = build_request(:start_data_collection_by_agent_ids, params)
782
+ req.send_request(options)
783
+ end
784
+
785
+ # Instructs the specified agents or Connectors to stop collecting data.
786
+ #
787
+ # @option params [required, Array<String>] :agent_ids
788
+ # The IDs of the agents or Connectors that you want to stop collecting
789
+ # data.
790
+ #
791
+ # @return [Types::StopDataCollectionByAgentIdsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
792
+ #
793
+ # * {Types::StopDataCollectionByAgentIdsResponse#agents_configuration_status #agents_configuration_status} => Array&lt;Types::AgentConfigurationStatus&gt;
794
+ #
795
+ # @example Request syntax with placeholder values
796
+ #
797
+ # resp = client.stop_data_collection_by_agent_ids({
798
+ # agent_ids: ["AgentId"], # required
799
+ # })
800
+ #
801
+ # @example Response structure
802
+ #
803
+ # resp.agents_configuration_status #=> Array
804
+ # resp.agents_configuration_status[0].agent_id #=> String
805
+ # resp.agents_configuration_status[0].operation_succeeded #=> Boolean
806
+ # resp.agents_configuration_status[0].description #=> String
807
+ #
808
+ # @overload stop_data_collection_by_agent_ids(params = {})
809
+ # @param [Hash] params ({})
810
+ def stop_data_collection_by_agent_ids(params = {}, options = {})
811
+ req = build_request(:stop_data_collection_by_agent_ids, params)
812
+ req.send_request(options)
813
+ end
506
814
 
815
+ # Updates metadata about an application.
816
+ #
817
+ # @option params [required, String] :configuration_id
818
+ # Configuration ID of the application to be updated.
819
+ #
820
+ # @option params [String] :name
821
+ # New name of the application to be updated.
822
+ #
823
+ # @option params [String] :description
824
+ # New description of the application to be updated.
825
+ #
826
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
827
+ #
828
+ # @example Request syntax with placeholder values
829
+ #
830
+ # resp = client.update_application({
831
+ # configuration_id: "ApplicationId", # required
832
+ # name: "String",
833
+ # description: "String",
834
+ # })
835
+ #
836
+ # @overload update_application(params = {})
837
+ # @param [Hash] params ({})
838
+ def update_application(params = {}, options = {})
839
+ req = build_request(:update_application, params)
840
+ req.send_request(options)
841
+ end
842
+
843
+ # @!endgroup
844
+
845
+ # @param params ({})
846
+ # @api private
847
+ def build_request(operation_name, params = {})
848
+ handlers = @handlers.for(operation_name)
849
+ context = Seahorse::Client::RequestContext.new(
850
+ operation_name: operation_name,
851
+ operation: config.api.operation(operation_name),
852
+ client: self,
853
+ params: params,
854
+ config: config)
855
+ context[:gem_name] = 'aws-sdk-applicationdiscoveryservice'
856
+ context[:gem_version] = '1.0.0.rc1'
857
+ Seahorse::Client::Request.new(handlers, context)
858
+ end
859
+
860
+ # @api private
861
+ # @deprecated
862
+ def waiter_names
863
+ []
864
+ end
865
+
866
+ class << self
867
+
868
+ # @api private
869
+ attr_reader :identifier
870
+
871
+ # @api private
872
+ def errors_module
873
+ Errors
507
874
  end
875
+
508
876
  end
509
877
  end
510
878
  end