:doc:`APIGateway <../../apigateway>` / Client / get_sdk

*******
get_sdk
*******



.. py:method:: APIGateway.Client.get_sdk(**kwargs)

  

  Generates a client SDK for a RestApi and Stage.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetSdk>`_  


  **Request Syntax**
  ::

    response = client.get_sdk(
        restApiId='string',
        stageName='string',
        sdkType='string',
        parameters={
            'string': 'string'
        }
    )
    
  :type restApiId: string
  :param restApiId: **[REQUIRED]** 

    The string identifier of the associated RestApi.

    

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

    The name of the Stage that the SDK will use.

    

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

    The language for the generated SDK. Currently ``java``, ``javascript``, ``android``, ``objectivec`` (for iOS), ``swift`` (for iOS), and ``ruby`` are supported.

    

  
  :type parameters: dict
  :param parameters: 

    A string-to-string key-value map of query parameters ``sdkType``-dependent properties of the SDK. For ``sdkType`` of ``objectivec`` or ``swift``, a parameter named ``classPrefix`` is required. For ``sdkType`` of ``android``, parameters named ``groupId``, ``artifactId``, ``artifactVersion``, and ``invokerPackage`` are required. For ``sdkType`` of ``java``, parameters named ``serviceName`` and ``javaPackageName`` are required.

    

  
    - *(string) --* 

    
      - *(string) --* 

      


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

    
    ::

      {
          'contentType': 'string',
          'contentDisposition': 'string',
          'body': StreamingBody()
      }
      
    **Response Structure**

    

    - *(dict) --* 

      The binary blob response to GetSdk, which contains the generated SDK.

      
      

      - **contentType** *(string) --* 

        The content-type header value in the HTTP response.

        
      

      - **contentDisposition** *(string) --* 

        The content-disposition header value in the HTTP response.

        
      

      - **body** (:class:`.StreamingBody`) -- 

        The binary blob response to GetSdk, which contains the generated SDK.

        
  
  **Exceptions**
  
  *   :py:class:`APIGateway.Client.exceptions.BadRequestException`

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

  
  *   :py:class:`APIGateway.Client.exceptions.LimitExceededException`

  
  *   :py:class:`APIGateway.Client.exceptions.NotFoundException`

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

  
  *   :py:class:`APIGateway.Client.exceptions.TooManyRequestsException`

  