:doc:`Schemas <../../schemas>` / Client / search_schemas

**************
search_schemas
**************



.. py:method:: Schemas.Client.search_schemas(**kwargs)

  

  Search the schemas

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/SearchSchemas>`_  


  **Request Syntax**
  ::

    response = client.search_schemas(
        Keywords='string',
        Limit=123,
        NextToken='string',
        RegistryName='string'
    )
    
  :type Keywords: string
  :param Keywords: **[REQUIRED]** 

    Specifying this limits the results to only schemas that include the provided keywords.

    

  
  :type Limit: integer
  :param Limit: 

  
  :type NextToken: string
  :param NextToken: 

    The token that specifies the next page of results to return. To request the first page, leave NextToken empty. The token will expire in 24 hours, and cannot be shared with other accounts.

    

  
  :type RegistryName: string
  :param RegistryName: **[REQUIRED]** 

    The name of the registry.

    

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

    
    ::

      {
          'NextToken': 'string',
          'Schemas': [
              {
                  'RegistryName': 'string',
                  'SchemaArn': 'string',
                  'SchemaName': 'string',
                  'SchemaVersions': [
                      {
                          'CreatedDate': datetime(2015, 1, 1),
                          'SchemaVersion': 'string',
                          'Type': 'OpenApi3'|'JSONSchemaDraft4'
                      },
                  ]
              },
          ]
      }
      
    **Response Structure**

    

    - *(dict) --* 

      200 response

      
      

      - **NextToken** *(string) --* 

        The token that specifies the next page of results to return. To request the first page, leave NextToken empty. The token will expire in 24 hours, and cannot be shared with other accounts.

        
      

      - **Schemas** *(list) --* 

        An array of SearchSchemaSummary information.

        
        

        - *(dict) --* 
          

          - **RegistryName** *(string) --* 

            The name of the registry.

            
          

          - **SchemaArn** *(string) --* 

            The ARN of the schema.

            
          

          - **SchemaName** *(string) --* 

            The name of the schema.

            
          

          - **SchemaVersions** *(list) --* 

            An array of schema version summaries.

            
            

            - *(dict) --* 
              

              - **CreatedDate** *(datetime) --* 

                The date the schema version was created.

                
              

              - **SchemaVersion** *(string) --* 

                The version number of the schema

                
              

              - **Type** *(string) --* 

                The type of schema.

                
          
        
      
    
  
  **Exceptions**
  
  *   :py:class:`Schemas.Client.exceptions.ServiceUnavailableException`

  
  *   :py:class:`Schemas.Client.exceptions.BadRequestException`

  
  *   :py:class:`Schemas.Client.exceptions.UnauthorizedException`

  
  *   :py:class:`Schemas.Client.exceptions.InternalServerErrorException`

  
  *   :py:class:`Schemas.Client.exceptions.ForbiddenException`

  