capo-sagemaker-runtime-http2 0.1.0__py3-none-any.whl
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.
- capo_sagemaker_runtime_http2/__init__.py +74 -0
- capo_sagemaker_runtime_http2/_async.py +25 -0
- capo_sagemaker_runtime_http2/_auth/_identity.py +16 -0
- capo_sagemaker_runtime_http2/_auth/_providers.py +886 -0
- capo_sagemaker_runtime_http2/_auth/_signers.py +88 -0
- capo_sagemaker_runtime_http2/_auth/_sigv4.py +434 -0
- capo_sagemaker_runtime_http2/_auth/_zapros_handler.py +80 -0
- capo_sagemaker_runtime_http2/_iter.py +113 -0
- capo_sagemaker_runtime_http2/_operations/amazon_sage_maker_runtime_http2/invoke_endpoint_with_bidirectional_stream.py +264 -0
- capo_sagemaker_runtime_http2/_pagination.py +21 -0
- capo_sagemaker_runtime_http2/_protocol/__init__.py +1 -0
- capo_sagemaker_runtime_http2/_protocol/errors.py +93 -0
- capo_sagemaker_runtime_http2/_protocol/eventstream.py +238 -0
- capo_sagemaker_runtime_http2/_protocol/serialize.py +47 -0
- capo_sagemaker_runtime_http2/_protocol/xml.py +33 -0
- capo_sagemaker_runtime_http2/_rule_engine/__init__.py +0 -0
- capo_sagemaker_runtime_http2/_rule_engine/_aws_partition.py +160 -0
- capo_sagemaker_runtime_http2/_rule_engine/_endpoint_rule_set.py +560 -0
- capo_sagemaker_runtime_http2/_rule_engine/_endpoint_runtime.py +389 -0
- capo_sagemaker_runtime_http2/_services/_aws_config.py +160 -0
- capo_sagemaker_runtime_http2/_services/_pipeline.py +198 -0
- capo_sagemaker_runtime_http2/_services/async_sage_maker_runtime_http2.py +204 -0
- capo_sagemaker_runtime_http2/_services/sage_maker_runtime_http2.py +203 -0
- capo_sagemaker_runtime_http2/errors/__init__.py +31 -0
- capo_sagemaker_runtime_http2/errors/_base.py +94 -0
- capo_sagemaker_runtime_http2/errors/input_validation_error.py +53 -0
- capo_sagemaker_runtime_http2/errors/internal_server_error.py +51 -0
- capo_sagemaker_runtime_http2/errors/internal_stream_failure.py +61 -0
- capo_sagemaker_runtime_http2/errors/model_error.py +69 -0
- capo_sagemaker_runtime_http2/errors/model_stream_error.py +65 -0
- capo_sagemaker_runtime_http2/errors/service_unavailable_error.py +53 -0
- capo_sagemaker_runtime_http2/py.typed +0 -0
- capo_sagemaker_runtime_http2/types/_prelude/blob.py +12 -0
- capo_sagemaker_runtime_http2/types/_prelude/timestamp.py +17 -0
- capo_sagemaker_runtime_http2/types/invoke_endpoint_with_bidirectional_stream_input.py +21 -0
- capo_sagemaker_runtime_http2/types/invoke_endpoint_with_bidirectional_stream_output.py +15 -0
- capo_sagemaker_runtime_http2/types/request_payload_part.py +62 -0
- capo_sagemaker_runtime_http2/types/request_stream_event.py +52 -0
- capo_sagemaker_runtime_http2/types/response_payload_part.py +62 -0
- capo_sagemaker_runtime_http2/types/response_stream_event.py +100 -0
- capo_sagemaker_runtime_http2/types/sensitive_blob.py +15 -0
- capo_sagemaker_runtime_http2-0.1.0.dist-info/METADATA +108 -0
- capo_sagemaker_runtime_http2-0.1.0.dist-info/RECORD +46 -0
- capo_sagemaker_runtime_http2-0.1.0.dist-info/WHEEL +5 -0
- capo_sagemaker_runtime_http2-0.1.0.dist-info/licenses/LICENSE +21 -0
- capo_sagemaker_runtime_http2-0.1.0.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
"""Generated from Smithy shape ``com.amazonaws.sagemakerruntimehttp2#ResponsePayloadPart``."""
|
|
2
|
+
|
|
3
|
+
from typing import TYPE_CHECKING
|
|
4
|
+
|
|
5
|
+
from typing_extensions import NotRequired, TypedDict
|
|
6
|
+
|
|
7
|
+
from capo_sagemaker_runtime_http2._protocol.eventstream import HeaderValue, Message
|
|
8
|
+
|
|
9
|
+
if TYPE_CHECKING:
|
|
10
|
+
import capo_sagemaker_runtime_http2.types.sensitive_blob
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
class ResponsePayloadPart(TypedDict, closed=True):
|
|
14
|
+
bytes: NotRequired[
|
|
15
|
+
"capo_sagemaker_runtime_http2.types.sensitive_blob.SensitiveBlob"
|
|
16
|
+
]
|
|
17
|
+
"""<p>The payload bytes.</p>"""
|
|
18
|
+
data_type: NotRequired["str"]
|
|
19
|
+
r"""<p>Data type header. Can be one of these possible values: \"UTF8\", \"BINARY\".</p>"""
|
|
20
|
+
completion_state: NotRequired["str"]
|
|
21
|
+
r"""<p>Completion state header. Can be one of these possible values: \"PARTIAL\", \"COMPLETE\".</p>"""
|
|
22
|
+
p: NotRequired["str"]
|
|
23
|
+
"""<p>Padding string for alignment.</p>"""
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
# --- restJson1 ser/de ---
|
|
27
|
+
def serialize_json(value: ResponsePayloadPart) -> dict:
|
|
28
|
+
out: dict = {}
|
|
29
|
+
return out
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
def deserialize_json(data: dict) -> ResponsePayloadPart:
|
|
33
|
+
out: ResponsePayloadPart = {} # type: ignore[typeddict-item]
|
|
34
|
+
return out
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
def serialize_event_json(value: ResponsePayloadPart) -> bytes:
|
|
38
|
+
headers: dict[str, HeaderValue] = {":event-type": "PayloadPart"}
|
|
39
|
+
payload = b""
|
|
40
|
+
if "data_type" in value:
|
|
41
|
+
headers["DataType"] = value["data_type"]
|
|
42
|
+
if "completion_state" in value:
|
|
43
|
+
headers["CompletionState"] = value["completion_state"]
|
|
44
|
+
if "p" in value:
|
|
45
|
+
headers["P"] = value["p"]
|
|
46
|
+
payload = value["bytes"]
|
|
47
|
+
return Message(headers=headers, payload=payload).encode()
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
def deserialize_event_json(message: Message) -> ResponsePayloadPart:
|
|
51
|
+
headers = message.headers # noqa: F841
|
|
52
|
+
payload = message.payload # noqa: F841
|
|
53
|
+
out: ResponsePayloadPart = {} # type: ignore[typeddict-item]
|
|
54
|
+
if "DataType" in headers:
|
|
55
|
+
out["data_type"] = headers["DataType"] # ty: ignore[invalid-assignment]
|
|
56
|
+
if "CompletionState" in headers:
|
|
57
|
+
out["completion_state"] = headers["CompletionState"] # ty: ignore[invalid-assignment]
|
|
58
|
+
if "P" in headers:
|
|
59
|
+
out["p"] = headers["P"] # ty: ignore[invalid-assignment]
|
|
60
|
+
if payload:
|
|
61
|
+
out["bytes"] = payload
|
|
62
|
+
return out
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
"""Generated from Smithy shape ``com.amazonaws.sagemakerruntimehttp2#ResponseStreamEvent``."""
|
|
2
|
+
|
|
3
|
+
from typing import TYPE_CHECKING, TypeAlias
|
|
4
|
+
|
|
5
|
+
from typing_extensions import TypedDict
|
|
6
|
+
|
|
7
|
+
from capo_sagemaker_runtime_http2._iter import AnyIterator
|
|
8
|
+
from capo_sagemaker_runtime_http2._protocol.eventstream import Message
|
|
9
|
+
|
|
10
|
+
if TYPE_CHECKING:
|
|
11
|
+
import capo_sagemaker_runtime_http2.errors.internal_stream_failure
|
|
12
|
+
import capo_sagemaker_runtime_http2.errors.model_stream_error
|
|
13
|
+
import capo_sagemaker_runtime_http2.types.response_payload_part
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
class _ResponseStreamEvent_PayloadPart(TypedDict, closed=True):
|
|
17
|
+
PayloadPart: (
|
|
18
|
+
"capo_sagemaker_runtime_http2.types.response_payload_part.ResponsePayloadPart"
|
|
19
|
+
)
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
class _ResponseStreamEvent_ModelStreamError(TypedDict, closed=True):
|
|
23
|
+
ModelStreamError: (
|
|
24
|
+
"capo_sagemaker_runtime_http2.errors.model_stream_error.ModelStreamError_"
|
|
25
|
+
)
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
class _ResponseStreamEvent_InternalStreamFailure(TypedDict, closed=True):
|
|
29
|
+
InternalStreamFailure: "capo_sagemaker_runtime_http2.errors.internal_stream_failure.InternalStreamFailure_"
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
_ResponseStreamEvent: TypeAlias = (
|
|
33
|
+
_ResponseStreamEvent_PayloadPart
|
|
34
|
+
| _ResponseStreamEvent_ModelStreamError
|
|
35
|
+
| _ResponseStreamEvent_InternalStreamFailure
|
|
36
|
+
)
|
|
37
|
+
ResponseStreamEvent: TypeAlias = AnyIterator[_ResponseStreamEvent]
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
def serialize_event_json(value: _ResponseStreamEvent) -> bytes:
|
|
41
|
+
match value:
|
|
42
|
+
case {"PayloadPart": payload}:
|
|
43
|
+
import capo_sagemaker_runtime_http2.types.response_payload_part
|
|
44
|
+
|
|
45
|
+
return capo_sagemaker_runtime_http2.types.response_payload_part.serialize_event_json(
|
|
46
|
+
payload
|
|
47
|
+
)
|
|
48
|
+
case {"ModelStreamError": payload}:
|
|
49
|
+
import capo_sagemaker_runtime_http2.errors.model_stream_error
|
|
50
|
+
|
|
51
|
+
return capo_sagemaker_runtime_http2.errors.model_stream_error.serialize_event_json(
|
|
52
|
+
payload
|
|
53
|
+
)
|
|
54
|
+
case {"InternalStreamFailure": payload}:
|
|
55
|
+
import capo_sagemaker_runtime_http2.errors.internal_stream_failure
|
|
56
|
+
|
|
57
|
+
return capo_sagemaker_runtime_http2.errors.internal_stream_failure.serialize_event_json(
|
|
58
|
+
payload
|
|
59
|
+
)
|
|
60
|
+
case _:
|
|
61
|
+
raise ValueError(f"ResponseStreamEvent: unrecognized variant {value!r}")
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
def deserialize_event_json(message: Message) -> _ResponseStreamEvent:
|
|
65
|
+
headers = message.headers
|
|
66
|
+
message_type = headers.get(":message-type", "event") # noqa: F841
|
|
67
|
+
if message_type == "error":
|
|
68
|
+
error_type = headers.get(":error-type")
|
|
69
|
+
match error_type:
|
|
70
|
+
case "ModelStreamError":
|
|
71
|
+
import capo_sagemaker_runtime_http2.errors.model_stream_error
|
|
72
|
+
|
|
73
|
+
raise capo_sagemaker_runtime_http2.errors.model_stream_error.ModelStreamError(
|
|
74
|
+
capo_sagemaker_runtime_http2.errors.model_stream_error.deserialize_event_json(
|
|
75
|
+
message
|
|
76
|
+
)
|
|
77
|
+
)
|
|
78
|
+
case "InternalStreamFailure":
|
|
79
|
+
import capo_sagemaker_runtime_http2.errors.internal_stream_failure
|
|
80
|
+
|
|
81
|
+
raise capo_sagemaker_runtime_http2.errors.internal_stream_failure.InternalStreamFailure(
|
|
82
|
+
capo_sagemaker_runtime_http2.errors.internal_stream_failure.deserialize_event_json(
|
|
83
|
+
message
|
|
84
|
+
)
|
|
85
|
+
)
|
|
86
|
+
raise ValueError(f"ResponseStreamEvent: unrecognized error-type {error_type!r}")
|
|
87
|
+
event_type = headers.get(":event-type")
|
|
88
|
+
match event_type:
|
|
89
|
+
case "PayloadPart":
|
|
90
|
+
import capo_sagemaker_runtime_http2.types.response_payload_part
|
|
91
|
+
|
|
92
|
+
return {
|
|
93
|
+
"PayloadPart": capo_sagemaker_runtime_http2.types.response_payload_part.deserialize_event_json(
|
|
94
|
+
message
|
|
95
|
+
)
|
|
96
|
+
}
|
|
97
|
+
case _:
|
|
98
|
+
raise ValueError(
|
|
99
|
+
f"ResponseStreamEvent: unrecognized event-type {event_type!r}"
|
|
100
|
+
)
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"""Generated from Smithy shape ``com.amazonaws.sagemakerruntimehttp2#SensitiveBlob``."""
|
|
2
|
+
|
|
3
|
+
import base64
|
|
4
|
+
from typing import TypeAlias
|
|
5
|
+
|
|
6
|
+
SensitiveBlob: TypeAlias = bytes
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
# --- restJson1 ser/de ---
|
|
10
|
+
def serialize_json(value: SensitiveBlob) -> str:
|
|
11
|
+
return base64.b64encode(value).decode("ascii")
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
def deserialize_json(data: str) -> SensitiveBlob:
|
|
15
|
+
return base64.b64decode(data)
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: capo-sagemaker-runtime-http2
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: Python SDK for Sagemaker Runtime Http2.
|
|
5
|
+
Classifier: Development Status :: 4 - Beta
|
|
6
|
+
Classifier: Intended Audience :: Developers
|
|
7
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
8
|
+
Classifier: Operating System :: OS Independent
|
|
9
|
+
Classifier: Programming Language :: Python :: 3
|
|
10
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
11
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
12
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
15
|
+
Classifier: Topic :: Software Development :: Code Generators
|
|
16
|
+
Classifier: Typing :: Typed
|
|
17
|
+
Requires-Python: >=3.10
|
|
18
|
+
Description-Content-Type: text/markdown
|
|
19
|
+
License-File: LICENSE
|
|
20
|
+
Requires-Dist: zapros>=0.13.0
|
|
21
|
+
Provides-Extra: sso
|
|
22
|
+
Requires-Dist: capo-sso>=0.2.0; extra == "sso"
|
|
23
|
+
Requires-Dist: capo-sso-oidc>=0.2.0; extra == "sso"
|
|
24
|
+
Requires-Dist: capo-sts>=0.3.0; extra == "sso"
|
|
25
|
+
Dynamic: license-file
|
|
26
|
+
|
|
27
|
+
# Getting Started
|
|
28
|
+
|
|
29
|
+
## Installation
|
|
30
|
+
|
|
31
|
+
```
|
|
32
|
+
pip install capo-sagemaker-runtime-http2
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
## Usage
|
|
36
|
+
|
|
37
|
+
```python
|
|
38
|
+
from capo_sagemaker_runtime_http2 import AsyncSageMakerRuntimeHTTP2Client
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
async def main():
|
|
42
|
+
async with AsyncSageMakerRuntimeHTTP2Client() as sage_maker_runtime_http2:
|
|
43
|
+
# Example: call the invoke_endpoint_with_bidirectional_stream operation
|
|
44
|
+
response = await sage_maker_runtime_http2.invoke_endpoint_with_bidirectional_stream()
|
|
45
|
+
print(response["body"])
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
## Streaming Request
|
|
49
|
+
|
|
50
|
+
Some operations accept a streaming request body. Pass an async iterator of `bytes` chunks, or the whole body as `bytes`, for the streaming parameter.
|
|
51
|
+
|
|
52
|
+
```python
|
|
53
|
+
from capo_sagemaker_runtime_http2 import AsyncSageMakerRuntimeHTTP2Client
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
async def main():
|
|
57
|
+
async with AsyncSageMakerRuntimeHTTP2Client() as sage_maker_runtime_http2:
|
|
58
|
+
# Example: call invoke_endpoint_with_bidirectional_stream with a streaming request body
|
|
59
|
+
async def chunks():
|
|
60
|
+
yield b'Hello, World!'
|
|
61
|
+
|
|
62
|
+
response = await sage_maker_runtime_http2.invoke_endpoint_with_bidirectional_stream(body=chunks())
|
|
63
|
+
print(response)
|
|
64
|
+
|
|
65
|
+
# Or pass the whole body as bytes
|
|
66
|
+
response = await sage_maker_runtime_http2.invoke_endpoint_with_bidirectional_stream(body=b'Hello, World!')
|
|
67
|
+
print(response)
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
## Error Handling
|
|
71
|
+
|
|
72
|
+
The SDK raises exceptions for errors returned by the API. Catch them to handle failures gracefully.
|
|
73
|
+
|
|
74
|
+
```python
|
|
75
|
+
from capo_sagemaker_runtime_http2 import AsyncSageMakerRuntimeHTTP2Client
|
|
76
|
+
from capo_sagemaker_runtime_http2.error import InputValidationError
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
async def main():
|
|
80
|
+
async with AsyncSageMakerRuntimeHTTP2Client() as sage_maker_runtime_http2:
|
|
81
|
+
try:
|
|
82
|
+
await sage_maker_runtime_http2.invoke_endpoint_with_bidirectional_stream()
|
|
83
|
+
except InputValidationError as e:
|
|
84
|
+
print(f"Error: {e}")
|
|
85
|
+
print(e.data) # additional error data
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
## Retrying
|
|
89
|
+
|
|
90
|
+
The SDK retries failed operations automatically. Retry behaviour follows the Smithy specification: errors are retried based on their `is_retryable` and `is_throttling_error` attributes. Throttling errors use a longer base delay. Network-level failures (connection errors and timeouts) are also retried. Non-retryable errors, such as client errors without the `@retryable` trait, are raised immediately without further attempts.
|
|
91
|
+
|
|
92
|
+
The number of attempts defaults to 3 and can be changed at the client level via `retry_max_attempts`, or per call via `config_overrides`.
|
|
93
|
+
|
|
94
|
+
```python
|
|
95
|
+
from capo_sagemaker_runtime_http2 import AsyncSageMakerRuntimeHTTP2Client
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
async def main():
|
|
99
|
+
async with AsyncSageMakerRuntimeHTTP2Client() as sage_maker_runtime_http2:
|
|
100
|
+
# Default: 3 attempts for every operation
|
|
101
|
+
response = await sage_maker_runtime_http2.invoke_endpoint_with_bidirectional_stream()
|
|
102
|
+
|
|
103
|
+
# Override per operation
|
|
104
|
+
response = await sage_maker_runtime_http2.invoke_endpoint_with_bidirectional_stream(config_overrides={"retry_max_attempts": 5})
|
|
105
|
+
|
|
106
|
+
# Disable retries for this call
|
|
107
|
+
response = await sage_maker_runtime_http2.invoke_endpoint_with_bidirectional_stream(config_overrides={"retry_max_attempts": 1})
|
|
108
|
+
```
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
capo_sagemaker_runtime_http2/__init__.py,sha256=ZLlw1X7Fy-SXnaQKtOM5F5JhPHV-PaNussB87763N6A,2244
|
|
2
|
+
capo_sagemaker_runtime_http2/_async.py,sha256=h6ySvzTgw6Vz53pgCi0YvxHurRgLsjGXXfskGimI4AY,451
|
|
3
|
+
capo_sagemaker_runtime_http2/_iter.py,sha256=T_s-wDvQwcKN5JpnWCBFyyXXGsbAwQisFSSK5RPKDTA,3165
|
|
4
|
+
capo_sagemaker_runtime_http2/_pagination.py,sha256=EihZfcSTQN5NRCcdJ26KcpYTUGzctwP6Iz9jYBFntWg,698
|
|
5
|
+
capo_sagemaker_runtime_http2/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
6
|
+
capo_sagemaker_runtime_http2/_auth/_identity.py,sha256=ONv_NxU5ShEezSRyGAKGaxAn0R1HLGktZqKrL7xsPZw,326
|
|
7
|
+
capo_sagemaker_runtime_http2/_auth/_providers.py,sha256=w9zspPdImkujmdnyeAQFm6uUhBJiLYhem91xlFN_s4k,33732
|
|
8
|
+
capo_sagemaker_runtime_http2/_auth/_signers.py,sha256=-7Wzzwm0ybSAWryhwg-rMEO7wWb6KSR8bHCS91Ym7Ps,3237
|
|
9
|
+
capo_sagemaker_runtime_http2/_auth/_sigv4.py,sha256=YfqyANVhhQOVahg3VjKTtiBzR8bkSGxY6415MkS9g0A,14885
|
|
10
|
+
capo_sagemaker_runtime_http2/_auth/_zapros_handler.py,sha256=8xdfKJH-rJB2fFNajj7v5JlSn06u9ZUoOmgqUh2jptA,2978
|
|
11
|
+
capo_sagemaker_runtime_http2/_operations/amazon_sage_maker_runtime_http2/invoke_endpoint_with_bidirectional_stream.py,sha256=iL61chXqFVkFk5t-Z2NOqSlehuW0yFCskaNGlBgM7WE,11068
|
|
12
|
+
capo_sagemaker_runtime_http2/_protocol/__init__.py,sha256=MSIVV1jVmxqtMyjeNhffomlwpuVB7-tzRK4rdPDFCG8,61
|
|
13
|
+
capo_sagemaker_runtime_http2/_protocol/errors.py,sha256=LGBCYv4hreZJWCslL1jZMzcsy9_38EYIYVRyeyrPtg8,2914
|
|
14
|
+
capo_sagemaker_runtime_http2/_protocol/eventstream.py,sha256=nlzm-kxm1tAfwyBWYmKChX0jYOht3R4aodi6n92NXqQ,8741
|
|
15
|
+
capo_sagemaker_runtime_http2/_protocol/serialize.py,sha256=9yv7gMXl03SdUzfWKUvXs-jr9uZmWDLXBM5J44azkUs,1348
|
|
16
|
+
capo_sagemaker_runtime_http2/_protocol/xml.py,sha256=D4VZOoKjh1hoV1HKUVoA6Hg7aKKfUNenyRKTSTjCQFs,1062
|
|
17
|
+
capo_sagemaker_runtime_http2/_rule_engine/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
18
|
+
capo_sagemaker_runtime_http2/_rule_engine/_aws_partition.py,sha256=gxziWLrEyQKXSmsQ-skA8DdYWrHXAURuxBDhZPqMNb8,5555
|
|
19
|
+
capo_sagemaker_runtime_http2/_rule_engine/_endpoint_rule_set.py,sha256=MiwbgXP7GG5uJsdZYWeOepliLrJ5T6TJquWkbBBFfMY,24460
|
|
20
|
+
capo_sagemaker_runtime_http2/_rule_engine/_endpoint_runtime.py,sha256=o94904z9c3fuJJD7vDrl_k1b9nWLueMKAXB6-OxL1Fs,13797
|
|
21
|
+
capo_sagemaker_runtime_http2/_services/_aws_config.py,sha256=mF00YpQGVmKl6gn4YdJTnOMzhjZ_--omqp2tcG4Ln8E,5241
|
|
22
|
+
capo_sagemaker_runtime_http2/_services/_pipeline.py,sha256=4wdGnsls95xdROK1EgI9XsDLhc1Z89VdaDUQNvmnOSQ,5622
|
|
23
|
+
capo_sagemaker_runtime_http2/_services/async_sage_maker_runtime_http2.py,sha256=XEvJiu4xHuxNwrwXjak_vpYaeu73uZM6in5oN-k_UBI,11760
|
|
24
|
+
capo_sagemaker_runtime_http2/_services/sage_maker_runtime_http2.py,sha256=y_3_qe1YkqaTP-c5zQvZiGtfkdjETHTzyaTeq7n2xJE,11525
|
|
25
|
+
capo_sagemaker_runtime_http2/errors/__init__.py,sha256=lGR8_hA0iN-XxP4FJXoDtlUB7uutyNhmBPAheZkrBg8,988
|
|
26
|
+
capo_sagemaker_runtime_http2/errors/_base.py,sha256=QnlqMfl_bTTLx6DVZmKve7WAPBx2FzVtnF-Jgt-0rbc,3111
|
|
27
|
+
capo_sagemaker_runtime_http2/errors/input_validation_error.py,sha256=hCc-b9dnabsKTMRTGZ7xW_oDQxvm2j4CW8hhBOew98A,1649
|
|
28
|
+
capo_sagemaker_runtime_http2/errors/internal_server_error.py,sha256=J8spTF3USMZ7ajDwKyjZk5kFUA6uF-A4RL0C7mHxbeU,1624
|
|
29
|
+
capo_sagemaker_runtime_http2/errors/internal_stream_failure.py,sha256=WEceFrEz7VxOrits1H5pDG35ADo9BV8-ajRIWJfPECY,1988
|
|
30
|
+
capo_sagemaker_runtime_http2/errors/model_error.py,sha256=JInB7voZfK5YUeMMXvshRKWZxlwr97JWcRlxCM3ZEV8,2412
|
|
31
|
+
capo_sagemaker_runtime_http2/errors/model_stream_error.py,sha256=WJ3zuHGlR5EHDLjZpEFNUMrOyvFb6waQSFEfFphRsTo,2128
|
|
32
|
+
capo_sagemaker_runtime_http2/errors/service_unavailable_error.py,sha256=imqBPPgoE2gcYgT16kaF-YWCEnmxuvPFm1IcMvY9wL0,1682
|
|
33
|
+
capo_sagemaker_runtime_http2/types/invoke_endpoint_with_bidirectional_stream_input.py,sha256=kkh0Ys88aqJU3Hhq6QHZizx39OrknzcmfTwFM0mJXgs,832
|
|
34
|
+
capo_sagemaker_runtime_http2/types/invoke_endpoint_with_bidirectional_stream_output.py,sha256=BTuBpeokHNRxj4PhkOTU_EV1jvi6lsxTl6EnnLh8N1E,606
|
|
35
|
+
capo_sagemaker_runtime_http2/types/request_payload_part.py,sha256=sI1h5csv4UmAABUL2NzChn0dynOzIUYWk_fxw8bwRFk,2236
|
|
36
|
+
capo_sagemaker_runtime_http2/types/request_stream_event.py,sha256=lnP_drbRIuQftgRnWO6XBz4myQetaScywJW4dwEShcw,1808
|
|
37
|
+
capo_sagemaker_runtime_http2/types/response_payload_part.py,sha256=bJEwoy_MjeQU9HUfXf9oWMgHftlUkYXyKpk3ctZNYNU,2244
|
|
38
|
+
capo_sagemaker_runtime_http2/types/response_stream_event.py,sha256=a-lwWlCvesjE1SOL1ZqolKxaWC27DzQ7Eps5fSPCSMA,3940
|
|
39
|
+
capo_sagemaker_runtime_http2/types/sensitive_blob.py,sha256=oLzNdlWQkMwYBPIDeQHCBbw9uoJQNMZkmDIDr9vY0rQ,382
|
|
40
|
+
capo_sagemaker_runtime_http2/types/_prelude/blob.py,sha256=L57RpNwdTSboMhnddA-0PBonXBu3oPm3RAr4Ff7IjzQ,277
|
|
41
|
+
capo_sagemaker_runtime_http2/types/_prelude/timestamp.py,sha256=wfGPIPU-oBc2-PPqjNnJIElt1jXcEdb78Ux6jSX1mu0,487
|
|
42
|
+
capo_sagemaker_runtime_http2-0.1.0.dist-info/licenses/LICENSE,sha256=sOQjPuig7ktMdOZpG1TdsPSYAVS_9UYVXwDDbD75nVI,1072
|
|
43
|
+
capo_sagemaker_runtime_http2-0.1.0.dist-info/METADATA,sha256=uKynLXcMsBy_coh7VGhNHjUl1igNIkrgEjeHBVarva4,4188
|
|
44
|
+
capo_sagemaker_runtime_http2-0.1.0.dist-info/WHEEL,sha256=YVMoNqKzERt-wjUZwJ33xBGAwnFl-4cqbYkTtWa4itE,91
|
|
45
|
+
capo_sagemaker_runtime_http2-0.1.0.dist-info/top_level.txt,sha256=8ZKmp4kccFYj5wemxq_CjG3CbCApXIZ2gDWKgHozhSQ,29
|
|
46
|
+
capo_sagemaker_runtime_http2-0.1.0.dist-info/RECORD,,
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Karen Petrosyan
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
capo_sagemaker_runtime_http2
|