:doc:`FraudDetector <../../frauddetector>` / Client / batch_get_variable

******************
batch_get_variable
******************



.. py:method:: FraudDetector.Client.batch_get_variable(**kwargs)

  

  Gets a batch of variables.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/BatchGetVariable>`_  


  **Request Syntax**
  ::

    response = client.batch_get_variable(
        names=[
            'string',
        ]
    )
    
  :type names: list
  :param names: **[REQUIRED]** 

    The list of variable names to get.

    

  
    - *(string) --* 

    

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

    
    ::

      {
          'variables': [
              {
                  'name': 'string',
                  'dataType': 'STRING'|'INTEGER'|'FLOAT'|'BOOLEAN'|'DATETIME',
                  'dataSource': 'EVENT'|'MODEL_SCORE'|'EXTERNAL_MODEL_SCORE',
                  'defaultValue': 'string',
                  'description': 'string',
                  'variableType': 'string',
                  'lastUpdatedTime': 'string',
                  'createdTime': 'string',
                  'arn': 'string'
              },
          ],
          'errors': [
              {
                  'name': 'string',
                  'code': 123,
                  'message': 'string'
              },
          ]
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **variables** *(list) --* 

        The returned variables.

        
        

        - *(dict) --* 

          The variable.

          
          

          - **name** *(string) --* 

            The name of the variable.

            
          

          - **dataType** *(string) --* 

            The data type of the variable. For more information see `Variable types <https://docs.aws.amazon.com/frauddetector/latest/ug/create-a-variable.html#variable-types>`__.

            
          

          - **dataSource** *(string) --* 

            The data source of the variable.

            
          

          - **defaultValue** *(string) --* 

            The default value of the variable.

            
          

          - **description** *(string) --* 

            The description of the variable.

            
          

          - **variableType** *(string) --* 

            The variable type of the variable.

             

            Valid Values: ``AUTH_CODE | AVS | BILLING_ADDRESS_L1 | BILLING_ADDRESS_L2 | BILLING_CITY | BILLING_COUNTRY | BILLING_NAME | BILLING_PHONE | BILLING_STATE | BILLING_ZIP | CARD_BIN | CATEGORICAL | CURRENCY_CODE | EMAIL_ADDRESS | FINGERPRINT | FRAUD_LABEL | FREE_FORM_TEXT | IP_ADDRESS | NUMERIC | ORDER_ID | PAYMENT_TYPE | PHONE_NUMBER | PRICE | PRODUCT_CATEGORY | SHIPPING_ADDRESS_L1 | SHIPPING_ADDRESS_L2 | SHIPPING_CITY | SHIPPING_COUNTRY | SHIPPING_NAME | SHIPPING_PHONE | SHIPPING_STATE | SHIPPING_ZIP | USERAGENT``

            
          

          - **lastUpdatedTime** *(string) --* 

            The time when variable was last updated.

            
          

          - **createdTime** *(string) --* 

            The time when the variable was created.

            
          

          - **arn** *(string) --* 

            The ARN of the variable.

            
      
    
      

      - **errors** *(list) --* 

        The errors from the request.

        
        

        - *(dict) --* 

          Provides the error of the batch get variable API.

          
          

          - **name** *(string) --* 

            The error name.

            
          

          - **code** *(integer) --* 

            The error code.

            
          

          - **message** *(string) --* 

            The error message.

            
      
    
  
  **Exceptions**
  
  *   :py:class:`FraudDetector.Client.exceptions.ValidationException`

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

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

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

  