aws-sdk-verifiedpermissions 1.15.0 → 1.16.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8bf5f6bcb7b38ea53aba2c59eeec02e168acdb5e7a58cb08cc986cbde3c58096
4
- data.tar.gz: a66be39c118d451c02deecc4c78421843b04155aac16979567053af645cdf568
3
+ metadata.gz: 5feea7f2095a4b93f870439a3270581748a46a0863cfec80f0db7aecc3eb47d2
4
+ data.tar.gz: 810f54093fce433be30c1359b60119b8dfd3d5e0e9b9eef6bc3a986b30509def
5
5
  SHA512:
6
- metadata.gz: a9b8cc83ec32d37dd1da81a213c921822a119382d4ac5baeed788fd72446e47ce914ecaabeee037525e95d1e9f3a4ee91b40ecbef290276278948ec2c0840fda
7
- data.tar.gz: 33c863caa58075f54f9f80dd2f87e29c08d25333cdb322d754dc61b244e9803b9eee9f9d71d5b1efc7ce34ff004723ec7be490d9d8eccccc55c48d99174e165c
6
+ metadata.gz: 1c92fccbb1514bfbf1bc1e7fb7a81a7a0299012e63ca7a2e02e0a43babca05bd33e5ae78f89eff559a22a867e721137cadf80f4608afb79893fcdf959c0f2910
7
+ data.tar.gz: 6e650705242930feb999ff6fd76079201bfaa25360447b1a2c08916bed5198b593a7628662e427cee696dda221c479ece4be59730176d147a23d4aa9ef90c5cb
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.16.0 (2024-01-26)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
4
9
  1.15.0 (2023-12-01)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.15.0
1
+ 1.16.0
@@ -2214,7 +2214,7 @@ module Aws::VerifiedPermissions
2214
2214
  params: params,
2215
2215
  config: config)
2216
2216
  context[:gem_name] = 'aws-sdk-verifiedpermissions'
2217
- context[:gem_version] = '1.15.0'
2217
+ context[:gem_version] = '1.16.0'
2218
2218
  Seahorse::Client::Request.new(handlers, context)
2219
2219
  end
2220
2220
 
@@ -14,6 +14,7 @@ module Aws::VerifiedPermissions
14
14
  option(
15
15
  :endpoint_provider,
16
16
  doc_type: 'Aws::VerifiedPermissions::EndpointProvider',
17
+ rbs_type: 'untyped',
17
18
  docstring: 'The endpoint provider used to resolve endpoints. Any '\
18
19
  'object that responds to `#resolve_endpoint(parameters)` '\
19
20
  'where `parameters` is a Struct similar to '\
@@ -53,6 +53,6 @@ require_relative 'aws-sdk-verifiedpermissions/customizations'
53
53
  # @!group service
54
54
  module Aws::VerifiedPermissions
55
55
 
56
- GEM_VERSION = '1.15.0'
56
+ GEM_VERSION = '1.16.0'
57
57
 
58
58
  end
data/sig/client.rbs ADDED
@@ -0,0 +1,583 @@
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
+ end
258
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/VerifiedPermissions/Client.html#get_identity_source-instance_method
259
+ def get_identity_source: (
260
+ policy_store_id: ::String,
261
+ identity_source_id: ::String
262
+ ) -> _GetIdentitySourceResponseSuccess
263
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetIdentitySourceResponseSuccess
264
+
265
+ interface _GetPolicyResponseSuccess
266
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetPolicyOutput]
267
+ def policy_store_id: () -> ::String
268
+ def policy_id: () -> ::String
269
+ def policy_type: () -> ("STATIC" | "TEMPLATE_LINKED")
270
+ def principal: () -> Types::EntityIdentifier
271
+ def resource: () -> Types::EntityIdentifier
272
+ def definition: () -> Types::PolicyDefinitionDetail
273
+ def created_date: () -> ::Time
274
+ def last_updated_date: () -> ::Time
275
+ end
276
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/VerifiedPermissions/Client.html#get_policy-instance_method
277
+ def get_policy: (
278
+ policy_store_id: ::String,
279
+ policy_id: ::String
280
+ ) -> _GetPolicyResponseSuccess
281
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetPolicyResponseSuccess
282
+
283
+ interface _GetPolicyStoreResponseSuccess
284
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetPolicyStoreOutput]
285
+ def policy_store_id: () -> ::String
286
+ def arn: () -> ::String
287
+ def validation_settings: () -> Types::ValidationSettings
288
+ def created_date: () -> ::Time
289
+ def last_updated_date: () -> ::Time
290
+ def description: () -> ::String
291
+ end
292
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/VerifiedPermissions/Client.html#get_policy_store-instance_method
293
+ def get_policy_store: (
294
+ policy_store_id: ::String
295
+ ) -> _GetPolicyStoreResponseSuccess
296
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetPolicyStoreResponseSuccess
297
+
298
+ interface _GetPolicyTemplateResponseSuccess
299
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetPolicyTemplateOutput]
300
+ def policy_store_id: () -> ::String
301
+ def policy_template_id: () -> ::String
302
+ def description: () -> ::String
303
+ def statement: () -> ::String
304
+ def created_date: () -> ::Time
305
+ def last_updated_date: () -> ::Time
306
+ end
307
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/VerifiedPermissions/Client.html#get_policy_template-instance_method
308
+ def get_policy_template: (
309
+ policy_store_id: ::String,
310
+ policy_template_id: ::String
311
+ ) -> _GetPolicyTemplateResponseSuccess
312
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetPolicyTemplateResponseSuccess
313
+
314
+ interface _GetSchemaResponseSuccess
315
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetSchemaOutput]
316
+ def policy_store_id: () -> ::String
317
+ def schema: () -> ::String
318
+ def created_date: () -> ::Time
319
+ def last_updated_date: () -> ::Time
320
+ def namespaces: () -> ::Array[::String]
321
+ end
322
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/VerifiedPermissions/Client.html#get_schema-instance_method
323
+ def get_schema: (
324
+ policy_store_id: ::String
325
+ ) -> _GetSchemaResponseSuccess
326
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetSchemaResponseSuccess
327
+
328
+ interface _IsAuthorizedResponseSuccess
329
+ include ::Seahorse::Client::_ResponseSuccess[Types::IsAuthorizedOutput]
330
+ def decision: () -> ("ALLOW" | "DENY")
331
+ def determining_policies: () -> ::Array[Types::DeterminingPolicyItem]
332
+ def errors: () -> ::Array[Types::EvaluationErrorItem]
333
+ end
334
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/VerifiedPermissions/Client.html#is_authorized-instance_method
335
+ def is_authorized: (
336
+ policy_store_id: ::String,
337
+ ?principal: {
338
+ entity_type: ::String,
339
+ entity_id: ::String
340
+ },
341
+ ?action: {
342
+ action_type: ::String,
343
+ action_id: ::String
344
+ },
345
+ ?resource: {
346
+ entity_type: ::String,
347
+ entity_id: ::String
348
+ },
349
+ ?context: {
350
+ context_map: Hash[::String, untyped]?
351
+ },
352
+ ?entities: {
353
+ entity_list: Array[
354
+ {
355
+ identifier: {
356
+ entity_type: ::String,
357
+ entity_id: ::String
358
+ },
359
+ attributes: Hash[::String, untyped]?,
360
+ parents: Array[
361
+ {
362
+ entity_type: ::String,
363
+ entity_id: ::String
364
+ },
365
+ ]?
366
+ },
367
+ ]?
368
+ }
369
+ ) -> _IsAuthorizedResponseSuccess
370
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _IsAuthorizedResponseSuccess
371
+
372
+ interface _IsAuthorizedWithTokenResponseSuccess
373
+ include ::Seahorse::Client::_ResponseSuccess[Types::IsAuthorizedWithTokenOutput]
374
+ def decision: () -> ("ALLOW" | "DENY")
375
+ def determining_policies: () -> ::Array[Types::DeterminingPolicyItem]
376
+ def errors: () -> ::Array[Types::EvaluationErrorItem]
377
+ end
378
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/VerifiedPermissions/Client.html#is_authorized_with_token-instance_method
379
+ def is_authorized_with_token: (
380
+ policy_store_id: ::String,
381
+ ?identity_token: ::String,
382
+ ?access_token: ::String,
383
+ ?action: {
384
+ action_type: ::String,
385
+ action_id: ::String
386
+ },
387
+ ?resource: {
388
+ entity_type: ::String,
389
+ entity_id: ::String
390
+ },
391
+ ?context: {
392
+ context_map: Hash[::String, untyped]?
393
+ },
394
+ ?entities: {
395
+ entity_list: Array[
396
+ {
397
+ identifier: {
398
+ entity_type: ::String,
399
+ entity_id: ::String
400
+ },
401
+ attributes: Hash[::String, untyped]?,
402
+ parents: Array[
403
+ {
404
+ entity_type: ::String,
405
+ entity_id: ::String
406
+ },
407
+ ]?
408
+ },
409
+ ]?
410
+ }
411
+ ) -> _IsAuthorizedWithTokenResponseSuccess
412
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _IsAuthorizedWithTokenResponseSuccess
413
+
414
+ interface _ListIdentitySourcesResponseSuccess
415
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListIdentitySourcesOutput]
416
+ def next_token: () -> ::String
417
+ def identity_sources: () -> ::Array[Types::IdentitySourceItem]
418
+ end
419
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/VerifiedPermissions/Client.html#list_identity_sources-instance_method
420
+ def list_identity_sources: (
421
+ policy_store_id: ::String,
422
+ ?next_token: ::String,
423
+ ?max_results: ::Integer,
424
+ ?filters: Array[
425
+ {
426
+ principal_entity_type: ::String?
427
+ },
428
+ ]
429
+ ) -> _ListIdentitySourcesResponseSuccess
430
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListIdentitySourcesResponseSuccess
431
+
432
+ interface _ListPoliciesResponseSuccess
433
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListPoliciesOutput]
434
+ def next_token: () -> ::String
435
+ def policies: () -> ::Array[Types::PolicyItem]
436
+ end
437
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/VerifiedPermissions/Client.html#list_policies-instance_method
438
+ def list_policies: (
439
+ policy_store_id: ::String,
440
+ ?next_token: ::String,
441
+ ?max_results: ::Integer,
442
+ ?filter: {
443
+ principal: {
444
+ unspecified: bool?,
445
+ identifier: {
446
+ entity_type: ::String,
447
+ entity_id: ::String
448
+ }?
449
+ }?,
450
+ resource: {
451
+ unspecified: bool?,
452
+ identifier: {
453
+ entity_type: ::String,
454
+ entity_id: ::String
455
+ }?
456
+ }?,
457
+ policy_type: ("STATIC" | "TEMPLATE_LINKED")?,
458
+ policy_template_id: ::String?
459
+ }
460
+ ) -> _ListPoliciesResponseSuccess
461
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListPoliciesResponseSuccess
462
+
463
+ interface _ListPolicyStoresResponseSuccess
464
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListPolicyStoresOutput]
465
+ def next_token: () -> ::String
466
+ def policy_stores: () -> ::Array[Types::PolicyStoreItem]
467
+ end
468
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/VerifiedPermissions/Client.html#list_policy_stores-instance_method
469
+ def list_policy_stores: (
470
+ ?next_token: ::String,
471
+ ?max_results: ::Integer
472
+ ) -> _ListPolicyStoresResponseSuccess
473
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListPolicyStoresResponseSuccess
474
+
475
+ interface _ListPolicyTemplatesResponseSuccess
476
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListPolicyTemplatesOutput]
477
+ def next_token: () -> ::String
478
+ def policy_templates: () -> ::Array[Types::PolicyTemplateItem]
479
+ end
480
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/VerifiedPermissions/Client.html#list_policy_templates-instance_method
481
+ def list_policy_templates: (
482
+ policy_store_id: ::String,
483
+ ?next_token: ::String,
484
+ ?max_results: ::Integer
485
+ ) -> _ListPolicyTemplatesResponseSuccess
486
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListPolicyTemplatesResponseSuccess
487
+
488
+ interface _PutSchemaResponseSuccess
489
+ include ::Seahorse::Client::_ResponseSuccess[Types::PutSchemaOutput]
490
+ def policy_store_id: () -> ::String
491
+ def namespaces: () -> ::Array[::String]
492
+ def created_date: () -> ::Time
493
+ def last_updated_date: () -> ::Time
494
+ end
495
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/VerifiedPermissions/Client.html#put_schema-instance_method
496
+ def put_schema: (
497
+ policy_store_id: ::String,
498
+ definition: {
499
+ cedar_json: ::String?
500
+ }
501
+ ) -> _PutSchemaResponseSuccess
502
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutSchemaResponseSuccess
503
+
504
+ interface _UpdateIdentitySourceResponseSuccess
505
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateIdentitySourceOutput]
506
+ def created_date: () -> ::Time
507
+ def identity_source_id: () -> ::String
508
+ def last_updated_date: () -> ::Time
509
+ def policy_store_id: () -> ::String
510
+ end
511
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/VerifiedPermissions/Client.html#update_identity_source-instance_method
512
+ def update_identity_source: (
513
+ policy_store_id: ::String,
514
+ identity_source_id: ::String,
515
+ update_configuration: {
516
+ cognito_user_pool_configuration: {
517
+ user_pool_arn: ::String,
518
+ client_ids: Array[::String]?
519
+ }?
520
+ },
521
+ ?principal_entity_type: ::String
522
+ ) -> _UpdateIdentitySourceResponseSuccess
523
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateIdentitySourceResponseSuccess
524
+
525
+ interface _UpdatePolicyResponseSuccess
526
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdatePolicyOutput]
527
+ def policy_store_id: () -> ::String
528
+ def policy_id: () -> ::String
529
+ def policy_type: () -> ("STATIC" | "TEMPLATE_LINKED")
530
+ def principal: () -> Types::EntityIdentifier
531
+ def resource: () -> Types::EntityIdentifier
532
+ def created_date: () -> ::Time
533
+ def last_updated_date: () -> ::Time
534
+ end
535
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/VerifiedPermissions/Client.html#update_policy-instance_method
536
+ def update_policy: (
537
+ policy_store_id: ::String,
538
+ policy_id: ::String,
539
+ definition: {
540
+ static: {
541
+ description: ::String?,
542
+ statement: ::String
543
+ }?
544
+ }
545
+ ) -> _UpdatePolicyResponseSuccess
546
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdatePolicyResponseSuccess
547
+
548
+ interface _UpdatePolicyStoreResponseSuccess
549
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdatePolicyStoreOutput]
550
+ def policy_store_id: () -> ::String
551
+ def arn: () -> ::String
552
+ def created_date: () -> ::Time
553
+ def last_updated_date: () -> ::Time
554
+ end
555
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/VerifiedPermissions/Client.html#update_policy_store-instance_method
556
+ def update_policy_store: (
557
+ policy_store_id: ::String,
558
+ validation_settings: {
559
+ mode: ("OFF" | "STRICT")
560
+ },
561
+ ?description: ::String
562
+ ) -> _UpdatePolicyStoreResponseSuccess
563
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdatePolicyStoreResponseSuccess
564
+
565
+ interface _UpdatePolicyTemplateResponseSuccess
566
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdatePolicyTemplateOutput]
567
+ def policy_store_id: () -> ::String
568
+ def policy_template_id: () -> ::String
569
+ def created_date: () -> ::Time
570
+ def last_updated_date: () -> ::Time
571
+ end
572
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/VerifiedPermissions/Client.html#update_policy_template-instance_method
573
+ def update_policy_template: (
574
+ policy_store_id: ::String,
575
+ policy_template_id: ::String,
576
+ ?description: ::String,
577
+ statement: ::String
578
+ ) -> _UpdatePolicyTemplateResponseSuccess
579
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdatePolicyTemplateResponseSuccess
580
+ end
581
+ end
582
+ end
583
+