:doc:`OpenSearchServiceServerless <../../opensearchserverless>` / Client / list_security_configs

*********************
list_security_configs
*********************



.. py:method:: OpenSearchServiceServerless.Client.list_security_configs(**kwargs)

  

  Returns information about configured OpenSearch Serverless security configurations. For more information, see `SAML authentication for Amazon OpenSearch Serverless <https://docs.aws.amazon.com/opensearch-service/latest/developerguide/serverless-saml.html>`__.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/opensearchserverless-2021-11-01/ListSecurityConfigs>`_  


  **Request Syntax**
  ::

    response = client.list_security_configs(
        type='saml'|'iamidentitycenter'|'iamfederation',
        nextToken='string',
        maxResults=123
    )
    
  :type type: string
  :param type: **[REQUIRED]** 

    The type of security configuration.

    

  
  :type nextToken: string
  :param nextToken: 

    If your initial ``ListSecurityConfigs`` operation returns a ``nextToken``, you can include the returned ``nextToken`` in subsequent ``ListSecurityConfigs`` operations, which returns results in the next page.

    

  
  :type maxResults: integer
  :param maxResults: 

    An optional parameter that specifies the maximum number of results to return. You can use ``nextToken`` to get the next page of results. The default is 20.

    

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

    
    ::

      {
          'securityConfigSummaries': [
              {
                  'id': 'string',
                  'type': 'saml'|'iamidentitycenter'|'iamfederation',
                  'configVersion': 'string',
                  'description': 'string',
                  'createdDate': 123,
                  'lastModifiedDate': 123
              },
          ],
          'nextToken': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **securityConfigSummaries** *(list) --* 

        Details about the security configurations in your account.

        
        

        - *(dict) --* 

          A summary of a security configuration for OpenSearch Serverless.

          
          

          - **id** *(string) --* 

            The unique identifier of the security configuration.

            
          

          - **type** *(string) --* 

            The type of security configuration.

            
          

          - **configVersion** *(string) --* 

            The version of the security configuration.

            
          

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

            The description of the security configuration.

            
          

          - **createdDate** *(integer) --* 

            The Epoch time when the security configuration was created.

            
          

          - **lastModifiedDate** *(integer) --* 

            The timestamp of when the configuration was last modified.

            
      
    
      

      - **nextToken** *(string) --* 

        When ``nextToken`` is returned, there are more results available. The value of ``nextToken`` is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page.

        
  
  **Exceptions**
  
  *   :py:class:`OpenSearchServiceServerless.Client.exceptions.InternalServerException`

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

  