aws-sdk-forecastservice 1.18.0 → 1.19.0
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 +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-forecastservice.rb +1 -1
- data/lib/aws-sdk-forecastservice/client.rb +48 -1
- data/lib/aws-sdk-forecastservice/client_api.rb +15 -0
- data/lib/aws-sdk-forecastservice/types.rb +26 -5
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d79d633707c8953bd8cc89f0952a823d24fbd7a917cd3561427e1c60349a127c
|
4
|
+
data.tar.gz: 466a77106df21a9f4b2381dc97131c6511cc7003c49cad4a4666d2dcbcffbf9a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 76fe9b76a782ea4d470dcc9dc274e3dfc729ee0d8b24685ce1cec8e98c94ca05ca26bfcf2ed8a6ea9df99af701a94dff94e879027c1bce01dd7319bc10537cc4
|
7
|
+
data.tar.gz: 8bbe22ac35094a7c86dafb2c3855279d8fec90449b13049ea8bb9c2ade6f1b9cc63aaeb4688350b03c48dd39c28e0a89f40d1f35d3e1845cee1dfe3e3fcc74a6
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.19.0 (2021-04-30)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Added new DeleteResourceTree operation that helps in deleting all the child resources of a given resource including the given resource.
|
8
|
+
|
4
9
|
1.18.0 (2021-04-22)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.19.0
|
@@ -1545,6 +1545,53 @@ module Aws::ForecastService
|
|
1545
1545
|
req.send_request(options)
|
1546
1546
|
end
|
1547
1547
|
|
1548
|
+
# Deletes an entire resource tree. This operation will delete the parent
|
1549
|
+
# resource and its child resources.
|
1550
|
+
#
|
1551
|
+
# Child resources are resources that were created from another resource.
|
1552
|
+
# For example, when a forecast is generated from a predictor, the
|
1553
|
+
# forecast is the child resource and the predictor is the parent
|
1554
|
+
# resource.
|
1555
|
+
#
|
1556
|
+
# Amazon Forecast resources possess the following parent-child resource
|
1557
|
+
# hierarchies:
|
1558
|
+
#
|
1559
|
+
# * **Dataset Group**\: predictors, predictor backtest export jobs,
|
1560
|
+
# forecasts, forecast export jobs
|
1561
|
+
#
|
1562
|
+
# * **Dataset**\: dataset import jobs
|
1563
|
+
#
|
1564
|
+
# * **Predictor**\: predictor backtest export jobs, forecasts, forecast
|
1565
|
+
# export jobs
|
1566
|
+
#
|
1567
|
+
# * **Forecast**\: forecast export jobs
|
1568
|
+
#
|
1569
|
+
# <note markdown="1"> `DeleteResourceTree` will only delete Amazon Forecast resources, and
|
1570
|
+
# will not delete datasets or exported files stored in Amazon S3.
|
1571
|
+
#
|
1572
|
+
# </note>
|
1573
|
+
#
|
1574
|
+
# @option params [required, String] :resource_arn
|
1575
|
+
# The Amazon Resource Name (ARN) of the parent resource to delete. All
|
1576
|
+
# child resources of the parent resource will also be deleted.
|
1577
|
+
#
|
1578
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1579
|
+
#
|
1580
|
+
# @example Request syntax with placeholder values
|
1581
|
+
#
|
1582
|
+
# resp = client.delete_resource_tree({
|
1583
|
+
# resource_arn: "Arn", # required
|
1584
|
+
# })
|
1585
|
+
#
|
1586
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/DeleteResourceTree AWS API Documentation
|
1587
|
+
#
|
1588
|
+
# @overload delete_resource_tree(params = {})
|
1589
|
+
# @param [Hash] params ({})
|
1590
|
+
def delete_resource_tree(params = {}, options = {})
|
1591
|
+
req = build_request(:delete_resource_tree, params)
|
1592
|
+
req.send_request(options)
|
1593
|
+
end
|
1594
|
+
|
1548
1595
|
# Describes an Amazon Forecast dataset created using the CreateDataset
|
1549
1596
|
# operation.
|
1550
1597
|
#
|
@@ -2824,7 +2871,7 @@ module Aws::ForecastService
|
|
2824
2871
|
params: params,
|
2825
2872
|
config: config)
|
2826
2873
|
context[:gem_name] = 'aws-sdk-forecastservice'
|
2827
|
-
context[:gem_version] = '1.
|
2874
|
+
context[:gem_version] = '1.19.0'
|
2828
2875
|
Seahorse::Client::Request.new(handlers, context)
|
2829
2876
|
end
|
2830
2877
|
|
@@ -51,6 +51,7 @@ module Aws::ForecastService
|
|
51
51
|
DeleteForecastRequest = Shapes::StructureShape.new(name: 'DeleteForecastRequest')
|
52
52
|
DeletePredictorBacktestExportJobRequest = Shapes::StructureShape.new(name: 'DeletePredictorBacktestExportJobRequest')
|
53
53
|
DeletePredictorRequest = Shapes::StructureShape.new(name: 'DeletePredictorRequest')
|
54
|
+
DeleteResourceTreeRequest = Shapes::StructureShape.new(name: 'DeleteResourceTreeRequest')
|
54
55
|
DescribeDatasetGroupRequest = Shapes::StructureShape.new(name: 'DescribeDatasetGroupRequest')
|
55
56
|
DescribeDatasetGroupResponse = Shapes::StructureShape.new(name: 'DescribeDatasetGroupResponse')
|
56
57
|
DescribeDatasetImportJobRequest = Shapes::StructureShape.new(name: 'DescribeDatasetImportJobRequest')
|
@@ -329,6 +330,9 @@ module Aws::ForecastService
|
|
329
330
|
DeletePredictorRequest.add_member(:predictor_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "PredictorArn"))
|
330
331
|
DeletePredictorRequest.struct_class = Types::DeletePredictorRequest
|
331
332
|
|
333
|
+
DeleteResourceTreeRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "ResourceArn"))
|
334
|
+
DeleteResourceTreeRequest.struct_class = Types::DeleteResourceTreeRequest
|
335
|
+
|
332
336
|
DescribeDatasetGroupRequest.add_member(:dataset_group_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "DatasetGroupArn"))
|
333
337
|
DescribeDatasetGroupRequest.struct_class = Types::DescribeDatasetGroupRequest
|
334
338
|
|
@@ -940,6 +944,17 @@ module Aws::ForecastService
|
|
940
944
|
o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
|
941
945
|
end)
|
942
946
|
|
947
|
+
api.add_operation(:delete_resource_tree, Seahorse::Model::Operation.new.tap do |o|
|
948
|
+
o.name = "DeleteResourceTree"
|
949
|
+
o.http_method = "POST"
|
950
|
+
o.http_request_uri = "/"
|
951
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteResourceTreeRequest)
|
952
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
953
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
954
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
955
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
|
956
|
+
end)
|
957
|
+
|
943
958
|
api.add_operation(:describe_dataset, Seahorse::Model::Operation.new.tap do |o|
|
944
959
|
o.name = "DescribeDataset"
|
945
960
|
o.http_method = "POST"
|
@@ -1385,6 +1385,26 @@ module Aws::ForecastService
|
|
1385
1385
|
include Aws::Structure
|
1386
1386
|
end
|
1387
1387
|
|
1388
|
+
# @note When making an API call, you may pass DeleteResourceTreeRequest
|
1389
|
+
# data as a hash:
|
1390
|
+
#
|
1391
|
+
# {
|
1392
|
+
# resource_arn: "Arn", # required
|
1393
|
+
# }
|
1394
|
+
#
|
1395
|
+
# @!attribute [rw] resource_arn
|
1396
|
+
# The Amazon Resource Name (ARN) of the parent resource to delete. All
|
1397
|
+
# child resources of the parent resource will also be deleted.
|
1398
|
+
# @return [String]
|
1399
|
+
#
|
1400
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/DeleteResourceTreeRequest AWS API Documentation
|
1401
|
+
#
|
1402
|
+
class DeleteResourceTreeRequest < Struct.new(
|
1403
|
+
:resource_arn)
|
1404
|
+
SENSITIVE = []
|
1405
|
+
include Aws::Structure
|
1406
|
+
end
|
1407
|
+
|
1388
1408
|
# @note When making an API call, you may pass DescribeDatasetGroupRequest
|
1389
1409
|
# data as a hash:
|
1390
1410
|
#
|
@@ -1537,8 +1557,8 @@ module Aws::ForecastService
|
|
1537
1557
|
# @return [Types::DataSource]
|
1538
1558
|
#
|
1539
1559
|
# @!attribute [rw] estimated_time_remaining_in_minutes
|
1540
|
-
# The estimated time in minutes for the dataset import job
|
1541
|
-
# complete.
|
1560
|
+
# The estimated time remaining in minutes for the dataset import job
|
1561
|
+
# to complete.
|
1542
1562
|
# @return [Integer]
|
1543
1563
|
#
|
1544
1564
|
# @!attribute [rw] field_statistics
|
@@ -1847,7 +1867,8 @@ module Aws::ForecastService
|
|
1847
1867
|
# @return [String]
|
1848
1868
|
#
|
1849
1869
|
# @!attribute [rw] estimated_time_remaining_in_minutes
|
1850
|
-
# The estimated time in minutes for the forecast job to
|
1870
|
+
# The estimated time remaining in minutes for the forecast job to
|
1871
|
+
# complete.
|
1851
1872
|
# @return [Integer]
|
1852
1873
|
#
|
1853
1874
|
# @!attribute [rw] status
|
@@ -2089,8 +2110,8 @@ module Aws::ForecastService
|
|
2089
2110
|
# @return [Types::PredictorExecutionDetails]
|
2090
2111
|
#
|
2091
2112
|
# @!attribute [rw] estimated_time_remaining_in_minutes
|
2092
|
-
# The estimated time in minutes for the predictor training
|
2093
|
-
# complete.
|
2113
|
+
# The estimated time remaining in minutes for the predictor training
|
2114
|
+
# job to complete.
|
2094
2115
|
# @return [Integer]
|
2095
2116
|
#
|
2096
2117
|
# @!attribute [rw] dataset_import_job_arns
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-forecastservice
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.19.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: 2021-04-
|
11
|
+
date: 2021-04-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -83,8 +83,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
83
83
|
- !ruby/object:Gem::Version
|
84
84
|
version: '0'
|
85
85
|
requirements: []
|
86
|
-
|
87
|
-
rubygems_version: 2.7.6.3
|
86
|
+
rubygems_version: 3.1.6
|
88
87
|
signing_key:
|
89
88
|
specification_version: 4
|
90
89
|
summary: AWS SDK for Ruby - Amazon Forecast Service
|