code: def get_subscription_attributes(SubscriptionArn, region=None, key=None, keyid=None, profile=None):
      '''
      Returns all of the properties of a subscription.
  
      CLI example::
  
          salt myminion boto3_sns.get_subscription_attributes somesubscription region=us-west-1
      '''
      conn = _get_conn(region=region, key=key, keyid=keyid, profile=profile)
      try:
          ret = conn.get_subscription_attributes(SubscriptionArn=SubscriptionArn)
          return ret['Attributes']
      except botocore.exceptions.ClientError as e:
          log.error('Failed to list attributes for SNS subscription %s: %s',
                    SubscriptionArn, e)
          return None
      except KeyError:
          log.error('Failed to list attributes for SNS subscription %s',
                    SubscriptionArn)
          return Nonf get_subscription_attributes(SubscriptionArn, region=None, key=None, keyid=None, profile=None):
      '''
      Returns all of the properties of a subscription.
  
      CLI example::
  
          salt myminion boto3_sns.get_subscription_attributes somesubscription region=us-west-1
      '''
      conn = _get_conn(region=region, key=key, keyid=keyid, profile=profile)
      try:
          ret = conn.get_subscription_attributes(SubscriptionArn=SubscriptionArn)
          return ret['Attributes']
      except botocore.exceptions.ClientError as e:
          log.error('Failed to list attributes for SNS subscription %s: %s',
                    SubscriptionArn, e)
          return None
      except KeyError:
          log.error('Failed to list attributes for SNS subscription %s',
                    SubscriptionArn)
          return None
docs: Returns all of the properties of a subscription.
  
      CLI example::
  
          salt myminion boto3_sns.get_subscription_attributes somesubscription region=us-west-1