aws-sdk-verifiedpermissions 1.15.0 → 1.17.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/client.rbs ADDED
@@ -0,0 +1,584 @@
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 VerifiedPermissions
10
+ class Client < ::Seahorse::Client::Base
11
+ include ::Aws::ClientStubs
12
+
13
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/VerifiedPermissions/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
+ ?simple_json: bool,
52
+ ?stub_responses: untyped,
53
+ ?token_provider: untyped,
54
+ ?use_dualstack_endpoint: bool,
55
+ ?use_fips_endpoint: bool,
56
+ ?validate_params: bool,
57
+ ?endpoint_provider: untyped,
58
+ ?http_proxy: String,
59
+ ?http_open_timeout: (Float | Integer),
60
+ ?http_read_timeout: (Float | Integer),
61
+ ?http_idle_timeout: (Float | Integer),
62
+ ?http_continue_timeout: (Float | Integer),
63
+ ?ssl_timeout: (Float | Integer | nil),
64
+ ?http_wire_trace: bool,
65
+ ?ssl_verify_peer: bool,
66
+ ?ssl_ca_bundle: String,
67
+ ?ssl_ca_directory: String,
68
+ ?ssl_ca_store: String,
69
+ ?on_chunk_received: Proc,
70
+ ?on_chunk_sent: Proc,
71
+ ?raise_response_errors: bool
72
+ ) -> instance
73
+ | (?Hash[Symbol, untyped]) -> instance
74
+
75
+
76
+ interface _BatchIsAuthorizedResponseSuccess
77
+ include ::Seahorse::Client::_ResponseSuccess[Types::BatchIsAuthorizedOutput]
78
+ def results: () -> ::Array[Types::BatchIsAuthorizedOutputItem]
79
+ end
80
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/VerifiedPermissions/Client.html#batch_is_authorized-instance_method
81
+ def batch_is_authorized: (
82
+ policy_store_id: ::String,
83
+ ?entities: {
84
+ entity_list: Array[
85
+ {
86
+ identifier: {
87
+ entity_type: ::String,
88
+ entity_id: ::String
89
+ },
90
+ attributes: Hash[::String, untyped]?,
91
+ parents: Array[
92
+ {
93
+ entity_type: ::String,
94
+ entity_id: ::String
95
+ },
96
+ ]?
97
+ },
98
+ ]?
99
+ },
100
+ requests: Array[
101
+ {
102
+ principal: {
103
+ entity_type: ::String,
104
+ entity_id: ::String
105
+ }?,
106
+ action: {
107
+ action_type: ::String,
108
+ action_id: ::String
109
+ }?,
110
+ resource: {
111
+ entity_type: ::String,
112
+ entity_id: ::String
113
+ }?,
114
+ context: {
115
+ context_map: Hash[::String, untyped]?
116
+ }?
117
+ },
118
+ ]
119
+ ) -> _BatchIsAuthorizedResponseSuccess
120
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchIsAuthorizedResponseSuccess
121
+
122
+ interface _CreateIdentitySourceResponseSuccess
123
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateIdentitySourceOutput]
124
+ def created_date: () -> ::Time
125
+ def identity_source_id: () -> ::String
126
+ def last_updated_date: () -> ::Time
127
+ def policy_store_id: () -> ::String
128
+ end
129
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/VerifiedPermissions/Client.html#create_identity_source-instance_method
130
+ def create_identity_source: (
131
+ ?client_token: ::String,
132
+ policy_store_id: ::String,
133
+ configuration: {
134
+ cognito_user_pool_configuration: {
135
+ user_pool_arn: ::String,
136
+ client_ids: Array[::String]?
137
+ }?
138
+ },
139
+ ?principal_entity_type: ::String
140
+ ) -> _CreateIdentitySourceResponseSuccess
141
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateIdentitySourceResponseSuccess
142
+
143
+ interface _CreatePolicyResponseSuccess
144
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreatePolicyOutput]
145
+ def policy_store_id: () -> ::String
146
+ def policy_id: () -> ::String
147
+ def policy_type: () -> ("STATIC" | "TEMPLATE_LINKED")
148
+ def principal: () -> Types::EntityIdentifier
149
+ def resource: () -> Types::EntityIdentifier
150
+ def created_date: () -> ::Time
151
+ def last_updated_date: () -> ::Time
152
+ end
153
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/VerifiedPermissions/Client.html#create_policy-instance_method
154
+ def create_policy: (
155
+ ?client_token: ::String,
156
+ policy_store_id: ::String,
157
+ definition: {
158
+ static: {
159
+ description: ::String?,
160
+ statement: ::String
161
+ }?,
162
+ template_linked: {
163
+ policy_template_id: ::String,
164
+ principal: {
165
+ entity_type: ::String,
166
+ entity_id: ::String
167
+ }?,
168
+ resource: {
169
+ entity_type: ::String,
170
+ entity_id: ::String
171
+ }?
172
+ }?
173
+ }
174
+ ) -> _CreatePolicyResponseSuccess
175
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreatePolicyResponseSuccess
176
+
177
+ interface _CreatePolicyStoreResponseSuccess
178
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreatePolicyStoreOutput]
179
+ def policy_store_id: () -> ::String
180
+ def arn: () -> ::String
181
+ def created_date: () -> ::Time
182
+ def last_updated_date: () -> ::Time
183
+ end
184
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/VerifiedPermissions/Client.html#create_policy_store-instance_method
185
+ def create_policy_store: (
186
+ ?client_token: ::String,
187
+ validation_settings: {
188
+ mode: ("OFF" | "STRICT")
189
+ },
190
+ ?description: ::String
191
+ ) -> _CreatePolicyStoreResponseSuccess
192
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreatePolicyStoreResponseSuccess
193
+
194
+ interface _CreatePolicyTemplateResponseSuccess
195
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreatePolicyTemplateOutput]
196
+ def policy_store_id: () -> ::String
197
+ def policy_template_id: () -> ::String
198
+ def created_date: () -> ::Time
199
+ def last_updated_date: () -> ::Time
200
+ end
201
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/VerifiedPermissions/Client.html#create_policy_template-instance_method
202
+ def create_policy_template: (
203
+ ?client_token: ::String,
204
+ policy_store_id: ::String,
205
+ ?description: ::String,
206
+ statement: ::String
207
+ ) -> _CreatePolicyTemplateResponseSuccess
208
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreatePolicyTemplateResponseSuccess
209
+
210
+ interface _DeleteIdentitySourceResponseSuccess
211
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteIdentitySourceOutput]
212
+ end
213
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/VerifiedPermissions/Client.html#delete_identity_source-instance_method
214
+ def delete_identity_source: (
215
+ policy_store_id: ::String,
216
+ identity_source_id: ::String
217
+ ) -> _DeleteIdentitySourceResponseSuccess
218
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteIdentitySourceResponseSuccess
219
+
220
+ interface _DeletePolicyResponseSuccess
221
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeletePolicyOutput]
222
+ end
223
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/VerifiedPermissions/Client.html#delete_policy-instance_method
224
+ def delete_policy: (
225
+ policy_store_id: ::String,
226
+ policy_id: ::String
227
+ ) -> _DeletePolicyResponseSuccess
228
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeletePolicyResponseSuccess
229
+
230
+ interface _DeletePolicyStoreResponseSuccess
231
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeletePolicyStoreOutput]
232
+ end
233
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/VerifiedPermissions/Client.html#delete_policy_store-instance_method
234
+ def delete_policy_store: (
235
+ policy_store_id: ::String
236
+ ) -> _DeletePolicyStoreResponseSuccess
237
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeletePolicyStoreResponseSuccess
238
+
239
+ interface _DeletePolicyTemplateResponseSuccess
240
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeletePolicyTemplateOutput]
241
+ end
242
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/VerifiedPermissions/Client.html#delete_policy_template-instance_method
243
+ def delete_policy_template: (
244
+ policy_store_id: ::String,
245
+ policy_template_id: ::String
246
+ ) -> _DeletePolicyTemplateResponseSuccess
247
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeletePolicyTemplateResponseSuccess
248
+
249
+ interface _GetIdentitySourceResponseSuccess
250
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetIdentitySourceOutput]
251
+ def created_date: () -> ::Time
252
+ def details: () -> Types::IdentitySourceDetails
253
+ def identity_source_id: () -> ::String
254
+ def last_updated_date: () -> ::Time
255
+ def policy_store_id: () -> ::String
256
+ def principal_entity_type: () -> ::String
257
+ def configuration: () -> Types::ConfigurationDetail
258
+ end
259
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/VerifiedPermissions/Client.html#get_identity_source-instance_method
260
+ def get_identity_source: (
261
+ policy_store_id: ::String,
262
+ identity_source_id: ::String
263
+ ) -> _GetIdentitySourceResponseSuccess
264
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetIdentitySourceResponseSuccess
265
+
266
+ interface _GetPolicyResponseSuccess
267
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetPolicyOutput]
268
+ def policy_store_id: () -> ::String
269
+ def policy_id: () -> ::String
270
+ def policy_type: () -> ("STATIC" | "TEMPLATE_LINKED")
271
+ def principal: () -> Types::EntityIdentifier
272
+ def resource: () -> Types::EntityIdentifier
273
+ def definition: () -> Types::PolicyDefinitionDetail
274
+ def created_date: () -> ::Time
275
+ def last_updated_date: () -> ::Time
276
+ end
277
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/VerifiedPermissions/Client.html#get_policy-instance_method
278
+ def get_policy: (
279
+ policy_store_id: ::String,
280
+ policy_id: ::String
281
+ ) -> _GetPolicyResponseSuccess
282
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetPolicyResponseSuccess
283
+
284
+ interface _GetPolicyStoreResponseSuccess
285
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetPolicyStoreOutput]
286
+ def policy_store_id: () -> ::String
287
+ def arn: () -> ::String
288
+ def validation_settings: () -> Types::ValidationSettings
289
+ def created_date: () -> ::Time
290
+ def last_updated_date: () -> ::Time
291
+ def description: () -> ::String
292
+ end
293
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/VerifiedPermissions/Client.html#get_policy_store-instance_method
294
+ def get_policy_store: (
295
+ policy_store_id: ::String
296
+ ) -> _GetPolicyStoreResponseSuccess
297
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetPolicyStoreResponseSuccess
298
+
299
+ interface _GetPolicyTemplateResponseSuccess
300
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetPolicyTemplateOutput]
301
+ def policy_store_id: () -> ::String
302
+ def policy_template_id: () -> ::String
303
+ def description: () -> ::String
304
+ def statement: () -> ::String
305
+ def created_date: () -> ::Time
306
+ def last_updated_date: () -> ::Time
307
+ end
308
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/VerifiedPermissions/Client.html#get_policy_template-instance_method
309
+ def get_policy_template: (
310
+ policy_store_id: ::String,
311
+ policy_template_id: ::String
312
+ ) -> _GetPolicyTemplateResponseSuccess
313
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetPolicyTemplateResponseSuccess
314
+
315
+ interface _GetSchemaResponseSuccess
316
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetSchemaOutput]
317
+ def policy_store_id: () -> ::String
318
+ def schema: () -> ::String
319
+ def created_date: () -> ::Time
320
+ def last_updated_date: () -> ::Time
321
+ def namespaces: () -> ::Array[::String]
322
+ end
323
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/VerifiedPermissions/Client.html#get_schema-instance_method
324
+ def get_schema: (
325
+ policy_store_id: ::String
326
+ ) -> _GetSchemaResponseSuccess
327
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetSchemaResponseSuccess
328
+
329
+ interface _IsAuthorizedResponseSuccess
330
+ include ::Seahorse::Client::_ResponseSuccess[Types::IsAuthorizedOutput]
331
+ def decision: () -> ("ALLOW" | "DENY")
332
+ def determining_policies: () -> ::Array[Types::DeterminingPolicyItem]
333
+ def errors: () -> ::Array[Types::EvaluationErrorItem]
334
+ end
335
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/VerifiedPermissions/Client.html#is_authorized-instance_method
336
+ def is_authorized: (
337
+ policy_store_id: ::String,
338
+ ?principal: {
339
+ entity_type: ::String,
340
+ entity_id: ::String
341
+ },
342
+ ?action: {
343
+ action_type: ::String,
344
+ action_id: ::String
345
+ },
346
+ ?resource: {
347
+ entity_type: ::String,
348
+ entity_id: ::String
349
+ },
350
+ ?context: {
351
+ context_map: Hash[::String, untyped]?
352
+ },
353
+ ?entities: {
354
+ entity_list: Array[
355
+ {
356
+ identifier: {
357
+ entity_type: ::String,
358
+ entity_id: ::String
359
+ },
360
+ attributes: Hash[::String, untyped]?,
361
+ parents: Array[
362
+ {
363
+ entity_type: ::String,
364
+ entity_id: ::String
365
+ },
366
+ ]?
367
+ },
368
+ ]?
369
+ }
370
+ ) -> _IsAuthorizedResponseSuccess
371
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _IsAuthorizedResponseSuccess
372
+
373
+ interface _IsAuthorizedWithTokenResponseSuccess
374
+ include ::Seahorse::Client::_ResponseSuccess[Types::IsAuthorizedWithTokenOutput]
375
+ def decision: () -> ("ALLOW" | "DENY")
376
+ def determining_policies: () -> ::Array[Types::DeterminingPolicyItem]
377
+ def errors: () -> ::Array[Types::EvaluationErrorItem]
378
+ end
379
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/VerifiedPermissions/Client.html#is_authorized_with_token-instance_method
380
+ def is_authorized_with_token: (
381
+ policy_store_id: ::String,
382
+ ?identity_token: ::String,
383
+ ?access_token: ::String,
384
+ ?action: {
385
+ action_type: ::String,
386
+ action_id: ::String
387
+ },
388
+ ?resource: {
389
+ entity_type: ::String,
390
+ entity_id: ::String
391
+ },
392
+ ?context: {
393
+ context_map: Hash[::String, untyped]?
394
+ },
395
+ ?entities: {
396
+ entity_list: Array[
397
+ {
398
+ identifier: {
399
+ entity_type: ::String,
400
+ entity_id: ::String
401
+ },
402
+ attributes: Hash[::String, untyped]?,
403
+ parents: Array[
404
+ {
405
+ entity_type: ::String,
406
+ entity_id: ::String
407
+ },
408
+ ]?
409
+ },
410
+ ]?
411
+ }
412
+ ) -> _IsAuthorizedWithTokenResponseSuccess
413
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _IsAuthorizedWithTokenResponseSuccess
414
+
415
+ interface _ListIdentitySourcesResponseSuccess
416
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListIdentitySourcesOutput]
417
+ def next_token: () -> ::String
418
+ def identity_sources: () -> ::Array[Types::IdentitySourceItem]
419
+ end
420
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/VerifiedPermissions/Client.html#list_identity_sources-instance_method
421
+ def list_identity_sources: (
422
+ policy_store_id: ::String,
423
+ ?next_token: ::String,
424
+ ?max_results: ::Integer,
425
+ ?filters: Array[
426
+ {
427
+ principal_entity_type: ::String?
428
+ },
429
+ ]
430
+ ) -> _ListIdentitySourcesResponseSuccess
431
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListIdentitySourcesResponseSuccess
432
+
433
+ interface _ListPoliciesResponseSuccess
434
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListPoliciesOutput]
435
+ def next_token: () -> ::String
436
+ def policies: () -> ::Array[Types::PolicyItem]
437
+ end
438
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/VerifiedPermissions/Client.html#list_policies-instance_method
439
+ def list_policies: (
440
+ policy_store_id: ::String,
441
+ ?next_token: ::String,
442
+ ?max_results: ::Integer,
443
+ ?filter: {
444
+ principal: {
445
+ unspecified: bool?,
446
+ identifier: {
447
+ entity_type: ::String,
448
+ entity_id: ::String
449
+ }?
450
+ }?,
451
+ resource: {
452
+ unspecified: bool?,
453
+ identifier: {
454
+ entity_type: ::String,
455
+ entity_id: ::String
456
+ }?
457
+ }?,
458
+ policy_type: ("STATIC" | "TEMPLATE_LINKED")?,
459
+ policy_template_id: ::String?
460
+ }
461
+ ) -> _ListPoliciesResponseSuccess
462
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListPoliciesResponseSuccess
463
+
464
+ interface _ListPolicyStoresResponseSuccess
465
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListPolicyStoresOutput]
466
+ def next_token: () -> ::String
467
+ def policy_stores: () -> ::Array[Types::PolicyStoreItem]
468
+ end
469
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/VerifiedPermissions/Client.html#list_policy_stores-instance_method
470
+ def list_policy_stores: (
471
+ ?next_token: ::String,
472
+ ?max_results: ::Integer
473
+ ) -> _ListPolicyStoresResponseSuccess
474
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListPolicyStoresResponseSuccess
475
+
476
+ interface _ListPolicyTemplatesResponseSuccess
477
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListPolicyTemplatesOutput]
478
+ def next_token: () -> ::String
479
+ def policy_templates: () -> ::Array[Types::PolicyTemplateItem]
480
+ end
481
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/VerifiedPermissions/Client.html#list_policy_templates-instance_method
482
+ def list_policy_templates: (
483
+ policy_store_id: ::String,
484
+ ?next_token: ::String,
485
+ ?max_results: ::Integer
486
+ ) -> _ListPolicyTemplatesResponseSuccess
487
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListPolicyTemplatesResponseSuccess
488
+
489
+ interface _PutSchemaResponseSuccess
490
+ include ::Seahorse::Client::_ResponseSuccess[Types::PutSchemaOutput]
491
+ def policy_store_id: () -> ::String
492
+ def namespaces: () -> ::Array[::String]
493
+ def created_date: () -> ::Time
494
+ def last_updated_date: () -> ::Time
495
+ end
496
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/VerifiedPermissions/Client.html#put_schema-instance_method
497
+ def put_schema: (
498
+ policy_store_id: ::String,
499
+ definition: {
500
+ cedar_json: ::String?
501
+ }
502
+ ) -> _PutSchemaResponseSuccess
503
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutSchemaResponseSuccess
504
+
505
+ interface _UpdateIdentitySourceResponseSuccess
506
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateIdentitySourceOutput]
507
+ def created_date: () -> ::Time
508
+ def identity_source_id: () -> ::String
509
+ def last_updated_date: () -> ::Time
510
+ def policy_store_id: () -> ::String
511
+ end
512
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/VerifiedPermissions/Client.html#update_identity_source-instance_method
513
+ def update_identity_source: (
514
+ policy_store_id: ::String,
515
+ identity_source_id: ::String,
516
+ update_configuration: {
517
+ cognito_user_pool_configuration: {
518
+ user_pool_arn: ::String,
519
+ client_ids: Array[::String]?
520
+ }?
521
+ },
522
+ ?principal_entity_type: ::String
523
+ ) -> _UpdateIdentitySourceResponseSuccess
524
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateIdentitySourceResponseSuccess
525
+
526
+ interface _UpdatePolicyResponseSuccess
527
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdatePolicyOutput]
528
+ def policy_store_id: () -> ::String
529
+ def policy_id: () -> ::String
530
+ def policy_type: () -> ("STATIC" | "TEMPLATE_LINKED")
531
+ def principal: () -> Types::EntityIdentifier
532
+ def resource: () -> Types::EntityIdentifier
533
+ def created_date: () -> ::Time
534
+ def last_updated_date: () -> ::Time
535
+ end
536
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/VerifiedPermissions/Client.html#update_policy-instance_method
537
+ def update_policy: (
538
+ policy_store_id: ::String,
539
+ policy_id: ::String,
540
+ definition: {
541
+ static: {
542
+ description: ::String?,
543
+ statement: ::String
544
+ }?
545
+ }
546
+ ) -> _UpdatePolicyResponseSuccess
547
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdatePolicyResponseSuccess
548
+
549
+ interface _UpdatePolicyStoreResponseSuccess
550
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdatePolicyStoreOutput]
551
+ def policy_store_id: () -> ::String
552
+ def arn: () -> ::String
553
+ def created_date: () -> ::Time
554
+ def last_updated_date: () -> ::Time
555
+ end
556
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/VerifiedPermissions/Client.html#update_policy_store-instance_method
557
+ def update_policy_store: (
558
+ policy_store_id: ::String,
559
+ validation_settings: {
560
+ mode: ("OFF" | "STRICT")
561
+ },
562
+ ?description: ::String
563
+ ) -> _UpdatePolicyStoreResponseSuccess
564
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdatePolicyStoreResponseSuccess
565
+
566
+ interface _UpdatePolicyTemplateResponseSuccess
567
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdatePolicyTemplateOutput]
568
+ def policy_store_id: () -> ::String
569
+ def policy_template_id: () -> ::String
570
+ def created_date: () -> ::Time
571
+ def last_updated_date: () -> ::Time
572
+ end
573
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/VerifiedPermissions/Client.html#update_policy_template-instance_method
574
+ def update_policy_template: (
575
+ policy_store_id: ::String,
576
+ policy_template_id: ::String,
577
+ ?description: ::String,
578
+ statement: ::String
579
+ ) -> _UpdatePolicyTemplateResponseSuccess
580
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdatePolicyTemplateResponseSuccess
581
+ end
582
+ end
583
+ end
584
+
data/sig/errors.rbs ADDED
@@ -0,0 +1,47 @@
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 VerifiedPermissions
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 resources: () -> ::String
20
+ end
21
+ class InternalServerException < ::Aws::Errors::ServiceError
22
+ def message: () -> ::String
23
+ end
24
+ class ResourceNotFoundException < ::Aws::Errors::ServiceError
25
+ def message: () -> ::String
26
+ def resource_id: () -> ::String
27
+ def resource_type: () -> ::String
28
+ end
29
+ class ServiceQuotaExceededException < ::Aws::Errors::ServiceError
30
+ def message: () -> ::String
31
+ def resource_id: () -> ::String
32
+ def resource_type: () -> ::String
33
+ def service_code: () -> ::String
34
+ def quota_code: () -> ::String
35
+ end
36
+ class ThrottlingException < ::Aws::Errors::ServiceError
37
+ def message: () -> ::String
38
+ def service_code: () -> ::String
39
+ def quota_code: () -> ::String
40
+ end
41
+ class ValidationException < ::Aws::Errors::ServiceError
42
+ def message: () -> ::String
43
+ def field_list: () -> ::String
44
+ end
45
+ end
46
+ end
47
+ end