aws-sdk-managedgrafana 1.24.0 → 1.26.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-managedgrafana/client.rb +42 -13
- data/lib/aws-sdk-managedgrafana/client_api.rb +5 -0
- data/lib/aws-sdk-managedgrafana/endpoint_provider.rb +1 -1
- data/lib/aws-sdk-managedgrafana/plugins/endpoints.rb +1 -0
- data/lib/aws-sdk-managedgrafana/types.rb +86 -15
- data/lib/aws-sdk-managedgrafana.rb +1 -1
- data/sig/client.rbs +365 -0
- data/sig/errors.rbs +51 -0
- data/sig/resource.rbs +79 -0
- data/sig/types.rbs +456 -0
- data/sig/waiters.rbs +13 -0
- metadata +13 -8
data/sig/client.rbs
ADDED
@@ -0,0 +1,365 @@
|
|
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 ManagedGrafana
|
10
|
+
class Client < ::Seahorse::Client::Base
|
11
|
+
include ::Aws::ClientStubs
|
12
|
+
|
13
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ManagedGrafana/Client.html#initialize-instance_method
|
14
|
+
def self.new: (
|
15
|
+
?credentials: untyped,
|
16
|
+
?region: String,
|
17
|
+
?access_key_id: String,
|
18
|
+
?active_endpoint_cache: bool,
|
19
|
+
?adaptive_retry_wait_to_fill: bool,
|
20
|
+
?client_side_monitoring: bool,
|
21
|
+
?client_side_monitoring_client_id: String,
|
22
|
+
?client_side_monitoring_host: String,
|
23
|
+
?client_side_monitoring_port: Integer,
|
24
|
+
?client_side_monitoring_publisher: untyped,
|
25
|
+
?convert_params: bool,
|
26
|
+
?correct_clock_skew: bool,
|
27
|
+
?defaults_mode: String,
|
28
|
+
?disable_host_prefix_injection: bool,
|
29
|
+
?disable_request_compression: bool,
|
30
|
+
?endpoint: String,
|
31
|
+
?endpoint_cache_max_entries: Integer,
|
32
|
+
?endpoint_cache_max_threads: Integer,
|
33
|
+
?endpoint_cache_poll_interval: Integer,
|
34
|
+
?endpoint_discovery: bool,
|
35
|
+
?ignore_configured_endpoint_urls: bool,
|
36
|
+
?log_formatter: untyped,
|
37
|
+
?log_level: Symbol,
|
38
|
+
?logger: untyped,
|
39
|
+
?max_attempts: Integer,
|
40
|
+
?profile: String,
|
41
|
+
?request_min_compression_size_bytes: Integer,
|
42
|
+
?retry_backoff: Proc,
|
43
|
+
?retry_base_delay: Float,
|
44
|
+
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
45
|
+
?retry_limit: Integer,
|
46
|
+
?retry_max_delay: Integer,
|
47
|
+
?retry_mode: ("legacy" | "standard" | "adaptive"),
|
48
|
+
?sdk_ua_app_id: String,
|
49
|
+
?secret_access_key: String,
|
50
|
+
?session_token: String,
|
51
|
+
?stub_responses: untyped,
|
52
|
+
?token_provider: untyped,
|
53
|
+
?use_dualstack_endpoint: bool,
|
54
|
+
?use_fips_endpoint: bool,
|
55
|
+
?validate_params: bool,
|
56
|
+
?endpoint_provider: untyped,
|
57
|
+
?http_proxy: String,
|
58
|
+
?http_open_timeout: (Float | Integer),
|
59
|
+
?http_read_timeout: (Float | Integer),
|
60
|
+
?http_idle_timeout: (Float | Integer),
|
61
|
+
?http_continue_timeout: (Float | Integer),
|
62
|
+
?ssl_timeout: (Float | Integer | nil),
|
63
|
+
?http_wire_trace: bool,
|
64
|
+
?ssl_verify_peer: bool,
|
65
|
+
?ssl_ca_bundle: String,
|
66
|
+
?ssl_ca_directory: String,
|
67
|
+
?ssl_ca_store: String,
|
68
|
+
?on_chunk_received: Proc,
|
69
|
+
?on_chunk_sent: Proc,
|
70
|
+
?raise_response_errors: bool
|
71
|
+
) -> instance
|
72
|
+
| (?Hash[Symbol, untyped]) -> instance
|
73
|
+
|
74
|
+
|
75
|
+
interface _AssociateLicenseResponseSuccess
|
76
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::AssociateLicenseResponse]
|
77
|
+
def workspace: () -> Types::WorkspaceDescription
|
78
|
+
end
|
79
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ManagedGrafana/Client.html#associate_license-instance_method
|
80
|
+
def associate_license: (
|
81
|
+
?grafana_token: ::String,
|
82
|
+
license_type: ("ENTERPRISE" | "ENTERPRISE_FREE_TRIAL"),
|
83
|
+
workspace_id: ::String
|
84
|
+
) -> _AssociateLicenseResponseSuccess
|
85
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AssociateLicenseResponseSuccess
|
86
|
+
|
87
|
+
interface _CreateWorkspaceResponseSuccess
|
88
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateWorkspaceResponse]
|
89
|
+
def workspace: () -> Types::WorkspaceDescription
|
90
|
+
end
|
91
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ManagedGrafana/Client.html#create_workspace-instance_method
|
92
|
+
def create_workspace: (
|
93
|
+
account_access_type: ("CURRENT_ACCOUNT" | "ORGANIZATION"),
|
94
|
+
authentication_providers: Array[("AWS_SSO" | "SAML")],
|
95
|
+
?client_token: ::String,
|
96
|
+
?configuration: ::String,
|
97
|
+
?grafana_version: ::String,
|
98
|
+
?network_access_control: {
|
99
|
+
prefix_list_ids: Array[::String],
|
100
|
+
vpce_ids: Array[::String]
|
101
|
+
},
|
102
|
+
?organization_role_name: ::String,
|
103
|
+
permission_type: ("CUSTOMER_MANAGED" | "SERVICE_MANAGED"),
|
104
|
+
?stack_set_name: ::String,
|
105
|
+
?tags: Hash[::String, ::String],
|
106
|
+
?vpc_configuration: {
|
107
|
+
security_group_ids: Array[::String],
|
108
|
+
subnet_ids: Array[::String]
|
109
|
+
},
|
110
|
+
?workspace_data_sources: Array[("AMAZON_OPENSEARCH_SERVICE" | "CLOUDWATCH" | "PROMETHEUS" | "XRAY" | "TIMESTREAM" | "SITEWISE" | "ATHENA" | "REDSHIFT" | "TWINMAKER")],
|
111
|
+
?workspace_description: ::String,
|
112
|
+
?workspace_name: ::String,
|
113
|
+
?workspace_notification_destinations: Array[("SNS")],
|
114
|
+
?workspace_organizational_units: Array[::String],
|
115
|
+
?workspace_role_arn: ::String
|
116
|
+
) -> _CreateWorkspaceResponseSuccess
|
117
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateWorkspaceResponseSuccess
|
118
|
+
|
119
|
+
interface _CreateWorkspaceApiKeyResponseSuccess
|
120
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateWorkspaceApiKeyResponse]
|
121
|
+
def key: () -> ::String
|
122
|
+
def key_name: () -> ::String
|
123
|
+
def workspace_id: () -> ::String
|
124
|
+
end
|
125
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ManagedGrafana/Client.html#create_workspace_api_key-instance_method
|
126
|
+
def create_workspace_api_key: (
|
127
|
+
key_name: ::String,
|
128
|
+
key_role: ::String,
|
129
|
+
seconds_to_live: ::Integer,
|
130
|
+
workspace_id: ::String
|
131
|
+
) -> _CreateWorkspaceApiKeyResponseSuccess
|
132
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateWorkspaceApiKeyResponseSuccess
|
133
|
+
|
134
|
+
interface _DeleteWorkspaceResponseSuccess
|
135
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteWorkspaceResponse]
|
136
|
+
def workspace: () -> Types::WorkspaceDescription
|
137
|
+
end
|
138
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ManagedGrafana/Client.html#delete_workspace-instance_method
|
139
|
+
def delete_workspace: (
|
140
|
+
workspace_id: ::String
|
141
|
+
) -> _DeleteWorkspaceResponseSuccess
|
142
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteWorkspaceResponseSuccess
|
143
|
+
|
144
|
+
interface _DeleteWorkspaceApiKeyResponseSuccess
|
145
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteWorkspaceApiKeyResponse]
|
146
|
+
def key_name: () -> ::String
|
147
|
+
def workspace_id: () -> ::String
|
148
|
+
end
|
149
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ManagedGrafana/Client.html#delete_workspace_api_key-instance_method
|
150
|
+
def delete_workspace_api_key: (
|
151
|
+
key_name: ::String,
|
152
|
+
workspace_id: ::String
|
153
|
+
) -> _DeleteWorkspaceApiKeyResponseSuccess
|
154
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteWorkspaceApiKeyResponseSuccess
|
155
|
+
|
156
|
+
interface _DescribeWorkspaceResponseSuccess
|
157
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeWorkspaceResponse]
|
158
|
+
def workspace: () -> Types::WorkspaceDescription
|
159
|
+
end
|
160
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ManagedGrafana/Client.html#describe_workspace-instance_method
|
161
|
+
def describe_workspace: (
|
162
|
+
workspace_id: ::String
|
163
|
+
) -> _DescribeWorkspaceResponseSuccess
|
164
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeWorkspaceResponseSuccess
|
165
|
+
|
166
|
+
interface _DescribeWorkspaceAuthenticationResponseSuccess
|
167
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeWorkspaceAuthenticationResponse]
|
168
|
+
def authentication: () -> Types::AuthenticationDescription
|
169
|
+
end
|
170
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ManagedGrafana/Client.html#describe_workspace_authentication-instance_method
|
171
|
+
def describe_workspace_authentication: (
|
172
|
+
workspace_id: ::String
|
173
|
+
) -> _DescribeWorkspaceAuthenticationResponseSuccess
|
174
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeWorkspaceAuthenticationResponseSuccess
|
175
|
+
|
176
|
+
interface _DescribeWorkspaceConfigurationResponseSuccess
|
177
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeWorkspaceConfigurationResponse]
|
178
|
+
def configuration: () -> ::String
|
179
|
+
def grafana_version: () -> ::String
|
180
|
+
end
|
181
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ManagedGrafana/Client.html#describe_workspace_configuration-instance_method
|
182
|
+
def describe_workspace_configuration: (
|
183
|
+
workspace_id: ::String
|
184
|
+
) -> _DescribeWorkspaceConfigurationResponseSuccess
|
185
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeWorkspaceConfigurationResponseSuccess
|
186
|
+
|
187
|
+
interface _DisassociateLicenseResponseSuccess
|
188
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DisassociateLicenseResponse]
|
189
|
+
def workspace: () -> Types::WorkspaceDescription
|
190
|
+
end
|
191
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ManagedGrafana/Client.html#disassociate_license-instance_method
|
192
|
+
def disassociate_license: (
|
193
|
+
license_type: ("ENTERPRISE" | "ENTERPRISE_FREE_TRIAL"),
|
194
|
+
workspace_id: ::String
|
195
|
+
) -> _DisassociateLicenseResponseSuccess
|
196
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DisassociateLicenseResponseSuccess
|
197
|
+
|
198
|
+
interface _ListPermissionsResponseSuccess
|
199
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListPermissionsResponse]
|
200
|
+
def next_token: () -> ::String
|
201
|
+
def permissions: () -> ::Array[Types::PermissionEntry]
|
202
|
+
end
|
203
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ManagedGrafana/Client.html#list_permissions-instance_method
|
204
|
+
def list_permissions: (
|
205
|
+
?group_id: ::String,
|
206
|
+
?max_results: ::Integer,
|
207
|
+
?next_token: ::String,
|
208
|
+
?user_id: ::String,
|
209
|
+
?user_type: ("SSO_USER" | "SSO_GROUP"),
|
210
|
+
workspace_id: ::String
|
211
|
+
) -> _ListPermissionsResponseSuccess
|
212
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListPermissionsResponseSuccess
|
213
|
+
|
214
|
+
interface _ListTagsForResourceResponseSuccess
|
215
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
|
216
|
+
def tags: () -> ::Hash[::String, ::String]
|
217
|
+
end
|
218
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ManagedGrafana/Client.html#list_tags_for_resource-instance_method
|
219
|
+
def list_tags_for_resource: (
|
220
|
+
resource_arn: ::String
|
221
|
+
) -> _ListTagsForResourceResponseSuccess
|
222
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
|
223
|
+
|
224
|
+
interface _ListVersionsResponseSuccess
|
225
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListVersionsResponse]
|
226
|
+
def grafana_versions: () -> ::Array[::String]
|
227
|
+
def next_token: () -> ::String
|
228
|
+
end
|
229
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ManagedGrafana/Client.html#list_versions-instance_method
|
230
|
+
def list_versions: (
|
231
|
+
?max_results: ::Integer,
|
232
|
+
?next_token: ::String,
|
233
|
+
?workspace_id: ::String
|
234
|
+
) -> _ListVersionsResponseSuccess
|
235
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListVersionsResponseSuccess
|
236
|
+
|
237
|
+
interface _ListWorkspacesResponseSuccess
|
238
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListWorkspacesResponse]
|
239
|
+
def next_token: () -> ::String
|
240
|
+
def workspaces: () -> ::Array[Types::WorkspaceSummary]
|
241
|
+
end
|
242
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ManagedGrafana/Client.html#list_workspaces-instance_method
|
243
|
+
def list_workspaces: (
|
244
|
+
?max_results: ::Integer,
|
245
|
+
?next_token: ::String
|
246
|
+
) -> _ListWorkspacesResponseSuccess
|
247
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListWorkspacesResponseSuccess
|
248
|
+
|
249
|
+
interface _TagResourceResponseSuccess
|
250
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse]
|
251
|
+
end
|
252
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ManagedGrafana/Client.html#tag_resource-instance_method
|
253
|
+
def tag_resource: (
|
254
|
+
resource_arn: ::String,
|
255
|
+
tags: Hash[::String, ::String]
|
256
|
+
) -> _TagResourceResponseSuccess
|
257
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
|
258
|
+
|
259
|
+
interface _UntagResourceResponseSuccess
|
260
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceResponse]
|
261
|
+
end
|
262
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ManagedGrafana/Client.html#untag_resource-instance_method
|
263
|
+
def untag_resource: (
|
264
|
+
resource_arn: ::String,
|
265
|
+
tag_keys: Array[::String]
|
266
|
+
) -> _UntagResourceResponseSuccess
|
267
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
|
268
|
+
|
269
|
+
interface _UpdatePermissionsResponseSuccess
|
270
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdatePermissionsResponse]
|
271
|
+
def errors: () -> ::Array[Types::UpdateError]
|
272
|
+
end
|
273
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ManagedGrafana/Client.html#update_permissions-instance_method
|
274
|
+
def update_permissions: (
|
275
|
+
update_instruction_batch: Array[
|
276
|
+
{
|
277
|
+
action: ("ADD" | "REVOKE"),
|
278
|
+
role: ("ADMIN" | "EDITOR" | "VIEWER"),
|
279
|
+
users: Array[
|
280
|
+
{
|
281
|
+
id: ::String,
|
282
|
+
type: ("SSO_USER" | "SSO_GROUP")
|
283
|
+
},
|
284
|
+
]
|
285
|
+
},
|
286
|
+
],
|
287
|
+
workspace_id: ::String
|
288
|
+
) -> _UpdatePermissionsResponseSuccess
|
289
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdatePermissionsResponseSuccess
|
290
|
+
|
291
|
+
interface _UpdateWorkspaceResponseSuccess
|
292
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateWorkspaceResponse]
|
293
|
+
def workspace: () -> Types::WorkspaceDescription
|
294
|
+
end
|
295
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ManagedGrafana/Client.html#update_workspace-instance_method
|
296
|
+
def update_workspace: (
|
297
|
+
?account_access_type: ("CURRENT_ACCOUNT" | "ORGANIZATION"),
|
298
|
+
?network_access_control: {
|
299
|
+
prefix_list_ids: Array[::String],
|
300
|
+
vpce_ids: Array[::String]
|
301
|
+
},
|
302
|
+
?organization_role_name: ::String,
|
303
|
+
?permission_type: ("CUSTOMER_MANAGED" | "SERVICE_MANAGED"),
|
304
|
+
?remove_network_access_configuration: bool,
|
305
|
+
?remove_vpc_configuration: bool,
|
306
|
+
?stack_set_name: ::String,
|
307
|
+
?vpc_configuration: {
|
308
|
+
security_group_ids: Array[::String],
|
309
|
+
subnet_ids: Array[::String]
|
310
|
+
},
|
311
|
+
?workspace_data_sources: Array[("AMAZON_OPENSEARCH_SERVICE" | "CLOUDWATCH" | "PROMETHEUS" | "XRAY" | "TIMESTREAM" | "SITEWISE" | "ATHENA" | "REDSHIFT" | "TWINMAKER")],
|
312
|
+
?workspace_description: ::String,
|
313
|
+
workspace_id: ::String,
|
314
|
+
?workspace_name: ::String,
|
315
|
+
?workspace_notification_destinations: Array[("SNS")],
|
316
|
+
?workspace_organizational_units: Array[::String],
|
317
|
+
?workspace_role_arn: ::String
|
318
|
+
) -> _UpdateWorkspaceResponseSuccess
|
319
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateWorkspaceResponseSuccess
|
320
|
+
|
321
|
+
interface _UpdateWorkspaceAuthenticationResponseSuccess
|
322
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateWorkspaceAuthenticationResponse]
|
323
|
+
def authentication: () -> Types::AuthenticationDescription
|
324
|
+
end
|
325
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ManagedGrafana/Client.html#update_workspace_authentication-instance_method
|
326
|
+
def update_workspace_authentication: (
|
327
|
+
authentication_providers: Array[("AWS_SSO" | "SAML")],
|
328
|
+
?saml_configuration: {
|
329
|
+
allowed_organizations: Array[::String]?,
|
330
|
+
assertion_attributes: {
|
331
|
+
email: ::String?,
|
332
|
+
groups: ::String?,
|
333
|
+
login: ::String?,
|
334
|
+
name: ::String?,
|
335
|
+
org: ::String?,
|
336
|
+
role: ::String?
|
337
|
+
}?,
|
338
|
+
idp_metadata: {
|
339
|
+
url: ::String?,
|
340
|
+
xml: ::String?
|
341
|
+
},
|
342
|
+
login_validity_duration: ::Integer?,
|
343
|
+
role_values: {
|
344
|
+
admin: Array[::String]?,
|
345
|
+
editor: Array[::String]?
|
346
|
+
}?
|
347
|
+
},
|
348
|
+
workspace_id: ::String
|
349
|
+
) -> _UpdateWorkspaceAuthenticationResponseSuccess
|
350
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateWorkspaceAuthenticationResponseSuccess
|
351
|
+
|
352
|
+
interface _UpdateWorkspaceConfigurationResponseSuccess
|
353
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateWorkspaceConfigurationResponse]
|
354
|
+
end
|
355
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ManagedGrafana/Client.html#update_workspace_configuration-instance_method
|
356
|
+
def update_workspace_configuration: (
|
357
|
+
configuration: ::String,
|
358
|
+
?grafana_version: ::String,
|
359
|
+
workspace_id: ::String
|
360
|
+
) -> _UpdateWorkspaceConfigurationResponseSuccess
|
361
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateWorkspaceConfigurationResponseSuccess
|
362
|
+
end
|
363
|
+
end
|
364
|
+
end
|
365
|
+
|
data/sig/errors.rbs
ADDED
@@ -0,0 +1,51 @@
|
|
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 ManagedGrafana
|
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
|
+
def resource_id: () -> ::String
|
20
|
+
def resource_type: () -> ::String
|
21
|
+
end
|
22
|
+
class InternalServerException < ::Aws::Errors::ServiceError
|
23
|
+
def message: () -> ::String
|
24
|
+
def retry_after_seconds: () -> ::String
|
25
|
+
end
|
26
|
+
class ResourceNotFoundException < ::Aws::Errors::ServiceError
|
27
|
+
def message: () -> ::String
|
28
|
+
def resource_id: () -> ::String
|
29
|
+
def resource_type: () -> ::String
|
30
|
+
end
|
31
|
+
class ServiceQuotaExceededException < ::Aws::Errors::ServiceError
|
32
|
+
def message: () -> ::String
|
33
|
+
def quota_code: () -> ::String
|
34
|
+
def resource_id: () -> ::String
|
35
|
+
def resource_type: () -> ::String
|
36
|
+
def service_code: () -> ::String
|
37
|
+
end
|
38
|
+
class ThrottlingException < ::Aws::Errors::ServiceError
|
39
|
+
def message: () -> ::String
|
40
|
+
def quota_code: () -> ::String
|
41
|
+
def retry_after_seconds: () -> ::String
|
42
|
+
def service_code: () -> ::String
|
43
|
+
end
|
44
|
+
class ValidationException < ::Aws::Errors::ServiceError
|
45
|
+
def field_list: () -> ::String
|
46
|
+
def message: () -> ::String
|
47
|
+
def reason: () -> ::String
|
48
|
+
end
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
data/sig/resource.rbs
ADDED
@@ -0,0 +1,79 @@
|
|
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 ManagedGrafana
|
10
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ManagedGrafana/Resource.html
|
11
|
+
class Resource
|
12
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ManagedGrafana/Resource.html#initialize-instance_method
|
13
|
+
def initialize: (
|
14
|
+
?client: Client,
|
15
|
+
?credentials: untyped,
|
16
|
+
?region: String,
|
17
|
+
?access_key_id: String,
|
18
|
+
?active_endpoint_cache: bool,
|
19
|
+
?adaptive_retry_wait_to_fill: bool,
|
20
|
+
?client_side_monitoring: bool,
|
21
|
+
?client_side_monitoring_client_id: String,
|
22
|
+
?client_side_monitoring_host: String,
|
23
|
+
?client_side_monitoring_port: Integer,
|
24
|
+
?client_side_monitoring_publisher: untyped,
|
25
|
+
?convert_params: bool,
|
26
|
+
?correct_clock_skew: bool,
|
27
|
+
?defaults_mode: String,
|
28
|
+
?disable_host_prefix_injection: bool,
|
29
|
+
?disable_request_compression: bool,
|
30
|
+
?endpoint: String,
|
31
|
+
?endpoint_cache_max_entries: Integer,
|
32
|
+
?endpoint_cache_max_threads: Integer,
|
33
|
+
?endpoint_cache_poll_interval: Integer,
|
34
|
+
?endpoint_discovery: bool,
|
35
|
+
?ignore_configured_endpoint_urls: bool,
|
36
|
+
?log_formatter: untyped,
|
37
|
+
?log_level: Symbol,
|
38
|
+
?logger: untyped,
|
39
|
+
?max_attempts: Integer,
|
40
|
+
?profile: String,
|
41
|
+
?request_min_compression_size_bytes: Integer,
|
42
|
+
?retry_backoff: Proc,
|
43
|
+
?retry_base_delay: Float,
|
44
|
+
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
45
|
+
?retry_limit: Integer,
|
46
|
+
?retry_max_delay: Integer,
|
47
|
+
?retry_mode: ("legacy" | "standard" | "adaptive"),
|
48
|
+
?sdk_ua_app_id: String,
|
49
|
+
?secret_access_key: String,
|
50
|
+
?session_token: String,
|
51
|
+
?stub_responses: untyped,
|
52
|
+
?token_provider: untyped,
|
53
|
+
?use_dualstack_endpoint: bool,
|
54
|
+
?use_fips_endpoint: bool,
|
55
|
+
?validate_params: bool,
|
56
|
+
?endpoint_provider: untyped,
|
57
|
+
?http_proxy: String,
|
58
|
+
?http_open_timeout: (Float | Integer),
|
59
|
+
?http_read_timeout: (Float | Integer),
|
60
|
+
?http_idle_timeout: (Float | Integer),
|
61
|
+
?http_continue_timeout: (Float | Integer),
|
62
|
+
?ssl_timeout: (Float | Integer | nil),
|
63
|
+
?http_wire_trace: bool,
|
64
|
+
?ssl_verify_peer: bool,
|
65
|
+
?ssl_ca_bundle: String,
|
66
|
+
?ssl_ca_directory: String,
|
67
|
+
?ssl_ca_store: String,
|
68
|
+
?on_chunk_received: Proc,
|
69
|
+
?on_chunk_sent: Proc,
|
70
|
+
?raise_response_errors: bool
|
71
|
+
) -> void
|
72
|
+
| (?Hash[Symbol, untyped]) -> void
|
73
|
+
|
74
|
+
def client: () -> Client
|
75
|
+
|
76
|
+
|
77
|
+
end
|
78
|
+
end
|
79
|
+
end
|