aws-sdk-context 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.
data/sig/errors.rbs ADDED
@@ -0,0 +1,50 @@
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 Context
10
+ module Errors
11
+ class ServiceError < ::Aws::Errors::ServiceError
12
+ end
13
+
14
+ class AccessDeniedException < ServiceError
15
+ def message: () -> ::String
16
+ end
17
+ class ConflictException < ServiceError
18
+ def message: () -> ::String
19
+ def resource_id: () -> ::String
20
+ def resource_type: () -> ::String
21
+ end
22
+ class InternalServerException < ServiceError
23
+ def message: () -> ::String
24
+ end
25
+ class ResourceNotFoundException < ServiceError
26
+ def message: () -> ::String
27
+ def resource_id: () -> ::String
28
+ def resource_type: () -> ::String
29
+ end
30
+ class ServiceQuotaExceededException < ServiceError
31
+ def message: () -> ::String
32
+ def quota_code: () -> ::String
33
+ def service_code: () -> ::String
34
+ def resource_id: () -> ::String
35
+ def resource_type: () -> ::String
36
+ end
37
+ class ThrottlingException < ServiceError
38
+ def message: () -> ::String
39
+ def service_code: () -> ::String
40
+ def quota_code: () -> ::String
41
+ def retry_after_seconds: () -> ::String
42
+ end
43
+ class ValidationException < ServiceError
44
+ def message: () -> ::String
45
+ def reason: () -> ::String
46
+ def field_list: () -> ::String
47
+ end
48
+ end
49
+ end
50
+ end
data/sig/params.rbs ADDED
@@ -0,0 +1,145 @@
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 Context
10
+ module Params
11
+ type data_filter = {
12
+ filters: Array[
13
+ Params::filter
14
+ ]?
15
+ }
16
+
17
+ type connection_mapping = {
18
+ connection_id: ::String,
19
+ ontology_mappings: Array[
20
+ {
21
+ ontology_id: ::String
22
+ }
23
+ ],
24
+ data_filter: Params::data_filter?,
25
+ extraction_depth: ::String?,
26
+ path_segments: Array[
27
+ {
28
+ level: ::String,
29
+ id: ::String
30
+ }
31
+ ]?,
32
+ type: ("GLUE_DATA_CATALOG" | "BEDROCK_KNOWLEDGE_BASE" | "DATABRICKS" | "SNOWFLAKE")?
33
+ }
34
+
35
+ type filter = {
36
+ file_type: ::String?,
37
+ exclude_tags: Array[::String]?,
38
+ include_tags: Array[::String]?,
39
+ updated_after: ::Time?,
40
+ created_after: ::Time?,
41
+ max_document_size_bytes: ::Integer?
42
+ }
43
+
44
+ type put_operation = {
45
+ entity: {
46
+ node_id: ::String?,
47
+ edge_id: {
48
+ from: ::String,
49
+ to: ::String
50
+ }?
51
+ }?,
52
+ properties: Hash[::String, Params::any_value]
53
+ }
54
+
55
+ type update_operation = {
56
+ entity: {
57
+ node_id: ::String?,
58
+ edge_id: {
59
+ from: ::String,
60
+ to: ::String
61
+ }?
62
+ },
63
+ properties: Hash[::String, Params::any_value]
64
+ }
65
+
66
+ type delete_operation = {
67
+ entity: {
68
+ node_id: ::String?,
69
+ edge_id: {
70
+ from: ::String,
71
+ to: ::String
72
+ }?
73
+ },
74
+ properties: Hash[::String, Params::any_value]?
75
+ }
76
+
77
+ type change_set_operation = {
78
+ put: Params::put_operation?,
79
+ update: Params::update_operation?,
80
+ delete: Params::delete_operation?
81
+ }
82
+
83
+ type any_value = {
84
+ string_value: ::String?,
85
+ int_value: ::Integer?,
86
+ long_value: ::Integer?,
87
+ bool_value: bool?,
88
+ float_value: ::Float?,
89
+ double_value: ::Float?,
90
+ string_list_value: Array[::String]?,
91
+ int_list_value: Array[::Integer]?,
92
+ long_list_value: Array[::Integer]?,
93
+ float_list_value: Array[::Float]?,
94
+ double_list_value: Array[::Float]?,
95
+ bool_list_value: Array[bool]?
96
+ }
97
+
98
+ type data_source_scope = {
99
+ selectors: Array[
100
+ {
101
+ path: Array[
102
+ {
103
+ level: ::String,
104
+ id: ::String
105
+ }
106
+ ]
107
+ }
108
+ ]?
109
+ }
110
+
111
+ type filter_attribute = {
112
+ key: ::String,
113
+ value: {
114
+ string_value: ::String?,
115
+ number_value: ::Float?,
116
+ boolean_value: bool?,
117
+ string_list_value: Array[::String]?
118
+ }
119
+ }
120
+
121
+ type search_filter = {
122
+ equal_to: Params::filter_attribute?,
123
+ not_equal_to: Params::filter_attribute?,
124
+ greater_than: Params::filter_attribute?,
125
+ greater_than_or_equal_to: Params::filter_attribute?,
126
+ less_than: Params::filter_attribute?,
127
+ less_than_or_equal_to: Params::filter_attribute?,
128
+ in: Params::filter_attribute?,
129
+ and_all: Array[
130
+ {
131
+ equal_to: Params::filter_attribute?,
132
+ not_equal_to: Params::filter_attribute?,
133
+ greater_than: Params::filter_attribute?,
134
+ greater_than_or_equal_to: Params::filter_attribute?,
135
+ less_than: Params::filter_attribute?,
136
+ less_than_or_equal_to: Params::filter_attribute?,
137
+ in: Params::filter_attribute?,
138
+ and_all: untyped?
139
+ }
140
+ ]?
141
+ }
142
+
143
+ end
144
+ end
145
+ end
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 Context
10
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Context/Resource.html
11
+ class Resource
12
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Context/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