aws-sdk-applicationdiscoveryservice 1.2.0 → 1.3.0
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 62ca94e07a22b7da01ab6367afde5bd4f6f60d9c
|
4
|
+
data.tar.gz: fa3e776fb6c1f86166e50365072847f17edae6aa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 41744c514153b05a8b74a46f0634ae3b588aeb02aafb3400a222f385750b79eef69fc9dec00a61768843661d007ccba07bd18a149a40dc1274a394d68215f77a
|
7
|
+
data.tar.gz: f04066be38a26e34ab61ffa7cf7fa25a9ea8efabc2c869d6de86078cd4504c91b619f1df241d30cbbed00c186d2c0ba4a096337d28c99de88da1c91d6813dc6b
|
@@ -312,8 +312,9 @@ module Aws::ApplicationDiscoveryService
|
|
312
312
|
req.send_request(options)
|
313
313
|
end
|
314
314
|
|
315
|
-
# Lists agents or
|
316
|
-
# associated with your user account
|
315
|
+
# Lists agents or connectors as specified by ID or other filters. All
|
316
|
+
# agents/connectors associated with your user account can be listed if
|
317
|
+
# you call `DescribeAgents` as is without passing any parameters.
|
317
318
|
#
|
318
319
|
# @option params [Array<String>] :agent_ids
|
319
320
|
# The agent or the Connector IDs for which you want information. If you
|
@@ -381,16 +382,29 @@ module Aws::ApplicationDiscoveryService
|
|
381
382
|
req.send_request(options)
|
382
383
|
end
|
383
384
|
|
384
|
-
# Retrieves attributes for a list of configuration item IDs.
|
385
|
-
# supplied IDs must be for the same asset type (server, application,
|
386
|
-
# process, or connection). Output fields are specific to the asset type
|
387
|
-
# selected. For example, the output for a *server* configuration item
|
388
|
-
# includes a list of attributes about the server, such as host name,
|
389
|
-
# operating system, and number of network cards.
|
385
|
+
# Retrieves attributes for a list of configuration item IDs.
|
390
386
|
#
|
391
|
-
#
|
387
|
+
# <note markdown="1"> All of the supplied IDs must be for the same asset type from one of
|
388
|
+
# the follwoing:
|
389
|
+
#
|
390
|
+
# * server
|
391
|
+
#
|
392
|
+
# * application
|
393
|
+
#
|
394
|
+
# * process
|
395
|
+
#
|
396
|
+
# * connection
|
397
|
+
#
|
398
|
+
# Output fields are specific to the asset type specified. For example,
|
399
|
+
# the output for a *server* configuration item includes a list of
|
400
|
+
# attributes about the server, such as host name, operating system,
|
401
|
+
# number of network cards, etc.
|
402
|
+
#
|
403
|
+
# For a complete list of outputs for each asset type, see [Using the
|
392
404
|
# DescribeConfigurations Action][1].
|
393
405
|
#
|
406
|
+
# </note>
|
407
|
+
#
|
394
408
|
#
|
395
409
|
#
|
396
410
|
# [1]: http://docs.aws.amazon.com/application-discovery/latest/APIReference/discovery-api-queries.html#DescribeConfigurations
|
@@ -421,24 +435,71 @@ module Aws::ApplicationDiscoveryService
|
|
421
435
|
req.send_request(options)
|
422
436
|
end
|
423
437
|
|
424
|
-
#
|
438
|
+
# Lists exports as specified by ID. All continuous exports associated
|
439
|
+
# with your user account can be listed if you call
|
440
|
+
# `DescribeContinuousExports` as is without passing any parameters.
|
441
|
+
#
|
442
|
+
# @option params [Array<String>] :export_ids
|
443
|
+
# The unique IDs assigned to the exports.
|
444
|
+
#
|
445
|
+
# @option params [Integer] :max_results
|
446
|
+
# A number between 1 and 100 specifying the maximum number of continuous
|
447
|
+
# export descriptions returned.
|
448
|
+
#
|
449
|
+
# @option params [String] :next_token
|
450
|
+
# The token from the previous call to `DescribeExportTasks`.
|
451
|
+
#
|
452
|
+
# @return [Types::DescribeContinuousExportsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
453
|
+
#
|
454
|
+
# * {Types::DescribeContinuousExportsResponse#descriptions #descriptions} => Array<Types::ContinuousExportDescription>
|
455
|
+
# * {Types::DescribeContinuousExportsResponse#next_token #next_token} => String
|
456
|
+
#
|
457
|
+
# @example Request syntax with placeholder values
|
458
|
+
#
|
459
|
+
# resp = client.describe_continuous_exports({
|
460
|
+
# export_ids: ["ConfigurationsExportId"],
|
461
|
+
# max_results: 1,
|
462
|
+
# next_token: "NextToken",
|
463
|
+
# })
|
464
|
+
#
|
465
|
+
# @example Response structure
|
466
|
+
#
|
467
|
+
# resp.descriptions #=> Array
|
468
|
+
# resp.descriptions[0].export_id #=> String
|
469
|
+
# resp.descriptions[0].status #=> String, one of "START_IN_PROGRESS", "START_FAILED", "ACTIVE", "ERROR", "STOP_IN_PROGRESS", "STOP_FAILED", "INACTIVE"
|
470
|
+
# resp.descriptions[0].status_detail #=> String
|
471
|
+
# resp.descriptions[0].s3_bucket #=> String
|
472
|
+
# resp.descriptions[0].start_time #=> Time
|
473
|
+
# resp.descriptions[0].stop_time #=> Time
|
474
|
+
# resp.descriptions[0].data_source #=> String, one of "AGENT"
|
475
|
+
# resp.descriptions[0].schema_storage_config #=> Hash
|
476
|
+
# resp.descriptions[0].schema_storage_config["DatabaseName"] #=> String
|
477
|
+
# resp.next_token #=> String
|
478
|
+
#
|
479
|
+
# @overload describe_continuous_exports(params = {})
|
480
|
+
# @param [Hash] params ({})
|
481
|
+
def describe_continuous_exports(params = {}, options = {})
|
482
|
+
req = build_request(:describe_continuous_exports, params)
|
483
|
+
req.send_request(options)
|
484
|
+
end
|
485
|
+
|
486
|
+
# `DescribeExportConfigurations` is deprecated.
|
487
|
+
#
|
488
|
+
# Use instead [ `DescribeExportTasks` ][1].
|
489
|
+
#
|
425
490
|
#
|
426
|
-
#
|
427
|
-
#
|
491
|
+
#
|
492
|
+
# [1]: http://docs.aws.amazon.com/application-discovery/latest/APIReference/API_DescribeExportTasks.html
|
428
493
|
#
|
429
494
|
# @option params [Array<String>] :export_ids
|
430
|
-
# A
|
495
|
+
# A list of continuous export ids to search for.
|
431
496
|
#
|
432
497
|
# @option params [Integer] :max_results
|
433
|
-
#
|
434
|
-
#
|
498
|
+
# A number between 1 and 100 specifying the maximum number of continuous
|
499
|
+
# export descriptions returned.
|
435
500
|
#
|
436
501
|
# @option params [String] :next_token
|
437
|
-
#
|
438
|
-
# 100 IDs for `DescribeExportConfigurationsRequest$exportIds` but set
|
439
|
-
# `DescribeExportConfigurationsRequest$maxResults` to 10, you get
|
440
|
-
# results in a set of 10. Use the token in the query to get the next set
|
441
|
-
# of 10.
|
502
|
+
# The token from the previous call to describe-export-tasks.
|
442
503
|
#
|
443
504
|
# @return [Types::DescribeExportConfigurationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
444
505
|
#
|
@@ -540,9 +601,21 @@ module Aws::ApplicationDiscoveryService
|
|
540
601
|
req.send_request(options)
|
541
602
|
end
|
542
603
|
|
543
|
-
# Retrieves a list of configuration items that
|
544
|
-
#
|
545
|
-
#
|
604
|
+
# Retrieves a list of configuration items that have tags as specified by
|
605
|
+
# the key-value pairs, name and value, passed to the optional parameter
|
606
|
+
# `filters`.
|
607
|
+
#
|
608
|
+
# There are three valid tag filter names:
|
609
|
+
#
|
610
|
+
# * tagKey
|
611
|
+
#
|
612
|
+
# * tagValue
|
613
|
+
#
|
614
|
+
# * configurationId
|
615
|
+
#
|
616
|
+
# Also, all configuration items associated with your user account that
|
617
|
+
# have tags can be listed if you call `DescribeTags` as is without
|
618
|
+
# passing any parameters.
|
546
619
|
#
|
547
620
|
# @option params [Array<Types::TagFilter>] :filters
|
548
621
|
# You can filter the list using a *key*-*value* format. You can separate
|
@@ -643,6 +716,9 @@ module Aws::ApplicationDiscoveryService
|
|
643
716
|
|
644
717
|
# Retrieves a short summary of discovered assets.
|
645
718
|
#
|
719
|
+
# This API operation takes no request parameters and is called as is at
|
720
|
+
# the command prompt as shown in the example.
|
721
|
+
#
|
646
722
|
# @return [Types::GetDiscoverySummaryResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
647
723
|
#
|
648
724
|
# * {Types::GetDiscoverySummaryResponse#servers #servers} => Integer
|
@@ -680,9 +756,9 @@ module Aws::ApplicationDiscoveryService
|
|
680
756
|
req.send_request(options)
|
681
757
|
end
|
682
758
|
|
683
|
-
# Retrieves a list of configuration items
|
684
|
-
#
|
685
|
-
#
|
759
|
+
# Retrieves a list of configuration items as specified by the value
|
760
|
+
# passed to the required paramater `configurationType`. Optional
|
761
|
+
# filtering may be applied to refine search results.
|
686
762
|
#
|
687
763
|
# @option params [required, String] :configuration_type
|
688
764
|
# A valid configuration identified by Application Discovery Service.
|
@@ -817,6 +893,33 @@ module Aws::ApplicationDiscoveryService
|
|
817
893
|
req.send_request(options)
|
818
894
|
end
|
819
895
|
|
896
|
+
# Start the continuous flow of agent's discovered data into Amazon
|
897
|
+
# Athena.
|
898
|
+
#
|
899
|
+
# @return [Types::StartContinuousExportResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
900
|
+
#
|
901
|
+
# * {Types::StartContinuousExportResponse#export_id #export_id} => String
|
902
|
+
# * {Types::StartContinuousExportResponse#s3_bucket #s3_bucket} => String
|
903
|
+
# * {Types::StartContinuousExportResponse#start_time #start_time} => Time
|
904
|
+
# * {Types::StartContinuousExportResponse#data_source #data_source} => String
|
905
|
+
# * {Types::StartContinuousExportResponse#schema_storage_config #schema_storage_config} => Hash<String,String>
|
906
|
+
#
|
907
|
+
# @example Response structure
|
908
|
+
#
|
909
|
+
# resp.export_id #=> String
|
910
|
+
# resp.s3_bucket #=> String
|
911
|
+
# resp.start_time #=> Time
|
912
|
+
# resp.data_source #=> String, one of "AGENT"
|
913
|
+
# resp.schema_storage_config #=> Hash
|
914
|
+
# resp.schema_storage_config["DatabaseName"] #=> String
|
915
|
+
#
|
916
|
+
# @overload start_continuous_export(params = {})
|
917
|
+
# @param [Hash] params ({})
|
918
|
+
def start_continuous_export(params = {}, options = {})
|
919
|
+
req = build_request(:start_continuous_export, params)
|
920
|
+
req.send_request(options)
|
921
|
+
end
|
922
|
+
|
820
923
|
# Instructs the specified agents or connectors to start collecting data.
|
821
924
|
#
|
822
925
|
# @option params [required, Array<String>] :agent_ids
|
@@ -919,6 +1022,35 @@ module Aws::ApplicationDiscoveryService
|
|
919
1022
|
req.send_request(options)
|
920
1023
|
end
|
921
1024
|
|
1025
|
+
# Stop the continuous flow of agent's discovered data into Amazon
|
1026
|
+
# Athena.
|
1027
|
+
#
|
1028
|
+
# @option params [required, String] :export_id
|
1029
|
+
# The unique ID assigned to this export.
|
1030
|
+
#
|
1031
|
+
# @return [Types::StopContinuousExportResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1032
|
+
#
|
1033
|
+
# * {Types::StopContinuousExportResponse#start_time #start_time} => Time
|
1034
|
+
# * {Types::StopContinuousExportResponse#stop_time #stop_time} => Time
|
1035
|
+
#
|
1036
|
+
# @example Request syntax with placeholder values
|
1037
|
+
#
|
1038
|
+
# resp = client.stop_continuous_export({
|
1039
|
+
# export_id: "ConfigurationsExportId", # required
|
1040
|
+
# })
|
1041
|
+
#
|
1042
|
+
# @example Response structure
|
1043
|
+
#
|
1044
|
+
# resp.start_time #=> Time
|
1045
|
+
# resp.stop_time #=> Time
|
1046
|
+
#
|
1047
|
+
# @overload stop_continuous_export(params = {})
|
1048
|
+
# @param [Hash] params ({})
|
1049
|
+
def stop_continuous_export(params = {}, options = {})
|
1050
|
+
req = build_request(:stop_continuous_export, params)
|
1051
|
+
req.send_request(options)
|
1052
|
+
end
|
1053
|
+
|
922
1054
|
# Instructs the specified agents or connectors to stop collecting data.
|
923
1055
|
#
|
924
1056
|
# @option params [required, Array<String>] :agent_ids
|
@@ -990,7 +1122,7 @@ module Aws::ApplicationDiscoveryService
|
|
990
1122
|
params: params,
|
991
1123
|
config: config)
|
992
1124
|
context[:gem_name] = 'aws-sdk-applicationdiscoveryservice'
|
993
|
-
context[:gem_version] = '1.
|
1125
|
+
context[:gem_version] = '1.3.0'
|
994
1126
|
Seahorse::Client::Request.new(handlers, context)
|
995
1127
|
end
|
996
1128
|
|
@@ -37,12 +37,19 @@ module Aws::ApplicationDiscoveryService
|
|
37
37
|
Configurations = Shapes::ListShape.new(name: 'Configurations')
|
38
38
|
ConfigurationsDownloadUrl = Shapes::StringShape.new(name: 'ConfigurationsDownloadUrl')
|
39
39
|
ConfigurationsExportId = Shapes::StringShape.new(name: 'ConfigurationsExportId')
|
40
|
+
ConflictErrorException = Shapes::StructureShape.new(name: 'ConflictErrorException')
|
41
|
+
ContinuousExportDescription = Shapes::StructureShape.new(name: 'ContinuousExportDescription')
|
42
|
+
ContinuousExportDescriptions = Shapes::ListShape.new(name: 'ContinuousExportDescriptions')
|
43
|
+
ContinuousExportIds = Shapes::ListShape.new(name: 'ContinuousExportIds')
|
44
|
+
ContinuousExportStatus = Shapes::StringShape.new(name: 'ContinuousExportStatus')
|
40
45
|
CreateApplicationRequest = Shapes::StructureShape.new(name: 'CreateApplicationRequest')
|
41
46
|
CreateApplicationResponse = Shapes::StructureShape.new(name: 'CreateApplicationResponse')
|
42
47
|
CreateTagsRequest = Shapes::StructureShape.new(name: 'CreateTagsRequest')
|
43
48
|
CreateTagsResponse = Shapes::StructureShape.new(name: 'CreateTagsResponse')
|
44
49
|
CustomerAgentInfo = Shapes::StructureShape.new(name: 'CustomerAgentInfo')
|
45
50
|
CustomerConnectorInfo = Shapes::StructureShape.new(name: 'CustomerConnectorInfo')
|
51
|
+
DataSource = Shapes::StringShape.new(name: 'DataSource')
|
52
|
+
DatabaseName = Shapes::StringShape.new(name: 'DatabaseName')
|
46
53
|
DeleteApplicationsRequest = Shapes::StructureShape.new(name: 'DeleteApplicationsRequest')
|
47
54
|
DeleteApplicationsResponse = Shapes::StructureShape.new(name: 'DeleteApplicationsResponse')
|
48
55
|
DeleteTagsRequest = Shapes::StructureShape.new(name: 'DeleteTagsRequest')
|
@@ -53,6 +60,9 @@ module Aws::ApplicationDiscoveryService
|
|
53
60
|
DescribeConfigurationsAttributes = Shapes::ListShape.new(name: 'DescribeConfigurationsAttributes')
|
54
61
|
DescribeConfigurationsRequest = Shapes::StructureShape.new(name: 'DescribeConfigurationsRequest')
|
55
62
|
DescribeConfigurationsResponse = Shapes::StructureShape.new(name: 'DescribeConfigurationsResponse')
|
63
|
+
DescribeContinuousExportsMaxResults = Shapes::IntegerShape.new(name: 'DescribeContinuousExportsMaxResults')
|
64
|
+
DescribeContinuousExportsRequest = Shapes::StructureShape.new(name: 'DescribeContinuousExportsRequest')
|
65
|
+
DescribeContinuousExportsResponse = Shapes::StructureShape.new(name: 'DescribeContinuousExportsResponse')
|
56
66
|
DescribeExportConfigurationsRequest = Shapes::StructureShape.new(name: 'DescribeExportConfigurationsRequest')
|
57
67
|
DescribeExportConfigurationsResponse = Shapes::StructureShape.new(name: 'DescribeExportConfigurationsResponse')
|
58
68
|
DescribeExportTasksRequest = Shapes::StructureShape.new(name: 'DescribeExportTasksRequest')
|
@@ -94,15 +104,23 @@ module Aws::ApplicationDiscoveryService
|
|
94
104
|
OperationNotPermittedException = Shapes::StructureShape.new(name: 'OperationNotPermittedException')
|
95
105
|
OrderByElement = Shapes::StructureShape.new(name: 'OrderByElement')
|
96
106
|
OrderByList = Shapes::ListShape.new(name: 'OrderByList')
|
107
|
+
ResourceInUseException = Shapes::StructureShape.new(name: 'ResourceInUseException')
|
97
108
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
109
|
+
S3Bucket = Shapes::StringShape.new(name: 'S3Bucket')
|
110
|
+
SchemaStorageConfig = Shapes::MapShape.new(name: 'SchemaStorageConfig')
|
98
111
|
ServerInternalErrorException = Shapes::StructureShape.new(name: 'ServerInternalErrorException')
|
112
|
+
StartContinuousExportRequest = Shapes::StructureShape.new(name: 'StartContinuousExportRequest')
|
113
|
+
StartContinuousExportResponse = Shapes::StructureShape.new(name: 'StartContinuousExportResponse')
|
99
114
|
StartDataCollectionByAgentIdsRequest = Shapes::StructureShape.new(name: 'StartDataCollectionByAgentIdsRequest')
|
100
115
|
StartDataCollectionByAgentIdsResponse = Shapes::StructureShape.new(name: 'StartDataCollectionByAgentIdsResponse')
|
101
116
|
StartExportTaskRequest = Shapes::StructureShape.new(name: 'StartExportTaskRequest')
|
102
117
|
StartExportTaskResponse = Shapes::StructureShape.new(name: 'StartExportTaskResponse')
|
118
|
+
StopContinuousExportRequest = Shapes::StructureShape.new(name: 'StopContinuousExportRequest')
|
119
|
+
StopContinuousExportResponse = Shapes::StructureShape.new(name: 'StopContinuousExportResponse')
|
103
120
|
StopDataCollectionByAgentIdsRequest = Shapes::StructureShape.new(name: 'StopDataCollectionByAgentIdsRequest')
|
104
121
|
StopDataCollectionByAgentIdsResponse = Shapes::StructureShape.new(name: 'StopDataCollectionByAgentIdsResponse')
|
105
122
|
String = Shapes::StringShape.new(name: 'String')
|
123
|
+
StringMax255 = Shapes::StringShape.new(name: 'StringMax255')
|
106
124
|
Tag = Shapes::StructureShape.new(name: 'Tag')
|
107
125
|
TagFilter = Shapes::StructureShape.new(name: 'TagFilter')
|
108
126
|
TagFilters = Shapes::ListShape.new(name: 'TagFilters')
|
@@ -167,6 +185,20 @@ module Aws::ApplicationDiscoveryService
|
|
167
185
|
|
168
186
|
Configurations.member = Shapes::ShapeRef.new(shape: Configuration)
|
169
187
|
|
188
|
+
ContinuousExportDescription.add_member(:export_id, Shapes::ShapeRef.new(shape: ConfigurationsExportId, location_name: "exportId"))
|
189
|
+
ContinuousExportDescription.add_member(:status, Shapes::ShapeRef.new(shape: ContinuousExportStatus, location_name: "status"))
|
190
|
+
ContinuousExportDescription.add_member(:status_detail, Shapes::ShapeRef.new(shape: StringMax255, location_name: "statusDetail"))
|
191
|
+
ContinuousExportDescription.add_member(:s3_bucket, Shapes::ShapeRef.new(shape: S3Bucket, location_name: "s3Bucket"))
|
192
|
+
ContinuousExportDescription.add_member(:start_time, Shapes::ShapeRef.new(shape: TimeStamp, location_name: "startTime"))
|
193
|
+
ContinuousExportDescription.add_member(:stop_time, Shapes::ShapeRef.new(shape: TimeStamp, location_name: "stopTime"))
|
194
|
+
ContinuousExportDescription.add_member(:data_source, Shapes::ShapeRef.new(shape: DataSource, location_name: "dataSource"))
|
195
|
+
ContinuousExportDescription.add_member(:schema_storage_config, Shapes::ShapeRef.new(shape: SchemaStorageConfig, location_name: "schemaStorageConfig"))
|
196
|
+
ContinuousExportDescription.struct_class = Types::ContinuousExportDescription
|
197
|
+
|
198
|
+
ContinuousExportDescriptions.member = Shapes::ShapeRef.new(shape: ContinuousExportDescription)
|
199
|
+
|
200
|
+
ContinuousExportIds.member = Shapes::ShapeRef.new(shape: ConfigurationsExportId)
|
201
|
+
|
170
202
|
CreateApplicationRequest.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "name"))
|
171
203
|
CreateApplicationRequest.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description"))
|
172
204
|
CreateApplicationRequest.struct_class = Types::CreateApplicationRequest
|
@@ -230,6 +262,15 @@ module Aws::ApplicationDiscoveryService
|
|
230
262
|
DescribeConfigurationsResponse.add_member(:configurations, Shapes::ShapeRef.new(shape: DescribeConfigurationsAttributes, location_name: "configurations"))
|
231
263
|
DescribeConfigurationsResponse.struct_class = Types::DescribeConfigurationsResponse
|
232
264
|
|
265
|
+
DescribeContinuousExportsRequest.add_member(:export_ids, Shapes::ShapeRef.new(shape: ContinuousExportIds, location_name: "exportIds"))
|
266
|
+
DescribeContinuousExportsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: DescribeContinuousExportsMaxResults, location_name: "maxResults"))
|
267
|
+
DescribeContinuousExportsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
268
|
+
DescribeContinuousExportsRequest.struct_class = Types::DescribeContinuousExportsRequest
|
269
|
+
|
270
|
+
DescribeContinuousExportsResponse.add_member(:descriptions, Shapes::ShapeRef.new(shape: ContinuousExportDescriptions, location_name: "descriptions"))
|
271
|
+
DescribeContinuousExportsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
272
|
+
DescribeContinuousExportsResponse.struct_class = Types::DescribeContinuousExportsResponse
|
273
|
+
|
233
274
|
DescribeExportConfigurationsRequest.add_member(:export_ids, Shapes::ShapeRef.new(shape: ExportIds, location_name: "exportIds"))
|
234
275
|
DescribeExportConfigurationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: Integer, location_name: "maxResults"))
|
235
276
|
DescribeExportConfigurationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
@@ -347,6 +388,18 @@ module Aws::ApplicationDiscoveryService
|
|
347
388
|
|
348
389
|
OrderByList.member = Shapes::ShapeRef.new(shape: OrderByElement)
|
349
390
|
|
391
|
+
SchemaStorageConfig.key = Shapes::ShapeRef.new(shape: DatabaseName)
|
392
|
+
SchemaStorageConfig.value = Shapes::ShapeRef.new(shape: String)
|
393
|
+
|
394
|
+
StartContinuousExportRequest.struct_class = Types::StartContinuousExportRequest
|
395
|
+
|
396
|
+
StartContinuousExportResponse.add_member(:export_id, Shapes::ShapeRef.new(shape: ConfigurationsExportId, location_name: "exportId"))
|
397
|
+
StartContinuousExportResponse.add_member(:s3_bucket, Shapes::ShapeRef.new(shape: S3Bucket, location_name: "s3Bucket"))
|
398
|
+
StartContinuousExportResponse.add_member(:start_time, Shapes::ShapeRef.new(shape: TimeStamp, location_name: "startTime"))
|
399
|
+
StartContinuousExportResponse.add_member(:data_source, Shapes::ShapeRef.new(shape: DataSource, location_name: "dataSource"))
|
400
|
+
StartContinuousExportResponse.add_member(:schema_storage_config, Shapes::ShapeRef.new(shape: SchemaStorageConfig, location_name: "schemaStorageConfig"))
|
401
|
+
StartContinuousExportResponse.struct_class = Types::StartContinuousExportResponse
|
402
|
+
|
350
403
|
StartDataCollectionByAgentIdsRequest.add_member(:agent_ids, Shapes::ShapeRef.new(shape: AgentIds, required: true, location_name: "agentIds"))
|
351
404
|
StartDataCollectionByAgentIdsRequest.struct_class = Types::StartDataCollectionByAgentIdsRequest
|
352
405
|
|
@@ -362,6 +415,13 @@ module Aws::ApplicationDiscoveryService
|
|
362
415
|
StartExportTaskResponse.add_member(:export_id, Shapes::ShapeRef.new(shape: ConfigurationsExportId, location_name: "exportId"))
|
363
416
|
StartExportTaskResponse.struct_class = Types::StartExportTaskResponse
|
364
417
|
|
418
|
+
StopContinuousExportRequest.add_member(:export_id, Shapes::ShapeRef.new(shape: ConfigurationsExportId, required: true, location_name: "exportId"))
|
419
|
+
StopContinuousExportRequest.struct_class = Types::StopContinuousExportRequest
|
420
|
+
|
421
|
+
StopContinuousExportResponse.add_member(:start_time, Shapes::ShapeRef.new(shape: TimeStamp, location_name: "startTime"))
|
422
|
+
StopContinuousExportResponse.add_member(:stop_time, Shapes::ShapeRef.new(shape: TimeStamp, location_name: "stopTime"))
|
423
|
+
StopContinuousExportResponse.struct_class = Types::StopContinuousExportResponse
|
424
|
+
|
365
425
|
StopDataCollectionByAgentIdsRequest.add_member(:agent_ids, Shapes::ShapeRef.new(shape: AgentIds, required: true, location_name: "agentIds"))
|
366
426
|
StopDataCollectionByAgentIdsRequest.struct_class = Types::StopDataCollectionByAgentIdsRequest
|
367
427
|
|
@@ -488,6 +548,26 @@ module Aws::ApplicationDiscoveryService
|
|
488
548
|
o.errors << Shapes::ShapeRef.new(shape: ServerInternalErrorException)
|
489
549
|
end)
|
490
550
|
|
551
|
+
api.add_operation(:describe_continuous_exports, Seahorse::Model::Operation.new.tap do |o|
|
552
|
+
o.name = "DescribeContinuousExports"
|
553
|
+
o.http_method = "POST"
|
554
|
+
o.http_request_uri = "/"
|
555
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeContinuousExportsRequest)
|
556
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeContinuousExportsResponse)
|
557
|
+
o.errors << Shapes::ShapeRef.new(shape: AuthorizationErrorException)
|
558
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
559
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
560
|
+
o.errors << Shapes::ShapeRef.new(shape: ServerInternalErrorException)
|
561
|
+
o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
|
562
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
563
|
+
o[:pager] = Aws::Pager.new(
|
564
|
+
limit_key: "max_results",
|
565
|
+
tokens: {
|
566
|
+
"next_token" => "next_token"
|
567
|
+
}
|
568
|
+
)
|
569
|
+
end)
|
570
|
+
|
491
571
|
api.add_operation(:describe_export_configurations, Seahorse::Model::Operation.new.tap do |o|
|
492
572
|
o.name = "DescribeExportConfigurations"
|
493
573
|
o.http_method = "POST"
|
@@ -590,6 +670,21 @@ module Aws::ApplicationDiscoveryService
|
|
590
670
|
o.errors << Shapes::ShapeRef.new(shape: ServerInternalErrorException)
|
591
671
|
end)
|
592
672
|
|
673
|
+
api.add_operation(:start_continuous_export, Seahorse::Model::Operation.new.tap do |o|
|
674
|
+
o.name = "StartContinuousExport"
|
675
|
+
o.http_method = "POST"
|
676
|
+
o.http_request_uri = "/"
|
677
|
+
o.input = Shapes::ShapeRef.new(shape: StartContinuousExportRequest)
|
678
|
+
o.output = Shapes::ShapeRef.new(shape: StartContinuousExportResponse)
|
679
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictErrorException)
|
680
|
+
o.errors << Shapes::ShapeRef.new(shape: AuthorizationErrorException)
|
681
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
682
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
683
|
+
o.errors << Shapes::ShapeRef.new(shape: ServerInternalErrorException)
|
684
|
+
o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
|
685
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
|
686
|
+
end)
|
687
|
+
|
593
688
|
api.add_operation(:start_data_collection_by_agent_ids, Seahorse::Model::Operation.new.tap do |o|
|
594
689
|
o.name = "StartDataCollectionByAgentIds"
|
595
690
|
o.http_method = "POST"
|
@@ -615,6 +710,21 @@ module Aws::ApplicationDiscoveryService
|
|
615
710
|
o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
|
616
711
|
end)
|
617
712
|
|
713
|
+
api.add_operation(:stop_continuous_export, Seahorse::Model::Operation.new.tap do |o|
|
714
|
+
o.name = "StopContinuousExport"
|
715
|
+
o.http_method = "POST"
|
716
|
+
o.http_request_uri = "/"
|
717
|
+
o.input = Shapes::ShapeRef.new(shape: StopContinuousExportRequest)
|
718
|
+
o.output = Shapes::ShapeRef.new(shape: StopContinuousExportResponse)
|
719
|
+
o.errors << Shapes::ShapeRef.new(shape: AuthorizationErrorException)
|
720
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
721
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
722
|
+
o.errors << Shapes::ShapeRef.new(shape: ServerInternalErrorException)
|
723
|
+
o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
|
724
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
725
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
|
726
|
+
end)
|
727
|
+
|
618
728
|
api.add_operation(:stop_data_collection_by_agent_ids, Seahorse::Model::Operation.new.tap do |o|
|
619
729
|
o.name = "StopDataCollectionByAgentIds"
|
620
730
|
o.http_method = "POST"
|
@@ -173,6 +173,80 @@ module Aws::ApplicationDiscoveryService
|
|
173
173
|
include Aws::Structure
|
174
174
|
end
|
175
175
|
|
176
|
+
# A list of continuous export descriptions.
|
177
|
+
#
|
178
|
+
# @!attribute [rw] export_id
|
179
|
+
# The unique ID assigned to this export.
|
180
|
+
# @return [String]
|
181
|
+
#
|
182
|
+
# @!attribute [rw] status
|
183
|
+
# Describes the status of the export. Can be one of the following
|
184
|
+
# values:
|
185
|
+
#
|
186
|
+
# * START\_IN\_PROGRESS - setting up resources to start continuous
|
187
|
+
# export.
|
188
|
+
#
|
189
|
+
# * START\_FAILED - an error occurred setting up continuous export. To
|
190
|
+
# recover, call start-continuous-export again.
|
191
|
+
#
|
192
|
+
# * ACTIVE - data is being exported to the customer bucket.
|
193
|
+
#
|
194
|
+
# * ERROR - an error occurred during export. To fix the issue, call
|
195
|
+
# stop-continuous-export and start-continuous-export.
|
196
|
+
#
|
197
|
+
# * STOP\_IN\_PROGRESS - stopping the export.
|
198
|
+
#
|
199
|
+
# * STOP\_FAILED - an error occurred stopping the export. To recover,
|
200
|
+
# call stop-continuous-export again.
|
201
|
+
#
|
202
|
+
# * INACTIVE - the continuous export has been stopped. Data is no
|
203
|
+
# longer being exported to the customer bucket.
|
204
|
+
# @return [String]
|
205
|
+
#
|
206
|
+
# @!attribute [rw] status_detail
|
207
|
+
# Contains information about any errors that may have occurred.
|
208
|
+
# @return [String]
|
209
|
+
#
|
210
|
+
# @!attribute [rw] s3_bucket
|
211
|
+
# The name of the s3 bucket where the export data parquet files are
|
212
|
+
# stored.
|
213
|
+
# @return [String]
|
214
|
+
#
|
215
|
+
# @!attribute [rw] start_time
|
216
|
+
# The timestamp representing when the continuous export was started.
|
217
|
+
# @return [Time]
|
218
|
+
#
|
219
|
+
# @!attribute [rw] stop_time
|
220
|
+
# The timestamp that represents when this continuous export was
|
221
|
+
# stopped.
|
222
|
+
# @return [Time]
|
223
|
+
#
|
224
|
+
# @!attribute [rw] data_source
|
225
|
+
# The type of data collector used to gather this data (currently only
|
226
|
+
# offered for AGENT).
|
227
|
+
# @return [String]
|
228
|
+
#
|
229
|
+
# @!attribute [rw] schema_storage_config
|
230
|
+
# An object which describes how the data is stored.
|
231
|
+
#
|
232
|
+
# * `databaseName` - the name of the Glue database used to store the
|
233
|
+
# schema.
|
234
|
+
#
|
235
|
+
# ^
|
236
|
+
# @return [Hash<String,String>]
|
237
|
+
#
|
238
|
+
class ContinuousExportDescription < Struct.new(
|
239
|
+
:export_id,
|
240
|
+
:status,
|
241
|
+
:status_detail,
|
242
|
+
:s3_bucket,
|
243
|
+
:start_time,
|
244
|
+
:stop_time,
|
245
|
+
:data_source,
|
246
|
+
:schema_storage_config)
|
247
|
+
include Aws::Structure
|
248
|
+
end
|
249
|
+
|
176
250
|
# @note When making an API call, you may pass CreateApplicationRequest
|
177
251
|
# data as a hash:
|
178
252
|
#
|
@@ -468,6 +542,49 @@ module Aws::ApplicationDiscoveryService
|
|
468
542
|
include Aws::Structure
|
469
543
|
end
|
470
544
|
|
545
|
+
# @note When making an API call, you may pass DescribeContinuousExportsRequest
|
546
|
+
# data as a hash:
|
547
|
+
#
|
548
|
+
# {
|
549
|
+
# export_ids: ["ConfigurationsExportId"],
|
550
|
+
# max_results: 1,
|
551
|
+
# next_token: "NextToken",
|
552
|
+
# }
|
553
|
+
#
|
554
|
+
# @!attribute [rw] export_ids
|
555
|
+
# The unique IDs assigned to the exports.
|
556
|
+
# @return [Array<String>]
|
557
|
+
#
|
558
|
+
# @!attribute [rw] max_results
|
559
|
+
# A number between 1 and 100 specifying the maximum number of
|
560
|
+
# continuous export descriptions returned.
|
561
|
+
# @return [Integer]
|
562
|
+
#
|
563
|
+
# @!attribute [rw] next_token
|
564
|
+
# The token from the previous call to `DescribeExportTasks`.
|
565
|
+
# @return [String]
|
566
|
+
#
|
567
|
+
class DescribeContinuousExportsRequest < Struct.new(
|
568
|
+
:export_ids,
|
569
|
+
:max_results,
|
570
|
+
:next_token)
|
571
|
+
include Aws::Structure
|
572
|
+
end
|
573
|
+
|
574
|
+
# @!attribute [rw] descriptions
|
575
|
+
# A list of continuous export descriptions.
|
576
|
+
# @return [Array<Types::ContinuousExportDescription>]
|
577
|
+
#
|
578
|
+
# @!attribute [rw] next_token
|
579
|
+
# The token from the previous call to `DescribeExportTasks`.
|
580
|
+
# @return [String]
|
581
|
+
#
|
582
|
+
class DescribeContinuousExportsResponse < Struct.new(
|
583
|
+
:descriptions,
|
584
|
+
:next_token)
|
585
|
+
include Aws::Structure
|
586
|
+
end
|
587
|
+
|
471
588
|
# @note When making an API call, you may pass DescribeExportConfigurationsRequest
|
472
589
|
# data as a hash:
|
473
590
|
#
|
@@ -478,20 +595,16 @@ module Aws::ApplicationDiscoveryService
|
|
478
595
|
# }
|
479
596
|
#
|
480
597
|
# @!attribute [rw] export_ids
|
481
|
-
# A
|
598
|
+
# A list of continuous export ids to search for.
|
482
599
|
# @return [Array<String>]
|
483
600
|
#
|
484
601
|
# @!attribute [rw] max_results
|
485
|
-
#
|
486
|
-
#
|
602
|
+
# A number between 1 and 100 specifying the maximum number of
|
603
|
+
# continuous export descriptions returned.
|
487
604
|
# @return [Integer]
|
488
605
|
#
|
489
606
|
# @!attribute [rw] next_token
|
490
|
-
#
|
491
|
-
# 100 IDs for `DescribeExportConfigurationsRequest$exportIds` but set
|
492
|
-
# `DescribeExportConfigurationsRequest$maxResults` to 10, you get
|
493
|
-
# results in a set of 10. Use the token in the query to get the next
|
494
|
-
# set of 10.
|
607
|
+
# The token from the previous call to describe-export-tasks.
|
495
608
|
# @return [String]
|
496
609
|
#
|
497
610
|
class DescribeExportConfigurationsRequest < Struct.new(
|
@@ -502,17 +615,10 @@ module Aws::ApplicationDiscoveryService
|
|
502
615
|
end
|
503
616
|
|
504
617
|
# @!attribute [rw] exports_info
|
505
|
-
# Returns export details. When the status is complete, the response
|
506
|
-
# includes a URL for an Amazon S3 bucket where you can view the data
|
507
|
-
# in a CSV file.
|
508
618
|
# @return [Array<Types::ExportInfo>]
|
509
619
|
#
|
510
620
|
# @!attribute [rw] next_token
|
511
|
-
#
|
512
|
-
# 100 IDs for `DescribeExportConfigurationsRequest$exportIds` but set
|
513
|
-
# `DescribeExportConfigurationsRequest$maxResults` to 10, you get
|
514
|
-
# results in a set of 10. Use the token in the query to get the next
|
515
|
-
# set of 10.
|
621
|
+
# The token from the previous call to describe-export-tasks.
|
516
622
|
# @return [String]
|
517
623
|
#
|
518
624
|
class DescribeExportConfigurationsResponse < Struct.new(
|
@@ -1078,6 +1184,46 @@ module Aws::ApplicationDiscoveryService
|
|
1078
1184
|
include Aws::Structure
|
1079
1185
|
end
|
1080
1186
|
|
1187
|
+
# @api private
|
1188
|
+
#
|
1189
|
+
class StartContinuousExportRequest < Aws::EmptyStructure; end
|
1190
|
+
|
1191
|
+
# @!attribute [rw] export_id
|
1192
|
+
# The unique ID assigned to this export.
|
1193
|
+
# @return [String]
|
1194
|
+
#
|
1195
|
+
# @!attribute [rw] s3_bucket
|
1196
|
+
# The name of the s3 bucket where the export data parquet files are
|
1197
|
+
# stored.
|
1198
|
+
# @return [String]
|
1199
|
+
#
|
1200
|
+
# @!attribute [rw] start_time
|
1201
|
+
# The timestamp representing when the continuous export was started.
|
1202
|
+
# @return [Time]
|
1203
|
+
#
|
1204
|
+
# @!attribute [rw] data_source
|
1205
|
+
# The type of data collector used to gather this data (currently only
|
1206
|
+
# offered for AGENT).
|
1207
|
+
# @return [String]
|
1208
|
+
#
|
1209
|
+
# @!attribute [rw] schema_storage_config
|
1210
|
+
# A dictionary which describes how the data is stored.
|
1211
|
+
#
|
1212
|
+
# * `databaseName` - the name of the Glue database used to store the
|
1213
|
+
# schema.
|
1214
|
+
#
|
1215
|
+
# ^
|
1216
|
+
# @return [Hash<String,String>]
|
1217
|
+
#
|
1218
|
+
class StartContinuousExportResponse < Struct.new(
|
1219
|
+
:export_id,
|
1220
|
+
:s3_bucket,
|
1221
|
+
:start_time,
|
1222
|
+
:data_source,
|
1223
|
+
:schema_storage_config)
|
1224
|
+
include Aws::Structure
|
1225
|
+
end
|
1226
|
+
|
1081
1227
|
# @note When making an API call, you may pass StartDataCollectionByAgentIdsRequest
|
1082
1228
|
# data as a hash:
|
1083
1229
|
#
|
@@ -1173,6 +1319,37 @@ module Aws::ApplicationDiscoveryService
|
|
1173
1319
|
include Aws::Structure
|
1174
1320
|
end
|
1175
1321
|
|
1322
|
+
# @note When making an API call, you may pass StopContinuousExportRequest
|
1323
|
+
# data as a hash:
|
1324
|
+
#
|
1325
|
+
# {
|
1326
|
+
# export_id: "ConfigurationsExportId", # required
|
1327
|
+
# }
|
1328
|
+
#
|
1329
|
+
# @!attribute [rw] export_id
|
1330
|
+
# The unique ID assigned to this export.
|
1331
|
+
# @return [String]
|
1332
|
+
#
|
1333
|
+
class StopContinuousExportRequest < Struct.new(
|
1334
|
+
:export_id)
|
1335
|
+
include Aws::Structure
|
1336
|
+
end
|
1337
|
+
|
1338
|
+
# @!attribute [rw] start_time
|
1339
|
+
# Timestamp that represents when this continuous export started
|
1340
|
+
# collecting data.
|
1341
|
+
# @return [Time]
|
1342
|
+
#
|
1343
|
+
# @!attribute [rw] stop_time
|
1344
|
+
# Timestamp that represents when this continuous export was stopped.
|
1345
|
+
# @return [Time]
|
1346
|
+
#
|
1347
|
+
class StopContinuousExportResponse < Struct.new(
|
1348
|
+
:start_time,
|
1349
|
+
:stop_time)
|
1350
|
+
include Aws::Structure
|
1351
|
+
end
|
1352
|
+
|
1176
1353
|
# @note When making an API call, you may pass StopDataCollectionByAgentIdsRequest
|
1177
1354
|
# data as a hash:
|
1178
1355
|
#
|
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.
|
4
|
+
version: 1.3.0
|
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: 2018-
|
11
|
+
date: 2018-08-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|