aws-sdk-iotanalytics 1.4.0 → 1.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-iotanalytics.rb +1 -1
- data/lib/aws-sdk-iotanalytics/client.rb +42 -1
- data/lib/aws-sdk-iotanalytics/client_api.rb +40 -0
- data/lib/aws-sdk-iotanalytics/types.rb +71 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8643043845e53c12587d45a3e09f7149257e429e
|
4
|
+
data.tar.gz: 5a79599f72fa2664f5a31ac12dbfd8a1cf854b7c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 064ca0a189e91ca310afde520e64e31e299e6aa1009defbb12076019278f977d0e59522599e374b33b5fc7c59b6f54dec897bf24c86e001b96fffe13970057aa
|
7
|
+
data.tar.gz: 46dd967c72ff24a002e02d8a6fdf3dd7780d436f60bec4cd9e7bbedb1088e2aa012f83a7744c1d571d8084504ff23862534839cdcc72788d64aa4a83198943e3
|
data/lib/aws-sdk-iotanalytics.rb
CHANGED
@@ -974,6 +974,47 @@ module Aws::IoTAnalytics
|
|
974
974
|
req.send_request(options)
|
975
975
|
end
|
976
976
|
|
977
|
+
# Lists information about data set contents that have been created.
|
978
|
+
#
|
979
|
+
# @option params [required, String] :dataset_name
|
980
|
+
# The name of the data set whose contents information you want to list.
|
981
|
+
#
|
982
|
+
# @option params [String] :next_token
|
983
|
+
# The token for the next set of results.
|
984
|
+
#
|
985
|
+
# @option params [Integer] :max_results
|
986
|
+
# The maximum number of results to return in this request.
|
987
|
+
#
|
988
|
+
# @return [Types::ListDatasetContentsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
989
|
+
#
|
990
|
+
# * {Types::ListDatasetContentsResponse#dataset_content_summaries #dataset_content_summaries} => Array<Types::DatasetContentSummary>
|
991
|
+
# * {Types::ListDatasetContentsResponse#next_token #next_token} => String
|
992
|
+
#
|
993
|
+
# @example Request syntax with placeholder values
|
994
|
+
#
|
995
|
+
# resp = client.list_dataset_contents({
|
996
|
+
# dataset_name: "DatasetName", # required
|
997
|
+
# next_token: "NextToken",
|
998
|
+
# max_results: 1,
|
999
|
+
# })
|
1000
|
+
#
|
1001
|
+
# @example Response structure
|
1002
|
+
#
|
1003
|
+
# resp.dataset_content_summaries #=> Array
|
1004
|
+
# resp.dataset_content_summaries[0].version #=> String
|
1005
|
+
# resp.dataset_content_summaries[0].status.state #=> String, one of "CREATING", "SUCCEEDED", "FAILED"
|
1006
|
+
# resp.dataset_content_summaries[0].status.reason #=> String
|
1007
|
+
# resp.dataset_content_summaries[0].creation_time #=> Time
|
1008
|
+
# resp.dataset_content_summaries[0].schedule_time #=> Time
|
1009
|
+
# resp.next_token #=> String
|
1010
|
+
#
|
1011
|
+
# @overload list_dataset_contents(params = {})
|
1012
|
+
# @param [Hash] params ({})
|
1013
|
+
def list_dataset_contents(params = {}, options = {})
|
1014
|
+
req = build_request(:list_dataset_contents, params)
|
1015
|
+
req.send_request(options)
|
1016
|
+
end
|
1017
|
+
|
977
1018
|
# Retrieves information about data sets.
|
978
1019
|
#
|
979
1020
|
# @option params [String] :next_token
|
@@ -1619,7 +1660,7 @@ module Aws::IoTAnalytics
|
|
1619
1660
|
params: params,
|
1620
1661
|
config: config)
|
1621
1662
|
context[:gem_name] = 'aws-sdk-iotanalytics'
|
1622
|
-
context[:gem_version] = '1.
|
1663
|
+
context[:gem_version] = '1.5.0'
|
1623
1664
|
Seahorse::Client::Request.new(handlers, context)
|
1624
1665
|
end
|
1625
1666
|
|
@@ -53,6 +53,8 @@ module Aws::IoTAnalytics
|
|
53
53
|
DatasetArn = Shapes::StringShape.new(name: 'DatasetArn')
|
54
54
|
DatasetContentState = Shapes::StringShape.new(name: 'DatasetContentState')
|
55
55
|
DatasetContentStatus = Shapes::StructureShape.new(name: 'DatasetContentStatus')
|
56
|
+
DatasetContentSummaries = Shapes::ListShape.new(name: 'DatasetContentSummaries')
|
57
|
+
DatasetContentSummary = Shapes::StructureShape.new(name: 'DatasetContentSummary')
|
56
58
|
DatasetContentVersion = Shapes::StringShape.new(name: 'DatasetContentVersion')
|
57
59
|
DatasetContentVersionValue = Shapes::StructureShape.new(name: 'DatasetContentVersionValue')
|
58
60
|
DatasetEntries = Shapes::ListShape.new(name: 'DatasetEntries')
|
@@ -108,6 +110,8 @@ module Aws::IoTAnalytics
|
|
108
110
|
LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
|
109
111
|
ListChannelsRequest = Shapes::StructureShape.new(name: 'ListChannelsRequest')
|
110
112
|
ListChannelsResponse = Shapes::StructureShape.new(name: 'ListChannelsResponse')
|
113
|
+
ListDatasetContentsRequest = Shapes::StructureShape.new(name: 'ListDatasetContentsRequest')
|
114
|
+
ListDatasetContentsResponse = Shapes::StructureShape.new(name: 'ListDatasetContentsResponse')
|
111
115
|
ListDatasetsRequest = Shapes::StructureShape.new(name: 'ListDatasetsRequest')
|
112
116
|
ListDatasetsResponse = Shapes::StructureShape.new(name: 'ListDatasetsResponse')
|
113
117
|
ListDatastoresRequest = Shapes::StructureShape.new(name: 'ListDatastoresRequest')
|
@@ -332,6 +336,14 @@ module Aws::IoTAnalytics
|
|
332
336
|
DatasetContentStatus.add_member(:reason, Shapes::ShapeRef.new(shape: Reason, location_name: "reason"))
|
333
337
|
DatasetContentStatus.struct_class = Types::DatasetContentStatus
|
334
338
|
|
339
|
+
DatasetContentSummaries.member = Shapes::ShapeRef.new(shape: DatasetContentSummary)
|
340
|
+
|
341
|
+
DatasetContentSummary.add_member(:version, Shapes::ShapeRef.new(shape: DatasetContentVersion, location_name: "version"))
|
342
|
+
DatasetContentSummary.add_member(:status, Shapes::ShapeRef.new(shape: DatasetContentStatus, location_name: "status"))
|
343
|
+
DatasetContentSummary.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationTime"))
|
344
|
+
DatasetContentSummary.add_member(:schedule_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "scheduleTime"))
|
345
|
+
DatasetContentSummary.struct_class = Types::DatasetContentSummary
|
346
|
+
|
335
347
|
DatasetContentVersionValue.add_member(:dataset_name, Shapes::ShapeRef.new(shape: DatasetName, required: true, location_name: "datasetName"))
|
336
348
|
DatasetContentVersionValue.struct_class = Types::DatasetContentVersionValue
|
337
349
|
|
@@ -479,6 +491,15 @@ module Aws::IoTAnalytics
|
|
479
491
|
ListChannelsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
480
492
|
ListChannelsResponse.struct_class = Types::ListChannelsResponse
|
481
493
|
|
494
|
+
ListDatasetContentsRequest.add_member(:dataset_name, Shapes::ShapeRef.new(shape: DatasetName, required: true, location: "uri", location_name: "datasetName"))
|
495
|
+
ListDatasetContentsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
496
|
+
ListDatasetContentsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
497
|
+
ListDatasetContentsRequest.struct_class = Types::ListDatasetContentsRequest
|
498
|
+
|
499
|
+
ListDatasetContentsResponse.add_member(:dataset_content_summaries, Shapes::ShapeRef.new(shape: DatasetContentSummaries, location_name: "datasetContentSummaries"))
|
500
|
+
ListDatasetContentsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
501
|
+
ListDatasetContentsResponse.struct_class = Types::ListDatasetContentsResponse
|
502
|
+
|
482
503
|
ListDatasetsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
483
504
|
ListDatasetsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
484
505
|
ListDatasetsRequest.struct_class = Types::ListDatasetsRequest
|
@@ -946,6 +967,25 @@ module Aws::IoTAnalytics
|
|
946
967
|
)
|
947
968
|
end)
|
948
969
|
|
970
|
+
api.add_operation(:list_dataset_contents, Seahorse::Model::Operation.new.tap do |o|
|
971
|
+
o.name = "ListDatasetContents"
|
972
|
+
o.http_method = "GET"
|
973
|
+
o.http_request_uri = "/datasets/{datasetName}/contents"
|
974
|
+
o.input = Shapes::ShapeRef.new(shape: ListDatasetContentsRequest)
|
975
|
+
o.output = Shapes::ShapeRef.new(shape: ListDatasetContentsResponse)
|
976
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
977
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
978
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
979
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
980
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
981
|
+
o[:pager] = Aws::Pager.new(
|
982
|
+
limit_key: "max_results",
|
983
|
+
tokens: {
|
984
|
+
"next_token" => "next_token"
|
985
|
+
}
|
986
|
+
)
|
987
|
+
end)
|
988
|
+
|
949
989
|
api.add_operation(:list_datasets, Seahorse::Model::Operation.new.tap do |o|
|
950
990
|
o.name = "ListDatasets"
|
951
991
|
o.http_method = "GET"
|
@@ -815,6 +815,33 @@ module Aws::IoTAnalytics
|
|
815
815
|
include Aws::Structure
|
816
816
|
end
|
817
817
|
|
818
|
+
# Summary information about data set contents.
|
819
|
+
#
|
820
|
+
# @!attribute [rw] version
|
821
|
+
# The version of the data set contents.
|
822
|
+
# @return [String]
|
823
|
+
#
|
824
|
+
# @!attribute [rw] status
|
825
|
+
# The status of the data set contents.
|
826
|
+
# @return [Types::DatasetContentStatus]
|
827
|
+
#
|
828
|
+
# @!attribute [rw] creation_time
|
829
|
+
# The actual time the creation of the data set contents was started.
|
830
|
+
# @return [Time]
|
831
|
+
#
|
832
|
+
# @!attribute [rw] schedule_time
|
833
|
+
# The time the creation of the data set contents was scheduled to
|
834
|
+
# start.
|
835
|
+
# @return [Time]
|
836
|
+
#
|
837
|
+
class DatasetContentSummary < Struct.new(
|
838
|
+
:version,
|
839
|
+
:status,
|
840
|
+
:creation_time,
|
841
|
+
:schedule_time)
|
842
|
+
include Aws::Structure
|
843
|
+
end
|
844
|
+
|
818
845
|
# The data set whose latest contents will be used as input to the
|
819
846
|
# notebook or application.
|
820
847
|
#
|
@@ -1553,6 +1580,50 @@ module Aws::IoTAnalytics
|
|
1553
1580
|
include Aws::Structure
|
1554
1581
|
end
|
1555
1582
|
|
1583
|
+
# @note When making an API call, you may pass ListDatasetContentsRequest
|
1584
|
+
# data as a hash:
|
1585
|
+
#
|
1586
|
+
# {
|
1587
|
+
# dataset_name: "DatasetName", # required
|
1588
|
+
# next_token: "NextToken",
|
1589
|
+
# max_results: 1,
|
1590
|
+
# }
|
1591
|
+
#
|
1592
|
+
# @!attribute [rw] dataset_name
|
1593
|
+
# The name of the data set whose contents information you want to
|
1594
|
+
# list.
|
1595
|
+
# @return [String]
|
1596
|
+
#
|
1597
|
+
# @!attribute [rw] next_token
|
1598
|
+
# The token for the next set of results.
|
1599
|
+
# @return [String]
|
1600
|
+
#
|
1601
|
+
# @!attribute [rw] max_results
|
1602
|
+
# The maximum number of results to return in this request.
|
1603
|
+
# @return [Integer]
|
1604
|
+
#
|
1605
|
+
class ListDatasetContentsRequest < Struct.new(
|
1606
|
+
:dataset_name,
|
1607
|
+
:next_token,
|
1608
|
+
:max_results)
|
1609
|
+
include Aws::Structure
|
1610
|
+
end
|
1611
|
+
|
1612
|
+
# @!attribute [rw] dataset_content_summaries
|
1613
|
+
# Summary information about data set contents that have been created.
|
1614
|
+
# @return [Array<Types::DatasetContentSummary>]
|
1615
|
+
#
|
1616
|
+
# @!attribute [rw] next_token
|
1617
|
+
# The token to retrieve the next set of results, or `null` if there
|
1618
|
+
# are no more results.
|
1619
|
+
# @return [String]
|
1620
|
+
#
|
1621
|
+
class ListDatasetContentsResponse < Struct.new(
|
1622
|
+
:dataset_content_summaries,
|
1623
|
+
:next_token)
|
1624
|
+
include Aws::Structure
|
1625
|
+
end
|
1626
|
+
|
1556
1627
|
# @note When making an API call, you may pass ListDatasetsRequest
|
1557
1628
|
# data as a hash:
|
1558
1629
|
#
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-iotanalytics
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.5.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-08-
|
11
|
+
date: 2018-08-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|