aws-sdk-elementalinference 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-elementalinference/client.rb +1124 -0
- data/lib/aws-sdk-elementalinference/client_api.rb +407 -0
- data/lib/aws-sdk-elementalinference/customizations.rb +0 -0
- data/lib/aws-sdk-elementalinference/endpoint_parameters.rb +69 -0
- data/lib/aws-sdk-elementalinference/endpoint_provider.rb +50 -0
- data/lib/aws-sdk-elementalinference/endpoints.rb +20 -0
- data/lib/aws-sdk-elementalinference/errors.rb +162 -0
- data/lib/aws-sdk-elementalinference/plugins/endpoints.rb +77 -0
- data/lib/aws-sdk-elementalinference/resource.rb +26 -0
- data/lib/aws-sdk-elementalinference/types.rb +794 -0
- data/lib/aws-sdk-elementalinference/waiters.rb +136 -0
- data/lib/aws-sdk-elementalinference.rb +62 -0
- data/sig/client.rbs +259 -0
- data/sig/errors.rbs +37 -0
- data/sig/resource.rbs +85 -0
- data/sig/types.rbs +236 -0
- data/sig/waiters.rbs +23 -0
- metadata +97 -0
|
@@ -0,0 +1,136 @@
|
|
|
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
|
+
require 'aws-sdk-core/waiters'
|
|
11
|
+
|
|
12
|
+
module Aws::ElementalInference
|
|
13
|
+
# Waiters are utility methods that poll for a particular state to occur
|
|
14
|
+
# on a client. Waiters can fail after a number of attempts at a polling
|
|
15
|
+
# interval defined for the service client.
|
|
16
|
+
#
|
|
17
|
+
# For a list of operations that can be waited for and the
|
|
18
|
+
# client methods called for each operation, see the table below or the
|
|
19
|
+
# {Client#wait_until} field documentation for the {Client}.
|
|
20
|
+
#
|
|
21
|
+
# # Invoking a Waiter
|
|
22
|
+
# To invoke a waiter, call #wait_until on a {Client}. The first parameter
|
|
23
|
+
# is the waiter name, which is specific to the service client and indicates
|
|
24
|
+
# which operation is being waited for. The second parameter is a hash of
|
|
25
|
+
# parameters that are passed to the client method called by the waiter,
|
|
26
|
+
# which varies according to the waiter name.
|
|
27
|
+
#
|
|
28
|
+
# # Wait Failures
|
|
29
|
+
# To catch errors in a waiter, use WaiterFailed,
|
|
30
|
+
# as shown in the following example.
|
|
31
|
+
#
|
|
32
|
+
# rescue rescue Aws::Waiters::Errors::WaiterFailed => error
|
|
33
|
+
# puts "failed waiting for instance running: #{error.message}
|
|
34
|
+
# end
|
|
35
|
+
#
|
|
36
|
+
# # Configuring a Waiter
|
|
37
|
+
# Each waiter has a default polling interval and a maximum number of
|
|
38
|
+
# attempts it will make before returning control to your program.
|
|
39
|
+
# To set these values, use the `max_attempts` and `delay` parameters
|
|
40
|
+
# in your `#wait_until` call.
|
|
41
|
+
# The following example waits for up to 25 seconds, polling every five seconds.
|
|
42
|
+
#
|
|
43
|
+
# client.wait_until(...) do |w|
|
|
44
|
+
# w.max_attempts = 5
|
|
45
|
+
# w.delay = 5
|
|
46
|
+
# end
|
|
47
|
+
#
|
|
48
|
+
# To disable wait failures, set the value of either of these parameters
|
|
49
|
+
# to `nil`.
|
|
50
|
+
#
|
|
51
|
+
# # Extending a Waiter
|
|
52
|
+
# To modify the behavior of waiters, you can register callbacks that are
|
|
53
|
+
# triggered before each polling attempt and before waiting.
|
|
54
|
+
#
|
|
55
|
+
# The following example implements an exponential backoff in a waiter
|
|
56
|
+
# by doubling the amount of time to wait on every attempt.
|
|
57
|
+
#
|
|
58
|
+
# client.wait_until(...) do |w|
|
|
59
|
+
# w.interval = 0 # disable normal sleep
|
|
60
|
+
# w.before_wait do |n, resp|
|
|
61
|
+
# sleep(n ** 2)
|
|
62
|
+
# end
|
|
63
|
+
# end
|
|
64
|
+
#
|
|
65
|
+
# # Available Waiters
|
|
66
|
+
#
|
|
67
|
+
# The following table lists the valid waiter names, the operations they call,
|
|
68
|
+
# and the default `:delay` and `:max_attempts` values.
|
|
69
|
+
#
|
|
70
|
+
# | waiter_name | params | :delay | :max_attempts |
|
|
71
|
+
# | ------------ | ----------------- | -------- | ------------- |
|
|
72
|
+
# | feed_deleted | {Client#get_feed} | 3 | 40 |
|
|
73
|
+
#
|
|
74
|
+
module Waiters
|
|
75
|
+
|
|
76
|
+
# Wait until a Feed is deleted
|
|
77
|
+
class FeedDeleted
|
|
78
|
+
|
|
79
|
+
# @param [Hash] options
|
|
80
|
+
# @option options [required, Client] :client
|
|
81
|
+
# @option options [Integer] :max_attempts (40)
|
|
82
|
+
# @option options [Integer] :delay (3)
|
|
83
|
+
# @option options [Proc] :before_attempt
|
|
84
|
+
# @option options [Proc] :before_wait
|
|
85
|
+
def initialize(options)
|
|
86
|
+
@client = options.fetch(:client)
|
|
87
|
+
@waiter = Aws::Waiters::Waiter.new({
|
|
88
|
+
max_attempts: 40,
|
|
89
|
+
delay: 3,
|
|
90
|
+
poller: Aws::Waiters::Poller.new(
|
|
91
|
+
operation_name: :get_feed,
|
|
92
|
+
acceptors: [
|
|
93
|
+
{
|
|
94
|
+
"matcher" => "error",
|
|
95
|
+
"state" => "success",
|
|
96
|
+
"expected" => "ResourceNotFoundException"
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"matcher" => "path",
|
|
100
|
+
"argument" => "status",
|
|
101
|
+
"state" => "success",
|
|
102
|
+
"expected" => "DELETED"
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"matcher" => "path",
|
|
106
|
+
"argument" => "status",
|
|
107
|
+
"state" => "retry",
|
|
108
|
+
"expected" => "DELETING"
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"matcher" => "error",
|
|
112
|
+
"state" => "retry",
|
|
113
|
+
"expected" => "InternalServerErrorException"
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"matcher" => "error",
|
|
117
|
+
"state" => "retry",
|
|
118
|
+
"expected" => "TooManyRequestException"
|
|
119
|
+
}
|
|
120
|
+
]
|
|
121
|
+
)
|
|
122
|
+
}.merge(options))
|
|
123
|
+
end
|
|
124
|
+
|
|
125
|
+
# @option (see Client#get_feed)
|
|
126
|
+
# @return (see Client#get_feed)
|
|
127
|
+
def wait(params = {})
|
|
128
|
+
@waiter.wait(client: @client, params: params)
|
|
129
|
+
end
|
|
130
|
+
|
|
131
|
+
# @api private
|
|
132
|
+
attr_reader :waiter
|
|
133
|
+
|
|
134
|
+
end
|
|
135
|
+
end
|
|
136
|
+
end
|
|
@@ -0,0 +1,62 @@
|
|
|
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(:elementalinference)
|
|
15
|
+
|
|
16
|
+
# This module provides support for AWS Elemental Inference. This module is available in the
|
|
17
|
+
# `aws-sdk-elementalinference` 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
|
+
# elemental_inference = Aws::ElementalInference::Client.new
|
|
26
|
+
# resp = elemental_inference.associate_feed(params)
|
|
27
|
+
#
|
|
28
|
+
# See {Client} for more information.
|
|
29
|
+
#
|
|
30
|
+
# # Errors
|
|
31
|
+
#
|
|
32
|
+
# Errors returned from AWS Elemental Inference are defined in the
|
|
33
|
+
# {Errors} module and all extend {Errors::ServiceError}.
|
|
34
|
+
#
|
|
35
|
+
# begin
|
|
36
|
+
# # do stuff
|
|
37
|
+
# rescue Aws::ElementalInference::Errors::ServiceError
|
|
38
|
+
# # rescues all AWS Elemental Inference API errors
|
|
39
|
+
# end
|
|
40
|
+
#
|
|
41
|
+
# See {Errors} for more information.
|
|
42
|
+
#
|
|
43
|
+
# @!group service
|
|
44
|
+
module Aws::ElementalInference
|
|
45
|
+
autoload :Types, 'aws-sdk-elementalinference/types'
|
|
46
|
+
autoload :ClientApi, 'aws-sdk-elementalinference/client_api'
|
|
47
|
+
module Plugins
|
|
48
|
+
autoload :Endpoints, 'aws-sdk-elementalinference/plugins/endpoints.rb'
|
|
49
|
+
end
|
|
50
|
+
autoload :Client, 'aws-sdk-elementalinference/client'
|
|
51
|
+
autoload :Errors, 'aws-sdk-elementalinference/errors'
|
|
52
|
+
autoload :Waiters, 'aws-sdk-elementalinference/waiters'
|
|
53
|
+
autoload :Resource, 'aws-sdk-elementalinference/resource'
|
|
54
|
+
autoload :EndpointParameters, 'aws-sdk-elementalinference/endpoint_parameters'
|
|
55
|
+
autoload :EndpointProvider, 'aws-sdk-elementalinference/endpoint_provider'
|
|
56
|
+
autoload :Endpoints, 'aws-sdk-elementalinference/endpoints'
|
|
57
|
+
|
|
58
|
+
GEM_VERSION = '1.0.0'
|
|
59
|
+
|
|
60
|
+
end
|
|
61
|
+
|
|
62
|
+
require_relative 'aws-sdk-elementalinference/customizations'
|
data/sig/client.rbs
ADDED
|
@@ -0,0 +1,259 @@
|
|
|
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 ElementalInference
|
|
10
|
+
class Client < ::Seahorse::Client::Base
|
|
11
|
+
include ::Aws::ClientStubs
|
|
12
|
+
|
|
13
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ElementalInference/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 _AssociateFeedResponseSuccess
|
|
82
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::AssociateFeedResponse]
|
|
83
|
+
def arn: () -> ::String
|
|
84
|
+
def id: () -> ::String
|
|
85
|
+
end
|
|
86
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ElementalInference/Client.html#associate_feed-instance_method
|
|
87
|
+
def associate_feed: (
|
|
88
|
+
id: ::String,
|
|
89
|
+
associated_resource_name: ::String,
|
|
90
|
+
outputs: Array[
|
|
91
|
+
{
|
|
92
|
+
name: ::String,
|
|
93
|
+
output_config: {
|
|
94
|
+
cropping: {
|
|
95
|
+
}?,
|
|
96
|
+
clipping: {
|
|
97
|
+
callback_metadata: ::String?
|
|
98
|
+
}?
|
|
99
|
+
},
|
|
100
|
+
status: ("ENABLED" | "DISABLED"),
|
|
101
|
+
description: ::String?
|
|
102
|
+
},
|
|
103
|
+
],
|
|
104
|
+
?dry_run: bool
|
|
105
|
+
) -> _AssociateFeedResponseSuccess
|
|
106
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AssociateFeedResponseSuccess
|
|
107
|
+
|
|
108
|
+
interface _CreateFeedResponseSuccess
|
|
109
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateFeedResponse]
|
|
110
|
+
def arn: () -> ::String
|
|
111
|
+
def name: () -> ::String
|
|
112
|
+
def id: () -> ::String
|
|
113
|
+
def data_endpoints: () -> ::Array[::String]
|
|
114
|
+
def outputs: () -> ::Array[Types::GetOutput]
|
|
115
|
+
def status: () -> ("CREATING" | "AVAILABLE" | "ACTIVE" | "UPDATING" | "DELETING" | "DELETED" | "ARCHIVED")
|
|
116
|
+
def association: () -> Types::FeedAssociation
|
|
117
|
+
def tags: () -> ::Hash[::String, ::String]
|
|
118
|
+
end
|
|
119
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ElementalInference/Client.html#create_feed-instance_method
|
|
120
|
+
def create_feed: (
|
|
121
|
+
name: ::String,
|
|
122
|
+
outputs: Array[
|
|
123
|
+
{
|
|
124
|
+
name: ::String,
|
|
125
|
+
output_config: {
|
|
126
|
+
cropping: {
|
|
127
|
+
}?,
|
|
128
|
+
clipping: {
|
|
129
|
+
callback_metadata: ::String?
|
|
130
|
+
}?
|
|
131
|
+
},
|
|
132
|
+
status: ("ENABLED" | "DISABLED"),
|
|
133
|
+
description: ::String?
|
|
134
|
+
},
|
|
135
|
+
],
|
|
136
|
+
?tags: Hash[::String, ::String]
|
|
137
|
+
) -> _CreateFeedResponseSuccess
|
|
138
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateFeedResponseSuccess
|
|
139
|
+
|
|
140
|
+
interface _DeleteFeedResponseSuccess
|
|
141
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteFeedResponse]
|
|
142
|
+
def arn: () -> ::String
|
|
143
|
+
def id: () -> ::String
|
|
144
|
+
def status: () -> ("CREATING" | "AVAILABLE" | "ACTIVE" | "UPDATING" | "DELETING" | "DELETED" | "ARCHIVED")
|
|
145
|
+
end
|
|
146
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ElementalInference/Client.html#delete_feed-instance_method
|
|
147
|
+
def delete_feed: (
|
|
148
|
+
id: ::String
|
|
149
|
+
) -> _DeleteFeedResponseSuccess
|
|
150
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteFeedResponseSuccess
|
|
151
|
+
|
|
152
|
+
interface _DisassociateFeedResponseSuccess
|
|
153
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DisassociateFeedResponse]
|
|
154
|
+
def arn: () -> ::String
|
|
155
|
+
def id: () -> ::String
|
|
156
|
+
end
|
|
157
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ElementalInference/Client.html#disassociate_feed-instance_method
|
|
158
|
+
def disassociate_feed: (
|
|
159
|
+
id: ::String,
|
|
160
|
+
associated_resource_name: ::String,
|
|
161
|
+
?dry_run: bool
|
|
162
|
+
) -> _DisassociateFeedResponseSuccess
|
|
163
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DisassociateFeedResponseSuccess
|
|
164
|
+
|
|
165
|
+
interface _GetFeedResponseSuccess
|
|
166
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetFeedResponse]
|
|
167
|
+
def arn: () -> ::String
|
|
168
|
+
def name: () -> ::String
|
|
169
|
+
def id: () -> ::String
|
|
170
|
+
def data_endpoints: () -> ::Array[::String]
|
|
171
|
+
def outputs: () -> ::Array[Types::GetOutput]
|
|
172
|
+
def status: () -> ("CREATING" | "AVAILABLE" | "ACTIVE" | "UPDATING" | "DELETING" | "DELETED" | "ARCHIVED")
|
|
173
|
+
def association: () -> Types::FeedAssociation
|
|
174
|
+
def tags: () -> ::Hash[::String, ::String]
|
|
175
|
+
end
|
|
176
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ElementalInference/Client.html#get_feed-instance_method
|
|
177
|
+
def get_feed: (
|
|
178
|
+
id: ::String
|
|
179
|
+
) -> _GetFeedResponseSuccess
|
|
180
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetFeedResponseSuccess
|
|
181
|
+
|
|
182
|
+
interface _ListFeedsResponseSuccess
|
|
183
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListFeedsResponse]
|
|
184
|
+
def feeds: () -> ::Array[Types::FeedSummary]
|
|
185
|
+
def next_token: () -> ::String
|
|
186
|
+
end
|
|
187
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ElementalInference/Client.html#list_feeds-instance_method
|
|
188
|
+
def list_feeds: (
|
|
189
|
+
?max_results: ::Integer,
|
|
190
|
+
?next_token: ::String
|
|
191
|
+
) -> _ListFeedsResponseSuccess
|
|
192
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListFeedsResponseSuccess
|
|
193
|
+
|
|
194
|
+
interface _ListTagsForResourceResponseSuccess
|
|
195
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
|
|
196
|
+
def tags: () -> ::Hash[::String, ::String]
|
|
197
|
+
end
|
|
198
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ElementalInference/Client.html#list_tags_for_resource-instance_method
|
|
199
|
+
def list_tags_for_resource: (
|
|
200
|
+
resource_arn: ::String
|
|
201
|
+
) -> _ListTagsForResourceResponseSuccess
|
|
202
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
|
|
203
|
+
|
|
204
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ElementalInference/Client.html#tag_resource-instance_method
|
|
205
|
+
def tag_resource: (
|
|
206
|
+
resource_arn: ::String,
|
|
207
|
+
tags: Hash[::String, ::String]
|
|
208
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
209
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
210
|
+
|
|
211
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ElementalInference/Client.html#untag_resource-instance_method
|
|
212
|
+
def untag_resource: (
|
|
213
|
+
resource_arn: ::String,
|
|
214
|
+
tag_keys: Array[::String]
|
|
215
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
216
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
217
|
+
|
|
218
|
+
interface _UpdateFeedResponseSuccess
|
|
219
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateFeedResponse]
|
|
220
|
+
def arn: () -> ::String
|
|
221
|
+
def name: () -> ::String
|
|
222
|
+
def id: () -> ::String
|
|
223
|
+
def data_endpoints: () -> ::Array[::String]
|
|
224
|
+
def outputs: () -> ::Array[Types::GetOutput]
|
|
225
|
+
def status: () -> ("CREATING" | "AVAILABLE" | "ACTIVE" | "UPDATING" | "DELETING" | "DELETED" | "ARCHIVED")
|
|
226
|
+
def association: () -> Types::FeedAssociation
|
|
227
|
+
def tags: () -> ::Hash[::String, ::String]
|
|
228
|
+
end
|
|
229
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ElementalInference/Client.html#update_feed-instance_method
|
|
230
|
+
def update_feed: (
|
|
231
|
+
name: ::String,
|
|
232
|
+
id: ::String,
|
|
233
|
+
outputs: Array[
|
|
234
|
+
{
|
|
235
|
+
name: ::String,
|
|
236
|
+
output_config: {
|
|
237
|
+
cropping: {
|
|
238
|
+
}?,
|
|
239
|
+
clipping: {
|
|
240
|
+
callback_metadata: ::String?
|
|
241
|
+
}?
|
|
242
|
+
},
|
|
243
|
+
status: ("ENABLED" | "DISABLED"),
|
|
244
|
+
description: ::String?,
|
|
245
|
+
from_association: bool?
|
|
246
|
+
},
|
|
247
|
+
]
|
|
248
|
+
) -> _UpdateFeedResponseSuccess
|
|
249
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateFeedResponseSuccess
|
|
250
|
+
|
|
251
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ElementalInference/Client.html#wait_until-instance_method
|
|
252
|
+
def wait_until: (:feed_deleted waiter_name,
|
|
253
|
+
id: ::String
|
|
254
|
+
) -> Client::_GetFeedResponseSuccess
|
|
255
|
+
| (:feed_deleted waiter_name, Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_GetFeedResponseSuccess
|
|
256
|
+
end
|
|
257
|
+
end
|
|
258
|
+
end
|
|
259
|
+
|
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 ElementalInference
|
|
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 InternalServerErrorException < ::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 TooManyRequestException < ::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 ElementalInference
|
|
10
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ElementalInference/Resource.html
|
|
11
|
+
class Resource
|
|
12
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ElementalInference/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
|