:doc:`IoTWireless <../../iotwireless>` / Client / get_service_profile

*******************
get_service_profile
*******************



.. py:method:: IoTWireless.Client.get_service_profile(**kwargs)

  

  Gets information about a service profile.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/GetServiceProfile>`_  


  **Request Syntax**
  ::

    response = client.get_service_profile(
        Id='string'
    )
    
  :type Id: string
  :param Id: **[REQUIRED]** 

    The ID of the resource to get.

    

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

    
    ::

      {
          'Arn': 'string',
          'Name': 'string',
          'Id': 'string',
          'LoRaWAN': {
              'UlRate': 123,
              'UlBucketSize': 123,
              'UlRatePolicy': 'string',
              'DlRate': 123,
              'DlBucketSize': 123,
              'DlRatePolicy': 'string',
              'AddGwMetadata': True|False,
              'DevStatusReqFreq': 123,
              'ReportDevStatusBattery': True|False,
              'ReportDevStatusMargin': True|False,
              'DrMin': 123,
              'DrMax': 123,
              'ChannelMask': 'string',
              'PrAllowed': True|False,
              'HrAllowed': True|False,
              'RaAllowed': True|False,
              'NwkGeoLoc': True|False,
              'TargetPer': 123,
              'MinGwDiversity': 123,
              'TxPowerIndexMin': 123,
              'TxPowerIndexMax': 123,
              'NbTransMin': 123,
              'NbTransMax': 123
          }
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **Arn** *(string) --* 

        The Amazon Resource Name of the resource.

        
      

      - **Name** *(string) --* 

        The name of the resource.

        
      

      - **Id** *(string) --* 

        The ID of the service profile.

        
      

      - **LoRaWAN** *(dict) --* 

        Information about the service profile.

        
        

        - **UlRate** *(integer) --* 

          The ULRate value.

          
        

        - **UlBucketSize** *(integer) --* 

          The ULBucketSize value.

          
        

        - **UlRatePolicy** *(string) --* 

          The ULRatePolicy value.

          
        

        - **DlRate** *(integer) --* 

          The DLRate value.

          
        

        - **DlBucketSize** *(integer) --* 

          The DLBucketSize value.

          
        

        - **DlRatePolicy** *(string) --* 

          The DLRatePolicy value.

          
        

        - **AddGwMetadata** *(boolean) --* 

          The AddGWMetaData value.

          
        

        - **DevStatusReqFreq** *(integer) --* 

          The DevStatusReqFreq value.

          
        

        - **ReportDevStatusBattery** *(boolean) --* 

          The ReportDevStatusBattery value.

          
        

        - **ReportDevStatusMargin** *(boolean) --* 

          The ReportDevStatusMargin value.

          
        

        - **DrMin** *(integer) --* 

          The DRMin value.

          
        

        - **DrMax** *(integer) --* 

          The DRMax value.

          
        

        - **ChannelMask** *(string) --* 

          The ChannelMask value.

          
        

        - **PrAllowed** *(boolean) --* 

          The PRAllowed value that describes whether passive roaming is allowed.

          
        

        - **HrAllowed** *(boolean) --* 

          The HRAllowed value that describes whether handover roaming is allowed.

          
        

        - **RaAllowed** *(boolean) --* 

          The RAAllowed value that describes whether roaming activation is allowed.

          
        

        - **NwkGeoLoc** *(boolean) --* 

          The NwkGeoLoc value.

          
        

        - **TargetPer** *(integer) --* 

          The TargetPER value.

          
        

        - **MinGwDiversity** *(integer) --* 

          The MinGwDiversity value.

          
        

        - **TxPowerIndexMin** *(integer) --* 

          The Transmit Power Index minimum value.

           

          Default: ``0``

          
        

        - **TxPowerIndexMax** *(integer) --* 

          The Transmit Power Index maximum value.

           

          Default: ``15``

          
        

        - **NbTransMin** *(integer) --* 

          The minimum number of transmissions.

           

          Default: ``0``

          
        

        - **NbTransMax** *(integer) --* 

          The maximum number of transmissions.

           

          Default: ``3``

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

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

  
  *   :py:class:`IoTWireless.Client.exceptions.ResourceNotFoundException`

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

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

  