aws-sdk-bedrockagent 1.56.0 → 1.57.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.
- checksums.yaml +4 -4
 - data/CHANGELOG.md +5 -0
 - data/VERSION +1 -1
 - data/lib/aws-sdk-bedrockagent/client.rb +432 -15
 - data/lib/aws-sdk-bedrockagent/client_api.rb +146 -0
 - data/lib/aws-sdk-bedrockagent/types.rb +581 -29
 - data/lib/aws-sdk-bedrockagent.rb +1 -1
 - data/sig/client.rbs +224 -6
 - data/sig/types.rbs +157 -2
 - metadata +1 -1
 
    
        data/lib/aws-sdk-bedrockagent.rb
    CHANGED
    
    
    
        data/sig/client.rbs
    CHANGED
    
    | 
         @@ -469,8 +469,64 @@ module Aws 
     | 
|
| 
       469 
469 
     | 
    
         
             
                                                 guardrail_identifier: ::String?,
         
     | 
| 
       470 
470 
     | 
    
         
             
                                                 guardrail_version: ::String?
         
     | 
| 
       471 
471 
     | 
    
         
             
                                               }?,
         
     | 
| 
      
 472 
     | 
    
         
            +
                                               inference_configuration: {
         
     | 
| 
      
 473 
     | 
    
         
            +
                                                 text: {
         
     | 
| 
      
 474 
     | 
    
         
            +
                                                   max_tokens: ::Integer?,
         
     | 
| 
      
 475 
     | 
    
         
            +
                                                   stop_sequences: Array[::String]?,
         
     | 
| 
      
 476 
     | 
    
         
            +
                                                   temperature: ::Float?,
         
     | 
| 
      
 477 
     | 
    
         
            +
                                                   top_p: ::Float?
         
     | 
| 
      
 478 
     | 
    
         
            +
                                                 }?
         
     | 
| 
      
 479 
     | 
    
         
            +
                                               }?,
         
     | 
| 
       472 
480 
     | 
    
         
             
                                               knowledge_base_id: ::String,
         
     | 
| 
       473 
     | 
    
         
            -
                                               model_id: ::String 
     | 
| 
      
 481 
     | 
    
         
            +
                                               model_id: ::String?,
         
     | 
| 
      
 482 
     | 
    
         
            +
                                               number_of_results: ::Integer?,
         
     | 
| 
      
 483 
     | 
    
         
            +
                                               orchestration_configuration: {
         
     | 
| 
      
 484 
     | 
    
         
            +
                                                 additional_model_request_fields: Hash[::String, {
         
     | 
| 
      
 485 
     | 
    
         
            +
                                                   }]?,
         
     | 
| 
      
 486 
     | 
    
         
            +
                                                 inference_config: {
         
     | 
| 
      
 487 
     | 
    
         
            +
                                                   text: {
         
     | 
| 
      
 488 
     | 
    
         
            +
                                                     max_tokens: ::Integer?,
         
     | 
| 
      
 489 
     | 
    
         
            +
                                                     stop_sequences: Array[::String]?,
         
     | 
| 
      
 490 
     | 
    
         
            +
                                                     temperature: ::Float?,
         
     | 
| 
      
 491 
     | 
    
         
            +
                                                     top_p: ::Float?
         
     | 
| 
      
 492 
     | 
    
         
            +
                                                   }?
         
     | 
| 
      
 493 
     | 
    
         
            +
                                                 }?,
         
     | 
| 
      
 494 
     | 
    
         
            +
                                                 performance_config: {
         
     | 
| 
      
 495 
     | 
    
         
            +
                                                   latency: ("standard" | "optimized")?
         
     | 
| 
      
 496 
     | 
    
         
            +
                                                 }?,
         
     | 
| 
      
 497 
     | 
    
         
            +
                                                 prompt_template: {
         
     | 
| 
      
 498 
     | 
    
         
            +
                                                   text_prompt_template: ::String?
         
     | 
| 
      
 499 
     | 
    
         
            +
                                                 }?
         
     | 
| 
      
 500 
     | 
    
         
            +
                                               }?,
         
     | 
| 
      
 501 
     | 
    
         
            +
                                               prompt_template: {
         
     | 
| 
      
 502 
     | 
    
         
            +
                                                 text_prompt_template: ::String?
         
     | 
| 
      
 503 
     | 
    
         
            +
                                               }?,
         
     | 
| 
      
 504 
     | 
    
         
            +
                                               reranking_configuration: {
         
     | 
| 
      
 505 
     | 
    
         
            +
                                                 bedrock_reranking_configuration: {
         
     | 
| 
      
 506 
     | 
    
         
            +
                                                   metadata_configuration: {
         
     | 
| 
      
 507 
     | 
    
         
            +
                                                     selection_mode: ("SELECTIVE" | "ALL"),
         
     | 
| 
      
 508 
     | 
    
         
            +
                                                     selective_mode_configuration: {
         
     | 
| 
      
 509 
     | 
    
         
            +
                                                       fields_to_exclude: Array[
         
     | 
| 
      
 510 
     | 
    
         
            +
                                                         {
         
     | 
| 
      
 511 
     | 
    
         
            +
                                                           field_name: ::String
         
     | 
| 
      
 512 
     | 
    
         
            +
                                                         },
         
     | 
| 
      
 513 
     | 
    
         
            +
                                                       ]?,
         
     | 
| 
      
 514 
     | 
    
         
            +
                                                       fields_to_include: Array[
         
     | 
| 
      
 515 
     | 
    
         
            +
                                                         {
         
     | 
| 
      
 516 
     | 
    
         
            +
                                                           field_name: ::String
         
     | 
| 
      
 517 
     | 
    
         
            +
                                                         },
         
     | 
| 
      
 518 
     | 
    
         
            +
                                                       ]?
         
     | 
| 
      
 519 
     | 
    
         
            +
                                                     }?
         
     | 
| 
      
 520 
     | 
    
         
            +
                                                   }?,
         
     | 
| 
      
 521 
     | 
    
         
            +
                                                   model_configuration: {
         
     | 
| 
      
 522 
     | 
    
         
            +
                                                     additional_model_request_fields: Hash[::String, {
         
     | 
| 
      
 523 
     | 
    
         
            +
                                                       }]?,
         
     | 
| 
      
 524 
     | 
    
         
            +
                                                     model_arn: ::String
         
     | 
| 
      
 525 
     | 
    
         
            +
                                                   },
         
     | 
| 
      
 526 
     | 
    
         
            +
                                                   number_of_reranked_results: ::Integer?
         
     | 
| 
      
 527 
     | 
    
         
            +
                                                 }?,
         
     | 
| 
      
 528 
     | 
    
         
            +
                                                 type: ("BEDROCK_RERANKING_MODEL")
         
     | 
| 
      
 529 
     | 
    
         
            +
                                               }?
         
     | 
| 
       474 
530 
     | 
    
         
             
                                             }?,
         
     | 
| 
       475 
531 
     | 
    
         
             
                                             lambda_function: {
         
     | 
| 
       476 
532 
     | 
    
         
             
                                               lambda_arn: ::String
         
     | 
| 
         @@ -479,6 +535,18 @@ module Aws 
     | 
|
| 
       479 
535 
     | 
    
         
             
                                               bot_alias_arn: ::String,
         
     | 
| 
       480 
536 
     | 
    
         
             
                                               locale_id: ::String
         
     | 
| 
       481 
537 
     | 
    
         
             
                                             }?,
         
     | 
| 
      
 538 
     | 
    
         
            +
                                             loop: {
         
     | 
| 
      
 539 
     | 
    
         
            +
                                               definition: untyped
         
     | 
| 
      
 540 
     | 
    
         
            +
                                             }?,
         
     | 
| 
      
 541 
     | 
    
         
            +
                                             loop_controller: {
         
     | 
| 
      
 542 
     | 
    
         
            +
                                               continue_condition: {
         
     | 
| 
      
 543 
     | 
    
         
            +
                                                 expression: ::String?,
         
     | 
| 
      
 544 
     | 
    
         
            +
                                                 name: ::String
         
     | 
| 
      
 545 
     | 
    
         
            +
                                               },
         
     | 
| 
      
 546 
     | 
    
         
            +
                                               max_iterations: ::Integer?
         
     | 
| 
      
 547 
     | 
    
         
            +
                                             }?,
         
     | 
| 
      
 548 
     | 
    
         
            +
                                             loop_input: {
         
     | 
| 
      
 549 
     | 
    
         
            +
                                             }?,
         
     | 
| 
       482 
550 
     | 
    
         
             
                                             output: {
         
     | 
| 
       483 
551 
     | 
    
         
             
                                             }?,
         
     | 
| 
       484 
552 
     | 
    
         
             
                                             prompt: {
         
     | 
| 
         @@ -590,6 +658,7 @@ module Aws 
     | 
|
| 
       590 
658 
     | 
    
         
             
                                           }?,
         
     | 
| 
       591 
659 
     | 
    
         
             
                                           inputs: Array[
         
     | 
| 
       592 
660 
     | 
    
         
             
                                             {
         
     | 
| 
      
 661 
     | 
    
         
            +
                                               category: ("LoopCondition" | "ReturnValueToLoopStart" | "ExitLoop")?,
         
     | 
| 
       593 
662 
     | 
    
         
             
                                               expression: ::String,
         
     | 
| 
       594 
663 
     | 
    
         
             
                                               name: ::String,
         
     | 
| 
       595 
664 
     | 
    
         
             
                                               type: ("String" | "Number" | "Boolean" | "Object" | "Array")
         
     | 
| 
         @@ -602,7 +671,7 @@ module Aws 
     | 
|
| 
       602 
671 
     | 
    
         
             
                                               type: ("String" | "Number" | "Boolean" | "Object" | "Array")
         
     | 
| 
       603 
672 
     | 
    
         
             
                                             },
         
     | 
| 
       604 
673 
     | 
    
         
             
                                           ]?,
         
     | 
| 
       605 
     | 
    
         
            -
                                           type: ("Input" | "Output" | "KnowledgeBase" | "Condition" | "Lex" | "Prompt" | "LambdaFunction" | "Storage" | "Agent" | "Retrieval" | "Iterator" | "Collector" | "InlineCode")
         
     | 
| 
      
 674 
     | 
    
         
            +
                                           type: ("Input" | "Output" | "KnowledgeBase" | "Condition" | "Lex" | "Prompt" | "LambdaFunction" | "Storage" | "Agent" | "Retrieval" | "Iterator" | "Collector" | "InlineCode" | "Loop" | "LoopInput" | "LoopController")
         
     | 
| 
       606 
675 
     | 
    
         
             
                                         },
         
     | 
| 
       607 
676 
     | 
    
         
             
                                       ]?
         
     | 
| 
       608 
677 
     | 
    
         
             
                                     },
         
     | 
| 
         @@ -616,6 +685,7 @@ module Aws 
     | 
|
| 
       616 
685 
     | 
    
         
             
                  interface _CreateFlowAliasResponseSuccess
         
     | 
| 
       617 
686 
     | 
    
         
             
                    include ::Seahorse::Client::_ResponseSuccess[Types::CreateFlowAliasResponse]
         
     | 
| 
       618 
687 
     | 
    
         
             
                    def arn: () -> ::String
         
     | 
| 
      
 688 
     | 
    
         
            +
                    def concurrency_configuration: () -> Types::FlowAliasConcurrencyConfiguration
         
     | 
| 
       619 
689 
     | 
    
         
             
                    def created_at: () -> ::Time
         
     | 
| 
       620 
690 
     | 
    
         
             
                    def description: () -> ::String
         
     | 
| 
       621 
691 
     | 
    
         
             
                    def flow_id: () -> ::String
         
     | 
| 
         @@ -627,6 +697,10 @@ module Aws 
     | 
|
| 
       627 
697 
     | 
    
         
             
                  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgent/Client.html#create_flow_alias-instance_method
         
     | 
| 
       628 
698 
     | 
    
         
             
                  def create_flow_alias: (
         
     | 
| 
       629 
699 
     | 
    
         
             
                                           ?client_token: ::String,
         
     | 
| 
      
 700 
     | 
    
         
            +
                                           ?concurrency_configuration: {
         
     | 
| 
      
 701 
     | 
    
         
            +
                                             max_concurrency: ::Integer?,
         
     | 
| 
      
 702 
     | 
    
         
            +
                                             type: ("Automatic" | "Manual")
         
     | 
| 
      
 703 
     | 
    
         
            +
                                           },
         
     | 
| 
       630 
704 
     | 
    
         
             
                                           ?description: ::String,
         
     | 
| 
       631 
705 
     | 
    
         
             
                                           flow_identifier: ::String,
         
     | 
| 
       632 
706 
     | 
    
         
             
                                           name: ::String,
         
     | 
| 
         @@ -1245,6 +1319,7 @@ module Aws 
     | 
|
| 
       1245 
1319 
     | 
    
         
             
                  interface _GetFlowAliasResponseSuccess
         
     | 
| 
       1246 
1320 
     | 
    
         
             
                    include ::Seahorse::Client::_ResponseSuccess[Types::GetFlowAliasResponse]
         
     | 
| 
       1247 
1321 
     | 
    
         
             
                    def arn: () -> ::String
         
     | 
| 
      
 1322 
     | 
    
         
            +
                    def concurrency_configuration: () -> Types::FlowAliasConcurrencyConfiguration
         
     | 
| 
       1248 
1323 
     | 
    
         
             
                    def created_at: () -> ::Time
         
     | 
| 
       1249 
1324 
     | 
    
         
             
                    def description: () -> ::String
         
     | 
| 
       1250 
1325 
     | 
    
         
             
                    def flow_id: () -> ::String
         
     | 
| 
         @@ -2070,8 +2145,64 @@ module Aws 
     | 
|
| 
       2070 
2145 
     | 
    
         
             
                                                 guardrail_identifier: ::String?,
         
     | 
| 
       2071 
2146 
     | 
    
         
             
                                                 guardrail_version: ::String?
         
     | 
| 
       2072 
2147 
     | 
    
         
             
                                               }?,
         
     | 
| 
      
 2148 
     | 
    
         
            +
                                               inference_configuration: {
         
     | 
| 
      
 2149 
     | 
    
         
            +
                                                 text: {
         
     | 
| 
      
 2150 
     | 
    
         
            +
                                                   max_tokens: ::Integer?,
         
     | 
| 
      
 2151 
     | 
    
         
            +
                                                   stop_sequences: Array[::String]?,
         
     | 
| 
      
 2152 
     | 
    
         
            +
                                                   temperature: ::Float?,
         
     | 
| 
      
 2153 
     | 
    
         
            +
                                                   top_p: ::Float?
         
     | 
| 
      
 2154 
     | 
    
         
            +
                                                 }?
         
     | 
| 
      
 2155 
     | 
    
         
            +
                                               }?,
         
     | 
| 
       2073 
2156 
     | 
    
         
             
                                               knowledge_base_id: ::String,
         
     | 
| 
       2074 
     | 
    
         
            -
                                               model_id: ::String 
     | 
| 
      
 2157 
     | 
    
         
            +
                                               model_id: ::String?,
         
     | 
| 
      
 2158 
     | 
    
         
            +
                                               number_of_results: ::Integer?,
         
     | 
| 
      
 2159 
     | 
    
         
            +
                                               orchestration_configuration: {
         
     | 
| 
      
 2160 
     | 
    
         
            +
                                                 additional_model_request_fields: Hash[::String, {
         
     | 
| 
      
 2161 
     | 
    
         
            +
                                                   }]?,
         
     | 
| 
      
 2162 
     | 
    
         
            +
                                                 inference_config: {
         
     | 
| 
      
 2163 
     | 
    
         
            +
                                                   text: {
         
     | 
| 
      
 2164 
     | 
    
         
            +
                                                     max_tokens: ::Integer?,
         
     | 
| 
      
 2165 
     | 
    
         
            +
                                                     stop_sequences: Array[::String]?,
         
     | 
| 
      
 2166 
     | 
    
         
            +
                                                     temperature: ::Float?,
         
     | 
| 
      
 2167 
     | 
    
         
            +
                                                     top_p: ::Float?
         
     | 
| 
      
 2168 
     | 
    
         
            +
                                                   }?
         
     | 
| 
      
 2169 
     | 
    
         
            +
                                                 }?,
         
     | 
| 
      
 2170 
     | 
    
         
            +
                                                 performance_config: {
         
     | 
| 
      
 2171 
     | 
    
         
            +
                                                   latency: ("standard" | "optimized")?
         
     | 
| 
      
 2172 
     | 
    
         
            +
                                                 }?,
         
     | 
| 
      
 2173 
     | 
    
         
            +
                                                 prompt_template: {
         
     | 
| 
      
 2174 
     | 
    
         
            +
                                                   text_prompt_template: ::String?
         
     | 
| 
      
 2175 
     | 
    
         
            +
                                                 }?
         
     | 
| 
      
 2176 
     | 
    
         
            +
                                               }?,
         
     | 
| 
      
 2177 
     | 
    
         
            +
                                               prompt_template: {
         
     | 
| 
      
 2178 
     | 
    
         
            +
                                                 text_prompt_template: ::String?
         
     | 
| 
      
 2179 
     | 
    
         
            +
                                               }?,
         
     | 
| 
      
 2180 
     | 
    
         
            +
                                               reranking_configuration: {
         
     | 
| 
      
 2181 
     | 
    
         
            +
                                                 bedrock_reranking_configuration: {
         
     | 
| 
      
 2182 
     | 
    
         
            +
                                                   metadata_configuration: {
         
     | 
| 
      
 2183 
     | 
    
         
            +
                                                     selection_mode: ("SELECTIVE" | "ALL"),
         
     | 
| 
      
 2184 
     | 
    
         
            +
                                                     selective_mode_configuration: {
         
     | 
| 
      
 2185 
     | 
    
         
            +
                                                       fields_to_exclude: Array[
         
     | 
| 
      
 2186 
     | 
    
         
            +
                                                         {
         
     | 
| 
      
 2187 
     | 
    
         
            +
                                                           field_name: ::String
         
     | 
| 
      
 2188 
     | 
    
         
            +
                                                         },
         
     | 
| 
      
 2189 
     | 
    
         
            +
                                                       ]?,
         
     | 
| 
      
 2190 
     | 
    
         
            +
                                                       fields_to_include: Array[
         
     | 
| 
      
 2191 
     | 
    
         
            +
                                                         {
         
     | 
| 
      
 2192 
     | 
    
         
            +
                                                           field_name: ::String
         
     | 
| 
      
 2193 
     | 
    
         
            +
                                                         },
         
     | 
| 
      
 2194 
     | 
    
         
            +
                                                       ]?
         
     | 
| 
      
 2195 
     | 
    
         
            +
                                                     }?
         
     | 
| 
      
 2196 
     | 
    
         
            +
                                                   }?,
         
     | 
| 
      
 2197 
     | 
    
         
            +
                                                   model_configuration: {
         
     | 
| 
      
 2198 
     | 
    
         
            +
                                                     additional_model_request_fields: Hash[::String, {
         
     | 
| 
      
 2199 
     | 
    
         
            +
                                                       }]?,
         
     | 
| 
      
 2200 
     | 
    
         
            +
                                                     model_arn: ::String
         
     | 
| 
      
 2201 
     | 
    
         
            +
                                                   },
         
     | 
| 
      
 2202 
     | 
    
         
            +
                                                   number_of_reranked_results: ::Integer?
         
     | 
| 
      
 2203 
     | 
    
         
            +
                                                 }?,
         
     | 
| 
      
 2204 
     | 
    
         
            +
                                                 type: ("BEDROCK_RERANKING_MODEL")
         
     | 
| 
      
 2205 
     | 
    
         
            +
                                               }?
         
     | 
| 
       2075 
2206 
     | 
    
         
             
                                             }?,
         
     | 
| 
       2076 
2207 
     | 
    
         
             
                                             lambda_function: {
         
     | 
| 
       2077 
2208 
     | 
    
         
             
                                               lambda_arn: ::String
         
     | 
| 
         @@ -2080,6 +2211,18 @@ module Aws 
     | 
|
| 
       2080 
2211 
     | 
    
         
             
                                               bot_alias_arn: ::String,
         
     | 
| 
       2081 
2212 
     | 
    
         
             
                                               locale_id: ::String
         
     | 
| 
       2082 
2213 
     | 
    
         
             
                                             }?,
         
     | 
| 
      
 2214 
     | 
    
         
            +
                                             loop: {
         
     | 
| 
      
 2215 
     | 
    
         
            +
                                               definition: untyped
         
     | 
| 
      
 2216 
     | 
    
         
            +
                                             }?,
         
     | 
| 
      
 2217 
     | 
    
         
            +
                                             loop_controller: {
         
     | 
| 
      
 2218 
     | 
    
         
            +
                                               continue_condition: {
         
     | 
| 
      
 2219 
     | 
    
         
            +
                                                 expression: ::String?,
         
     | 
| 
      
 2220 
     | 
    
         
            +
                                                 name: ::String
         
     | 
| 
      
 2221 
     | 
    
         
            +
                                               },
         
     | 
| 
      
 2222 
     | 
    
         
            +
                                               max_iterations: ::Integer?
         
     | 
| 
      
 2223 
     | 
    
         
            +
                                             }?,
         
     | 
| 
      
 2224 
     | 
    
         
            +
                                             loop_input: {
         
     | 
| 
      
 2225 
     | 
    
         
            +
                                             }?,
         
     | 
| 
       2083 
2226 
     | 
    
         
             
                                             output: {
         
     | 
| 
       2084 
2227 
     | 
    
         
             
                                             }?,
         
     | 
| 
       2085 
2228 
     | 
    
         
             
                                             prompt: {
         
     | 
| 
         @@ -2191,6 +2334,7 @@ module Aws 
     | 
|
| 
       2191 
2334 
     | 
    
         
             
                                           }?,
         
     | 
| 
       2192 
2335 
     | 
    
         
             
                                           inputs: Array[
         
     | 
| 
       2193 
2336 
     | 
    
         
             
                                             {
         
     | 
| 
      
 2337 
     | 
    
         
            +
                                               category: ("LoopCondition" | "ReturnValueToLoopStart" | "ExitLoop")?,
         
     | 
| 
       2194 
2338 
     | 
    
         
             
                                               expression: ::String,
         
     | 
| 
       2195 
2339 
     | 
    
         
             
                                               name: ::String,
         
     | 
| 
       2196 
2340 
     | 
    
         
             
                                               type: ("String" | "Number" | "Boolean" | "Object" | "Array")
         
     | 
| 
         @@ -2203,7 +2347,7 @@ module Aws 
     | 
|
| 
       2203 
2347 
     | 
    
         
             
                                               type: ("String" | "Number" | "Boolean" | "Object" | "Array")
         
     | 
| 
       2204 
2348 
     | 
    
         
             
                                             },
         
     | 
| 
       2205 
2349 
     | 
    
         
             
                                           ]?,
         
     | 
| 
       2206 
     | 
    
         
            -
                                           type: ("Input" | "Output" | "KnowledgeBase" | "Condition" | "Lex" | "Prompt" | "LambdaFunction" | "Storage" | "Agent" | "Retrieval" | "Iterator" | "Collector" | "InlineCode")
         
     | 
| 
      
 2350 
     | 
    
         
            +
                                           type: ("Input" | "Output" | "KnowledgeBase" | "Condition" | "Lex" | "Prompt" | "LambdaFunction" | "Storage" | "Agent" | "Retrieval" | "Iterator" | "Collector" | "InlineCode" | "Loop" | "LoopInput" | "LoopController")
         
     | 
| 
       2207 
2351 
     | 
    
         
             
                                         },
         
     | 
| 
       2208 
2352 
     | 
    
         
             
                                       ]?
         
     | 
| 
       2209 
2353 
     | 
    
         
             
                                     },
         
     | 
| 
         @@ -2217,6 +2361,7 @@ module Aws 
     | 
|
| 
       2217 
2361 
     | 
    
         
             
                  interface _UpdateFlowAliasResponseSuccess
         
     | 
| 
       2218 
2362 
     | 
    
         
             
                    include ::Seahorse::Client::_ResponseSuccess[Types::UpdateFlowAliasResponse]
         
     | 
| 
       2219 
2363 
     | 
    
         
             
                    def arn: () -> ::String
         
     | 
| 
      
 2364 
     | 
    
         
            +
                    def concurrency_configuration: () -> Types::FlowAliasConcurrencyConfiguration
         
     | 
| 
       2220 
2365 
     | 
    
         
             
                    def created_at: () -> ::Time
         
     | 
| 
       2221 
2366 
     | 
    
         
             
                    def description: () -> ::String
         
     | 
| 
       2222 
2367 
     | 
    
         
             
                    def flow_id: () -> ::String
         
     | 
| 
         @@ -2228,6 +2373,10 @@ module Aws 
     | 
|
| 
       2228 
2373 
     | 
    
         
             
                  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgent/Client.html#update_flow_alias-instance_method
         
     | 
| 
       2229 
2374 
     | 
    
         
             
                  def update_flow_alias: (
         
     | 
| 
       2230 
2375 
     | 
    
         
             
                                           alias_identifier: ::String,
         
     | 
| 
      
 2376 
     | 
    
         
            +
                                           ?concurrency_configuration: {
         
     | 
| 
      
 2377 
     | 
    
         
            +
                                             max_concurrency: ::Integer?,
         
     | 
| 
      
 2378 
     | 
    
         
            +
                                             type: ("Automatic" | "Manual")
         
     | 
| 
      
 2379 
     | 
    
         
            +
                                           },
         
     | 
| 
       2231 
2380 
     | 
    
         
             
                                           ?description: ::String,
         
     | 
| 
       2232 
2381 
     | 
    
         
             
                                           flow_identifier: ::String,
         
     | 
| 
       2233 
2382 
     | 
    
         
             
                                           name: ::String,
         
     | 
| 
         @@ -2582,8 +2731,64 @@ module Aws 
     | 
|
| 
       2582 
2731 
     | 
    
         
             
                                                              guardrail_identifier: ::String?,
         
     | 
| 
       2583 
2732 
     | 
    
         
             
                                                              guardrail_version: ::String?
         
     | 
| 
       2584 
2733 
     | 
    
         
             
                                                            }?,
         
     | 
| 
      
 2734 
     | 
    
         
            +
                                                            inference_configuration: {
         
     | 
| 
      
 2735 
     | 
    
         
            +
                                                              text: {
         
     | 
| 
      
 2736 
     | 
    
         
            +
                                                                max_tokens: ::Integer?,
         
     | 
| 
      
 2737 
     | 
    
         
            +
                                                                stop_sequences: Array[::String]?,
         
     | 
| 
      
 2738 
     | 
    
         
            +
                                                                temperature: ::Float?,
         
     | 
| 
      
 2739 
     | 
    
         
            +
                                                                top_p: ::Float?
         
     | 
| 
      
 2740 
     | 
    
         
            +
                                                              }?
         
     | 
| 
      
 2741 
     | 
    
         
            +
                                                            }?,
         
     | 
| 
       2585 
2742 
     | 
    
         
             
                                                            knowledge_base_id: ::String,
         
     | 
| 
       2586 
     | 
    
         
            -
                                                            model_id: ::String 
     | 
| 
      
 2743 
     | 
    
         
            +
                                                            model_id: ::String?,
         
     | 
| 
      
 2744 
     | 
    
         
            +
                                                            number_of_results: ::Integer?,
         
     | 
| 
      
 2745 
     | 
    
         
            +
                                                            orchestration_configuration: {
         
     | 
| 
      
 2746 
     | 
    
         
            +
                                                              additional_model_request_fields: Hash[::String, {
         
     | 
| 
      
 2747 
     | 
    
         
            +
                                                                }]?,
         
     | 
| 
      
 2748 
     | 
    
         
            +
                                                              inference_config: {
         
     | 
| 
      
 2749 
     | 
    
         
            +
                                                                text: {
         
     | 
| 
      
 2750 
     | 
    
         
            +
                                                                  max_tokens: ::Integer?,
         
     | 
| 
      
 2751 
     | 
    
         
            +
                                                                  stop_sequences: Array[::String]?,
         
     | 
| 
      
 2752 
     | 
    
         
            +
                                                                  temperature: ::Float?,
         
     | 
| 
      
 2753 
     | 
    
         
            +
                                                                  top_p: ::Float?
         
     | 
| 
      
 2754 
     | 
    
         
            +
                                                                }?
         
     | 
| 
      
 2755 
     | 
    
         
            +
                                                              }?,
         
     | 
| 
      
 2756 
     | 
    
         
            +
                                                              performance_config: {
         
     | 
| 
      
 2757 
     | 
    
         
            +
                                                                latency: ("standard" | "optimized")?
         
     | 
| 
      
 2758 
     | 
    
         
            +
                                                              }?,
         
     | 
| 
      
 2759 
     | 
    
         
            +
                                                              prompt_template: {
         
     | 
| 
      
 2760 
     | 
    
         
            +
                                                                text_prompt_template: ::String?
         
     | 
| 
      
 2761 
     | 
    
         
            +
                                                              }?
         
     | 
| 
      
 2762 
     | 
    
         
            +
                                                            }?,
         
     | 
| 
      
 2763 
     | 
    
         
            +
                                                            prompt_template: {
         
     | 
| 
      
 2764 
     | 
    
         
            +
                                                              text_prompt_template: ::String?
         
     | 
| 
      
 2765 
     | 
    
         
            +
                                                            }?,
         
     | 
| 
      
 2766 
     | 
    
         
            +
                                                            reranking_configuration: {
         
     | 
| 
      
 2767 
     | 
    
         
            +
                                                              bedrock_reranking_configuration: {
         
     | 
| 
      
 2768 
     | 
    
         
            +
                                                                metadata_configuration: {
         
     | 
| 
      
 2769 
     | 
    
         
            +
                                                                  selection_mode: ("SELECTIVE" | "ALL"),
         
     | 
| 
      
 2770 
     | 
    
         
            +
                                                                  selective_mode_configuration: {
         
     | 
| 
      
 2771 
     | 
    
         
            +
                                                                    fields_to_exclude: Array[
         
     | 
| 
      
 2772 
     | 
    
         
            +
                                                                      {
         
     | 
| 
      
 2773 
     | 
    
         
            +
                                                                        field_name: ::String
         
     | 
| 
      
 2774 
     | 
    
         
            +
                                                                      },
         
     | 
| 
      
 2775 
     | 
    
         
            +
                                                                    ]?,
         
     | 
| 
      
 2776 
     | 
    
         
            +
                                                                    fields_to_include: Array[
         
     | 
| 
      
 2777 
     | 
    
         
            +
                                                                      {
         
     | 
| 
      
 2778 
     | 
    
         
            +
                                                                        field_name: ::String
         
     | 
| 
      
 2779 
     | 
    
         
            +
                                                                      },
         
     | 
| 
      
 2780 
     | 
    
         
            +
                                                                    ]?
         
     | 
| 
      
 2781 
     | 
    
         
            +
                                                                  }?
         
     | 
| 
      
 2782 
     | 
    
         
            +
                                                                }?,
         
     | 
| 
      
 2783 
     | 
    
         
            +
                                                                model_configuration: {
         
     | 
| 
      
 2784 
     | 
    
         
            +
                                                                  additional_model_request_fields: Hash[::String, {
         
     | 
| 
      
 2785 
     | 
    
         
            +
                                                                    }]?,
         
     | 
| 
      
 2786 
     | 
    
         
            +
                                                                  model_arn: ::String
         
     | 
| 
      
 2787 
     | 
    
         
            +
                                                                },
         
     | 
| 
      
 2788 
     | 
    
         
            +
                                                                number_of_reranked_results: ::Integer?
         
     | 
| 
      
 2789 
     | 
    
         
            +
                                                              }?,
         
     | 
| 
      
 2790 
     | 
    
         
            +
                                                              type: ("BEDROCK_RERANKING_MODEL")
         
     | 
| 
      
 2791 
     | 
    
         
            +
                                                            }?
         
     | 
| 
       2587 
2792 
     | 
    
         
             
                                                          }?,
         
     | 
| 
       2588 
2793 
     | 
    
         
             
                                                          lambda_function: {
         
     | 
| 
       2589 
2794 
     | 
    
         
             
                                                            lambda_arn: ::String
         
     | 
| 
         @@ -2592,6 +2797,18 @@ module Aws 
     | 
|
| 
       2592 
2797 
     | 
    
         
             
                                                            bot_alias_arn: ::String,
         
     | 
| 
       2593 
2798 
     | 
    
         
             
                                                            locale_id: ::String
         
     | 
| 
       2594 
2799 
     | 
    
         
             
                                                          }?,
         
     | 
| 
      
 2800 
     | 
    
         
            +
                                                          loop: {
         
     | 
| 
      
 2801 
     | 
    
         
            +
                                                            definition: untyped
         
     | 
| 
      
 2802 
     | 
    
         
            +
                                                          }?,
         
     | 
| 
      
 2803 
     | 
    
         
            +
                                                          loop_controller: {
         
     | 
| 
      
 2804 
     | 
    
         
            +
                                                            continue_condition: {
         
     | 
| 
      
 2805 
     | 
    
         
            +
                                                              expression: ::String?,
         
     | 
| 
      
 2806 
     | 
    
         
            +
                                                              name: ::String
         
     | 
| 
      
 2807 
     | 
    
         
            +
                                                            },
         
     | 
| 
      
 2808 
     | 
    
         
            +
                                                            max_iterations: ::Integer?
         
     | 
| 
      
 2809 
     | 
    
         
            +
                                                          }?,
         
     | 
| 
      
 2810 
     | 
    
         
            +
                                                          loop_input: {
         
     | 
| 
      
 2811 
     | 
    
         
            +
                                                          }?,
         
     | 
| 
       2595 
2812 
     | 
    
         
             
                                                          output: {
         
     | 
| 
       2596 
2813 
     | 
    
         
             
                                                          }?,
         
     | 
| 
       2597 
2814 
     | 
    
         
             
                                                          prompt: {
         
     | 
| 
         @@ -2703,6 +2920,7 @@ module Aws 
     | 
|
| 
       2703 
2920 
     | 
    
         
             
                                                        }?,
         
     | 
| 
       2704 
2921 
     | 
    
         
             
                                                        inputs: Array[
         
     | 
| 
       2705 
2922 
     | 
    
         
             
                                                          {
         
     | 
| 
      
 2923 
     | 
    
         
            +
                                                            category: ("LoopCondition" | "ReturnValueToLoopStart" | "ExitLoop")?,
         
     | 
| 
       2706 
2924 
     | 
    
         
             
                                                            expression: ::String,
         
     | 
| 
       2707 
2925 
     | 
    
         
             
                                                            name: ::String,
         
     | 
| 
       2708 
2926 
     | 
    
         
             
                                                            type: ("String" | "Number" | "Boolean" | "Object" | "Array")
         
     | 
| 
         @@ -2715,7 +2933,7 @@ module Aws 
     | 
|
| 
       2715 
2933 
     | 
    
         
             
                                                            type: ("String" | "Number" | "Boolean" | "Object" | "Array")
         
     | 
| 
       2716 
2934 
     | 
    
         
             
                                                          },
         
     | 
| 
       2717 
2935 
     | 
    
         
             
                                                        ]?,
         
     | 
| 
       2718 
     | 
    
         
            -
                                                        type: ("Input" | "Output" | "KnowledgeBase" | "Condition" | "Lex" | "Prompt" | "LambdaFunction" | "Storage" | "Agent" | "Retrieval" | "Iterator" | "Collector" | "InlineCode")
         
     | 
| 
      
 2936 
     | 
    
         
            +
                                                        type: ("Input" | "Output" | "KnowledgeBase" | "Condition" | "Lex" | "Prompt" | "LambdaFunction" | "Storage" | "Agent" | "Retrieval" | "Iterator" | "Collector" | "InlineCode" | "Loop" | "LoopInput" | "LoopController")
         
     | 
| 
       2719 
2937 
     | 
    
         
             
                                                      },
         
     | 
| 
       2720 
2938 
     | 
    
         
             
                                                    ]?
         
     | 
| 
       2721 
2939 
     | 
    
         
             
                                                  }
         
     |