aws-sdk-applicationdiscoveryservice 1.0.0.rc9 → 1.0.0.rc10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8d263a3d8b214655af9534221101048212d768c9
|
4
|
+
data.tar.gz: 53bc50b6c53552585bda58346e67fd62a589e643
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ae22dcb0c16da166684816a79a9992712cc4b5453aeb7d6f454197a289f35628806e98af0c426527b15c7087b4aef656bbaea5dca286d0b60a52a9c87da7c47d
|
7
|
+
data.tar.gz: f656086a56e2a4051278441b0c5442f4cbe88b032d6ed81652c9273b3f3bb96d25c0c083f372a47c47371a14397bf39181a17af937a6e4d32370beff41c2073f
|
@@ -450,6 +450,9 @@ module Aws::ApplicationDiscoveryService
|
|
450
450
|
# resp.exports_info[0].status_message #=> String
|
451
451
|
# resp.exports_info[0].configurations_download_url #=> String
|
452
452
|
# resp.exports_info[0].export_request_time #=> Time
|
453
|
+
# resp.exports_info[0].is_truncated #=> Boolean
|
454
|
+
# resp.exports_info[0].requested_start_time #=> Time
|
455
|
+
# resp.exports_info[0].requested_end_time #=> Time
|
453
456
|
# resp.next_token #=> String
|
454
457
|
#
|
455
458
|
# @overload describe_export_configurations(params = {})
|
@@ -466,6 +469,13 @@ module Aws::ApplicationDiscoveryService
|
|
466
469
|
# One or more unique identifiers used to query the status of an export
|
467
470
|
# request.
|
468
471
|
#
|
472
|
+
# @option params [Array<Types::ExportFilter>] :filters
|
473
|
+
# One or more filters.
|
474
|
+
#
|
475
|
+
# * `AgentId` - ID of the agent whose collected data will be exported
|
476
|
+
#
|
477
|
+
# ^
|
478
|
+
#
|
469
479
|
# @option params [Integer] :max_results
|
470
480
|
# The maximum number of volume results returned by `DescribeExportTasks`
|
471
481
|
# in paginated output. When this parameter is used,
|
@@ -488,6 +498,13 @@ module Aws::ApplicationDiscoveryService
|
|
488
498
|
#
|
489
499
|
# resp = client.describe_export_tasks({
|
490
500
|
# export_ids: ["ConfigurationsExportId"],
|
501
|
+
# filters: [
|
502
|
+
# {
|
503
|
+
# name: "FilterName", # required
|
504
|
+
# values: ["FilterValue"], # required
|
505
|
+
# condition: "Condition", # required
|
506
|
+
# },
|
507
|
+
# ],
|
491
508
|
# max_results: 1,
|
492
509
|
# next_token: "NextToken",
|
493
510
|
# })
|
@@ -500,6 +517,9 @@ module Aws::ApplicationDiscoveryService
|
|
500
517
|
# resp.exports_info[0].status_message #=> String
|
501
518
|
# resp.exports_info[0].configurations_download_url #=> String
|
502
519
|
# resp.exports_info[0].export_request_time #=> Time
|
520
|
+
# resp.exports_info[0].is_truncated #=> Boolean
|
521
|
+
# resp.exports_info[0].requested_start_time #=> Time
|
522
|
+
# resp.exports_info[0].requested_end_time #=> Time
|
503
523
|
# resp.next_token #=> String
|
504
524
|
#
|
505
525
|
# @overload describe_export_tasks(params = {})
|
@@ -822,12 +842,41 @@ module Aws::ApplicationDiscoveryService
|
|
822
842
|
req.send_request(options)
|
823
843
|
end
|
824
844
|
|
825
|
-
#
|
826
|
-
#
|
845
|
+
# Begins the export of discovered data to an S3 bucket.
|
846
|
+
#
|
847
|
+
# If you specify `agentId` in a filter, the task exports up to 72 hours
|
848
|
+
# of detailed data collected by the identified Application Discovery
|
849
|
+
# Agent, including network, process, and performance details. A time
|
850
|
+
# range for exported agent data may be set by using `startTime` and
|
851
|
+
# `endTime`. Export of detailed agent data is limited to five
|
852
|
+
# concurrently running exports.
|
853
|
+
#
|
854
|
+
# If you do not include an `agentId` filter, summary data is exported
|
855
|
+
# that includes both AWS Agentless Discovery Connector data and summary
|
856
|
+
# data from AWS Discovery Agents. Export of summary data is limited to
|
857
|
+
# two exports per day.
|
827
858
|
#
|
828
859
|
# @option params [Array<String>] :export_data_format
|
829
860
|
# The file format for the returned export data. Default value is `CSV`.
|
830
861
|
#
|
862
|
+
# @option params [Array<Types::ExportFilter>] :filters
|
863
|
+
# If a filter is present, it selects the single `agentId` of the
|
864
|
+
# Application Discovery Agent for which data is exported. The `agentId`
|
865
|
+
# can be found in the results of the `DescribeAgents` API or CLI. If no
|
866
|
+
# filter is present, `startTime` and `endTime` are ignored and exported
|
867
|
+
# data includes both Agentless Discovery Connector data and summary data
|
868
|
+
# from Application Discovery agents.
|
869
|
+
#
|
870
|
+
# @option params [Time,DateTime,Date,Integer,String] :start_time
|
871
|
+
# The start timestamp for exported data from the single Application
|
872
|
+
# Discovery Agent selected in the filters. If no value is specified,
|
873
|
+
# data is exported starting from the first data collected by the agent.
|
874
|
+
#
|
875
|
+
# @option params [Time,DateTime,Date,Integer,String] :end_time
|
876
|
+
# The end timestamp for exported data from the single Application
|
877
|
+
# Discovery Agent selected in the filters. If no value is specified,
|
878
|
+
# exported data includes the most recent data collected by the agent.
|
879
|
+
#
|
831
880
|
# @return [Types::StartExportTaskResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
832
881
|
#
|
833
882
|
# * {Types::StartExportTaskResponse#export_id #export_id} => String
|
@@ -836,6 +885,15 @@ module Aws::ApplicationDiscoveryService
|
|
836
885
|
#
|
837
886
|
# resp = client.start_export_task({
|
838
887
|
# export_data_format: ["CSV"], # accepts CSV, GRAPHML
|
888
|
+
# filters: [
|
889
|
+
# {
|
890
|
+
# name: "FilterName", # required
|
891
|
+
# values: ["FilterValue"], # required
|
892
|
+
# condition: "Condition", # required
|
893
|
+
# },
|
894
|
+
# ],
|
895
|
+
# start_time: Time.now,
|
896
|
+
# end_time: Time.now,
|
839
897
|
# })
|
840
898
|
#
|
841
899
|
# @example Response structure
|
@@ -920,7 +978,7 @@ module Aws::ApplicationDiscoveryService
|
|
920
978
|
params: params,
|
921
979
|
config: config)
|
922
980
|
context[:gem_name] = 'aws-sdk-applicationdiscoveryservice'
|
923
|
-
context[:gem_version] = '1.0.0.
|
981
|
+
context[:gem_version] = '1.0.0.rc10'
|
924
982
|
Seahorse::Client::Request.new(handlers, context)
|
925
983
|
end
|
926
984
|
|
@@ -64,6 +64,8 @@ module Aws::ApplicationDiscoveryService
|
|
64
64
|
ExportConfigurationsResponse = Shapes::StructureShape.new(name: 'ExportConfigurationsResponse')
|
65
65
|
ExportDataFormat = Shapes::StringShape.new(name: 'ExportDataFormat')
|
66
66
|
ExportDataFormats = Shapes::ListShape.new(name: 'ExportDataFormats')
|
67
|
+
ExportFilter = Shapes::StructureShape.new(name: 'ExportFilter')
|
68
|
+
ExportFilters = Shapes::ListShape.new(name: 'ExportFilters')
|
67
69
|
ExportIds = Shapes::ListShape.new(name: 'ExportIds')
|
68
70
|
ExportInfo = Shapes::StructureShape.new(name: 'ExportInfo')
|
69
71
|
ExportRequestTime = Shapes::TimestampShape.new(name: 'ExportRequestTime')
|
@@ -238,6 +240,7 @@ module Aws::ApplicationDiscoveryService
|
|
238
240
|
DescribeExportConfigurationsResponse.struct_class = Types::DescribeExportConfigurationsResponse
|
239
241
|
|
240
242
|
DescribeExportTasksRequest.add_member(:export_ids, Shapes::ShapeRef.new(shape: ExportIds, location_name: "exportIds"))
|
243
|
+
DescribeExportTasksRequest.add_member(:filters, Shapes::ShapeRef.new(shape: ExportFilters, location_name: "filters"))
|
241
244
|
DescribeExportTasksRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: Integer, location_name: "maxResults"))
|
242
245
|
DescribeExportTasksRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
243
246
|
DescribeExportTasksRequest.struct_class = Types::DescribeExportTasksRequest
|
@@ -266,6 +269,13 @@ module Aws::ApplicationDiscoveryService
|
|
266
269
|
|
267
270
|
ExportDataFormats.member = Shapes::ShapeRef.new(shape: ExportDataFormat)
|
268
271
|
|
272
|
+
ExportFilter.add_member(:name, Shapes::ShapeRef.new(shape: FilterName, required: true, location_name: "name"))
|
273
|
+
ExportFilter.add_member(:values, Shapes::ShapeRef.new(shape: FilterValues, required: true, location_name: "values"))
|
274
|
+
ExportFilter.add_member(:condition, Shapes::ShapeRef.new(shape: Condition, required: true, location_name: "condition"))
|
275
|
+
ExportFilter.struct_class = Types::ExportFilter
|
276
|
+
|
277
|
+
ExportFilters.member = Shapes::ShapeRef.new(shape: ExportFilter)
|
278
|
+
|
269
279
|
ExportIds.member = Shapes::ShapeRef.new(shape: ConfigurationsExportId)
|
270
280
|
|
271
281
|
ExportInfo.add_member(:export_id, Shapes::ShapeRef.new(shape: ConfigurationsExportId, required: true, location_name: "exportId"))
|
@@ -273,6 +283,9 @@ module Aws::ApplicationDiscoveryService
|
|
273
283
|
ExportInfo.add_member(:status_message, Shapes::ShapeRef.new(shape: ExportStatusMessage, required: true, location_name: "statusMessage"))
|
274
284
|
ExportInfo.add_member(:configurations_download_url, Shapes::ShapeRef.new(shape: ConfigurationsDownloadUrl, location_name: "configurationsDownloadUrl"))
|
275
285
|
ExportInfo.add_member(:export_request_time, Shapes::ShapeRef.new(shape: ExportRequestTime, required: true, location_name: "exportRequestTime"))
|
286
|
+
ExportInfo.add_member(:is_truncated, Shapes::ShapeRef.new(shape: Boolean, location_name: "isTruncated"))
|
287
|
+
ExportInfo.add_member(:requested_start_time, Shapes::ShapeRef.new(shape: TimeStamp, location_name: "requestedStartTime"))
|
288
|
+
ExportInfo.add_member(:requested_end_time, Shapes::ShapeRef.new(shape: TimeStamp, location_name: "requestedEndTime"))
|
276
289
|
ExportInfo.struct_class = Types::ExportInfo
|
277
290
|
|
278
291
|
ExportsInfo.member = Shapes::ShapeRef.new(shape: ExportInfo)
|
@@ -341,6 +354,9 @@ module Aws::ApplicationDiscoveryService
|
|
341
354
|
StartDataCollectionByAgentIdsResponse.struct_class = Types::StartDataCollectionByAgentIdsResponse
|
342
355
|
|
343
356
|
StartExportTaskRequest.add_member(:export_data_format, Shapes::ShapeRef.new(shape: ExportDataFormats, location_name: "exportDataFormat"))
|
357
|
+
StartExportTaskRequest.add_member(:filters, Shapes::ShapeRef.new(shape: ExportFilters, location_name: "filters"))
|
358
|
+
StartExportTaskRequest.add_member(:start_time, Shapes::ShapeRef.new(shape: TimeStamp, location_name: "startTime"))
|
359
|
+
StartExportTaskRequest.add_member(:end_time, Shapes::ShapeRef.new(shape: TimeStamp, location_name: "endTime"))
|
344
360
|
StartExportTaskRequest.struct_class = Types::StartExportTaskRequest
|
345
361
|
|
346
362
|
StartExportTaskResponse.add_member(:export_id, Shapes::ShapeRef.new(shape: ConfigurationsExportId, location_name: "exportId"))
|
@@ -526,6 +526,13 @@ module Aws::ApplicationDiscoveryService
|
|
526
526
|
#
|
527
527
|
# {
|
528
528
|
# export_ids: ["ConfigurationsExportId"],
|
529
|
+
# filters: [
|
530
|
+
# {
|
531
|
+
# name: "FilterName", # required
|
532
|
+
# values: ["FilterValue"], # required
|
533
|
+
# condition: "Condition", # required
|
534
|
+
# },
|
535
|
+
# ],
|
529
536
|
# max_results: 1,
|
530
537
|
# next_token: "NextToken",
|
531
538
|
# }
|
@@ -535,6 +542,14 @@ module Aws::ApplicationDiscoveryService
|
|
535
542
|
# request.
|
536
543
|
# @return [Array<String>]
|
537
544
|
#
|
545
|
+
# @!attribute [rw] filters
|
546
|
+
# One or more filters.
|
547
|
+
#
|
548
|
+
# * `AgentId` - ID of the agent whose collected data will be exported
|
549
|
+
#
|
550
|
+
# ^
|
551
|
+
# @return [Array<Types::ExportFilter>]
|
552
|
+
#
|
538
553
|
# @!attribute [rw] max_results
|
539
554
|
# The maximum number of volume results returned by
|
540
555
|
# `DescribeExportTasks` in paginated output. When this parameter is
|
@@ -552,6 +567,7 @@ module Aws::ApplicationDiscoveryService
|
|
552
567
|
#
|
553
568
|
class DescribeExportTasksRequest < Struct.new(
|
554
569
|
:export_ids,
|
570
|
+
:filters,
|
555
571
|
:max_results,
|
556
572
|
:next_token)
|
557
573
|
include Aws::Structure
|
@@ -666,31 +682,87 @@ module Aws::ApplicationDiscoveryService
|
|
666
682
|
include Aws::Structure
|
667
683
|
end
|
668
684
|
|
669
|
-
#
|
670
|
-
#
|
685
|
+
# Used to select which agent's data is to be exported. A single agent
|
686
|
+
# ID may be selected for export using the [StartExportTask][1] action.
|
687
|
+
#
|
688
|
+
#
|
689
|
+
#
|
690
|
+
# [1]: http://docs.aws.amazon.com/application-discovery/latest/APIReference/API_StartExportTask.html
|
691
|
+
#
|
692
|
+
# @note When making an API call, you may pass ExportFilter
|
693
|
+
# data as a hash:
|
694
|
+
#
|
695
|
+
# {
|
696
|
+
# name: "FilterName", # required
|
697
|
+
# values: ["FilterValue"], # required
|
698
|
+
# condition: "Condition", # required
|
699
|
+
# }
|
700
|
+
#
|
701
|
+
# @!attribute [rw] name
|
702
|
+
# A single `ExportFilter` name. Supported filters: `agentId`.
|
703
|
+
# @return [String]
|
704
|
+
#
|
705
|
+
# @!attribute [rw] values
|
706
|
+
# A single `agentId` for a Discovery Agent. An `agentId` can be found
|
707
|
+
# using the [DescribeAgents][1] action. Typically an ADS `agentId` is
|
708
|
+
# in the form `o-0123456789abcdef0`.
|
709
|
+
#
|
710
|
+
#
|
711
|
+
#
|
712
|
+
# [1]: http://docs.aws.amazon.com/application-discovery/latest/APIReference/API_DescribeExportTasks.html
|
713
|
+
# @return [Array<String>]
|
714
|
+
#
|
715
|
+
# @!attribute [rw] condition
|
716
|
+
# Supported condition: `EQUALS`
|
717
|
+
# @return [String]
|
718
|
+
#
|
719
|
+
class ExportFilter < Struct.new(
|
720
|
+
:name,
|
721
|
+
:values,
|
722
|
+
:condition)
|
723
|
+
include Aws::Structure
|
724
|
+
end
|
725
|
+
|
726
|
+
# Information regarding the export status of discovered data. The value
|
727
|
+
# is an array of objects.
|
671
728
|
#
|
672
729
|
# @!attribute [rw] export_id
|
673
|
-
# A unique identifier
|
730
|
+
# A unique identifier used to query an export.
|
674
731
|
# @return [String]
|
675
732
|
#
|
676
733
|
# @!attribute [rw] export_status
|
677
|
-
# The status of the
|
678
|
-
# fail, or be in-progress.
|
734
|
+
# The status of the data export job.
|
679
735
|
# @return [String]
|
680
736
|
#
|
681
737
|
# @!attribute [rw] status_message
|
682
|
-
#
|
683
|
-
# exports in the last 6 hours. Export in progress. Export was
|
684
|
-
# successful.
|
738
|
+
# A status message provided for API callers.
|
685
739
|
# @return [String]
|
686
740
|
#
|
687
741
|
# @!attribute [rw] configurations_download_url
|
688
|
-
# A URL for an Amazon S3 bucket where you can review the
|
742
|
+
# A URL for an Amazon S3 bucket where you can review the exported
|
689
743
|
# data. The URL is displayed only if the export succeeded.
|
690
744
|
# @return [String]
|
691
745
|
#
|
692
746
|
# @!attribute [rw] export_request_time
|
693
|
-
# The time that the
|
747
|
+
# The time that the data export was initiated.
|
748
|
+
# @return [Time]
|
749
|
+
#
|
750
|
+
# @!attribute [rw] is_truncated
|
751
|
+
# If true, the export of agent information exceeded the size limit for
|
752
|
+
# a single export and the exported data is incomplete for the
|
753
|
+
# requested time range. To address this, select a smaller time range
|
754
|
+
# for the export by using `startDate` and `endDate`.
|
755
|
+
# @return [Boolean]
|
756
|
+
#
|
757
|
+
# @!attribute [rw] requested_start_time
|
758
|
+
# The value of `startTime` parameter in the `StartExportTask` request.
|
759
|
+
# If no `startTime` was requested, this result does not appear in
|
760
|
+
# `ExportInfo`.
|
761
|
+
# @return [Time]
|
762
|
+
#
|
763
|
+
# @!attribute [rw] requested_end_time
|
764
|
+
# The `endTime` used in the `StartExportTask` request. If no `endTime`
|
765
|
+
# was requested, this result does not appear in `ExportInfo`.
|
694
766
|
# @return [Time]
|
695
767
|
#
|
696
768
|
class ExportInfo < Struct.new(
|
@@ -698,7 +770,10 @@ module Aws::ApplicationDiscoveryService
|
|
698
770
|
:export_status,
|
699
771
|
:status_message,
|
700
772
|
:configurations_download_url,
|
701
|
-
:export_request_time
|
773
|
+
:export_request_time,
|
774
|
+
:is_truncated,
|
775
|
+
:requested_start_time,
|
776
|
+
:requested_end_time)
|
702
777
|
include Aws::Structure
|
703
778
|
end
|
704
779
|
|
@@ -1043,6 +1118,15 @@ module Aws::ApplicationDiscoveryService
|
|
1043
1118
|
#
|
1044
1119
|
# {
|
1045
1120
|
# export_data_format: ["CSV"], # accepts CSV, GRAPHML
|
1121
|
+
# filters: [
|
1122
|
+
# {
|
1123
|
+
# name: "FilterName", # required
|
1124
|
+
# values: ["FilterValue"], # required
|
1125
|
+
# condition: "Condition", # required
|
1126
|
+
# },
|
1127
|
+
# ],
|
1128
|
+
# start_time: Time.now,
|
1129
|
+
# end_time: Time.now,
|
1046
1130
|
# }
|
1047
1131
|
#
|
1048
1132
|
# @!attribute [rw] export_data_format
|
@@ -1050,8 +1134,33 @@ module Aws::ApplicationDiscoveryService
|
|
1050
1134
|
# `CSV`.
|
1051
1135
|
# @return [Array<String>]
|
1052
1136
|
#
|
1137
|
+
# @!attribute [rw] filters
|
1138
|
+
# If a filter is present, it selects the single `agentId` of the
|
1139
|
+
# Application Discovery Agent for which data is exported. The
|
1140
|
+
# `agentId` can be found in the results of the `DescribeAgents` API or
|
1141
|
+
# CLI. If no filter is present, `startTime` and `endTime` are ignored
|
1142
|
+
# and exported data includes both Agentless Discovery Connector data
|
1143
|
+
# and summary data from Application Discovery agents.
|
1144
|
+
# @return [Array<Types::ExportFilter>]
|
1145
|
+
#
|
1146
|
+
# @!attribute [rw] start_time
|
1147
|
+
# The start timestamp for exported data from the single Application
|
1148
|
+
# Discovery Agent selected in the filters. If no value is specified,
|
1149
|
+
# data is exported starting from the first data collected by the
|
1150
|
+
# agent.
|
1151
|
+
# @return [Time]
|
1152
|
+
#
|
1153
|
+
# @!attribute [rw] end_time
|
1154
|
+
# The end timestamp for exported data from the single Application
|
1155
|
+
# Discovery Agent selected in the filters. If no value is specified,
|
1156
|
+
# exported data includes the most recent data collected by the agent.
|
1157
|
+
# @return [Time]
|
1158
|
+
#
|
1053
1159
|
class StartExportTaskRequest < Struct.new(
|
1054
|
-
:export_data_format
|
1160
|
+
:export_data_format,
|
1161
|
+
:filters,
|
1162
|
+
:start_time,
|
1163
|
+
:end_time)
|
1055
1164
|
include Aws::Structure
|
1056
1165
|
end
|
1057
1166
|
|
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.
|
4
|
+
version: 1.0.0.rc10
|
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-07-
|
11
|
+
date: 2017-07-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|