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

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c398f068c7893883069e473e1e3f28aff83bd614
4
- data.tar.gz: 374c3490e99e2543a9e012f6d01e941a4c0b377b
3
+ metadata.gz: c7a716a713ff82c8574064081b7130bebf2e744c
4
+ data.tar.gz: a2298c14c1292a2971aa6d90cba5b11d27bf6f16
5
5
  SHA512:
6
- metadata.gz: d1a5e3fef64a3b87310abd0600ba917ddbd31746ac0485d81b48f117b7b0e38ad74cb97dca5e1612f83efff94e45b837e9590fc3b2a9677de81accca262e51ce
7
- data.tar.gz: be2a7e0b4104e063e0474c2a6381acbef5635c0a83009227a4ca04f985047c3343ac4a9f13c3e699580d7d5f8c0808cc821cd396f8f41f6062d546779617582e
6
+ metadata.gz: e37504cd1c0fa7e97b0723c9607b505f1b65790de9a3e306d426990095a4ff2b024594c497a9d6b8ac05b64f0dbe7f3f91b0ca79926948a4017ba84ac7260415
7
+ data.tar.gz: 331d324ecebe200ff2a17ec95869e26c6874864b721caf70d1bb81ac921f5284cd03c585bcbb794d7ccd169e3431e9a595eac318c285e11c71539d472dbc0225
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-applicationdiscoveryservice/customizations'
42
42
  # @service
43
43
  module Aws::ApplicationDiscoveryService
44
44
 
45
- GEM_VERSION = '1.0.0.rc1'
45
+ GEM_VERSION = '1.0.0.rc3'
46
46
 
47
47
  end
@@ -18,6 +18,7 @@ require 'aws-sdk-core/plugins/regional_endpoint.rb'
18
18
  require 'aws-sdk-core/plugins/response_paging.rb'
19
19
  require 'aws-sdk-core/plugins/stub_responses.rb'
20
20
  require 'aws-sdk-core/plugins/idempotency_token.rb'
21
+ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
21
22
  require 'aws-sdk-core/plugins/signature_v4.rb'
22
23
  require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
23
24
 
@@ -45,6 +46,7 @@ module Aws::ApplicationDiscoveryService
45
46
  add_plugin(Aws::Plugins::ResponsePaging)
46
47
  add_plugin(Aws::Plugins::StubResponses)
47
48
  add_plugin(Aws::Plugins::IdempotencyToken)
49
+ add_plugin(Aws::Plugins::JsonvalueConverter)
48
50
  add_plugin(Aws::Plugins::SignatureV4)
49
51
  add_plugin(Aws::Plugins::Protocols::JsonRpc)
50
52
 
@@ -313,14 +315,6 @@ module Aws::ApplicationDiscoveryService
313
315
  #
314
316
  # `\{"key": "collectionStatus", "value": "STARTED"\}`
315
317
  #
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
318
  # @option params [Integer] :max_results
325
319
  # The total number of agents/Connectors to return in a single page of
326
320
  # output. The maximum value is 100.
@@ -383,12 +377,12 @@ module Aws::ApplicationDiscoveryService
383
377
  # includes a list of attributes about the server, such as host name,
384
378
  # operating system, and number of network cards.
385
379
  #
386
- # For a complete list of outputs for each asset type, see [Querying
387
- # Discovered Configuration Items][1].
380
+ # For a complete list of outputs for each asset type, see [Using the
381
+ # DescribeConfigurations Action][1].
388
382
  #
389
383
  #
390
384
  #
391
- # [1]: http://docs.aws.amazon.com/application-discovery/latest/APIReference/querying-configuration-items.html#DescribeConfigurations
385
+ # [1]: http://docs.aws.amazon.com/application-discovery/latest/APIReference/discovery-api-queries.html#DescribeConfigurations
392
386
  #
393
387
  # @option params [required, Array<String>] :configuration_ids
394
388
  # One or more configuration IDs.
@@ -416,6 +410,8 @@ module Aws::ApplicationDiscoveryService
416
410
  req.send_request(options)
417
411
  end
418
412
 
413
+ # Deprecated. Use `DescribeExportTasks` instead.
414
+ #
419
415
  # Retrieves the status of a given export process. You can retrieve
420
416
  # status from a maximum of 100 processes.
421
417
  #
@@ -427,9 +423,9 @@ module Aws::ApplicationDiscoveryService
427
423
  # the query.
428
424
  #
429
425
  # @option params [String] :next_token
430
- # A token to get the next set of results. For example, if you specified
426
+ # A token to get the next set of results. For example, if you specify
431
427
  # 100 IDs for `DescribeExportConfigurationsRequest$exportIds` but set
432
- # `DescribeExportConfigurationsRequest$maxResults` to 10, you will get
428
+ # `DescribeExportConfigurationsRequest$maxResults` to 10, you get
433
429
  # results in a set of 10. Use the token in the query to get the next set
434
430
  # of 10.
435
431
  #
@@ -463,6 +459,56 @@ module Aws::ApplicationDiscoveryService
463
459
  req.send_request(options)
464
460
  end
465
461
 
462
+ # Retrieve status of one or more export tasks. You can retrieve the
463
+ # status of up to 100 export tasks.
464
+ #
465
+ # @option params [Array<String>] :export_ids
466
+ # One or more unique identifiers used to query the status of an export
467
+ # request.
468
+ #
469
+ # @option params [Integer] :max_results
470
+ # The maximum number of volume results returned by `DescribeExportTasks`
471
+ # in paginated output. When this parameter is used,
472
+ # `DescribeExportTasks` only returns `maxResults` results in a single
473
+ # page along with a `nextToken` response element.
474
+ #
475
+ # @option params [String] :next_token
476
+ # The `nextToken` value returned from a previous paginated
477
+ # `DescribeExportTasks` request where `maxResults` was used and the
478
+ # results exceeded the value of that parameter. Pagination continues
479
+ # from the end of the previous results that returned the `nextToken`
480
+ # value. This value is null when there are no more results to return.
481
+ #
482
+ # @return [Types::DescribeExportTasksResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
483
+ #
484
+ # * {Types::DescribeExportTasksResponse#exports_info #exports_info} => Array&lt;Types::ExportInfo&gt;
485
+ # * {Types::DescribeExportTasksResponse#next_token #next_token} => String
486
+ #
487
+ # @example Request syntax with placeholder values
488
+ #
489
+ # resp = client.describe_export_tasks({
490
+ # export_ids: ["ConfigurationsExportId"],
491
+ # max_results: 1,
492
+ # next_token: "NextToken",
493
+ # })
494
+ #
495
+ # @example Response structure
496
+ #
497
+ # resp.exports_info #=> Array
498
+ # resp.exports_info[0].export_id #=> String
499
+ # resp.exports_info[0].export_status #=> String, one of "FAILED", "SUCCEEDED", "IN_PROGRESS"
500
+ # resp.exports_info[0].status_message #=> String
501
+ # resp.exports_info[0].configurations_download_url #=> String
502
+ # resp.exports_info[0].export_request_time #=> Time
503
+ # resp.next_token #=> String
504
+ #
505
+ # @overload describe_export_tasks(params = {})
506
+ # @param [Hash] params ({})
507
+ def describe_export_tasks(params = {}, options = {})
508
+ req = build_request(:describe_export_tasks, params)
509
+ req.send_request(options)
510
+ end
511
+
466
512
  # Retrieves a list of configuration items that are tagged with a
467
513
  # specific tag. Or retrieves a list of all tags assigned to a specific
468
514
  # configuration item.
@@ -472,14 +518,6 @@ module Aws::ApplicationDiscoveryService
472
518
  # these items by using logical operators. Allowed filters include
473
519
  # `tagKey`, `tagValue`, and `configurationId`.
474
520
  #
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
521
  # @option params [Integer] :max_results
484
522
  # The total number of items to return in a single page of output. The
485
523
  # maximum value is 100.
@@ -526,11 +564,11 @@ module Aws::ApplicationDiscoveryService
526
564
  # Disassociates one or more configuration items from an application.
527
565
  #
528
566
  # @option params [required, String] :application_configuration_id
529
- # Configuration ID of an application from which each item will be
567
+ # Configuration ID of an application from which each item is
530
568
  # disassociated.
531
569
  #
532
570
  # @option params [required, Array<String>] :configuration_ids
533
- # Configuration ID of each item be be disassociated from an application.
571
+ # Configuration ID of each item to be disassociated from an application.
534
572
  #
535
573
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
536
574
  #
@@ -548,10 +586,12 @@ module Aws::ApplicationDiscoveryService
548
586
  req.send_request(options)
549
587
  end
550
588
 
589
+ # Deprecated. Use `StartExportTask` instead.
590
+ #
551
591
  # Exports all discovered configuration data to an Amazon S3 bucket or an
552
592
  # application that enables you to view and evaluate the data. Data
553
593
  # includes tags and tag associations, processes, connections, servers,
554
- # and system performance. This API returns an export ID which you can
594
+ # and system performance. This API returns an export ID that you can
555
595
  # query using the *DescribeExportConfigurations* API. The system imposes
556
596
  # a limit of two configuration exports in six hours.
557
597
  #
@@ -609,12 +649,12 @@ module Aws::ApplicationDiscoveryService
609
649
  req.send_request(options)
610
650
  end
611
651
 
612
- # Retrieves a list of configuration items according to criteria you
613
- # specify in a filter. The filter criteria identify relationship
652
+ # Retrieves a list of configuration items according to criteria that you
653
+ # specify in a filter. The filter criteria identifies the relationship
614
654
  # requirements.
615
655
  #
616
656
  # @option params [required, String] :configuration_type
617
- # A valid configuration identified by the Discovery Service.
657
+ # A valid configuration identified by Application Discovery Service.
618
658
  #
619
659
  # @option params [Array<Types::Filter>] :filters
620
660
  # You can filter the request using various logical operators and a
@@ -627,7 +667,7 @@ module Aws::ApplicationDiscoveryService
627
667
  #
628
668
  #
629
669
  #
630
- # [1]: http://docs.aws.amazon.com/application-discovery/latest/APIReference/querying-configuration-items.html#ListConfigurations
670
+ # [1]: http://docs.aws.amazon.com/application-discovery/latest/APIReference/discovery-api-queries.html#ListConfigurations
631
671
  #
632
672
  # @option params [Integer] :max_results
633
673
  # The total number of items to return. The maximum value is 100.
@@ -642,11 +682,11 @@ module Aws::ApplicationDiscoveryService
642
682
  # @option params [Array<Types::OrderByElement>] :order_by
643
683
  # Certain filter criteria return output that can be sorted in ascending
644
684
  # or descending order. For a list of output characteristics for each
645
- # filter, see [Querying Discovered Configuration Items][1].
685
+ # filter, see [Using the ListConfigurations Action][1].
646
686
  #
647
687
  #
648
688
  #
649
- # [1]: http://docs.aws.amazon.com/application-discovery/latest/APIReference/querying-configuration-items.html#ListConfigurations
689
+ # [1]: http://docs.aws.amazon.com/application-discovery/latest/APIReference/discovery-api-queries.html#ListConfigurations
650
690
  #
651
691
  # @return [Types::ListConfigurationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
652
692
  #
@@ -688,7 +728,7 @@ module Aws::ApplicationDiscoveryService
688
728
  req.send_request(options)
689
729
  end
690
730
 
691
- # Retrieves a list of servers which are one network hop away from a
731
+ # Retrieves a list of servers that are one network hop away from a
692
732
  # specified server.
693
733
  #
694
734
  # @option params [required, String] :configuration_id
@@ -746,16 +786,16 @@ module Aws::ApplicationDiscoveryService
746
786
  req.send_request(options)
747
787
  end
748
788
 
749
- # Instructs the specified agents or Connectors to start collecting data.
789
+ # Instructs the specified agents or connectors to start collecting data.
750
790
  #
751
791
  # @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
792
+ # The IDs of the agents or connectors from which to start collecting
793
+ # data. If you send a request to an agent/connector ID that you do not
754
794
  # have permission to contact, according to your AWS account, the service
755
795
  # does not throw an exception. Instead, it returns the error in the
756
796
  # *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.
797
+ # agents/connectors and you do not have permission to contact some of
798
+ # those agents/connectors, the system does not throw an exception.
759
799
  # Instead, the system shows `Failed` in the *Description* field.
760
800
  #
761
801
  # @return [Types::StartDataCollectionByAgentIdsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
@@ -782,10 +822,37 @@ module Aws::ApplicationDiscoveryService
782
822
  req.send_request(options)
783
823
  end
784
824
 
785
- # Instructs the specified agents or Connectors to stop collecting data.
825
+ # Export the configuration data about discovered configuration items and
826
+ # relationships to an S3 bucket in a specified format.
827
+ #
828
+ # @option params [Array<String>] :export_data_format
829
+ # The file format for the returned export data. Default value is `CSV`.
830
+ #
831
+ # @return [Types::StartExportTaskResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
832
+ #
833
+ # * {Types::StartExportTaskResponse#export_id #export_id} => String
834
+ #
835
+ # @example Request syntax with placeholder values
836
+ #
837
+ # resp = client.start_export_task({
838
+ # export_data_format: ["CSV"], # accepts CSV, GRAPHML
839
+ # })
840
+ #
841
+ # @example Response structure
842
+ #
843
+ # resp.export_id #=> String
844
+ #
845
+ # @overload start_export_task(params = {})
846
+ # @param [Hash] params ({})
847
+ def start_export_task(params = {}, options = {})
848
+ req = build_request(:start_export_task, params)
849
+ req.send_request(options)
850
+ end
851
+
852
+ # Instructs the specified agents or connectors to stop collecting data.
786
853
  #
787
854
  # @option params [required, Array<String>] :agent_ids
788
- # The IDs of the agents or Connectors that you want to stop collecting
855
+ # The IDs of the agents or connectors from which to stop collecting
789
856
  # data.
790
857
  #
791
858
  # @return [Types::StopDataCollectionByAgentIdsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
@@ -853,7 +920,7 @@ module Aws::ApplicationDiscoveryService
853
920
  params: params,
854
921
  config: config)
855
922
  context[:gem_name] = 'aws-sdk-applicationdiscoveryservice'
856
- context[:gem_version] = '1.0.0.rc1'
923
+ context[:gem_version] = '1.0.0.rc3'
857
924
  Seahorse::Client::Request.new(handlers, context)
858
925
  end
859
926
 
@@ -55,11 +55,15 @@ module Aws::ApplicationDiscoveryService
55
55
  DescribeConfigurationsResponse = Shapes::StructureShape.new(name: 'DescribeConfigurationsResponse')
56
56
  DescribeExportConfigurationsRequest = Shapes::StructureShape.new(name: 'DescribeExportConfigurationsRequest')
57
57
  DescribeExportConfigurationsResponse = Shapes::StructureShape.new(name: 'DescribeExportConfigurationsResponse')
58
+ DescribeExportTasksRequest = Shapes::StructureShape.new(name: 'DescribeExportTasksRequest')
59
+ DescribeExportTasksResponse = Shapes::StructureShape.new(name: 'DescribeExportTasksResponse')
58
60
  DescribeTagsRequest = Shapes::StructureShape.new(name: 'DescribeTagsRequest')
59
61
  DescribeTagsResponse = Shapes::StructureShape.new(name: 'DescribeTagsResponse')
60
62
  DisassociateConfigurationItemsFromApplicationRequest = Shapes::StructureShape.new(name: 'DisassociateConfigurationItemsFromApplicationRequest')
61
63
  DisassociateConfigurationItemsFromApplicationResponse = Shapes::StructureShape.new(name: 'DisassociateConfigurationItemsFromApplicationResponse')
62
64
  ExportConfigurationsResponse = Shapes::StructureShape.new(name: 'ExportConfigurationsResponse')
65
+ ExportDataFormat = Shapes::StringShape.new(name: 'ExportDataFormat')
66
+ ExportDataFormats = Shapes::ListShape.new(name: 'ExportDataFormats')
63
67
  ExportIds = Shapes::ListShape.new(name: 'ExportIds')
64
68
  ExportInfo = Shapes::StructureShape.new(name: 'ExportInfo')
65
69
  ExportRequestTime = Shapes::TimestampShape.new(name: 'ExportRequestTime')
@@ -92,6 +96,8 @@ module Aws::ApplicationDiscoveryService
92
96
  ServerInternalErrorException = Shapes::StructureShape.new(name: 'ServerInternalErrorException')
93
97
  StartDataCollectionByAgentIdsRequest = Shapes::StructureShape.new(name: 'StartDataCollectionByAgentIdsRequest')
94
98
  StartDataCollectionByAgentIdsResponse = Shapes::StructureShape.new(name: 'StartDataCollectionByAgentIdsResponse')
99
+ StartExportTaskRequest = Shapes::StructureShape.new(name: 'StartExportTaskRequest')
100
+ StartExportTaskResponse = Shapes::StructureShape.new(name: 'StartExportTaskResponse')
95
101
  StopDataCollectionByAgentIdsRequest = Shapes::StructureShape.new(name: 'StopDataCollectionByAgentIdsRequest')
96
102
  StopDataCollectionByAgentIdsResponse = Shapes::StructureShape.new(name: 'StopDataCollectionByAgentIdsResponse')
97
103
  String = Shapes::StringShape.new(name: 'String')
@@ -231,6 +237,15 @@ module Aws::ApplicationDiscoveryService
231
237
  DescribeExportConfigurationsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
232
238
  DescribeExportConfigurationsResponse.struct_class = Types::DescribeExportConfigurationsResponse
233
239
 
240
+ DescribeExportTasksRequest.add_member(:export_ids, Shapes::ShapeRef.new(shape: ExportIds, location_name: "exportIds"))
241
+ DescribeExportTasksRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: Integer, location_name: "maxResults"))
242
+ DescribeExportTasksRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
243
+ DescribeExportTasksRequest.struct_class = Types::DescribeExportTasksRequest
244
+
245
+ DescribeExportTasksResponse.add_member(:exports_info, Shapes::ShapeRef.new(shape: ExportsInfo, location_name: "exportsInfo"))
246
+ DescribeExportTasksResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
247
+ DescribeExportTasksResponse.struct_class = Types::DescribeExportTasksResponse
248
+
234
249
  DescribeTagsRequest.add_member(:filters, Shapes::ShapeRef.new(shape: TagFilters, location_name: "filters"))
235
250
  DescribeTagsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: Integer, location_name: "maxResults"))
236
251
  DescribeTagsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
@@ -249,6 +264,8 @@ module Aws::ApplicationDiscoveryService
249
264
  ExportConfigurationsResponse.add_member(:export_id, Shapes::ShapeRef.new(shape: ConfigurationsExportId, location_name: "exportId"))
250
265
  ExportConfigurationsResponse.struct_class = Types::ExportConfigurationsResponse
251
266
 
267
+ ExportDataFormats.member = Shapes::ShapeRef.new(shape: ExportDataFormat)
268
+
252
269
  ExportIds.member = Shapes::ShapeRef.new(shape: ConfigurationsExportId)
253
270
 
254
271
  ExportInfo.add_member(:export_id, Shapes::ShapeRef.new(shape: ConfigurationsExportId, required: true, location_name: "exportId"))
@@ -323,6 +340,12 @@ module Aws::ApplicationDiscoveryService
323
340
  StartDataCollectionByAgentIdsResponse.add_member(:agents_configuration_status, Shapes::ShapeRef.new(shape: AgentConfigurationStatusList, location_name: "agentsConfigurationStatus"))
324
341
  StartDataCollectionByAgentIdsResponse.struct_class = Types::StartDataCollectionByAgentIdsResponse
325
342
 
343
+ StartExportTaskRequest.add_member(:export_data_format, Shapes::ShapeRef.new(shape: ExportDataFormats, location_name: "exportDataFormat"))
344
+ StartExportTaskRequest.struct_class = Types::StartExportTaskRequest
345
+
346
+ StartExportTaskResponse.add_member(:export_id, Shapes::ShapeRef.new(shape: ConfigurationsExportId, location_name: "exportId"))
347
+ StartExportTaskResponse.struct_class = Types::StartExportTaskResponse
348
+
326
349
  StopDataCollectionByAgentIdsRequest.add_member(:agent_ids, Shapes::ShapeRef.new(shape: AgentIds, required: true, location_name: "agentIds"))
327
350
  StopDataCollectionByAgentIdsRequest.struct_class = Types::StopDataCollectionByAgentIdsRequest
328
351
 
@@ -453,6 +476,7 @@ module Aws::ApplicationDiscoveryService
453
476
  o.name = "DescribeExportConfigurations"
454
477
  o.http_method = "POST"
455
478
  o.http_request_uri = "/"
479
+ o.deprecated = true
456
480
  o.input = Shapes::ShapeRef.new(shape: DescribeExportConfigurationsRequest)
457
481
  o.output = Shapes::ShapeRef.new(shape: DescribeExportConfigurationsResponse)
458
482
  o.errors << Shapes::ShapeRef.new(shape: AuthorizationErrorException)
@@ -462,6 +486,18 @@ module Aws::ApplicationDiscoveryService
462
486
  o.errors << Shapes::ShapeRef.new(shape: ServerInternalErrorException)
463
487
  end)
464
488
 
489
+ api.add_operation(:describe_export_tasks, Seahorse::Model::Operation.new.tap do |o|
490
+ o.name = "DescribeExportTasks"
491
+ o.http_method = "POST"
492
+ o.http_request_uri = "/"
493
+ o.input = Shapes::ShapeRef.new(shape: DescribeExportTasksRequest)
494
+ o.output = Shapes::ShapeRef.new(shape: DescribeExportTasksResponse)
495
+ o.errors << Shapes::ShapeRef.new(shape: AuthorizationErrorException)
496
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
497
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
498
+ o.errors << Shapes::ShapeRef.new(shape: ServerInternalErrorException)
499
+ end)
500
+
465
501
  api.add_operation(:describe_tags, Seahorse::Model::Operation.new.tap do |o|
466
502
  o.name = "DescribeTags"
467
503
  o.http_method = "POST"
@@ -491,6 +527,7 @@ module Aws::ApplicationDiscoveryService
491
527
  o.name = "ExportConfigurations"
492
528
  o.http_method = "POST"
493
529
  o.http_request_uri = "/"
530
+ o.deprecated = true
494
531
  o.input = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
495
532
  o.output = Shapes::ShapeRef.new(shape: ExportConfigurationsResponse)
496
533
  o.errors << Shapes::ShapeRef.new(shape: AuthorizationErrorException)
@@ -549,6 +586,19 @@ module Aws::ApplicationDiscoveryService
549
586
  o.errors << Shapes::ShapeRef.new(shape: ServerInternalErrorException)
550
587
  end)
551
588
 
589
+ api.add_operation(:start_export_task, Seahorse::Model::Operation.new.tap do |o|
590
+ o.name = "StartExportTask"
591
+ o.http_method = "POST"
592
+ o.http_request_uri = "/"
593
+ o.input = Shapes::ShapeRef.new(shape: StartExportTaskRequest)
594
+ o.output = Shapes::ShapeRef.new(shape: StartExportTaskResponse)
595
+ o.errors << Shapes::ShapeRef.new(shape: AuthorizationErrorException)
596
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
597
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
598
+ o.errors << Shapes::ShapeRef.new(shape: ServerInternalErrorException)
599
+ o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
600
+ end)
601
+
552
602
  api.add_operation(:stop_data_collection_by_agent_ids, Seahorse::Model::Operation.new.tap do |o|
553
603
  o.name = "StopDataCollectionByAgentIds"
554
604
  o.http_method = "POST"
@@ -8,19 +8,19 @@
8
8
  module Aws::ApplicationDiscoveryService
9
9
  module Types
10
10
 
11
- # Information about agents or Connectors that were instructed to start
12
- # collecting data. Information includes the agent/Connector ID, a
13
- # description of the operation, and whether or not the agent/Connector
11
+ # Information about agents or connectors that were instructed to start
12
+ # collecting data. Information includes the agent/connector ID, a
13
+ # description of the operation, and whether the agent/connector
14
14
  # configuration was updated.
15
15
  #
16
16
  # @!attribute [rw] agent_id
17
- # The agent/Connector ID.
17
+ # The agent/connector ID.
18
18
  # @return [String]
19
19
  #
20
20
  # @!attribute [rw] operation_succeeded
21
21
  # Information about the status of the `StartDataCollection` and
22
22
  # `StopDataCollection` operations. The system has recorded the data
23
- # collection operation. The agent/Connector receives this command the
23
+ # collection operation. The agent/connector receives this command the
24
24
  # next time it polls for a new command.
25
25
  # @return [Boolean]
26
26
  #
@@ -79,7 +79,7 @@ module Aws::ApplicationDiscoveryService
79
79
  # @return [String]
80
80
  #
81
81
  # @!attribute [rw] registered_time
82
- # Agent's first registration time stamp in UTC.
82
+ # Agent's first registration timestamp in UTC.
83
83
  # @return [String]
84
84
  #
85
85
  class AgentInfo < Struct.new(
@@ -96,14 +96,14 @@ module Aws::ApplicationDiscoveryService
96
96
  include Aws::Structure
97
97
  end
98
98
 
99
- # Network details about the host where the agent/Connector resides.
99
+ # Network details about the host where the agent/connector resides.
100
100
  #
101
101
  # @!attribute [rw] ip_address
102
- # The IP address for the host where the agent/Connector resides.
102
+ # The IP address for the host where the agent/connector resides.
103
103
  # @return [String]
104
104
  #
105
105
  # @!attribute [rw] mac_address
106
- # The MAC address for the host where the agent/Connector resides.
106
+ # The MAC address for the host where the agent/connector resides.
107
107
  # @return [String]
108
108
  #
109
109
  class AgentNetworkInfo < Struct.new(
@@ -142,21 +142,21 @@ module Aws::ApplicationDiscoveryService
142
142
  # categorize IT assets.
143
143
  #
144
144
  # @!attribute [rw] configuration_type
145
- # A type of IT asset that you want to tag.
145
+ # A type of IT asset to tag.
146
146
  # @return [String]
147
147
  #
148
148
  # @!attribute [rw] configuration_id
149
- # The configuration ID for the item you want to tag. You can specify a
150
- # list of keys and values.
149
+ # The configuration ID for the item to tag. You can specify a list of
150
+ # keys and values.
151
151
  # @return [String]
152
152
  #
153
153
  # @!attribute [rw] key
154
- # A type of tag to filter on. For example, *serverType*.
154
+ # A type of tag on which to filter. For example, *serverType*.
155
155
  # @return [String]
156
156
  #
157
157
  # @!attribute [rw] value
158
- # A value to filter on. For example *key = serverType* and *value =
159
- # web server*.
158
+ # A value on which to filter. For example *key = serverType* and
159
+ # *value = web server*.
160
160
  # @return [String]
161
161
  #
162
162
  # @!attribute [rw] time_of_creation
@@ -397,14 +397,6 @@ module Aws::ApplicationDiscoveryService
397
397
  # *key*-*value* format. For example:
398
398
  #
399
399
  # `\{"key": "collectionStatus", "value": "STARTED"\}`
400
- #
401
- # For a complete list of filter options and guidance about using them
402
- # with this action, see [Managing AWS Application Discovery Service
403
- # Agents and the AWS Application Discovery Connector ][1].
404
- #
405
- #
406
- #
407
- # [1]: http://docs.aws.amazon.com/application-discovery/latest/APIReference/managing-agent.html
408
400
  # @return [Array<Types::Filter>]
409
401
  #
410
402
  # @!attribute [rw] max_results
@@ -495,10 +487,9 @@ module Aws::ApplicationDiscoveryService
495
487
  # @return [Integer]
496
488
  #
497
489
  # @!attribute [rw] next_token
498
- # A token to get the next set of results. For example, if you
499
- # specified 100 IDs for
500
- # `DescribeExportConfigurationsRequest$exportIds` but set
501
- # `DescribeExportConfigurationsRequest$maxResults` to 10, you will get
490
+ # A token to get the next set of results. For example, if you specify
491
+ # 100 IDs for `DescribeExportConfigurationsRequest$exportIds` but set
492
+ # `DescribeExportConfigurationsRequest$maxResults` to 10, you get
502
493
  # results in a set of 10. Use the token in the query to get the next
503
494
  # set of 10.
504
495
  # @return [String]
@@ -517,10 +508,9 @@ module Aws::ApplicationDiscoveryService
517
508
  # @return [Array<Types::ExportInfo>]
518
509
  #
519
510
  # @!attribute [rw] next_token
520
- # A token to get the next set of results. For example, if you
521
- # specified 100 IDs for
522
- # `DescribeExportConfigurationsRequest$exportIds` but set
523
- # `DescribeExportConfigurationsRequest$maxResults` to 10, you will get
511
+ # A token to get the next set of results. For example, if you specify
512
+ # 100 IDs for `DescribeExportConfigurationsRequest$exportIds` but set
513
+ # `DescribeExportConfigurationsRequest$maxResults` to 10, you get
524
514
  # results in a set of 10. Use the token in the query to get the next
525
515
  # set of 10.
526
516
  # @return [String]
@@ -531,6 +521,62 @@ module Aws::ApplicationDiscoveryService
531
521
  include Aws::Structure
532
522
  end
533
523
 
524
+ # @note When making an API call, you may pass DescribeExportTasksRequest
525
+ # data as a hash:
526
+ #
527
+ # {
528
+ # export_ids: ["ConfigurationsExportId"],
529
+ # max_results: 1,
530
+ # next_token: "NextToken",
531
+ # }
532
+ #
533
+ # @!attribute [rw] export_ids
534
+ # One or more unique identifiers used to query the status of an export
535
+ # request.
536
+ # @return [Array<String>]
537
+ #
538
+ # @!attribute [rw] max_results
539
+ # The maximum number of volume results returned by
540
+ # `DescribeExportTasks` in paginated output. When this parameter is
541
+ # used, `DescribeExportTasks` only returns `maxResults` results in a
542
+ # single page along with a `nextToken` response element.
543
+ # @return [Integer]
544
+ #
545
+ # @!attribute [rw] next_token
546
+ # The `nextToken` value returned from a previous paginated
547
+ # `DescribeExportTasks` request where `maxResults` was used and the
548
+ # results exceeded the value of that parameter. Pagination continues
549
+ # from the end of the previous results that returned the `nextToken`
550
+ # value. This value is null when there are no more results to return.
551
+ # @return [String]
552
+ #
553
+ class DescribeExportTasksRequest < Struct.new(
554
+ :export_ids,
555
+ :max_results,
556
+ :next_token)
557
+ include Aws::Structure
558
+ end
559
+
560
+ # @!attribute [rw] exports_info
561
+ # Contains one or more sets of export request details. When the status
562
+ # of a request is `SUCCEEDED`, the response includes a URL for an
563
+ # Amazon S3 bucket where you can view the data in a CSV file.
564
+ # @return [Array<Types::ExportInfo>]
565
+ #
566
+ # @!attribute [rw] next_token
567
+ # The `nextToken` value to include in a future `DescribeExportTasks`
568
+ # request. When the results of a `DescribeExportTasks` request exceed
569
+ # `maxResults`, this value can be used to retrieve the next page of
570
+ # results. This value is null when there are no more results to
571
+ # return.
572
+ # @return [String]
573
+ #
574
+ class DescribeExportTasksResponse < Struct.new(
575
+ :exports_info,
576
+ :next_token)
577
+ include Aws::Structure
578
+ end
579
+
534
580
  # @note When making an API call, you may pass DescribeTagsRequest
535
581
  # data as a hash:
536
582
  #
@@ -549,14 +595,6 @@ module Aws::ApplicationDiscoveryService
549
595
  # You can filter the list using a *key*-*value* format. You can
550
596
  # separate these items by using logical operators. Allowed filters
551
597
  # include `tagKey`, `tagValue`, and `configurationId`.
552
- #
553
- # For a complete list of filter options and guidance about using them
554
- # with this action, see [Managing AWS Application Discovery Service
555
- # Agents and the AWS Application Discovery Connector ][1].
556
- #
557
- #
558
- #
559
- # [1]: http://docs.aws.amazon.com/application-discovery/latest/APIReference/managing-agents.html
560
598
  # @return [Array<Types::TagFilter>]
561
599
  #
562
600
  # @!attribute [rw] max_results
@@ -602,12 +640,12 @@ module Aws::ApplicationDiscoveryService
602
640
  # }
603
641
  #
604
642
  # @!attribute [rw] application_configuration_id
605
- # Configuration ID of an application from which each item will be
643
+ # Configuration ID of an application from which each item is
606
644
  # disassociated.
607
645
  # @return [String]
608
646
  #
609
647
  # @!attribute [rw] configuration_ids
610
- # Configuration ID of each item be be disassociated from an
648
+ # Configuration ID of each item to be disassociated from an
611
649
  # application.
612
650
  # @return [Array<String>]
613
651
  #
@@ -652,7 +690,7 @@ module Aws::ApplicationDiscoveryService
652
690
  # @return [String]
653
691
  #
654
692
  # @!attribute [rw] export_request_time
655
- # The time the configuration data export was initiated.
693
+ # The time that the configuration data export was initiated.
656
694
  # @return [Time]
657
695
  #
658
696
  class ExportInfo < Struct.new(
@@ -666,13 +704,12 @@ module Aws::ApplicationDiscoveryService
666
704
 
667
705
  # A filter that can use conditional operators.
668
706
  #
669
- # for a complete list of filters and guidance for using them with the
670
- # Application Discovery Service, see [Querying Discovered Configuration
671
- # Items][1].
707
+ # For more information about filters, see [Querying Discovered
708
+ # Configuration Items][1].
672
709
  #
673
710
  #
674
711
  #
675
- # [1]: http://docs.aws.amazon.com/application-discovery/latest/APIReference/querying-configuration-items.html
712
+ # [1]: http://docs.aws.amazon.com/application-discovery/latest/APIReference/discovery-api-queries.html
676
713
  #
677
714
  # @note When making an API call, you may pass Filter
678
715
  # data as a hash:
@@ -688,9 +725,9 @@ module Aws::ApplicationDiscoveryService
688
725
  # @return [String]
689
726
  #
690
727
  # @!attribute [rw] values
691
- # A string value that you want to filter on. For example, if you
692
- # choose the `destinationServer.osVersion` filter name, you could
693
- # specify `Ubuntu` for the value.
728
+ # A string value on which to filter. For example, if you choose the
729
+ # `destinationServer.osVersion` filter name, you could specify
730
+ # `Ubuntu` for the value.
694
731
  # @return [Array<String>]
695
732
  #
696
733
  # @!attribute [rw] condition
@@ -715,19 +752,19 @@ module Aws::ApplicationDiscoveryService
715
752
  class GetDiscoverySummaryRequest < Aws::EmptyStructure; end
716
753
 
717
754
  # @!attribute [rw] servers
718
- # Number of servers discovered.
755
+ # The number of servers discovered.
719
756
  # @return [Integer]
720
757
  #
721
758
  # @!attribute [rw] applications
722
- # Number of applications discovered.
759
+ # The number of applications discovered.
723
760
  # @return [Integer]
724
761
  #
725
762
  # @!attribute [rw] servers_mapped_to_applications
726
- # Number of servers mapped to applications.
763
+ # The number of servers mapped to applications.
727
764
  # @return [Integer]
728
765
  #
729
766
  # @!attribute [rw] servers_mappedto_tags
730
- # Number of servers mapped to tags.
767
+ # The number of servers mapped to tags.
731
768
  # @return [Integer]
732
769
  #
733
770
  # @!attribute [rw] agent_summary
@@ -772,7 +809,7 @@ module Aws::ApplicationDiscoveryService
772
809
  # }
773
810
  #
774
811
  # @!attribute [rw] configuration_type
775
- # A valid configuration identified by the Discovery Service.
812
+ # A valid configuration identified by Application Discovery Service.
776
813
  # @return [String]
777
814
  #
778
815
  # @!attribute [rw] filters
@@ -786,7 +823,7 @@ module Aws::ApplicationDiscoveryService
786
823
  #
787
824
  #
788
825
  #
789
- # [1]: http://docs.aws.amazon.com/application-discovery/latest/APIReference/querying-configuration-items.html#ListConfigurations
826
+ # [1]: http://docs.aws.amazon.com/application-discovery/latest/APIReference/discovery-api-queries.html#ListConfigurations
790
827
  # @return [Array<Types::Filter>]
791
828
  #
792
829
  # @!attribute [rw] max_results
@@ -804,11 +841,11 @@ module Aws::ApplicationDiscoveryService
804
841
  # @!attribute [rw] order_by
805
842
  # Certain filter criteria return output that can be sorted in
806
843
  # ascending or descending order. For a list of output characteristics
807
- # for each filter, see [Querying Discovered Configuration Items][1].
844
+ # for each filter, see [Using the ListConfigurations Action][1].
808
845
  #
809
846
  #
810
847
  #
811
- # [1]: http://docs.aws.amazon.com/application-discovery/latest/APIReference/querying-configuration-items.html#ListConfigurations
848
+ # [1]: http://docs.aws.amazon.com/application-discovery/latest/APIReference/discovery-api-queries.html#ListConfigurations
812
849
  # @return [Array<Types::OrderByElement>]
813
850
  #
814
851
  class ListConfigurationsRequest < Struct.new(
@@ -914,23 +951,23 @@ module Aws::ApplicationDiscoveryService
914
951
  # Details about neighboring servers.
915
952
  #
916
953
  # @!attribute [rw] source_server_id
917
- # ID of server that opened the network connection.
954
+ # The ID of the server that opened the network connection.
918
955
  # @return [String]
919
956
  #
920
957
  # @!attribute [rw] destination_server_id
921
- # ID of the server that accepted the networker connection.
958
+ # The ID of the server that accepted the network connection.
922
959
  # @return [String]
923
960
  #
924
961
  # @!attribute [rw] destination_port
925
- # Destination network port for the connection.
962
+ # The destination network port for the connection.
926
963
  # @return [Integer]
927
964
  #
928
965
  # @!attribute [rw] transport_protocol
929
- # Network protocol used for the connection.
966
+ # The network protocol used for the connection.
930
967
  # @return [String]
931
968
  #
932
969
  # @!attribute [rw] connections_count
933
- # Number of open network connections with the neighboring server.
970
+ # The number of open network connections with the neighboring server.
934
971
  # @return [Integer]
935
972
  #
936
973
  class NeighborConnectionDetail < Struct.new(
@@ -942,7 +979,7 @@ module Aws::ApplicationDiscoveryService
942
979
  include Aws::Structure
943
980
  end
944
981
 
945
- # Field and direction for ordered output.
982
+ # A field and direction for ordered output.
946
983
  #
947
984
  # @note When making an API call, you may pass OrderByElement
948
985
  # data as a hash:
@@ -953,7 +990,7 @@ module Aws::ApplicationDiscoveryService
953
990
  # }
954
991
  #
955
992
  # @!attribute [rw] field_name
956
- # Field to order on.
993
+ # The field on which to order.
957
994
  # @return [String]
958
995
  #
959
996
  # @!attribute [rw] sort_order
@@ -974,15 +1011,14 @@ module Aws::ApplicationDiscoveryService
974
1011
  # }
975
1012
  #
976
1013
  # @!attribute [rw] agent_ids
977
- # The IDs of the agents or Connectors that you want to start
978
- # collecting data. If you send a request to an agent/Connector ID that
979
- # you do not have permission to contact, according to your AWS
980
- # account, the service does not throw an exception. Instead, it
981
- # returns the error in the *Description* field. If you send a request
982
- # to multiple agents/Connectors and you do not have permission to
983
- # contact some of those agents/Connectors, the system does not throw
984
- # an exception. Instead, the system shows `Failed` in the
985
- # *Description* field.
1014
+ # The IDs of the agents or connectors from which to start collecting
1015
+ # data. If you send a request to an agent/connector ID that you do not
1016
+ # have permission to contact, according to your AWS account, the
1017
+ # service does not throw an exception. Instead, it returns the error
1018
+ # in the *Description* field. If you send a request to multiple
1019
+ # agents/connectors and you do not have permission to contact some of
1020
+ # those agents/connectors, the system does not throw an exception.
1021
+ # Instead, the system shows `Failed` in the *Description* field.
986
1022
  # @return [Array<String>]
987
1023
  #
988
1024
  class StartDataCollectionByAgentIdsRequest < Struct.new(
@@ -991,10 +1027,10 @@ module Aws::ApplicationDiscoveryService
991
1027
  end
992
1028
 
993
1029
  # @!attribute [rw] agents_configuration_status
994
- # Information about agents or the Connector that were instructed to
995
- # start collecting data. Information includes the agent/Connector ID,
996
- # a description of the operation performed, and whether or not the
997
- # agent/Connector configuration was updated.
1030
+ # Information about agents or the connector that were instructed to
1031
+ # start collecting data. Information includes the agent/connector ID,
1032
+ # a description of the operation performed, and whether the
1033
+ # agent/connector configuration was updated.
998
1034
  # @return [Array<Types::AgentConfigurationStatus>]
999
1035
  #
1000
1036
  class StartDataCollectionByAgentIdsResponse < Struct.new(
@@ -1002,6 +1038,32 @@ module Aws::ApplicationDiscoveryService
1002
1038
  include Aws::Structure
1003
1039
  end
1004
1040
 
1041
+ # @note When making an API call, you may pass StartExportTaskRequest
1042
+ # data as a hash:
1043
+ #
1044
+ # {
1045
+ # export_data_format: ["CSV"], # accepts CSV, GRAPHML
1046
+ # }
1047
+ #
1048
+ # @!attribute [rw] export_data_format
1049
+ # The file format for the returned export data. Default value is
1050
+ # `CSV`.
1051
+ # @return [Array<String>]
1052
+ #
1053
+ class StartExportTaskRequest < Struct.new(
1054
+ :export_data_format)
1055
+ include Aws::Structure
1056
+ end
1057
+
1058
+ # @!attribute [rw] export_id
1059
+ # A unique identifier used to query the status of an export request.
1060
+ # @return [String]
1061
+ #
1062
+ class StartExportTaskResponse < Struct.new(
1063
+ :export_id)
1064
+ include Aws::Structure
1065
+ end
1066
+
1005
1067
  # @note When making an API call, you may pass StopDataCollectionByAgentIdsRequest
1006
1068
  # data as a hash:
1007
1069
  #
@@ -1010,7 +1072,7 @@ module Aws::ApplicationDiscoveryService
1010
1072
  # }
1011
1073
  #
1012
1074
  # @!attribute [rw] agent_ids
1013
- # The IDs of the agents or Connectors that you want to stop collecting
1075
+ # The IDs of the agents or connectors from which to stop collecting
1014
1076
  # data.
1015
1077
  # @return [Array<String>]
1016
1078
  #
@@ -1020,10 +1082,10 @@ module Aws::ApplicationDiscoveryService
1020
1082
  end
1021
1083
 
1022
1084
  # @!attribute [rw] agents_configuration_status
1023
- # Information about agents or the Connector that were instructed to
1024
- # stop collecting data. Information includes the agent/Connector ID, a
1025
- # description of the operation performed, and whether or not the
1026
- # agent/Connector configuration was updated.
1085
+ # Information about the agents or connector that were instructed to
1086
+ # stop collecting data. Information includes the agent/connector ID, a
1087
+ # description of the operation performed, and whether the
1088
+ # agent/connector configuration was updated.
1027
1089
  # @return [Array<Types::AgentConfigurationStatus>]
1028
1090
  #
1029
1091
  class StopDataCollectionByAgentIdsResponse < Struct.new(
@@ -1042,11 +1104,11 @@ module Aws::ApplicationDiscoveryService
1042
1104
  # }
1043
1105
  #
1044
1106
  # @!attribute [rw] key
1045
- # A type of tag to filter on.
1107
+ # The type of tag on which to filter.
1046
1108
  # @return [String]
1047
1109
  #
1048
1110
  # @!attribute [rw] value
1049
- # A value for a tag key to filter on.
1111
+ # A value for a tag key on which to filter.
1050
1112
  # @return [String]
1051
1113
  #
1052
1114
  class Tag < Struct.new(
@@ -1055,7 +1117,7 @@ module Aws::ApplicationDiscoveryService
1055
1117
  include Aws::Structure
1056
1118
  end
1057
1119
 
1058
- # The name of a tag filter. Valid names are: `tagKey`, `tagValue`,
1120
+ # The tag filter. Valid names are: `tagKey`, `tagValue`,
1059
1121
  # `configurationId`.
1060
1122
  #
1061
1123
  # @note When making an API call, you may pass TagFilter
@@ -1067,11 +1129,11 @@ module Aws::ApplicationDiscoveryService
1067
1129
  # }
1068
1130
  #
1069
1131
  # @!attribute [rw] name
1070
- # A name of a tag filter.
1132
+ # A name of the tag filter.
1071
1133
  # @return [String]
1072
1134
  #
1073
1135
  # @!attribute [rw] values
1074
- # Values of a tag filter.
1136
+ # Values for the tag filter.
1075
1137
  # @return [Array<String>]
1076
1138
  #
1077
1139
  class TagFilter < Struct.new(
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-applicationdiscoveryservice
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.rc2
4
+ version: 1.0.0.rc3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-01-24 00:00:00.000000000 Z
11
+ date: 2017-04-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core