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