aws-sdk-machinelearning 1.12.0 → 1.13.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: c356c09b287c5957e8ee1f025e99bcb74dbe13c3
4
- data.tar.gz: 19e498a257a7bd5143d4155cc2e297ba1a13ac91
3
+ metadata.gz: 4a86e946dd4f624267a05cbb61974c7f8f9607f9
4
+ data.tar.gz: 3fabf1223f1b0eaf830e0b3d0d99092c2ededf05
5
5
  SHA512:
6
- metadata.gz: b2980f43fea14c5c401728c8f85340e2aa390b4c795688863658aa3ba1b892ac5d01481b64a1261ff9f7ee54673d6c3554f30c8375093f8556ddcd048ae1efb6
7
- data.tar.gz: e2f9ceb1f8d460e6f831046d92ae956f6073469eb79a867aa54c28054b4dd71d71ba28b79bae1f5b60a16ea11340a3aeed7bd4ec3846447ee34882b40c80b77c
6
+ metadata.gz: 92d528dfd043b83a168968e9954a2cbabf6baebc5235be232c43f9232f749b5ba389938334e0db5f277eb709eb0bacfa10bf319c79ed25f1f297d95dfe0e0415
7
+ data.tar.gz: ae679b9aebfa285dd7db63efd6ab8bf4d175e200f863d8431c2ce2c94780aae6d776bf1a30cb302d6148044a36187a1deb3cc501021be072bb72f6dc4084d5b4
@@ -43,6 +43,6 @@ require_relative 'aws-sdk-machinelearning/customizations'
43
43
  # @service
44
44
  module Aws::MachineLearning
45
45
 
46
- GEM_VERSION = '1.12.0'
46
+ GEM_VERSION = '1.13.0'
47
47
 
48
48
  end
@@ -2231,7 +2231,7 @@ module Aws::MachineLearning
2231
2231
  params: params,
2232
2232
  config: config)
2233
2233
  context[:gem_name] = 'aws-sdk-machinelearning'
2234
- context[:gem_version] = '1.12.0'
2234
+ context[:gem_version] = '1.13.0'
2235
2235
  Seahorse::Client::Request.new(handlers, context)
2236
2236
  end
2237
2237
 
@@ -517,6 +517,25 @@ module Aws::MachineLearning
517
517
  GetMLModelOutput.add_member(:schema, Shapes::ShapeRef.new(shape: DataSchema, location_name: "Schema"))
518
518
  GetMLModelOutput.struct_class = Types::GetMLModelOutput
519
519
 
520
+ IdempotentParameterMismatchException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
521
+ IdempotentParameterMismatchException.add_member(:code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "code"))
522
+ IdempotentParameterMismatchException.struct_class = Types::IdempotentParameterMismatchException
523
+
524
+ InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
525
+ InternalServerException.add_member(:code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "code"))
526
+ InternalServerException.struct_class = Types::InternalServerException
527
+
528
+ InvalidInputException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
529
+ InvalidInputException.add_member(:code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "code"))
530
+ InvalidInputException.struct_class = Types::InvalidInputException
531
+
532
+ InvalidTagException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
533
+ InvalidTagException.struct_class = Types::InvalidTagException
534
+
535
+ LimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
536
+ LimitExceededException.add_member(:code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "code"))
537
+ LimitExceededException.struct_class = Types::LimitExceededException
538
+
520
539
  MLModel.add_member(:ml_model_id, Shapes::ShapeRef.new(shape: EntityId, location_name: "MLModelId"))
521
540
  MLModel.add_member(:training_data_source_id, Shapes::ShapeRef.new(shape: EntityId, location_name: "TrainingDataSourceId"))
522
541
  MLModel.add_member(:created_by_iam_user, Shapes::ShapeRef.new(shape: AwsUserArn, location_name: "CreatedByIamUser"))
@@ -560,6 +579,9 @@ module Aws::MachineLearning
560
579
  Prediction.add_member(:details, Shapes::ShapeRef.new(shape: DetailsMap, location_name: "details"))
561
580
  Prediction.struct_class = Types::Prediction
562
581
 
582
+ PredictorNotMountedException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
583
+ PredictorNotMountedException.struct_class = Types::PredictorNotMountedException
584
+
563
585
  RDSDataSpec.add_member(:database_information, Shapes::ShapeRef.new(shape: RDSDatabase, required: true, location_name: "DatabaseInformation"))
564
586
  RDSDataSpec.add_member(:select_sql_query, Shapes::ShapeRef.new(shape: RDSSelectSqlQuery, required: true, location_name: "SelectSqlQuery"))
565
587
  RDSDataSpec.add_member(:database_credentials, Shapes::ShapeRef.new(shape: RDSDatabaseCredentials, required: true, location_name: "DatabaseCredentials"))
@@ -620,6 +642,10 @@ module Aws::MachineLearning
620
642
  RedshiftMetadata.add_member(:select_sql_query, Shapes::ShapeRef.new(shape: RedshiftSelectSqlQuery, location_name: "SelectSqlQuery"))
621
643
  RedshiftMetadata.struct_class = Types::RedshiftMetadata
622
644
 
645
+ ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
646
+ ResourceNotFoundException.add_member(:code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "code"))
647
+ ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
648
+
623
649
  S3DataSpec.add_member(:data_location_s3, Shapes::ShapeRef.new(shape: S3Url, required: true, location_name: "DataLocationS3"))
624
650
  S3DataSpec.add_member(:data_rearrangement, Shapes::ShapeRef.new(shape: DataRearrangement, location_name: "DataRearrangement"))
625
651
  S3DataSpec.add_member(:data_schema, Shapes::ShapeRef.new(shape: DataSchema, location_name: "DataSchema"))
@@ -635,6 +661,9 @@ module Aws::MachineLearning
635
661
 
636
662
  TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
637
663
 
664
+ TagLimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
665
+ TagLimitExceededException.struct_class = Types::TagLimitExceededException
666
+
638
667
  TagList.member = Shapes::ShapeRef.new(shape: Tag)
639
668
 
640
669
  TrainingParameters.key = Shapes::ShapeRef.new(shape: StringType)
@@ -10,5 +10,158 @@ module Aws::MachineLearning
10
10
 
11
11
  extend Aws::Errors::DynamicErrors
12
12
 
13
+ class IdempotentParameterMismatchException < ServiceError
14
+
15
+ # @param [Seahorse::Client::RequestContext] context
16
+ # @param [String] message
17
+ # @param [Aws::MachineLearning::Types::IdempotentParameterMismatchException] data
18
+ def initialize(context, message, data = Aws::EmptyStructure.new)
19
+ super(context, message, data)
20
+ end
21
+
22
+ # @return [String]
23
+ def message
24
+ @message || @data[:message]
25
+ end
26
+
27
+ # @return [String]
28
+ def code
29
+ @code || @data[:code]
30
+ end
31
+
32
+ end
33
+
34
+ class InternalServerException < ServiceError
35
+
36
+ # @param [Seahorse::Client::RequestContext] context
37
+ # @param [String] message
38
+ # @param [Aws::MachineLearning::Types::InternalServerException] data
39
+ def initialize(context, message, data = Aws::EmptyStructure.new)
40
+ super(context, message, data)
41
+ end
42
+
43
+ # @return [String]
44
+ def message
45
+ @message || @data[:message]
46
+ end
47
+
48
+ # @return [String]
49
+ def code
50
+ @code || @data[:code]
51
+ end
52
+
53
+ end
54
+
55
+ class InvalidInputException < ServiceError
56
+
57
+ # @param [Seahorse::Client::RequestContext] context
58
+ # @param [String] message
59
+ # @param [Aws::MachineLearning::Types::InvalidInputException] data
60
+ def initialize(context, message, data = Aws::EmptyStructure.new)
61
+ super(context, message, data)
62
+ end
63
+
64
+ # @return [String]
65
+ def message
66
+ @message || @data[:message]
67
+ end
68
+
69
+ # @return [String]
70
+ def code
71
+ @code || @data[:code]
72
+ end
73
+
74
+ end
75
+
76
+ class InvalidTagException < ServiceError
77
+
78
+ # @param [Seahorse::Client::RequestContext] context
79
+ # @param [String] message
80
+ # @param [Aws::MachineLearning::Types::InvalidTagException] data
81
+ def initialize(context, message, data = Aws::EmptyStructure.new)
82
+ super(context, message, data)
83
+ end
84
+
85
+ # @return [String]
86
+ def message
87
+ @message || @data[:message]
88
+ end
89
+
90
+ end
91
+
92
+ class LimitExceededException < ServiceError
93
+
94
+ # @param [Seahorse::Client::RequestContext] context
95
+ # @param [String] message
96
+ # @param [Aws::MachineLearning::Types::LimitExceededException] data
97
+ def initialize(context, message, data = Aws::EmptyStructure.new)
98
+ super(context, message, data)
99
+ end
100
+
101
+ # @return [String]
102
+ def message
103
+ @message || @data[:message]
104
+ end
105
+
106
+ # @return [String]
107
+ def code
108
+ @code || @data[:code]
109
+ end
110
+
111
+ end
112
+
113
+ class PredictorNotMountedException < ServiceError
114
+
115
+ # @param [Seahorse::Client::RequestContext] context
116
+ # @param [String] message
117
+ # @param [Aws::MachineLearning::Types::PredictorNotMountedException] data
118
+ def initialize(context, message, data = Aws::EmptyStructure.new)
119
+ super(context, message, data)
120
+ end
121
+
122
+ # @return [String]
123
+ def message
124
+ @message || @data[:message]
125
+ end
126
+
127
+ end
128
+
129
+ class ResourceNotFoundException < ServiceError
130
+
131
+ # @param [Seahorse::Client::RequestContext] context
132
+ # @param [String] message
133
+ # @param [Aws::MachineLearning::Types::ResourceNotFoundException] data
134
+ def initialize(context, message, data = Aws::EmptyStructure.new)
135
+ super(context, message, data)
136
+ end
137
+
138
+ # @return [String]
139
+ def message
140
+ @message || @data[:message]
141
+ end
142
+
143
+ # @return [String]
144
+ def code
145
+ @code || @data[:code]
146
+ end
147
+
148
+ end
149
+
150
+ class TagLimitExceededException < ServiceError
151
+
152
+ # @param [Seahorse::Client::RequestContext] context
153
+ # @param [String] message
154
+ # @param [Aws::MachineLearning::Types::TagLimitExceededException] data
155
+ def initialize(context, message, data = Aws::EmptyStructure.new)
156
+ super(context, message, data)
157
+ end
158
+
159
+ # @return [String]
160
+ def message
161
+ @message || @data[:message]
162
+ end
163
+
164
+ end
165
+
13
166
  end
14
167
  end
@@ -2536,6 +2536,74 @@ module Aws::MachineLearning
2536
2536
  include Aws::Structure
2537
2537
  end
2538
2538
 
2539
+ # A second request to use or change an object was not allowed. This can
2540
+ # result from retrying a request using a parameter that was not present
2541
+ # in the original request.
2542
+ #
2543
+ # @!attribute [rw] message
2544
+ # @return [String]
2545
+ #
2546
+ # @!attribute [rw] code
2547
+ # @return [Integer]
2548
+ #
2549
+ class IdempotentParameterMismatchException < Struct.new(
2550
+ :message,
2551
+ :code)
2552
+ include Aws::Structure
2553
+ end
2554
+
2555
+ # An error on the server occurred when trying to process a request.
2556
+ #
2557
+ # @!attribute [rw] message
2558
+ # @return [String]
2559
+ #
2560
+ # @!attribute [rw] code
2561
+ # @return [Integer]
2562
+ #
2563
+ class InternalServerException < Struct.new(
2564
+ :message,
2565
+ :code)
2566
+ include Aws::Structure
2567
+ end
2568
+
2569
+ # An error on the client occurred. Typically, the cause is an invalid
2570
+ # input value.
2571
+ #
2572
+ # @!attribute [rw] message
2573
+ # @return [String]
2574
+ #
2575
+ # @!attribute [rw] code
2576
+ # @return [Integer]
2577
+ #
2578
+ class InvalidInputException < Struct.new(
2579
+ :message,
2580
+ :code)
2581
+ include Aws::Structure
2582
+ end
2583
+
2584
+ # @!attribute [rw] message
2585
+ # @return [String]
2586
+ #
2587
+ class InvalidTagException < Struct.new(
2588
+ :message)
2589
+ include Aws::Structure
2590
+ end
2591
+
2592
+ # The subscriber exceeded the maximum number of operations. This
2593
+ # exception can occur when listing objects such as `DataSource`.
2594
+ #
2595
+ # @!attribute [rw] message
2596
+ # @return [String]
2597
+ #
2598
+ # @!attribute [rw] code
2599
+ # @return [Integer]
2600
+ #
2601
+ class LimitExceededException < Struct.new(
2602
+ :message,
2603
+ :code)
2604
+ include Aws::Structure
2605
+ end
2606
+
2539
2607
  # Represents the output of a `GetMLModel` operation.
2540
2608
  #
2541
2609
  # The content consists of the detailed metadata and the current status
@@ -2831,6 +2899,17 @@ module Aws::MachineLearning
2831
2899
  include Aws::Structure
2832
2900
  end
2833
2901
 
2902
+ # The exception is thrown when a predict request is made to an unmounted
2903
+ # `MLModel`.
2904
+ #
2905
+ # @!attribute [rw] message
2906
+ # @return [String]
2907
+ #
2908
+ class PredictorNotMountedException < Struct.new(
2909
+ :message)
2910
+ include Aws::Structure
2911
+ end
2912
+
2834
2913
  # The data specification of an Amazon Relational Database Service
2835
2914
  # (Amazon RDS) `DataSource`.
2836
2915
  #
@@ -3499,6 +3578,20 @@ module Aws::MachineLearning
3499
3578
  include Aws::Structure
3500
3579
  end
3501
3580
 
3581
+ # A specified resource cannot be located.
3582
+ #
3583
+ # @!attribute [rw] message
3584
+ # @return [String]
3585
+ #
3586
+ # @!attribute [rw] code
3587
+ # @return [Integer]
3588
+ #
3589
+ class ResourceNotFoundException < Struct.new(
3590
+ :message,
3591
+ :code)
3592
+ include Aws::Structure
3593
+ end
3594
+
3502
3595
  # Describes the data specification of a `DataSource`.
3503
3596
  #
3504
3597
  # @note When making an API call, you may pass S3DataSpec
@@ -3694,6 +3787,14 @@ module Aws::MachineLearning
3694
3787
  include Aws::Structure
3695
3788
  end
3696
3789
 
3790
+ # @!attribute [rw] message
3791
+ # @return [String]
3792
+ #
3793
+ class TagLimitExceededException < Struct.new(
3794
+ :message)
3795
+ include Aws::Structure
3796
+ end
3797
+
3697
3798
  # @note When making an API call, you may pass UpdateBatchPredictionInput
3698
3799
  # data as a hash:
3699
3800
  #
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-machinelearning
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.12.0
4
+ version: 1.13.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: 2019-05-15 00:00:00.000000000 Z
11
+ date: 2019-05-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.52.1
22
+ version: 3.53.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.52.1
32
+ version: 3.53.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement