aws-sdk-sagemakergatewayruntime 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.
- checksums.yaml +7 -0
- data/CHANGELOG.md +8 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-sagemakergatewayruntime/client.rb +903 -0
- data/lib/aws-sdk-sagemakergatewayruntime/client_api.rb +166 -0
- data/lib/aws-sdk-sagemakergatewayruntime/customizations.rb +0 -0
- data/lib/aws-sdk-sagemakergatewayruntime/endpoint_parameters.rb +69 -0
- data/lib/aws-sdk-sagemakergatewayruntime/endpoint_provider.rb +50 -0
- data/lib/aws-sdk-sagemakergatewayruntime/endpoints.rb +20 -0
- data/lib/aws-sdk-sagemakergatewayruntime/errors.rb +229 -0
- data/lib/aws-sdk-sagemakergatewayruntime/event_streams.rb +59 -0
- data/lib/aws-sdk-sagemakergatewayruntime/plugins/endpoints.rb +77 -0
- data/lib/aws-sdk-sagemakergatewayruntime/resource.rb +26 -0
- data/lib/aws-sdk-sagemakergatewayruntime/types.rb +440 -0
- data/lib/aws-sdk-sagemakergatewayruntime.rb +62 -0
- data/sig/client.rbs +115 -0
- data/sig/errors.rbs +49 -0
- data/sig/resource.rbs +89 -0
- data/sig/types.rbs +104 -0
- metadata +96 -0
data/sig/resource.rbs
ADDED
|
@@ -0,0 +1,89 @@
|
|
|
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 SageMakerGatewayRuntime
|
|
10
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SageMakerGatewayRuntime/Resource.html
|
|
11
|
+
class Resource
|
|
12
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SageMakerGatewayRuntime/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_clock_skew_correction: bool,
|
|
31
|
+
?disable_host_prefix_injection: bool,
|
|
32
|
+
?disable_request_compression: bool,
|
|
33
|
+
?endpoint: String,
|
|
34
|
+
?endpoint_cache_max_entries: Integer,
|
|
35
|
+
?endpoint_cache_max_threads: Integer,
|
|
36
|
+
?endpoint_cache_poll_interval: Integer,
|
|
37
|
+
?endpoint_discovery: bool,
|
|
38
|
+
?event_stream_handler: Proc,
|
|
39
|
+
?ignore_configured_endpoint_urls: bool,
|
|
40
|
+
?input_event_stream_handler: Proc,
|
|
41
|
+
?log_formatter: untyped,
|
|
42
|
+
?log_level: Symbol,
|
|
43
|
+
?logger: untyped,
|
|
44
|
+
?max_attempts: Integer,
|
|
45
|
+
?output_event_stream_handler: Proc,
|
|
46
|
+
?profile: String,
|
|
47
|
+
?request_checksum_calculation: String,
|
|
48
|
+
?request_min_compression_size_bytes: Integer,
|
|
49
|
+
?response_checksum_validation: String,
|
|
50
|
+
?retry_backoff: Proc,
|
|
51
|
+
?retry_base_delay: Float,
|
|
52
|
+
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
|
53
|
+
?retry_limit: Integer,
|
|
54
|
+
?retry_max_delay: Integer,
|
|
55
|
+
?retry_mode: ("legacy" | "standard" | "adaptive"),
|
|
56
|
+
?sdk_ua_app_id: String,
|
|
57
|
+
?secret_access_key: String,
|
|
58
|
+
?session_token: String,
|
|
59
|
+
?sigv4a_signing_region_set: Array[String],
|
|
60
|
+
?stub_responses: untyped,
|
|
61
|
+
?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
|
|
62
|
+
?token_provider: untyped,
|
|
63
|
+
?use_dualstack_endpoint: bool,
|
|
64
|
+
?use_fips_endpoint: bool,
|
|
65
|
+
?validate_params: bool,
|
|
66
|
+
?endpoint_provider: untyped,
|
|
67
|
+
?http_proxy: String,
|
|
68
|
+
?http_open_timeout: (Float | Integer),
|
|
69
|
+
?http_read_timeout: (Float | Integer),
|
|
70
|
+
?http_idle_timeout: (Float | Integer),
|
|
71
|
+
?http_continue_timeout: (Float | Integer),
|
|
72
|
+
?ssl_timeout: (Float | Integer | nil),
|
|
73
|
+
?http_wire_trace: bool,
|
|
74
|
+
?ssl_verify_peer: bool,
|
|
75
|
+
?ssl_ca_bundle: String,
|
|
76
|
+
?ssl_ca_directory: String,
|
|
77
|
+
?ssl_ca_store: String,
|
|
78
|
+
?on_chunk_received: Proc,
|
|
79
|
+
?on_chunk_sent: Proc,
|
|
80
|
+
?raise_response_errors: bool
|
|
81
|
+
) -> void
|
|
82
|
+
| (?Hash[Symbol, untyped]) -> void
|
|
83
|
+
|
|
84
|
+
def client: () -> Client
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
end
|
|
88
|
+
end
|
|
89
|
+
end
|
data/sig/types.rbs
ADDED
|
@@ -0,0 +1,104 @@
|
|
|
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::SageMakerGatewayRuntime
|
|
9
|
+
module Types
|
|
10
|
+
|
|
11
|
+
class AccessDeniedException
|
|
12
|
+
attr_accessor message: ::String
|
|
13
|
+
SENSITIVE: []
|
|
14
|
+
end
|
|
15
|
+
|
|
16
|
+
class BadGatewayException
|
|
17
|
+
attr_accessor message: ::String
|
|
18
|
+
SENSITIVE: []
|
|
19
|
+
end
|
|
20
|
+
|
|
21
|
+
class GatewayTimeoutException
|
|
22
|
+
attr_accessor message: ::String
|
|
23
|
+
SENSITIVE: []
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
class InternalServerException
|
|
27
|
+
attr_accessor message: ::String
|
|
28
|
+
SENSITIVE: []
|
|
29
|
+
end
|
|
30
|
+
|
|
31
|
+
class InternalStreamFailure
|
|
32
|
+
attr_accessor message: ::String
|
|
33
|
+
attr_accessor event_type: untyped
|
|
34
|
+
SENSITIVE: []
|
|
35
|
+
end
|
|
36
|
+
|
|
37
|
+
class InvokeGlobalInferenceGatewayInput
|
|
38
|
+
attr_accessor gateway_id: ::String
|
|
39
|
+
attr_accessor accept: ::String
|
|
40
|
+
attr_accessor content_type: ::String
|
|
41
|
+
attr_accessor customer_identity_token: ::String
|
|
42
|
+
attr_accessor body: ::String
|
|
43
|
+
SENSITIVE: [:customer_identity_token, :body]
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
class InvokeGlobalInferenceGatewayOutput
|
|
47
|
+
attr_accessor body: ::String
|
|
48
|
+
SENSITIVE: [:body]
|
|
49
|
+
end
|
|
50
|
+
|
|
51
|
+
class InvokeGlobalInferenceGatewayWithResponseStreamInput
|
|
52
|
+
attr_accessor gateway_id: ::String
|
|
53
|
+
attr_accessor accept: ::String
|
|
54
|
+
attr_accessor content_type: ::String
|
|
55
|
+
attr_accessor customer_identity_token: ::String
|
|
56
|
+
attr_accessor body: ::String
|
|
57
|
+
SENSITIVE: [:customer_identity_token, :body]
|
|
58
|
+
end
|
|
59
|
+
|
|
60
|
+
class InvokeGlobalInferenceGatewayWithResponseStreamOutput
|
|
61
|
+
attr_accessor body: Types::ResponseStream
|
|
62
|
+
SENSITIVE: []
|
|
63
|
+
end
|
|
64
|
+
|
|
65
|
+
class ModelStreamError
|
|
66
|
+
attr_accessor message: ::String
|
|
67
|
+
attr_accessor error_code: ("StreamBroken" | "ModelInvocationTimeExceeded")
|
|
68
|
+
attr_accessor event_type: untyped
|
|
69
|
+
SENSITIVE: []
|
|
70
|
+
end
|
|
71
|
+
|
|
72
|
+
class PayloadPart
|
|
73
|
+
attr_accessor bytes: ::String
|
|
74
|
+
attr_accessor event_type: untyped
|
|
75
|
+
SENSITIVE: [:bytes]
|
|
76
|
+
end
|
|
77
|
+
|
|
78
|
+
class PayloadTooLargeException
|
|
79
|
+
attr_accessor message: ::String
|
|
80
|
+
SENSITIVE: []
|
|
81
|
+
end
|
|
82
|
+
|
|
83
|
+
class ResourceNotFoundException
|
|
84
|
+
attr_accessor message: ::String
|
|
85
|
+
attr_accessor resource_id: ::String
|
|
86
|
+
attr_accessor resource_type: ::String
|
|
87
|
+
SENSITIVE: []
|
|
88
|
+
end
|
|
89
|
+
|
|
90
|
+
class ServiceUnavailableException
|
|
91
|
+
attr_accessor message: ::String
|
|
92
|
+
SENSITIVE: []
|
|
93
|
+
end
|
|
94
|
+
|
|
95
|
+
class ThrottlingException
|
|
96
|
+
attr_accessor message: ::String
|
|
97
|
+
SENSITIVE: []
|
|
98
|
+
end
|
|
99
|
+
|
|
100
|
+
class ResponseStream < Enumerator[untyped, untyped]
|
|
101
|
+
def event_types: () -> [:payload_part, :model_stream_error, :internal_stream_failure]
|
|
102
|
+
end
|
|
103
|
+
end
|
|
104
|
+
end
|
metadata
ADDED
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: aws-sdk-sagemakergatewayruntime
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 1.0.0
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- Amazon Web Services
|
|
8
|
+
bindir: bin
|
|
9
|
+
cert_chain: []
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
11
|
+
dependencies:
|
|
12
|
+
- !ruby/object:Gem::Dependency
|
|
13
|
+
name: aws-sdk-core
|
|
14
|
+
requirement: !ruby/object:Gem::Requirement
|
|
15
|
+
requirements:
|
|
16
|
+
- - "~>"
|
|
17
|
+
- !ruby/object:Gem::Version
|
|
18
|
+
version: '3'
|
|
19
|
+
- - ">="
|
|
20
|
+
- !ruby/object:Gem::Version
|
|
21
|
+
version: 3.270.0
|
|
22
|
+
type: :runtime
|
|
23
|
+
prerelease: false
|
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
25
|
+
requirements:
|
|
26
|
+
- - "~>"
|
|
27
|
+
- !ruby/object:Gem::Version
|
|
28
|
+
version: '3'
|
|
29
|
+
- - ">="
|
|
30
|
+
- !ruby/object:Gem::Version
|
|
31
|
+
version: 3.270.0
|
|
32
|
+
- !ruby/object:Gem::Dependency
|
|
33
|
+
name: aws-sigv4
|
|
34
|
+
requirement: !ruby/object:Gem::Requirement
|
|
35
|
+
requirements:
|
|
36
|
+
- - "~>"
|
|
37
|
+
- !ruby/object:Gem::Version
|
|
38
|
+
version: '1.5'
|
|
39
|
+
type: :runtime
|
|
40
|
+
prerelease: false
|
|
41
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
42
|
+
requirements:
|
|
43
|
+
- - "~>"
|
|
44
|
+
- !ruby/object:Gem::Version
|
|
45
|
+
version: '1.5'
|
|
46
|
+
description: Official AWS Ruby gem for Amazon SageMaker Gateway Runtime. This gem
|
|
47
|
+
is part of the AWS SDK for Ruby.
|
|
48
|
+
email:
|
|
49
|
+
- aws-dr-rubygems@amazon.com
|
|
50
|
+
executables: []
|
|
51
|
+
extensions: []
|
|
52
|
+
extra_rdoc_files: []
|
|
53
|
+
files:
|
|
54
|
+
- CHANGELOG.md
|
|
55
|
+
- LICENSE.txt
|
|
56
|
+
- VERSION
|
|
57
|
+
- lib/aws-sdk-sagemakergatewayruntime.rb
|
|
58
|
+
- lib/aws-sdk-sagemakergatewayruntime/client.rb
|
|
59
|
+
- lib/aws-sdk-sagemakergatewayruntime/client_api.rb
|
|
60
|
+
- lib/aws-sdk-sagemakergatewayruntime/customizations.rb
|
|
61
|
+
- lib/aws-sdk-sagemakergatewayruntime/endpoint_parameters.rb
|
|
62
|
+
- lib/aws-sdk-sagemakergatewayruntime/endpoint_provider.rb
|
|
63
|
+
- lib/aws-sdk-sagemakergatewayruntime/endpoints.rb
|
|
64
|
+
- lib/aws-sdk-sagemakergatewayruntime/errors.rb
|
|
65
|
+
- lib/aws-sdk-sagemakergatewayruntime/event_streams.rb
|
|
66
|
+
- lib/aws-sdk-sagemakergatewayruntime/plugins/endpoints.rb
|
|
67
|
+
- lib/aws-sdk-sagemakergatewayruntime/resource.rb
|
|
68
|
+
- lib/aws-sdk-sagemakergatewayruntime/types.rb
|
|
69
|
+
- sig/client.rbs
|
|
70
|
+
- sig/errors.rbs
|
|
71
|
+
- sig/resource.rbs
|
|
72
|
+
- sig/types.rbs
|
|
73
|
+
homepage: https://github.com/aws/aws-sdk-ruby
|
|
74
|
+
licenses:
|
|
75
|
+
- Apache-2.0
|
|
76
|
+
metadata:
|
|
77
|
+
source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-sagemakergatewayruntime
|
|
78
|
+
changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-sagemakergatewayruntime/CHANGELOG.md
|
|
79
|
+
rdoc_options: []
|
|
80
|
+
require_paths:
|
|
81
|
+
- lib
|
|
82
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
83
|
+
requirements:
|
|
84
|
+
- - ">="
|
|
85
|
+
- !ruby/object:Gem::Version
|
|
86
|
+
version: '2.7'
|
|
87
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
88
|
+
requirements:
|
|
89
|
+
- - ">="
|
|
90
|
+
- !ruby/object:Gem::Version
|
|
91
|
+
version: '0'
|
|
92
|
+
requirements: []
|
|
93
|
+
rubygems_version: 3.6.7
|
|
94
|
+
specification_version: 4
|
|
95
|
+
summary: AWS SDK for Ruby - Amazon SageMaker Gateway Runtime
|
|
96
|
+
test_files: []
|