aws-sdk-bedrockagentcorecontrol 1.46.0 → 1.47.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/params.rbs ADDED
@@ -0,0 +1,844 @@
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 BedrockAgentCoreControl
10
+ module Params
11
+ type code_configuration = {
12
+ code: {
13
+ s3: {
14
+ bucket: ::String,
15
+ prefix: ::String,
16
+ version_id: ::String?
17
+ }?
18
+ },
19
+ runtime: ("PYTHON_3_10" | "PYTHON_3_11" | "PYTHON_3_12" | "PYTHON_3_13" | "PYTHON_3_14" | "NODE_22"),
20
+ entry_point: Array[::String]
21
+ }
22
+
23
+ type agent_runtime_artifact = {
24
+ container_configuration: {
25
+ container_uri: ::String
26
+ }?,
27
+ code_configuration: Params::code_configuration?
28
+ }
29
+
30
+ type network_configuration = {
31
+ network_mode: ("PUBLIC" | "VPC"),
32
+ network_mode_config: {
33
+ security_groups: Array[::String],
34
+ subnets: Array[::String],
35
+ require_service_s3_endpoint: bool?
36
+ }?
37
+ }
38
+
39
+ type managed_vpc_resource = {
40
+ vpc_identifier: ::String,
41
+ subnet_ids: Array[::String],
42
+ endpoint_ip_address_type: ("IPV4" | "IPV6"),
43
+ security_group_ids: Array[::String]?,
44
+ tags: Hash[::String, ::String]?,
45
+ routing_domain: ::String?
46
+ }
47
+
48
+ type private_endpoint = {
49
+ self_managed_lattice_resource: {
50
+ resource_configuration_identifier: ::String?
51
+ }?,
52
+ managed_vpc_resource: Params::managed_vpc_resource?
53
+ }
54
+
55
+ type custom_jwt_authorizer_configuration = {
56
+ discovery_url: ::String,
57
+ allowed_audience: Array[::String]?,
58
+ allowed_clients: Array[::String]?,
59
+ allowed_scopes: Array[::String]?,
60
+ custom_claims: Array[
61
+ Params::custom_claim_validation_type
62
+ ]?,
63
+ private_endpoint: Params::private_endpoint?,
64
+ private_endpoint_overrides: Array[
65
+ Params::private_endpoint_override
66
+ ]?
67
+ }
68
+
69
+ type authorizer_configuration = {
70
+ custom_jwt_authorizer: Params::custom_jwt_authorizer_configuration?
71
+ }
72
+
73
+ type custom_claim_validation_type = {
74
+ inbound_token_claim_name: ::String,
75
+ inbound_token_claim_value_type: ("STRING" | "STRING_ARRAY"),
76
+ authorizing_claim_match_value: {
77
+ claim_match_value: {
78
+ match_value_string: ::String?,
79
+ match_value_string_list: Array[::String]?
80
+ },
81
+ claim_match_operator: ("EQUALS" | "CONTAINS" | "CONTAINS_ANY")
82
+ }
83
+ }
84
+
85
+ type private_endpoint_override = {
86
+ domain: ::String,
87
+ private_endpoint: Params::private_endpoint
88
+ }
89
+
90
+ type filesystem_configuration = {
91
+ session_storage: {
92
+ mount_path: ::String
93
+ }?,
94
+ s3_files_access_point: {
95
+ access_point_arn: ::String,
96
+ mount_path: ::String
97
+ }?,
98
+ efs_access_point: {
99
+ access_point_arn: ::String,
100
+ mount_path: ::String
101
+ }?
102
+ }
103
+
104
+ type rating_scale = {
105
+ numerical: Array[
106
+ {
107
+ definition: ::String,
108
+ value: ::Float,
109
+ label: ::String
110
+ }
111
+ ]?,
112
+ categorical: Array[
113
+ {
114
+ definition: ::String,
115
+ label: ::String
116
+ }
117
+ ]?
118
+ }
119
+
120
+ type bedrock_evaluator_model_config = {
121
+ model_id: ::String,
122
+ inference_config: {
123
+ max_tokens: ::Integer?,
124
+ temperature: ::Float?,
125
+ top_p: ::Float?,
126
+ stop_sequences: Array[::String]?
127
+ }?,
128
+ additional_model_request_fields: {
129
+ }?
130
+ }
131
+
132
+ type evaluator_model_config = {
133
+ bedrock_evaluator_model_config: Params::bedrock_evaluator_model_config?
134
+ }
135
+
136
+ type llm_as_a_judge_evaluator_config = {
137
+ instructions: ::String,
138
+ rating_scale: Params::rating_scale,
139
+ model_config: Params::evaluator_model_config
140
+ }
141
+
142
+ type evaluator_config = {
143
+ llm_as_a_judge: Params::llm_as_a_judge_evaluator_config?,
144
+ code_based: {
145
+ lambda_config: {
146
+ lambda_arn: ::String,
147
+ lambda_timeout_in_seconds: ::Integer?
148
+ }?
149
+ }?
150
+ }
151
+
152
+ type mcp_gateway_configuration = {
153
+ supported_versions: Array[::String]?,
154
+ instructions: ::String?,
155
+ search_type: ("SEMANTIC")?,
156
+ session_configuration: {
157
+ session_timeout_in_seconds: ::Integer?
158
+ }?,
159
+ streaming_configuration: {
160
+ enable_response_streaming: bool?
161
+ }?
162
+ }
163
+
164
+ type gateway_protocol_configuration = {
165
+ mcp: Params::mcp_gateway_configuration?
166
+ }
167
+
168
+ type gateway_interceptor_configuration = {
169
+ interceptor: {
170
+ lambda: {
171
+ arn: ::String
172
+ }?
173
+ },
174
+ interception_points: Array[("REQUEST" | "RESPONSE")],
175
+ input_configuration: {
176
+ pass_request_headers: bool
177
+ }?
178
+ }
179
+
180
+ type match_principals = {
181
+ any_of: Array[
182
+ {
183
+ iam_principal: {
184
+ arn: ::String,
185
+ operator: ("StringEquals" | "StringLike")?
186
+ }?
187
+ }
188
+ ]
189
+ }
190
+
191
+ type condition = {
192
+ match_principals: Params::match_principals?,
193
+ match_paths: {
194
+ any_of: Array[::String]
195
+ }?
196
+ }
197
+
198
+ type weighted_override = {
199
+ traffic_split: Array[
200
+ Params::traffic_split_entry
201
+ ]
202
+ }
203
+
204
+ type configuration_bundle_action = {
205
+ static_override: {
206
+ bundle_arn: ::String,
207
+ bundle_version: ::String
208
+ }?,
209
+ weighted_override: Params::weighted_override?
210
+ }
211
+
212
+ type weighted_route = {
213
+ traffic_split: Array[
214
+ {
215
+ name: ::String,
216
+ weight: ::Integer,
217
+ target_name: ::String,
218
+ description: ::String?,
219
+ metadata: Hash[::String, ::String]?
220
+ }
221
+ ]
222
+ }
223
+
224
+ type route_to_target_action = {
225
+ static_route: {
226
+ target_name: ::String
227
+ }?,
228
+ weighted_route: Params::weighted_route?
229
+ }
230
+
231
+ type action = {
232
+ configuration_bundle: Params::configuration_bundle_action?,
233
+ route_to_target: Params::route_to_target_action?
234
+ }
235
+
236
+ type traffic_split_entry = {
237
+ name: ::String,
238
+ weight: ::Integer,
239
+ configuration_bundle: {
240
+ bundle_arn: ::String,
241
+ bundle_version: ::String
242
+ },
243
+ description: ::String?,
244
+ metadata: Hash[::String, ::String]?
245
+ }
246
+
247
+ type tool_schema = {
248
+ s3: {
249
+ uri: ::String?,
250
+ bucket_owner_account_id: ::String?
251
+ }?,
252
+ inline_payload: Array[
253
+ Params::tool_definition
254
+ ]?
255
+ }
256
+
257
+ type mcp_lambda_target_configuration = {
258
+ lambda_arn: ::String,
259
+ tool_schema: Params::tool_schema
260
+ }
261
+
262
+ type mcp_server_target_configuration = {
263
+ endpoint: ::String,
264
+ mcp_tool_schema: {
265
+ s3: {
266
+ uri: ::String?,
267
+ bucket_owner_account_id: ::String?
268
+ }?,
269
+ inline_payload: ::String?
270
+ }?,
271
+ listing_mode: ("DEFAULT" | "DYNAMIC")?,
272
+ resource_priority: ::Integer?
273
+ }
274
+
275
+ type api_gateway_tool_configuration = {
276
+ tool_overrides: Array[
277
+ {
278
+ name: ::String,
279
+ description: ::String?,
280
+ path: ::String,
281
+ method: ("GET" | "DELETE" | "HEAD" | "OPTIONS" | "PATCH" | "PUT" | "POST")
282
+ }
283
+ ]?,
284
+ tool_filters: Array[
285
+ {
286
+ filter_path: ::String,
287
+ methods: Array[("GET" | "DELETE" | "HEAD" | "OPTIONS" | "PATCH" | "PUT" | "POST")]
288
+ }
289
+ ]
290
+ }
291
+
292
+ type api_gateway_target_configuration = {
293
+ rest_api_id: ::String,
294
+ stage: ::String,
295
+ api_gateway_tool_configuration: Params::api_gateway_tool_configuration
296
+ }
297
+
298
+ type mcp_target_configuration = {
299
+ open_api_schema: {
300
+ s3: {
301
+ uri: ::String?,
302
+ bucket_owner_account_id: ::String?
303
+ }?,
304
+ inline_payload: ::String?
305
+ }?,
306
+ smithy_model: {
307
+ s3: {
308
+ uri: ::String?,
309
+ bucket_owner_account_id: ::String?
310
+ }?,
311
+ inline_payload: ::String?
312
+ }?,
313
+ lambda: Params::mcp_lambda_target_configuration?,
314
+ mcp_server: Params::mcp_server_target_configuration?,
315
+ api_gateway: Params::api_gateway_target_configuration?
316
+ }
317
+
318
+ type target_configuration = {
319
+ mcp: Params::mcp_target_configuration?,
320
+ http: {
321
+ agentcore_runtime: {
322
+ arn: ::String,
323
+ qualifier: ::String?
324
+ }?
325
+ }?
326
+ }
327
+
328
+ type schema_definition = {
329
+ type: ("string" | "number" | "object" | "array" | "boolean" | "integer"),
330
+ properties: Hash[::String, {
331
+ type: ("string" | "number" | "object" | "array" | "boolean" | "integer"),
332
+ properties: untyped?,
333
+ required: Array[::String]?,
334
+ items: untyped?,
335
+ description: ::String?
336
+ }]?,
337
+ required: Array[::String]?,
338
+ items: {
339
+ type: ("string" | "number" | "object" | "array" | "boolean" | "integer"),
340
+ properties: Hash[::String, untyped]?,
341
+ required: Array[::String]?,
342
+ items: untyped?,
343
+ description: ::String?
344
+ }?,
345
+ description: ::String?
346
+ }
347
+
348
+ type tool_definition = {
349
+ name: ::String,
350
+ description: ::String,
351
+ input_schema: Params::schema_definition,
352
+ output_schema: Params::schema_definition?
353
+ }
354
+
355
+ type credential_provider = {
356
+ oauth_credential_provider: {
357
+ provider_arn: ::String,
358
+ scopes: Array[::String],
359
+ custom_parameters: Hash[::String, ::String]?,
360
+ grant_type: ("CLIENT_CREDENTIALS" | "AUTHORIZATION_CODE" | "TOKEN_EXCHANGE")?,
361
+ default_return_url: ::String?
362
+ }?,
363
+ api_key_credential_provider: {
364
+ provider_arn: ::String,
365
+ credential_parameter_name: ::String?,
366
+ credential_prefix: ::String?,
367
+ credential_location: ("HEADER" | "QUERY_PARAMETER")?
368
+ }?,
369
+ iam_credential_provider: {
370
+ service: ::String,
371
+ region: ::String?
372
+ }?
373
+ }
374
+
375
+ type credential_provider_configuration = {
376
+ credential_provider_type: ("GATEWAY_IAM_ROLE" | "OAUTH" | "API_KEY" | "CALLER_IAM_CREDENTIALS" | "JWT_PASSTHROUGH"),
377
+ credential_provider: Params::credential_provider?
378
+ }
379
+
380
+ type harness_agent_core_runtime_environment_request = {
381
+ lifecycle_configuration: {
382
+ idle_runtime_session_timeout: ::Integer?,
383
+ max_lifetime: ::Integer?
384
+ }?,
385
+ network_configuration: Params::network_configuration?,
386
+ filesystem_configurations: Array[
387
+ Params::filesystem_configuration
388
+ ]?
389
+ }
390
+
391
+ type harness_environment_provider_request = {
392
+ agent_core_runtime_environment: Params::harness_agent_core_runtime_environment_request?
393
+ }
394
+
395
+ type harness_gemini_model_config = {
396
+ model_id: ::String,
397
+ api_key_arn: ::String,
398
+ max_tokens: ::Integer?,
399
+ temperature: ::Float?,
400
+ top_p: ::Float?,
401
+ top_k: ::Integer?
402
+ }
403
+
404
+ type harness_model_configuration = {
405
+ bedrock_model_config: {
406
+ model_id: ::String,
407
+ max_tokens: ::Integer?,
408
+ temperature: ::Float?,
409
+ top_p: ::Float?
410
+ }?,
411
+ open_ai_model_config: {
412
+ model_id: ::String,
413
+ api_key_arn: ::String,
414
+ max_tokens: ::Integer?,
415
+ temperature: ::Float?,
416
+ top_p: ::Float?
417
+ }?,
418
+ gemini_model_config: Params::harness_gemini_model_config?
419
+ }
420
+
421
+ type harness_gateway_outbound_auth = {
422
+ aws_iam: {
423
+ }?,
424
+ none: {
425
+ }?,
426
+ oauth: {
427
+ provider_arn: ::String,
428
+ scopes: Array[::String],
429
+ custom_parameters: Hash[::String, ::String]?,
430
+ grant_type: ("CLIENT_CREDENTIALS" | "AUTHORIZATION_CODE" | "TOKEN_EXCHANGE")?,
431
+ default_return_url: ::String?
432
+ }?
433
+ }
434
+
435
+ type harness_agent_core_gateway_config = {
436
+ gateway_arn: ::String,
437
+ outbound_auth: Params::harness_gateway_outbound_auth?
438
+ }
439
+
440
+ type harness_tool_configuration = {
441
+ remote_mcp: {
442
+ url: ::String,
443
+ headers: Hash[::String, ::String]?
444
+ }?,
445
+ agent_core_browser: {
446
+ browser_arn: ::String?
447
+ }?,
448
+ agent_core_gateway: Params::harness_agent_core_gateway_config?,
449
+ inline_function: {
450
+ description: ::String,
451
+ input_schema: {
452
+ }
453
+ }?,
454
+ agent_core_code_interpreter: {
455
+ code_interpreter_arn: ::String?
456
+ }?
457
+ }
458
+
459
+ type harness_tool = {
460
+ type: ("remote_mcp" | "agentcore_browser" | "agentcore_gateway" | "inline_function" | "agentcore_code_interpreter"),
461
+ name: ::String?,
462
+ config: Params::harness_tool_configuration?
463
+ }
464
+
465
+ type harness_agent_core_memory_configuration = {
466
+ arn: ::String,
467
+ actor_id: ::String?,
468
+ messages_count: ::Integer?,
469
+ retrieval_config: Hash[::String, {
470
+ top_k: ::Integer?,
471
+ relevance_score: ::Float?,
472
+ strategy_id: ::String?
473
+ }]?
474
+ }
475
+
476
+ type harness_memory_configuration = {
477
+ agent_core_memory_configuration: Params::harness_agent_core_memory_configuration?
478
+ }
479
+
480
+ type harness_truncation_strategy_configuration = {
481
+ sliding_window: {
482
+ messages_count: ::Integer?
483
+ }?,
484
+ summarization: {
485
+ summary_ratio: ::Float?,
486
+ preserve_recent_messages: ::Integer?,
487
+ summarization_system_prompt: ::String?
488
+ }?
489
+ }
490
+
491
+ type harness_truncation_configuration = {
492
+ strategy: ("sliding_window" | "summarization" | "none"),
493
+ config: Params::harness_truncation_strategy_configuration?
494
+ }
495
+
496
+ type memory_record_schema = {
497
+ metadata_schema: Array[
498
+ Params::metadata_schema_entry
499
+ ]?
500
+ }
501
+
502
+ type semantic_memory_strategy_input = {
503
+ name: ::String,
504
+ description: ::String?,
505
+ namespaces: Array[::String]?,
506
+ namespace_templates: Array[::String]?,
507
+ memory_record_schema: Params::memory_record_schema?
508
+ }
509
+
510
+ type summary_memory_strategy_input = {
511
+ name: ::String,
512
+ description: ::String?,
513
+ namespaces: Array[::String]?,
514
+ namespace_templates: Array[::String]?,
515
+ memory_record_schema: Params::memory_record_schema?
516
+ }
517
+
518
+ type user_preference_memory_strategy_input = {
519
+ name: ::String,
520
+ description: ::String?,
521
+ namespaces: Array[::String]?,
522
+ namespace_templates: Array[::String]?,
523
+ memory_record_schema: Params::memory_record_schema?
524
+ }
525
+
526
+ type semantic_override_configuration_input = {
527
+ extraction: {
528
+ append_to_prompt: ::String,
529
+ model_id: ::String
530
+ }?,
531
+ consolidation: {
532
+ append_to_prompt: ::String,
533
+ model_id: ::String
534
+ }?
535
+ }
536
+
537
+ type user_preference_override_configuration_input = {
538
+ extraction: {
539
+ append_to_prompt: ::String,
540
+ model_id: ::String
541
+ }?,
542
+ consolidation: {
543
+ append_to_prompt: ::String,
544
+ model_id: ::String
545
+ }?
546
+ }
547
+
548
+ type episodic_override_reflection_configuration_input = {
549
+ append_to_prompt: ::String,
550
+ model_id: ::String,
551
+ namespaces: Array[::String]?,
552
+ namespace_templates: Array[::String]?,
553
+ memory_record_schema: Params::memory_record_schema?
554
+ }
555
+
556
+ type episodic_override_configuration_input = {
557
+ extraction: {
558
+ append_to_prompt: ::String,
559
+ model_id: ::String
560
+ }?,
561
+ consolidation: {
562
+ append_to_prompt: ::String,
563
+ model_id: ::String
564
+ }?,
565
+ reflection: Params::episodic_override_reflection_configuration_input?
566
+ }
567
+
568
+ type self_managed_configuration_input = {
569
+ trigger_conditions: Array[
570
+ Params::trigger_condition_input
571
+ ]?,
572
+ invocation_configuration: {
573
+ topic_arn: ::String,
574
+ payload_delivery_bucket_name: ::String
575
+ },
576
+ historical_context_window_size: ::Integer?
577
+ }
578
+
579
+ type custom_configuration_input = {
580
+ semantic_override: Params::semantic_override_configuration_input?,
581
+ summary_override: {
582
+ consolidation: {
583
+ append_to_prompt: ::String,
584
+ model_id: ::String
585
+ }?
586
+ }?,
587
+ user_preference_override: Params::user_preference_override_configuration_input?,
588
+ episodic_override: Params::episodic_override_configuration_input?,
589
+ self_managed_configuration: Params::self_managed_configuration_input?
590
+ }
591
+
592
+ type custom_memory_strategy_input = {
593
+ name: ::String,
594
+ description: ::String?,
595
+ namespaces: Array[::String]?,
596
+ namespace_templates: Array[::String]?,
597
+ configuration: Params::custom_configuration_input?,
598
+ memory_record_schema: Params::memory_record_schema?
599
+ }
600
+
601
+ type episodic_reflection_configuration_input = {
602
+ namespaces: Array[::String]?,
603
+ namespace_templates: Array[::String]?,
604
+ memory_record_schema: Params::memory_record_schema?
605
+ }
606
+
607
+ type episodic_memory_strategy_input = {
608
+ name: ::String,
609
+ description: ::String?,
610
+ namespaces: Array[::String]?,
611
+ namespace_templates: Array[::String]?,
612
+ reflection_configuration: Params::episodic_reflection_configuration_input?,
613
+ memory_record_schema: Params::memory_record_schema?
614
+ }
615
+
616
+ type memory_strategy_input = {
617
+ semantic_memory_strategy: Params::semantic_memory_strategy_input?,
618
+ summary_memory_strategy: Params::summary_memory_strategy_input?,
619
+ user_preference_memory_strategy: Params::user_preference_memory_strategy_input?,
620
+ custom_memory_strategy: Params::custom_memory_strategy_input?,
621
+ episodic_memory_strategy: Params::episodic_memory_strategy_input?
622
+ }
623
+
624
+ type validation = {
625
+ string_validation: {
626
+ allowed_values: Array[::String]
627
+ }?,
628
+ string_list_validation: {
629
+ allowed_values: Array[::String]?,
630
+ max_items: ::Integer?
631
+ }?,
632
+ number_validation: {
633
+ min_value: ::Float?,
634
+ max_value: ::Float?
635
+ }?
636
+ }
637
+
638
+ type llm_extraction_config = {
639
+ llm_extraction_instruction: ::String?,
640
+ definition: ::String,
641
+ validation: Params::validation?
642
+ }
643
+
644
+ type extraction_config = {
645
+ llm_extraction_config: Params::llm_extraction_config?
646
+ }
647
+
648
+ type metadata_schema_entry = {
649
+ key: ::String,
650
+ type: ("STRING" | "STRINGLIST" | "NUMBER")?,
651
+ extraction_config: Params::extraction_config?
652
+ }
653
+
654
+ type trigger_condition_input = {
655
+ message_based_trigger: {
656
+ message_count: ::Integer?
657
+ }?,
658
+ token_based_trigger: {
659
+ token_count: ::Integer?
660
+ }?,
661
+ time_based_trigger: {
662
+ idle_session_timeout: ::Integer?
663
+ }?
664
+ }
665
+
666
+ type stream_delivery_resources = {
667
+ resources: Array[
668
+ Params::stream_delivery_resource
669
+ ]
670
+ }
671
+
672
+ type stream_delivery_resource = {
673
+ kinesis: {
674
+ data_stream_arn: ::String,
675
+ content_configurations: Array[
676
+ {
677
+ type: ("MEMORY_RECORDS"),
678
+ level: ("METADATA_ONLY" | "FULL_CONTENT")?
679
+ }
680
+ ]
681
+ }?
682
+ }
683
+
684
+ type oauth_2_discovery = {
685
+ discovery_url: ::String?,
686
+ authorization_server_metadata: {
687
+ issuer: ::String,
688
+ authorization_endpoint: ::String,
689
+ token_endpoint: ::String,
690
+ response_types: Array[::String]?,
691
+ token_endpoint_auth_methods: Array[::String]?
692
+ }?
693
+ }
694
+
695
+ type custom_oauth_2_provider_config_input = {
696
+ oauth_discovery: Params::oauth_2_discovery,
697
+ client_id: ::String?,
698
+ client_secret: ::String?,
699
+ private_endpoint: Params::private_endpoint?,
700
+ private_endpoint_overrides: Array[
701
+ Params::private_endpoint_override
702
+ ]?,
703
+ on_behalf_of_token_exchange_config: {
704
+ grant_type: ("TOKEN_EXCHANGE" | "JWT_AUTHORIZATION_GRANT"),
705
+ token_exchange_grant_type_config: {
706
+ actor_token_content: ("NONE" | "M2M" | "AWS_IAM_ID_TOKEN_JWT"),
707
+ actor_token_scopes: Array[::String]?
708
+ }?
709
+ }?,
710
+ client_authentication_method: ("CLIENT_SECRET_BASIC" | "CLIENT_SECRET_POST" | "AWS_IAM_ID_TOKEN_JWT")?
711
+ }
712
+
713
+ type oauth_2_provider_config_input = {
714
+ custom_oauth_2_provider_config: Params::custom_oauth_2_provider_config_input?,
715
+ google_oauth_2_provider_config: {
716
+ client_id: ::String,
717
+ client_secret: ::String
718
+ }?,
719
+ github_oauth_2_provider_config: {
720
+ client_id: ::String,
721
+ client_secret: ::String
722
+ }?,
723
+ slack_oauth_2_provider_config: {
724
+ client_id: ::String,
725
+ client_secret: ::String
726
+ }?,
727
+ salesforce_oauth_2_provider_config: {
728
+ client_id: ::String,
729
+ client_secret: ::String
730
+ }?,
731
+ microsoft_oauth_2_provider_config: {
732
+ client_id: ::String,
733
+ client_secret: ::String,
734
+ tenant_id: ::String?
735
+ }?,
736
+ atlassian_oauth_2_provider_config: {
737
+ client_id: ::String,
738
+ client_secret: ::String
739
+ }?,
740
+ linkedin_oauth_2_provider_config: {
741
+ client_id: ::String,
742
+ client_secret: ::String
743
+ }?,
744
+ included_oauth_2_provider_config: {
745
+ client_id: ::String,
746
+ client_secret: ::String,
747
+ issuer: ::String?,
748
+ authorization_endpoint: ::String?,
749
+ token_endpoint: ::String?
750
+ }?
751
+ }
752
+
753
+ type rule = {
754
+ sampling_config: {
755
+ sampling_percentage: ::Float
756
+ },
757
+ filters: Array[
758
+ Params::filter
759
+ ]?,
760
+ session_config: {
761
+ session_timeout_minutes: ::Integer
762
+ }?
763
+ }
764
+
765
+ type filter = {
766
+ key: ::String,
767
+ operator: ("Equals" | "NotEquals" | "GreaterThan" | "LessThan" | "GreaterThanOrEqual" | "LessThanOrEqual" | "Contains" | "NotContains"),
768
+ value: {
769
+ string_value: ::String?,
770
+ double_value: ::Float?,
771
+ boolean_value: bool?
772
+ }
773
+ }
774
+
775
+ type credentials_provider_configuration = {
776
+ coinbase_cdp: {
777
+ credential_provider_arn: ::String
778
+ }?,
779
+ stripe_privy: {
780
+ credential_provider_arn: ::String
781
+ }?
782
+ }
783
+
784
+ type payment_provider_configuration_input = {
785
+ coinbase_cdp_configuration: {
786
+ api_key_id: ::String,
787
+ api_key_secret: ::String,
788
+ wallet_secret: ::String
789
+ }?,
790
+ stripe_privy_configuration: {
791
+ app_id: ::String,
792
+ app_secret: ::String,
793
+ authorization_private_key: ::String,
794
+ authorization_id: ::String
795
+ }?
796
+ }
797
+
798
+ type policy_definition = {
799
+ cedar: {
800
+ statement: ::String
801
+ }?,
802
+ policy_generation: {
803
+ policy_generation_id: ::String,
804
+ policy_generation_asset_id: ::String
805
+ }?
806
+ }
807
+
808
+ type from_url_synchronization_configuration = {
809
+ url: ::String,
810
+ credential_provider_configurations: Array[
811
+ Params::registry_record_credential_provider_configuration
812
+ ]?
813
+ }
814
+
815
+ type synchronization_configuration = {
816
+ from_url: Params::from_url_synchronization_configuration?
817
+ }
818
+
819
+ type registry_record_credential_provider_union = {
820
+ oauth_credential_provider: {
821
+ provider_arn: ::String,
822
+ grant_type: ("CLIENT_CREDENTIALS")?,
823
+ scopes: Array[::String]?,
824
+ custom_parameters: Hash[::String, ::String]?
825
+ }?,
826
+ iam_credential_provider: {
827
+ role_arn: ::String?,
828
+ service: ::String?,
829
+ region: ::String?
830
+ }?
831
+ }
832
+
833
+ type registry_record_credential_provider_configuration = {
834
+ credential_provider_type: ("OAUTH" | "IAM"),
835
+ credential_provider: Params::registry_record_credential_provider_union
836
+ }
837
+
838
+ type updated_authorizer_configuration = {
839
+ optional_value: Params::authorizer_configuration?
840
+ }
841
+
842
+ end
843
+ end
844
+ end