code: func NewSNSTaskState(stateName string,
  	parameters SNSTaskParameters) *SNSTaskState {
  
  	sns := &SNSTaskState{
  		BaseTask: BaseTask{
  			baseInnerState: baseInnerState{
  				name: stateName,
  				id:   rand.Int63(),
  			},
  		},
  		parameters: parameters,
  	}
  	return sns
  }
docs: // NewSNSTaskState returns an initialized SNSTaskState