aws-sdk-sagemakerjobruntime 1.0.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.
@@ -0,0 +1,262 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+ module Aws::SagemakerJobRuntime
11
+ module Types
12
+
13
+ # You do not have permission to perform this operation.
14
+ #
15
+ # @!attribute [rw] message
16
+ # @return [String]
17
+ #
18
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemakerjobruntime-2026-02-01/AccessDeniedException AWS API Documentation
19
+ #
20
+ class AccessDeniedException < Struct.new(
21
+ :message)
22
+ SENSITIVE = []
23
+ include Aws::Structure
24
+ end
25
+
26
+ # @!attribute [rw] job_arn
27
+ # The job ARN.
28
+ # @return [String]
29
+ #
30
+ # @!attribute [rw] trajectory_id
31
+ # The trajectory ID to mark as complete.
32
+ # @return [String]
33
+ #
34
+ # @!attribute [rw] status
35
+ # The target status for the trajectory. Defaults to READY if not
36
+ # specified. Set to FAILED if the rollout encountered an error and the
37
+ # trajectory should not be used for processing.
38
+ # @return [String]
39
+ #
40
+ # @!attribute [rw] client_token
41
+ # A unique, case-sensitive identifier that you provide to ensure the
42
+ # idempotency of the request.
43
+ #
44
+ # **A suitable default value is auto-generated.** You should normally
45
+ # not need to pass this option.
46
+ # @return [String]
47
+ #
48
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemakerjobruntime-2026-02-01/CompleteRolloutRequest AWS API Documentation
49
+ #
50
+ class CompleteRolloutRequest < Struct.new(
51
+ :job_arn,
52
+ :trajectory_id,
53
+ :status,
54
+ :client_token)
55
+ SENSITIVE = []
56
+ include Aws::Structure
57
+ end
58
+
59
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemakerjobruntime-2026-02-01/CompleteRolloutResponse AWS API Documentation
60
+ #
61
+ class CompleteRolloutResponse < Aws::EmptyStructure; end
62
+
63
+ # The request conflicts with the current state of the resource.
64
+ #
65
+ # @!attribute [rw] message
66
+ # @return [String]
67
+ #
68
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemakerjobruntime-2026-02-01/ConflictException AWS API Documentation
69
+ #
70
+ class ConflictException < Struct.new(
71
+ :message)
72
+ SENSITIVE = []
73
+ include Aws::Structure
74
+ end
75
+
76
+ # An internal service error occurred. Retry the request.
77
+ #
78
+ # @!attribute [rw] message
79
+ # @return [String]
80
+ #
81
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemakerjobruntime-2026-02-01/InternalServiceError AWS API Documentation
82
+ #
83
+ class InternalServiceError < Struct.new(
84
+ :message)
85
+ SENSITIVE = []
86
+ include Aws::Structure
87
+ end
88
+
89
+ # The specified resource was not found.
90
+ #
91
+ # @!attribute [rw] message
92
+ # @return [String]
93
+ #
94
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemakerjobruntime-2026-02-01/ResourceNotFoundException AWS API Documentation
95
+ #
96
+ class ResourceNotFoundException < Struct.new(
97
+ :message)
98
+ SENSITIVE = []
99
+ include Aws::Structure
100
+ end
101
+
102
+ # @!attribute [rw] job_arn
103
+ # The job ARN that identifies which model session to route the
104
+ # inference request to.
105
+ # @return [String]
106
+ #
107
+ # @!attribute [rw] trajectory_id
108
+ # The trajectory ID for grouping turns into a single rollout. Each
109
+ # turn (prompt and response) is captured for later use.
110
+ # @return [String]
111
+ #
112
+ # @!attribute [rw] body
113
+ # The raw inference request body in OpenAI-compatible JSON format.
114
+ # @return [String]
115
+ #
116
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemakerjobruntime-2026-02-01/SampleRequest AWS API Documentation
117
+ #
118
+ class SampleRequest < Struct.new(
119
+ :job_arn,
120
+ :trajectory_id,
121
+ :body)
122
+ SENSITIVE = [:body]
123
+ include Aws::Structure
124
+ end
125
+
126
+ # @!attribute [rw] content_type
127
+ # MIME type of the inference result.
128
+ # @return [String]
129
+ #
130
+ # @!attribute [rw] body
131
+ # The raw inference response body from the model.
132
+ # @return [String]
133
+ #
134
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemakerjobruntime-2026-02-01/SampleResponse AWS API Documentation
135
+ #
136
+ class SampleResponse < Struct.new(
137
+ :content_type,
138
+ :body)
139
+ SENSITIVE = [:body]
140
+ include Aws::Structure
141
+ end
142
+
143
+ # @!attribute [rw] job_arn
144
+ # The job ARN that identifies which model session to route the
145
+ # inference request to.
146
+ # @return [String]
147
+ #
148
+ # @!attribute [rw] trajectory_id
149
+ # The trajectory ID for grouping turns into a single rollout. Each
150
+ # turn is captured for later use.
151
+ # @return [String]
152
+ #
153
+ # @!attribute [rw] body
154
+ # The raw inference request body in OpenAI-compatible JSON format.
155
+ # @return [String]
156
+ #
157
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemakerjobruntime-2026-02-01/SampleWithResponseStreamRequest AWS API Documentation
158
+ #
159
+ class SampleWithResponseStreamRequest < Struct.new(
160
+ :job_arn,
161
+ :trajectory_id,
162
+ :body)
163
+ SENSITIVE = [:body]
164
+ include Aws::Structure
165
+ end
166
+
167
+ # @!attribute [rw] content_type
168
+ # MIME type of the streaming inference result.
169
+ # @return [String]
170
+ #
171
+ # @!attribute [rw] body
172
+ # The streaming response body, delivered as a series of PayloadPart
173
+ # events.
174
+ # @return [IO]
175
+ #
176
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemakerjobruntime-2026-02-01/SampleWithResponseStreamResponse AWS API Documentation
177
+ #
178
+ class SampleWithResponseStreamResponse < Struct.new(
179
+ :content_type,
180
+ :body)
181
+ SENSITIVE = [:body]
182
+ include Aws::Structure
183
+ end
184
+
185
+ # You have exceeded a service quota.
186
+ #
187
+ # @!attribute [rw] message
188
+ # @return [String]
189
+ #
190
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemakerjobruntime-2026-02-01/ServiceQuotaExceededException AWS API Documentation
191
+ #
192
+ class ServiceQuotaExceededException < Struct.new(
193
+ :message)
194
+ SENSITIVE = []
195
+ include Aws::Structure
196
+ end
197
+
198
+ # The request was throttled. Retry the request after a brief wait.
199
+ #
200
+ # @!attribute [rw] message
201
+ # @return [String]
202
+ #
203
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemakerjobruntime-2026-02-01/ThrottlingException AWS API Documentation
204
+ #
205
+ class ThrottlingException < Struct.new(
206
+ :message)
207
+ SENSITIVE = []
208
+ include Aws::Structure
209
+ end
210
+
211
+ # @!attribute [rw] job_arn
212
+ # The job ARN.
213
+ # @return [String]
214
+ #
215
+ # @!attribute [rw] trajectory_id
216
+ # The trajectory ID to update with reward values.
217
+ # @return [String]
218
+ #
219
+ # @!attribute [rw] rewards
220
+ # The list of reward values to assign to this trajectory. Provide one
221
+ # reward value per turn in the trajectory.
222
+ # @return [Array<Float>]
223
+ #
224
+ # @!attribute [rw] client_token
225
+ # A unique, case-sensitive identifier that you provide to ensure the
226
+ # idempotency of the request.
227
+ #
228
+ # **A suitable default value is auto-generated.** You should normally
229
+ # not need to pass this option.
230
+ # @return [String]
231
+ #
232
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemakerjobruntime-2026-02-01/UpdateRewardRequest AWS API Documentation
233
+ #
234
+ class UpdateRewardRequest < Struct.new(
235
+ :job_arn,
236
+ :trajectory_id,
237
+ :rewards,
238
+ :client_token)
239
+ SENSITIVE = []
240
+ include Aws::Structure
241
+ end
242
+
243
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemakerjobruntime-2026-02-01/UpdateRewardResponse AWS API Documentation
244
+ #
245
+ class UpdateRewardResponse < Aws::EmptyStructure; end
246
+
247
+ # The request is not valid. Check the request syntax and parameters
248
+ #
249
+ # @!attribute [rw] message
250
+ # @return [String]
251
+ #
252
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemakerjobruntime-2026-02-01/ValidationException AWS API Documentation
253
+ #
254
+ class ValidationException < Struct.new(
255
+ :message)
256
+ SENSITIVE = []
257
+ include Aws::Structure
258
+ end
259
+
260
+ end
261
+ end
262
+
@@ -0,0 +1,61 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+
11
+ require 'aws-sdk-core'
12
+ require 'aws-sigv4'
13
+
14
+ Aws::Plugins::GlobalConfiguration.add_identifier(:sagemakerjobruntime)
15
+
16
+ # This module provides support for Sagemaker Job Runtime Service. This module is available in the
17
+ # `aws-sdk-sagemakerjobruntime` gem.
18
+ #
19
+ # # Client
20
+ #
21
+ # The {Client} class provides one method for each API operation. Operation
22
+ # methods each accept a hash of request parameters and return a response
23
+ # structure.
24
+ #
25
+ # sagemaker_job_runtime = Aws::SagemakerJobRuntime::Client.new
26
+ # resp = sagemaker_job_runtime.complete_rollout(params)
27
+ #
28
+ # See {Client} for more information.
29
+ #
30
+ # # Errors
31
+ #
32
+ # Errors returned from Sagemaker Job Runtime Service are defined in the
33
+ # {Errors} module and all extend {Errors::ServiceError}.
34
+ #
35
+ # begin
36
+ # # do stuff
37
+ # rescue Aws::SagemakerJobRuntime::Errors::ServiceError
38
+ # # rescues all Sagemaker Job Runtime Service API errors
39
+ # end
40
+ #
41
+ # See {Errors} for more information.
42
+ #
43
+ # @!group service
44
+ module Aws::SagemakerJobRuntime
45
+ autoload :Types, 'aws-sdk-sagemakerjobruntime/types'
46
+ autoload :ClientApi, 'aws-sdk-sagemakerjobruntime/client_api'
47
+ module Plugins
48
+ autoload :Endpoints, 'aws-sdk-sagemakerjobruntime/plugins/endpoints.rb'
49
+ end
50
+ autoload :Client, 'aws-sdk-sagemakerjobruntime/client'
51
+ autoload :Errors, 'aws-sdk-sagemakerjobruntime/errors'
52
+ autoload :Resource, 'aws-sdk-sagemakerjobruntime/resource'
53
+ autoload :EndpointParameters, 'aws-sdk-sagemakerjobruntime/endpoint_parameters'
54
+ autoload :EndpointProvider, 'aws-sdk-sagemakerjobruntime/endpoint_provider'
55
+ autoload :Endpoints, 'aws-sdk-sagemakerjobruntime/endpoints'
56
+
57
+ GEM_VERSION = '1.0.0'
58
+
59
+ end
60
+
61
+ require_relative 'aws-sdk-sagemakerjobruntime/customizations'
data/sig/client.rbs ADDED
@@ -0,0 +1,133 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module SagemakerJobRuntime
10
+ class Client < ::Seahorse::Client::Base
11
+ include ::Aws::ClientStubs
12
+
13
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SagemakerJobRuntime/Client.html#initialize-instance_method
14
+ def self.new: (
15
+ ?credentials: untyped,
16
+ ?region: String,
17
+ ?access_key_id: String,
18
+ ?account_id: String,
19
+ ?active_endpoint_cache: bool,
20
+ ?adaptive_retry_wait_to_fill: bool,
21
+ ?auth_scheme_preference: Array[String],
22
+ ?client_side_monitoring: bool,
23
+ ?client_side_monitoring_client_id: String,
24
+ ?client_side_monitoring_host: String,
25
+ ?client_side_monitoring_port: Integer,
26
+ ?client_side_monitoring_publisher: untyped,
27
+ ?convert_params: bool,
28
+ ?correct_clock_skew: bool,
29
+ ?defaults_mode: String,
30
+ ?disable_host_prefix_injection: bool,
31
+ ?disable_request_compression: bool,
32
+ ?endpoint: String,
33
+ ?endpoint_cache_max_entries: Integer,
34
+ ?endpoint_cache_max_threads: Integer,
35
+ ?endpoint_cache_poll_interval: Integer,
36
+ ?endpoint_discovery: bool,
37
+ ?ignore_configured_endpoint_urls: bool,
38
+ ?log_formatter: untyped,
39
+ ?log_level: Symbol,
40
+ ?logger: untyped,
41
+ ?max_attempts: Integer,
42
+ ?profile: String,
43
+ ?request_checksum_calculation: String,
44
+ ?request_min_compression_size_bytes: Integer,
45
+ ?response_checksum_validation: String,
46
+ ?retry_backoff: Proc,
47
+ ?retry_base_delay: Float,
48
+ ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
49
+ ?retry_limit: Integer,
50
+ ?retry_max_delay: Integer,
51
+ ?retry_mode: ("legacy" | "standard" | "adaptive"),
52
+ ?sdk_ua_app_id: String,
53
+ ?secret_access_key: String,
54
+ ?session_token: String,
55
+ ?sigv4a_signing_region_set: Array[String],
56
+ ?stub_responses: untyped,
57
+ ?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
58
+ ?token_provider: untyped,
59
+ ?use_dualstack_endpoint: bool,
60
+ ?use_fips_endpoint: bool,
61
+ ?validate_params: bool,
62
+ ?endpoint_provider: untyped,
63
+ ?http_proxy: String,
64
+ ?http_open_timeout: (Float | Integer),
65
+ ?http_read_timeout: (Float | Integer),
66
+ ?http_idle_timeout: (Float | Integer),
67
+ ?http_continue_timeout: (Float | Integer),
68
+ ?ssl_timeout: (Float | Integer | nil),
69
+ ?http_wire_trace: bool,
70
+ ?ssl_verify_peer: bool,
71
+ ?ssl_ca_bundle: String,
72
+ ?ssl_ca_directory: String,
73
+ ?ssl_ca_store: String,
74
+ ?on_chunk_received: Proc,
75
+ ?on_chunk_sent: Proc,
76
+ ?raise_response_errors: bool
77
+ ) -> instance
78
+ | (?Hash[Symbol, untyped]) -> instance
79
+
80
+
81
+ interface _CompleteRolloutResponseSuccess
82
+ include ::Seahorse::Client::_ResponseSuccess[Types::CompleteRolloutResponse]
83
+ end
84
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SagemakerJobRuntime/Client.html#complete_rollout-instance_method
85
+ def complete_rollout: (
86
+ job_arn: ::String,
87
+ trajectory_id: ::String,
88
+ ?status: ("ready" | "failed"),
89
+ ?client_token: ::String
90
+ ) -> _CompleteRolloutResponseSuccess
91
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CompleteRolloutResponseSuccess
92
+
93
+ interface _SampleResponseSuccess
94
+ include ::Seahorse::Client::_ResponseSuccess[Types::SampleResponse]
95
+ def content_type: () -> ::String
96
+ def body: () -> ::String
97
+ end
98
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SagemakerJobRuntime/Client.html#sample-instance_method
99
+ def sample: (
100
+ job_arn: ::String,
101
+ trajectory_id: ::String,
102
+ body: ::String
103
+ ) -> _SampleResponseSuccess
104
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SampleResponseSuccess
105
+
106
+ interface _SampleWithResponseStreamResponseSuccess
107
+ include ::Seahorse::Client::_ResponseSuccess[Types::SampleWithResponseStreamResponse]
108
+ def content_type: () -> ::String
109
+ def body: () -> ::IO
110
+ end
111
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SagemakerJobRuntime/Client.html#sample_with_response_stream-instance_method
112
+ def sample_with_response_stream: (
113
+ job_arn: ::String,
114
+ trajectory_id: ::String,
115
+ body: ::String
116
+ ) ?{ (*untyped) -> void } -> _SampleWithResponseStreamResponseSuccess
117
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) ?{ (*untyped) -> void } -> _SampleWithResponseStreamResponseSuccess
118
+
119
+ interface _UpdateRewardResponseSuccess
120
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateRewardResponse]
121
+ end
122
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SagemakerJobRuntime/Client.html#update_reward-instance_method
123
+ def update_reward: (
124
+ job_arn: ::String,
125
+ trajectory_id: ::String,
126
+ rewards: Array[::Float],
127
+ ?client_token: ::String
128
+ ) -> _UpdateRewardResponseSuccess
129
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateRewardResponseSuccess
130
+ end
131
+ end
132
+ end
133
+
data/sig/errors.rbs ADDED
@@ -0,0 +1,37 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module SagemakerJobRuntime
10
+ module Errors
11
+ class ServiceError < ::Aws::Errors::ServiceError
12
+ end
13
+
14
+ class AccessDeniedException < ::Aws::Errors::ServiceError
15
+ def message: () -> ::String
16
+ end
17
+ class ConflictException < ::Aws::Errors::ServiceError
18
+ def message: () -> ::String
19
+ end
20
+ class InternalServiceError < ::Aws::Errors::ServiceError
21
+ def message: () -> ::String
22
+ end
23
+ class ResourceNotFoundException < ::Aws::Errors::ServiceError
24
+ def message: () -> ::String
25
+ end
26
+ class ServiceQuotaExceededException < ::Aws::Errors::ServiceError
27
+ def message: () -> ::String
28
+ end
29
+ class ThrottlingException < ::Aws::Errors::ServiceError
30
+ def message: () -> ::String
31
+ end
32
+ class ValidationException < ::Aws::Errors::ServiceError
33
+ def message: () -> ::String
34
+ end
35
+ end
36
+ end
37
+ end
data/sig/resource.rbs ADDED
@@ -0,0 +1,85 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module SagemakerJobRuntime
10
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SagemakerJobRuntime/Resource.html
11
+ class Resource
12
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SagemakerJobRuntime/Resource.html#initialize-instance_method
13
+ def initialize: (
14
+ ?client: Client,
15
+ ?credentials: untyped,
16
+ ?region: String,
17
+ ?access_key_id: String,
18
+ ?account_id: String,
19
+ ?active_endpoint_cache: bool,
20
+ ?adaptive_retry_wait_to_fill: bool,
21
+ ?auth_scheme_preference: Array[String],
22
+ ?client_side_monitoring: bool,
23
+ ?client_side_monitoring_client_id: String,
24
+ ?client_side_monitoring_host: String,
25
+ ?client_side_monitoring_port: Integer,
26
+ ?client_side_monitoring_publisher: untyped,
27
+ ?convert_params: bool,
28
+ ?correct_clock_skew: bool,
29
+ ?defaults_mode: String,
30
+ ?disable_host_prefix_injection: bool,
31
+ ?disable_request_compression: bool,
32
+ ?endpoint: String,
33
+ ?endpoint_cache_max_entries: Integer,
34
+ ?endpoint_cache_max_threads: Integer,
35
+ ?endpoint_cache_poll_interval: Integer,
36
+ ?endpoint_discovery: bool,
37
+ ?ignore_configured_endpoint_urls: bool,
38
+ ?log_formatter: untyped,
39
+ ?log_level: Symbol,
40
+ ?logger: untyped,
41
+ ?max_attempts: Integer,
42
+ ?profile: String,
43
+ ?request_checksum_calculation: String,
44
+ ?request_min_compression_size_bytes: Integer,
45
+ ?response_checksum_validation: String,
46
+ ?retry_backoff: Proc,
47
+ ?retry_base_delay: Float,
48
+ ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
49
+ ?retry_limit: Integer,
50
+ ?retry_max_delay: Integer,
51
+ ?retry_mode: ("legacy" | "standard" | "adaptive"),
52
+ ?sdk_ua_app_id: String,
53
+ ?secret_access_key: String,
54
+ ?session_token: String,
55
+ ?sigv4a_signing_region_set: Array[String],
56
+ ?stub_responses: untyped,
57
+ ?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
58
+ ?token_provider: untyped,
59
+ ?use_dualstack_endpoint: bool,
60
+ ?use_fips_endpoint: bool,
61
+ ?validate_params: bool,
62
+ ?endpoint_provider: untyped,
63
+ ?http_proxy: String,
64
+ ?http_open_timeout: (Float | Integer),
65
+ ?http_read_timeout: (Float | Integer),
66
+ ?http_idle_timeout: (Float | Integer),
67
+ ?http_continue_timeout: (Float | Integer),
68
+ ?ssl_timeout: (Float | Integer | nil),
69
+ ?http_wire_trace: bool,
70
+ ?ssl_verify_peer: bool,
71
+ ?ssl_ca_bundle: String,
72
+ ?ssl_ca_directory: String,
73
+ ?ssl_ca_store: String,
74
+ ?on_chunk_received: Proc,
75
+ ?on_chunk_sent: Proc,
76
+ ?raise_response_errors: bool
77
+ ) -> void
78
+ | (?Hash[Symbol, untyped]) -> void
79
+
80
+ def client: () -> Client
81
+
82
+
83
+ end
84
+ end
85
+ end
data/sig/types.rbs ADDED
@@ -0,0 +1,94 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws::SagemakerJobRuntime
9
+ module Types
10
+
11
+ class AccessDeniedException
12
+ attr_accessor message: ::String
13
+ SENSITIVE: []
14
+ end
15
+
16
+ class CompleteRolloutRequest
17
+ attr_accessor job_arn: ::String
18
+ attr_accessor trajectory_id: ::String
19
+ attr_accessor status: ("ready" | "failed")
20
+ attr_accessor client_token: ::String
21
+ SENSITIVE: []
22
+ end
23
+
24
+ class CompleteRolloutResponse < Aws::EmptyStructure
25
+ end
26
+
27
+ class ConflictException
28
+ attr_accessor message: ::String
29
+ SENSITIVE: []
30
+ end
31
+
32
+ class InternalServiceError
33
+ attr_accessor message: ::String
34
+ SENSITIVE: []
35
+ end
36
+
37
+ class ResourceNotFoundException
38
+ attr_accessor message: ::String
39
+ SENSITIVE: []
40
+ end
41
+
42
+ class SampleRequest
43
+ attr_accessor job_arn: ::String
44
+ attr_accessor trajectory_id: ::String
45
+ attr_accessor body: ::String
46
+ SENSITIVE: [:body]
47
+ end
48
+
49
+ class SampleResponse
50
+ attr_accessor content_type: ::String
51
+ attr_accessor body: ::String
52
+ SENSITIVE: [:body]
53
+ end
54
+
55
+ class SampleWithResponseStreamRequest
56
+ attr_accessor job_arn: ::String
57
+ attr_accessor trajectory_id: ::String
58
+ attr_accessor body: ::String
59
+ SENSITIVE: [:body]
60
+ end
61
+
62
+ class SampleWithResponseStreamResponse
63
+ attr_accessor content_type: ::String
64
+ attr_accessor body: ::IO
65
+ SENSITIVE: [:body]
66
+ end
67
+
68
+ class ServiceQuotaExceededException
69
+ attr_accessor message: ::String
70
+ SENSITIVE: []
71
+ end
72
+
73
+ class ThrottlingException
74
+ attr_accessor message: ::String
75
+ SENSITIVE: []
76
+ end
77
+
78
+ class UpdateRewardRequest
79
+ attr_accessor job_arn: ::String
80
+ attr_accessor trajectory_id: ::String
81
+ attr_accessor rewards: ::Array[::Float]
82
+ attr_accessor client_token: ::String
83
+ SENSITIVE: []
84
+ end
85
+
86
+ class UpdateRewardResponse < Aws::EmptyStructure
87
+ end
88
+
89
+ class ValidationException
90
+ attr_accessor message: ::String
91
+ SENSITIVE: []
92
+ end
93
+ end
94
+ end