:doc:`Bedrock <../../bedrock>` / Client / put_enforced_guardrail_configuration

************************************
put_enforced_guardrail_configuration
************************************



.. py:method:: Bedrock.Client.put_enforced_guardrail_configuration(**kwargs)

  

  Sets the account-level enforced guardrail configuration.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/PutEnforcedGuardrailConfiguration>`_  


  **Request Syntax**
  ::

    response = client.put_enforced_guardrail_configuration(
        configId='string',
        guardrailInferenceConfig={
            'guardrailIdentifier': 'string',
            'guardrailVersion': 'string',
            'inputTags': 'HONOR'|'IGNORE'
        }
    )
    
  :type configId: string
  :param configId: 

    Unique ID for the account enforced configuration.

    

  
  :type guardrailInferenceConfig: dict
  :param guardrailInferenceConfig: **[REQUIRED]** 

    Account-level enforced guardrail input configuration.

    

  
    - **guardrailIdentifier** *(string) --* **[REQUIRED]** 

      Identifier for the guardrail, could be the ID or the ARN.

      

    
    - **guardrailVersion** *(string) --* **[REQUIRED]** 

      Numerical guardrail version.

      

    
    - **inputTags** *(string) --* **[REQUIRED]** 

      Whether to honor or ignore input tags at runtime.

      

    
  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'configId': 'string',
          'updatedAt': datetime(2015, 1, 1),
          'updatedBy': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **configId** *(string) --* 

        Unique ID for the account enforced configuration.

        
      

      - **updatedAt** *(datetime) --* 

        Timestamp.

        
      

      - **updatedBy** *(string) --* 

        The ARN of the role used to update the configuration.

        
  
  **Exceptions**
  
  *   :py:class:`Bedrock.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`Bedrock.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`Bedrock.Client.exceptions.ValidationException`

  
  *   :py:class:`Bedrock.Client.exceptions.ConflictException`

  
  *   :py:class:`Bedrock.Client.exceptions.InternalServerException`

  
  *   :py:class:`Bedrock.Client.exceptions.ThrottlingException`

  